winecoreaudio: Move get_frequency to the unixlib.
[wine.git] / configure
blobded6e71b81519d5a4b1aed12863c52c10b1f6ea3
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 system_dllpath
838 target_alias
839 host_alias
840 build_alias
841 LIBS
842 ECHO_T
843 ECHO_N
844 ECHO_C
845 DEFS
846 mandir
847 localedir
848 libdir
849 psdir
850 pdfdir
851 dvidir
852 htmldir
853 infodir
854 docdir
855 oldincludedir
856 includedir
857 runstatedir
858 localstatedir
859 sharedstatedir
860 sysconfdir
861 datadir
862 datarootdir
863 libexecdir
864 sbindir
865 bindir
866 program_transform_name
867 prefix
868 exec_prefix
869 PACKAGE_URL
870 PACKAGE_BUGREPORT
871 PACKAGE_STRING
872 PACKAGE_VERSION
873 PACKAGE_TARNAME
874 PACKAGE_NAME
875 PATH_SEPARATOR
876 SHELL'
877 ac_subst_files=''
878 ac_user_opts='
879 enable_option_checking
880 enable_win16
881 enable_win64
882 enable_tests
883 enable_build_id
884 enable_maintainer_mode
885 enable_silent_rules
886 enable_werror
887 with_alsa
888 with_capi
889 with_coreaudio
890 with_cups
891 with_dbus
892 with_float_abi
893 with_fontconfig
894 with_freetype
895 with_gettext
896 with_gettextpo
897 with_gphoto
898 with_gnutls
899 with_gssapi
900 with_gstreamer
901 with_hal
902 with_inotify
903 with_krb5
904 with_ldap
905 with_mingw
906 with_netapi
907 with_openal
908 with_opencl
909 with_opengl
910 with_osmesa
911 with_oss
912 with_pcap
913 with_pthread
914 with_pulse
915 with_quicktime
916 with_sane
917 with_sdl
918 with_udev
919 with_unwind
920 with_usb
921 with_v4l2
922 with_vkd3d
923 with_vulkan
924 with_xcomposite
925 with_xcursor
926 with_xfixes
927 with_xinerama
928 with_xinput
929 with_xinput2
930 with_xrandr
931 with_xrender
932 with_xshape
933 with_xshm
934 with_xxf86vm
935 with_system_dllpath
936 with_wine_tools
937 with_wine64
938 enable_largefile
939 with_x
940 enable_acledit
941 enable_aclui
942 enable_activeds_tlb
943 enable_activeds
944 enable_actxprxy
945 enable_adsldp
946 enable_adsldpc
947 enable_advapi32
948 enable_advpack
949 enable_amsi
950 enable_amstream
951 enable_api_ms_win_appmodel_identity_l1_1_0
952 enable_api_ms_win_appmodel_runtime_l1_1_1
953 enable_api_ms_win_appmodel_runtime_l1_1_2
954 enable_api_ms_win_core_apiquery_l1_1_0
955 enable_api_ms_win_core_appcompat_l1_1_1
956 enable_api_ms_win_core_appinit_l1_1_0
957 enable_api_ms_win_core_atoms_l1_1_0
958 enable_api_ms_win_core_bem_l1_1_0
959 enable_api_ms_win_core_com_l1_1_0
960 enable_api_ms_win_core_com_l1_1_1
961 enable_api_ms_win_core_com_private_l1_1_0
962 enable_api_ms_win_core_comm_l1_1_0
963 enable_api_ms_win_core_console_l1_1_0
964 enable_api_ms_win_core_console_l1_2_0
965 enable_api_ms_win_core_console_l2_1_0
966 enable_api_ms_win_core_console_l3_2_0
967 enable_api_ms_win_core_crt_l1_1_0
968 enable_api_ms_win_core_crt_l2_1_0
969 enable_api_ms_win_core_datetime_l1_1_0
970 enable_api_ms_win_core_datetime_l1_1_1
971 enable_api_ms_win_core_debug_l1_1_0
972 enable_api_ms_win_core_debug_l1_1_1
973 enable_api_ms_win_core_delayload_l1_1_0
974 enable_api_ms_win_core_delayload_l1_1_1
975 enable_api_ms_win_core_errorhandling_l1_1_0
976 enable_api_ms_win_core_errorhandling_l1_1_1
977 enable_api_ms_win_core_errorhandling_l1_1_2
978 enable_api_ms_win_core_errorhandling_l1_1_3
979 enable_api_ms_win_core_featurestaging_l1_1_0
980 enable_api_ms_win_core_fibers_l1_1_0
981 enable_api_ms_win_core_fibers_l1_1_1
982 enable_api_ms_win_core_file_ansi_l2_1_0
983 enable_api_ms_win_core_file_fromapp_l1_1_0
984 enable_api_ms_win_core_file_l1_1_0
985 enable_api_ms_win_core_file_l1_2_0
986 enable_api_ms_win_core_file_l1_2_1
987 enable_api_ms_win_core_file_l1_2_2
988 enable_api_ms_win_core_file_l2_1_0
989 enable_api_ms_win_core_file_l2_1_1
990 enable_api_ms_win_core_file_l2_1_2
991 enable_api_ms_win_core_handle_l1_1_0
992 enable_api_ms_win_core_heap_l1_1_0
993 enable_api_ms_win_core_heap_l1_2_0
994 enable_api_ms_win_core_heap_l2_1_0
995 enable_api_ms_win_core_heap_obsolete_l1_1_0
996 enable_api_ms_win_core_interlocked_l1_1_0
997 enable_api_ms_win_core_interlocked_l1_2_0
998 enable_api_ms_win_core_io_l1_1_0
999 enable_api_ms_win_core_io_l1_1_1
1000 enable_api_ms_win_core_job_l1_1_0
1001 enable_api_ms_win_core_job_l2_1_0
1002 enable_api_ms_win_core_kernel32_legacy_l1_1_0
1003 enable_api_ms_win_core_kernel32_legacy_l1_1_1
1004 enable_api_ms_win_core_kernel32_legacy_l1_1_2
1005 enable_api_ms_win_core_kernel32_legacy_l1_1_5
1006 enable_api_ms_win_core_kernel32_private_l1_1_1
1007 enable_api_ms_win_core_largeinteger_l1_1_0
1008 enable_api_ms_win_core_libraryloader_l1_1_0
1009 enable_api_ms_win_core_libraryloader_l1_1_1
1010 enable_api_ms_win_core_libraryloader_l1_2_0
1011 enable_api_ms_win_core_libraryloader_l1_2_1
1012 enable_api_ms_win_core_libraryloader_l1_2_2
1013 enable_api_ms_win_core_libraryloader_l2_1_0
1014 enable_api_ms_win_core_localization_l1_1_0
1015 enable_api_ms_win_core_localization_l1_2_0
1016 enable_api_ms_win_core_localization_l1_2_1
1017 enable_api_ms_win_core_localization_l1_2_2
1018 enable_api_ms_win_core_localization_l2_1_0
1019 enable_api_ms_win_core_localization_obsolete_l1_1_0
1020 enable_api_ms_win_core_localization_obsolete_l1_2_0
1021 enable_api_ms_win_core_localization_obsolete_l1_3_0
1022 enable_api_ms_win_core_localization_private_l1_1_0
1023 enable_api_ms_win_core_localregistry_l1_1_0
1024 enable_api_ms_win_core_memory_l1_1_0
1025 enable_api_ms_win_core_memory_l1_1_1
1026 enable_api_ms_win_core_memory_l1_1_2
1027 enable_api_ms_win_core_memory_l1_1_3
1028 enable_api_ms_win_core_memory_l1_1_4
1029 enable_api_ms_win_core_misc_l1_1_0
1030 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1031 enable_api_ms_win_core_namedpipe_l1_1_0
1032 enable_api_ms_win_core_namedpipe_l1_2_0
1033 enable_api_ms_win_core_namespace_l1_1_0
1034 enable_api_ms_win_core_normalization_l1_1_0
1035 enable_api_ms_win_core_path_l1_1_0
1036 enable_api_ms_win_core_privateprofile_l1_1_1
1037 enable_api_ms_win_core_processenvironment_l1_1_0
1038 enable_api_ms_win_core_processenvironment_l1_2_0
1039 enable_api_ms_win_core_processthreads_l1_1_0
1040 enable_api_ms_win_core_processthreads_l1_1_1
1041 enable_api_ms_win_core_processthreads_l1_1_2
1042 enable_api_ms_win_core_processthreads_l1_1_3
1043 enable_api_ms_win_core_processtopology_l1_1_0
1044 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1045 enable_api_ms_win_core_profile_l1_1_0
1046 enable_api_ms_win_core_psapi_ansi_l1_1_0
1047 enable_api_ms_win_core_psapi_l1_1_0
1048 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1049 enable_api_ms_win_core_psm_appnotify_l1_1_0
1050 enable_api_ms_win_core_quirks_l1_1_0
1051 enable_api_ms_win_core_realtime_l1_1_0
1052 enable_api_ms_win_core_realtime_l1_1_1
1053 enable_api_ms_win_core_registry_l1_1_0
1054 enable_api_ms_win_core_registry_l2_1_0
1055 enable_api_ms_win_core_registry_l2_2_0
1056 enable_api_ms_win_core_registryuserspecific_l1_1_0
1057 enable_api_ms_win_core_rtlsupport_l1_1_0
1058 enable_api_ms_win_core_rtlsupport_l1_2_0
1059 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1060 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1061 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1062 enable_api_ms_win_core_shutdown_l1_1_0
1063 enable_api_ms_win_core_sidebyside_l1_1_0
1064 enable_api_ms_win_core_string_l1_1_0
1065 enable_api_ms_win_core_string_l2_1_0
1066 enable_api_ms_win_core_string_obsolete_l1_1_0
1067 enable_api_ms_win_core_stringansi_l1_1_0
1068 enable_api_ms_win_core_stringloader_l1_1_1
1069 enable_api_ms_win_core_synch_ansi_l1_1_0
1070 enable_api_ms_win_core_synch_l1_1_0
1071 enable_api_ms_win_core_synch_l1_2_0
1072 enable_api_ms_win_core_synch_l1_2_1
1073 enable_api_ms_win_core_sysinfo_l1_1_0
1074 enable_api_ms_win_core_sysinfo_l1_2_0
1075 enable_api_ms_win_core_sysinfo_l1_2_1
1076 enable_api_ms_win_core_systemtopology_l1_1_0
1077 enable_api_ms_win_core_threadpool_l1_1_0
1078 enable_api_ms_win_core_threadpool_l1_2_0
1079 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1080 enable_api_ms_win_core_threadpool_private_l1_1_0
1081 enable_api_ms_win_core_timezone_l1_1_0
1082 enable_api_ms_win_core_toolhelp_l1_1_0
1083 enable_api_ms_win_core_url_l1_1_0
1084 enable_api_ms_win_core_util_l1_1_0
1085 enable_api_ms_win_core_version_l1_1_0
1086 enable_api_ms_win_core_version_l1_1_1
1087 enable_api_ms_win_core_version_private_l1_1_0
1088 enable_api_ms_win_core_versionansi_l1_1_0
1089 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1090 enable_api_ms_win_core_winrt_error_l1_1_0
1091 enable_api_ms_win_core_winrt_error_l1_1_1
1092 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1093 enable_api_ms_win_core_winrt_l1_1_0
1094 enable_api_ms_win_core_winrt_registration_l1_1_0
1095 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1096 enable_api_ms_win_core_winrt_string_l1_1_0
1097 enable_api_ms_win_core_winrt_string_l1_1_1
1098 enable_api_ms_win_core_wow64_l1_1_0
1099 enable_api_ms_win_core_wow64_l1_1_1
1100 enable_api_ms_win_core_xstate_l1_1_0
1101 enable_api_ms_win_core_xstate_l2_1_0
1102 enable_api_ms_win_crt_conio_l1_1_0
1103 enable_api_ms_win_crt_convert_l1_1_0
1104 enable_api_ms_win_crt_environment_l1_1_0
1105 enable_api_ms_win_crt_filesystem_l1_1_0
1106 enable_api_ms_win_crt_heap_l1_1_0
1107 enable_api_ms_win_crt_locale_l1_1_0
1108 enable_api_ms_win_crt_math_l1_1_0
1109 enable_api_ms_win_crt_multibyte_l1_1_0
1110 enable_api_ms_win_crt_private_l1_1_0
1111 enable_api_ms_win_crt_process_l1_1_0
1112 enable_api_ms_win_crt_runtime_l1_1_0
1113 enable_api_ms_win_crt_stdio_l1_1_0
1114 enable_api_ms_win_crt_string_l1_1_0
1115 enable_api_ms_win_crt_time_l1_1_0
1116 enable_api_ms_win_crt_utility_l1_1_0
1117 enable_api_ms_win_devices_config_l1_1_0
1118 enable_api_ms_win_devices_config_l1_1_1
1119 enable_api_ms_win_devices_query_l1_1_1
1120 enable_api_ms_win_downlevel_advapi32_l1_1_0
1121 enable_api_ms_win_downlevel_advapi32_l2_1_0
1122 enable_api_ms_win_downlevel_kernel32_l2_1_0
1123 enable_api_ms_win_downlevel_normaliz_l1_1_0
1124 enable_api_ms_win_downlevel_ole32_l1_1_0
1125 enable_api_ms_win_downlevel_shell32_l1_1_0
1126 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1127 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1128 enable_api_ms_win_downlevel_user32_l1_1_0
1129 enable_api_ms_win_downlevel_version_l1_1_0
1130 enable_api_ms_win_dx_d3dkmt_l1_1_0
1131 enable_api_ms_win_eventing_classicprovider_l1_1_0
1132 enable_api_ms_win_eventing_consumer_l1_1_0
1133 enable_api_ms_win_eventing_controller_l1_1_0
1134 enable_api_ms_win_eventing_legacy_l1_1_0
1135 enable_api_ms_win_eventing_provider_l1_1_0
1136 enable_api_ms_win_eventlog_legacy_l1_1_0
1137 enable_api_ms_win_gaming_tcui_l1_1_0
1138 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1139 enable_api_ms_win_mm_joystick_l1_1_0
1140 enable_api_ms_win_mm_misc_l1_1_1
1141 enable_api_ms_win_mm_mme_l1_1_0
1142 enable_api_ms_win_mm_time_l1_1_0
1143 enable_api_ms_win_ntuser_dc_access_l1_1_0
1144 enable_api_ms_win_ntuser_rectangle_l1_1_0
1145 enable_api_ms_win_ntuser_sysparams_l1_1_0
1146 enable_api_ms_win_perf_legacy_l1_1_0
1147 enable_api_ms_win_power_base_l1_1_0
1148 enable_api_ms_win_power_setting_l1_1_0
1149 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1150 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1151 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1152 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1153 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1154 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1155 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1156 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1157 enable_api_ms_win_security_audit_l1_1_1
1158 enable_api_ms_win_security_base_l1_1_0
1159 enable_api_ms_win_security_base_l1_2_0
1160 enable_api_ms_win_security_base_private_l1_1_1
1161 enable_api_ms_win_security_credentials_l1_1_0
1162 enable_api_ms_win_security_cryptoapi_l1_1_0
1163 enable_api_ms_win_security_grouppolicy_l1_1_0
1164 enable_api_ms_win_security_lsalookup_l1_1_0
1165 enable_api_ms_win_security_lsalookup_l1_1_1
1166 enable_api_ms_win_security_lsalookup_l2_1_0
1167 enable_api_ms_win_security_lsalookup_l2_1_1
1168 enable_api_ms_win_security_lsapolicy_l1_1_0
1169 enable_api_ms_win_security_provider_l1_1_0
1170 enable_api_ms_win_security_sddl_l1_1_0
1171 enable_api_ms_win_security_systemfunctions_l1_1_0
1172 enable_api_ms_win_service_core_l1_1_0
1173 enable_api_ms_win_service_core_l1_1_1
1174 enable_api_ms_win_service_management_l1_1_0
1175 enable_api_ms_win_service_management_l2_1_0
1176 enable_api_ms_win_service_private_l1_1_1
1177 enable_api_ms_win_service_winsvc_l1_1_0
1178 enable_api_ms_win_service_winsvc_l1_2_0
1179 enable_api_ms_win_shcore_obsolete_l1_1_0
1180 enable_api_ms_win_shcore_scaling_l1_1_0
1181 enable_api_ms_win_shcore_scaling_l1_1_1
1182 enable_api_ms_win_shcore_stream_l1_1_0
1183 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1184 enable_api_ms_win_shcore_thread_l1_1_0
1185 enable_api_ms_win_shell_shellcom_l1_1_0
1186 enable_api_ms_win_shell_shellfolders_l1_1_0
1187 enable_apphelp
1188 enable_appwiz_cpl
1189 enable_atl
1190 enable_atl100
1191 enable_atl110
1192 enable_atl80
1193 enable_atl90
1194 enable_atlthunk
1195 enable_atmlib
1196 enable_authz
1197 enable_avicap32
1198 enable_avifil32
1199 enable_avrt
1200 enable_bcrypt
1201 enable_bluetoothapis
1202 enable_browseui
1203 enable_bthprops_cpl
1204 enable_cabinet
1205 enable_capi2032
1206 enable_cards
1207 enable_cdosys
1208 enable_cfgmgr32
1209 enable_clusapi
1210 enable_cng_sys
1211 enable_combase
1212 enable_comcat
1213 enable_comctl32
1214 enable_comdlg32
1215 enable_compstui
1216 enable_comsvcs
1217 enable_concrt140
1218 enable_connect
1219 enable_credui
1220 enable_crtdll
1221 enable_crypt32
1222 enable_cryptdlg
1223 enable_cryptdll
1224 enable_cryptext
1225 enable_cryptnet
1226 enable_cryptsp
1227 enable_cryptui
1228 enable_ctapi32
1229 enable_ctl3d32
1230 enable_d2d1
1231 enable_d3d10
1232 enable_d3d10_1
1233 enable_d3d10core
1234 enable_d3d11
1235 enable_d3d12
1236 enable_d3d8
1237 enable_d3d8thk
1238 enable_d3d9
1239 enable_d3dcompiler_33
1240 enable_d3dcompiler_34
1241 enable_d3dcompiler_35
1242 enable_d3dcompiler_36
1243 enable_d3dcompiler_37
1244 enable_d3dcompiler_38
1245 enable_d3dcompiler_39
1246 enable_d3dcompiler_40
1247 enable_d3dcompiler_41
1248 enable_d3dcompiler_42
1249 enable_d3dcompiler_43
1250 enable_d3dcompiler_46
1251 enable_d3dcompiler_47
1252 enable_d3dim
1253 enable_d3dim700
1254 enable_d3drm
1255 enable_d3dx10_33
1256 enable_d3dx10_34
1257 enable_d3dx10_35
1258 enable_d3dx10_36
1259 enable_d3dx10_37
1260 enable_d3dx10_38
1261 enable_d3dx10_39
1262 enable_d3dx10_40
1263 enable_d3dx10_41
1264 enable_d3dx10_42
1265 enable_d3dx10_43
1266 enable_d3dx11_42
1267 enable_d3dx11_43
1268 enable_d3dx9_24
1269 enable_d3dx9_25
1270 enable_d3dx9_26
1271 enable_d3dx9_27
1272 enable_d3dx9_28
1273 enable_d3dx9_29
1274 enable_d3dx9_30
1275 enable_d3dx9_31
1276 enable_d3dx9_32
1277 enable_d3dx9_33
1278 enable_d3dx9_34
1279 enable_d3dx9_35
1280 enable_d3dx9_36
1281 enable_d3dx9_37
1282 enable_d3dx9_38
1283 enable_d3dx9_39
1284 enable_d3dx9_40
1285 enable_d3dx9_41
1286 enable_d3dx9_42
1287 enable_d3dx9_43
1288 enable_d3dxof
1289 enable_davclnt
1290 enable_dbgeng
1291 enable_dbghelp
1292 enable_dciman32
1293 enable_dcomp
1294 enable_ddraw
1295 enable_ddrawex
1296 enable_devenum
1297 enable_dhcpcsvc
1298 enable_dhcpcsvc6
1299 enable_dhtmled_ocx
1300 enable_difxapi
1301 enable_dinput
1302 enable_dinput8
1303 enable_directmanipulation
1304 enable_dispex
1305 enable_dmband
1306 enable_dmcompos
1307 enable_dmime
1308 enable_dmloader
1309 enable_dmscript
1310 enable_dmstyle
1311 enable_dmsynth
1312 enable_dmusic
1313 enable_dmusic32
1314 enable_dnsapi
1315 enable_dplay
1316 enable_dplayx
1317 enable_dpnaddr
1318 enable_dpnet
1319 enable_dpnhpast
1320 enable_dpnhupnp
1321 enable_dpnlobby
1322 enable_dpvoice
1323 enable_dpwsockx
1324 enable_drmclien
1325 enable_dsdmo
1326 enable_dsound
1327 enable_dsquery
1328 enable_dssenh
1329 enable_dsuiext
1330 enable_dswave
1331 enable_dwmapi
1332 enable_dwrite
1333 enable_dx8vb
1334 enable_dxdiagn
1335 enable_dxgi
1336 enable_dxtrans
1337 enable_dxva2
1338 enable_esent
1339 enable_evr
1340 enable_explorerframe
1341 enable_ext_ms_win_authz_context_l1_1_0
1342 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1343 enable_ext_ms_win_dwmapi_ext_l1_1_0
1344 enable_ext_ms_win_gdi_dc_create_l1_1_0
1345 enable_ext_ms_win_gdi_dc_create_l1_1_1
1346 enable_ext_ms_win_gdi_dc_l1_2_0
1347 enable_ext_ms_win_gdi_devcaps_l1_1_0
1348 enable_ext_ms_win_gdi_draw_l1_1_0
1349 enable_ext_ms_win_gdi_draw_l1_1_1
1350 enable_ext_ms_win_gdi_font_l1_1_0
1351 enable_ext_ms_win_gdi_font_l1_1_1
1352 enable_ext_ms_win_gdi_render_l1_1_0
1353 enable_ext_ms_win_kernel32_package_current_l1_1_0
1354 enable_ext_ms_win_kernel32_package_l1_1_1
1355 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1356 enable_ext_ms_win_ntuser_draw_l1_1_0
1357 enable_ext_ms_win_ntuser_gui_l1_1_0
1358 enable_ext_ms_win_ntuser_gui_l1_3_0
1359 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1360 enable_ext_ms_win_ntuser_message_l1_1_0
1361 enable_ext_ms_win_ntuser_message_l1_1_1
1362 enable_ext_ms_win_ntuser_misc_l1_1_0
1363 enable_ext_ms_win_ntuser_misc_l1_2_0
1364 enable_ext_ms_win_ntuser_misc_l1_5_1
1365 enable_ext_ms_win_ntuser_mouse_l1_1_0
1366 enable_ext_ms_win_ntuser_private_l1_1_1
1367 enable_ext_ms_win_ntuser_private_l1_3_1
1368 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1369 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1370 enable_ext_ms_win_ntuser_window_l1_1_0
1371 enable_ext_ms_win_ntuser_window_l1_1_1
1372 enable_ext_ms_win_ntuser_window_l1_1_4
1373 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1374 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1375 enable_ext_ms_win_oleacc_l1_1_0
1376 enable_ext_ms_win_ras_rasapi32_l1_1_0
1377 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1378 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1379 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1380 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1381 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1382 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1383 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1384 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1385 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1386 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1387 enable_ext_ms_win_security_credui_l1_1_0
1388 enable_ext_ms_win_security_cryptui_l1_1_0
1389 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1390 enable_ext_ms_win_shell_comdlg32_l1_1_0
1391 enable_ext_ms_win_shell_shell32_l1_2_0
1392 enable_ext_ms_win_uxtheme_themes_l1_1_0
1393 enable_faultrep
1394 enable_feclient
1395 enable_fltlib
1396 enable_fltmgr_sys
1397 enable_fntcache
1398 enable_fontsub
1399 enable_fusion
1400 enable_fwpuclnt
1401 enable_gameux
1402 enable_gamingtcui
1403 enable_gdi32
1404 enable_gdiplus
1405 enable_glu32
1406 enable_gphoto2_ds
1407 enable_gpkcsp
1408 enable_hal
1409 enable_hhctrl_ocx
1410 enable_hid
1411 enable_hidclass_sys
1412 enable_hidparse_sys
1413 enable_hlink
1414 enable_hnetcfg
1415 enable_http_sys
1416 enable_httpapi
1417 enable_iccvid
1418 enable_icmp
1419 enable_ieframe
1420 enable_ieproxy
1421 enable_imaadp32_acm
1422 enable_imagehlp
1423 enable_imm32
1424 enable_inetcomm
1425 enable_inetcpl_cpl
1426 enable_inetmib1
1427 enable_infosoft
1428 enable_initpki
1429 enable_inkobj
1430 enable_inseng
1431 enable_iphlpapi
1432 enable_iprop
1433 enable_irprops_cpl
1434 enable_itircl
1435 enable_itss
1436 enable_joy_cpl
1437 enable_jscript
1438 enable_jsproxy
1439 enable_kerberos
1440 enable_kernel32
1441 enable_kernelbase
1442 enable_ksecdd_sys
1443 enable_ksproxy_ax
1444 enable_ksuser
1445 enable_ktmw32
1446 enable_l3codeca_acm
1447 enable_light_msstyles
1448 enable_loadperf
1449 enable_localspl
1450 enable_localui
1451 enable_lz32
1452 enable_mapi32
1453 enable_mapistub
1454 enable_mciavi32
1455 enable_mcicda
1456 enable_mciqtz32
1457 enable_mciseq
1458 enable_mciwave
1459 enable_mf
1460 enable_mf3216
1461 enable_mferror
1462 enable_mfmediaengine
1463 enable_mfplat
1464 enable_mfplay
1465 enable_mfreadwrite
1466 enable_mgmtapi
1467 enable_midimap
1468 enable_mlang
1469 enable_mmcndmgr
1470 enable_mmdevapi
1471 enable_mountmgr_sys
1472 enable_mp3dmod
1473 enable_mpr
1474 enable_mprapi
1475 enable_msacm32_drv
1476 enable_msacm32
1477 enable_msado15
1478 enable_msadp32_acm
1479 enable_msasn1
1480 enable_mscat32
1481 enable_mscms
1482 enable_mscoree
1483 enable_mscorwks
1484 enable_msctf
1485 enable_msctfmonitor
1486 enable_msctfp
1487 enable_msdaps
1488 enable_msdasql
1489 enable_msdelta
1490 enable_msdmo
1491 enable_msdrm
1492 enable_msftedit
1493 enable_msg711_acm
1494 enable_msgsm32_acm
1495 enable_mshtml_tlb
1496 enable_mshtml
1497 enable_msi
1498 enable_msident
1499 enable_msimg32
1500 enable_msimsg
1501 enable_msimtf
1502 enable_msisip
1503 enable_msisys_ocx
1504 enable_msls31
1505 enable_msnet32
1506 enable_mspatcha
1507 enable_msports
1508 enable_msrle32
1509 enable_msscript_ocx
1510 enable_mssign32
1511 enable_mssip32
1512 enable_mstask
1513 enable_msv1_0
1514 enable_msvcirt
1515 enable_msvcm80
1516 enable_msvcm90
1517 enable_msvcp100
1518 enable_msvcp110
1519 enable_msvcp120
1520 enable_msvcp120_app
1521 enable_msvcp140
1522 enable_msvcp140_1
1523 enable_msvcp60
1524 enable_msvcp70
1525 enable_msvcp71
1526 enable_msvcp80
1527 enable_msvcp90
1528 enable_msvcp_win
1529 enable_msvcr100
1530 enable_msvcr110
1531 enable_msvcr120
1532 enable_msvcr120_app
1533 enable_msvcr70
1534 enable_msvcr71
1535 enable_msvcr80
1536 enable_msvcr90
1537 enable_msvcrt
1538 enable_msvcrt20
1539 enable_msvcrt40
1540 enable_msvcrtd
1541 enable_msvfw32
1542 enable_msvidc32
1543 enable_mswsock
1544 enable_msxml
1545 enable_msxml2
1546 enable_msxml3
1547 enable_msxml4
1548 enable_msxml6
1549 enable_mtxdm
1550 enable_ncrypt
1551 enable_nddeapi
1552 enable_ndis_sys
1553 enable_netapi32
1554 enable_netcfgx
1555 enable_netio_sys
1556 enable_netprofm
1557 enable_netutils
1558 enable_newdev
1559 enable_ninput
1560 enable_normaliz
1561 enable_npmshtml
1562 enable_npptools
1563 enable_nsi
1564 enable_nsiproxy_sys
1565 enable_ntdll
1566 enable_ntdsapi
1567 enable_ntoskrnl_exe
1568 enable_ntprint
1569 enable_objsel
1570 enable_odbc32
1571 enable_odbcbcp
1572 enable_odbccp32
1573 enable_odbccu32
1574 enable_ole32
1575 enable_oleacc
1576 enable_oleaut32
1577 enable_olecli32
1578 enable_oledb32
1579 enable_oledlg
1580 enable_olepro32
1581 enable_olesvr32
1582 enable_olethk32
1583 enable_opcservices
1584 enable_openal32
1585 enable_opencl
1586 enable_opengl32
1587 enable_packager
1588 enable_pdh
1589 enable_photometadatahandler
1590 enable_pidgen
1591 enable_powrprof
1592 enable_printui
1593 enable_prntvpt
1594 enable_propsys
1595 enable_psapi
1596 enable_pstorec
1597 enable_pwrshplugin
1598 enable_qasf
1599 enable_qcap
1600 enable_qdvd
1601 enable_qedit
1602 enable_qmgr
1603 enable_qmgrprxy
1604 enable_quartz
1605 enable_query
1606 enable_qwave
1607 enable_rasapi32
1608 enable_rasdlg
1609 enable_regapi
1610 enable_resutils
1611 enable_riched20
1612 enable_riched32
1613 enable_rpcrt4
1614 enable_rsabase
1615 enable_rsaenh
1616 enable_rstrtmgr
1617 enable_rtutils
1618 enable_rtworkq
1619 enable_samlib
1620 enable_sane_ds
1621 enable_sapi
1622 enable_sas
1623 enable_scarddlg
1624 enable_sccbase
1625 enable_schannel
1626 enable_schedsvc
1627 enable_scrobj
1628 enable_scrrun
1629 enable_scsiport_sys
1630 enable_sechost
1631 enable_secur32
1632 enable_security
1633 enable_sensapi
1634 enable_serialui
1635 enable_setupapi
1636 enable_sfc
1637 enable_sfc_os
1638 enable_shcore
1639 enable_shdoclc
1640 enable_shdocvw
1641 enable_shell32
1642 enable_shfolder
1643 enable_shlwapi
1644 enable_slbcsp
1645 enable_slc
1646 enable_snmpapi
1647 enable_softpub
1648 enable_spoolss
1649 enable_sppc
1650 enable_srclient
1651 enable_srvcli
1652 enable_sspicli
1653 enable_stdole2_tlb
1654 enable_stdole32_tlb
1655 enable_sti
1656 enable_strmbase
1657 enable_strmdll
1658 enable_svrapi
1659 enable_sxs
1660 enable_t2embed
1661 enable_tapi32
1662 enable_taskschd
1663 enable_tbs
1664 enable_tdh
1665 enable_tdi_sys
1666 enable_traffic
1667 enable_twain_32
1668 enable_tzres
1669 enable_ucrtbase
1670 enable_uianimation
1671 enable_uiautomationcore
1672 enable_uiribbon
1673 enable_unicows
1674 enable_updspapi
1675 enable_url
1676 enable_urlmon
1677 enable_usbd_sys
1678 enable_user32
1679 enable_userenv
1680 enable_usp10
1681 enable_utildll
1682 enable_uxtheme
1683 enable_vbscript
1684 enable_vcomp
1685 enable_vcomp100
1686 enable_vcomp110
1687 enable_vcomp120
1688 enable_vcomp140
1689 enable_vcomp90
1690 enable_vcruntime140
1691 enable_vcruntime140_1
1692 enable_vdmdbg
1693 enable_version
1694 enable_vga
1695 enable_virtdisk
1696 enable_vssapi
1697 enable_vulkan_1
1698 enable_wbemdisp
1699 enable_wbemprox
1700 enable_wdscore
1701 enable_webservices
1702 enable_websocket
1703 enable_wer
1704 enable_wevtapi
1705 enable_wevtsvc
1706 enable_wiaservc
1707 enable_wimgapi
1708 enable_win32u
1709 enable_windows_devices_enumeration
1710 enable_windows_gaming_input
1711 enable_windows_globalization
1712 enable_windows_media_devices
1713 enable_windows_media_speech
1714 enable_windowscodecs
1715 enable_windowscodecsext
1716 enable_winealsa_drv
1717 enable_wineandroid_drv
1718 enable_winebus_sys
1719 enable_winecoreaudio_drv
1720 enable_winecrt0
1721 enable_wined3d
1722 enable_winegstreamer
1723 enable_winehid_sys
1724 enable_winejoystick_drv
1725 enable_winemac_drv
1726 enable_winemapi
1727 enable_wineoss_drv
1728 enable_wineps_drv
1729 enable_winepulse_drv
1730 enable_wineqtdecoder
1731 enable_wineusb_sys
1732 enable_winevulkan
1733 enable_winex11_drv
1734 enable_winexinput_sys
1735 enable_wing32
1736 enable_winhttp
1737 enable_wininet
1738 enable_winmm
1739 enable_winnls32
1740 enable_winscard
1741 enable_winspool_drv
1742 enable_winsta
1743 enable_wintab32
1744 enable_wintrust
1745 enable_winusb
1746 enable_wlanapi
1747 enable_wlanui
1748 enable_wldap32
1749 enable_wmasf
1750 enable_wmi
1751 enable_wmiutils
1752 enable_wmp
1753 enable_wmphoto
1754 enable_wmvcore
1755 enable_wnaspi32
1756 enable_wow64
1757 enable_wow64cpu
1758 enable_wow64win
1759 enable_wpc
1760 enable_wpcap
1761 enable_ws2_32
1762 enable_wsdapi
1763 enable_wshom_ocx
1764 enable_wsnmp32
1765 enable_wsock32
1766 enable_wtsapi32
1767 enable_wuapi
1768 enable_wuaueng
1769 enable_x3daudio1_0
1770 enable_x3daudio1_1
1771 enable_x3daudio1_2
1772 enable_x3daudio1_3
1773 enable_x3daudio1_4
1774 enable_x3daudio1_5
1775 enable_x3daudio1_6
1776 enable_x3daudio1_7
1777 enable_xactengine2_0
1778 enable_xactengine2_4
1779 enable_xactengine2_7
1780 enable_xactengine2_9
1781 enable_xactengine3_0
1782 enable_xactengine3_1
1783 enable_xactengine3_2
1784 enable_xactengine3_3
1785 enable_xactengine3_4
1786 enable_xactengine3_5
1787 enable_xactengine3_6
1788 enable_xactengine3_7
1789 enable_xapofx1_1
1790 enable_xapofx1_2
1791 enable_xapofx1_3
1792 enable_xapofx1_4
1793 enable_xapofx1_5
1794 enable_xaudio2_0
1795 enable_xaudio2_1
1796 enable_xaudio2_2
1797 enable_xaudio2_3
1798 enable_xaudio2_4
1799 enable_xaudio2_5
1800 enable_xaudio2_6
1801 enable_xaudio2_7
1802 enable_xaudio2_8
1803 enable_xaudio2_9
1804 enable_xinput1_1
1805 enable_xinput1_2
1806 enable_xinput1_3
1807 enable_xinput1_4
1808 enable_xinput9_1_0
1809 enable_xmllite
1810 enable_xolehlp
1811 enable_xpsprint
1812 enable_xpssvcs
1813 enable_fonts
1814 enable_include
1815 enable_adsiid
1816 enable_dmoguids
1817 enable_dxerr8
1818 enable_dxerr9
1819 enable_dxguid
1820 enable_faudio
1821 enable_gsm
1822 enable_jpeg
1823 enable_jxr
1824 enable_lcms2
1825 enable_mfuuid
1826 enable_mpg123
1827 enable_png
1828 enable_strmiids
1829 enable_tiff
1830 enable_uuid
1831 enable_wbemuuid
1832 enable_wine
1833 enable_wmcodecdspuuid
1834 enable_xml2
1835 enable_xslt
1836 enable_zlib
1837 enable_loader
1838 enable_nls
1839 enable_po
1840 enable_arp
1841 enable_aspnet_regiis
1842 enable_attrib
1843 enable_cabarc
1844 enable_cacls
1845 enable_chcp_com
1846 enable_clock
1847 enable_cmd
1848 enable_conhost
1849 enable_control
1850 enable_cscript
1851 enable_dism
1852 enable_dplaysvr
1853 enable_dpnsvr
1854 enable_dpvsetup
1855 enable_dxdiag
1856 enable_eject
1857 enable_expand
1858 enable_explorer
1859 enable_extrac32
1860 enable_fc
1861 enable_find
1862 enable_findstr
1863 enable_fsutil
1864 enable_hh
1865 enable_hostname
1866 enable_icacls
1867 enable_icinfo
1868 enable_iexplore
1869 enable_ipconfig
1870 enable_lodctr
1871 enable_mofcomp
1872 enable_mshta
1873 enable_msidb
1874 enable_msiexec
1875 enable_msinfo32
1876 enable_net
1877 enable_netsh
1878 enable_netstat
1879 enable_ngen
1880 enable_notepad
1881 enable_oleview
1882 enable_ping
1883 enable_plugplay
1884 enable_powershell
1885 enable_presentationfontcache
1886 enable_progman
1887 enable_reg
1888 enable_regasm
1889 enable_regedit
1890 enable_regini
1891 enable_regsvcs
1892 enable_regsvr32
1893 enable_robocopy
1894 enable_rpcss
1895 enable_rundll32
1896 enable_sc
1897 enable_schtasks
1898 enable_sdbinst
1899 enable_secedit
1900 enable_servicemodelreg
1901 enable_services
1902 enable_shutdown
1903 enable_spoolsv
1904 enable_start
1905 enable_subst
1906 enable_svchost
1907 enable_systeminfo
1908 enable_taskkill
1909 enable_tasklist
1910 enable_taskmgr
1911 enable_termsv
1912 enable_uninstaller
1913 enable_unlodctr
1914 enable_view
1915 enable_wevtutil
1916 enable_where
1917 enable_whoami
1918 enable_wineboot
1919 enable_winebrowser
1920 enable_winecfg
1921 enable_wineconsole
1922 enable_winedbg
1923 enable_winedevice
1924 enable_winefile
1925 enable_winemenubuilder
1926 enable_winemine
1927 enable_winemsibuilder
1928 enable_winepath
1929 enable_winetest
1930 enable_winhlp32
1931 enable_winmgmt
1932 enable_winver
1933 enable_wmic
1934 enable_wmplayer
1935 enable_wordpad
1936 enable_write
1937 enable_wscript
1938 enable_wuauserv
1939 enable_wusa
1940 enable_xcopy
1941 enable_server
1942 enable_tools
1943 enable_sfnt2fon
1944 enable_widl
1945 enable_winebuild
1946 enable_winedump
1947 enable_winegcc
1948 enable_winemaker
1949 enable_wmc
1950 enable_wrc
1952 ac_precious_vars='build_alias
1953 host_alias
1954 target_alias
1956 CFLAGS
1957 LDFLAGS
1958 LIBS
1959 CPPFLAGS
1961 CXXFLAGS
1963 OBJC
1964 OBJCFLAGS
1965 FAUDIO_PE_CFLAGS
1966 FAUDIO_PE_LIBS
1967 GSM_PE_CFLAGS
1968 GSM_PE_LIBS
1969 JPEG_PE_CFLAGS
1970 JPEG_PE_LIBS
1971 JXR_PE_CFLAGS
1972 JXR_PE_LIBS
1973 LCMS2_PE_CFLAGS
1974 LCMS2_PE_LIBS
1975 MPG123_PE_CFLAGS
1976 MPG123_PE_LIBS
1977 PNG_PE_CFLAGS
1978 PNG_PE_LIBS
1979 TIFF_PE_CFLAGS
1980 TIFF_PE_LIBS
1981 XML2_PE_CFLAGS
1982 XML2_PE_LIBS
1983 XSLT_PE_CFLAGS
1984 XSLT_PE_LIBS
1985 ZLIB_PE_CFLAGS
1986 ZLIB_PE_LIBS
1987 XMKMF
1989 INOTIFY_CFLAGS
1990 INOTIFY_LIBS
1991 DBUS_CFLAGS
1992 DBUS_LIBS
1993 HAL_CFLAGS
1994 HAL_LIBS
1995 GNUTLS_CFLAGS
1996 GNUTLS_LIBS
1997 SANE_CFLAGS
1998 SANE_LIBS
1999 USB_CFLAGS
2000 USB_LIBS
2001 GPHOTO2_CFLAGS
2002 GPHOTO2_LIBS
2003 GPHOTO2_PORT_CFLAGS
2004 GPHOTO2_PORT_LIBS
2005 FREETYPE_CFLAGS
2006 FREETYPE_LIBS
2007 PULSE_CFLAGS
2008 PULSE_LIBS
2009 GSTREAMER_CFLAGS
2010 GSTREAMER_LIBS
2011 UDEV_CFLAGS
2012 UDEV_LIBS
2013 UNWIND_CFLAGS
2014 UNWIND_LIBS
2015 SDL2_CFLAGS
2016 SDL2_LIBS
2017 CAPI20_CFLAGS
2018 CAPI20_LIBS
2019 CUPS_CFLAGS
2020 CUPS_LIBS
2021 FONTCONFIG_CFLAGS
2022 FONTCONFIG_LIBS
2023 KRB5_CFLAGS
2024 KRB5_LIBS
2025 GSSAPI_CFLAGS
2026 GSSAPI_LIBS
2027 NETAPI_CFLAGS
2028 NETAPI_LIBS
2029 VKD3D_CFLAGS
2030 VKD3D_LIBS
2031 VKD3D_SHADER_CFLAGS
2032 VKD3D_SHADER_LIBS
2033 LDAP_CFLAGS
2034 LDAP_LIBS'
2037 # Initialize some variables set by options.
2038 ac_init_help=
2039 ac_init_version=false
2040 ac_unrecognized_opts=
2041 ac_unrecognized_sep=
2042 # The variables have the same names as the options, with
2043 # dashes changed to underlines.
2044 cache_file=/dev/null
2045 exec_prefix=NONE
2046 no_create=
2047 no_recursion=
2048 prefix=NONE
2049 program_prefix=NONE
2050 program_suffix=NONE
2051 program_transform_name=s,x,x,
2052 silent=
2053 site=
2054 srcdir=
2055 verbose=
2056 x_includes=NONE
2057 x_libraries=NONE
2059 # Installation directory options.
2060 # These are left unexpanded so users can "make install exec_prefix=/foo"
2061 # and all the variables that are supposed to be based on exec_prefix
2062 # by default will actually change.
2063 # Use braces instead of parens because sh, perl, etc. also accept them.
2064 # (The list follows the same order as the GNU Coding Standards.)
2065 bindir='${exec_prefix}/bin'
2066 sbindir='${exec_prefix}/sbin'
2067 libexecdir='${exec_prefix}/libexec'
2068 datarootdir='${prefix}/share'
2069 datadir='${datarootdir}'
2070 sysconfdir='${prefix}/etc'
2071 sharedstatedir='${prefix}/com'
2072 localstatedir='${prefix}/var'
2073 runstatedir='${localstatedir}/run'
2074 includedir='${prefix}/include'
2075 oldincludedir='/usr/include'
2076 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2077 infodir='${datarootdir}/info'
2078 htmldir='${docdir}'
2079 dvidir='${docdir}'
2080 pdfdir='${docdir}'
2081 psdir='${docdir}'
2082 libdir='${exec_prefix}/lib'
2083 localedir='${datarootdir}/locale'
2084 mandir='${datarootdir}/man'
2086 ac_prev=
2087 ac_dashdash=
2088 for ac_option
2090 # If the previous option needs an argument, assign it.
2091 if test -n "$ac_prev"; then
2092 eval $ac_prev=\$ac_option
2093 ac_prev=
2094 continue
2097 case $ac_option in
2098 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2099 *=) ac_optarg= ;;
2100 *) ac_optarg=yes ;;
2101 esac
2103 case $ac_dashdash$ac_option in
2105 ac_dashdash=yes ;;
2107 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2108 ac_prev=bindir ;;
2109 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2110 bindir=$ac_optarg ;;
2112 -build | --build | --buil | --bui | --bu)
2113 ac_prev=build_alias ;;
2114 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2115 build_alias=$ac_optarg ;;
2117 -cache-file | --cache-file | --cache-fil | --cache-fi \
2118 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2119 ac_prev=cache_file ;;
2120 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2121 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2122 cache_file=$ac_optarg ;;
2124 --config-cache | -C)
2125 cache_file=config.cache ;;
2127 -datadir | --datadir | --datadi | --datad)
2128 ac_prev=datadir ;;
2129 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2130 datadir=$ac_optarg ;;
2132 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2133 | --dataroo | --dataro | --datar)
2134 ac_prev=datarootdir ;;
2135 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2136 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2137 datarootdir=$ac_optarg ;;
2139 -disable-* | --disable-*)
2140 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2141 # Reject names that are not valid shell variable names.
2142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2143 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2144 ac_useropt_orig=$ac_useropt
2145 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2146 case $ac_user_opts in
2148 "enable_$ac_useropt"
2149 "*) ;;
2150 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2151 ac_unrecognized_sep=', ';;
2152 esac
2153 eval enable_$ac_useropt=no ;;
2155 -docdir | --docdir | --docdi | --doc | --do)
2156 ac_prev=docdir ;;
2157 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2158 docdir=$ac_optarg ;;
2160 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2161 ac_prev=dvidir ;;
2162 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2163 dvidir=$ac_optarg ;;
2165 -enable-* | --enable-*)
2166 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2167 # Reject names that are not valid shell variable names.
2168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2169 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2170 ac_useropt_orig=$ac_useropt
2171 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2172 case $ac_user_opts in
2174 "enable_$ac_useropt"
2175 "*) ;;
2176 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2177 ac_unrecognized_sep=', ';;
2178 esac
2179 eval enable_$ac_useropt=\$ac_optarg ;;
2181 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2182 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2183 | --exec | --exe | --ex)
2184 ac_prev=exec_prefix ;;
2185 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2186 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2187 | --exec=* | --exe=* | --ex=*)
2188 exec_prefix=$ac_optarg ;;
2190 -gas | --gas | --ga | --g)
2191 # Obsolete; use --with-gas.
2192 with_gas=yes ;;
2194 -help | --help | --hel | --he | -h)
2195 ac_init_help=long ;;
2196 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2197 ac_init_help=recursive ;;
2198 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2199 ac_init_help=short ;;
2201 -host | --host | --hos | --ho)
2202 ac_prev=host_alias ;;
2203 -host=* | --host=* | --hos=* | --ho=*)
2204 host_alias=$ac_optarg ;;
2206 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2207 ac_prev=htmldir ;;
2208 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2209 | --ht=*)
2210 htmldir=$ac_optarg ;;
2212 -includedir | --includedir | --includedi | --included | --include \
2213 | --includ | --inclu | --incl | --inc)
2214 ac_prev=includedir ;;
2215 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2216 | --includ=* | --inclu=* | --incl=* | --inc=*)
2217 includedir=$ac_optarg ;;
2219 -infodir | --infodir | --infodi | --infod | --info | --inf)
2220 ac_prev=infodir ;;
2221 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2222 infodir=$ac_optarg ;;
2224 -libdir | --libdir | --libdi | --libd)
2225 ac_prev=libdir ;;
2226 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2227 libdir=$ac_optarg ;;
2229 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2230 | --libexe | --libex | --libe)
2231 ac_prev=libexecdir ;;
2232 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2233 | --libexe=* | --libex=* | --libe=*)
2234 libexecdir=$ac_optarg ;;
2236 -localedir | --localedir | --localedi | --localed | --locale)
2237 ac_prev=localedir ;;
2238 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2239 localedir=$ac_optarg ;;
2241 -localstatedir | --localstatedir | --localstatedi | --localstated \
2242 | --localstate | --localstat | --localsta | --localst | --locals)
2243 ac_prev=localstatedir ;;
2244 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2245 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2246 localstatedir=$ac_optarg ;;
2248 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2249 ac_prev=mandir ;;
2250 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2251 mandir=$ac_optarg ;;
2253 -nfp | --nfp | --nf)
2254 # Obsolete; use --without-fp.
2255 with_fp=no ;;
2257 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2258 | --no-cr | --no-c | -n)
2259 no_create=yes ;;
2261 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2262 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2263 no_recursion=yes ;;
2265 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2266 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2267 | --oldin | --oldi | --old | --ol | --o)
2268 ac_prev=oldincludedir ;;
2269 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2270 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2271 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2272 oldincludedir=$ac_optarg ;;
2274 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2275 ac_prev=prefix ;;
2276 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2277 prefix=$ac_optarg ;;
2279 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2280 | --program-pre | --program-pr | --program-p)
2281 ac_prev=program_prefix ;;
2282 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2283 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2284 program_prefix=$ac_optarg ;;
2286 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2287 | --program-suf | --program-su | --program-s)
2288 ac_prev=program_suffix ;;
2289 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2290 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2291 program_suffix=$ac_optarg ;;
2293 -program-transform-name | --program-transform-name \
2294 | --program-transform-nam | --program-transform-na \
2295 | --program-transform-n | --program-transform- \
2296 | --program-transform | --program-transfor \
2297 | --program-transfo | --program-transf \
2298 | --program-trans | --program-tran \
2299 | --progr-tra | --program-tr | --program-t)
2300 ac_prev=program_transform_name ;;
2301 -program-transform-name=* | --program-transform-name=* \
2302 | --program-transform-nam=* | --program-transform-na=* \
2303 | --program-transform-n=* | --program-transform-=* \
2304 | --program-transform=* | --program-transfor=* \
2305 | --program-transfo=* | --program-transf=* \
2306 | --program-trans=* | --program-tran=* \
2307 | --progr-tra=* | --program-tr=* | --program-t=*)
2308 program_transform_name=$ac_optarg ;;
2310 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2311 ac_prev=pdfdir ;;
2312 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2313 pdfdir=$ac_optarg ;;
2315 -psdir | --psdir | --psdi | --psd | --ps)
2316 ac_prev=psdir ;;
2317 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2318 psdir=$ac_optarg ;;
2320 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2321 | -silent | --silent | --silen | --sile | --sil)
2322 silent=yes ;;
2324 -runstatedir | --runstatedir | --runstatedi | --runstated \
2325 | --runstate | --runstat | --runsta | --runst | --runs \
2326 | --run | --ru | --r)
2327 ac_prev=runstatedir ;;
2328 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2329 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2330 | --run=* | --ru=* | --r=*)
2331 runstatedir=$ac_optarg ;;
2333 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2334 ac_prev=sbindir ;;
2335 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2336 | --sbi=* | --sb=*)
2337 sbindir=$ac_optarg ;;
2339 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2340 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2341 | --sharedst | --shareds | --shared | --share | --shar \
2342 | --sha | --sh)
2343 ac_prev=sharedstatedir ;;
2344 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2345 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2346 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2347 | --sha=* | --sh=*)
2348 sharedstatedir=$ac_optarg ;;
2350 -site | --site | --sit)
2351 ac_prev=site ;;
2352 -site=* | --site=* | --sit=*)
2353 site=$ac_optarg ;;
2355 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2356 ac_prev=srcdir ;;
2357 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2358 srcdir=$ac_optarg ;;
2360 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2361 | --syscon | --sysco | --sysc | --sys | --sy)
2362 ac_prev=sysconfdir ;;
2363 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2364 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2365 sysconfdir=$ac_optarg ;;
2367 -target | --target | --targe | --targ | --tar | --ta | --t)
2368 ac_prev=target_alias ;;
2369 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2370 target_alias=$ac_optarg ;;
2372 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2373 verbose=yes ;;
2375 -version | --version | --versio | --versi | --vers | -V)
2376 ac_init_version=: ;;
2378 -with-* | --with-*)
2379 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2380 # Reject names that are not valid shell variable names.
2381 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2382 as_fn_error $? "invalid package name: \`$ac_useropt'"
2383 ac_useropt_orig=$ac_useropt
2384 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2385 case $ac_user_opts in
2387 "with_$ac_useropt"
2388 "*) ;;
2389 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2390 ac_unrecognized_sep=', ';;
2391 esac
2392 eval with_$ac_useropt=\$ac_optarg ;;
2394 -without-* | --without-*)
2395 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2396 # Reject names that are not valid shell variable names.
2397 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2398 as_fn_error $? "invalid package name: \`$ac_useropt'"
2399 ac_useropt_orig=$ac_useropt
2400 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2401 case $ac_user_opts in
2403 "with_$ac_useropt"
2404 "*) ;;
2405 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2406 ac_unrecognized_sep=', ';;
2407 esac
2408 eval with_$ac_useropt=no ;;
2410 --x)
2411 # Obsolete; use --with-x.
2412 with_x=yes ;;
2414 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2415 | --x-incl | --x-inc | --x-in | --x-i)
2416 ac_prev=x_includes ;;
2417 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2418 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2419 x_includes=$ac_optarg ;;
2421 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2422 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2423 ac_prev=x_libraries ;;
2424 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2425 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2426 x_libraries=$ac_optarg ;;
2428 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2429 Try \`$0 --help' for more information"
2432 *=*)
2433 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2434 # Reject names that are not valid shell variable names.
2435 case $ac_envvar in #(
2436 '' | [0-9]* | *[!_$as_cr_alnum]* )
2437 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2438 esac
2439 eval $ac_envvar=\$ac_optarg
2440 export $ac_envvar ;;
2443 # FIXME: should be removed in autoconf 3.0.
2444 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2445 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2446 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2447 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2450 esac
2451 done
2453 if test -n "$ac_prev"; then
2454 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2455 as_fn_error $? "missing argument to $ac_option"
2458 if test -n "$ac_unrecognized_opts"; then
2459 case $enable_option_checking in
2460 no) ;;
2461 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2462 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2463 esac
2466 # Check all directory arguments for consistency.
2467 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2468 datadir sysconfdir sharedstatedir localstatedir includedir \
2469 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2470 libdir localedir mandir runstatedir
2472 eval ac_val=\$$ac_var
2473 # Remove trailing slashes.
2474 case $ac_val in
2475 */ )
2476 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2477 eval $ac_var=\$ac_val;;
2478 esac
2479 # Be sure to have absolute directory names.
2480 case $ac_val in
2481 [\\/$]* | ?:[\\/]* ) continue;;
2482 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2483 esac
2484 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2485 done
2487 # There might be people who depend on the old broken behavior: `$host'
2488 # used to hold the argument of --host etc.
2489 # FIXME: To remove some day.
2490 build=$build_alias
2491 host=$host_alias
2492 target=$target_alias
2494 # FIXME: To remove some day.
2495 if test "x$host_alias" != x; then
2496 if test "x$build_alias" = x; then
2497 cross_compiling=maybe
2498 elif test "x$build_alias" != "x$host_alias"; then
2499 cross_compiling=yes
2503 ac_tool_prefix=
2504 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2506 test "$silent" = yes && exec 6>/dev/null
2509 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2510 ac_ls_di=`ls -di .` &&
2511 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2512 as_fn_error $? "working directory cannot be determined"
2513 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2514 as_fn_error $? "pwd does not report name of working directory"
2517 # Find the source files, if location was not specified.
2518 if test -z "$srcdir"; then
2519 ac_srcdir_defaulted=yes
2520 # Try the directory containing this script, then the parent directory.
2521 ac_confdir=`$as_dirname -- "$as_myself" ||
2522 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2523 X"$as_myself" : 'X\(//\)[^/]' \| \
2524 X"$as_myself" : 'X\(//\)$' \| \
2525 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2526 printf "%s\n" X"$as_myself" |
2527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2528 s//\1/
2531 /^X\(\/\/\)[^/].*/{
2532 s//\1/
2535 /^X\(\/\/\)$/{
2536 s//\1/
2539 /^X\(\/\).*/{
2540 s//\1/
2543 s/.*/./; q'`
2544 srcdir=$ac_confdir
2545 if test ! -r "$srcdir/$ac_unique_file"; then
2546 srcdir=..
2548 else
2549 ac_srcdir_defaulted=no
2551 if test ! -r "$srcdir/$ac_unique_file"; then
2552 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2553 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2555 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2556 ac_abs_confdir=`(
2557 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2558 pwd)`
2559 # When building in place, set srcdir=.
2560 if test "$ac_abs_confdir" = "$ac_pwd"; then
2561 srcdir=.
2563 # Remove unnecessary trailing slashes from srcdir.
2564 # Double slashes in file names in object file debugging info
2565 # mess up M-x gdb in Emacs.
2566 case $srcdir in
2567 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2568 esac
2569 for ac_var in $ac_precious_vars; do
2570 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2571 eval ac_env_${ac_var}_value=\$${ac_var}
2572 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2573 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2574 done
2577 # Report the --help message.
2579 if test "$ac_init_help" = "long"; then
2580 # Omit some internal or obsolete options to make the list less imposing.
2581 # This message is too long to be a string in the A/UX 3.1 sh.
2582 cat <<_ACEOF
2583 \`configure' configures Wine 6.22 to adapt to many kinds of systems.
2585 Usage: $0 [OPTION]... [VAR=VALUE]...
2587 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2588 VAR=VALUE. See below for descriptions of some of the useful variables.
2590 Defaults for the options are specified in brackets.
2592 Configuration:
2593 -h, --help display this help and exit
2594 --help=short display options specific to this package
2595 --help=recursive display the short help of all the included packages
2596 -V, --version display version information and exit
2597 -q, --quiet, --silent do not print \`checking ...' messages
2598 --cache-file=FILE cache test results in FILE [disabled]
2599 -C, --config-cache alias for \`--cache-file=config.cache'
2600 -n, --no-create do not create output files
2601 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2603 Installation directories:
2604 --prefix=PREFIX install architecture-independent files in PREFIX
2605 [$ac_default_prefix]
2606 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2607 [PREFIX]
2609 By default, \`make install' will install all the files in
2610 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2611 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2612 for instance \`--prefix=\$HOME'.
2614 For better control, use the options below.
2616 Fine tuning of the installation directories:
2617 --bindir=DIR user executables [EPREFIX/bin]
2618 --sbindir=DIR system admin executables [EPREFIX/sbin]
2619 --libexecdir=DIR program executables [EPREFIX/libexec]
2620 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2621 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2622 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2623 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2624 --libdir=DIR object code libraries [EPREFIX/lib]
2625 --includedir=DIR C header files [PREFIX/include]
2626 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2627 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2628 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2629 --infodir=DIR info documentation [DATAROOTDIR/info]
2630 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2631 --mandir=DIR man documentation [DATAROOTDIR/man]
2632 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2633 --htmldir=DIR html documentation [DOCDIR]
2634 --dvidir=DIR dvi documentation [DOCDIR]
2635 --pdfdir=DIR pdf documentation [DOCDIR]
2636 --psdir=DIR ps documentation [DOCDIR]
2637 _ACEOF
2639 cat <<\_ACEOF
2641 X features:
2642 --x-includes=DIR X include files are in DIR
2643 --x-libraries=DIR X library files are in DIR
2645 System types:
2646 --build=BUILD configure for building on BUILD [guessed]
2647 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2648 _ACEOF
2651 if test -n "$ac_init_help"; then
2652 case $ac_init_help in
2653 short | recursive ) echo "Configuration of Wine 6.22:";;
2654 esac
2655 cat <<\_ACEOF
2657 Optional Features:
2658 --disable-option-checking ignore unrecognized --enable/--with options
2659 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2660 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2661 --disable-win16 do not include Win16 support
2662 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2663 binaries)
2664 --disable-tests do not build the regression tests
2665 --enable-build-id include .buildid section in output objects
2666 --enable-maintainer-mode
2667 enable maintainer-specific build rules
2668 --enable-silent-rules use silent build rules (override: "make V=1")
2669 --enable-werror treat compilation warnings as errors
2670 --disable-largefile omit support for large files
2672 Optional Packages:
2673 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2674 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2675 --without-alsa do not use the Alsa sound support
2676 --without-capi do not use CAPI (ISDN support)
2677 --without-coreaudio do not use the CoreAudio sound support
2678 --without-cups do not use CUPS
2679 --without-dbus do not use DBus (dynamic device support)
2680 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2681 --without-fontconfig do not use fontconfig
2682 --without-freetype do not use the FreeType library
2683 --without-gettext do not use gettext
2684 --with-gettextpo use the GetTextPO library to rebuild po files
2685 --without-gphoto do not use gphoto (Digital Camera support)
2686 --without-gnutls do not use GnuTLS (schannel support)
2687 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2688 --without-gstreamer do not use GStreamer (codecs support)
2689 --without-hal do not use HAL (dynamic device support)
2690 --without-inotify do not use inotify (filesystem change notifications)
2691 --without-krb5 do not use krb5 (Kerberos)
2692 --without-ldap do not use LDAP
2693 --without-mingw do not use the MinGW cross-compiler
2694 --without-netapi do not use the Samba NetAPI library
2695 --without-openal do not use OpenAL
2696 --without-opencl do not use OpenCL
2697 --without-opengl do not use OpenGL
2698 --without-osmesa do not use the OSMesa library
2699 --without-oss do not use the OSS sound support
2700 --without-pcap do not use the Packet Capture library
2701 --without-pthread do not use the pthread library
2702 --without-pulse do not use PulseAudio sound support
2703 --without-quicktime do not use QuickTime support
2704 --without-sane do not use SANE (scanner support)
2705 --without-sdl do not use SDL
2706 --without-udev do not use udev (plug and play support)
2707 --without-unwind do not use the libunwind library (exception
2708 handling)
2709 --without-usb do not use the libusb library
2710 --without-v4l2 do not use v4l2 (video capture)
2711 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2712 --without-vulkan do not use Vulkan
2713 --without-xcomposite do not use the Xcomposite extension
2714 --without-xcursor do not use the Xcursor extension
2715 --without-xfixes do not use Xfixes for clipboard change notifications
2716 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2717 --without-xinput do not use the Xinput extension
2718 --without-xinput2 do not use the Xinput 2 extension
2719 --without-xrandr do not use Xrandr (multi-monitor support)
2720 --without-xrender do not use the Xrender extension
2721 --without-xshape do not use the Xshape extension
2722 --without-xshm do not use XShm (shared memory extension)
2723 --without-xxf86vm do not use XFree video mode extension
2724 --with-system-dllpath=PATH
2725 load external PE dependencies from colon-separated
2726 path PATH
2727 --with-wine-tools=DIR use Wine tools from directory DIR
2728 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2729 --with-x use the X Window System
2731 Some influential environment variables:
2732 CC C compiler command
2733 CFLAGS C compiler flags
2734 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2735 nonstandard directory <lib dir>
2736 LIBS libraries to pass to the linker, e.g. -l<library>
2737 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2738 you have headers in a nonstandard directory <include dir>
2739 CXX C++ compiler command
2740 CXXFLAGS C++ compiler flags
2741 OBJC Objective C compiler command
2742 OBJCFLAGS Objective C compiler flags
2743 FAUDIO_PE_CFLAGS
2744 C compiler flags for the PE faudio, overriding the bundled
2745 version
2746 FAUDIO_PE_LIBS
2747 Linker flags for the PE faudio, overriding the bundled version
2748 GSM_PE_CFLAGS
2749 C compiler flags for the PE gsm, overriding the bundled version
2750 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2751 JPEG_PE_CFLAGS
2752 C compiler flags for the PE jpeg, overriding the bundled version
2753 JPEG_PE_LIBS
2754 Linker flags for the PE jpeg, overriding the bundled version
2755 JXR_PE_CFLAGS
2756 C compiler flags for the PE jxr, overriding the bundled version
2757 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2758 LCMS2_PE_CFLAGS
2759 C compiler flags for the PE lcms2, overriding the bundled
2760 version
2761 LCMS2_PE_LIBS
2762 Linker flags for the PE lcms2, overriding the bundled version
2763 MPG123_PE_CFLAGS
2764 C compiler flags for the PE mpg123, overriding the bundled
2765 version
2766 MPG123_PE_LIBS
2767 Linker flags for the PE mpg123, overriding the bundled version
2768 PNG_PE_CFLAGS
2769 C compiler flags for the PE png, overriding the bundled version
2770 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2771 TIFF_PE_CFLAGS
2772 C compiler flags for the PE tiff, overriding the bundled version
2773 TIFF_PE_LIBS
2774 Linker flags for the PE tiff, overriding the bundled version
2775 XML2_PE_CFLAGS
2776 C compiler flags for the PE libxml2, overriding the bundled
2777 version
2778 XML2_PE_LIBS
2779 Linker flags for the PE libxml2, overriding the bundled version
2780 XSLT_PE_CFLAGS
2781 C compiler flags for the PE libxslt, overriding the bundled
2782 version
2783 XSLT_PE_LIBS
2784 Linker flags for the PE libxslt, overriding the bundled version
2785 ZLIB_PE_CFLAGS
2786 C compiler flags for the PE zlib, overriding the bundled version
2787 ZLIB_PE_LIBS
2788 Linker flags for the PE zlib, overriding the bundled version
2789 XMKMF Path to xmkmf, Makefile generator for X Window System
2790 CPP C preprocessor
2791 INOTIFY_CFLAGS
2792 C compiler flags for libinotify, overriding pkg-config
2793 INOTIFY_LIBS
2794 Linker flags for libinotify, overriding pkg-config
2795 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2796 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2797 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2798 HAL_LIBS Linker flags for hal, overriding pkg-config
2799 GNUTLS_CFLAGS
2800 C compiler flags for gnutls, overriding pkg-config
2801 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2802 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2803 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2804 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2805 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2806 GPHOTO2_CFLAGS
2807 C compiler flags for libgphoto2, overriding pkg-config
2808 GPHOTO2_LIBS
2809 Linker flags for libgphoto2, overriding pkg-config
2810 GPHOTO2_PORT_CFLAGS
2811 C compiler flags for libgphoto2_port, overriding pkg-config
2812 GPHOTO2_PORT_LIBS
2813 Linker flags for libgphoto2_port, overriding pkg-config
2814 FREETYPE_CFLAGS
2815 C compiler flags for freetype2, overriding pkg-config
2816 FREETYPE_LIBS
2817 Linker flags for freetype2, overriding pkg-config
2818 PULSE_CFLAGS
2819 C compiler flags for libpulse, overriding pkg-config
2820 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2821 GSTREAMER_CFLAGS
2822 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2823 gstreamer-audio-1.0, overriding pkg-config
2824 GSTREAMER_LIBS
2825 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2826 gstreamer-audio-1.0, overriding pkg-config
2827 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2828 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2829 UNWIND_CFLAGS
2830 C compiler flags for libunwind, overriding pkg-config
2831 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2832 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2833 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2834 CAPI20_CFLAGS
2835 C compiler flags for capi20, overriding pkg-config
2836 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2837 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2838 CUPS_LIBS Linker flags for cups, overriding pkg-config
2839 FONTCONFIG_CFLAGS
2840 C compiler flags for fontconfig, overriding pkg-config
2841 FONTCONFIG_LIBS
2842 Linker flags for fontconfig, overriding pkg-config
2843 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2844 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2845 GSSAPI_CFLAGS
2846 C compiler flags for krb5-gssapi, overriding pkg-config
2847 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2848 NETAPI_CFLAGS
2849 C compiler flags for netapi, overriding pkg-config
2850 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2851 VKD3D_CFLAGS
2852 C compiler flags for libvkd3d, overriding pkg-config
2853 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2854 VKD3D_SHADER_CFLAGS
2855 C compiler flags for libvkd3d-shader, overriding pkg-config
2856 VKD3D_SHADER_LIBS
2857 Linker flags for libvkd3d-shader, overriding pkg-config
2858 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2859 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2861 Use these variables to override the choices made by `configure' or to help
2862 it to find libraries and programs with nonstandard names/locations.
2864 Report bugs to <wine-devel@winehq.org>.
2865 Wine home page: <https://www.winehq.org>.
2866 _ACEOF
2867 ac_status=$?
2870 if test "$ac_init_help" = "recursive"; then
2871 # If there are subdirs, report their specific --help.
2872 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2873 test -d "$ac_dir" ||
2874 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2875 continue
2876 ac_builddir=.
2878 case "$ac_dir" in
2879 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2881 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2882 # A ".." for each directory in $ac_dir_suffix.
2883 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2884 case $ac_top_builddir_sub in
2885 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2886 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2887 esac ;;
2888 esac
2889 ac_abs_top_builddir=$ac_pwd
2890 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2891 # for backward compatibility:
2892 ac_top_builddir=$ac_top_build_prefix
2894 case $srcdir in
2895 .) # We are building in place.
2896 ac_srcdir=.
2897 ac_top_srcdir=$ac_top_builddir_sub
2898 ac_abs_top_srcdir=$ac_pwd ;;
2899 [\\/]* | ?:[\\/]* ) # Absolute name.
2900 ac_srcdir=$srcdir$ac_dir_suffix;
2901 ac_top_srcdir=$srcdir
2902 ac_abs_top_srcdir=$srcdir ;;
2903 *) # Relative name.
2904 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2905 ac_top_srcdir=$ac_top_build_prefix$srcdir
2906 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2907 esac
2908 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2910 cd "$ac_dir" || { ac_status=$?; continue; }
2911 # Check for configure.gnu first; this name is used for a wrapper for
2912 # Metaconfig's "Configure" on case-insensitive file systems.
2913 if test -f "$ac_srcdir/configure.gnu"; then
2914 echo &&
2915 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2916 elif test -f "$ac_srcdir/configure"; then
2917 echo &&
2918 $SHELL "$ac_srcdir/configure" --help=recursive
2919 else
2920 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2921 fi || ac_status=$?
2922 cd "$ac_pwd" || { ac_status=$?; break; }
2923 done
2926 test -n "$ac_init_help" && exit $ac_status
2927 if $ac_init_version; then
2928 cat <<\_ACEOF
2929 Wine configure 6.22
2930 generated by GNU Autoconf 2.71
2932 Copyright (C) 2021 Free Software Foundation, Inc.
2933 This configure script is free software; the Free Software Foundation
2934 gives unlimited permission to copy, distribute and modify it.
2935 _ACEOF
2936 exit
2939 ## ------------------------ ##
2940 ## Autoconf initialization. ##
2941 ## ------------------------ ##
2943 # ac_fn_c_try_compile LINENO
2944 # --------------------------
2945 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2946 ac_fn_c_try_compile ()
2948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2949 rm -f conftest.$ac_objext conftest.beam
2950 if { { ac_try="$ac_compile"
2951 case "(($ac_try" in
2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
2954 esac
2955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2956 printf "%s\n" "$ac_try_echo"; } >&5
2957 (eval "$ac_compile") 2>conftest.err
2958 ac_status=$?
2959 if test -s conftest.err; then
2960 grep -v '^ *+' conftest.err >conftest.er1
2961 cat conftest.er1 >&5
2962 mv -f conftest.er1 conftest.err
2964 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2965 test $ac_status = 0; } && {
2966 test -z "$ac_c_werror_flag" ||
2967 test ! -s conftest.err
2968 } && test -s conftest.$ac_objext
2969 then :
2970 ac_retval=0
2971 else $as_nop
2972 printf "%s\n" "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2975 ac_retval=1
2977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2978 as_fn_set_status $ac_retval
2980 } # ac_fn_c_try_compile
2982 # ac_fn_cxx_try_compile LINENO
2983 # ----------------------------
2984 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2985 ac_fn_cxx_try_compile ()
2987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2988 rm -f conftest.$ac_objext conftest.beam
2989 if { { ac_try="$ac_compile"
2990 case "(($ac_try" in
2991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992 *) ac_try_echo=$ac_try;;
2993 esac
2994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2995 printf "%s\n" "$ac_try_echo"; } >&5
2996 (eval "$ac_compile") 2>conftest.err
2997 ac_status=$?
2998 if test -s conftest.err; then
2999 grep -v '^ *+' conftest.err >conftest.er1
3000 cat conftest.er1 >&5
3001 mv -f conftest.er1 conftest.err
3003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3004 test $ac_status = 0; } && {
3005 test -z "$ac_cxx_werror_flag" ||
3006 test ! -s conftest.err
3007 } && test -s conftest.$ac_objext
3008 then :
3009 ac_retval=0
3010 else $as_nop
3011 printf "%s\n" "$as_me: failed program was:" >&5
3012 sed 's/^/| /' conftest.$ac_ext >&5
3014 ac_retval=1
3016 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3017 as_fn_set_status $ac_retval
3019 } # ac_fn_cxx_try_compile
3021 # ac_fn_c_try_link LINENO
3022 # -----------------------
3023 # Try to link conftest.$ac_ext, and return whether this succeeded.
3024 ac_fn_c_try_link ()
3026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3027 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
3028 if { { ac_try="$ac_link"
3029 case "(($ac_try" in
3030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3031 *) ac_try_echo=$ac_try;;
3032 esac
3033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3034 printf "%s\n" "$ac_try_echo"; } >&5
3035 (eval "$ac_link") 2>conftest.err
3036 ac_status=$?
3037 if test -s conftest.err; then
3038 grep -v '^ *+' conftest.err >conftest.er1
3039 cat conftest.er1 >&5
3040 mv -f conftest.er1 conftest.err
3042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3043 test $ac_status = 0; } && {
3044 test -z "$ac_c_werror_flag" ||
3045 test ! -s conftest.err
3046 } && test -s conftest$ac_exeext && {
3047 test "$cross_compiling" = yes ||
3048 test -x conftest$ac_exeext
3050 then :
3051 ac_retval=0
3052 else $as_nop
3053 printf "%s\n" "$as_me: failed program was:" >&5
3054 sed 's/^/| /' conftest.$ac_ext >&5
3056 ac_retval=1
3058 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3059 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3060 # interfere with the next link command; also delete a directory that is
3061 # left behind by Apple's compiler. We do this before executing the actions.
3062 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3064 as_fn_set_status $ac_retval
3066 } # ac_fn_c_try_link
3068 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3069 # -------------------------------------------------------
3070 # Tests whether HEADER exists and can be compiled using the include files in
3071 # INCLUDES, setting the cache variable VAR accordingly.
3072 ac_fn_c_check_header_compile ()
3074 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3076 printf %s "checking for $2... " >&6; }
3077 if eval test \${$3+y}
3078 then :
3079 printf %s "(cached) " >&6
3080 else $as_nop
3081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3082 /* end confdefs.h. */
3084 #include <$2>
3085 _ACEOF
3086 if ac_fn_c_try_compile "$LINENO"
3087 then :
3088 eval "$3=yes"
3089 else $as_nop
3090 eval "$3=no"
3092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3094 eval ac_res=\$$3
3095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3096 printf "%s\n" "$ac_res" >&6; }
3097 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3099 } # ac_fn_c_check_header_compile
3101 # ac_fn_objc_try_compile LINENO
3102 # -----------------------------
3103 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3104 ac_fn_objc_try_compile ()
3106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3107 rm -f conftest.$ac_objext conftest.beam
3108 if { { ac_try="$ac_compile"
3109 case "(($ac_try" in
3110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3111 *) ac_try_echo=$ac_try;;
3112 esac
3113 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3114 printf "%s\n" "$ac_try_echo"; } >&5
3115 (eval "$ac_compile") 2>conftest.err
3116 ac_status=$?
3117 if test -s conftest.err; then
3118 grep -v '^ *+' conftest.err >conftest.er1
3119 cat conftest.er1 >&5
3120 mv -f conftest.er1 conftest.err
3122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3123 test $ac_status = 0; } && {
3124 test -z "$ac_objc_werror_flag" ||
3125 test ! -s conftest.err
3126 } && test -s conftest.$ac_objext
3127 then :
3128 ac_retval=0
3129 else $as_nop
3130 printf "%s\n" "$as_me: failed program was:" >&5
3131 sed 's/^/| /' conftest.$ac_ext >&5
3133 ac_retval=1
3135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3136 as_fn_set_status $ac_retval
3138 } # ac_fn_objc_try_compile
3140 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
3141 # ----------------------------------------------------------
3142 # Tests whether HEADER exists and can be compiled using the include files in
3143 # INCLUDES, setting the cache variable VAR accordingly.
3144 ac_fn_objc_check_header_compile ()
3146 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3148 printf %s "checking for $2... " >&6; }
3149 if eval test \${$3+y}
3150 then :
3151 printf %s "(cached) " >&6
3152 else $as_nop
3153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3154 /* end confdefs.h. */
3156 #include <$2>
3157 _ACEOF
3158 if ac_fn_objc_try_compile "$LINENO"
3159 then :
3160 eval "$3=yes"
3161 else $as_nop
3162 eval "$3=no"
3164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3166 eval ac_res=\$$3
3167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3168 printf "%s\n" "$ac_res" >&6; }
3169 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3171 } # ac_fn_objc_check_header_compile
3173 # ac_fn_c_check_func LINENO FUNC VAR
3174 # ----------------------------------
3175 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3176 ac_fn_c_check_func ()
3178 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3180 printf %s "checking for $2... " >&6; }
3181 if eval test \${$3+y}
3182 then :
3183 printf %s "(cached) " >&6
3184 else $as_nop
3185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3186 /* end confdefs.h. */
3187 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3189 #define $2 innocuous_$2
3191 /* System header to define __stub macros and hopefully few prototypes,
3192 which can conflict with char $2 (); below. */
3194 #include <limits.h>
3195 #undef $2
3197 /* Override any GCC internal prototype to avoid an error.
3198 Use char because int might match the return type of a GCC
3199 builtin and then its argument prototype would still apply. */
3200 #ifdef __cplusplus
3201 extern "C"
3202 #endif
3203 char $2 ();
3204 /* The GNU C library defines this for functions which it implements
3205 to always fail with ENOSYS. Some functions are actually named
3206 something starting with __ and the normal name is an alias. */
3207 #if defined __stub_$2 || defined __stub___$2
3208 choke me
3209 #endif
3212 main (void)
3214 return $2 ();
3216 return 0;
3218 _ACEOF
3219 if ac_fn_c_try_link "$LINENO"
3220 then :
3221 eval "$3=yes"
3222 else $as_nop
3223 eval "$3=no"
3225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3226 conftest$ac_exeext conftest.$ac_ext
3228 eval ac_res=\$$3
3229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3230 printf "%s\n" "$ac_res" >&6; }
3231 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3233 } # ac_fn_c_check_func
3235 # ac_fn_c_try_cpp LINENO
3236 # ----------------------
3237 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3238 ac_fn_c_try_cpp ()
3240 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3241 if { { ac_try="$ac_cpp conftest.$ac_ext"
3242 case "(($ac_try" in
3243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244 *) ac_try_echo=$ac_try;;
3245 esac
3246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247 printf "%s\n" "$ac_try_echo"; } >&5
3248 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3249 ac_status=$?
3250 if test -s conftest.err; then
3251 grep -v '^ *+' conftest.err >conftest.er1
3252 cat conftest.er1 >&5
3253 mv -f conftest.er1 conftest.err
3255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3256 test $ac_status = 0; } > conftest.i && {
3257 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3258 test ! -s conftest.err
3260 then :
3261 ac_retval=0
3262 else $as_nop
3263 printf "%s\n" "$as_me: failed program was:" >&5
3264 sed 's/^/| /' conftest.$ac_ext >&5
3266 ac_retval=1
3268 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3269 as_fn_set_status $ac_retval
3271 } # ac_fn_c_try_cpp
3273 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3274 # ----------------------------------------------------
3275 # Tries to find if the field MEMBER exists in type AGGR, after including
3276 # INCLUDES, setting cache variable VAR accordingly.
3277 ac_fn_c_check_member ()
3279 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3281 printf %s "checking for $2.$3... " >&6; }
3282 if eval test \${$4+y}
3283 then :
3284 printf %s "(cached) " >&6
3285 else $as_nop
3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h. */
3290 main (void)
3292 static $2 ac_aggr;
3293 if (ac_aggr.$3)
3294 return 0;
3296 return 0;
3298 _ACEOF
3299 if ac_fn_c_try_compile "$LINENO"
3300 then :
3301 eval "$4=yes"
3302 else $as_nop
3303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3304 /* end confdefs.h. */
3307 main (void)
3309 static $2 ac_aggr;
3310 if (sizeof ac_aggr.$3)
3311 return 0;
3313 return 0;
3315 _ACEOF
3316 if ac_fn_c_try_compile "$LINENO"
3317 then :
3318 eval "$4=yes"
3319 else $as_nop
3320 eval "$4=no"
3322 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3324 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3326 eval ac_res=\$$4
3327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3328 printf "%s\n" "$ac_res" >&6; }
3329 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3331 } # ac_fn_c_check_member
3333 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3334 # -------------------------------------------
3335 # Tests whether TYPE exists after having included INCLUDES, setting cache
3336 # variable VAR accordingly.
3337 ac_fn_c_check_type ()
3339 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3341 printf %s "checking for $2... " >&6; }
3342 if eval test \${$3+y}
3343 then :
3344 printf %s "(cached) " >&6
3345 else $as_nop
3346 eval "$3=no"
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3351 main (void)
3353 if (sizeof ($2))
3354 return 0;
3356 return 0;
3358 _ACEOF
3359 if ac_fn_c_try_compile "$LINENO"
3360 then :
3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3362 /* end confdefs.h. */
3365 main (void)
3367 if (sizeof (($2)))
3368 return 0;
3370 return 0;
3372 _ACEOF
3373 if ac_fn_c_try_compile "$LINENO"
3374 then :
3376 else $as_nop
3377 eval "$3=yes"
3379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3383 eval ac_res=\$$3
3384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3385 printf "%s\n" "$ac_res" >&6; }
3386 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3388 } # ac_fn_c_check_type
3389 ac_configure_args_raw=
3390 for ac_arg
3392 case $ac_arg in
3393 *\'*)
3394 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3395 esac
3396 as_fn_append ac_configure_args_raw " '$ac_arg'"
3397 done
3399 case $ac_configure_args_raw in
3400 *$as_nl*)
3401 ac_safe_unquote= ;;
3403 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3404 ac_unsafe_a="$ac_unsafe_z#~"
3405 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3406 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3407 esac
3409 cat >config.log <<_ACEOF
3410 This file contains any messages produced by compilers while
3411 running configure, to aid debugging if configure makes a mistake.
3413 It was created by Wine $as_me 6.22, which was
3414 generated by GNU Autoconf 2.71. Invocation command line was
3416 $ $0$ac_configure_args_raw
3418 _ACEOF
3419 exec 5>>config.log
3421 cat <<_ASUNAME
3422 ## --------- ##
3423 ## Platform. ##
3424 ## --------- ##
3426 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3427 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3428 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3429 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3430 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3432 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3433 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3435 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3436 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3437 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3438 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3439 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3440 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3441 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3443 _ASUNAME
3445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3446 for as_dir in $PATH
3448 IFS=$as_save_IFS
3449 case $as_dir in #(((
3450 '') as_dir=./ ;;
3451 */) ;;
3452 *) as_dir=$as_dir/ ;;
3453 esac
3454 printf "%s\n" "PATH: $as_dir"
3455 done
3456 IFS=$as_save_IFS
3458 } >&5
3460 cat >&5 <<_ACEOF
3463 ## ----------- ##
3464 ## Core tests. ##
3465 ## ----------- ##
3467 _ACEOF
3470 # Keep a trace of the command line.
3471 # Strip out --no-create and --no-recursion so they do not pile up.
3472 # Strip out --silent because we don't want to record it for future runs.
3473 # Also quote any args containing shell meta-characters.
3474 # Make two passes to allow for proper duplicate-argument suppression.
3475 ac_configure_args=
3476 ac_configure_args0=
3477 ac_configure_args1=
3478 ac_must_keep_next=false
3479 for ac_pass in 1 2
3481 for ac_arg
3483 case $ac_arg in
3484 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3486 | -silent | --silent | --silen | --sile | --sil)
3487 continue ;;
3488 *\'*)
3489 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3490 esac
3491 case $ac_pass in
3492 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3494 as_fn_append ac_configure_args1 " '$ac_arg'"
3495 if test $ac_must_keep_next = true; then
3496 ac_must_keep_next=false # Got value, back to normal.
3497 else
3498 case $ac_arg in
3499 *=* | --config-cache | -C | -disable-* | --disable-* \
3500 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3501 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3502 | -with-* | --with-* | -without-* | --without-* | --x)
3503 case "$ac_configure_args0 " in
3504 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3505 esac
3507 -* ) ac_must_keep_next=true ;;
3508 esac
3510 as_fn_append ac_configure_args " '$ac_arg'"
3512 esac
3513 done
3514 done
3515 { ac_configure_args0=; unset ac_configure_args0;}
3516 { ac_configure_args1=; unset ac_configure_args1;}
3518 # When interrupted or exit'd, cleanup temporary files, and complete
3519 # config.log. We remove comments because anyway the quotes in there
3520 # would cause problems or look ugly.
3521 # WARNING: Use '\'' to represent an apostrophe within the trap.
3522 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3523 trap 'exit_status=$?
3524 # Sanitize IFS.
3525 IFS=" "" $as_nl"
3526 # Save into config.log some information that might help in debugging.
3528 echo
3530 printf "%s\n" "## ---------------- ##
3531 ## Cache variables. ##
3532 ## ---------------- ##"
3533 echo
3534 # The following way of writing the cache mishandles newlines in values,
3536 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3537 eval ac_val=\$$ac_var
3538 case $ac_val in #(
3539 *${as_nl}*)
3540 case $ac_var in #(
3541 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3542 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3543 esac
3544 case $ac_var in #(
3545 _ | IFS | as_nl) ;; #(
3546 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3547 *) { eval $ac_var=; unset $ac_var;} ;;
3548 esac ;;
3549 esac
3550 done
3551 (set) 2>&1 |
3552 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3553 *${as_nl}ac_space=\ *)
3554 sed -n \
3555 "s/'\''/'\''\\\\'\'''\''/g;
3556 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3557 ;; #(
3559 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3561 esac |
3562 sort
3564 echo
3566 printf "%s\n" "## ----------------- ##
3567 ## Output variables. ##
3568 ## ----------------- ##"
3569 echo
3570 for ac_var in $ac_subst_vars
3572 eval ac_val=\$$ac_var
3573 case $ac_val in
3574 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3575 esac
3576 printf "%s\n" "$ac_var='\''$ac_val'\''"
3577 done | sort
3578 echo
3580 if test -n "$ac_subst_files"; then
3581 printf "%s\n" "## ------------------- ##
3582 ## File substitutions. ##
3583 ## ------------------- ##"
3584 echo
3585 for ac_var in $ac_subst_files
3587 eval ac_val=\$$ac_var
3588 case $ac_val in
3589 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3590 esac
3591 printf "%s\n" "$ac_var='\''$ac_val'\''"
3592 done | sort
3593 echo
3596 if test -s confdefs.h; then
3597 printf "%s\n" "## ----------- ##
3598 ## confdefs.h. ##
3599 ## ----------- ##"
3600 echo
3601 cat confdefs.h
3602 echo
3604 test "$ac_signal" != 0 &&
3605 printf "%s\n" "$as_me: caught signal $ac_signal"
3606 printf "%s\n" "$as_me: exit $exit_status"
3607 } >&5
3608 rm -f core *.core core.conftest.* &&
3609 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3610 exit $exit_status
3612 for ac_signal in 1 2 13 15; do
3613 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3614 done
3615 ac_signal=0
3617 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3618 rm -f -r conftest* confdefs.h
3620 printf "%s\n" "/* confdefs.h */" > confdefs.h
3622 # Predefined preprocessor variables.
3624 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3626 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3628 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3630 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3632 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3634 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3637 # Let the site file select an alternate cache file if it wants to.
3638 # Prefer an explicitly selected file to automatically selected ones.
3639 if test -n "$CONFIG_SITE"; then
3640 ac_site_files="$CONFIG_SITE"
3641 elif test "x$prefix" != xNONE; then
3642 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3643 else
3644 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3647 for ac_site_file in $ac_site_files
3649 case $ac_site_file in #(
3650 */*) :
3651 ;; #(
3652 *) :
3653 ac_site_file=./$ac_site_file ;;
3654 esac
3655 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3657 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3658 sed 's/^/| /' "$ac_site_file" >&5
3659 . "$ac_site_file" \
3660 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3661 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3662 as_fn_error $? "failed to load site script $ac_site_file
3663 See \`config.log' for more details" "$LINENO" 5; }
3665 done
3667 if test -r "$cache_file"; then
3668 # Some versions of bash will fail to source /dev/null (special files
3669 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3670 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3672 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3673 case $cache_file in
3674 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3675 *) . "./$cache_file";;
3676 esac
3678 else
3679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3680 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3681 >$cache_file
3684 # Test code for whether the C compiler supports C89 (global declarations)
3685 ac_c_conftest_c89_globals='
3686 /* Does the compiler advertise C89 conformance?
3687 Do not test the value of __STDC__, because some compilers set it to 0
3688 while being otherwise adequately conformant. */
3689 #if !defined __STDC__
3690 # error "Compiler does not advertise C89 conformance"
3691 #endif
3693 #include <stddef.h>
3694 #include <stdarg.h>
3695 struct stat;
3696 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3697 struct buf { int x; };
3698 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3699 static char *e (p, i)
3700 char **p;
3701 int i;
3703 return p[i];
3705 static char *f (char * (*g) (char **, int), char **p, ...)
3707 char *s;
3708 va_list v;
3709 va_start (v,p);
3710 s = g (p, va_arg (v,int));
3711 va_end (v);
3712 return s;
3715 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3716 function prototypes and stuff, but not \xHH hex character constants.
3717 These do not provoke an error unfortunately, instead are silently treated
3718 as an "x". The following induces an error, until -std is added to get
3719 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3720 array size at least. It is necessary to write \x00 == 0 to get something
3721 that is true only with -std. */
3722 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3724 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3725 inside strings and character constants. */
3726 #define FOO(x) '\''x'\''
3727 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3729 int test (int i, double x);
3730 struct s1 {int (*f) (int a);};
3731 struct s2 {int (*f) (double a);};
3732 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3733 int, int);'
3735 # Test code for whether the C compiler supports C89 (body of main).
3736 ac_c_conftest_c89_main='
3737 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3740 # Test code for whether the C compiler supports C99 (global declarations)
3741 ac_c_conftest_c99_globals='
3742 // Does the compiler advertise C99 conformance?
3743 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3744 # error "Compiler does not advertise C99 conformance"
3745 #endif
3747 #include <stdbool.h>
3748 extern int puts (const char *);
3749 extern int printf (const char *, ...);
3750 extern int dprintf (int, const char *, ...);
3751 extern void *malloc (size_t);
3753 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3754 // dprintf is used instead of fprintf to avoid needing to declare
3755 // FILE and stderr.
3756 #define debug(...) dprintf (2, __VA_ARGS__)
3757 #define showlist(...) puts (#__VA_ARGS__)
3758 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3759 static void
3760 test_varargs_macros (void)
3762 int x = 1234;
3763 int y = 5678;
3764 debug ("Flag");
3765 debug ("X = %d\n", x);
3766 showlist (The first, second, and third items.);
3767 report (x>y, "x is %d but y is %d", x, y);
3770 // Check long long types.
3771 #define BIG64 18446744073709551615ull
3772 #define BIG32 4294967295ul
3773 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3774 #if !BIG_OK
3775 #error "your preprocessor is broken"
3776 #endif
3777 #if BIG_OK
3778 #else
3779 #error "your preprocessor is broken"
3780 #endif
3781 static long long int bignum = -9223372036854775807LL;
3782 static unsigned long long int ubignum = BIG64;
3784 struct incomplete_array
3786 int datasize;
3787 double data[];
3790 struct named_init {
3791 int number;
3792 const wchar_t *name;
3793 double average;
3796 typedef const char *ccp;
3798 static inline int
3799 test_restrict (ccp restrict text)
3801 // See if C++-style comments work.
3802 // Iterate through items via the restricted pointer.
3803 // Also check for declarations in for loops.
3804 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3805 continue;
3806 return 0;
3809 // Check varargs and va_copy.
3810 static bool
3811 test_varargs (const char *format, ...)
3813 va_list args;
3814 va_start (args, format);
3815 va_list args_copy;
3816 va_copy (args_copy, args);
3818 const char *str = "";
3819 int number = 0;
3820 float fnumber = 0;
3822 while (*format)
3824 switch (*format++)
3826 case '\''s'\'': // string
3827 str = va_arg (args_copy, const char *);
3828 break;
3829 case '\''d'\'': // int
3830 number = va_arg (args_copy, int);
3831 break;
3832 case '\''f'\'': // float
3833 fnumber = va_arg (args_copy, double);
3834 break;
3835 default:
3836 break;
3839 va_end (args_copy);
3840 va_end (args);
3842 return *str && number && fnumber;
3846 # Test code for whether the C compiler supports C99 (body of main).
3847 ac_c_conftest_c99_main='
3848 // Check bool.
3849 _Bool success = false;
3850 success |= (argc != 0);
3852 // Check restrict.
3853 if (test_restrict ("String literal") == 0)
3854 success = true;
3855 char *restrict newvar = "Another string";
3857 // Check varargs.
3858 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3859 test_varargs_macros ();
3861 // Check flexible array members.
3862 struct incomplete_array *ia =
3863 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3864 ia->datasize = 10;
3865 for (int i = 0; i < ia->datasize; ++i)
3866 ia->data[i] = i * 1.234;
3868 // Check named initializers.
3869 struct named_init ni = {
3870 .number = 34,
3871 .name = L"Test wide string",
3872 .average = 543.34343,
3875 ni.number = 58;
3877 int dynamic_array[ni.number];
3878 dynamic_array[0] = argv[0][0];
3879 dynamic_array[ni.number - 1] = 543;
3881 // work around unused variable warnings
3882 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3883 || dynamic_array[ni.number - 1] != 543);
3886 # Test code for whether the C compiler supports C11 (global declarations)
3887 ac_c_conftest_c11_globals='
3888 // Does the compiler advertise C11 conformance?
3889 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3890 # error "Compiler does not advertise C11 conformance"
3891 #endif
3893 // Check _Alignas.
3894 char _Alignas (double) aligned_as_double;
3895 char _Alignas (0) no_special_alignment;
3896 extern char aligned_as_int;
3897 char _Alignas (0) _Alignas (int) aligned_as_int;
3899 // Check _Alignof.
3900 enum
3902 int_alignment = _Alignof (int),
3903 int_array_alignment = _Alignof (int[100]),
3904 char_alignment = _Alignof (char)
3906 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3908 // Check _Noreturn.
3909 int _Noreturn does_not_return (void) { for (;;) continue; }
3911 // Check _Static_assert.
3912 struct test_static_assert
3914 int x;
3915 _Static_assert (sizeof (int) <= sizeof (long int),
3916 "_Static_assert does not work in struct");
3917 long int y;
3920 // Check UTF-8 literals.
3921 #define u8 syntax error!
3922 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3924 // Check duplicate typedefs.
3925 typedef long *long_ptr;
3926 typedef long int *long_ptr;
3927 typedef long_ptr long_ptr;
3929 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3930 struct anonymous
3932 union {
3933 struct { int i; int j; };
3934 struct { int k; long int l; } w;
3936 int m;
3937 } v1;
3940 # Test code for whether the C compiler supports C11 (body of main).
3941 ac_c_conftest_c11_main='
3942 _Static_assert ((offsetof (struct anonymous, i)
3943 == offsetof (struct anonymous, w.k)),
3944 "Anonymous union alignment botch");
3945 v1.i = 2;
3946 v1.w.k = 5;
3947 ok |= v1.i != 5;
3950 # Test code for whether the C compiler supports C11 (complete).
3951 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3952 ${ac_c_conftest_c99_globals}
3953 ${ac_c_conftest_c11_globals}
3956 main (int argc, char **argv)
3958 int ok = 0;
3959 ${ac_c_conftest_c89_main}
3960 ${ac_c_conftest_c99_main}
3961 ${ac_c_conftest_c11_main}
3962 return ok;
3966 # Test code for whether the C compiler supports C99 (complete).
3967 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3968 ${ac_c_conftest_c99_globals}
3971 main (int argc, char **argv)
3973 int ok = 0;
3974 ${ac_c_conftest_c89_main}
3975 ${ac_c_conftest_c99_main}
3976 return ok;
3980 # Test code for whether the C compiler supports C89 (complete).
3981 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3984 main (int argc, char **argv)
3986 int ok = 0;
3987 ${ac_c_conftest_c89_main}
3988 return ok;
3992 # Test code for whether the C++ compiler supports C++98 (global declarations)
3993 ac_cxx_conftest_cxx98_globals='
3994 // Does the compiler advertise C++98 conformance?
3995 #if !defined __cplusplus || __cplusplus < 199711L
3996 # error "Compiler does not advertise C++98 conformance"
3997 #endif
3999 // These inclusions are to reject old compilers that
4000 // lack the unsuffixed header files.
4001 #include <cstdlib>
4002 #include <exception>
4004 // <cassert> and <cstring> are *not* freestanding headers in C++98.
4005 extern void assert (int);
4006 namespace std {
4007 extern int strcmp (const char *, const char *);
4010 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
4011 using std::exception;
4012 using std::strcmp;
4014 namespace {
4016 void test_exception_syntax()
4018 try {
4019 throw "test";
4020 } catch (const char *s) {
4021 // Extra parentheses suppress a warning when building autoconf itself,
4022 // due to lint rules shared with more typical C programs.
4023 assert (!(strcmp) (s, "test"));
4027 template <typename T> struct test_template
4029 T const val;
4030 explicit test_template(T t) : val(t) {}
4031 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
4034 } // anonymous namespace
4037 # Test code for whether the C++ compiler supports C++98 (body of main)
4038 ac_cxx_conftest_cxx98_main='
4039 assert (argc);
4040 assert (! argv[0]);
4042 test_exception_syntax ();
4043 test_template<double> tt (2.0);
4044 assert (tt.add (4) == 6.0);
4045 assert (true && !false);
4049 # Test code for whether the C++ compiler supports C++11 (global declarations)
4050 ac_cxx_conftest_cxx11_globals='
4051 // Does the compiler advertise C++ 2011 conformance?
4052 #if !defined __cplusplus || __cplusplus < 201103L
4053 # error "Compiler does not advertise C++11 conformance"
4054 #endif
4056 namespace cxx11test
4058 constexpr int get_val() { return 20; }
4060 struct testinit
4062 int i;
4063 double d;
4066 class delegate
4068 public:
4069 delegate(int n) : n(n) {}
4070 delegate(): delegate(2354) {}
4072 virtual int getval() { return this->n; };
4073 protected:
4074 int n;
4077 class overridden : public delegate
4079 public:
4080 overridden(int n): delegate(n) {}
4081 virtual int getval() override final { return this->n * 2; }
4084 class nocopy
4086 public:
4087 nocopy(int i): i(i) {}
4088 nocopy() = default;
4089 nocopy(const nocopy&) = delete;
4090 nocopy & operator=(const nocopy&) = delete;
4091 private:
4092 int i;
4095 // for testing lambda expressions
4096 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
4098 return f(v);
4101 // for testing variadic templates and trailing return types
4102 template <typename V> auto sum(V first) -> V
4104 return first;
4106 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
4108 return first + sum(rest...);
4113 # Test code for whether the C++ compiler supports C++11 (body of main)
4114 ac_cxx_conftest_cxx11_main='
4116 // Test auto and decltype
4117 auto a1 = 6538;
4118 auto a2 = 48573953.4;
4119 auto a3 = "String literal";
4121 int total = 0;
4122 for (auto i = a3; *i; ++i) { total += *i; }
4124 decltype(a2) a4 = 34895.034;
4127 // Test constexpr
4128 short sa[cxx11test::get_val()] = { 0 };
4131 // Test initializer lists
4132 cxx11test::testinit il = { 4323, 435234.23544 };
4135 // Test range-based for
4136 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
4137 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
4138 for (auto &x : array) { x += 23; }
4141 // Test lambda expressions
4142 using cxx11test::eval;
4143 assert (eval ([](int x) { return x*2; }, 21) == 42);
4144 double d = 2.0;
4145 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
4146 assert (d == 5.0);
4147 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
4148 assert (d == 5.0);
4151 // Test use of variadic templates
4152 using cxx11test::sum;
4153 auto a = sum(1);
4154 auto b = sum(1, 2);
4155 auto c = sum(1.0, 2.0, 3.0);
4158 // Test constructor delegation
4159 cxx11test::delegate d1;
4160 cxx11test::delegate d2();
4161 cxx11test::delegate d3(45);
4164 // Test override and final
4165 cxx11test::overridden o1(55464);
4168 // Test nullptr
4169 char *c = nullptr;
4172 // Test template brackets
4173 test_template<::test_template<int>> v(test_template<int>(12));
4176 // Unicode literals
4177 char const *utf8 = u8"UTF-8 string \u2500";
4178 char16_t const *utf16 = u"UTF-8 string \u2500";
4179 char32_t const *utf32 = U"UTF-32 string \u2500";
4183 # Test code for whether the C compiler supports C++11 (complete).
4184 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4185 ${ac_cxx_conftest_cxx11_globals}
4188 main (int argc, char **argv)
4190 int ok = 0;
4191 ${ac_cxx_conftest_cxx98_main}
4192 ${ac_cxx_conftest_cxx11_main}
4193 return ok;
4197 # Test code for whether the C compiler supports C++98 (complete).
4198 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4200 main (int argc, char **argv)
4202 int ok = 0;
4203 ${ac_cxx_conftest_cxx98_main}
4204 return ok;
4208 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4209 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4210 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4211 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4212 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4213 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4214 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4215 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4216 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4218 # Auxiliary files required by this configure script.
4219 ac_aux_files="config.guess config.sub"
4221 # Locations in which to look for auxiliary files.
4222 ac_aux_dir_candidates="${srcdir}/tools"
4224 # Search for a directory containing all of the required auxiliary files,
4225 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4226 # If we don't find one directory that contains all the files we need,
4227 # we report the set of missing files from the *first* directory in
4228 # $ac_aux_dir_candidates and give up.
4229 ac_missing_aux_files=""
4230 ac_first_candidate=:
4231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4233 as_found=false
4234 for as_dir in $ac_aux_dir_candidates
4236 IFS=$as_save_IFS
4237 case $as_dir in #(((
4238 '') as_dir=./ ;;
4239 */) ;;
4240 *) as_dir=$as_dir/ ;;
4241 esac
4242 as_found=:
4244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4245 ac_aux_dir_found=yes
4246 ac_install_sh=
4247 for ac_aux in $ac_aux_files
4249 # As a special case, if "install-sh" is required, that requirement
4250 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4251 # and $ac_install_sh is set appropriately for whichever one is found.
4252 if test x"$ac_aux" = x"install-sh"
4253 then
4254 if test -f "${as_dir}install-sh"; then
4255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4256 ac_install_sh="${as_dir}install-sh -c"
4257 elif test -f "${as_dir}install.sh"; then
4258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4259 ac_install_sh="${as_dir}install.sh -c"
4260 elif test -f "${as_dir}shtool"; then
4261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4262 ac_install_sh="${as_dir}shtool install -c"
4263 else
4264 ac_aux_dir_found=no
4265 if $ac_first_candidate; then
4266 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4267 else
4268 break
4271 else
4272 if test -f "${as_dir}${ac_aux}"; then
4273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4274 else
4275 ac_aux_dir_found=no
4276 if $ac_first_candidate; then
4277 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4278 else
4279 break
4283 done
4284 if test "$ac_aux_dir_found" = yes; then
4285 ac_aux_dir="$as_dir"
4286 break
4288 ac_first_candidate=false
4290 as_found=false
4291 done
4292 IFS=$as_save_IFS
4293 if $as_found
4294 then :
4296 else $as_nop
4297 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4301 # These three variables are undocumented and unsupported,
4302 # and are intended to be withdrawn in a future Autoconf release.
4303 # They can cause serious problems if a builder's source tree is in a directory
4304 # whose full name contains unusual characters.
4305 if test -f "${ac_aux_dir}config.guess"; then
4306 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4308 if test -f "${ac_aux_dir}config.sub"; then
4309 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4311 if test -f "$ac_aux_dir/configure"; then
4312 ac_configure="$SHELL ${ac_aux_dir}configure"
4315 # Check that the precious variables saved in the cache have kept the same
4316 # value.
4317 ac_cache_corrupted=false
4318 for ac_var in $ac_precious_vars; do
4319 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4320 eval ac_new_set=\$ac_env_${ac_var}_set
4321 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4322 eval ac_new_val=\$ac_env_${ac_var}_value
4323 case $ac_old_set,$ac_new_set in
4324 set,)
4325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4326 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4327 ac_cache_corrupted=: ;;
4328 ,set)
4329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4330 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4331 ac_cache_corrupted=: ;;
4332 ,);;
4334 if test "x$ac_old_val" != "x$ac_new_val"; then
4335 # differences in whitespace do not lead to failure.
4336 ac_old_val_w=`echo x $ac_old_val`
4337 ac_new_val_w=`echo x $ac_new_val`
4338 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4340 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4341 ac_cache_corrupted=:
4342 else
4343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4344 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4345 eval $ac_var=\$ac_old_val
4347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4348 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4350 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4351 fi;;
4352 esac
4353 # Pass precious variables to config.status.
4354 if test "$ac_new_set" = set; then
4355 case $ac_new_val in
4356 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4357 *) ac_arg=$ac_var=$ac_new_val ;;
4358 esac
4359 case " $ac_configure_args " in
4360 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4361 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4362 esac
4364 done
4365 if $ac_cache_corrupted; then
4366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4367 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4369 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4370 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4371 and start over" "$LINENO" 5
4373 ## -------------------- ##
4374 ## Main body of script. ##
4375 ## -------------------- ##
4377 ac_ext=c
4378 ac_cpp='$CPP $CPPFLAGS'
4379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4385 ac_config_headers="$ac_config_headers include/config.h"
4389 libwine_version="1.0"
4392 # Check whether --enable-win16 was given.
4393 if test ${enable_win16+y}
4394 then :
4395 enableval=$enable_win16;
4398 # Check whether --enable-win64 was given.
4399 if test ${enable_win64+y}
4400 then :
4401 enableval=$enable_win64;
4404 # Check whether --enable-tests was given.
4405 if test ${enable_tests+y}
4406 then :
4407 enableval=$enable_tests;
4410 # Check whether --enable-build-id was given.
4411 if test ${enable_build_id+y}
4412 then :
4413 enableval=$enable_build_id;
4416 # Check whether --enable-maintainer-mode was given.
4417 if test ${enable_maintainer_mode+y}
4418 then :
4419 enableval=$enable_maintainer_mode;
4422 # Check whether --enable-silent-rules was given.
4423 if test ${enable_silent_rules+y}
4424 then :
4425 enableval=$enable_silent_rules;
4428 # Check whether --enable-werror was given.
4429 if test ${enable_werror+y}
4430 then :
4431 enableval=$enable_werror;
4436 # Check whether --with-alsa was given.
4437 if test ${with_alsa+y}
4438 then :
4439 withval=$with_alsa;
4443 # Check whether --with-capi was given.
4444 if test ${with_capi+y}
4445 then :
4446 withval=$with_capi;
4450 # Check whether --with-coreaudio was given.
4451 if test ${with_coreaudio+y}
4452 then :
4453 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4457 # Check whether --with-cups was given.
4458 if test ${with_cups+y}
4459 then :
4460 withval=$with_cups;
4464 # Check whether --with-dbus was given.
4465 if test ${with_dbus+y}
4466 then :
4467 withval=$with_dbus;
4471 # Check whether --with-float-abi was given.
4472 if test ${with_float_abi+y}
4473 then :
4474 withval=$with_float_abi;
4478 # Check whether --with-fontconfig was given.
4479 if test ${with_fontconfig+y}
4480 then :
4481 withval=$with_fontconfig;
4485 # Check whether --with-freetype was given.
4486 if test ${with_freetype+y}
4487 then :
4488 withval=$with_freetype;
4492 # Check whether --with-gettext was given.
4493 if test ${with_gettext+y}
4494 then :
4495 withval=$with_gettext;
4499 # Check whether --with-gettextpo was given.
4500 if test ${with_gettextpo+y}
4501 then :
4502 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4506 # Check whether --with-gphoto was given.
4507 if test ${with_gphoto+y}
4508 then :
4509 withval=$with_gphoto;
4513 # Check whether --with-gnutls was given.
4514 if test ${with_gnutls+y}
4515 then :
4516 withval=$with_gnutls;
4520 # Check whether --with-gssapi was given.
4521 if test ${with_gssapi+y}
4522 then :
4523 withval=$with_gssapi;
4527 # Check whether --with-gstreamer was given.
4528 if test ${with_gstreamer+y}
4529 then :
4530 withval=$with_gstreamer;
4534 # Check whether --with-hal was given.
4535 if test ${with_hal+y}
4536 then :
4537 withval=$with_hal;
4541 # Check whether --with-inotify was given.
4542 if test ${with_inotify+y}
4543 then :
4544 withval=$with_inotify;
4548 # Check whether --with-krb5 was given.
4549 if test ${with_krb5+y}
4550 then :
4551 withval=$with_krb5;
4555 # Check whether --with-ldap was given.
4556 if test ${with_ldap+y}
4557 then :
4558 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4562 # Check whether --with-mingw was given.
4563 if test ${with_mingw+y}
4564 then :
4565 withval=$with_mingw;
4569 # Check whether --with-netapi was given.
4570 if test ${with_netapi+y}
4571 then :
4572 withval=$with_netapi;
4576 # Check whether --with-openal was given.
4577 if test ${with_openal+y}
4578 then :
4579 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4583 # Check whether --with-opencl was given.
4584 if test ${with_opencl+y}
4585 then :
4586 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4590 # Check whether --with-opengl was given.
4591 if test ${with_opengl+y}
4592 then :
4593 withval=$with_opengl;
4597 # Check whether --with-osmesa was given.
4598 if test ${with_osmesa+y}
4599 then :
4600 withval=$with_osmesa;
4604 # Check whether --with-oss was given.
4605 if test ${with_oss+y}
4606 then :
4607 withval=$with_oss;
4611 # Check whether --with-pcap was given.
4612 if test ${with_pcap+y}
4613 then :
4614 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4618 # Check whether --with-pthread was given.
4619 if test ${with_pthread+y}
4620 then :
4621 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4625 # Check whether --with-pulse was given.
4626 if test ${with_pulse+y}
4627 then :
4628 withval=$with_pulse;
4632 # Check whether --with-quicktime was given.
4633 if test ${with_quicktime+y}
4634 then :
4635 withval=$with_quicktime;
4639 # Check whether --with-sane was given.
4640 if test ${with_sane+y}
4641 then :
4642 withval=$with_sane;
4646 # Check whether --with-sdl was given.
4647 if test ${with_sdl+y}
4648 then :
4649 withval=$with_sdl;
4653 # Check whether --with-udev was given.
4654 if test ${with_udev+y}
4655 then :
4656 withval=$with_udev;
4660 # Check whether --with-unwind was given.
4661 if test ${with_unwind+y}
4662 then :
4663 withval=$with_unwind;
4667 # Check whether --with-usb was given.
4668 if test ${with_usb+y}
4669 then :
4670 withval=$with_usb;
4674 # Check whether --with-v4l2 was given.
4675 if test ${with_v4l2+y}
4676 then :
4677 withval=$with_v4l2;
4681 # Check whether --with-vkd3d was given.
4682 if test ${with_vkd3d+y}
4683 then :
4684 withval=$with_vkd3d;
4688 # Check whether --with-vulkan was given.
4689 if test ${with_vulkan+y}
4690 then :
4691 withval=$with_vulkan;
4695 # Check whether --with-xcomposite was given.
4696 if test ${with_xcomposite+y}
4697 then :
4698 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4702 # Check whether --with-xcursor was given.
4703 if test ${with_xcursor+y}
4704 then :
4705 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4709 # Check whether --with-xfixes was given.
4710 if test ${with_xfixes+y}
4711 then :
4712 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4716 # Check whether --with-xinerama was given.
4717 if test ${with_xinerama+y}
4718 then :
4719 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4723 # Check whether --with-xinput was given.
4724 if test ${with_xinput+y}
4725 then :
4726 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4730 # Check whether --with-xinput2 was given.
4731 if test ${with_xinput2+y}
4732 then :
4733 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4737 # Check whether --with-xrandr was given.
4738 if test ${with_xrandr+y}
4739 then :
4740 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4744 # Check whether --with-xrender was given.
4745 if test ${with_xrender+y}
4746 then :
4747 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4751 # Check whether --with-xshape was given.
4752 if test ${with_xshape+y}
4753 then :
4754 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4758 # Check whether --with-xshm was given.
4759 if test ${with_xshm+y}
4760 then :
4761 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4765 # Check whether --with-xxf86vm was given.
4766 if test ${with_xxf86vm+y}
4767 then :
4768 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
4773 # Check whether --with-system-dllpath was given.
4774 if test ${with_system_dllpath+y}
4775 then :
4776 withval=$with_system_dllpath; system_dllpath=$withval
4781 # Check whether --with-wine-tools was given.
4782 if test ${with_wine_tools+y}
4783 then :
4784 withval=$with_wine_tools;
4788 # Check whether --with-wine64 was given.
4789 if test ${with_wine64+y}
4790 then :
4791 withval=$with_wine64;
4798 # Make sure we can run config.sub.
4799 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4800 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4803 printf %s "checking build system type... " >&6; }
4804 if test ${ac_cv_build+y}
4805 then :
4806 printf %s "(cached) " >&6
4807 else $as_nop
4808 ac_build_alias=$build_alias
4809 test "x$ac_build_alias" = x &&
4810 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4811 test "x$ac_build_alias" = x &&
4812 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4813 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4814 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4818 printf "%s\n" "$ac_cv_build" >&6; }
4819 case $ac_cv_build in
4820 *-*-*) ;;
4821 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4822 esac
4823 build=$ac_cv_build
4824 ac_save_IFS=$IFS; IFS='-'
4825 set x $ac_cv_build
4826 shift
4827 build_cpu=$1
4828 build_vendor=$2
4829 shift; shift
4830 # Remember, the first character of IFS is used to create $*,
4831 # except with old shells:
4832 build_os=$*
4833 IFS=$ac_save_IFS
4834 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4838 printf %s "checking host system type... " >&6; }
4839 if test ${ac_cv_host+y}
4840 then :
4841 printf %s "(cached) " >&6
4842 else $as_nop
4843 if test "x$host_alias" = x; then
4844 ac_cv_host=$ac_cv_build
4845 else
4846 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4847 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4852 printf "%s\n" "$ac_cv_host" >&6; }
4853 case $ac_cv_host in
4854 *-*-*) ;;
4855 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4856 esac
4857 host=$ac_cv_host
4858 ac_save_IFS=$IFS; IFS='-'
4859 set x $ac_cv_host
4860 shift
4861 host_cpu=$1
4862 host_vendor=$2
4863 shift; shift
4864 # Remember, the first character of IFS is used to create $*,
4865 # except with old shells:
4866 host_os=$*
4867 IFS=$ac_save_IFS
4868 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4872 dlldir=\${libdir}/wine
4874 fontdir=\${datadir}/wine/fonts
4876 nlsdir=\${datadir}/wine/nls
4881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4882 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4883 set x ${MAKE-make}
4884 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4885 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4886 then :
4887 printf %s "(cached) " >&6
4888 else $as_nop
4889 cat >conftest.make <<\_ACEOF
4890 SHELL = /bin/sh
4891 all:
4892 @echo '@@@%%%=$(MAKE)=@@@%%%'
4893 _ACEOF
4894 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4895 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4896 *@@@%%%=?*=@@@%%%*)
4897 eval ac_cv_prog_make_${ac_make}_set=yes;;
4899 eval ac_cv_prog_make_${ac_make}_set=no;;
4900 esac
4901 rm -f conftest.make
4903 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4905 printf "%s\n" "yes" >&6; }
4906 SET_MAKE=
4907 else
4908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 printf "%s\n" "no" >&6; }
4910 SET_MAKE="MAKE=${MAKE-make}"
4922 ac_ext=c
4923 ac_cpp='$CPP $CPPFLAGS'
4924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4927 if test -n "$ac_tool_prefix"; then
4928 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4929 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 printf %s "checking for $ac_word... " >&6; }
4932 if test ${ac_cv_prog_CC+y}
4933 then :
4934 printf %s "(cached) " >&6
4935 else $as_nop
4936 if test -n "$CC"; then
4937 ac_cv_prog_CC="$CC" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4942 IFS=$as_save_IFS
4943 case $as_dir in #(((
4944 '') as_dir=./ ;;
4945 */) ;;
4946 *) as_dir=$as_dir/ ;;
4947 esac
4948 for ac_exec_ext in '' $ac_executable_extensions; do
4949 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4952 break 2
4954 done
4955 done
4956 IFS=$as_save_IFS
4960 CC=$ac_cv_prog_CC
4961 if test -n "$CC"; then
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4963 printf "%s\n" "$CC" >&6; }
4964 else
4965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 printf "%s\n" "no" >&6; }
4971 if test -z "$ac_cv_prog_CC"; then
4972 ac_ct_CC=$CC
4973 # Extract the first word of "gcc", so it can be a program name with args.
4974 set dummy gcc; ac_word=$2
4975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 printf %s "checking for $ac_word... " >&6; }
4977 if test ${ac_cv_prog_ac_ct_CC+y}
4978 then :
4979 printf %s "(cached) " >&6
4980 else $as_nop
4981 if test -n "$ac_ct_CC"; then
4982 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4983 else
4984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4985 for as_dir in $PATH
4987 IFS=$as_save_IFS
4988 case $as_dir in #(((
4989 '') as_dir=./ ;;
4990 */) ;;
4991 *) as_dir=$as_dir/ ;;
4992 esac
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_ac_ct_CC="gcc"
4996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4997 break 2
4999 done
5000 done
5001 IFS=$as_save_IFS
5005 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5006 if test -n "$ac_ct_CC"; then
5007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5008 printf "%s\n" "$ac_ct_CC" >&6; }
5009 else
5010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 printf "%s\n" "no" >&6; }
5014 if test "x$ac_ct_CC" = x; then
5015 CC=""
5016 else
5017 case $cross_compiling:$ac_tool_warned in
5018 yes:)
5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5020 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5021 ac_tool_warned=yes ;;
5022 esac
5023 CC=$ac_ct_CC
5025 else
5026 CC="$ac_cv_prog_CC"
5029 if test -z "$CC"; then
5030 if test -n "$ac_tool_prefix"; then
5031 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5032 set dummy ${ac_tool_prefix}cc; ac_word=$2
5033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 printf %s "checking for $ac_word... " >&6; }
5035 if test ${ac_cv_prog_CC+y}
5036 then :
5037 printf %s "(cached) " >&6
5038 else $as_nop
5039 if test -n "$CC"; then
5040 ac_cv_prog_CC="$CC" # Let the user override the test.
5041 else
5042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 for as_dir in $PATH
5045 IFS=$as_save_IFS
5046 case $as_dir in #(((
5047 '') as_dir=./ ;;
5048 */) ;;
5049 *) as_dir=$as_dir/ ;;
5050 esac
5051 for ac_exec_ext in '' $ac_executable_extensions; do
5052 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5053 ac_cv_prog_CC="${ac_tool_prefix}cc"
5054 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5055 break 2
5057 done
5058 done
5059 IFS=$as_save_IFS
5063 CC=$ac_cv_prog_CC
5064 if test -n "$CC"; then
5065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5066 printf "%s\n" "$CC" >&6; }
5067 else
5068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 printf "%s\n" "no" >&6; }
5075 if test -z "$CC"; then
5076 # Extract the first word of "cc", so it can be a program name with args.
5077 set dummy cc; ac_word=$2
5078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 printf %s "checking for $ac_word... " >&6; }
5080 if test ${ac_cv_prog_CC+y}
5081 then :
5082 printf %s "(cached) " >&6
5083 else $as_nop
5084 if test -n "$CC"; then
5085 ac_cv_prog_CC="$CC" # Let the user override the test.
5086 else
5087 ac_prog_rejected=no
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH
5091 IFS=$as_save_IFS
5092 case $as_dir in #(((
5093 '') as_dir=./ ;;
5094 */) ;;
5095 *) as_dir=$as_dir/ ;;
5096 esac
5097 for ac_exec_ext in '' $ac_executable_extensions; do
5098 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5099 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5100 ac_prog_rejected=yes
5101 continue
5103 ac_cv_prog_CC="cc"
5104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5105 break 2
5107 done
5108 done
5109 IFS=$as_save_IFS
5111 if test $ac_prog_rejected = yes; then
5112 # We found a bogon in the path, so make sure we never use it.
5113 set dummy $ac_cv_prog_CC
5114 shift
5115 if test $# != 0; then
5116 # We chose a different compiler from the bogus one.
5117 # However, it has the same basename, so the bogon will be chosen
5118 # first if we set CC to just the basename; use the full file name.
5119 shift
5120 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5125 CC=$ac_cv_prog_CC
5126 if test -n "$CC"; then
5127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5128 printf "%s\n" "$CC" >&6; }
5129 else
5130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5131 printf "%s\n" "no" >&6; }
5136 if test -z "$CC"; then
5137 if test -n "$ac_tool_prefix"; then
5138 for ac_prog in cl.exe
5140 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5141 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 printf %s "checking for $ac_word... " >&6; }
5144 if test ${ac_cv_prog_CC+y}
5145 then :
5146 printf %s "(cached) " >&6
5147 else $as_nop
5148 if test -n "$CC"; then
5149 ac_cv_prog_CC="$CC" # Let the user override the test.
5150 else
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 for as_dir in $PATH
5154 IFS=$as_save_IFS
5155 case $as_dir in #(((
5156 '') as_dir=./ ;;
5157 */) ;;
5158 *) as_dir=$as_dir/ ;;
5159 esac
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5163 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5164 break 2
5166 done
5167 done
5168 IFS=$as_save_IFS
5172 CC=$ac_cv_prog_CC
5173 if test -n "$CC"; then
5174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5175 printf "%s\n" "$CC" >&6; }
5176 else
5177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 printf "%s\n" "no" >&6; }
5182 test -n "$CC" && break
5183 done
5185 if test -z "$CC"; then
5186 ac_ct_CC=$CC
5187 for ac_prog in cl.exe
5189 # Extract the first word of "$ac_prog", so it can be a program name with args.
5190 set dummy $ac_prog; ac_word=$2
5191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5192 printf %s "checking for $ac_word... " >&6; }
5193 if test ${ac_cv_prog_ac_ct_CC+y}
5194 then :
5195 printf %s "(cached) " >&6
5196 else $as_nop
5197 if test -n "$ac_ct_CC"; then
5198 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5199 else
5200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5201 for as_dir in $PATH
5203 IFS=$as_save_IFS
5204 case $as_dir in #(((
5205 '') as_dir=./ ;;
5206 */) ;;
5207 *) as_dir=$as_dir/ ;;
5208 esac
5209 for ac_exec_ext in '' $ac_executable_extensions; do
5210 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5211 ac_cv_prog_ac_ct_CC="$ac_prog"
5212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5213 break 2
5215 done
5216 done
5217 IFS=$as_save_IFS
5221 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5222 if test -n "$ac_ct_CC"; then
5223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5224 printf "%s\n" "$ac_ct_CC" >&6; }
5225 else
5226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 printf "%s\n" "no" >&6; }
5231 test -n "$ac_ct_CC" && break
5232 done
5234 if test "x$ac_ct_CC" = x; then
5235 CC=""
5236 else
5237 case $cross_compiling:$ac_tool_warned in
5238 yes:)
5239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5240 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5241 ac_tool_warned=yes ;;
5242 esac
5243 CC=$ac_ct_CC
5248 if test -z "$CC"; then
5249 if test -n "$ac_tool_prefix"; then
5250 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5251 set dummy ${ac_tool_prefix}clang; ac_word=$2
5252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5253 printf %s "checking for $ac_word... " >&6; }
5254 if test ${ac_cv_prog_CC+y}
5255 then :
5256 printf %s "(cached) " >&6
5257 else $as_nop
5258 if test -n "$CC"; then
5259 ac_cv_prog_CC="$CC" # Let the user override the test.
5260 else
5261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5262 for as_dir in $PATH
5264 IFS=$as_save_IFS
5265 case $as_dir in #(((
5266 '') as_dir=./ ;;
5267 */) ;;
5268 *) as_dir=$as_dir/ ;;
5269 esac
5270 for ac_exec_ext in '' $ac_executable_extensions; do
5271 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5272 ac_cv_prog_CC="${ac_tool_prefix}clang"
5273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5274 break 2
5276 done
5277 done
5278 IFS=$as_save_IFS
5282 CC=$ac_cv_prog_CC
5283 if test -n "$CC"; then
5284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5285 printf "%s\n" "$CC" >&6; }
5286 else
5287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5288 printf "%s\n" "no" >&6; }
5293 if test -z "$ac_cv_prog_CC"; then
5294 ac_ct_CC=$CC
5295 # Extract the first word of "clang", so it can be a program name with args.
5296 set dummy clang; ac_word=$2
5297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5298 printf %s "checking for $ac_word... " >&6; }
5299 if test ${ac_cv_prog_ac_ct_CC+y}
5300 then :
5301 printf %s "(cached) " >&6
5302 else $as_nop
5303 if test -n "$ac_ct_CC"; then
5304 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5309 IFS=$as_save_IFS
5310 case $as_dir in #(((
5311 '') as_dir=./ ;;
5312 */) ;;
5313 *) as_dir=$as_dir/ ;;
5314 esac
5315 for ac_exec_ext in '' $ac_executable_extensions; do
5316 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5317 ac_cv_prog_ac_ct_CC="clang"
5318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5319 break 2
5321 done
5322 done
5323 IFS=$as_save_IFS
5327 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5328 if test -n "$ac_ct_CC"; then
5329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5330 printf "%s\n" "$ac_ct_CC" >&6; }
5331 else
5332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5333 printf "%s\n" "no" >&6; }
5336 if test "x$ac_ct_CC" = x; then
5337 CC=""
5338 else
5339 case $cross_compiling:$ac_tool_warned in
5340 yes:)
5341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5342 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5343 ac_tool_warned=yes ;;
5344 esac
5345 CC=$ac_ct_CC
5347 else
5348 CC="$ac_cv_prog_CC"
5354 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5355 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5356 as_fn_error $? "no acceptable C compiler found in \$PATH
5357 See \`config.log' for more details" "$LINENO" 5; }
5359 # Provide some information about the compiler.
5360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5361 set X $ac_compile
5362 ac_compiler=$2
5363 for ac_option in --version -v -V -qversion -version; do
5364 { { ac_try="$ac_compiler $ac_option >&5"
5365 case "(($ac_try" in
5366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5367 *) ac_try_echo=$ac_try;;
5368 esac
5369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5370 printf "%s\n" "$ac_try_echo"; } >&5
5371 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5372 ac_status=$?
5373 if test -s conftest.err; then
5374 sed '10a\
5375 ... rest of stderr output deleted ...
5376 10q' conftest.err >conftest.er1
5377 cat conftest.er1 >&5
5379 rm -f conftest.er1 conftest.err
5380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5381 test $ac_status = 0; }
5382 done
5384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385 /* end confdefs.h. */
5388 main (void)
5392 return 0;
5394 _ACEOF
5395 ac_clean_files_save=$ac_clean_files
5396 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5397 # Try to create an executable without -o first, disregard a.out.
5398 # It will help us diagnose broken compilers, and finding out an intuition
5399 # of exeext.
5400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5401 printf %s "checking whether the C compiler works... " >&6; }
5402 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5404 # The possible output files:
5405 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5407 ac_rmfiles=
5408 for ac_file in $ac_files
5410 case $ac_file in
5411 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5412 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5413 esac
5414 done
5415 rm -f $ac_rmfiles
5417 if { { ac_try="$ac_link_default"
5418 case "(($ac_try" in
5419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5420 *) ac_try_echo=$ac_try;;
5421 esac
5422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5423 printf "%s\n" "$ac_try_echo"; } >&5
5424 (eval "$ac_link_default") 2>&5
5425 ac_status=$?
5426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5427 test $ac_status = 0; }
5428 then :
5429 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5430 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5431 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5432 # so that the user can short-circuit this test for compilers unknown to
5433 # Autoconf.
5434 for ac_file in $ac_files ''
5436 test -f "$ac_file" || continue
5437 case $ac_file in
5438 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5440 [ab].out )
5441 # We found the default executable, but exeext='' is most
5442 # certainly right.
5443 break;;
5444 *.* )
5445 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5446 then :; else
5447 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5449 # We set ac_cv_exeext here because the later test for it is not
5450 # safe: cross compilers may not add the suffix if given an `-o'
5451 # argument, so we may need to know it at that point already.
5452 # Even if this section looks crufty: it has the advantage of
5453 # actually working.
5454 break;;
5456 break;;
5457 esac
5458 done
5459 test "$ac_cv_exeext" = no && ac_cv_exeext=
5461 else $as_nop
5462 ac_file=''
5464 if test -z "$ac_file"
5465 then :
5466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 printf "%s\n" "no" >&6; }
5468 printf "%s\n" "$as_me: failed program was:" >&5
5469 sed 's/^/| /' conftest.$ac_ext >&5
5471 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5472 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5473 as_fn_error 77 "C compiler cannot create executables
5474 See \`config.log' for more details" "$LINENO" 5; }
5475 else $as_nop
5476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5477 printf "%s\n" "yes" >&6; }
5479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5480 printf %s "checking for C compiler default output file name... " >&6; }
5481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5482 printf "%s\n" "$ac_file" >&6; }
5483 ac_exeext=$ac_cv_exeext
5485 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5486 ac_clean_files=$ac_clean_files_save
5487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5488 printf %s "checking for suffix of executables... " >&6; }
5489 if { { ac_try="$ac_link"
5490 case "(($ac_try" in
5491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5492 *) ac_try_echo=$ac_try;;
5493 esac
5494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5495 printf "%s\n" "$ac_try_echo"; } >&5
5496 (eval "$ac_link") 2>&5
5497 ac_status=$?
5498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5499 test $ac_status = 0; }
5500 then :
5501 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5502 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5503 # work properly (i.e., refer to `conftest.exe'), while it won't with
5504 # `rm'.
5505 for ac_file in conftest.exe conftest conftest.*; do
5506 test -f "$ac_file" || continue
5507 case $ac_file in
5508 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5509 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5510 break;;
5511 * ) break;;
5512 esac
5513 done
5514 else $as_nop
5515 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5516 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5517 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5518 See \`config.log' for more details" "$LINENO" 5; }
5520 rm -f conftest conftest$ac_cv_exeext
5521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5522 printf "%s\n" "$ac_cv_exeext" >&6; }
5524 rm -f conftest.$ac_ext
5525 EXEEXT=$ac_cv_exeext
5526 ac_exeext=$EXEEXT
5527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5528 /* end confdefs.h. */
5529 #include <stdio.h>
5531 main (void)
5533 FILE *f = fopen ("conftest.out", "w");
5534 return ferror (f) || fclose (f) != 0;
5537 return 0;
5539 _ACEOF
5540 ac_clean_files="$ac_clean_files conftest.out"
5541 # Check that the compiler produces executables we can run. If not, either
5542 # the compiler is broken, or we cross compile.
5543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5544 printf %s "checking whether we are cross compiling... " >&6; }
5545 if test "$cross_compiling" != yes; then
5546 { { ac_try="$ac_link"
5547 case "(($ac_try" in
5548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5549 *) ac_try_echo=$ac_try;;
5550 esac
5551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5552 printf "%s\n" "$ac_try_echo"; } >&5
5553 (eval "$ac_link") 2>&5
5554 ac_status=$?
5555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5556 test $ac_status = 0; }
5557 if { ac_try='./conftest$ac_cv_exeext'
5558 { { case "(($ac_try" in
5559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5560 *) ac_try_echo=$ac_try;;
5561 esac
5562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5563 printf "%s\n" "$ac_try_echo"; } >&5
5564 (eval "$ac_try") 2>&5
5565 ac_status=$?
5566 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5567 test $ac_status = 0; }; }; then
5568 cross_compiling=no
5569 else
5570 if test "$cross_compiling" = maybe; then
5571 cross_compiling=yes
5572 else
5573 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5574 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5575 as_fn_error 77 "cannot run C compiled programs.
5576 If you meant to cross compile, use \`--host'.
5577 See \`config.log' for more details" "$LINENO" 5; }
5581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5582 printf "%s\n" "$cross_compiling" >&6; }
5584 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5585 ac_clean_files=$ac_clean_files_save
5586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5587 printf %s "checking for suffix of object files... " >&6; }
5588 if test ${ac_cv_objext+y}
5589 then :
5590 printf %s "(cached) " >&6
5591 else $as_nop
5592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5593 /* end confdefs.h. */
5596 main (void)
5600 return 0;
5602 _ACEOF
5603 rm -f conftest.o conftest.obj
5604 if { { ac_try="$ac_compile"
5605 case "(($ac_try" in
5606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5607 *) ac_try_echo=$ac_try;;
5608 esac
5609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5610 printf "%s\n" "$ac_try_echo"; } >&5
5611 (eval "$ac_compile") 2>&5
5612 ac_status=$?
5613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5614 test $ac_status = 0; }
5615 then :
5616 for ac_file in conftest.o conftest.obj conftest.*; do
5617 test -f "$ac_file" || continue;
5618 case $ac_file in
5619 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5620 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5621 break;;
5622 esac
5623 done
5624 else $as_nop
5625 printf "%s\n" "$as_me: failed program was:" >&5
5626 sed 's/^/| /' conftest.$ac_ext >&5
5628 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5629 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5630 as_fn_error $? "cannot compute suffix of object files: cannot compile
5631 See \`config.log' for more details" "$LINENO" 5; }
5633 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5636 printf "%s\n" "$ac_cv_objext" >&6; }
5637 OBJEXT=$ac_cv_objext
5638 ac_objext=$OBJEXT
5639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5640 printf %s "checking whether the compiler supports GNU C... " >&6; }
5641 if test ${ac_cv_c_compiler_gnu+y}
5642 then :
5643 printf %s "(cached) " >&6
5644 else $as_nop
5645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5646 /* end confdefs.h. */
5649 main (void)
5651 #ifndef __GNUC__
5652 choke me
5653 #endif
5656 return 0;
5658 _ACEOF
5659 if ac_fn_c_try_compile "$LINENO"
5660 then :
5661 ac_compiler_gnu=yes
5662 else $as_nop
5663 ac_compiler_gnu=no
5665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5666 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5670 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5673 if test $ac_compiler_gnu = yes; then
5674 GCC=yes
5675 else
5676 GCC=
5678 ac_test_CFLAGS=${CFLAGS+y}
5679 ac_save_CFLAGS=$CFLAGS
5680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5681 printf %s "checking whether $CC accepts -g... " >&6; }
5682 if test ${ac_cv_prog_cc_g+y}
5683 then :
5684 printf %s "(cached) " >&6
5685 else $as_nop
5686 ac_save_c_werror_flag=$ac_c_werror_flag
5687 ac_c_werror_flag=yes
5688 ac_cv_prog_cc_g=no
5689 CFLAGS="-g"
5690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5691 /* end confdefs.h. */
5694 main (void)
5698 return 0;
5700 _ACEOF
5701 if ac_fn_c_try_compile "$LINENO"
5702 then :
5703 ac_cv_prog_cc_g=yes
5704 else $as_nop
5705 CFLAGS=""
5706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5707 /* end confdefs.h. */
5710 main (void)
5714 return 0;
5716 _ACEOF
5717 if ac_fn_c_try_compile "$LINENO"
5718 then :
5720 else $as_nop
5721 ac_c_werror_flag=$ac_save_c_werror_flag
5722 CFLAGS="-g"
5723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5724 /* end confdefs.h. */
5727 main (void)
5731 return 0;
5733 _ACEOF
5734 if ac_fn_c_try_compile "$LINENO"
5735 then :
5736 ac_cv_prog_cc_g=yes
5738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5743 ac_c_werror_flag=$ac_save_c_werror_flag
5745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5746 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5747 if test $ac_test_CFLAGS; then
5748 CFLAGS=$ac_save_CFLAGS
5749 elif test $ac_cv_prog_cc_g = yes; then
5750 if test "$GCC" = yes; then
5751 CFLAGS="-g -O2"
5752 else
5753 CFLAGS="-g"
5755 else
5756 if test "$GCC" = yes; then
5757 CFLAGS="-O2"
5758 else
5759 CFLAGS=
5762 ac_prog_cc_stdc=no
5763 if test x$ac_prog_cc_stdc = xno
5764 then :
5765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5766 printf %s "checking for $CC option to enable C11 features... " >&6; }
5767 if test ${ac_cv_prog_cc_c11+y}
5768 then :
5769 printf %s "(cached) " >&6
5770 else $as_nop
5771 ac_cv_prog_cc_c11=no
5772 ac_save_CC=$CC
5773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5774 /* end confdefs.h. */
5775 $ac_c_conftest_c11_program
5776 _ACEOF
5777 for ac_arg in '' -std=gnu11
5779 CC="$ac_save_CC $ac_arg"
5780 if ac_fn_c_try_compile "$LINENO"
5781 then :
5782 ac_cv_prog_cc_c11=$ac_arg
5784 rm -f core conftest.err conftest.$ac_objext conftest.beam
5785 test "x$ac_cv_prog_cc_c11" != "xno" && break
5786 done
5787 rm -f conftest.$ac_ext
5788 CC=$ac_save_CC
5791 if test "x$ac_cv_prog_cc_c11" = xno
5792 then :
5793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5794 printf "%s\n" "unsupported" >&6; }
5795 else $as_nop
5796 if test "x$ac_cv_prog_cc_c11" = x
5797 then :
5798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5799 printf "%s\n" "none needed" >&6; }
5800 else $as_nop
5801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5802 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5803 CC="$CC $ac_cv_prog_cc_c11"
5805 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5806 ac_prog_cc_stdc=c11
5809 if test x$ac_prog_cc_stdc = xno
5810 then :
5811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5812 printf %s "checking for $CC option to enable C99 features... " >&6; }
5813 if test ${ac_cv_prog_cc_c99+y}
5814 then :
5815 printf %s "(cached) " >&6
5816 else $as_nop
5817 ac_cv_prog_cc_c99=no
5818 ac_save_CC=$CC
5819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5821 $ac_c_conftest_c99_program
5822 _ACEOF
5823 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5825 CC="$ac_save_CC $ac_arg"
5826 if ac_fn_c_try_compile "$LINENO"
5827 then :
5828 ac_cv_prog_cc_c99=$ac_arg
5830 rm -f core conftest.err conftest.$ac_objext conftest.beam
5831 test "x$ac_cv_prog_cc_c99" != "xno" && break
5832 done
5833 rm -f conftest.$ac_ext
5834 CC=$ac_save_CC
5837 if test "x$ac_cv_prog_cc_c99" = xno
5838 then :
5839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5840 printf "%s\n" "unsupported" >&6; }
5841 else $as_nop
5842 if test "x$ac_cv_prog_cc_c99" = x
5843 then :
5844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5845 printf "%s\n" "none needed" >&6; }
5846 else $as_nop
5847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5848 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5849 CC="$CC $ac_cv_prog_cc_c99"
5851 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5852 ac_prog_cc_stdc=c99
5855 if test x$ac_prog_cc_stdc = xno
5856 then :
5857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5858 printf %s "checking for $CC option to enable C89 features... " >&6; }
5859 if test ${ac_cv_prog_cc_c89+y}
5860 then :
5861 printf %s "(cached) " >&6
5862 else $as_nop
5863 ac_cv_prog_cc_c89=no
5864 ac_save_CC=$CC
5865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5866 /* end confdefs.h. */
5867 $ac_c_conftest_c89_program
5868 _ACEOF
5869 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5871 CC="$ac_save_CC $ac_arg"
5872 if ac_fn_c_try_compile "$LINENO"
5873 then :
5874 ac_cv_prog_cc_c89=$ac_arg
5876 rm -f core conftest.err conftest.$ac_objext conftest.beam
5877 test "x$ac_cv_prog_cc_c89" != "xno" && break
5878 done
5879 rm -f conftest.$ac_ext
5880 CC=$ac_save_CC
5883 if test "x$ac_cv_prog_cc_c89" = xno
5884 then :
5885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5886 printf "%s\n" "unsupported" >&6; }
5887 else $as_nop
5888 if test "x$ac_cv_prog_cc_c89" = x
5889 then :
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5891 printf "%s\n" "none needed" >&6; }
5892 else $as_nop
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5894 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5895 CC="$CC $ac_cv_prog_cc_c89"
5897 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5898 ac_prog_cc_stdc=c89
5902 ac_ext=c
5903 ac_cpp='$CPP $CPPFLAGS'
5904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5914 ac_ext=cpp
5915 ac_cpp='$CXXCPP $CPPFLAGS'
5916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5919 if test -z "$CXX"; then
5920 if test -n "$CCC"; then
5921 CXX=$CCC
5922 else
5923 if test -n "$ac_tool_prefix"; then
5924 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5926 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5927 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5929 printf %s "checking for $ac_word... " >&6; }
5930 if test ${ac_cv_prog_CXX+y}
5931 then :
5932 printf %s "(cached) " >&6
5933 else $as_nop
5934 if test -n "$CXX"; then
5935 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5936 else
5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5938 for as_dir in $PATH
5940 IFS=$as_save_IFS
5941 case $as_dir in #(((
5942 '') as_dir=./ ;;
5943 */) ;;
5944 *) as_dir=$as_dir/ ;;
5945 esac
5946 for ac_exec_ext in '' $ac_executable_extensions; do
5947 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5948 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5950 break 2
5952 done
5953 done
5954 IFS=$as_save_IFS
5958 CXX=$ac_cv_prog_CXX
5959 if test -n "$CXX"; then
5960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5961 printf "%s\n" "$CXX" >&6; }
5962 else
5963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5964 printf "%s\n" "no" >&6; }
5968 test -n "$CXX" && break
5969 done
5971 if test -z "$CXX"; then
5972 ac_ct_CXX=$CXX
5973 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5975 # Extract the first word of "$ac_prog", so it can be a program name with args.
5976 set dummy $ac_prog; ac_word=$2
5977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5978 printf %s "checking for $ac_word... " >&6; }
5979 if test ${ac_cv_prog_ac_ct_CXX+y}
5980 then :
5981 printf %s "(cached) " >&6
5982 else $as_nop
5983 if test -n "$ac_ct_CXX"; then
5984 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5985 else
5986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 for as_dir in $PATH
5989 IFS=$as_save_IFS
5990 case $as_dir in #(((
5991 '') as_dir=./ ;;
5992 */) ;;
5993 *) as_dir=$as_dir/ ;;
5994 esac
5995 for ac_exec_ext in '' $ac_executable_extensions; do
5996 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5997 ac_cv_prog_ac_ct_CXX="$ac_prog"
5998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5999 break 2
6001 done
6002 done
6003 IFS=$as_save_IFS
6007 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6008 if test -n "$ac_ct_CXX"; then
6009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6010 printf "%s\n" "$ac_ct_CXX" >&6; }
6011 else
6012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013 printf "%s\n" "no" >&6; }
6017 test -n "$ac_ct_CXX" && break
6018 done
6020 if test "x$ac_ct_CXX" = x; then
6021 CXX="g++"
6022 else
6023 case $cross_compiling:$ac_tool_warned in
6024 yes:)
6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6026 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6027 ac_tool_warned=yes ;;
6028 esac
6029 CXX=$ac_ct_CXX
6035 # Provide some information about the compiler.
6036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6037 set X $ac_compile
6038 ac_compiler=$2
6039 for ac_option in --version -v -V -qversion; do
6040 { { ac_try="$ac_compiler $ac_option >&5"
6041 case "(($ac_try" in
6042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6043 *) ac_try_echo=$ac_try;;
6044 esac
6045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6046 printf "%s\n" "$ac_try_echo"; } >&5
6047 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6048 ac_status=$?
6049 if test -s conftest.err; then
6050 sed '10a\
6051 ... rest of stderr output deleted ...
6052 10q' conftest.err >conftest.er1
6053 cat conftest.er1 >&5
6055 rm -f conftest.er1 conftest.err
6056 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6057 test $ac_status = 0; }
6058 done
6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6061 printf %s "checking whether the compiler supports GNU C++... " >&6; }
6062 if test ${ac_cv_cxx_compiler_gnu+y}
6063 then :
6064 printf %s "(cached) " >&6
6065 else $as_nop
6066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6067 /* end confdefs.h. */
6070 main (void)
6072 #ifndef __GNUC__
6073 choke me
6074 #endif
6077 return 0;
6079 _ACEOF
6080 if ac_fn_cxx_try_compile "$LINENO"
6081 then :
6082 ac_compiler_gnu=yes
6083 else $as_nop
6084 ac_compiler_gnu=no
6086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6087 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6091 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6094 if test $ac_compiler_gnu = yes; then
6095 GXX=yes
6096 else
6097 GXX=
6099 ac_test_CXXFLAGS=${CXXFLAGS+y}
6100 ac_save_CXXFLAGS=$CXXFLAGS
6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6102 printf %s "checking whether $CXX accepts -g... " >&6; }
6103 if test ${ac_cv_prog_cxx_g+y}
6104 then :
6105 printf %s "(cached) " >&6
6106 else $as_nop
6107 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6108 ac_cxx_werror_flag=yes
6109 ac_cv_prog_cxx_g=no
6110 CXXFLAGS="-g"
6111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6112 /* end confdefs.h. */
6115 main (void)
6119 return 0;
6121 _ACEOF
6122 if ac_fn_cxx_try_compile "$LINENO"
6123 then :
6124 ac_cv_prog_cxx_g=yes
6125 else $as_nop
6126 CXXFLAGS=""
6127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6128 /* end confdefs.h. */
6131 main (void)
6135 return 0;
6137 _ACEOF
6138 if ac_fn_cxx_try_compile "$LINENO"
6139 then :
6141 else $as_nop
6142 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6143 CXXFLAGS="-g"
6144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6145 /* end confdefs.h. */
6148 main (void)
6152 return 0;
6154 _ACEOF
6155 if ac_fn_cxx_try_compile "$LINENO"
6156 then :
6157 ac_cv_prog_cxx_g=yes
6159 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6163 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6164 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6167 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6168 if test $ac_test_CXXFLAGS; then
6169 CXXFLAGS=$ac_save_CXXFLAGS
6170 elif test $ac_cv_prog_cxx_g = yes; then
6171 if test "$GXX" = yes; then
6172 CXXFLAGS="-g -O2"
6173 else
6174 CXXFLAGS="-g"
6176 else
6177 if test "$GXX" = yes; then
6178 CXXFLAGS="-O2"
6179 else
6180 CXXFLAGS=
6183 ac_prog_cxx_stdcxx=no
6184 if test x$ac_prog_cxx_stdcxx = xno
6185 then :
6186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6187 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6188 if test ${ac_cv_prog_cxx_11+y}
6189 then :
6190 printf %s "(cached) " >&6
6191 else $as_nop
6192 ac_cv_prog_cxx_11=no
6193 ac_save_CXX=$CXX
6194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6195 /* end confdefs.h. */
6196 $ac_cxx_conftest_cxx11_program
6197 _ACEOF
6198 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6200 CXX="$ac_save_CXX $ac_arg"
6201 if ac_fn_cxx_try_compile "$LINENO"
6202 then :
6203 ac_cv_prog_cxx_cxx11=$ac_arg
6205 rm -f core conftest.err conftest.$ac_objext conftest.beam
6206 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6207 done
6208 rm -f conftest.$ac_ext
6209 CXX=$ac_save_CXX
6212 if test "x$ac_cv_prog_cxx_cxx11" = xno
6213 then :
6214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6215 printf "%s\n" "unsupported" >&6; }
6216 else $as_nop
6217 if test "x$ac_cv_prog_cxx_cxx11" = x
6218 then :
6219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6220 printf "%s\n" "none needed" >&6; }
6221 else $as_nop
6222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6223 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6224 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6226 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6227 ac_prog_cxx_stdcxx=cxx11
6230 if test x$ac_prog_cxx_stdcxx = xno
6231 then :
6232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6233 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6234 if test ${ac_cv_prog_cxx_98+y}
6235 then :
6236 printf %s "(cached) " >&6
6237 else $as_nop
6238 ac_cv_prog_cxx_98=no
6239 ac_save_CXX=$CXX
6240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */
6242 $ac_cxx_conftest_cxx98_program
6243 _ACEOF
6244 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6246 CXX="$ac_save_CXX $ac_arg"
6247 if ac_fn_cxx_try_compile "$LINENO"
6248 then :
6249 ac_cv_prog_cxx_cxx98=$ac_arg
6251 rm -f core conftest.err conftest.$ac_objext conftest.beam
6252 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6253 done
6254 rm -f conftest.$ac_ext
6255 CXX=$ac_save_CXX
6258 if test "x$ac_cv_prog_cxx_cxx98" = xno
6259 then :
6260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6261 printf "%s\n" "unsupported" >&6; }
6262 else $as_nop
6263 if test "x$ac_cv_prog_cxx_cxx98" = x
6264 then :
6265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6266 printf "%s\n" "none needed" >&6; }
6267 else $as_nop
6268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6269 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6270 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6272 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6273 ac_prog_cxx_stdcxx=cxx98
6277 ac_ext=c
6278 ac_cpp='$CPP $CPPFLAGS'
6279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6283 if test -n "$ac_tool_prefix"; then
6284 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6285 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6287 printf %s "checking for $ac_word... " >&6; }
6288 if test ${ac_cv_prog_CPPBIN+y}
6289 then :
6290 printf %s "(cached) " >&6
6291 else $as_nop
6292 if test -n "$CPPBIN"; then
6293 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6294 else
6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6296 for as_dir in $PATH
6298 IFS=$as_save_IFS
6299 case $as_dir in #(((
6300 '') as_dir=./ ;;
6301 */) ;;
6302 *) as_dir=$as_dir/ ;;
6303 esac
6304 for ac_exec_ext in '' $ac_executable_extensions; do
6305 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6306 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6308 break 2
6310 done
6311 done
6312 IFS=$as_save_IFS
6316 CPPBIN=$ac_cv_prog_CPPBIN
6317 if test -n "$CPPBIN"; then
6318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6319 printf "%s\n" "$CPPBIN" >&6; }
6320 else
6321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6322 printf "%s\n" "no" >&6; }
6327 if test -z "$ac_cv_prog_CPPBIN"; then
6328 ac_ct_CPPBIN=$CPPBIN
6329 # Extract the first word of "cpp", so it can be a program name with args.
6330 set dummy cpp; ac_word=$2
6331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6332 printf %s "checking for $ac_word... " >&6; }
6333 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6334 then :
6335 printf %s "(cached) " >&6
6336 else $as_nop
6337 if test -n "$ac_ct_CPPBIN"; then
6338 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6339 else
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 for as_dir in $PATH
6343 IFS=$as_save_IFS
6344 case $as_dir in #(((
6345 '') as_dir=./ ;;
6346 */) ;;
6347 *) as_dir=$as_dir/ ;;
6348 esac
6349 for ac_exec_ext in '' $ac_executable_extensions; do
6350 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6351 ac_cv_prog_ac_ct_CPPBIN="cpp"
6352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6353 break 2
6355 done
6356 done
6357 IFS=$as_save_IFS
6361 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6362 if test -n "$ac_ct_CPPBIN"; then
6363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6364 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6365 else
6366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6367 printf "%s\n" "no" >&6; }
6370 if test "x$ac_ct_CPPBIN" = x; then
6371 CPPBIN="cpp"
6372 else
6373 case $cross_compiling:$ac_tool_warned in
6374 yes:)
6375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6376 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6377 ac_tool_warned=yes ;;
6378 esac
6379 CPPBIN=$ac_ct_CPPBIN
6381 else
6382 CPPBIN="$ac_cv_prog_CPPBIN"
6386 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6388 if test -n "$ac_tool_prefix"; then
6389 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6390 set dummy ${ac_tool_prefix}ld; ac_word=$2
6391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6392 printf %s "checking for $ac_word... " >&6; }
6393 if test ${ac_cv_prog_LD+y}
6394 then :
6395 printf %s "(cached) " >&6
6396 else $as_nop
6397 if test -n "$LD"; then
6398 ac_cv_prog_LD="$LD" # Let the user override the test.
6399 else
6400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6401 for as_dir in $PATH
6403 IFS=$as_save_IFS
6404 case $as_dir in #(((
6405 '') as_dir=./ ;;
6406 */) ;;
6407 *) as_dir=$as_dir/ ;;
6408 esac
6409 for ac_exec_ext in '' $ac_executable_extensions; do
6410 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6411 ac_cv_prog_LD="${ac_tool_prefix}ld"
6412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6413 break 2
6415 done
6416 done
6417 IFS=$as_save_IFS
6421 LD=$ac_cv_prog_LD
6422 if test -n "$LD"; then
6423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6424 printf "%s\n" "$LD" >&6; }
6425 else
6426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6427 printf "%s\n" "no" >&6; }
6432 if test -z "$ac_cv_prog_LD"; then
6433 ac_ct_LD=$LD
6434 # Extract the first word of "ld", so it can be a program name with args.
6435 set dummy ld; ac_word=$2
6436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6437 printf %s "checking for $ac_word... " >&6; }
6438 if test ${ac_cv_prog_ac_ct_LD+y}
6439 then :
6440 printf %s "(cached) " >&6
6441 else $as_nop
6442 if test -n "$ac_ct_LD"; then
6443 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6444 else
6445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446 for as_dir in $PATH
6448 IFS=$as_save_IFS
6449 case $as_dir in #(((
6450 '') as_dir=./ ;;
6451 */) ;;
6452 *) as_dir=$as_dir/ ;;
6453 esac
6454 for ac_exec_ext in '' $ac_executable_extensions; do
6455 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6456 ac_cv_prog_ac_ct_LD="ld"
6457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6458 break 2
6460 done
6461 done
6462 IFS=$as_save_IFS
6466 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6467 if test -n "$ac_ct_LD"; then
6468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6469 printf "%s\n" "$ac_ct_LD" >&6; }
6470 else
6471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6472 printf "%s\n" "no" >&6; }
6475 if test "x$ac_ct_LD" = x; then
6476 LD=""
6477 else
6478 case $cross_compiling:$ac_tool_warned in
6479 yes:)
6480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6481 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6482 ac_tool_warned=yes ;;
6483 esac
6484 LD=$ac_ct_LD
6486 else
6487 LD="$ac_cv_prog_LD"
6491 case $host in
6492 *-darwin*)
6493 with_fontconfig=${with_fontconfig:-no}
6495 *-mingw32*|*-cygwin*)
6496 enable_win16=${enable_win16:-no}
6497 with_mingw=${with_mingw:-no}
6499 esac
6502 case $host in
6503 x86_64*|amd64*)
6504 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6505 then
6506 CC="$CC -m32"
6507 CXX="$CXX -m32"
6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6510 printf %s "checking whether $CC works... " >&6; }
6511 if test ${wine_cv_cc_m32+y}
6512 then :
6513 printf %s "(cached) " >&6
6514 else $as_nop
6515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6516 /* end confdefs.h. */
6519 main (void)
6523 return 0;
6525 _ACEOF
6526 if ac_fn_c_try_link "$LINENO"
6527 then :
6528 wine_cv_cc_m32=yes
6529 else $as_nop
6530 wine_cv_cc_m32=no
6532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6533 conftest$ac_exeext conftest.$ac_ext
6535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6536 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6537 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
6538 host_cpu="i386"
6539 notice_platform="32-bit "
6540 TARGETFLAGS="$TARGETFLAGS -m32"
6541 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6542 export PKG_CONFIG_PATH
6543 enable_win16=${enable_win16:-yes}
6544 with_unwind=${with_unwind:-no}
6545 else
6546 if test "x${GCC}" = "xyes"
6547 then
6548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6549 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6550 if test ${wine_cv_builtin_ms_va_list+y}
6551 then :
6552 printf %s "(cached) " >&6
6553 else $as_nop
6554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6555 /* end confdefs.h. */
6556 #include <stdarg.h>
6558 main (void)
6560 void func(__builtin_ms_va_list *args);
6562 return 0;
6564 _ACEOF
6565 if ac_fn_c_try_compile "$LINENO"
6566 then :
6567 wine_cv_builtin_ms_va_list=yes
6568 else $as_nop
6569 wine_cv_builtin_ms_va_list=no
6571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6574 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6575 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
6577 CC="$CC -m64"
6578 CXX="$CXX -m64"
6579 host_cpu="x86_64"
6580 notice_platform="64-bit "
6581 TARGETFLAGS="$TARGETFLAGS -m64"
6582 enable_wow64=${enable_wow64:-yes}
6583 enable_wow64win=${enable_wow64win:-yes}
6584 enable_wow64cpu=${enable_wow64cpu:-yes}
6587 arm*)
6588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6589 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6590 if test ${wine_cv_thumb2+y}
6591 then :
6592 printf %s "(cached) " >&6
6593 else $as_nop
6594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6595 /* end confdefs.h. */
6598 main (void)
6600 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6602 return 0;
6604 _ACEOF
6605 if ac_fn_c_try_link "$LINENO"
6606 then :
6607 wine_cv_thumb2=yes
6608 else $as_nop
6609 wine_cv_thumb2=no
6611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6612 conftest$ac_exeext conftest.$ac_ext
6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6615 printf "%s\n" "$wine_cv_thumb2" >&6; }
6616 if test x"$wine_cv_thumb2" = xyes
6617 then
6618 CFLAGS="$CFLAGS -mthumb"
6619 TARGETFLAGS="$TARGETFLAGS -mthumb"
6620 else
6621 CFLAGS="$CFLAGS -marm"
6622 TARGETFLAGS="$TARGETFLAGS -marm"
6624 case $with_float_abi in
6625 soft|softfp|hard)
6626 float_abi=$with_float_abi ;;
6628 case $host_os in
6629 *eabihf)
6630 float_abi=hard ;;
6632 float_abi=softfp
6633 saved_CFLAGS=$CFLAGS
6634 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6636 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6637 if test ${wine_cv_float_abi+y}
6638 then :
6639 printf %s "(cached) " >&6
6640 else $as_nop
6641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6642 /* end confdefs.h. */
6645 main (void)
6647 asm("vmrs r2,fpscr");
6649 return 0;
6651 _ACEOF
6652 if ac_fn_c_try_link "$LINENO"
6653 then :
6654 wine_cv_float_abi=yes
6655 else $as_nop
6656 wine_cv_float_abi=no
6658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6659 conftest$ac_exeext conftest.$ac_ext
6661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6662 printf "%s\n" "$wine_cv_float_abi" >&6; }
6663 if test $wine_cv_float_abi = no
6664 then
6665 float_abi=soft
6666 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6668 CFLAGS=$saved_CFLAGS
6669 esac
6671 esac
6672 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6673 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6675 aarch64*)
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6677 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6678 if test ${wine_cv_builtin_ms_va_list+y}
6679 then :
6680 printf %s "(cached) " >&6
6681 else $as_nop
6682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6683 /* end confdefs.h. */
6684 #include <stdarg.h>
6686 main (void)
6688 void func(__builtin_ms_va_list *args);
6690 return 0;
6692 _ACEOF
6693 if ac_fn_c_try_compile "$LINENO"
6694 then :
6695 wine_cv_builtin_ms_va_list=yes
6696 else $as_nop
6697 wine_cv_builtin_ms_va_list=no
6699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6702 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6703 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
6704 enable_wow64=${enable_wow64:-yes}
6705 enable_wow64win=${enable_wow64win:-yes}
6707 i[3456789]86*)
6708 enable_win16=${enable_win16:-yes}
6709 with_unwind=${with_unwind:-no}
6711 esac
6713 enable_win16=${enable_win16:-no}
6714 enable_win64=${enable_win64:-no}
6715 enable_wow64=${enable_wow64:-no}
6716 enable_wow64win=${enable_wow64win:-no}
6717 enable_wow64cpu=${enable_wow64cpu:-no}
6719 enable_winetest=${enable_winetest:-$enable_tests}
6721 if test "x$enable_win64" = "xyes"
6722 then
6723 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6724 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6727 case $build_os in
6728 cygwin*|mingw32*) toolsext=".exe"
6730 *) toolsext=""
6732 esac
6734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6735 printf %s "checking for the directory containing the Wine tools... " >&6; }
6736 if test ${wine_cv_toolsdir+y}
6737 then :
6738 printf %s "(cached) " >&6
6739 else $as_nop
6740 wine_cv_toolsdir="$with_wine_tools"
6741 if test -z "$with_wine_tools"; then
6742 if test "$cross_compiling" = "yes"; then
6743 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6744 elif test -n "$with_wine64"; then
6745 wine_cv_toolsdir="$with_wine64"
6749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6750 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6751 if test -z "$wine_cv_toolsdir"; then
6752 wine_makedep=tools/makedep$toolsext
6753 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6754 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6755 enable_tools=${enable_tools:-no}
6756 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6757 else
6758 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6760 toolsdir=$wine_cv_toolsdir
6762 MAKEDEP=$wine_makedep
6764 RUNTESTFLAGS="-q -P wine"
6766 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'"
6768 api_manext=3w
6771 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6772 then
6773 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6776 for ac_prog in flex
6778 # Extract the first word of "$ac_prog", so it can be a program name with args.
6779 set dummy $ac_prog; ac_word=$2
6780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 printf %s "checking for $ac_word... " >&6; }
6782 if test ${ac_cv_prog_FLEX+y}
6783 then :
6784 printf %s "(cached) " >&6
6785 else $as_nop
6786 if test -n "$FLEX"; then
6787 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6788 else
6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 for as_dir in $PATH
6792 IFS=$as_save_IFS
6793 case $as_dir in #(((
6794 '') as_dir=./ ;;
6795 */) ;;
6796 *) as_dir=$as_dir/ ;;
6797 esac
6798 for ac_exec_ext in '' $ac_executable_extensions; do
6799 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6800 ac_cv_prog_FLEX="$ac_prog"
6801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6802 break 2
6804 done
6805 done
6806 IFS=$as_save_IFS
6810 FLEX=$ac_cv_prog_FLEX
6811 if test -n "$FLEX"; then
6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6813 printf "%s\n" "$FLEX" >&6; }
6814 else
6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 printf "%s\n" "no" >&6; }
6820 test -n "$FLEX" && break
6821 done
6822 test -n "$FLEX" || FLEX="none"
6824 if test "$FLEX" = "none"
6825 then
6826 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6829 printf %s "checking whether flex is recent enough... " >&6; }
6830 if test ${wine_cv_recent_flex+y}
6831 then :
6832 printf %s "(cached) " >&6
6833 else $as_nop
6834 cat >conftest.l <<EOF
6835 %top{
6836 #include "prediluvian.h"
6840 if $FLEX -t conftest.l >/dev/null 2>&5
6841 then
6842 wine_cv_recent_flex=yes
6843 else
6844 wine_cv_recent_flex=no
6847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6848 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6849 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
6851 for ac_prog in bison
6853 # Extract the first word of "$ac_prog", so it can be a program name with args.
6854 set dummy $ac_prog; ac_word=$2
6855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6856 printf %s "checking for $ac_word... " >&6; }
6857 if test ${ac_cv_prog_BISON+y}
6858 then :
6859 printf %s "(cached) " >&6
6860 else $as_nop
6861 if test -n "$BISON"; then
6862 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6863 else
6864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6865 for as_dir in $PATH
6867 IFS=$as_save_IFS
6868 case $as_dir in #(((
6869 '') as_dir=./ ;;
6870 */) ;;
6871 *) as_dir=$as_dir/ ;;
6872 esac
6873 for ac_exec_ext in '' $ac_executable_extensions; do
6874 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6875 ac_cv_prog_BISON="$ac_prog"
6876 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6877 break 2
6879 done
6880 done
6881 IFS=$as_save_IFS
6885 BISON=$ac_cv_prog_BISON
6886 if test -n "$BISON"; then
6887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6888 printf "%s\n" "$BISON" >&6; }
6889 else
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6891 printf "%s\n" "no" >&6; }
6895 test -n "$BISON" && break
6896 done
6897 test -n "$BISON" || BISON="none"
6899 if test "$BISON" = "none"
6900 then
6901 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6904 printf %s "checking whether bison is recent enough... " >&6; }
6905 if test ${wine_cv_recent_bison+y}
6906 then :
6907 printf %s "(cached) " >&6
6908 else $as_nop
6909 cat >conftest.y <<EOF
6910 %define parse.error verbose
6912 empty: ;
6914 if $BISON conftest.y >/dev/null 2>&5
6915 then
6916 wine_cv_recent_bison=yes
6917 else
6918 wine_cv_recent_bison=no
6921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6922 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6923 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
6925 if test -n "$ac_tool_prefix"; then
6926 for ac_prog in ar gar
6928 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6929 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6931 printf %s "checking for $ac_word... " >&6; }
6932 if test ${ac_cv_prog_AR+y}
6933 then :
6934 printf %s "(cached) " >&6
6935 else $as_nop
6936 if test -n "$AR"; then
6937 ac_cv_prog_AR="$AR" # Let the user override the test.
6938 else
6939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6940 for as_dir in $PATH
6942 IFS=$as_save_IFS
6943 case $as_dir in #(((
6944 '') as_dir=./ ;;
6945 */) ;;
6946 *) as_dir=$as_dir/ ;;
6947 esac
6948 for ac_exec_ext in '' $ac_executable_extensions; do
6949 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6950 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6952 break 2
6954 done
6955 done
6956 IFS=$as_save_IFS
6960 AR=$ac_cv_prog_AR
6961 if test -n "$AR"; then
6962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6963 printf "%s\n" "$AR" >&6; }
6964 else
6965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6966 printf "%s\n" "no" >&6; }
6970 test -n "$AR" && break
6971 done
6973 if test -z "$AR"; then
6974 ac_ct_AR=$AR
6975 for ac_prog in ar gar
6977 # Extract the first word of "$ac_prog", so it can be a program name with args.
6978 set dummy $ac_prog; ac_word=$2
6979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6980 printf %s "checking for $ac_word... " >&6; }
6981 if test ${ac_cv_prog_ac_ct_AR+y}
6982 then :
6983 printf %s "(cached) " >&6
6984 else $as_nop
6985 if test -n "$ac_ct_AR"; then
6986 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6987 else
6988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6989 for as_dir in $PATH
6991 IFS=$as_save_IFS
6992 case $as_dir in #(((
6993 '') as_dir=./ ;;
6994 */) ;;
6995 *) as_dir=$as_dir/ ;;
6996 esac
6997 for ac_exec_ext in '' $ac_executable_extensions; do
6998 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6999 ac_cv_prog_ac_ct_AR="$ac_prog"
7000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7001 break 2
7003 done
7004 done
7005 IFS=$as_save_IFS
7009 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7010 if test -n "$ac_ct_AR"; then
7011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7012 printf "%s\n" "$ac_ct_AR" >&6; }
7013 else
7014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7015 printf "%s\n" "no" >&6; }
7019 test -n "$ac_ct_AR" && break
7020 done
7022 if test "x$ac_ct_AR" = x; then
7023 AR="ar"
7024 else
7025 case $cross_compiling:$ac_tool_warned in
7026 yes:)
7027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7028 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7029 ac_tool_warned=yes ;;
7030 esac
7031 AR=$ac_ct_AR
7035 if test -n "$ac_tool_prefix"; then
7036 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7037 set dummy ${ac_tool_prefix}strip; ac_word=$2
7038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 printf %s "checking for $ac_word... " >&6; }
7040 if test ${ac_cv_prog_STRIP+y}
7041 then :
7042 printf %s "(cached) " >&6
7043 else $as_nop
7044 if test -n "$STRIP"; then
7045 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7046 else
7047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7048 for as_dir in $PATH
7050 IFS=$as_save_IFS
7051 case $as_dir in #(((
7052 '') as_dir=./ ;;
7053 */) ;;
7054 *) as_dir=$as_dir/ ;;
7055 esac
7056 for ac_exec_ext in '' $ac_executable_extensions; do
7057 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7058 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7059 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7060 break 2
7062 done
7063 done
7064 IFS=$as_save_IFS
7068 STRIP=$ac_cv_prog_STRIP
7069 if test -n "$STRIP"; then
7070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7071 printf "%s\n" "$STRIP" >&6; }
7072 else
7073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7074 printf "%s\n" "no" >&6; }
7079 if test -z "$ac_cv_prog_STRIP"; then
7080 ac_ct_STRIP=$STRIP
7081 # Extract the first word of "strip", so it can be a program name with args.
7082 set dummy strip; ac_word=$2
7083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7084 printf %s "checking for $ac_word... " >&6; }
7085 if test ${ac_cv_prog_ac_ct_STRIP+y}
7086 then :
7087 printf %s "(cached) " >&6
7088 else $as_nop
7089 if test -n "$ac_ct_STRIP"; then
7090 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7091 else
7092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7093 for as_dir in $PATH
7095 IFS=$as_save_IFS
7096 case $as_dir in #(((
7097 '') as_dir=./ ;;
7098 */) ;;
7099 *) as_dir=$as_dir/ ;;
7100 esac
7101 for ac_exec_ext in '' $ac_executable_extensions; do
7102 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7103 ac_cv_prog_ac_ct_STRIP="strip"
7104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7105 break 2
7107 done
7108 done
7109 IFS=$as_save_IFS
7113 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7114 if test -n "$ac_ct_STRIP"; then
7115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7116 printf "%s\n" "$ac_ct_STRIP" >&6; }
7117 else
7118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119 printf "%s\n" "no" >&6; }
7122 if test "x$ac_ct_STRIP" = x; then
7123 STRIP="strip"
7124 else
7125 case $cross_compiling:$ac_tool_warned in
7126 yes:)
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7128 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7129 ac_tool_warned=yes ;;
7130 esac
7131 STRIP=$ac_ct_STRIP
7133 else
7134 STRIP="$ac_cv_prog_STRIP"
7137 if test -n "$ac_tool_prefix"; then
7138 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7139 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141 printf %s "checking for $ac_word... " >&6; }
7142 if test ${ac_cv_prog_RANLIB+y}
7143 then :
7144 printf %s "(cached) " >&6
7145 else $as_nop
7146 if test -n "$RANLIB"; then
7147 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7148 else
7149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7150 for as_dir in $PATH
7152 IFS=$as_save_IFS
7153 case $as_dir in #(((
7154 '') as_dir=./ ;;
7155 */) ;;
7156 *) as_dir=$as_dir/ ;;
7157 esac
7158 for ac_exec_ext in '' $ac_executable_extensions; do
7159 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7160 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7162 break 2
7164 done
7165 done
7166 IFS=$as_save_IFS
7170 RANLIB=$ac_cv_prog_RANLIB
7171 if test -n "$RANLIB"; then
7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7173 printf "%s\n" "$RANLIB" >&6; }
7174 else
7175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176 printf "%s\n" "no" >&6; }
7181 if test -z "$ac_cv_prog_RANLIB"; then
7182 ac_ct_RANLIB=$RANLIB
7183 # Extract the first word of "ranlib", so it can be a program name with args.
7184 set dummy ranlib; ac_word=$2
7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 printf %s "checking for $ac_word... " >&6; }
7187 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7188 then :
7189 printf %s "(cached) " >&6
7190 else $as_nop
7191 if test -n "$ac_ct_RANLIB"; then
7192 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7193 else
7194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 for as_dir in $PATH
7197 IFS=$as_save_IFS
7198 case $as_dir in #(((
7199 '') as_dir=./ ;;
7200 */) ;;
7201 *) as_dir=$as_dir/ ;;
7202 esac
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7205 ac_cv_prog_ac_ct_RANLIB="ranlib"
7206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7207 break 2
7209 done
7210 done
7211 IFS=$as_save_IFS
7215 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7216 if test -n "$ac_ct_RANLIB"; then
7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7218 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7219 else
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 printf "%s\n" "no" >&6; }
7224 if test "x$ac_ct_RANLIB" = x; then
7225 RANLIB=":"
7226 else
7227 case $cross_compiling:$ac_tool_warned in
7228 yes:)
7229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7230 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7231 ac_tool_warned=yes ;;
7232 esac
7233 RANLIB=$ac_ct_RANLIB
7235 else
7236 RANLIB="$ac_cv_prog_RANLIB"
7239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7240 printf %s "checking whether ln -s works... " >&6; }
7241 LN_S=$as_ln_s
7242 if test "$LN_S" = "ln -s"; then
7243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7244 printf "%s\n" "yes" >&6; }
7245 else
7246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7247 printf "%s\n" "no, using $LN_S" >&6; }
7250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7251 printf %s "checking for grep that handles long lines and -e... " >&6; }
7252 if test ${ac_cv_path_GREP+y}
7253 then :
7254 printf %s "(cached) " >&6
7255 else $as_nop
7256 if test -z "$GREP"; then
7257 ac_path_GREP_found=false
7258 # Loop through the user's path and test for each of PROGNAME-LIST
7259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7260 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7262 IFS=$as_save_IFS
7263 case $as_dir in #(((
7264 '') as_dir=./ ;;
7265 */) ;;
7266 *) as_dir=$as_dir/ ;;
7267 esac
7268 for ac_prog in grep ggrep
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
7272 as_fn_executable_p "$ac_path_GREP" || continue
7273 # Check for GNU ac_path_GREP and select it if it is found.
7274 # Check for GNU $ac_path_GREP
7275 case `"$ac_path_GREP" --version 2>&1` in
7276 *GNU*)
7277 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7279 ac_count=0
7280 printf %s 0123456789 >"conftest.in"
7281 while :
7283 cat "conftest.in" "conftest.in" >"conftest.tmp"
7284 mv "conftest.tmp" "conftest.in"
7285 cp "conftest.in" "conftest.nl"
7286 printf "%s\n" 'GREP' >> "conftest.nl"
7287 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7288 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7289 as_fn_arith $ac_count + 1 && ac_count=$as_val
7290 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7291 # Best one so far, save it but keep looking for a better one
7292 ac_cv_path_GREP="$ac_path_GREP"
7293 ac_path_GREP_max=$ac_count
7295 # 10*(2^10) chars as input seems more than enough
7296 test $ac_count -gt 10 && break
7297 done
7298 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7299 esac
7301 $ac_path_GREP_found && break 3
7302 done
7303 done
7304 done
7305 IFS=$as_save_IFS
7306 if test -z "$ac_cv_path_GREP"; then
7307 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7309 else
7310 ac_cv_path_GREP=$GREP
7314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7315 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7316 GREP="$ac_cv_path_GREP"
7319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7320 printf %s "checking for egrep... " >&6; }
7321 if test ${ac_cv_path_EGREP+y}
7322 then :
7323 printf %s "(cached) " >&6
7324 else $as_nop
7325 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7326 then ac_cv_path_EGREP="$GREP -E"
7327 else
7328 if test -z "$EGREP"; then
7329 ac_path_EGREP_found=false
7330 # Loop through the user's path and test for each of PROGNAME-LIST
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7334 IFS=$as_save_IFS
7335 case $as_dir in #(((
7336 '') as_dir=./ ;;
7337 */) ;;
7338 *) as_dir=$as_dir/ ;;
7339 esac
7340 for ac_prog in egrep
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7344 as_fn_executable_p "$ac_path_EGREP" || continue
7345 # Check for GNU ac_path_EGREP and select it if it is found.
7346 # Check for GNU $ac_path_EGREP
7347 case `"$ac_path_EGREP" --version 2>&1` in
7348 *GNU*)
7349 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7351 ac_count=0
7352 printf %s 0123456789 >"conftest.in"
7353 while :
7355 cat "conftest.in" "conftest.in" >"conftest.tmp"
7356 mv "conftest.tmp" "conftest.in"
7357 cp "conftest.in" "conftest.nl"
7358 printf "%s\n" 'EGREP' >> "conftest.nl"
7359 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7360 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7361 as_fn_arith $ac_count + 1 && ac_count=$as_val
7362 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7363 # Best one so far, save it but keep looking for a better one
7364 ac_cv_path_EGREP="$ac_path_EGREP"
7365 ac_path_EGREP_max=$ac_count
7367 # 10*(2^10) chars as input seems more than enough
7368 test $ac_count -gt 10 && break
7369 done
7370 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7371 esac
7373 $ac_path_EGREP_found && break 3
7374 done
7375 done
7376 done
7377 IFS=$as_save_IFS
7378 if test -z "$ac_cv_path_EGREP"; then
7379 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7381 else
7382 ac_cv_path_EGREP=$EGREP
7387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7388 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7389 EGREP="$ac_cv_path_EGREP"
7392 # Extract the first word of "ldconfig", so it can be a program name with args.
7393 set dummy ldconfig; ac_word=$2
7394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7395 printf %s "checking for $ac_word... " >&6; }
7396 if test ${ac_cv_path_LDCONFIG+y}
7397 then :
7398 printf %s "(cached) " >&6
7399 else $as_nop
7400 case $LDCONFIG in
7401 [\\/]* | ?:[\\/]*)
7402 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406 for as_dir in /sbin /usr/sbin $PATH
7408 IFS=$as_save_IFS
7409 case $as_dir in #(((
7410 '') as_dir=./ ;;
7411 */) ;;
7412 *) as_dir=$as_dir/ ;;
7413 esac
7414 for ac_exec_ext in '' $ac_executable_extensions; do
7415 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7416 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7417 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7418 break 2
7420 done
7421 done
7422 IFS=$as_save_IFS
7424 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7426 esac
7428 LDCONFIG=$ac_cv_path_LDCONFIG
7429 if test -n "$LDCONFIG"; then
7430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7431 printf "%s\n" "$LDCONFIG" >&6; }
7432 else
7433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 printf "%s\n" "no" >&6; }
7438 for ac_prog in msgfmt
7440 # Extract the first word of "$ac_prog", so it can be a program name with args.
7441 set dummy $ac_prog; ac_word=$2
7442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443 printf %s "checking for $ac_word... " >&6; }
7444 if test ${ac_cv_prog_MSGFMT+y}
7445 then :
7446 printf %s "(cached) " >&6
7447 else $as_nop
7448 if test -n "$MSGFMT"; then
7449 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7450 else
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452 for as_dir in $PATH
7454 IFS=$as_save_IFS
7455 case $as_dir in #(((
7456 '') as_dir=./ ;;
7457 */) ;;
7458 *) as_dir=$as_dir/ ;;
7459 esac
7460 for ac_exec_ext in '' $ac_executable_extensions; do
7461 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7462 ac_cv_prog_MSGFMT="$ac_prog"
7463 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7464 break 2
7466 done
7467 done
7468 IFS=$as_save_IFS
7472 MSGFMT=$ac_cv_prog_MSGFMT
7473 if test -n "$MSGFMT"; then
7474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7475 printf "%s\n" "$MSGFMT" >&6; }
7476 else
7477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7478 printf "%s\n" "no" >&6; }
7482 test -n "$MSGFMT" && break
7483 done
7484 test -n "$MSGFMT" || MSGFMT="false"
7486 if test ${ac_tool_prefix+y}
7487 then :
7488 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7489 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7491 printf %s "checking for $ac_word... " >&6; }
7492 if test ${ac_cv_prog_PKG_CONFIG+y}
7493 then :
7494 printf %s "(cached) " >&6
7495 else $as_nop
7496 if test -n "$PKG_CONFIG"; then
7497 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7498 else
7499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7500 for as_dir in $PATH
7502 IFS=$as_save_IFS
7503 case $as_dir in #(((
7504 '') as_dir=./ ;;
7505 */) ;;
7506 *) as_dir=$as_dir/ ;;
7507 esac
7508 for ac_exec_ext in '' $ac_executable_extensions; do
7509 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7510 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7511 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7512 break 2
7514 done
7515 done
7516 IFS=$as_save_IFS
7520 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7521 if test -n "$PKG_CONFIG"; then
7522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7523 printf "%s\n" "$PKG_CONFIG" >&6; }
7524 else
7525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7526 printf "%s\n" "no" >&6; }
7531 if ${ac_cv_prog_PKG_CONFIG:+false} :
7532 then :
7533 if test "x$cross_compiling" = xyes
7534 then :
7536 else $as_nop
7537 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7538 # Extract the first word of "pkg-config", so it can be a program name with args.
7539 set dummy pkg-config; ac_word=$2
7540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7541 printf %s "checking for $ac_word... " >&6; }
7542 if test ${ac_cv_prog_PKG_CONFIG+y}
7543 then :
7544 printf %s "(cached) " >&6
7545 else $as_nop
7546 if test -n "$PKG_CONFIG"; then
7547 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7548 else
7549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7550 for as_dir in $PATH
7552 IFS=$as_save_IFS
7553 case $as_dir in #(((
7554 '') as_dir=./ ;;
7555 */) ;;
7556 *) as_dir=$as_dir/ ;;
7557 esac
7558 for ac_exec_ext in '' $ac_executable_extensions; do
7559 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7560 ac_cv_prog_PKG_CONFIG="pkg-config"
7561 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7562 break 2
7564 done
7565 done
7566 IFS=$as_save_IFS
7570 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7571 if test -n "$PKG_CONFIG"; then
7572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7573 printf "%s\n" "$PKG_CONFIG" >&6; }
7574 else
7575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7576 printf "%s\n" "no" >&6; }
7581 else $as_nop
7582 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7585 if test "x$enable_maintainer_mode" != "xyes"
7586 then
7587 FONTFORGE=""
7588 RSVG=""
7589 CONVERT=""
7590 ICOTOOL=""
7591 else
7592 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7593 for ac_prog in fontforge
7595 # Extract the first word of "$ac_prog", so it can be a program name with args.
7596 set dummy $ac_prog; ac_word=$2
7597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7598 printf %s "checking for $ac_word... " >&6; }
7599 if test ${ac_cv_prog_FONTFORGE+y}
7600 then :
7601 printf %s "(cached) " >&6
7602 else $as_nop
7603 if test -n "$FONTFORGE"; then
7604 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7605 else
7606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7607 for as_dir in $PATH
7609 IFS=$as_save_IFS
7610 case $as_dir in #(((
7611 '') as_dir=./ ;;
7612 */) ;;
7613 *) as_dir=$as_dir/ ;;
7614 esac
7615 for ac_exec_ext in '' $ac_executable_extensions; do
7616 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7617 ac_cv_prog_FONTFORGE="$ac_prog"
7618 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7619 break 2
7621 done
7622 done
7623 IFS=$as_save_IFS
7627 FONTFORGE=$ac_cv_prog_FONTFORGE
7628 if test -n "$FONTFORGE"; then
7629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7630 printf "%s\n" "$FONTFORGE" >&6; }
7631 else
7632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7633 printf "%s\n" "no" >&6; }
7637 test -n "$FONTFORGE" && break
7638 done
7639 test -n "$FONTFORGE" || FONTFORGE="false"
7641 for ac_prog in rsvg-convert rsvg
7643 # Extract the first word of "$ac_prog", so it can be a program name with args.
7644 set dummy $ac_prog; ac_word=$2
7645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7646 printf %s "checking for $ac_word... " >&6; }
7647 if test ${ac_cv_prog_RSVG+y}
7648 then :
7649 printf %s "(cached) " >&6
7650 else $as_nop
7651 if test -n "$RSVG"; then
7652 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7653 else
7654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7655 for as_dir in $PATH
7657 IFS=$as_save_IFS
7658 case $as_dir in #(((
7659 '') as_dir=./ ;;
7660 */) ;;
7661 *) as_dir=$as_dir/ ;;
7662 esac
7663 for ac_exec_ext in '' $ac_executable_extensions; do
7664 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7665 ac_cv_prog_RSVG="$ac_prog"
7666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7667 break 2
7669 done
7670 done
7671 IFS=$as_save_IFS
7675 RSVG=$ac_cv_prog_RSVG
7676 if test -n "$RSVG"; then
7677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7678 printf "%s\n" "$RSVG" >&6; }
7679 else
7680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681 printf "%s\n" "no" >&6; }
7685 test -n "$RSVG" && break
7686 done
7687 test -n "$RSVG" || RSVG="false"
7689 for ac_prog in convert
7691 # Extract the first word of "$ac_prog", so it can be a program name with args.
7692 set dummy $ac_prog; ac_word=$2
7693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7694 printf %s "checking for $ac_word... " >&6; }
7695 if test ${ac_cv_prog_CONVERT+y}
7696 then :
7697 printf %s "(cached) " >&6
7698 else $as_nop
7699 if test -n "$CONVERT"; then
7700 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7701 else
7702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7703 for as_dir in $PATH
7705 IFS=$as_save_IFS
7706 case $as_dir in #(((
7707 '') as_dir=./ ;;
7708 */) ;;
7709 *) as_dir=$as_dir/ ;;
7710 esac
7711 for ac_exec_ext in '' $ac_executable_extensions; do
7712 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7713 ac_cv_prog_CONVERT="$ac_prog"
7714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7715 break 2
7717 done
7718 done
7719 IFS=$as_save_IFS
7723 CONVERT=$ac_cv_prog_CONVERT
7724 if test -n "$CONVERT"; then
7725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7726 printf "%s\n" "$CONVERT" >&6; }
7727 else
7728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7729 printf "%s\n" "no" >&6; }
7733 test -n "$CONVERT" && break
7734 done
7735 test -n "$CONVERT" || CONVERT="false"
7737 for ac_prog in icotool
7739 # Extract the first word of "$ac_prog", so it can be a program name with args.
7740 set dummy $ac_prog; ac_word=$2
7741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7742 printf %s "checking for $ac_word... " >&6; }
7743 if test ${ac_cv_prog_ICOTOOL+y}
7744 then :
7745 printf %s "(cached) " >&6
7746 else $as_nop
7747 if test -n "$ICOTOOL"; then
7748 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7749 else
7750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7751 for as_dir in $PATH
7753 IFS=$as_save_IFS
7754 case $as_dir in #(((
7755 '') as_dir=./ ;;
7756 */) ;;
7757 *) as_dir=$as_dir/ ;;
7758 esac
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7760 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7761 ac_cv_prog_ICOTOOL="$ac_prog"
7762 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7763 break 2
7765 done
7766 done
7767 IFS=$as_save_IFS
7771 ICOTOOL=$ac_cv_prog_ICOTOOL
7772 if test -n "$ICOTOOL"; then
7773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7774 printf "%s\n" "$ICOTOOL" >&6; }
7775 else
7776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777 printf "%s\n" "no" >&6; }
7781 test -n "$ICOTOOL" && break
7782 done
7783 test -n "$ICOTOOL" || ICOTOOL="false"
7785 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7786 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7788 if test "$CONVERT" = false
7789 then
7790 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7791 else
7792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7793 printf %s "checking for recent enough imagemagick... " >&6; }
7794 convert_version=`convert --version | head -n1`
7795 if test "x$convert_version" != "x"
7796 then
7797 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7798 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7799 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7800 then
7801 CONVERT=false
7804 if test "$CONVERT" = false
7805 then
7806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7807 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7808 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7809 else
7810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7811 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7815 if test "$ICOTOOL" = false
7816 then
7817 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7818 else
7819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7820 printf %s "checking for recent enough icotool... " >&6; }
7821 icotool_version=`icotool --version | head -n1`
7822 if test "x$icotool_version" != "x"
7823 then
7824 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7825 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7826 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7827 then
7828 ICOTOOL=false
7829 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7832 if test "$ICOTOOL" = false
7833 then
7834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7835 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7836 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7837 else
7838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7839 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7843 with_gettext=yes
7844 with_gettextpo=yes
7846 enable_werror=yes
7849 test "x$with_gettext" != xno || MSGFMT=false
7850 if test "$MSGFMT" != "false"
7851 then
7852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7853 printf %s "checking whether msgfmt supports contexts... " >&6; }
7854 if test ${wine_cv_msgfmt_contexts+y}
7855 then :
7856 printf %s "(cached) " >&6
7857 else $as_nop
7858 cat >conftest.po <<EOF
7859 # comment
7860 msgctxt "ctxt"
7861 msgid "id"
7862 msgstr "str"
7864 if $MSGFMT -o /dev/null conftest.po 2>&5
7865 then
7866 wine_cv_msgfmt_contexts=yes
7867 else
7868 wine_cv_msgfmt_contexts=no
7871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7872 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7873 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7875 if test "$MSGFMT" = false
7876 then :
7877 case "x$with_gettext" in
7878 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7879 xno) ;;
7880 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7881 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7882 esac
7883 enable_po=${enable_po:-no}
7887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7888 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7889 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7890 then :
7891 printf %s "(cached) " >&6
7892 else $as_nop
7893 ac_check_lib_save_LIBS=$LIBS
7894 LIBS="-li386 $LIBS"
7895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7896 /* end confdefs.h. */
7898 /* Override any GCC internal prototype to avoid an error.
7899 Use char because int might match the return type of a GCC
7900 builtin and then its argument prototype would still apply. */
7901 char i386_set_ldt ();
7903 main (void)
7905 return i386_set_ldt ();
7907 return 0;
7909 _ACEOF
7910 if ac_fn_c_try_link "$LINENO"
7911 then :
7912 ac_cv_lib_i386_i386_set_ldt=yes
7913 else $as_nop
7914 ac_cv_lib_i386_i386_set_ldt=no
7916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7917 conftest$ac_exeext conftest.$ac_ext
7918 LIBS=$ac_check_lib_save_LIBS
7920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7921 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7922 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7923 then :
7924 I386_LIBS="-li386"
7929 OPENGL_LIBS=""
7933 # Check whether --enable-largefile was given.
7934 if test ${enable_largefile+y}
7935 then :
7936 enableval=$enable_largefile;
7939 if test "$enable_largefile" != no; then
7941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7942 printf %s "checking for special C compiler options needed for large files... " >&6; }
7943 if test ${ac_cv_sys_largefile_CC+y}
7944 then :
7945 printf %s "(cached) " >&6
7946 else $as_nop
7947 ac_cv_sys_largefile_CC=no
7948 if test "$GCC" != yes; then
7949 ac_save_CC=$CC
7950 while :; do
7951 # IRIX 6.2 and later do not support large files by default,
7952 # so use the C compiler's -n32 option if that helps.
7953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7954 /* end confdefs.h. */
7955 #include <sys/types.h>
7956 /* Check that off_t can represent 2**63 - 1 correctly.
7957 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7958 since some C++ compilers masquerading as C compilers
7959 incorrectly reject 9223372036854775807. */
7960 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7961 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7962 && LARGE_OFF_T % 2147483647 == 1)
7963 ? 1 : -1];
7965 main (void)
7969 return 0;
7971 _ACEOF
7972 if ac_fn_c_try_compile "$LINENO"
7973 then :
7974 break
7976 rm -f core conftest.err conftest.$ac_objext conftest.beam
7977 CC="$CC -n32"
7978 if ac_fn_c_try_compile "$LINENO"
7979 then :
7980 ac_cv_sys_largefile_CC=' -n32'; break
7982 rm -f core conftest.err conftest.$ac_objext conftest.beam
7983 break
7984 done
7985 CC=$ac_save_CC
7986 rm -f conftest.$ac_ext
7989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7990 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7991 if test "$ac_cv_sys_largefile_CC" != no; then
7992 CC=$CC$ac_cv_sys_largefile_CC
7995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7996 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7997 if test ${ac_cv_sys_file_offset_bits+y}
7998 then :
7999 printf %s "(cached) " >&6
8000 else $as_nop
8001 while :; do
8002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8003 /* end confdefs.h. */
8004 #include <sys/types.h>
8005 /* Check that off_t can represent 2**63 - 1 correctly.
8006 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8007 since some C++ compilers masquerading as C compilers
8008 incorrectly reject 9223372036854775807. */
8009 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8010 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8011 && LARGE_OFF_T % 2147483647 == 1)
8012 ? 1 : -1];
8014 main (void)
8018 return 0;
8020 _ACEOF
8021 if ac_fn_c_try_compile "$LINENO"
8022 then :
8023 ac_cv_sys_file_offset_bits=no; break
8025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8027 /* end confdefs.h. */
8028 #define _FILE_OFFSET_BITS 64
8029 #include <sys/types.h>
8030 /* Check that off_t can represent 2**63 - 1 correctly.
8031 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8032 since some C++ compilers masquerading as C compilers
8033 incorrectly reject 9223372036854775807. */
8034 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8035 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8036 && LARGE_OFF_T % 2147483647 == 1)
8037 ? 1 : -1];
8039 main (void)
8043 return 0;
8045 _ACEOF
8046 if ac_fn_c_try_compile "$LINENO"
8047 then :
8048 ac_cv_sys_file_offset_bits=64; break
8050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8051 ac_cv_sys_file_offset_bits=unknown
8052 break
8053 done
8055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8056 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
8057 case $ac_cv_sys_file_offset_bits in #(
8058 no | unknown) ;;
8060 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
8062 esac
8063 rm -rf conftest*
8064 if test $ac_cv_sys_file_offset_bits = unknown; then
8065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8066 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
8067 if test ${ac_cv_sys_large_files+y}
8068 then :
8069 printf %s "(cached) " >&6
8070 else $as_nop
8071 while :; do
8072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8073 /* end confdefs.h. */
8074 #include <sys/types.h>
8075 /* Check that off_t can represent 2**63 - 1 correctly.
8076 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8077 since some C++ compilers masquerading as C compilers
8078 incorrectly reject 9223372036854775807. */
8079 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8080 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8081 && LARGE_OFF_T % 2147483647 == 1)
8082 ? 1 : -1];
8084 main (void)
8088 return 0;
8090 _ACEOF
8091 if ac_fn_c_try_compile "$LINENO"
8092 then :
8093 ac_cv_sys_large_files=no; break
8095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8097 /* end confdefs.h. */
8098 #define _LARGE_FILES 1
8099 #include <sys/types.h>
8100 /* Check that off_t can represent 2**63 - 1 correctly.
8101 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8102 since some C++ compilers masquerading as C compilers
8103 incorrectly reject 9223372036854775807. */
8104 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8105 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8106 && LARGE_OFF_T % 2147483647 == 1)
8107 ? 1 : -1];
8109 main (void)
8113 return 0;
8115 _ACEOF
8116 if ac_fn_c_try_compile "$LINENO"
8117 then :
8118 ac_cv_sys_large_files=1; break
8120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8121 ac_cv_sys_large_files=unknown
8122 break
8123 done
8125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8126 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
8127 case $ac_cv_sys_large_files in #(
8128 no | unknown) ;;
8130 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
8132 esac
8133 rm -rf conftest*
8138 ac_header= ac_cache=
8139 for ac_item in $ac_header_c_list
8141 if test $ac_cache; then
8142 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8143 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8144 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8146 ac_header= ac_cache=
8147 elif test $ac_header; then
8148 ac_cache=$ac_item
8149 else
8150 ac_header=$ac_item
8152 done
8161 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8162 then :
8164 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8167 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_AL_al_h" = xyes
8169 then :
8170 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
8175 then :
8176 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_CL_cl_h" = xyes
8181 then :
8182 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
8187 then :
8188 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
8193 then :
8194 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
8199 then :
8200 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_EGL_egl_h" = xyes
8205 then :
8206 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
8211 then :
8212 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
8217 then :
8218 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_OpenAL_al_h" = xyes
8223 then :
8224 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
8229 then :
8230 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile "$LINENO" "QuickTime/ImageCompression.h" "ac_cv_header_QuickTime_ImageCompression_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_QuickTime_ImageCompression_h" = xyes
8235 then :
8236 printf "%s\n" "#define HAVE_QUICKTIME_IMAGECOMPRESSION_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_Security_Security_h" = xyes
8241 then :
8242 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
8247 then :
8248 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
8253 then :
8254 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile "$LINENO" "alias.h" "ac_cv_header_alias_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_alias_h" = xyes
8259 then :
8260 printf "%s\n" "#define HAVE_ALIAS_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_arpa_inet_h" = xyes
8265 then :
8266 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_arpa_nameser_h" = xyes
8271 then :
8272 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_asm_types_h" = xyes
8277 then :
8278 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_asm_user_h" = xyes
8283 then :
8284 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_dirent_h" = xyes
8289 then :
8290 printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_elf_h" = xyes
8295 then :
8296 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_float_h" = xyes
8301 then :
8302 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_gettext_po_h" = xyes
8307 then :
8308 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
8311 ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
8312 if test "x$ac_cv_header_ieeefp_h" = xyes
8313 then :
8314 printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h
8317 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
8318 if test "x$ac_cv_header_libproc_h" = xyes
8319 then :
8320 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
8323 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
8324 if test "x$ac_cv_header_link_h" = xyes
8325 then :
8326 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
8329 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
8330 if test "x$ac_cv_header_linux_cdrom_h" = xyes
8331 then :
8332 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
8335 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_linux_filter_h" = xyes
8337 then :
8338 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8341 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8342 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8343 then :
8344 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8347 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8348 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8349 then :
8350 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8353 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8354 if test "x$ac_cv_header_linux_input_h" = xyes
8355 then :
8356 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8359 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8360 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8361 then :
8362 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8365 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default"
8366 if test "x$ac_cv_header_linux_joystick_h" = xyes
8367 then :
8368 printf "%s\n" "#define HAVE_LINUX_JOYSTICK_H 1" >>confdefs.h
8371 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8372 if test "x$ac_cv_header_linux_major_h" = xyes
8373 then :
8374 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8377 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8378 if test "x$ac_cv_header_linux_param_h" = xyes
8379 then :
8380 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8383 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8384 if test "x$ac_cv_header_linux_serial_h" = xyes
8385 then :
8386 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8389 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8390 if test "x$ac_cv_header_linux_types_h" = xyes
8391 then :
8392 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8395 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8396 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8397 then :
8398 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8401 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8402 if test "x$ac_cv_header_lwp_h" = xyes
8403 then :
8404 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8407 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8408 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8409 then :
8410 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8413 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8414 if test "x$ac_cv_header_mach_mach_h" = xyes
8415 then :
8416 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8419 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8420 if test "x$ac_cv_header_machine_cpu_h" = xyes
8421 then :
8422 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8425 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8426 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8427 then :
8428 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8431 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8432 if test "x$ac_cv_header_mntent_h" = xyes
8433 then :
8434 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8437 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8438 if test "x$ac_cv_header_netdb_h" = xyes
8439 then :
8440 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8443 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8444 if test "x$ac_cv_header_netinet_in_h" = xyes
8445 then :
8446 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8449 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8450 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8451 then :
8452 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8455 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8456 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8457 then :
8458 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8461 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8462 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8463 then :
8464 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8467 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8468 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8469 then :
8470 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8473 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8474 if test "x$ac_cv_header_port_h" = xyes
8475 then :
8476 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8479 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8480 if test "x$ac_cv_header_pthread_h" = xyes
8481 then :
8482 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8485 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8486 if test "x$ac_cv_header_pwd_h" = xyes
8487 then :
8488 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8491 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8492 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8493 then :
8494 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8497 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8498 if test "x$ac_cv_header_sched_h" = xyes
8499 then :
8500 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8503 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8504 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8505 then :
8506 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8509 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8510 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8511 then :
8512 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8515 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8516 if test "x$ac_cv_header_scsi_sg_h" = xyes
8517 then :
8518 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8521 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8522 if test "x$ac_cv_header_stdint_h" = xyes
8523 then :
8524 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8527 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8528 if test "x$ac_cv_header_sys_attr_h" = xyes
8529 then :
8530 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8533 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8534 if test "x$ac_cv_header_sys_auxv_h" = xyes
8535 then :
8536 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8539 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8540 if test "x$ac_cv_header_sys_cdio_h" = xyes
8541 then :
8542 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8545 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8546 if test "x$ac_cv_header_sys_epoll_h" = xyes
8547 then :
8548 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8551 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8552 if test "x$ac_cv_header_sys_event_h" = xyes
8553 then :
8554 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8557 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8558 if test "x$ac_cv_header_sys_filio_h" = xyes
8559 then :
8560 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8563 ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
8564 if test "x$ac_cv_header_sys_ioctl_h" = xyes
8565 then :
8566 printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
8569 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8570 if test "x$ac_cv_header_sys_ipc_h" = xyes
8571 then :
8572 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8575 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8576 if test "x$ac_cv_header_sys_link_h" = xyes
8577 then :
8578 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8581 ac_fn_c_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
8582 if test "x$ac_cv_header_sys_mman_h" = xyes
8583 then :
8584 printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
8587 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8588 if test "x$ac_cv_header_sys_modem_h" = xyes
8589 then :
8590 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8593 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8594 if test "x$ac_cv_header_sys_mtio_h" = xyes
8595 then :
8596 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8599 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8600 if test "x$ac_cv_header_sys_param_h" = xyes
8601 then :
8602 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8605 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8606 if test "x$ac_cv_header_sys_prctl_h" = xyes
8607 then :
8608 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8611 ac_fn_c_check_header_compile "$LINENO" "sys/protosw.h" "ac_cv_header_sys_protosw_h" "$ac_includes_default"
8612 if test "x$ac_cv_header_sys_protosw_h" = xyes
8613 then :
8614 printf "%s\n" "#define HAVE_SYS_PROTOSW_H 1" >>confdefs.h
8617 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8618 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8619 then :
8620 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8623 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8624 if test "x$ac_cv_header_sys_queue_h" = xyes
8625 then :
8626 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8629 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8630 if test "x$ac_cv_header_sys_random_h" = xyes
8631 then :
8632 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8635 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8636 if test "x$ac_cv_header_sys_resource_h" = xyes
8637 then :
8638 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8641 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8642 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8643 then :
8644 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8647 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8648 if test "x$ac_cv_header_sys_shm_h" = xyes
8649 then :
8650 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8653 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8654 if test "x$ac_cv_header_sys_signal_h" = xyes
8655 then :
8656 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8659 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
8660 if test "x$ac_cv_header_sys_socket_h" = xyes
8661 then :
8662 printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
8665 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8666 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8667 then :
8668 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8671 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8672 if test "x$ac_cv_header_sys_sockio_h" = xyes
8673 then :
8674 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8677 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8678 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8679 then :
8680 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8683 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8684 if test "x$ac_cv_header_sys_strtio_h" = xyes
8685 then :
8686 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8689 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8690 if test "x$ac_cv_header_sys_syscall_h" = xyes
8691 then :
8692 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8695 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8696 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8697 then :
8698 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8701 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
8702 if test "x$ac_cv_header_sys_time_h" = xyes
8703 then :
8704 printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
8707 ac_fn_c_check_header_compile "$LINENO" "sys/timeout.h" "ac_cv_header_sys_timeout_h" "$ac_includes_default"
8708 if test "x$ac_cv_header_sys_timeout_h" = xyes
8709 then :
8710 printf "%s\n" "#define HAVE_SYS_TIMEOUT_H 1" >>confdefs.h
8713 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8714 if test "x$ac_cv_header_sys_times_h" = xyes
8715 then :
8716 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8719 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8720 if test "x$ac_cv_header_sys_uio_h" = xyes
8721 then :
8722 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8725 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8726 if test "x$ac_cv_header_sys_user_h" = xyes
8727 then :
8728 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8731 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8732 if test "x$ac_cv_header_sys_utsname_h" = xyes
8733 then :
8734 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8737 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8738 if test "x$ac_cv_header_sys_vnode_h" = xyes
8739 then :
8740 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8743 ac_fn_c_check_header_compile "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default"
8744 if test "x$ac_cv_header_sys_wait_h" = xyes
8745 then :
8746 printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
8749 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8750 if test "x$ac_cv_header_syscall_h" = xyes
8751 then :
8752 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8755 ac_fn_c_check_header_compile "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
8756 if test "x$ac_cv_header_termios_h" = xyes
8757 then :
8758 printf "%s\n" "#define HAVE_TERMIOS_H 1" >>confdefs.h
8761 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
8762 if test "x$ac_cv_header_unistd_h" = xyes
8763 then :
8764 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
8767 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8768 if test "x$ac_cv_header_utime_h" = xyes
8769 then :
8770 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8773 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8774 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8775 then :
8776 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8779 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8780 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8781 then :
8782 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8786 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8787 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8788 then :
8790 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8794 if test $ac_cv_header_sys_mkdev_h = no; then
8795 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8796 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8797 then :
8799 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8805 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8806 if test ${ac_cv_header_stat_broken+y}
8807 then :
8808 printf %s "(cached) " >&6
8809 else $as_nop
8810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8811 /* end confdefs.h. */
8812 #include <sys/types.h>
8813 #include <sys/stat.h>
8815 #if defined S_ISBLK && defined S_IFDIR
8816 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8817 #endif
8819 #if defined S_ISBLK && defined S_IFCHR
8820 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8821 #endif
8823 #if defined S_ISLNK && defined S_IFREG
8824 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8825 #endif
8827 #if defined S_ISSOCK && defined S_IFREG
8828 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8829 #endif
8831 _ACEOF
8832 if ac_fn_c_try_compile "$LINENO"
8833 then :
8834 ac_cv_header_stat_broken=no
8835 else $as_nop
8836 ac_cv_header_stat_broken=yes
8838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8841 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8842 if test $ac_cv_header_stat_broken = yes; then
8844 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8850 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8851 #ifdef HAVE_SYS_PARAM_H
8852 # include <sys/param.h>
8853 #endif
8855 if test "x$ac_cv_header_sys_conf_h" = xyes
8856 then :
8857 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8860 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8861 #ifdef HAVE_SYS_PARAM_H
8862 # include <sys/param.h>
8863 #endif
8865 if test "x$ac_cv_header_sys_mount_h" = xyes
8866 then :
8867 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8870 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8871 #ifdef HAVE_SYS_PARAM_H
8872 # include <sys/param.h>
8873 #endif
8875 if test "x$ac_cv_header_sys_statfs_h" = xyes
8876 then :
8877 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8880 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8881 #ifdef HAVE_SYS_PARAM_H
8882 # include <sys/param.h>
8883 #endif
8885 if test "x$ac_cv_header_sys_user_h" = xyes
8886 then :
8887 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8890 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8891 #ifdef HAVE_SYS_PARAM_H
8892 # include <sys/param.h>
8893 #endif
8895 if test "x$ac_cv_header_sys_vfs_h" = xyes
8896 then :
8897 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8902 saved_sysctl_h_CFLAGS=$CFLAGS
8903 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8904 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8905 #ifdef HAVE_SYS_PARAM_H
8906 # include <sys/param.h>
8907 #endif
8909 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8910 then :
8911 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8915 CFLAGS=$saved_sysctl_h_CFLAGS
8917 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8918 #ifdef HAVE_SYS_SOCKET_H
8919 # include <sys/socket.h>
8920 #endif
8921 #ifdef HAVE_SYS_SOCKETVAR_H
8922 # include <sys/socketvar.h>
8923 #endif
8924 #ifdef HAVE_NET_ROUTE_H
8925 # include <net/route.h>
8926 #endif
8927 #ifdef HAVE_NETINET_IN_H
8928 # include <netinet/in.h>
8929 #endif
8930 #ifdef HAVE_NETINET_IN_SYSTM_H
8931 # include <netinet/in_systm.h>
8932 #endif
8933 #ifdef HAVE_NET_IF_H
8934 # include <net/if.h>
8935 #endif
8936 #ifdef HAVE_NETINET_IP_H
8937 # include <netinet/ip.h>
8938 #endif
8940 if test "x$ac_cv_header_netinet_ip_h" = xyes
8941 then :
8942 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8945 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8946 #ifdef HAVE_SYS_SOCKET_H
8947 # include <sys/socket.h>
8948 #endif
8949 #ifdef HAVE_SYS_SOCKETVAR_H
8950 # include <sys/socketvar.h>
8951 #endif
8952 #ifdef HAVE_NET_ROUTE_H
8953 # include <net/route.h>
8954 #endif
8955 #ifdef HAVE_NETINET_IN_H
8956 # include <netinet/in.h>
8957 #endif
8958 #ifdef HAVE_NETINET_IN_SYSTM_H
8959 # include <netinet/in_systm.h>
8960 #endif
8961 #ifdef HAVE_NET_IF_H
8962 # include <net/if.h>
8963 #endif
8964 #ifdef HAVE_NETINET_IP_H
8965 # include <netinet/ip.h>
8966 #endif
8968 if test "x$ac_cv_header_net_if_h" = xyes
8969 then :
8970 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8973 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8974 #ifdef HAVE_SYS_SOCKET_H
8975 # include <sys/socket.h>
8976 #endif
8977 #ifdef HAVE_SYS_SOCKETVAR_H
8978 # include <sys/socketvar.h>
8979 #endif
8980 #ifdef HAVE_NET_ROUTE_H
8981 # include <net/route.h>
8982 #endif
8983 #ifdef HAVE_NETINET_IN_H
8984 # include <netinet/in.h>
8985 #endif
8986 #ifdef HAVE_NETINET_IN_SYSTM_H
8987 # include <netinet/in_systm.h>
8988 #endif
8989 #ifdef HAVE_NET_IF_H
8990 # include <net/if.h>
8991 #endif
8992 #ifdef HAVE_NETINET_IP_H
8993 # include <netinet/ip.h>
8994 #endif
8996 if test "x$ac_cv_header_net_if_arp_h" = xyes
8997 then :
8998 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
9001 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
9002 #ifdef HAVE_SYS_SOCKET_H
9003 # include <sys/socket.h>
9004 #endif
9005 #ifdef HAVE_SYS_SOCKETVAR_H
9006 # include <sys/socketvar.h>
9007 #endif
9008 #ifdef HAVE_NET_ROUTE_H
9009 # include <net/route.h>
9010 #endif
9011 #ifdef HAVE_NETINET_IN_H
9012 # include <netinet/in.h>
9013 #endif
9014 #ifdef HAVE_NETINET_IN_SYSTM_H
9015 # include <netinet/in_systm.h>
9016 #endif
9017 #ifdef HAVE_NET_IF_H
9018 # include <net/if.h>
9019 #endif
9020 #ifdef HAVE_NETINET_IP_H
9021 # include <netinet/ip.h>
9022 #endif
9024 if test "x$ac_cv_header_net_if_dl_h" = xyes
9025 then :
9026 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
9029 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
9030 #ifdef HAVE_SYS_SOCKET_H
9031 # include <sys/socket.h>
9032 #endif
9033 #ifdef HAVE_SYS_SOCKETVAR_H
9034 # include <sys/socketvar.h>
9035 #endif
9036 #ifdef HAVE_NET_ROUTE_H
9037 # include <net/route.h>
9038 #endif
9039 #ifdef HAVE_NETINET_IN_H
9040 # include <netinet/in.h>
9041 #endif
9042 #ifdef HAVE_NETINET_IN_SYSTM_H
9043 # include <netinet/in_systm.h>
9044 #endif
9045 #ifdef HAVE_NET_IF_H
9046 # include <net/if.h>
9047 #endif
9048 #ifdef HAVE_NETINET_IP_H
9049 # include <netinet/ip.h>
9050 #endif
9052 if test "x$ac_cv_header_net_if_types_h" = xyes
9053 then :
9054 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
9057 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
9058 #ifdef HAVE_SYS_SOCKET_H
9059 # include <sys/socket.h>
9060 #endif
9061 #ifdef HAVE_SYS_SOCKETVAR_H
9062 # include <sys/socketvar.h>
9063 #endif
9064 #ifdef HAVE_NET_ROUTE_H
9065 # include <net/route.h>
9066 #endif
9067 #ifdef HAVE_NETINET_IN_H
9068 # include <netinet/in.h>
9069 #endif
9070 #ifdef HAVE_NETINET_IN_SYSTM_H
9071 # include <netinet/in_systm.h>
9072 #endif
9073 #ifdef HAVE_NET_IF_H
9074 # include <net/if.h>
9075 #endif
9076 #ifdef HAVE_NETINET_IP_H
9077 # include <netinet/ip.h>
9078 #endif
9080 if test "x$ac_cv_header_net_route_h" = xyes
9081 then :
9082 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
9085 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
9086 #ifdef HAVE_SYS_SOCKET_H
9087 # include <sys/socket.h>
9088 #endif
9089 #ifdef HAVE_SYS_SOCKETVAR_H
9090 # include <sys/socketvar.h>
9091 #endif
9092 #ifdef HAVE_NET_ROUTE_H
9093 # include <net/route.h>
9094 #endif
9095 #ifdef HAVE_NETINET_IN_H
9096 # include <netinet/in.h>
9097 #endif
9098 #ifdef HAVE_NETINET_IN_SYSTM_H
9099 # include <netinet/in_systm.h>
9100 #endif
9101 #ifdef HAVE_NET_IF_H
9102 # include <net/if.h>
9103 #endif
9104 #ifdef HAVE_NETINET_IP_H
9105 # include <netinet/ip.h>
9106 #endif
9108 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
9109 then :
9110 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
9113 ac_fn_c_check_header_compile "$LINENO" "netinet/if_inarp.h" "ac_cv_header_netinet_if_inarp_h" "#include <sys/types.h>
9114 #ifdef HAVE_SYS_SOCKET_H
9115 # include <sys/socket.h>
9116 #endif
9117 #ifdef HAVE_SYS_SOCKETVAR_H
9118 # include <sys/socketvar.h>
9119 #endif
9120 #ifdef HAVE_NET_ROUTE_H
9121 # include <net/route.h>
9122 #endif
9123 #ifdef HAVE_NETINET_IN_H
9124 # include <netinet/in.h>
9125 #endif
9126 #ifdef HAVE_NETINET_IN_SYSTM_H
9127 # include <netinet/in_systm.h>
9128 #endif
9129 #ifdef HAVE_NET_IF_H
9130 # include <net/if.h>
9131 #endif
9132 #ifdef HAVE_NETINET_IP_H
9133 # include <netinet/ip.h>
9134 #endif
9136 if test "x$ac_cv_header_netinet_if_inarp_h" = xyes
9137 then :
9138 printf "%s\n" "#define HAVE_NETINET_IF_INARP_H 1" >>confdefs.h
9141 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
9142 #ifdef HAVE_SYS_SOCKET_H
9143 # include <sys/socket.h>
9144 #endif
9145 #ifdef HAVE_SYS_SOCKETVAR_H
9146 # include <sys/socketvar.h>
9147 #endif
9148 #ifdef HAVE_NET_ROUTE_H
9149 # include <net/route.h>
9150 #endif
9151 #ifdef HAVE_NETINET_IN_H
9152 # include <netinet/in.h>
9153 #endif
9154 #ifdef HAVE_NETINET_IN_SYSTM_H
9155 # include <netinet/in_systm.h>
9156 #endif
9157 #ifdef HAVE_NET_IF_H
9158 # include <net/if.h>
9159 #endif
9160 #ifdef HAVE_NETINET_IP_H
9161 # include <netinet/ip.h>
9162 #endif
9164 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
9165 then :
9166 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
9169 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
9170 #ifdef HAVE_SYS_SOCKET_H
9171 # include <sys/socket.h>
9172 #endif
9173 #ifdef HAVE_SYS_SOCKETVAR_H
9174 # include <sys/socketvar.h>
9175 #endif
9176 #ifdef HAVE_NET_ROUTE_H
9177 # include <net/route.h>
9178 #endif
9179 #ifdef HAVE_NETINET_IN_H
9180 # include <netinet/in.h>
9181 #endif
9182 #ifdef HAVE_NETINET_IN_SYSTM_H
9183 # include <netinet/in_systm.h>
9184 #endif
9185 #ifdef HAVE_NET_IF_H
9186 # include <net/if.h>
9187 #endif
9188 #ifdef HAVE_NETINET_IP_H
9189 # include <netinet/ip.h>
9190 #endif
9192 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
9193 then :
9194 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
9197 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
9198 #ifdef HAVE_SYS_SOCKET_H
9199 # include <sys/socket.h>
9200 #endif
9201 #ifdef HAVE_SYS_SOCKETVAR_H
9202 # include <sys/socketvar.h>
9203 #endif
9204 #ifdef HAVE_NET_ROUTE_H
9205 # include <net/route.h>
9206 #endif
9207 #ifdef HAVE_NETINET_IN_H
9208 # include <netinet/in.h>
9209 #endif
9210 #ifdef HAVE_NETINET_IN_SYSTM_H
9211 # include <netinet/in_systm.h>
9212 #endif
9213 #ifdef HAVE_NET_IF_H
9214 # include <net/if.h>
9215 #endif
9216 #ifdef HAVE_NETINET_IP_H
9217 # include <netinet/ip.h>
9218 #endif
9220 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
9221 then :
9222 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
9225 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
9226 #ifdef HAVE_SYS_SOCKET_H
9227 # include <sys/socket.h>
9228 #endif
9229 #ifdef HAVE_SYS_SOCKETVAR_H
9230 # include <sys/socketvar.h>
9231 #endif
9232 #ifdef HAVE_NET_ROUTE_H
9233 # include <net/route.h>
9234 #endif
9235 #ifdef HAVE_NETINET_IN_H
9236 # include <netinet/in.h>
9237 #endif
9238 #ifdef HAVE_NETINET_IN_SYSTM_H
9239 # include <netinet/in_systm.h>
9240 #endif
9241 #ifdef HAVE_NET_IF_H
9242 # include <net/if.h>
9243 #endif
9244 #ifdef HAVE_NETINET_IP_H
9245 # include <netinet/ip.h>
9246 #endif
9248 if test "x$ac_cv_header_netinet_udp_h" = xyes
9249 then :
9250 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
9253 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
9254 #ifdef HAVE_SYS_SOCKET_H
9255 # include <sys/socket.h>
9256 #endif
9257 #ifdef HAVE_SYS_SOCKETVAR_H
9258 # include <sys/socketvar.h>
9259 #endif
9260 #ifdef HAVE_NET_ROUTE_H
9261 # include <net/route.h>
9262 #endif
9263 #ifdef HAVE_NETINET_IN_H
9264 # include <netinet/in.h>
9265 #endif
9266 #ifdef HAVE_NETINET_IN_SYSTM_H
9267 # include <netinet/in_systm.h>
9268 #endif
9269 #ifdef HAVE_NET_IF_H
9270 # include <net/if.h>
9271 #endif
9272 #ifdef HAVE_NETINET_IP_H
9273 # include <netinet/ip.h>
9274 #endif
9276 if test "x$ac_cv_header_netipx_ipx_h" = xyes
9277 then :
9278 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
9281 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
9282 #ifdef HAVE_SYS_SOCKET_H
9283 # include <sys/socket.h>
9284 #endif
9285 #ifdef HAVE_SYS_SOCKETVAR_H
9286 # include <sys/socketvar.h>
9287 #endif
9288 #ifdef HAVE_NET_ROUTE_H
9289 # include <net/route.h>
9290 #endif
9291 #ifdef HAVE_NETINET_IN_H
9292 # include <netinet/in.h>
9293 #endif
9294 #ifdef HAVE_NETINET_IN_SYSTM_H
9295 # include <netinet/in_systm.h>
9296 #endif
9297 #ifdef HAVE_NET_IF_H
9298 # include <net/if.h>
9299 #endif
9300 #ifdef HAVE_NETINET_IP_H
9301 # include <netinet/ip.h>
9302 #endif
9304 if test "x$ac_cv_header_sys_un_h" = xyes
9305 then :
9306 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
9311 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_timer.h" "ac_cv_header_netinet_tcp_timer_h" "#include <sys/types.h>
9312 #ifdef HAVE_ALIAS_H
9313 # include <alias.h>
9314 #endif
9315 #ifdef HAVE_SYS_SOCKET_H
9316 # include <sys/socket.h>
9317 #endif
9318 #ifdef HAVE_SYS_SOCKETVAR_H
9319 # include <sys/socketvar.h>
9320 #endif
9321 #ifdef HAVE_SYS_TIMEOUT_H
9322 # include <sys/timeout.h>
9323 #endif
9324 #ifdef HAVE_NETINET_IN_H
9325 # include <netinet/in.h>
9326 #endif
9327 #ifdef HAVE_NETINET_IN_SYSTM_H
9328 # include <netinet/in_systm.h>
9329 #endif
9330 #ifdef HAVE_NETINET_IP_H
9331 # include <netinet/ip.h>
9332 #endif
9333 #ifdef HAVE_NETINET_IP_VAR_H
9334 # include <netinet/ip_var.h>
9335 #endif
9336 #ifdef HAVE_NETINET_IP_ICMP_H
9337 # include <netinet/ip_icmp.h>
9338 #endif
9339 #ifdef HAVE_NETINET_UDP_H
9340 # include <netinet/udp.h>
9341 #endif
9342 #ifdef HAVE_NETINET_TCP_H
9343 # include <netinet/tcp.h>
9344 #endif
9345 #ifdef HAVE_NETINET_TCP_TIMER_H
9346 #include <netinet/tcp_timer.h>
9347 #endif
9349 if test "x$ac_cv_header_netinet_tcp_timer_h" = xyes
9350 then :
9351 printf "%s\n" "#define HAVE_NETINET_TCP_TIMER_H 1" >>confdefs.h
9354 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
9355 #ifdef HAVE_ALIAS_H
9356 # include <alias.h>
9357 #endif
9358 #ifdef HAVE_SYS_SOCKET_H
9359 # include <sys/socket.h>
9360 #endif
9361 #ifdef HAVE_SYS_SOCKETVAR_H
9362 # include <sys/socketvar.h>
9363 #endif
9364 #ifdef HAVE_SYS_TIMEOUT_H
9365 # include <sys/timeout.h>
9366 #endif
9367 #ifdef HAVE_NETINET_IN_H
9368 # include <netinet/in.h>
9369 #endif
9370 #ifdef HAVE_NETINET_IN_SYSTM_H
9371 # include <netinet/in_systm.h>
9372 #endif
9373 #ifdef HAVE_NETINET_IP_H
9374 # include <netinet/ip.h>
9375 #endif
9376 #ifdef HAVE_NETINET_IP_VAR_H
9377 # include <netinet/ip_var.h>
9378 #endif
9379 #ifdef HAVE_NETINET_IP_ICMP_H
9380 # include <netinet/ip_icmp.h>
9381 #endif
9382 #ifdef HAVE_NETINET_UDP_H
9383 # include <netinet/udp.h>
9384 #endif
9385 #ifdef HAVE_NETINET_TCP_H
9386 # include <netinet/tcp.h>
9387 #endif
9388 #ifdef HAVE_NETINET_TCP_TIMER_H
9389 #include <netinet/tcp_timer.h>
9390 #endif
9392 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
9393 then :
9394 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
9397 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
9398 #ifdef HAVE_ALIAS_H
9399 # include <alias.h>
9400 #endif
9401 #ifdef HAVE_SYS_SOCKET_H
9402 # include <sys/socket.h>
9403 #endif
9404 #ifdef HAVE_SYS_SOCKETVAR_H
9405 # include <sys/socketvar.h>
9406 #endif
9407 #ifdef HAVE_SYS_TIMEOUT_H
9408 # include <sys/timeout.h>
9409 #endif
9410 #ifdef HAVE_NETINET_IN_H
9411 # include <netinet/in.h>
9412 #endif
9413 #ifdef HAVE_NETINET_IN_SYSTM_H
9414 # include <netinet/in_systm.h>
9415 #endif
9416 #ifdef HAVE_NETINET_IP_H
9417 # include <netinet/ip.h>
9418 #endif
9419 #ifdef HAVE_NETINET_IP_VAR_H
9420 # include <netinet/ip_var.h>
9421 #endif
9422 #ifdef HAVE_NETINET_IP_ICMP_H
9423 # include <netinet/ip_icmp.h>
9424 #endif
9425 #ifdef HAVE_NETINET_UDP_H
9426 # include <netinet/udp.h>
9427 #endif
9428 #ifdef HAVE_NETINET_TCP_H
9429 # include <netinet/tcp.h>
9430 #endif
9431 #ifdef HAVE_NETINET_TCP_TIMER_H
9432 #include <netinet/tcp_timer.h>
9433 #endif
9435 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
9436 then :
9437 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
9440 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
9441 #ifdef HAVE_ALIAS_H
9442 # include <alias.h>
9443 #endif
9444 #ifdef HAVE_SYS_SOCKET_H
9445 # include <sys/socket.h>
9446 #endif
9447 #ifdef HAVE_SYS_SOCKETVAR_H
9448 # include <sys/socketvar.h>
9449 #endif
9450 #ifdef HAVE_SYS_TIMEOUT_H
9451 # include <sys/timeout.h>
9452 #endif
9453 #ifdef HAVE_NETINET_IN_H
9454 # include <netinet/in.h>
9455 #endif
9456 #ifdef HAVE_NETINET_IN_SYSTM_H
9457 # include <netinet/in_systm.h>
9458 #endif
9459 #ifdef HAVE_NETINET_IP_H
9460 # include <netinet/ip.h>
9461 #endif
9462 #ifdef HAVE_NETINET_IP_VAR_H
9463 # include <netinet/ip_var.h>
9464 #endif
9465 #ifdef HAVE_NETINET_IP_ICMP_H
9466 # include <netinet/ip_icmp.h>
9467 #endif
9468 #ifdef HAVE_NETINET_UDP_H
9469 # include <netinet/udp.h>
9470 #endif
9471 #ifdef HAVE_NETINET_TCP_H
9472 # include <netinet/tcp.h>
9473 #endif
9474 #ifdef HAVE_NETINET_TCP_TIMER_H
9475 #include <netinet/tcp_timer.h>
9476 #endif
9478 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9479 then :
9480 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9485 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9486 #ifdef HAVE_ASM_TYPES_H
9487 # include <asm/types.h>
9488 #endif
9489 #ifdef HAVE_SYS_SOCKET_H
9490 # include <sys/socket.h>
9491 #endif
9492 #ifdef HAVE_LINUX_TYPES_H
9493 # include <linux/types.h>
9494 #endif
9496 if test "x$ac_cv_header_linux_ipx_h" = xyes
9497 then :
9498 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9501 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9502 #ifdef HAVE_ASM_TYPES_H
9503 # include <asm/types.h>
9504 #endif
9505 #ifdef HAVE_SYS_SOCKET_H
9506 # include <sys/socket.h>
9507 #endif
9508 #ifdef HAVE_LINUX_TYPES_H
9509 # include <linux/types.h>
9510 #endif
9512 if test "x$ac_cv_header_linux_irda_h" = xyes
9513 then :
9514 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9517 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9518 #ifdef HAVE_ASM_TYPES_H
9519 # include <asm/types.h>
9520 #endif
9521 #ifdef HAVE_SYS_SOCKET_H
9522 # include <sys/socket.h>
9523 #endif
9524 #ifdef HAVE_LINUX_TYPES_H
9525 # include <linux/types.h>
9526 #endif
9528 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9529 then :
9530 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9535 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9536 #ifdef HAVE_SYS_SOCKET_H
9537 # include <sys/socket.h>
9538 #endif
9539 #ifdef HAVE_NETINET_IN_H
9540 # include <netinet/in.h>
9541 #endif
9542 #ifdef HAVE_ARPA_NAMESER_H
9543 # include <arpa/nameser.h>
9544 #endif
9546 if test "x$ac_cv_header_resolv_h" = xyes
9547 then :
9548 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9553 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9555 if test "x$ac_cv_header_ifaddrs_h" = xyes
9556 then :
9557 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9562 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9564 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9565 then :
9566 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9571 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9572 #ifdef HAVE_SYS_UCONTEXT_H
9573 #include <sys/ucontext.h>
9574 #endif
9576 if test "x$ac_cv_header_sys_thr_h" = xyes
9577 then :
9578 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9583 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9584 #include <pthread.h>
9585 #endif
9587 if test "x$ac_cv_header_pthread_np_h" = xyes
9588 then :
9589 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9594 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
9595 #include <sys/time.h>
9596 #endif
9597 #include <sys/types.h>
9598 #ifdef HAVE_ASM_TYPES_H
9599 #include <asm/types.h>
9600 #endif
9602 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9603 then :
9604 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9609 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9610 #include <sys/param.h>
9611 #endif
9612 #ifdef HAVE_SYS_QUEUE_H
9613 #include <sys/queue.h>
9614 #endif
9615 #ifdef HAVE_SYS_SOCKET_H
9616 #include <sys/socket.h>
9617 #endif
9619 if test "x$ac_cv_header_libprocstat_h" = xyes
9620 then :
9621 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9627 DLLFLAGS=""
9629 LDDLLFLAGS=""
9631 LDEXECFLAGS=""
9633 EXTRACFLAGS=""
9635 UNIXDLLFLAGS="-fPIC"
9637 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9639 TOP_INSTALL_LIB=""
9641 TOP_INSTALL_DEV=""
9643 WINELOADER_LDFLAGS=""
9645 WINEPRELOADER_LDFLAGS=""
9647 LIBEXT="so"
9648 # Extract the first word of "ldd", so it can be a program name with args.
9649 set dummy ldd; ac_word=$2
9650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9651 printf %s "checking for $ac_word... " >&6; }
9652 if test ${ac_cv_path_LDD+y}
9653 then :
9654 printf %s "(cached) " >&6
9655 else $as_nop
9656 case $LDD in
9657 [\\/]* | ?:[\\/]*)
9658 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9662 as_dummy="/sbin:/usr/sbin:$PATH"
9663 for as_dir in $as_dummy
9665 IFS=$as_save_IFS
9666 case $as_dir in #(((
9667 '') as_dir=./ ;;
9668 */) ;;
9669 *) as_dir=$as_dir/ ;;
9670 esac
9671 for ac_exec_ext in '' $ac_executable_extensions; do
9672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9673 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9675 break 2
9677 done
9678 done
9679 IFS=$as_save_IFS
9681 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9683 esac
9685 LDD=$ac_cv_path_LDD
9686 if test -n "$LDD"; then
9687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9688 printf "%s\n" "$LDD" >&6; }
9689 else
9690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9691 printf "%s\n" "no" >&6; }
9695 if test -n "$ac_tool_prefix"; then
9696 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9697 set dummy ${ac_tool_prefix}otool; ac_word=$2
9698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9699 printf %s "checking for $ac_word... " >&6; }
9700 if test ${ac_cv_prog_OTOOL+y}
9701 then :
9702 printf %s "(cached) " >&6
9703 else $as_nop
9704 if test -n "$OTOOL"; then
9705 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9706 else
9707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9708 for as_dir in $PATH
9710 IFS=$as_save_IFS
9711 case $as_dir in #(((
9712 '') as_dir=./ ;;
9713 */) ;;
9714 *) as_dir=$as_dir/ ;;
9715 esac
9716 for ac_exec_ext in '' $ac_executable_extensions; do
9717 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9718 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9720 break 2
9722 done
9723 done
9724 IFS=$as_save_IFS
9728 OTOOL=$ac_cv_prog_OTOOL
9729 if test -n "$OTOOL"; then
9730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9731 printf "%s\n" "$OTOOL" >&6; }
9732 else
9733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9734 printf "%s\n" "no" >&6; }
9739 if test -z "$ac_cv_prog_OTOOL"; then
9740 ac_ct_OTOOL=$OTOOL
9741 # Extract the first word of "otool", so it can be a program name with args.
9742 set dummy otool; ac_word=$2
9743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9744 printf %s "checking for $ac_word... " >&6; }
9745 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9746 then :
9747 printf %s "(cached) " >&6
9748 else $as_nop
9749 if test -n "$ac_ct_OTOOL"; then
9750 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9751 else
9752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9753 for as_dir in $PATH
9755 IFS=$as_save_IFS
9756 case $as_dir in #(((
9757 '') as_dir=./ ;;
9758 */) ;;
9759 *) as_dir=$as_dir/ ;;
9760 esac
9761 for ac_exec_ext in '' $ac_executable_extensions; do
9762 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9763 ac_cv_prog_ac_ct_OTOOL="otool"
9764 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9765 break 2
9767 done
9768 done
9769 IFS=$as_save_IFS
9773 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9774 if test -n "$ac_ct_OTOOL"; then
9775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9776 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9777 else
9778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9779 printf "%s\n" "no" >&6; }
9782 if test "x$ac_ct_OTOOL" = x; then
9783 OTOOL="otool"
9784 else
9785 case $cross_compiling:$ac_tool_warned in
9786 yes:)
9787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9788 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9789 ac_tool_warned=yes ;;
9790 esac
9791 OTOOL=$ac_ct_OTOOL
9793 else
9794 OTOOL="$ac_cv_prog_OTOOL"
9797 if test -n "$ac_tool_prefix"; then
9798 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9799 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9801 printf %s "checking for $ac_word... " >&6; }
9802 if test ${ac_cv_prog_READELF+y}
9803 then :
9804 printf %s "(cached) " >&6
9805 else $as_nop
9806 if test -n "$READELF"; then
9807 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9808 else
9809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9810 for as_dir in $PATH
9812 IFS=$as_save_IFS
9813 case $as_dir in #(((
9814 '') as_dir=./ ;;
9815 */) ;;
9816 *) as_dir=$as_dir/ ;;
9817 esac
9818 for ac_exec_ext in '' $ac_executable_extensions; do
9819 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9820 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9822 break 2
9824 done
9825 done
9826 IFS=$as_save_IFS
9830 READELF=$ac_cv_prog_READELF
9831 if test -n "$READELF"; then
9832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9833 printf "%s\n" "$READELF" >&6; }
9834 else
9835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9836 printf "%s\n" "no" >&6; }
9841 if test -z "$ac_cv_prog_READELF"; then
9842 ac_ct_READELF=$READELF
9843 # Extract the first word of "readelf", so it can be a program name with args.
9844 set dummy readelf; ac_word=$2
9845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9846 printf %s "checking for $ac_word... " >&6; }
9847 if test ${ac_cv_prog_ac_ct_READELF+y}
9848 then :
9849 printf %s "(cached) " >&6
9850 else $as_nop
9851 if test -n "$ac_ct_READELF"; then
9852 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9853 else
9854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9855 for as_dir in $PATH
9857 IFS=$as_save_IFS
9858 case $as_dir in #(((
9859 '') as_dir=./ ;;
9860 */) ;;
9861 *) as_dir=$as_dir/ ;;
9862 esac
9863 for ac_exec_ext in '' $ac_executable_extensions; do
9864 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9865 ac_cv_prog_ac_ct_READELF="readelf"
9866 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9867 break 2
9869 done
9870 done
9871 IFS=$as_save_IFS
9875 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9876 if test -n "$ac_ct_READELF"; then
9877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9878 printf "%s\n" "$ac_ct_READELF" >&6; }
9879 else
9880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9881 printf "%s\n" "no" >&6; }
9884 if test "x$ac_ct_READELF" = x; then
9885 READELF="true"
9886 else
9887 case $cross_compiling:$ac_tool_warned in
9888 yes:)
9889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9890 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9891 ac_tool_warned=yes ;;
9892 esac
9893 READELF=$ac_ct_READELF
9895 else
9896 READELF="$ac_cv_prog_READELF"
9899 wine_rules="all:"
9900 SUBDIRS=""
9902 DISABLED_SUBDIRS=""
9904 CONFIGURE_TARGETS=""
9907 wine_fn_append_file ()
9909 as_fn_append $1 " \\$as_nl $2"
9912 wine_fn_append_rule ()
9914 as_fn_append wine_rules "$as_nl$1"
9917 wine_fn_config_makefile ()
9919 wine_fn_append_file SUBDIRS $1
9920 if eval test \"x\$"$2"\" = x"no"
9921 then :
9922 wine_fn_append_file DISABLED_SUBDIRS $1
9926 wine_fn_config_symlink ()
9928 ac_links=$@
9929 wine_fn_append_rule \
9930 "$ac_links:
9931 @./config.status \$@"
9932 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9935 wine_binary="wine"
9936 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9937 WINELOADER_PROGRAMS="$wine_binary"
9939 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9941 case $host_os in
9942 cygwin*|mingw32*)
9943 if test -n "$ac_tool_prefix"; then
9944 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9945 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9947 printf %s "checking for $ac_word... " >&6; }
9948 if test ${ac_cv_prog_DLLTOOL+y}
9949 then :
9950 printf %s "(cached) " >&6
9951 else $as_nop
9952 if test -n "$DLLTOOL"; then
9953 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9954 else
9955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9956 for as_dir in $PATH
9958 IFS=$as_save_IFS
9959 case $as_dir in #(((
9960 '') as_dir=./ ;;
9961 */) ;;
9962 *) as_dir=$as_dir/ ;;
9963 esac
9964 for ac_exec_ext in '' $ac_executable_extensions; do
9965 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9966 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9968 break 2
9970 done
9971 done
9972 IFS=$as_save_IFS
9976 DLLTOOL=$ac_cv_prog_DLLTOOL
9977 if test -n "$DLLTOOL"; then
9978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9979 printf "%s\n" "$DLLTOOL" >&6; }
9980 else
9981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9982 printf "%s\n" "no" >&6; }
9987 if test -z "$ac_cv_prog_DLLTOOL"; then
9988 ac_ct_DLLTOOL=$DLLTOOL
9989 # Extract the first word of "dlltool", so it can be a program name with args.
9990 set dummy dlltool; ac_word=$2
9991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9992 printf %s "checking for $ac_word... " >&6; }
9993 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9994 then :
9995 printf %s "(cached) " >&6
9996 else $as_nop
9997 if test -n "$ac_ct_DLLTOOL"; then
9998 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9999 else
10000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10001 for as_dir in $PATH
10003 IFS=$as_save_IFS
10004 case $as_dir in #(((
10005 '') as_dir=./ ;;
10006 */) ;;
10007 *) as_dir=$as_dir/ ;;
10008 esac
10009 for ac_exec_ext in '' $ac_executable_extensions; do
10010 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10011 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
10012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10013 break 2
10015 done
10016 done
10017 IFS=$as_save_IFS
10021 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
10022 if test -n "$ac_ct_DLLTOOL"; then
10023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
10024 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
10025 else
10026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10027 printf "%s\n" "no" >&6; }
10030 if test "x$ac_ct_DLLTOOL" = x; then
10031 DLLTOOL="false"
10032 else
10033 case $cross_compiling:$ac_tool_warned in
10034 yes:)
10035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10036 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10037 ac_tool_warned=yes ;;
10038 esac
10039 DLLTOOL=$ac_ct_DLLTOOL
10041 else
10042 DLLTOOL="$ac_cv_prog_DLLTOOL"
10045 LIBEXT="dll"
10046 EXTRACFLAGS="-D__WINE_PE_BUILD"
10047 case $host_cpu in
10048 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
10049 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
10050 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
10051 then :
10052 printf %s "(cached) " >&6
10053 else $as_nop
10054 ac_wine_try_cflags_saved=$CFLAGS
10055 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
10056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10057 /* end confdefs.h. */
10058 int main(int argc, char **argv) { return 0; }
10059 _ACEOF
10060 if ac_fn_c_try_link "$LINENO"
10061 then :
10062 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
10063 else $as_nop
10064 ac_cv_cflags__Wl___disable_stdcall_fixup=no
10066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10067 conftest$ac_exeext conftest.$ac_ext
10068 CFLAGS=$ac_wine_try_cflags_saved
10070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
10071 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
10072 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
10073 then :
10074 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
10075 fi ;;
10076 esac
10077 enable_mountmgr_sys=${enable_mountmgr_sys:-no}
10078 enable_loader=${enable_loader:-no}
10079 enable_server=${enable_server:-no}
10080 with_x=${with_x:-no}
10081 with_pthread=${with_pthread:-no}
10084 darwin*|macosx*)
10085 ac_ext=m
10086 ac_cpp='$OBJCPP $CPPFLAGS'
10087 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10088 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10089 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10091 ac_ext=m
10092 ac_cpp='$OBJCPP $CPPFLAGS'
10093 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10094 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10095 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10096 if test -n "$ac_tool_prefix"; then
10097 for ac_prog in gcc objcc objc cc CC clang
10099 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10100 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10102 printf %s "checking for $ac_word... " >&6; }
10103 if test ${ac_cv_prog_OBJC+y}
10104 then :
10105 printf %s "(cached) " >&6
10106 else $as_nop
10107 if test -n "$OBJC"; then
10108 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
10109 else
10110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10111 for as_dir in $PATH
10113 IFS=$as_save_IFS
10114 case $as_dir in #(((
10115 '') as_dir=./ ;;
10116 */) ;;
10117 *) as_dir=$as_dir/ ;;
10118 esac
10119 for ac_exec_ext in '' $ac_executable_extensions; do
10120 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10121 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
10122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10123 break 2
10125 done
10126 done
10127 IFS=$as_save_IFS
10131 OBJC=$ac_cv_prog_OBJC
10132 if test -n "$OBJC"; then
10133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
10134 printf "%s\n" "$OBJC" >&6; }
10135 else
10136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10137 printf "%s\n" "no" >&6; }
10141 test -n "$OBJC" && break
10142 done
10144 if test -z "$OBJC"; then
10145 ac_ct_OBJC=$OBJC
10146 for ac_prog in gcc objcc objc cc CC clang
10148 # Extract the first word of "$ac_prog", so it can be a program name with args.
10149 set dummy $ac_prog; ac_word=$2
10150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10151 printf %s "checking for $ac_word... " >&6; }
10152 if test ${ac_cv_prog_ac_ct_OBJC+y}
10153 then :
10154 printf %s "(cached) " >&6
10155 else $as_nop
10156 if test -n "$ac_ct_OBJC"; then
10157 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
10158 else
10159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10160 for as_dir in $PATH
10162 IFS=$as_save_IFS
10163 case $as_dir in #(((
10164 '') as_dir=./ ;;
10165 */) ;;
10166 *) as_dir=$as_dir/ ;;
10167 esac
10168 for ac_exec_ext in '' $ac_executable_extensions; do
10169 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10170 ac_cv_prog_ac_ct_OBJC="$ac_prog"
10171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10172 break 2
10174 done
10175 done
10176 IFS=$as_save_IFS
10180 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
10181 if test -n "$ac_ct_OBJC"; then
10182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
10183 printf "%s\n" "$ac_ct_OBJC" >&6; }
10184 else
10185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10186 printf "%s\n" "no" >&6; }
10190 test -n "$ac_ct_OBJC" && break
10191 done
10193 if test "x$ac_ct_OBJC" = x; then
10194 OBJC="gcc"
10195 else
10196 case $cross_compiling:$ac_tool_warned in
10197 yes:)
10198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10199 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10200 ac_tool_warned=yes ;;
10201 esac
10202 OBJC=$ac_ct_OBJC
10206 # Provide some information about the compiler.
10207 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
10208 set X $ac_compile
10209 ac_compiler=$2
10210 for ac_option in --version -v -V -qversion; do
10211 { { ac_try="$ac_compiler $ac_option >&5"
10212 case "(($ac_try" in
10213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10214 *) ac_try_echo=$ac_try;;
10215 esac
10216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10217 printf "%s\n" "$ac_try_echo"; } >&5
10218 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10219 ac_status=$?
10220 if test -s conftest.err; then
10221 sed '10a\
10222 ... rest of stderr output deleted ...
10223 10q' conftest.err >conftest.er1
10224 cat conftest.er1 >&5
10226 rm -f conftest.er1 conftest.err
10227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10228 test $ac_status = 0; }
10229 done
10231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
10232 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
10233 if test ${ac_cv_objc_compiler_gnu+y}
10234 then :
10235 printf %s "(cached) " >&6
10236 else $as_nop
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10241 main (void)
10243 #ifndef __GNUC__
10244 choke me
10245 #endif
10248 return 0;
10250 _ACEOF
10251 if ac_fn_objc_try_compile "$LINENO"
10252 then :
10253 ac_compiler_gnu=yes
10254 else $as_nop
10255 ac_compiler_gnu=no
10257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10258 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
10261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
10262 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
10263 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10265 if test $ac_compiler_gnu = yes; then
10266 GOBJC=yes
10267 else
10268 GOBJC=
10270 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
10271 ac_save_OBJCFLAGS=$OBJCFLAGS
10272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
10273 printf %s "checking whether $OBJC accepts -g... " >&6; }
10274 if test ${ac_cv_prog_objc_g+y}
10275 then :
10276 printf %s "(cached) " >&6
10277 else $as_nop
10278 ac_save_objc_werror_flag=$ac_objc_werror_flag
10279 ac_objc_werror_flag=yes
10280 ac_cv_prog_objc_g=no
10281 OBJCFLAGS="-g"
10282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10283 /* end confdefs.h. */
10286 main (void)
10290 return 0;
10292 _ACEOF
10293 if ac_fn_objc_try_compile "$LINENO"
10294 then :
10295 ac_cv_prog_objc_g=yes
10296 else $as_nop
10297 OBJCFLAGS=""
10298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10299 /* end confdefs.h. */
10302 main (void)
10306 return 0;
10308 _ACEOF
10309 if ac_fn_objc_try_compile "$LINENO"
10310 then :
10312 else $as_nop
10313 ac_objc_werror_flag=$ac_save_objc_werror_flag
10314 OBJCFLAGS="-g"
10315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10319 main (void)
10323 return 0;
10325 _ACEOF
10326 if ac_fn_objc_try_compile "$LINENO"
10327 then :
10328 ac_cv_prog_objc_g=yes
10330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10335 ac_objc_werror_flag=$ac_save_objc_werror_flag
10337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
10338 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
10339 if test $ac_test_OBJCFLAGS; then
10340 OBJCFLAGS=$ac_save_OBJCFLAGS
10341 elif test $ac_cv_prog_objc_g = yes; then
10342 if test "$GOBJC" = yes; then
10343 OBJCFLAGS="-g -O2"
10344 else
10345 OBJCFLAGS="-g"
10347 else
10348 if test "$GOBJC" = yes; then
10349 OBJCFLAGS="-O2"
10350 else
10351 OBJCFLAGS=
10354 ac_ext=m
10355 ac_cpp='$OBJCPP $CPPFLAGS'
10356 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10357 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10358 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10361 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
10362 if test "x$ac_cv_header_Metal_Metal_h" = xyes
10363 then :
10364 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
10368 ac_ext=c
10369 ac_cpp='$CPP $CPPFLAGS'
10370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10374 LIBEXT="dylib"
10375 DLLFLAGS="$DLLFLAGS -fPIC"
10376 LDDLLFLAGS="-fPIC"
10377 COREFOUNDATION_LIBS="-framework CoreFoundation"
10379 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
10381 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
10383 CORESERVICES_LIBS="-framework CoreServices"
10385 APPKIT_LIBS="-framework AppKit"
10387 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
10390 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
10392 wine_can_build_preloader=yes
10393 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"
10394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
10395 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
10396 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
10397 then :
10398 printf %s "(cached) " >&6
10399 else $as_nop
10400 ac_wine_try_cflags_saved=$CFLAGS
10401 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
10402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10404 int main(int argc, char **argv) { return 0; }
10405 _ACEOF
10406 if ac_fn_c_try_link "$LINENO"
10407 then :
10408 ac_cv_cflags__Wl__no_new_main__e__main=yes
10409 else $as_nop
10410 ac_cv_cflags__Wl__no_new_main__e__main=no
10412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10413 conftest$ac_exeext conftest.$ac_ext
10414 CFLAGS=$ac_wine_try_cflags_saved
10416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
10417 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
10418 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
10419 then :
10420 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
10421 { 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
10422 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10423 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10424 then :
10425 printf %s "(cached) " >&6
10426 else $as_nop
10427 ac_wine_try_cflags_saved=$CFLAGS
10428 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10430 /* end confdefs.h. */
10431 int main(int argc, char **argv) { return 0; }
10432 _ACEOF
10433 if ac_fn_c_try_link "$LINENO"
10434 then :
10435 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10436 else $as_nop
10437 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10440 conftest$ac_exeext conftest.$ac_ext
10441 CFLAGS=$ac_wine_try_cflags_saved
10443 { 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
10444 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10445 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10446 then :
10447 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10448 else $as_nop
10449 wine_can_build_preloader=no
10451 else $as_nop
10452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10453 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10454 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10455 then :
10456 printf %s "(cached) " >&6
10457 else $as_nop
10458 ac_wine_try_cflags_saved=$CFLAGS
10459 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10461 /* end confdefs.h. */
10462 int main(int argc, char **argv) { return 0; }
10463 _ACEOF
10464 if ac_fn_c_try_link "$LINENO"
10465 then :
10466 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10467 else $as_nop
10468 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10471 conftest$ac_exeext conftest.$ac_ext
10472 CFLAGS=$ac_wine_try_cflags_saved
10474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10475 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10476 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10477 then :
10478 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10479 else $as_nop
10480 wine_can_build_preloader=no
10483 if test "$wine_can_build_preloader" = "yes"
10484 then
10485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
10486 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
10487 if test ${ac_cv_cflags__Wl__no_pie+y}
10488 then :
10489 printf %s "(cached) " >&6
10490 else $as_nop
10491 ac_wine_try_cflags_saved=$CFLAGS
10492 CFLAGS="$CFLAGS -Wl,-no_pie"
10493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10494 /* end confdefs.h. */
10495 int main(int argc, char **argv) { return 0; }
10496 _ACEOF
10497 if ac_fn_c_try_link "$LINENO"
10498 then :
10499 ac_cv_cflags__Wl__no_pie=yes
10500 else $as_nop
10501 ac_cv_cflags__Wl__no_pie=no
10503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10504 conftest$ac_exeext conftest.$ac_ext
10505 CFLAGS=$ac_wine_try_cflags_saved
10507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
10508 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
10509 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
10510 then :
10511 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
10513 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
10514 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
10515 else
10516 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10519 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10520 then
10521 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10524 if test "$ac_cv_header_Security_Security_h" = "yes"
10525 then
10526 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10529 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10530 then
10531 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10533 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10535 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10536 then
10537 OPENAL_LIBS="-framework OpenAL"
10540 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10542 ac_cv_lib_openal=yes
10544 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10545 then
10546 OPENCL_LIBS="-framework OpenCL"
10548 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10550 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10551 then
10552 ac_save_LIBS="$LIBS"
10553 LIBS="$LIBS $IOKIT_LIBS"
10554 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10555 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10556 then :
10557 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10561 LIBS="$ac_save_LIBS"
10564 if test "x$with_quicktime" != "xno"
10565 then
10566 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
10567 then
10568 ac_save_LIBS="$LIBS"
10569 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
10570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
10571 printf %s "checking for the QuickTime framework... " >&6; }
10572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10573 /* end confdefs.h. */
10574 #include <QuickTime/ImageCompression.h>
10576 main (void)
10578 CodecManagerVersion(NULL);
10580 return 0;
10582 _ACEOF
10583 if ac_fn_c_try_link "$LINENO"
10584 then :
10585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10586 printf "%s\n" "yes" >&6; }
10587 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
10589 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
10590 else $as_nop
10591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10592 printf "%s\n" "no" >&6; }
10593 ac_cv_header_QuickTime_ImageCompression_h=no
10595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10596 conftest$ac_exeext conftest.$ac_ext
10597 LIBS="$ac_save_LIBS"
10600 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
10601 then :
10602 case "x$with_quicktime" in
10603 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
10604 xno) ;;
10605 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
10606 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
10607 esac
10611 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10612 then
10613 CARBON_LIBS="-framework Carbon"
10616 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10617 then
10618 METAL_LIBS="-framework Metal -framework QuartzCore"
10622 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10623 then
10624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10625 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10626 ac_ext=m
10627 ac_cpp='$OBJCPP $CPPFLAGS'
10628 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10629 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10630 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10633 /* end confdefs.h. */
10634 #include <Metal/Metal.h>
10636 main (void)
10638 id<MTLDevice> device; device.registryID;
10640 return 0;
10642 _ACEOF
10643 if ac_fn_objc_try_compile "$LINENO"
10644 then :
10645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10646 printf "%s\n" "yes" >&6; }
10648 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10650 else $as_nop
10651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10652 printf "%s\n" "no" >&6; }
10654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10655 ac_ext=c
10656 ac_cpp='$CPP $CPPFLAGS'
10657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10663 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10664 then
10665 ac_save_LIBS="$LIBS"
10666 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10667 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10668 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10669 then :
10670 enable_winemac_drv=${enable_winemac_drv:-yes}
10673 LIBS="$ac_save_LIBS"
10676 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
10677 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10679 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10681 WINELOADER_DEPENDS="wine_info.plist"
10683 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10686 linux-android*)
10688 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10690 DLLFLAGS="$DLLFLAGS -fPIC"
10691 LDDLLFLAGS="-fPIC"
10692 LDEXECFLAGS="-Wl,-pie"
10693 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10695 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10696 if test ${ac_cv_cflags__Wl__z_defs+y}
10697 then :
10698 printf %s "(cached) " >&6
10699 else $as_nop
10700 ac_wine_try_cflags_saved=$CFLAGS
10701 CFLAGS="$CFLAGS -Wl,-z,defs"
10702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10704 int main(int argc, char **argv) { return 0; }
10705 _ACEOF
10706 if ac_fn_c_try_link "$LINENO"
10707 then :
10708 ac_cv_cflags__Wl__z_defs=yes
10709 else $as_nop
10710 ac_cv_cflags__Wl__z_defs=no
10712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10713 conftest$ac_exeext conftest.$ac_ext
10714 CFLAGS=$ac_wine_try_cflags_saved
10716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10717 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10718 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10719 then :
10720 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10723 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10724 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10725 then :
10726 printf %s "(cached) " >&6
10727 else $as_nop
10728 ac_wine_try_cflags_saved=$CFLAGS
10729 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10731 /* end confdefs.h. */
10732 int main(int argc, char **argv) { return 0; }
10733 _ACEOF
10734 if ac_fn_c_try_link "$LINENO"
10735 then :
10736 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10737 else $as_nop
10738 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10741 conftest$ac_exeext conftest.$ac_ext
10742 CFLAGS=$ac_wine_try_cflags_saved
10744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10745 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10746 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10747 then :
10748 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10750 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10753 printf %s "checking for -lEGL... " >&6; }
10754 if test ${ac_cv_lib_soname_EGL+y}
10755 then :
10756 printf %s "(cached) " >&6
10757 else $as_nop
10758 ac_check_soname_save_LIBS=$LIBS
10759 LIBS="-lEGL $LIBS"
10760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10761 /* end confdefs.h. */
10763 /* Override any GCC internal prototype to avoid an error.
10764 Use char because int might match the return type of a GCC
10765 builtin and then its argument prototype would still apply. */
10766 char eglGetProcAddress ();
10768 main (void)
10770 return eglGetProcAddress ();
10772 return 0;
10774 _ACEOF
10775 if ac_fn_c_try_link "$LINENO"
10776 then :
10777 case "$LIBEXT" in
10778 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10779 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'` ;;
10780 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10781 if ${ac_cv_lib_soname_EGL:+false} :
10782 then :
10783 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10784 fi ;;
10785 esac
10786 else $as_nop
10787 ac_cv_lib_soname_EGL=
10789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10790 conftest$ac_exeext conftest.$ac_ext
10791 LIBS=$ac_check_soname_save_LIBS
10793 if ${ac_cv_lib_soname_EGL:+false} :
10794 then :
10795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10796 printf "%s\n" "not found" >&6; }
10798 else $as_nop
10799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10800 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10802 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10807 printf %s "checking for -lGLESv2... " >&6; }
10808 if test ${ac_cv_lib_soname_GLESv2+y}
10809 then :
10810 printf %s "(cached) " >&6
10811 else $as_nop
10812 ac_check_soname_save_LIBS=$LIBS
10813 LIBS="-lGLESv2 $LIBS"
10814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10815 /* end confdefs.h. */
10817 /* Override any GCC internal prototype to avoid an error.
10818 Use char because int might match the return type of a GCC
10819 builtin and then its argument prototype would still apply. */
10820 char glFlush ();
10822 main (void)
10824 return glFlush ();
10826 return 0;
10828 _ACEOF
10829 if ac_fn_c_try_link "$LINENO"
10830 then :
10831 case "$LIBEXT" in
10832 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10833 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'` ;;
10834 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10835 if ${ac_cv_lib_soname_GLESv2:+false} :
10836 then :
10837 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10838 fi ;;
10839 esac
10840 else $as_nop
10841 ac_cv_lib_soname_GLESv2=
10843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10844 conftest$ac_exeext conftest.$ac_ext
10845 LIBS=$ac_check_soname_save_LIBS
10847 if ${ac_cv_lib_soname_GLESv2:+false} :
10848 then :
10849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10850 printf "%s\n" "not found" >&6; }
10852 else $as_nop
10853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10854 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10856 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10861 if test "x$exec_prefix" = xNONE
10862 then
10863 case $host_cpu in
10864 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10865 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10866 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10867 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10868 esac
10874 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10876 case $host_cpu in
10877 *i[3456789]86*)
10878 DLLFLAGS="$DLLFLAGS -fno-PIC"
10879 LDDLLFLAGS="-fno-PIC"
10880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10881 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10882 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10883 then :
10884 printf %s "(cached) " >&6
10885 else $as_nop
10886 ac_wine_try_cflags_saved=$CFLAGS
10887 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10889 /* end confdefs.h. */
10890 int main(int argc, char **argv) { return 0; }
10891 _ACEOF
10892 if ac_fn_c_try_link "$LINENO"
10893 then :
10894 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10895 else $as_nop
10896 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10899 conftest$ac_exeext conftest.$ac_ext
10900 CFLAGS=$ac_wine_try_cflags_saved
10902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10903 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10904 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10905 then :
10906 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10910 DLLFLAGS="$DLLFLAGS -fPIC"
10911 LDDLLFLAGS="-fPIC" ;;
10912 esac
10913 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10915 echo '{ global: *; };' >conftest.map
10916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10917 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10918 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10919 then :
10920 printf %s "(cached) " >&6
10921 else $as_nop
10922 ac_wine_try_cflags_saved=$CFLAGS
10923 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10925 /* end confdefs.h. */
10926 int main(int argc, char **argv) { return 0; }
10927 _ACEOF
10928 if ac_fn_c_try_link "$LINENO"
10929 then :
10930 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10931 else $as_nop
10932 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10935 conftest$ac_exeext conftest.$ac_ext
10936 CFLAGS=$ac_wine_try_cflags_saved
10938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10939 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10940 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10941 then :
10942 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10944 rm -f conftest.map
10946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10947 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10948 if test ${ac_cv_cflags__Wl__z_defs+y}
10949 then :
10950 printf %s "(cached) " >&6
10951 else $as_nop
10952 ac_wine_try_cflags_saved=$CFLAGS
10953 CFLAGS="$CFLAGS -Wl,-z,defs"
10954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10955 /* end confdefs.h. */
10956 int main(int argc, char **argv) { return 0; }
10957 _ACEOF
10958 if ac_fn_c_try_link "$LINENO"
10959 then :
10960 ac_cv_cflags__Wl__z_defs=yes
10961 else $as_nop
10962 ac_cv_cflags__Wl__z_defs=no
10964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10965 conftest$ac_exeext conftest.$ac_ext
10966 CFLAGS=$ac_wine_try_cflags_saved
10968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10969 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10970 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10971 then :
10972 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10975 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10976 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10977 then :
10978 printf %s "(cached) " >&6
10979 else $as_nop
10980 ac_wine_try_cflags_saved=$CFLAGS
10981 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h. */
10984 int main(int argc, char **argv) { return 0; }
10985 _ACEOF
10986 if ac_fn_c_try_link "$LINENO"
10987 then :
10988 ac_cv_cflags__Wl___export_dynamic=yes
10989 else $as_nop
10990 ac_cv_cflags__Wl___export_dynamic=no
10992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10993 conftest$ac_exeext conftest.$ac_ext
10994 CFLAGS=$ac_wine_try_cflags_saved
10996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10997 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10998 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10999 then :
11000 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
11002 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
11004 case $host_cpu in
11005 *i[3456789]86* | x86_64 | *aarch64* | arm*)
11006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
11007 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
11008 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
11009 then :
11010 printf %s "(cached) " >&6
11011 else $as_nop
11012 ac_wine_try_cflags_saved=$CFLAGS
11013 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
11014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11015 /* end confdefs.h. */
11016 int main(int argc, char **argv) { return 0; }
11017 _ACEOF
11018 if ac_fn_c_try_link "$LINENO"
11019 then :
11020 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
11021 else $as_nop
11022 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
11024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11025 conftest$ac_exeext conftest.$ac_ext
11026 CFLAGS=$ac_wine_try_cflags_saved
11028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
11029 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
11030 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
11031 then :
11032 case $host_os in
11033 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
11034 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
11035 esac
11036 else $as_nop
11037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
11038 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
11039 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
11040 then :
11041 printf %s "(cached) " >&6
11042 else $as_nop
11043 ac_wine_try_cflags_saved=$CFLAGS
11044 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
11045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11046 /* end confdefs.h. */
11047 int main(int argc, char **argv) { return 0; }
11048 _ACEOF
11049 if ac_fn_c_try_link "$LINENO"
11050 then :
11051 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
11052 else $as_nop
11053 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
11055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11056 conftest$ac_exeext conftest.$ac_ext
11057 CFLAGS=$ac_wine_try_cflags_saved
11059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
11060 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
11061 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
11062 then :
11063 case $host_os in
11064 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
11065 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
11066 esac
11068 # Extract the first word of "prelink", so it can be a program name with args.
11069 set dummy prelink; ac_word=$2
11070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11071 printf %s "checking for $ac_word... " >&6; }
11072 if test ${ac_cv_path_PRELINK+y}
11073 then :
11074 printf %s "(cached) " >&6
11075 else $as_nop
11076 case $PRELINK in
11077 [\\/]* | ?:[\\/]*)
11078 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
11081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11082 for as_dir in /sbin /usr/sbin $PATH
11084 IFS=$as_save_IFS
11085 case $as_dir in #(((
11086 '') as_dir=./ ;;
11087 */) ;;
11088 *) as_dir=$as_dir/ ;;
11089 esac
11090 for ac_exec_ext in '' $ac_executable_extensions; do
11091 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11092 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
11093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11094 break 2
11096 done
11097 done
11098 IFS=$as_save_IFS
11100 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
11102 esac
11104 PRELINK=$ac_cv_path_PRELINK
11105 if test -n "$PRELINK"; then
11106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
11107 printf "%s\n" "$PRELINK" >&6; }
11108 else
11109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11110 printf "%s\n" "no" >&6; }
11114 if test "x$PRELINK" = xfalse
11115 then
11116 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
11119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
11120 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
11121 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
11122 then :
11123 printf %s "(cached) " >&6
11124 else $as_nop
11125 ac_wine_try_cflags_saved=$CFLAGS
11126 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11129 int main(int argc, char **argv) { return 0; }
11130 _ACEOF
11131 if ac_fn_c_try_link "$LINENO"
11132 then :
11133 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
11134 else $as_nop
11135 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
11137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11138 conftest$ac_exeext conftest.$ac_ext
11139 CFLAGS=$ac_wine_try_cflags_saved
11141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
11142 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
11143 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
11144 then :
11145 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
11148 esac
11149 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
11151 LIBWINE_DEPENDS="wine.map"
11153 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
11155 esac
11157 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
11158 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
11159 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
11160 enable_winemac_drv=${enable_winemac_drv:-no}
11161 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
11164 if test "x$with_mingw" != xno
11165 then
11166 case "x$with_mingw" in
11167 x|xyes) case "$host_cpu" in
11168 aarch64*)
11169 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
11170 arm*)
11171 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
11172 i[3456789]86*)
11173 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
11174 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
11175 mingw32-gcc clang" ;;
11176 x86_64)
11177 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
11178 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
11180 ac_prefix_list="" ;;
11181 esac
11182 for ac_prog in $ac_prefix_list
11184 # Extract the first word of "$ac_prog", so it can be a program name with args.
11185 set dummy $ac_prog; ac_word=$2
11186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11187 printf %s "checking for $ac_word... " >&6; }
11188 if test ${ac_cv_prog_CROSSCC+y}
11189 then :
11190 printf %s "(cached) " >&6
11191 else $as_nop
11192 if test -n "$CROSSCC"; then
11193 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
11194 else
11195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11196 for as_dir in $PATH
11198 IFS=$as_save_IFS
11199 case $as_dir in #(((
11200 '') as_dir=./ ;;
11201 */) ;;
11202 *) as_dir=$as_dir/ ;;
11203 esac
11204 for ac_exec_ext in '' $ac_executable_extensions; do
11205 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11206 ac_cv_prog_CROSSCC="$ac_prog"
11207 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11208 break 2
11210 done
11211 done
11212 IFS=$as_save_IFS
11216 CROSSCC=$ac_cv_prog_CROSSCC
11217 if test -n "$CROSSCC"; then
11218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
11219 printf "%s\n" "$CROSSCC" >&6; }
11220 else
11221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11222 printf "%s\n" "no" >&6; }
11226 test -n "$CROSSCC" && break
11227 done
11228 test -n "$CROSSCC" || CROSSCC="false"
11230 *) CROSSCC=$with_mingw ;;
11231 esac
11232 if test "$CROSSCC" != "false"
11233 then
11234 ac_save_CC="$CC"
11235 saved_CFLAGS=$CFLAGS
11236 saved_LDFLAGS=$LDFLAGS
11237 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
11239 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
11243 CC="$CROSSCC"
11244 CFLAGS=$CROSSCFLAGS
11245 LDFLAGS=$CROSSLDFLAGS
11246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
11247 printf %s "checking whether $CROSSCC works... " >&6; }
11248 if test ${wine_cv_crosscc+y}
11249 then :
11250 printf %s "(cached) " >&6
11251 else $as_nop
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11256 main (void)
11260 return 0;
11262 _ACEOF
11263 if ac_fn_c_try_compile "$LINENO"
11264 then :
11265 wine_cv_crosscc=yes
11266 else $as_nop
11267 wine_cv_crosscc=no
11269 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
11272 printf "%s\n" "$wine_cv_crosscc" >&6; }
11273 if test $wine_cv_crosscc = yes
11274 then
11275 set x $CROSSCC
11276 shift
11277 while test $# -ge 1
11279 case "$1" in
11280 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
11281 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
11282 esac
11283 shift
11284 done
11286 llvm_target=$CROSSTARGET
11287 llvm_cflags="-fuse-ld=lld"
11288 if test -z "$llvm_target"
11289 then
11290 case $host_cpu in
11291 *i[3456789]86*) llvm_target=i686-windows ;;
11292 *) llvm_target=$host_cpu-windows ;;
11293 esac
11295 case $llvm_target in
11296 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
11297 esac
11298 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
11299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
11300 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
11301 if eval test \${$as_ac_var+y}
11302 then :
11303 printf %s "(cached) " >&6
11304 else $as_nop
11305 ac_wine_try_cflags_saved=$CFLAGS
11306 ac_wine_try_cflags_saved_cc=$CC
11307 ac_wine_try_cflags_saved_exeext=$ac_exeext
11308 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
11309 CC="$CROSSCC"
11310 ac_exeext=".exe"
11311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11312 /* end confdefs.h. */
11313 int __cdecl mainCRTStartup(void) { return 0; }
11314 _ACEOF
11315 if ac_fn_c_try_link "$LINENO"
11316 then :
11317 eval "$as_ac_var=yes"
11318 else $as_nop
11319 eval "$as_ac_var=no"
11321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11322 conftest$ac_exeext conftest.$ac_ext
11323 CFLAGS=$ac_wine_try_cflags_saved
11324 CC=$ac_wine_try_cflags_saved_cc
11325 ac_exeext=$ac_wine_try_cflags_saved_exeext
11327 eval ac_res=\$$as_ac_var
11328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11329 printf "%s\n" "$ac_res" >&6; }
11330 if eval test \"x\$"$as_ac_var"\" = x"yes"
11331 then :
11332 CROSSTARGET=$llvm_target
11333 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
11334 DELAYLOADFLAG="-Wl,-delayload,"
11336 CFLAGS="$CFLAGS $llvm_cflags"
11339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
11340 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
11341 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
11342 then :
11343 printf %s "(cached) " >&6
11344 else $as_nop
11345 ac_wine_try_cflags_saved=$CFLAGS
11346 ac_wine_try_cflags_saved_cc=$CC
11347 ac_wine_try_cflags_saved_exeext=$ac_exeext
11348 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
11349 CC="$CROSSCC"
11350 ac_exeext=".exe"
11351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11353 int __cdecl mainCRTStartup(void) { return 0; }
11354 _ACEOF
11355 if ac_fn_c_try_link "$LINENO"
11356 then :
11357 ac_cv_crosscflags__fno_strict_aliasing=yes
11358 else $as_nop
11359 ac_cv_crosscflags__fno_strict_aliasing=no
11361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11362 conftest$ac_exeext conftest.$ac_ext
11363 CFLAGS=$ac_wine_try_cflags_saved
11364 CC=$ac_wine_try_cflags_saved_cc
11365 ac_exeext=$ac_wine_try_cflags_saved_exeext
11367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
11368 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
11369 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
11370 then :
11371 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
11373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
11374 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
11375 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
11376 then :
11377 printf %s "(cached) " >&6
11378 else $as_nop
11379 ac_wine_try_cflags_saved=$CFLAGS
11380 ac_wine_try_cflags_saved_cc=$CC
11381 ac_wine_try_cflags_saved_exeext=$ac_exeext
11382 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11383 CC="$CROSSCC"
11384 ac_exeext=".exe"
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11387 int __cdecl mainCRTStartup(void) { return 0; }
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"
11390 then :
11391 ac_cv_crosscflags__Werror_unknown_warning_option=yes
11392 else $as_nop
11393 ac_cv_crosscflags__Werror_unknown_warning_option=no
11395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11396 conftest$ac_exeext conftest.$ac_ext
11397 CFLAGS=$ac_wine_try_cflags_saved
11398 CC=$ac_wine_try_cflags_saved_cc
11399 ac_exeext=$ac_wine_try_cflags_saved_exeext
11401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
11402 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
11403 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
11404 then :
11405 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
11408 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
11409 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
11410 then :
11411 printf %s "(cached) " >&6
11412 else $as_nop
11413 ac_wine_try_cflags_saved=$CFLAGS
11414 ac_wine_try_cflags_saved_cc=$CC
11415 ac_wine_try_cflags_saved_exeext=$ac_exeext
11416 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11417 CC="$CROSSCC"
11418 ac_exeext=".exe"
11419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h. */
11421 int __cdecl mainCRTStartup(void) { return 0; }
11422 _ACEOF
11423 if ac_fn_c_try_link "$LINENO"
11424 then :
11425 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
11426 else $as_nop
11427 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
11429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11430 conftest$ac_exeext conftest.$ac_ext
11431 CFLAGS=$ac_wine_try_cflags_saved
11432 CC=$ac_wine_try_cflags_saved_cc
11433 ac_exeext=$ac_wine_try_cflags_saved_exeext
11435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
11436 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
11437 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
11438 then :
11439 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
11442 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
11443 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
11444 then :
11445 printf %s "(cached) " >&6
11446 else $as_nop
11447 ac_wine_try_cflags_saved=$CFLAGS
11448 ac_wine_try_cflags_saved_cc=$CC
11449 ac_wine_try_cflags_saved_exeext=$ac_exeext
11450 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11451 CC="$CROSSCC"
11452 ac_exeext=".exe"
11453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11454 /* end confdefs.h. */
11455 int __cdecl mainCRTStartup(void) { return 0; }
11456 _ACEOF
11457 if ac_fn_c_try_link "$LINENO"
11458 then :
11459 ac_cv_crosscflags__Wdeclaration_after_statement=yes
11460 else $as_nop
11461 ac_cv_crosscflags__Wdeclaration_after_statement=no
11463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11464 conftest$ac_exeext conftest.$ac_ext
11465 CFLAGS=$ac_wine_try_cflags_saved
11466 CC=$ac_wine_try_cflags_saved_cc
11467 ac_exeext=$ac_wine_try_cflags_saved_exeext
11469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
11470 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
11471 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
11472 then :
11473 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
11475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
11476 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
11477 if test ${ac_cv_crosscflags__Wempty_body+y}
11478 then :
11479 printf %s "(cached) " >&6
11480 else $as_nop
11481 ac_wine_try_cflags_saved=$CFLAGS
11482 ac_wine_try_cflags_saved_cc=$CC
11483 ac_wine_try_cflags_saved_exeext=$ac_exeext
11484 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11485 CC="$CROSSCC"
11486 ac_exeext=".exe"
11487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11488 /* end confdefs.h. */
11489 int __cdecl mainCRTStartup(void) { return 0; }
11490 _ACEOF
11491 if ac_fn_c_try_link "$LINENO"
11492 then :
11493 ac_cv_crosscflags__Wempty_body=yes
11494 else $as_nop
11495 ac_cv_crosscflags__Wempty_body=no
11497 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11498 conftest$ac_exeext conftest.$ac_ext
11499 CFLAGS=$ac_wine_try_cflags_saved
11500 CC=$ac_wine_try_cflags_saved_cc
11501 ac_exeext=$ac_wine_try_cflags_saved_exeext
11503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
11504 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
11505 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
11506 then :
11507 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
11509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
11510 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
11511 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
11512 then :
11513 printf %s "(cached) " >&6
11514 else $as_nop
11515 ac_wine_try_cflags_saved=$CFLAGS
11516 ac_wine_try_cflags_saved_cc=$CC
11517 ac_wine_try_cflags_saved_exeext=$ac_exeext
11518 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11519 CC="$CROSSCC"
11520 ac_exeext=".exe"
11521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11522 /* end confdefs.h. */
11523 int __cdecl mainCRTStartup(void) { return 0; }
11524 _ACEOF
11525 if ac_fn_c_try_link "$LINENO"
11526 then :
11527 ac_cv_crosscflags__Wignored_qualifiers=yes
11528 else $as_nop
11529 ac_cv_crosscflags__Wignored_qualifiers=no
11531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11532 conftest$ac_exeext conftest.$ac_ext
11533 CFLAGS=$ac_wine_try_cflags_saved
11534 CC=$ac_wine_try_cflags_saved_cc
11535 ac_exeext=$ac_wine_try_cflags_saved_exeext
11537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11538 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11539 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11540 then :
11541 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11544 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11545 if test ${ac_cv_crosscflags__Winit_self+y}
11546 then :
11547 printf %s "(cached) " >&6
11548 else $as_nop
11549 ac_wine_try_cflags_saved=$CFLAGS
11550 ac_wine_try_cflags_saved_cc=$CC
11551 ac_wine_try_cflags_saved_exeext=$ac_exeext
11552 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11553 CC="$CROSSCC"
11554 ac_exeext=".exe"
11555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11556 /* end confdefs.h. */
11557 int __cdecl mainCRTStartup(void) { return 0; }
11558 _ACEOF
11559 if ac_fn_c_try_link "$LINENO"
11560 then :
11561 ac_cv_crosscflags__Winit_self=yes
11562 else $as_nop
11563 ac_cv_crosscflags__Winit_self=no
11565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11566 conftest$ac_exeext conftest.$ac_ext
11567 CFLAGS=$ac_wine_try_cflags_saved
11568 CC=$ac_wine_try_cflags_saved_cc
11569 ac_exeext=$ac_wine_try_cflags_saved_exeext
11571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11572 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11573 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11574 then :
11575 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11578 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11579 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11580 then :
11581 printf %s "(cached) " >&6
11582 else $as_nop
11583 ac_wine_try_cflags_saved=$CFLAGS
11584 ac_wine_try_cflags_saved_cc=$CC
11585 ac_wine_try_cflags_saved_exeext=$ac_exeext
11586 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11587 CC="$CROSSCC"
11588 ac_exeext=".exe"
11589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11590 /* end confdefs.h. */
11591 int __cdecl mainCRTStartup(void) { return 0; }
11592 _ACEOF
11593 if ac_fn_c_try_link "$LINENO"
11594 then :
11595 ac_cv_crosscflags__Wpacked_not_aligned=yes
11596 else $as_nop
11597 ac_cv_crosscflags__Wpacked_not_aligned=no
11599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11600 conftest$ac_exeext conftest.$ac_ext
11601 CFLAGS=$ac_wine_try_cflags_saved
11602 CC=$ac_wine_try_cflags_saved_cc
11603 ac_exeext=$ac_wine_try_cflags_saved_exeext
11605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11606 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11607 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11608 then :
11609 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11612 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11613 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11614 then :
11615 printf %s "(cached) " >&6
11616 else $as_nop
11617 ac_wine_try_cflags_saved=$CFLAGS
11618 ac_wine_try_cflags_saved_cc=$CC
11619 ac_wine_try_cflags_saved_exeext=$ac_exeext
11620 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11621 CC="$CROSSCC"
11622 ac_exeext=".exe"
11623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11625 int __cdecl mainCRTStartup(void) { return 0; }
11626 _ACEOF
11627 if ac_fn_c_try_link "$LINENO"
11628 then :
11629 ac_cv_crosscflags__Wpragma_pack=yes
11630 else $as_nop
11631 ac_cv_crosscflags__Wpragma_pack=no
11633 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11634 conftest$ac_exeext conftest.$ac_ext
11635 CFLAGS=$ac_wine_try_cflags_saved
11636 CC=$ac_wine_try_cflags_saved_cc
11637 ac_exeext=$ac_wine_try_cflags_saved_exeext
11639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11640 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11641 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11642 then :
11643 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11646 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11647 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11648 then :
11649 printf %s "(cached) " >&6
11650 else $as_nop
11651 ac_wine_try_cflags_saved=$CFLAGS
11652 ac_wine_try_cflags_saved_cc=$CC
11653 ac_wine_try_cflags_saved_exeext=$ac_exeext
11654 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11655 CC="$CROSSCC"
11656 ac_exeext=".exe"
11657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11658 /* end confdefs.h. */
11659 int __cdecl mainCRTStartup(void) { return 0; }
11660 _ACEOF
11661 if ac_fn_c_try_link "$LINENO"
11662 then :
11663 ac_cv_crosscflags__Wshift_overflow_2=yes
11664 else $as_nop
11665 ac_cv_crosscflags__Wshift_overflow_2=no
11667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11668 conftest$ac_exeext conftest.$ac_ext
11669 CFLAGS=$ac_wine_try_cflags_saved
11670 CC=$ac_wine_try_cflags_saved_cc
11671 ac_exeext=$ac_wine_try_cflags_saved_exeext
11673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11674 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11675 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11676 then :
11677 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11680 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11681 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11682 then :
11683 printf %s "(cached) " >&6
11684 else $as_nop
11685 ac_wine_try_cflags_saved=$CFLAGS
11686 ac_wine_try_cflags_saved_cc=$CC
11687 ac_wine_try_cflags_saved_exeext=$ac_exeext
11688 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11689 CC="$CROSSCC"
11690 ac_exeext=".exe"
11691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11692 /* end confdefs.h. */
11693 int __cdecl mainCRTStartup(void) { return 0; }
11694 _ACEOF
11695 if ac_fn_c_try_link "$LINENO"
11696 then :
11697 ac_cv_crosscflags__Wstrict_prototypes=yes
11698 else $as_nop
11699 ac_cv_crosscflags__Wstrict_prototypes=no
11701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11702 conftest$ac_exeext conftest.$ac_ext
11703 CFLAGS=$ac_wine_try_cflags_saved
11704 CC=$ac_wine_try_cflags_saved_cc
11705 ac_exeext=$ac_wine_try_cflags_saved_exeext
11707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11708 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11709 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11710 then :
11711 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11714 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11715 if test ${ac_cv_crosscflags__Wtype_limits+y}
11716 then :
11717 printf %s "(cached) " >&6
11718 else $as_nop
11719 ac_wine_try_cflags_saved=$CFLAGS
11720 ac_wine_try_cflags_saved_cc=$CC
11721 ac_wine_try_cflags_saved_exeext=$ac_exeext
11722 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11723 CC="$CROSSCC"
11724 ac_exeext=".exe"
11725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726 /* end confdefs.h. */
11727 int __cdecl mainCRTStartup(void) { return 0; }
11728 _ACEOF
11729 if ac_fn_c_try_link "$LINENO"
11730 then :
11731 ac_cv_crosscflags__Wtype_limits=yes
11732 else $as_nop
11733 ac_cv_crosscflags__Wtype_limits=no
11735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11736 conftest$ac_exeext conftest.$ac_ext
11737 CFLAGS=$ac_wine_try_cflags_saved
11738 CC=$ac_wine_try_cflags_saved_cc
11739 ac_exeext=$ac_wine_try_cflags_saved_exeext
11741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11742 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11743 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11744 then :
11745 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11748 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11749 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11750 then :
11751 printf %s "(cached) " >&6
11752 else $as_nop
11753 ac_wine_try_cflags_saved=$CFLAGS
11754 ac_wine_try_cflags_saved_cc=$CC
11755 ac_wine_try_cflags_saved_exeext=$ac_exeext
11756 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11757 CC="$CROSSCC"
11758 ac_exeext=".exe"
11759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11760 /* end confdefs.h. */
11761 int __cdecl mainCRTStartup(void) { return 0; }
11762 _ACEOF
11763 if ac_fn_c_try_link "$LINENO"
11764 then :
11765 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11766 else $as_nop
11767 ac_cv_crosscflags__Wunused_but_set_parameter=no
11769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11770 conftest$ac_exeext conftest.$ac_ext
11771 CFLAGS=$ac_wine_try_cflags_saved
11772 CC=$ac_wine_try_cflags_saved_cc
11773 ac_exeext=$ac_wine_try_cflags_saved_exeext
11775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11776 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11777 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11778 then :
11779 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11782 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11783 if test ${ac_cv_crosscflags__Wvla+y}
11784 then :
11785 printf %s "(cached) " >&6
11786 else $as_nop
11787 ac_wine_try_cflags_saved=$CFLAGS
11788 ac_wine_try_cflags_saved_cc=$CC
11789 ac_wine_try_cflags_saved_exeext=$ac_exeext
11790 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11791 CC="$CROSSCC"
11792 ac_exeext=".exe"
11793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11795 int __cdecl mainCRTStartup(void) { return 0; }
11796 _ACEOF
11797 if ac_fn_c_try_link "$LINENO"
11798 then :
11799 ac_cv_crosscflags__Wvla=yes
11800 else $as_nop
11801 ac_cv_crosscflags__Wvla=no
11803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11804 conftest$ac_exeext conftest.$ac_ext
11805 CFLAGS=$ac_wine_try_cflags_saved
11806 CC=$ac_wine_try_cflags_saved_cc
11807 ac_exeext=$ac_wine_try_cflags_saved_exeext
11809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11810 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11811 if test "x$ac_cv_crosscflags__Wvla" = xyes
11812 then :
11813 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11816 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11817 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11818 then :
11819 printf %s "(cached) " >&6
11820 else $as_nop
11821 ac_wine_try_cflags_saved=$CFLAGS
11822 ac_wine_try_cflags_saved_cc=$CC
11823 ac_wine_try_cflags_saved_exeext=$ac_exeext
11824 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11825 CC="$CROSSCC"
11826 ac_exeext=".exe"
11827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11828 /* end confdefs.h. */
11829 int __cdecl mainCRTStartup(void) { return 0; }
11830 _ACEOF
11831 if ac_fn_c_try_link "$LINENO"
11832 then :
11833 ac_cv_crosscflags__Wwrite_strings=yes
11834 else $as_nop
11835 ac_cv_crosscflags__Wwrite_strings=no
11837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11838 conftest$ac_exeext conftest.$ac_ext
11839 CFLAGS=$ac_wine_try_cflags_saved
11840 CC=$ac_wine_try_cflags_saved_cc
11841 ac_exeext=$ac_wine_try_cflags_saved_exeext
11843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11844 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11845 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11846 then :
11847 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11850 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11851 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11852 then :
11853 printf %s "(cached) " >&6
11854 else $as_nop
11855 ac_wine_try_cflags_saved=$CFLAGS
11856 ac_wine_try_cflags_saved_cc=$CC
11857 ac_wine_try_cflags_saved_exeext=$ac_exeext
11858 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11859 CC="$CROSSCC"
11860 ac_exeext=".exe"
11861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11862 /* end confdefs.h. */
11863 int __cdecl mainCRTStartup(void) { return 0; }
11864 _ACEOF
11865 if ac_fn_c_try_link "$LINENO"
11866 then :
11867 ac_cv_crosscflags__Wpointer_arith=yes
11868 else $as_nop
11869 ac_cv_crosscflags__Wpointer_arith=no
11871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11872 conftest$ac_exeext conftest.$ac_ext
11873 CFLAGS=$ac_wine_try_cflags_saved
11874 CC=$ac_wine_try_cflags_saved_cc
11875 ac_exeext=$ac_wine_try_cflags_saved_exeext
11877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11878 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11879 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11880 then :
11881 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11884 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11885 if test ${ac_cv_crosscflags__Wlogical_op+y}
11886 then :
11887 printf %s "(cached) " >&6
11888 else $as_nop
11889 ac_wine_try_cflags_saved=$CFLAGS
11890 ac_wine_try_cflags_saved_cc=$CC
11891 ac_wine_try_cflags_saved_exeext=$ac_exeext
11892 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11893 CC="$CROSSCC"
11894 ac_exeext=".exe"
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11897 int __cdecl mainCRTStartup(void) { return 0; }
11898 _ACEOF
11899 if ac_fn_c_try_link "$LINENO"
11900 then :
11901 ac_cv_crosscflags__Wlogical_op=yes
11902 else $as_nop
11903 ac_cv_crosscflags__Wlogical_op=no
11905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11906 conftest$ac_exeext conftest.$ac_ext
11907 CFLAGS=$ac_wine_try_cflags_saved
11908 CC=$ac_wine_try_cflags_saved_cc
11909 ac_exeext=$ac_wine_try_cflags_saved_exeext
11911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11912 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11913 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11914 then :
11915 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11918 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11919 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11920 then :
11921 printf %s "(cached) " >&6
11922 else $as_nop
11923 ac_wine_try_cflags_saved=$CFLAGS
11924 ac_wine_try_cflags_saved_cc=$CC
11925 ac_wine_try_cflags_saved_exeext=$ac_exeext
11926 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11927 CC="$CROSSCC"
11928 ac_exeext=".exe"
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11931 int __cdecl mainCRTStartup(void) { return 0; }
11932 _ACEOF
11933 if ac_fn_c_try_link "$LINENO"
11934 then :
11935 ac_cv_crosscflags__Wabsolute_value=yes
11936 else $as_nop
11937 ac_cv_crosscflags__Wabsolute_value=no
11939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11940 conftest$ac_exeext conftest.$ac_ext
11941 CFLAGS=$ac_wine_try_cflags_saved
11942 CC=$ac_wine_try_cflags_saved_cc
11943 ac_exeext=$ac_wine_try_cflags_saved_exeext
11945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11946 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11947 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11948 then :
11949 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11952 case $host_cpu in
11953 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11954 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11955 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11956 then :
11957 printf %s "(cached) " >&6
11958 else $as_nop
11959 ac_wine_try_cflags_saved=$CFLAGS
11960 ac_wine_try_cflags_saved_cc=$CC
11961 ac_wine_try_cflags_saved_exeext=$ac_exeext
11962 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11963 CC="$CROSSCC"
11964 ac_exeext=".exe"
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11967 int __cdecl mainCRTStartup(void) { return 0; }
11968 _ACEOF
11969 if ac_fn_c_try_link "$LINENO"
11970 then :
11971 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11972 else $as_nop
11973 ac_cv_crosscflags__fno_omit_frame_pointer=no
11975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11976 conftest$ac_exeext conftest.$ac_ext
11977 CFLAGS=$ac_wine_try_cflags_saved
11978 CC=$ac_wine_try_cflags_saved_cc
11979 ac_exeext=$ac_wine_try_cflags_saved_exeext
11981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11982 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11983 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11984 then :
11985 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11986 fi ;;
11987 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11988 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11989 if test ${ac_cv_crosscflags__Wno_format+y}
11990 then :
11991 printf %s "(cached) " >&6
11992 else $as_nop
11993 ac_wine_try_cflags_saved=$CFLAGS
11994 ac_wine_try_cflags_saved_cc=$CC
11995 ac_wine_try_cflags_saved_exeext=$ac_exeext
11996 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11997 CC="$CROSSCC"
11998 ac_exeext=".exe"
11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12001 int __cdecl mainCRTStartup(void) { return 0; }
12002 _ACEOF
12003 if ac_fn_c_try_link "$LINENO"
12004 then :
12005 ac_cv_crosscflags__Wno_format=yes
12006 else $as_nop
12007 ac_cv_crosscflags__Wno_format=no
12009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12010 conftest$ac_exeext conftest.$ac_ext
12011 CFLAGS=$ac_wine_try_cflags_saved
12012 CC=$ac_wine_try_cflags_saved_cc
12013 ac_exeext=$ac_wine_try_cflags_saved_exeext
12015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
12016 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
12017 if test "x$ac_cv_crosscflags__Wno_format" = xyes
12018 then :
12019 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
12021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
12022 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
12023 if test ${ac_cv_crosscflags__Wformat_overflow+y}
12024 then :
12025 printf %s "(cached) " >&6
12026 else $as_nop
12027 ac_wine_try_cflags_saved=$CFLAGS
12028 ac_wine_try_cflags_saved_cc=$CC
12029 ac_wine_try_cflags_saved_exeext=$ac_exeext
12030 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
12031 CC="$CROSSCC"
12032 ac_exeext=".exe"
12033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12035 int __cdecl mainCRTStartup(void) { return 0; }
12036 _ACEOF
12037 if ac_fn_c_try_link "$LINENO"
12038 then :
12039 ac_cv_crosscflags__Wformat_overflow=yes
12040 else $as_nop
12041 ac_cv_crosscflags__Wformat_overflow=no
12043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12044 conftest$ac_exeext conftest.$ac_ext
12045 CFLAGS=$ac_wine_try_cflags_saved
12046 CC=$ac_wine_try_cflags_saved_cc
12047 ac_exeext=$ac_wine_try_cflags_saved_exeext
12049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
12050 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
12051 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
12052 then :
12053 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
12055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
12056 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
12057 if test ${ac_cv_crosscflags__Wnonnull+y}
12058 then :
12059 printf %s "(cached) " >&6
12060 else $as_nop
12061 ac_wine_try_cflags_saved=$CFLAGS
12062 ac_wine_try_cflags_saved_cc=$CC
12063 ac_wine_try_cflags_saved_exeext=$ac_exeext
12064 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
12065 CC="$CROSSCC"
12066 ac_exeext=".exe"
12067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12068 /* end confdefs.h. */
12069 int __cdecl mainCRTStartup(void) { return 0; }
12070 _ACEOF
12071 if ac_fn_c_try_link "$LINENO"
12072 then :
12073 ac_cv_crosscflags__Wnonnull=yes
12074 else $as_nop
12075 ac_cv_crosscflags__Wnonnull=no
12077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12078 conftest$ac_exeext conftest.$ac_ext
12079 CFLAGS=$ac_wine_try_cflags_saved
12080 CC=$ac_wine_try_cflags_saved_cc
12081 ac_exeext=$ac_wine_try_cflags_saved_exeext
12083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
12084 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
12085 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
12086 then :
12087 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
12089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
12090 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
12091 if test ${ac_cv_crosscflags__mcx16+y}
12092 then :
12093 printf %s "(cached) " >&6
12094 else $as_nop
12095 ac_wine_try_cflags_saved=$CFLAGS
12096 ac_wine_try_cflags_saved_cc=$CC
12097 ac_wine_try_cflags_saved_exeext=$ac_exeext
12098 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
12099 CC="$CROSSCC"
12100 ac_exeext=".exe"
12101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12102 /* end confdefs.h. */
12103 int __cdecl mainCRTStartup(void) { return 0; }
12104 _ACEOF
12105 if ac_fn_c_try_link "$LINENO"
12106 then :
12107 ac_cv_crosscflags__mcx16=yes
12108 else $as_nop
12109 ac_cv_crosscflags__mcx16=no
12111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12112 conftest$ac_exeext conftest.$ac_ext
12113 CFLAGS=$ac_wine_try_cflags_saved
12114 CC=$ac_wine_try_cflags_saved_cc
12115 ac_exeext=$ac_wine_try_cflags_saved_exeext
12117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
12118 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
12119 if test "x$ac_cv_crosscflags__mcx16" = xyes
12120 then :
12121 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
12122 fi ;;
12123 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
12124 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
12125 if test ${ac_cv_crosscflags__Wno_format+y}
12126 then :
12127 printf %s "(cached) " >&6
12128 else $as_nop
12129 ac_wine_try_cflags_saved=$CFLAGS
12130 ac_wine_try_cflags_saved_cc=$CC
12131 ac_wine_try_cflags_saved_exeext=$ac_exeext
12132 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
12133 CC="$CROSSCC"
12134 ac_exeext=".exe"
12135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12136 /* end confdefs.h. */
12137 int __cdecl mainCRTStartup(void) { return 0; }
12138 _ACEOF
12139 if ac_fn_c_try_link "$LINENO"
12140 then :
12141 ac_cv_crosscflags__Wno_format=yes
12142 else $as_nop
12143 ac_cv_crosscflags__Wno_format=no
12145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12146 conftest$ac_exeext conftest.$ac_ext
12147 CFLAGS=$ac_wine_try_cflags_saved
12148 CC=$ac_wine_try_cflags_saved_cc
12149 ac_exeext=$ac_wine_try_cflags_saved_exeext
12151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
12152 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
12153 if test "x$ac_cv_crosscflags__Wno_format" = xyes
12154 then :
12155 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
12156 fi ;;
12157 esac
12160 if test -z "$CROSSDEBUG"
12161 then
12162 for ac_flag in $CROSSCFLAGS; do
12163 case $ac_flag in
12164 -gdwarf*) CROSSDEBUG=dwarf ;;
12165 -gcodeview) CROSSDEBUG=pdb ;;
12166 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
12167 esac
12168 done
12171 ac_debug_format_seen=""
12172 for ac_flag in $CROSSCFLAGS; do
12173 case $ac_flag in
12174 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
12175 esac
12176 done
12177 if test "x$ac_debug_format_seen" = x
12178 then
12179 case $CROSSDEBUG in
12180 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
12181 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
12182 if test ${ac_cv_crosscflags__gdwarf_4+y}
12183 then :
12184 printf %s "(cached) " >&6
12185 else $as_nop
12186 ac_wine_try_cflags_saved=$CFLAGS
12187 ac_wine_try_cflags_saved_cc=$CC
12188 ac_wine_try_cflags_saved_exeext=$ac_exeext
12189 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
12190 CC="$CROSSCC"
12191 ac_exeext=".exe"
12192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12194 int __cdecl mainCRTStartup(void) { return 0; }
12195 _ACEOF
12196 if ac_fn_c_try_link "$LINENO"
12197 then :
12198 ac_cv_crosscflags__gdwarf_4=yes
12199 else $as_nop
12200 ac_cv_crosscflags__gdwarf_4=no
12202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12203 conftest$ac_exeext conftest.$ac_ext
12204 CFLAGS=$ac_wine_try_cflags_saved
12205 CC=$ac_wine_try_cflags_saved_cc
12206 ac_exeext=$ac_wine_try_cflags_saved_exeext
12208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
12209 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
12210 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
12211 then :
12212 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
12213 fi ;;
12214 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
12215 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
12216 if test ${ac_cv_crosscflags__gcodeview+y}
12217 then :
12218 printf %s "(cached) " >&6
12219 else $as_nop
12220 ac_wine_try_cflags_saved=$CFLAGS
12221 ac_wine_try_cflags_saved_cc=$CC
12222 ac_wine_try_cflags_saved_exeext=$ac_exeext
12223 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
12224 CC="$CROSSCC"
12225 ac_exeext=".exe"
12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12228 int __cdecl mainCRTStartup(void) { return 0; }
12229 _ACEOF
12230 if ac_fn_c_try_link "$LINENO"
12231 then :
12232 ac_cv_crosscflags__gcodeview=yes
12233 else $as_nop
12234 ac_cv_crosscflags__gcodeview=no
12236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12237 conftest$ac_exeext conftest.$ac_ext
12238 CFLAGS=$ac_wine_try_cflags_saved
12239 CC=$ac_wine_try_cflags_saved_cc
12240 ac_exeext=$ac_wine_try_cflags_saved_exeext
12242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
12243 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
12244 if test "x$ac_cv_crosscflags__gcodeview" = xyes
12245 then :
12246 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
12247 fi ;;
12248 esac
12251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
12252 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
12253 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
12254 then :
12255 printf %s "(cached) " >&6
12256 else $as_nop
12257 ac_wine_try_cflags_saved=$CFLAGS
12258 ac_wine_try_cflags_saved_cc=$CC
12259 ac_wine_try_cflags_saved_exeext=$ac_exeext
12260 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
12261 CC="$CROSSCC"
12262 ac_exeext=".exe"
12263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12265 int __cdecl mainCRTStartup(void) { return 0; }
12266 _ACEOF
12267 if ac_fn_c_try_link "$LINENO"
12268 then :
12269 ac_cv_crosscflags__fexcess_precision_standard=yes
12270 else $as_nop
12271 ac_cv_crosscflags__fexcess_precision_standard=no
12273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12274 conftest$ac_exeext conftest.$ac_ext
12275 CFLAGS=$ac_wine_try_cflags_saved
12276 CC=$ac_wine_try_cflags_saved_cc
12277 ac_exeext=$ac_wine_try_cflags_saved_exeext
12279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
12280 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
12281 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
12282 then :
12283 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
12287 if test "x$enable_werror" = "xyes"
12288 then
12289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
12290 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
12291 if test ${ac_cv_crosscflags__Werror+y}
12292 then :
12293 printf %s "(cached) " >&6
12294 else $as_nop
12295 ac_wine_try_cflags_saved=$CFLAGS
12296 ac_wine_try_cflags_saved_cc=$CC
12297 ac_wine_try_cflags_saved_exeext=$ac_exeext
12298 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
12299 CC="$CROSSCC"
12300 ac_exeext=".exe"
12301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12302 /* end confdefs.h. */
12303 int __cdecl mainCRTStartup(void) { return 0; }
12304 _ACEOF
12305 if ac_fn_c_try_link "$LINENO"
12306 then :
12307 ac_cv_crosscflags__Werror=yes
12308 else $as_nop
12309 ac_cv_crosscflags__Werror=no
12311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12312 conftest$ac_exeext conftest.$ac_ext
12313 CFLAGS=$ac_wine_try_cflags_saved
12314 CC=$ac_wine_try_cflags_saved_cc
12315 ac_exeext=$ac_wine_try_cflags_saved_exeext
12317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
12318 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
12319 if test "x$ac_cv_crosscflags__Werror" = xyes
12320 then :
12321 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
12324 if test "x$enable_build_id" = "xyes"
12325 then
12326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
12327 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
12328 if test ${ac_cv_crosscflags__Wl___build_id+y}
12329 then :
12330 printf %s "(cached) " >&6
12331 else $as_nop
12332 ac_wine_try_cflags_saved=$CFLAGS
12333 ac_wine_try_cflags_saved_cc=$CC
12334 ac_wine_try_cflags_saved_exeext=$ac_exeext
12335 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
12336 CC="$CROSSCC"
12337 ac_exeext=".exe"
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12340 int __cdecl mainCRTStartup(void) { return 0; }
12341 _ACEOF
12342 if ac_fn_c_try_link "$LINENO"
12343 then :
12344 ac_cv_crosscflags__Wl___build_id=yes
12345 else $as_nop
12346 ac_cv_crosscflags__Wl___build_id=no
12348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12349 conftest$ac_exeext conftest.$ac_ext
12350 CFLAGS=$ac_wine_try_cflags_saved
12351 CC=$ac_wine_try_cflags_saved_cc
12352 ac_exeext=$ac_wine_try_cflags_saved_exeext
12354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
12355 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
12356 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
12357 then :
12358 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
12359 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
12363 CFLAGS=$saved_CFLAGS
12364 LDFLAGS=$saved_LDFLAGS
12365 CC="$ac_save_CC"
12368 if test "x$CROSSTARGET" = "x"
12369 then :
12370 case "x$with_mingw" in
12371 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
12372 xno) ;;
12373 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
12374 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12375 esac
12380 if ${FAUDIO_PE_CFLAGS:+false} :
12381 then :
12382 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
12383 else $as_nop
12384 enable_faudio=no
12386 if ${FAUDIO_PE_LIBS:+false} :
12387 then :
12388 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
12389 else $as_nop
12390 enable_faudio=no
12392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
12393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
12395 if ${GSM_PE_CFLAGS:+false} :
12396 then :
12397 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
12398 else $as_nop
12399 enable_gsm=no
12401 if ${GSM_PE_LIBS:+false} :
12402 then :
12403 GSM_PE_LIBS=gsm
12404 else $as_nop
12405 enable_gsm=no
12407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
12408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
12410 if ${JPEG_PE_CFLAGS:+false} :
12411 then :
12412 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
12413 else $as_nop
12414 enable_jpeg=no
12416 if ${JPEG_PE_LIBS:+false} :
12417 then :
12418 JPEG_PE_LIBS=jpeg
12419 else $as_nop
12420 enable_jpeg=no
12422 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
12423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
12425 if ${JXR_PE_CFLAGS:+false} :
12426 then :
12427 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
12428 else $as_nop
12429 enable_jxr=no
12431 if ${JXR_PE_LIBS:+false} :
12432 then :
12433 JXR_PE_LIBS=jxr
12434 else $as_nop
12435 enable_jxr=no
12437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
12438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
12440 if ${LCMS2_PE_CFLAGS:+false} :
12441 then :
12442 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
12443 else $as_nop
12444 enable_lcms2=no
12446 if ${LCMS2_PE_LIBS:+false} :
12447 then :
12448 LCMS2_PE_LIBS=lcms2
12449 else $as_nop
12450 enable_lcms2=no
12452 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
12453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
12455 if ${MPG123_PE_CFLAGS:+false} :
12456 then :
12457 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
12458 else $as_nop
12459 enable_mpg123=no
12461 if ${MPG123_PE_LIBS:+false} :
12462 then :
12463 MPG123_PE_LIBS=mpg123
12464 else $as_nop
12465 enable_mpg123=no
12467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
12468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
12470 if ${PNG_PE_CFLAGS:+false} :
12471 then :
12472 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
12473 else $as_nop
12474 enable_png=no
12476 if ${PNG_PE_LIBS:+false} :
12477 then :
12478 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
12479 else $as_nop
12480 enable_png=no
12482 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
12483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
12485 if ${TIFF_PE_CFLAGS:+false} :
12486 then :
12487 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
12488 else $as_nop
12489 enable_tiff=no
12491 if ${TIFF_PE_LIBS:+false} :
12492 then :
12493 TIFF_PE_LIBS=tiff
12494 else $as_nop
12495 enable_tiff=no
12497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
12498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
12500 if ${XML2_PE_CFLAGS:+false} :
12501 then :
12502 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
12503 else $as_nop
12504 enable_libxml2=no
12506 if ${XML2_PE_LIBS:+false} :
12507 then :
12508 XML2_PE_LIBS=xml2
12509 else $as_nop
12510 enable_libxml2=no
12512 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxml2 cflags: $XML2_PE_CFLAGS" >&5
12513 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxml2 libs: $XML2_PE_LIBS" >&5
12515 if ${XSLT_PE_CFLAGS:+false} :
12516 then :
12517 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
12518 else $as_nop
12519 enable_libxslt=no
12521 if ${XSLT_PE_LIBS:+false} :
12522 then :
12523 XSLT_PE_LIBS=xslt
12524 else $as_nop
12525 enable_libxslt=no
12527 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_PE_CFLAGS" >&5
12528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_PE_LIBS" >&5
12530 if ${ZLIB_PE_CFLAGS:+false} :
12531 then :
12532 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
12533 else $as_nop
12534 enable_zlib=no
12536 if ${ZLIB_PE_LIBS:+false} :
12537 then :
12538 ZLIB_PE_LIBS=z
12539 else $as_nop
12540 enable_zlib=no
12542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
12543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
12547 if test "$ac_cv_header_pthread_h" = "yes"
12548 then
12549 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
12550 if test "x$ac_cv_func_pthread_create" = xyes
12551 then :
12553 else $as_nop
12554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
12555 printf %s "checking for pthread_create in -lpthread... " >&6; }
12556 if test ${ac_cv_lib_pthread_pthread_create+y}
12557 then :
12558 printf %s "(cached) " >&6
12559 else $as_nop
12560 ac_check_lib_save_LIBS=$LIBS
12561 LIBS="-lpthread $LIBS"
12562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12563 /* end confdefs.h. */
12565 /* Override any GCC internal prototype to avoid an error.
12566 Use char because int might match the return type of a GCC
12567 builtin and then its argument prototype would still apply. */
12568 char pthread_create ();
12570 main (void)
12572 return pthread_create ();
12574 return 0;
12576 _ACEOF
12577 if ac_fn_c_try_link "$LINENO"
12578 then :
12579 ac_cv_lib_pthread_pthread_create=yes
12580 else $as_nop
12581 ac_cv_lib_pthread_pthread_create=no
12583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12584 conftest$ac_exeext conftest.$ac_ext
12585 LIBS=$ac_check_lib_save_LIBS
12587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
12588 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
12589 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
12590 then :
12591 PTHREAD_LIBS="-lpthread"
12598 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
12599 then :
12600 case "x$with_pthread" in
12601 xno) ;;
12602 *) as_fn_error $? "pthread ${notice_platform}development files not found.
12603 Wine cannot support threads without libpthread.
12604 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
12605 esac
12610 ac_ext=c
12611 ac_cpp='$CPP $CPPFLAGS'
12612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
12616 printf %s "checking how to run the C preprocessor... " >&6; }
12617 # On Suns, sometimes $CPP names a directory.
12618 if test -n "$CPP" && test -d "$CPP"; then
12619 CPP=
12621 if test -z "$CPP"; then
12622 if test ${ac_cv_prog_CPP+y}
12623 then :
12624 printf %s "(cached) " >&6
12625 else $as_nop
12626 # Double quotes because $CC needs to be expanded
12627 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
12629 ac_preproc_ok=false
12630 for ac_c_preproc_warn_flag in '' yes
12632 # Use a header file that comes with gcc, so configuring glibc
12633 # with a fresh cross-compiler works.
12634 # On the NeXT, cc -E runs the code through the compiler's parser,
12635 # not just through cpp. "Syntax error" is here to catch this case.
12636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h. */
12638 #include <limits.h>
12639 Syntax error
12640 _ACEOF
12641 if ac_fn_c_try_cpp "$LINENO"
12642 then :
12644 else $as_nop
12645 # Broken: fails on valid input.
12646 continue
12648 rm -f conftest.err conftest.i conftest.$ac_ext
12650 # OK, works on sane cases. Now check whether nonexistent headers
12651 # can be detected and how.
12652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12653 /* end confdefs.h. */
12654 #include <ac_nonexistent.h>
12655 _ACEOF
12656 if ac_fn_c_try_cpp "$LINENO"
12657 then :
12658 # Broken: success on invalid input.
12659 continue
12660 else $as_nop
12661 # Passes both tests.
12662 ac_preproc_ok=:
12663 break
12665 rm -f conftest.err conftest.i conftest.$ac_ext
12667 done
12668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12669 rm -f conftest.i conftest.err conftest.$ac_ext
12670 if $ac_preproc_ok
12671 then :
12672 break
12675 done
12676 ac_cv_prog_CPP=$CPP
12679 CPP=$ac_cv_prog_CPP
12680 else
12681 ac_cv_prog_CPP=$CPP
12683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
12684 printf "%s\n" "$CPP" >&6; }
12685 ac_preproc_ok=false
12686 for ac_c_preproc_warn_flag in '' yes
12688 # Use a header file that comes with gcc, so configuring glibc
12689 # with a fresh cross-compiler works.
12690 # On the NeXT, cc -E runs the code through the compiler's parser,
12691 # not just through cpp. "Syntax error" is here to catch this case.
12692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12693 /* end confdefs.h. */
12694 #include <limits.h>
12695 Syntax error
12696 _ACEOF
12697 if ac_fn_c_try_cpp "$LINENO"
12698 then :
12700 else $as_nop
12701 # Broken: fails on valid input.
12702 continue
12704 rm -f conftest.err conftest.i conftest.$ac_ext
12706 # OK, works on sane cases. Now check whether nonexistent headers
12707 # can be detected and how.
12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12710 #include <ac_nonexistent.h>
12711 _ACEOF
12712 if ac_fn_c_try_cpp "$LINENO"
12713 then :
12714 # Broken: success on invalid input.
12715 continue
12716 else $as_nop
12717 # Passes both tests.
12718 ac_preproc_ok=:
12719 break
12721 rm -f conftest.err conftest.i conftest.$ac_ext
12723 done
12724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12725 rm -f conftest.i conftest.err conftest.$ac_ext
12726 if $ac_preproc_ok
12727 then :
12729 else $as_nop
12730 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12731 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
12732 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
12733 See \`config.log' for more details" "$LINENO" 5; }
12736 ac_ext=c
12737 ac_cpp='$CPP $CPPFLAGS'
12738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
12744 printf %s "checking for X... " >&6; }
12747 # Check whether --with-x was given.
12748 if test ${with_x+y}
12749 then :
12750 withval=$with_x;
12753 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12754 if test "x$with_x" = xno; then
12755 # The user explicitly disabled X.
12756 have_x=disabled
12757 else
12758 case $x_includes,$x_libraries in #(
12759 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
12760 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
12761 then :
12762 printf %s "(cached) " >&6
12763 else $as_nop
12764 # One or both of the vars are not set, and there is no cached value.
12765 ac_x_includes=no
12766 ac_x_libraries=no
12767 # Do we need to do anything special at all?
12768 ac_save_LIBS=$LIBS
12769 LIBS="-lX11 $LIBS"
12770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12771 /* end confdefs.h. */
12772 #include <X11/Xlib.h>
12774 main (void)
12776 XrmInitialize ()
12778 return 0;
12780 _ACEOF
12781 if ac_fn_c_try_link "$LINENO"
12782 then :
12783 # We can compile and link X programs with no special options.
12784 ac_x_includes=
12785 ac_x_libraries=
12787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12788 conftest$ac_exeext conftest.$ac_ext
12789 LIBS="$ac_save_LIBS"
12790 # If that didn't work, only try xmkmf and file system searches
12791 # for native compilation.
12792 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
12793 then :
12794 rm -f -r conftest.dir
12795 if mkdir conftest.dir; then
12796 cd conftest.dir
12797 cat >Imakefile <<'_ACEOF'
12798 incroot:
12799 @echo incroot='${INCROOT}'
12800 usrlibdir:
12801 @echo usrlibdir='${USRLIBDIR}'
12802 libdir:
12803 @echo libdir='${LIBDIR}'
12804 _ACEOF
12805 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
12806 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12807 for ac_var in incroot usrlibdir libdir; do
12808 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
12809 done
12810 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12811 for ac_extension in a so sl dylib la dll; do
12812 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
12813 test -f "$ac_im_libdir/libX11.$ac_extension"; then
12814 ac_im_usrlibdir=$ac_im_libdir; break
12816 done
12817 # Screen out bogus values from the imake configuration. They are
12818 # bogus both because they are the default anyway, and because
12819 # using them would break gcc on systems where it needs fixed includes.
12820 case $ac_im_incroot in
12821 /usr/include) ac_x_includes= ;;
12822 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
12823 esac
12824 case $ac_im_usrlibdir in
12825 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
12826 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
12827 esac
12829 cd ..
12830 rm -f -r conftest.dir
12833 # Standard set of common directories for X headers.
12834 # Check X11 before X11Rn because it is often a symlink to the current release.
12835 ac_x_header_dirs='
12836 /usr/X11/include
12837 /usr/X11R7/include
12838 /usr/X11R6/include
12839 /usr/X11R5/include
12840 /usr/X11R4/include
12842 /usr/include/X11
12843 /usr/include/X11R7
12844 /usr/include/X11R6
12845 /usr/include/X11R5
12846 /usr/include/X11R4
12848 /usr/local/X11/include
12849 /usr/local/X11R7/include
12850 /usr/local/X11R6/include
12851 /usr/local/X11R5/include
12852 /usr/local/X11R4/include
12854 /usr/local/include/X11
12855 /usr/local/include/X11R7
12856 /usr/local/include/X11R6
12857 /usr/local/include/X11R5
12858 /usr/local/include/X11R4
12860 /opt/X11/include
12862 /usr/X386/include
12863 /usr/x386/include
12864 /usr/XFree86/include/X11
12866 /usr/include
12867 /usr/local/include
12868 /usr/unsupported/include
12869 /usr/athena/include
12870 /usr/local/x11r5/include
12871 /usr/lpp/Xamples/include
12873 /usr/openwin/include
12874 /usr/openwin/share/include'
12876 if test "$ac_x_includes" = no; then
12877 # Guess where to find include files, by looking for Xlib.h.
12878 # First, try using that file with no special directory specified.
12879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12881 #include <X11/Xlib.h>
12882 _ACEOF
12883 if ac_fn_c_try_cpp "$LINENO"
12884 then :
12885 # We can compile using X headers with no special include directory.
12886 ac_x_includes=
12887 else $as_nop
12888 for ac_dir in $ac_x_header_dirs; do
12889 if test -r "$ac_dir/X11/Xlib.h"; then
12890 ac_x_includes=$ac_dir
12891 break
12893 done
12895 rm -f conftest.err conftest.i conftest.$ac_ext
12896 fi # $ac_x_includes = no
12898 if test "$ac_x_libraries" = no; then
12899 # Check for the libraries.
12900 # See if we find them without any special options.
12901 # Don't add to $LIBS permanently.
12902 ac_save_LIBS=$LIBS
12903 LIBS="-lX11 $LIBS"
12904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12905 /* end confdefs.h. */
12906 #include <X11/Xlib.h>
12908 main (void)
12910 XrmInitialize ()
12912 return 0;
12914 _ACEOF
12915 if ac_fn_c_try_link "$LINENO"
12916 then :
12917 LIBS=$ac_save_LIBS
12918 # We can link X programs with no special library path.
12919 ac_x_libraries=
12920 else $as_nop
12921 LIBS=$ac_save_LIBS
12922 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
12924 # Don't even attempt the hair of trying to link an X program!
12925 for ac_extension in a so sl dylib la dll; do
12926 if test -r "$ac_dir/libX11.$ac_extension"; then
12927 ac_x_libraries=$ac_dir
12928 break 2
12930 done
12931 done
12933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12934 conftest$ac_exeext conftest.$ac_ext
12935 fi # $ac_x_libraries = no
12938 # Record the results.
12939 case $ac_x_includes,$ac_x_libraries in #(
12940 no,* | *,no | *\'*) :
12941 # Didn't find X, or a directory has "'" in its name.
12942 ac_cv_have_x="have_x=no" ;; #(
12943 *) :
12944 # Record where we found X for the cache.
12945 ac_cv_have_x="have_x=yes\
12946 ac_x_includes='$ac_x_includes'\
12947 ac_x_libraries='$ac_x_libraries'" ;;
12948 esac
12950 ;; #(
12951 *) have_x=yes;;
12952 esac
12953 eval "$ac_cv_have_x"
12954 fi # $with_x != no
12956 if test "$have_x" != yes; then
12957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
12958 printf "%s\n" "$have_x" >&6; }
12959 no_x=yes
12960 else
12961 # If each of the values was on the command line, it overrides each guess.
12962 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
12963 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
12964 # Update the cache value to reflect the command line values.
12965 ac_cv_have_x="have_x=yes\
12966 ac_x_includes='$x_includes'\
12967 ac_x_libraries='$x_libraries'"
12968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
12969 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
12972 if test "$no_x" = yes; then
12973 # Not all programs may use this symbol, but it does not hurt to define it.
12975 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
12977 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12978 else
12979 if test -n "$x_includes"; then
12980 X_CFLAGS="$X_CFLAGS -I$x_includes"
12983 # It would also be nice to do this for all -L options, not just this one.
12984 if test -n "$x_libraries"; then
12985 X_LIBS="$X_LIBS -L$x_libraries"
12986 # For Solaris; some versions of Sun CC require a space after -R and
12987 # others require no space. Words are not sufficient . . . .
12988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
12989 printf %s "checking whether -R must be followed by a space... " >&6; }
12990 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
12991 ac_xsave_c_werror_flag=$ac_c_werror_flag
12992 ac_c_werror_flag=yes
12993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12994 /* end confdefs.h. */
12997 main (void)
13001 return 0;
13003 _ACEOF
13004 if ac_fn_c_try_link "$LINENO"
13005 then :
13006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13007 printf "%s\n" "no" >&6; }
13008 X_LIBS="$X_LIBS -R$x_libraries"
13009 else $as_nop
13010 LIBS="$ac_xsave_LIBS -R $x_libraries"
13011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13015 main (void)
13019 return 0;
13021 _ACEOF
13022 if ac_fn_c_try_link "$LINENO"
13023 then :
13024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13025 printf "%s\n" "yes" >&6; }
13026 X_LIBS="$X_LIBS -R $x_libraries"
13027 else $as_nop
13028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13029 printf "%s\n" "neither works" >&6; }
13031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13032 conftest$ac_exeext conftest.$ac_ext
13034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13035 conftest$ac_exeext conftest.$ac_ext
13036 ac_c_werror_flag=$ac_xsave_c_werror_flag
13037 LIBS=$ac_xsave_LIBS
13040 # Check for system-dependent libraries X programs must link with.
13041 # Do this before checking for the system-independent R6 libraries
13042 # (-lICE), since we may need -lsocket or whatever for X linking.
13044 if test "$ISC" = yes; then
13045 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13046 else
13047 # Martyn Johnson says this is needed for Ultrix, if the X
13048 # libraries were built with DECnet support. And Karl Berry says
13049 # the Alpha needs dnet_stub (dnet does not exist).
13050 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13052 /* end confdefs.h. */
13054 /* Override any GCC internal prototype to avoid an error.
13055 Use char because int might match the return type of a GCC
13056 builtin and then its argument prototype would still apply. */
13057 char XOpenDisplay ();
13059 main (void)
13061 return XOpenDisplay ();
13063 return 0;
13065 _ACEOF
13066 if ac_fn_c_try_link "$LINENO"
13067 then :
13069 else $as_nop
13070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13071 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13072 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13073 then :
13074 printf %s "(cached) " >&6
13075 else $as_nop
13076 ac_check_lib_save_LIBS=$LIBS
13077 LIBS="-ldnet $LIBS"
13078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13079 /* end confdefs.h. */
13081 /* Override any GCC internal prototype to avoid an error.
13082 Use char because int might match the return type of a GCC
13083 builtin and then its argument prototype would still apply. */
13084 char dnet_ntoa ();
13086 main (void)
13088 return dnet_ntoa ();
13090 return 0;
13092 _ACEOF
13093 if ac_fn_c_try_link "$LINENO"
13094 then :
13095 ac_cv_lib_dnet_dnet_ntoa=yes
13096 else $as_nop
13097 ac_cv_lib_dnet_dnet_ntoa=no
13099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13100 conftest$ac_exeext conftest.$ac_ext
13101 LIBS=$ac_check_lib_save_LIBS
13103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13104 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13105 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13106 then :
13107 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13110 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13112 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13113 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13114 then :
13115 printf %s "(cached) " >&6
13116 else $as_nop
13117 ac_check_lib_save_LIBS=$LIBS
13118 LIBS="-ldnet_stub $LIBS"
13119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13122 /* Override any GCC internal prototype to avoid an error.
13123 Use char because int might match the return type of a GCC
13124 builtin and then its argument prototype would still apply. */
13125 char dnet_ntoa ();
13127 main (void)
13129 return dnet_ntoa ();
13131 return 0;
13133 _ACEOF
13134 if ac_fn_c_try_link "$LINENO"
13135 then :
13136 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13137 else $as_nop
13138 ac_cv_lib_dnet_stub_dnet_ntoa=no
13140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13141 conftest$ac_exeext conftest.$ac_ext
13142 LIBS=$ac_check_lib_save_LIBS
13144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13145 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13146 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13147 then :
13148 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13154 conftest$ac_exeext conftest.$ac_ext
13155 LIBS="$ac_xsave_LIBS"
13157 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13158 # to get the SysV transport functions.
13159 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13160 # needs -lnsl.
13161 # The nsl library prevents programs from opening the X display
13162 # on Irix 5.2, according to T.E. Dickey.
13163 # The functions gethostbyname, getservbyname, and inet_addr are
13164 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13165 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13166 if test "x$ac_cv_func_gethostbyname" = xyes
13167 then :
13171 if test $ac_cv_func_gethostbyname = no; then
13172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13173 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13174 if test ${ac_cv_lib_nsl_gethostbyname+y}
13175 then :
13176 printf %s "(cached) " >&6
13177 else $as_nop
13178 ac_check_lib_save_LIBS=$LIBS
13179 LIBS="-lnsl $LIBS"
13180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13181 /* end confdefs.h. */
13183 /* Override any GCC internal prototype to avoid an error.
13184 Use char because int might match the return type of a GCC
13185 builtin and then its argument prototype would still apply. */
13186 char gethostbyname ();
13188 main (void)
13190 return gethostbyname ();
13192 return 0;
13194 _ACEOF
13195 if ac_fn_c_try_link "$LINENO"
13196 then :
13197 ac_cv_lib_nsl_gethostbyname=yes
13198 else $as_nop
13199 ac_cv_lib_nsl_gethostbyname=no
13201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13202 conftest$ac_exeext conftest.$ac_ext
13203 LIBS=$ac_check_lib_save_LIBS
13205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13206 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13207 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13208 then :
13209 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13212 if test $ac_cv_lib_nsl_gethostbyname = no; then
13213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13214 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13215 if test ${ac_cv_lib_bsd_gethostbyname+y}
13216 then :
13217 printf %s "(cached) " >&6
13218 else $as_nop
13219 ac_check_lib_save_LIBS=$LIBS
13220 LIBS="-lbsd $LIBS"
13221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13222 /* end confdefs.h. */
13224 /* Override any GCC internal prototype to avoid an error.
13225 Use char because int might match the return type of a GCC
13226 builtin and then its argument prototype would still apply. */
13227 char gethostbyname ();
13229 main (void)
13231 return gethostbyname ();
13233 return 0;
13235 _ACEOF
13236 if ac_fn_c_try_link "$LINENO"
13237 then :
13238 ac_cv_lib_bsd_gethostbyname=yes
13239 else $as_nop
13240 ac_cv_lib_bsd_gethostbyname=no
13242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13243 conftest$ac_exeext conftest.$ac_ext
13244 LIBS=$ac_check_lib_save_LIBS
13246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13247 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13248 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13249 then :
13250 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13256 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13257 # socket/setsockopt and other routines are undefined under SCO ODT
13258 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13259 # on later versions), says Simon Leinen: it contains gethostby*
13260 # variants that don't use the name server (or something). -lsocket
13261 # must be given before -lnsl if both are needed. We assume that
13262 # if connect needs -lnsl, so does gethostbyname.
13263 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13264 if test "x$ac_cv_func_connect" = xyes
13265 then :
13269 if test $ac_cv_func_connect = no; then
13270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13271 printf %s "checking for connect in -lsocket... " >&6; }
13272 if test ${ac_cv_lib_socket_connect+y}
13273 then :
13274 printf %s "(cached) " >&6
13275 else $as_nop
13276 ac_check_lib_save_LIBS=$LIBS
13277 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13279 /* end confdefs.h. */
13281 /* Override any GCC internal prototype to avoid an error.
13282 Use char because int might match the return type of a GCC
13283 builtin and then its argument prototype would still apply. */
13284 char connect ();
13286 main (void)
13288 return connect ();
13290 return 0;
13292 _ACEOF
13293 if ac_fn_c_try_link "$LINENO"
13294 then :
13295 ac_cv_lib_socket_connect=yes
13296 else $as_nop
13297 ac_cv_lib_socket_connect=no
13299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13300 conftest$ac_exeext conftest.$ac_ext
13301 LIBS=$ac_check_lib_save_LIBS
13303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13304 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
13305 if test "x$ac_cv_lib_socket_connect" = xyes
13306 then :
13307 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
13312 # Guillermo Gomez says -lposix is necessary on A/UX.
13313 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
13314 if test "x$ac_cv_func_remove" = xyes
13315 then :
13319 if test $ac_cv_func_remove = no; then
13320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
13321 printf %s "checking for remove in -lposix... " >&6; }
13322 if test ${ac_cv_lib_posix_remove+y}
13323 then :
13324 printf %s "(cached) " >&6
13325 else $as_nop
13326 ac_check_lib_save_LIBS=$LIBS
13327 LIBS="-lposix $LIBS"
13328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13329 /* end confdefs.h. */
13331 /* Override any GCC internal prototype to avoid an error.
13332 Use char because int might match the return type of a GCC
13333 builtin and then its argument prototype would still apply. */
13334 char remove ();
13336 main (void)
13338 return remove ();
13340 return 0;
13342 _ACEOF
13343 if ac_fn_c_try_link "$LINENO"
13344 then :
13345 ac_cv_lib_posix_remove=yes
13346 else $as_nop
13347 ac_cv_lib_posix_remove=no
13349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13350 conftest$ac_exeext conftest.$ac_ext
13351 LIBS=$ac_check_lib_save_LIBS
13353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
13354 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
13355 if test "x$ac_cv_lib_posix_remove" = xyes
13356 then :
13357 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
13362 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13363 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
13364 if test "x$ac_cv_func_shmat" = xyes
13365 then :
13369 if test $ac_cv_func_shmat = no; then
13370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
13371 printf %s "checking for shmat in -lipc... " >&6; }
13372 if test ${ac_cv_lib_ipc_shmat+y}
13373 then :
13374 printf %s "(cached) " >&6
13375 else $as_nop
13376 ac_check_lib_save_LIBS=$LIBS
13377 LIBS="-lipc $LIBS"
13378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13379 /* end confdefs.h. */
13381 /* Override any GCC internal prototype to avoid an error.
13382 Use char because int might match the return type of a GCC
13383 builtin and then its argument prototype would still apply. */
13384 char shmat ();
13386 main (void)
13388 return shmat ();
13390 return 0;
13392 _ACEOF
13393 if ac_fn_c_try_link "$LINENO"
13394 then :
13395 ac_cv_lib_ipc_shmat=yes
13396 else $as_nop
13397 ac_cv_lib_ipc_shmat=no
13399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13400 conftest$ac_exeext conftest.$ac_ext
13401 LIBS=$ac_check_lib_save_LIBS
13403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
13404 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
13405 if test "x$ac_cv_lib_ipc_shmat" = xyes
13406 then :
13407 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13413 # Check for libraries that X11R6 Xt/Xaw programs need.
13414 ac_save_LDFLAGS=$LDFLAGS
13415 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
13416 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13417 # check for ICE first), but we must link in the order -lSM -lICE or
13418 # we get undefined symbols. So assume we have SM if we have ICE.
13419 # These have to be linked with before -lX11, unlike the other
13420 # libraries we check for below, so use a different variable.
13421 # John Interrante, Karl Berry
13422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
13423 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
13424 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
13425 then :
13426 printf %s "(cached) " >&6
13427 else $as_nop
13428 ac_check_lib_save_LIBS=$LIBS
13429 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13431 /* end confdefs.h. */
13433 /* Override any GCC internal prototype to avoid an error.
13434 Use char because int might match the return type of a GCC
13435 builtin and then its argument prototype would still apply. */
13436 char IceConnectionNumber ();
13438 main (void)
13440 return IceConnectionNumber ();
13442 return 0;
13444 _ACEOF
13445 if ac_fn_c_try_link "$LINENO"
13446 then :
13447 ac_cv_lib_ICE_IceConnectionNumber=yes
13448 else $as_nop
13449 ac_cv_lib_ICE_IceConnectionNumber=no
13451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13452 conftest$ac_exeext conftest.$ac_ext
13453 LIBS=$ac_check_lib_save_LIBS
13455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
13456 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
13457 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
13458 then :
13459 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13462 LDFLAGS=$ac_save_LDFLAGS
13467 if test "$have_x" = "yes"
13468 then
13469 ac_save_CPPFLAGS="$CPPFLAGS"
13470 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
13472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
13473 printf %s "checking for -lX11... " >&6; }
13474 if test ${ac_cv_lib_soname_X11+y}
13475 then :
13476 printf %s "(cached) " >&6
13477 else $as_nop
13478 ac_check_soname_save_LIBS=$LIBS
13479 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
13480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13481 /* end confdefs.h. */
13483 /* Override any GCC internal prototype to avoid an error.
13484 Use char because int might match the return type of a GCC
13485 builtin and then its argument prototype would still apply. */
13486 char XCreateWindow ();
13488 main (void)
13490 return XCreateWindow ();
13492 return 0;
13494 _ACEOF
13495 if ac_fn_c_try_link "$LINENO"
13496 then :
13497 case "$LIBEXT" in
13498 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13499 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'` ;;
13500 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13501 if ${ac_cv_lib_soname_X11:+false} :
13502 then :
13503 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13504 fi ;;
13505 esac
13506 else $as_nop
13507 ac_cv_lib_soname_X11=
13509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13510 conftest$ac_exeext conftest.$ac_ext
13511 LIBS=$ac_check_soname_save_LIBS
13513 if ${ac_cv_lib_soname_X11:+false} :
13514 then :
13515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13516 printf "%s\n" "not found" >&6; }
13518 else $as_nop
13519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
13520 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
13522 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
13526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
13527 printf %s "checking for -lXext... " >&6; }
13528 if test ${ac_cv_lib_soname_Xext+y}
13529 then :
13530 printf %s "(cached) " >&6
13531 else $as_nop
13532 ac_check_soname_save_LIBS=$LIBS
13533 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13537 /* Override any GCC internal prototype to avoid an error.
13538 Use char because int might match the return type of a GCC
13539 builtin and then its argument prototype would still apply. */
13540 char XextCreateExtension ();
13542 main (void)
13544 return XextCreateExtension ();
13546 return 0;
13548 _ACEOF
13549 if ac_fn_c_try_link "$LINENO"
13550 then :
13551 case "$LIBEXT" in
13552 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13553 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'` ;;
13554 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13555 if ${ac_cv_lib_soname_Xext:+false} :
13556 then :
13557 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13558 fi ;;
13559 esac
13560 else $as_nop
13561 ac_cv_lib_soname_Xext=
13563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13564 conftest$ac_exeext conftest.$ac_ext
13565 LIBS=$ac_check_soname_save_LIBS
13567 if ${ac_cv_lib_soname_Xext:+false} :
13568 then :
13569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13570 printf "%s\n" "not found" >&6; }
13572 else $as_nop
13573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
13574 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
13576 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
13578 X_LIBS="$X_LIBS -lXext"
13580 X_LIBS="$X_LIBS -lX11"
13582 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
13583 # include <X11/Xlib.h>
13584 #endif
13585 #ifdef HAVE_X11_XUTIL_H
13586 # include <X11/Xutil.h>
13587 #endif
13589 if test "x$ac_cv_header_X11_Xlib_h" = xyes
13590 then :
13591 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
13594 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
13595 # include <X11/Xlib.h>
13596 #endif
13597 #ifdef HAVE_X11_XUTIL_H
13598 # include <X11/Xutil.h>
13599 #endif
13601 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
13602 then :
13603 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
13606 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
13607 # include <X11/Xlib.h>
13608 #endif
13609 #ifdef HAVE_X11_XUTIL_H
13610 # include <X11/Xutil.h>
13611 #endif
13613 if test "x$ac_cv_header_X11_Xutil_h" = xyes
13614 then :
13615 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
13618 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
13619 # include <X11/Xlib.h>
13620 #endif
13621 #ifdef HAVE_X11_XUTIL_H
13622 # include <X11/Xutil.h>
13623 #endif
13625 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
13626 then :
13627 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
13630 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
13631 # include <X11/Xlib.h>
13632 #endif
13633 #ifdef HAVE_X11_XUTIL_H
13634 # include <X11/Xutil.h>
13635 #endif
13637 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
13638 then :
13639 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
13642 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
13643 # include <X11/Xlib.h>
13644 #endif
13645 #ifdef HAVE_X11_XUTIL_H
13646 # include <X11/Xutil.h>
13647 #endif
13649 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
13650 then :
13651 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
13654 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
13655 # include <X11/Xlib.h>
13656 #endif
13657 #ifdef HAVE_X11_XUTIL_H
13658 # include <X11/Xutil.h>
13659 #endif
13661 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
13662 then :
13663 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
13666 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
13667 # include <X11/Xlib.h>
13668 #endif
13669 #ifdef HAVE_X11_XUTIL_H
13670 # include <X11/Xutil.h>
13671 #endif
13673 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
13674 then :
13675 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
13678 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
13679 # include <X11/Xlib.h>
13680 #endif
13681 #ifdef HAVE_X11_XUTIL_H
13682 # include <X11/Xutil.h>
13683 #endif
13685 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
13686 then :
13687 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
13690 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
13691 # include <X11/Xlib.h>
13692 #endif
13693 #ifdef HAVE_X11_XUTIL_H
13694 # include <X11/Xutil.h>
13695 #endif
13697 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
13698 then :
13699 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
13702 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
13703 # include <X11/Xlib.h>
13704 #endif
13705 #ifdef HAVE_X11_XUTIL_H
13706 # include <X11/Xutil.h>
13707 #endif
13709 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
13710 then :
13711 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
13714 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
13715 # include <X11/Xlib.h>
13716 #endif
13717 #ifdef HAVE_X11_XUTIL_H
13718 # include <X11/Xutil.h>
13719 #endif
13721 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
13722 then :
13723 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
13726 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
13727 # include <X11/Xlib.h>
13728 #endif
13729 #ifdef HAVE_X11_XUTIL_H
13730 # include <X11/Xutil.h>
13731 #endif
13733 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
13734 then :
13735 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
13738 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
13739 # include <X11/Xlib.h>
13740 #endif
13741 #ifdef HAVE_X11_XUTIL_H
13742 # include <X11/Xutil.h>
13743 #endif
13745 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
13746 then :
13747 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
13750 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
13751 # include <X11/Xlib.h>
13752 #endif
13753 #ifdef HAVE_X11_XUTIL_H
13754 # include <X11/Xutil.h>
13755 #endif
13757 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
13758 then :
13759 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
13764 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
13765 then
13766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
13767 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
13768 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
13769 then :
13770 printf %s "(cached) " >&6
13771 else $as_nop
13772 ac_check_lib_save_LIBS=$LIBS
13773 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
13774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13775 /* end confdefs.h. */
13777 /* Override any GCC internal prototype to avoid an error.
13778 Use char because int might match the return type of a GCC
13779 builtin and then its argument prototype would still apply. */
13780 char XkbQueryExtension ();
13782 main (void)
13784 return XkbQueryExtension ();
13786 return 0;
13788 _ACEOF
13789 if ac_fn_c_try_link "$LINENO"
13790 then :
13791 ac_cv_lib_X11_XkbQueryExtension=yes
13792 else $as_nop
13793 ac_cv_lib_X11_XkbQueryExtension=no
13795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13796 conftest$ac_exeext conftest.$ac_ext
13797 LIBS=$ac_check_lib_save_LIBS
13799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
13800 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
13801 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
13802 then :
13804 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
13810 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
13811 then
13812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
13813 printf %s "checking for -lXcursor... " >&6; }
13814 if test ${ac_cv_lib_soname_Xcursor+y}
13815 then :
13816 printf %s "(cached) " >&6
13817 else $as_nop
13818 ac_check_soname_save_LIBS=$LIBS
13819 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
13820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13821 /* end confdefs.h. */
13823 /* Override any GCC internal prototype to avoid an error.
13824 Use char because int might match the return type of a GCC
13825 builtin and then its argument prototype would still apply. */
13826 char XcursorImageLoadCursor ();
13828 main (void)
13830 return XcursorImageLoadCursor ();
13832 return 0;
13834 _ACEOF
13835 if ac_fn_c_try_link "$LINENO"
13836 then :
13837 case "$LIBEXT" in
13838 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13839 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'` ;;
13840 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13841 if ${ac_cv_lib_soname_Xcursor:+false} :
13842 then :
13843 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13844 fi ;;
13845 esac
13846 else $as_nop
13847 ac_cv_lib_soname_Xcursor=
13849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13850 conftest$ac_exeext conftest.$ac_ext
13851 LIBS=$ac_check_soname_save_LIBS
13853 if ${ac_cv_lib_soname_Xcursor:+false} :
13854 then :
13855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13856 printf "%s\n" "not found" >&6; }
13858 else $as_nop
13859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
13860 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
13862 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
13867 if test "x$ac_cv_lib_soname_Xcursor" = "x"
13868 then :
13869 case "x$with_xcursor" in
13870 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
13871 xno) ;;
13872 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
13873 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
13874 esac
13878 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
13879 then
13880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
13881 printf %s "checking for -lXi... " >&6; }
13882 if test ${ac_cv_lib_soname_Xi+y}
13883 then :
13884 printf %s "(cached) " >&6
13885 else $as_nop
13886 ac_check_soname_save_LIBS=$LIBS
13887 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
13888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13891 /* Override any GCC internal prototype to avoid an error.
13892 Use char because int might match the return type of a GCC
13893 builtin and then its argument prototype would still apply. */
13894 char XOpenDevice ();
13896 main (void)
13898 return XOpenDevice ();
13900 return 0;
13902 _ACEOF
13903 if ac_fn_c_try_link "$LINENO"
13904 then :
13905 case "$LIBEXT" in
13906 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13907 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'` ;;
13908 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13909 if ${ac_cv_lib_soname_Xi:+false} :
13910 then :
13911 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13912 fi ;;
13913 esac
13914 else $as_nop
13915 ac_cv_lib_soname_Xi=
13917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13918 conftest$ac_exeext conftest.$ac_ext
13919 LIBS=$ac_check_soname_save_LIBS
13921 if ${ac_cv_lib_soname_Xi:+false} :
13922 then :
13923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13924 printf "%s\n" "not found" >&6; }
13926 else $as_nop
13927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
13928 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
13930 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
13935 if test "x$ac_cv_lib_soname_Xi" = "x"
13936 then :
13937 case "x$with_xinput" in
13938 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
13939 xno) ;;
13940 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
13941 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
13942 esac
13946 if test "x$ac_cv_lib_soname_Xi" != x
13947 then
13948 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
13949 then :
13950 case "x$with_xinput2" in
13951 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
13952 xno) ;;
13953 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
13954 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
13955 esac
13960 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
13961 then
13962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13963 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
13964 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
13965 then :
13966 printf %s "(cached) " >&6
13967 else $as_nop
13968 ac_check_lib_save_LIBS=$LIBS
13969 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
13970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13973 /* Override any GCC internal prototype to avoid an error.
13974 Use char because int might match the return type of a GCC
13975 builtin and then its argument prototype would still apply. */
13976 char XShmQueryExtension ();
13978 main (void)
13980 return XShmQueryExtension ();
13982 return 0;
13984 _ACEOF
13985 if ac_fn_c_try_link "$LINENO"
13986 then :
13987 ac_cv_lib_Xext_XShmQueryExtension=yes
13988 else $as_nop
13989 ac_cv_lib_Xext_XShmQueryExtension=no
13991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13992 conftest$ac_exeext conftest.$ac_ext
13993 LIBS=$ac_check_lib_save_LIBS
13995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13996 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13997 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
13998 then :
14000 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14005 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14006 then :
14007 case "x$with_xshm" in
14008 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14009 xno) ;;
14010 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14011 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14012 esac
14016 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14017 then
14018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14019 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14020 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14021 then :
14022 printf %s "(cached) " >&6
14023 else $as_nop
14024 ac_check_lib_save_LIBS=$LIBS
14025 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14027 /* end confdefs.h. */
14029 /* Override any GCC internal prototype to avoid an error.
14030 Use char because int might match the return type of a GCC
14031 builtin and then its argument prototype would still apply. */
14032 char XShapeQueryExtension ();
14034 main (void)
14036 return XShapeQueryExtension ();
14038 return 0;
14040 _ACEOF
14041 if ac_fn_c_try_link "$LINENO"
14042 then :
14043 ac_cv_lib_Xext_XShapeQueryExtension=yes
14044 else $as_nop
14045 ac_cv_lib_Xext_XShapeQueryExtension=no
14047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14048 conftest$ac_exeext conftest.$ac_ext
14049 LIBS=$ac_check_lib_save_LIBS
14051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14052 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14053 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14054 then :
14056 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14061 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14062 then :
14063 case "x$with_xshape" in
14064 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14065 xno) ;;
14066 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14067 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14068 esac
14072 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14073 then
14074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14075 printf %s "checking for -lXxf86vm... " >&6; }
14076 if test ${ac_cv_lib_soname_Xxf86vm+y}
14077 then :
14078 printf %s "(cached) " >&6
14079 else $as_nop
14080 ac_check_soname_save_LIBS=$LIBS
14081 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14083 /* end confdefs.h. */
14085 /* Override any GCC internal prototype to avoid an error.
14086 Use char because int might match the return type of a GCC
14087 builtin and then its argument prototype would still apply. */
14088 char XF86VidModeQueryExtension ();
14090 main (void)
14092 return XF86VidModeQueryExtension ();
14094 return 0;
14096 _ACEOF
14097 if ac_fn_c_try_link "$LINENO"
14098 then :
14099 case "$LIBEXT" in
14100 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14101 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'` ;;
14102 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14103 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14104 then :
14105 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14106 fi ;;
14107 esac
14108 else $as_nop
14109 ac_cv_lib_soname_Xxf86vm=
14111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14112 conftest$ac_exeext conftest.$ac_ext
14113 LIBS=$ac_check_soname_save_LIBS
14115 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14116 then :
14117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14118 printf "%s\n" "not found" >&6; }
14120 else $as_nop
14121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14122 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14124 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14129 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14130 then :
14131 case "x$with_xxf86vm" in
14132 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14133 xno) ;;
14134 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14135 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14136 esac
14140 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14141 then
14142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14143 printf %s "checking for -lXrender... " >&6; }
14144 if test ${ac_cv_lib_soname_Xrender+y}
14145 then :
14146 printf %s "(cached) " >&6
14147 else $as_nop
14148 ac_check_soname_save_LIBS=$LIBS
14149 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14153 /* Override any GCC internal prototype to avoid an error.
14154 Use char because int might match the return type of a GCC
14155 builtin and then its argument prototype would still apply. */
14156 char XRenderQueryExtension ();
14158 main (void)
14160 return XRenderQueryExtension ();
14162 return 0;
14164 _ACEOF
14165 if ac_fn_c_try_link "$LINENO"
14166 then :
14167 case "$LIBEXT" in
14168 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14169 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'` ;;
14170 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14171 if ${ac_cv_lib_soname_Xrender:+false} :
14172 then :
14173 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14174 fi ;;
14175 esac
14176 else $as_nop
14177 ac_cv_lib_soname_Xrender=
14179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14180 conftest$ac_exeext conftest.$ac_ext
14181 LIBS=$ac_check_soname_save_LIBS
14183 if ${ac_cv_lib_soname_Xrender:+false} :
14184 then :
14185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14186 printf "%s\n" "not found" >&6; }
14188 else $as_nop
14189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14190 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14192 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14195 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14196 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14197 then :
14198 printf %s "(cached) " >&6
14199 else $as_nop
14200 ac_check_lib_save_LIBS=$LIBS
14201 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14203 /* end confdefs.h. */
14205 /* Override any GCC internal prototype to avoid an error.
14206 Use char because int might match the return type of a GCC
14207 builtin and then its argument prototype would still apply. */
14208 char XRenderSetPictureTransform ();
14210 main (void)
14212 return XRenderSetPictureTransform ();
14214 return 0;
14216 _ACEOF
14217 if ac_fn_c_try_link "$LINENO"
14218 then :
14219 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14220 else $as_nop
14221 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14224 conftest$ac_exeext conftest.$ac_ext
14225 LIBS=$ac_check_lib_save_LIBS
14227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14228 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14229 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14230 then :
14232 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14237 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14238 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14239 then :
14240 printf %s "(cached) " >&6
14241 else $as_nop
14242 ac_check_lib_save_LIBS=$LIBS
14243 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14247 /* Override any GCC internal prototype to avoid an error.
14248 Use char because int might match the return type of a GCC
14249 builtin and then its argument prototype would still apply. */
14250 char XRenderCreateLinearGradient ();
14252 main (void)
14254 return XRenderCreateLinearGradient ();
14256 return 0;
14258 _ACEOF
14259 if ac_fn_c_try_link "$LINENO"
14260 then :
14261 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14262 else $as_nop
14263 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14266 conftest$ac_exeext conftest.$ac_ext
14267 LIBS=$ac_check_lib_save_LIBS
14269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14270 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14271 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14272 then :
14274 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14281 if test "x$ac_cv_lib_soname_Xrender" = "x"
14282 then :
14283 case "x$with_xrender" in
14284 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14285 xno) ;;
14286 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14287 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14288 esac
14292 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14293 then
14294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14296 #include <X11/Xlib.h>
14297 #include <X11/extensions/Xrandr.h>
14299 main (void)
14301 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14303 return 0;
14305 _ACEOF
14306 if ac_fn_c_try_compile "$LINENO"
14307 then :
14308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14309 printf %s "checking for -lXrandr... " >&6; }
14310 if test ${ac_cv_lib_soname_Xrandr+y}
14311 then :
14312 printf %s "(cached) " >&6
14313 else $as_nop
14314 ac_check_soname_save_LIBS=$LIBS
14315 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14317 /* end confdefs.h. */
14319 /* Override any GCC internal prototype to avoid an error.
14320 Use char because int might match the return type of a GCC
14321 builtin and then its argument prototype would still apply. */
14322 char XRRQueryExtension ();
14324 main (void)
14326 return XRRQueryExtension ();
14328 return 0;
14330 _ACEOF
14331 if ac_fn_c_try_link "$LINENO"
14332 then :
14333 case "$LIBEXT" in
14334 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14335 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'` ;;
14336 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14337 if ${ac_cv_lib_soname_Xrandr:+false} :
14338 then :
14339 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14340 fi ;;
14341 esac
14342 else $as_nop
14343 ac_cv_lib_soname_Xrandr=
14345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14346 conftest$ac_exeext conftest.$ac_ext
14347 LIBS=$ac_check_soname_save_LIBS
14349 if ${ac_cv_lib_soname_Xrandr:+false} :
14350 then :
14351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14352 printf "%s\n" "not found" >&6; }
14354 else $as_nop
14355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
14356 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
14358 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14362 #include <X11/Xlib.h>
14363 #include <X11/extensions/Xrandr.h>
14365 main (void)
14367 static typeof(XRRGetProviderResources) *f; if (f) return 0;
14369 return 0;
14371 _ACEOF
14372 if ac_fn_c_try_compile "$LINENO"
14373 then :
14375 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
14377 else $as_nop
14378 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
14380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14385 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14386 then :
14387 case "x$with_xrandr" in
14388 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
14389 xno) ;;
14390 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
14391 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
14392 esac
14396 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
14397 then
14398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14399 /* end confdefs.h. */
14400 #include <X11/Xlib.h>
14401 #include <X11/extensions/Xfixes.h>
14403 main (void)
14405 static typeof(XFixesQueryVersion) * func; if (func) return 0;
14407 return 0;
14409 _ACEOF
14410 if ac_fn_c_try_compile "$LINENO"
14411 then :
14412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
14413 printf %s "checking for -lXfixes... " >&6; }
14414 if test ${ac_cv_lib_soname_Xfixes+y}
14415 then :
14416 printf %s "(cached) " >&6
14417 else $as_nop
14418 ac_check_soname_save_LIBS=$LIBS
14419 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
14420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h. */
14423 /* Override any GCC internal prototype to avoid an error.
14424 Use char because int might match the return type of a GCC
14425 builtin and then its argument prototype would still apply. */
14426 char XFixesQueryVersion ();
14428 main (void)
14430 return XFixesQueryVersion ();
14432 return 0;
14434 _ACEOF
14435 if ac_fn_c_try_link "$LINENO"
14436 then :
14437 case "$LIBEXT" in
14438 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14439 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'` ;;
14440 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14441 if ${ac_cv_lib_soname_Xfixes:+false} :
14442 then :
14443 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14444 fi ;;
14445 esac
14446 else $as_nop
14447 ac_cv_lib_soname_Xfixes=
14449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14450 conftest$ac_exeext conftest.$ac_ext
14451 LIBS=$ac_check_soname_save_LIBS
14453 if ${ac_cv_lib_soname_Xfixes:+false} :
14454 then :
14455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14456 printf "%s\n" "not found" >&6; }
14458 else $as_nop
14459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
14460 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
14462 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
14467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14469 if test "x$ac_cv_lib_soname_Xfixes" = "x"
14470 then :
14471 case "x$with_xfixes" in
14472 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
14473 xno) ;;
14474 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
14475 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
14476 esac
14480 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
14481 then
14482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 /* end confdefs.h. */
14484 #include <X11/Xlib.h>
14485 #include <X11/extensions/Xinerama.h>
14487 main (void)
14489 static typeof(XineramaQueryScreens) * func; if (func) return 0;
14491 return 0;
14493 _ACEOF
14494 if ac_fn_c_try_compile "$LINENO"
14495 then :
14496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
14497 printf %s "checking for -lXinerama... " >&6; }
14498 if test ${ac_cv_lib_soname_Xinerama+y}
14499 then :
14500 printf %s "(cached) " >&6
14501 else $as_nop
14502 ac_check_soname_save_LIBS=$LIBS
14503 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
14504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14505 /* end confdefs.h. */
14507 /* Override any GCC internal prototype to avoid an error.
14508 Use char because int might match the return type of a GCC
14509 builtin and then its argument prototype would still apply. */
14510 char XineramaQueryScreens ();
14512 main (void)
14514 return XineramaQueryScreens ();
14516 return 0;
14518 _ACEOF
14519 if ac_fn_c_try_link "$LINENO"
14520 then :
14521 case "$LIBEXT" in
14522 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14523 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'` ;;
14524 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14525 if ${ac_cv_lib_soname_Xinerama:+false} :
14526 then :
14527 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14528 fi ;;
14529 esac
14530 else $as_nop
14531 ac_cv_lib_soname_Xinerama=
14533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14534 conftest$ac_exeext conftest.$ac_ext
14535 LIBS=$ac_check_soname_save_LIBS
14537 if ${ac_cv_lib_soname_Xinerama:+false} :
14538 then :
14539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14540 printf "%s\n" "not found" >&6; }
14542 else $as_nop
14543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
14544 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
14546 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
14551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14553 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14554 then :
14555 case "x$with_xinerama" in
14556 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
14557 xno) ;;
14558 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
14559 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
14560 esac
14564 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
14565 then
14566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
14567 printf %s "checking for -lXcomposite... " >&6; }
14568 if test ${ac_cv_lib_soname_Xcomposite+y}
14569 then :
14570 printf %s "(cached) " >&6
14571 else $as_nop
14572 ac_check_soname_save_LIBS=$LIBS
14573 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
14574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14577 /* Override any GCC internal prototype to avoid an error.
14578 Use char because int might match the return type of a GCC
14579 builtin and then its argument prototype would still apply. */
14580 char XCompositeRedirectWindow ();
14582 main (void)
14584 return XCompositeRedirectWindow ();
14586 return 0;
14588 _ACEOF
14589 if ac_fn_c_try_link "$LINENO"
14590 then :
14591 case "$LIBEXT" in
14592 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14593 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'` ;;
14594 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14595 if ${ac_cv_lib_soname_Xcomposite:+false} :
14596 then :
14597 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14598 fi ;;
14599 esac
14600 else $as_nop
14601 ac_cv_lib_soname_Xcomposite=
14603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14604 conftest$ac_exeext conftest.$ac_ext
14605 LIBS=$ac_check_soname_save_LIBS
14607 if ${ac_cv_lib_soname_Xcomposite:+false} :
14608 then :
14609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14610 printf "%s\n" "not found" >&6; }
14612 else $as_nop
14613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
14614 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
14616 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
14621 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
14622 then :
14623 case "x$with_xcomposite" in
14624 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
14625 xno) ;;
14626 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
14627 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
14628 esac
14632 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
14633 #include <X11/Xlib.h>
14634 #endif
14636 if test "x$ac_cv_member_XICCallback_callback" = xyes
14637 then :
14639 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
14643 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
14644 #include <X11/Xlib.h>
14645 #endif
14647 if test "x$ac_cv_member_XEvent_xcookie" = xyes
14648 then :
14650 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
14657 opengl_msg=""
14658 if test "x$with_opengl" != "xno"
14659 then
14660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
14661 printf %s "checking for -lGL... " >&6; }
14662 if test ${ac_cv_lib_soname_GL+y}
14663 then :
14664 printf %s "(cached) " >&6
14665 else $as_nop
14666 ac_check_soname_save_LIBS=$LIBS
14667 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
14668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14669 /* end confdefs.h. */
14671 /* Override any GCC internal prototype to avoid an error.
14672 Use char because int might match the return type of a GCC
14673 builtin and then its argument prototype would still apply. */
14674 char glXCreateContext ();
14676 main (void)
14678 return glXCreateContext ();
14680 return 0;
14682 _ACEOF
14683 if ac_fn_c_try_link "$LINENO"
14684 then :
14685 case "$LIBEXT" in
14686 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14687 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'` ;;
14688 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14689 if ${ac_cv_lib_soname_GL:+false} :
14690 then :
14691 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14692 fi ;;
14693 esac
14694 else $as_nop
14695 ac_cv_lib_soname_GL=
14697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14698 conftest$ac_exeext conftest.$ac_ext
14699 LIBS=$ac_check_soname_save_LIBS
14701 if ${ac_cv_lib_soname_GL:+false} :
14702 then :
14703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14704 printf "%s\n" "not found" >&6; }
14705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
14706 printf %s "checking for -lGL... " >&6; }
14707 if test ${ac_cv_lib_soname_GL+y}
14708 then :
14709 printf %s "(cached) " >&6
14710 else $as_nop
14711 ac_check_soname_save_LIBS=$LIBS
14712 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"
14713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14714 /* end confdefs.h. */
14716 /* Override any GCC internal prototype to avoid an error.
14717 Use char because int might match the return type of a GCC
14718 builtin and then its argument prototype would still apply. */
14719 char glXCreateContext ();
14721 main (void)
14723 return glXCreateContext ();
14725 return 0;
14727 _ACEOF
14728 if ac_fn_c_try_link "$LINENO"
14729 then :
14730 case "$LIBEXT" in
14731 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14732 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'` ;;
14733 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14734 if ${ac_cv_lib_soname_GL:+false} :
14735 then :
14736 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14737 fi ;;
14738 esac
14739 else $as_nop
14740 ac_cv_lib_soname_GL=
14742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14743 conftest$ac_exeext conftest.$ac_ext
14744 LIBS=$ac_check_soname_save_LIBS
14746 if ${ac_cv_lib_soname_GL:+false} :
14747 then :
14748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14749 printf "%s\n" "not found" >&6; }
14750 if test -f /usr/X11R6/lib/libGL.a
14751 then
14752 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
14753 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
14754 else
14755 opengl_msg="No OpenGL library found on this system."
14757 else $as_nop
14758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
14759 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
14761 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
14763 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"
14765 else $as_nop
14766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
14767 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
14769 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
14771 OPENGL_LIBS="-lGL"
14773 if test "x$with_osmesa" != "xno"
14774 then
14775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
14776 printf %s "checking for -lOSMesa... " >&6; }
14777 if test ${ac_cv_lib_soname_OSMesa+y}
14778 then :
14779 printf %s "(cached) " >&6
14780 else $as_nop
14781 ac_check_soname_save_LIBS=$LIBS
14782 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
14783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14784 /* end confdefs.h. */
14786 /* Override any GCC internal prototype to avoid an error.
14787 Use char because int might match the return type of a GCC
14788 builtin and then its argument prototype would still apply. */
14789 char OSMesaGetProcAddress ();
14791 main (void)
14793 return OSMesaGetProcAddress ();
14795 return 0;
14797 _ACEOF
14798 if ac_fn_c_try_link "$LINENO"
14799 then :
14800 case "$LIBEXT" in
14801 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14802 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'` ;;
14803 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14804 if ${ac_cv_lib_soname_OSMesa:+false} :
14805 then :
14806 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14807 fi ;;
14808 esac
14809 else $as_nop
14810 ac_cv_lib_soname_OSMesa=
14812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14813 conftest$ac_exeext conftest.$ac_ext
14814 LIBS=$ac_check_soname_save_LIBS
14816 if ${ac_cv_lib_soname_OSMesa:+false} :
14817 then :
14818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14819 printf "%s\n" "not found" >&6; }
14821 else $as_nop
14822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
14823 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
14825 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
14829 if test "x$ac_cv_lib_soname_OSMesa" = "x"
14830 then :
14831 case "x$with_osmesa" in
14832 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
14833 xno) ;;
14834 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
14835 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
14836 esac
14841 if test -n "$opengl_msg"
14842 then :
14843 case "x$with_opengl" in
14844 x) as_fn_append wine_warnings "|$opengl_msg
14845 OpenGL and Direct3D won't be supported." ;;
14846 xno) ;;
14847 *) as_fn_error $? "$opengl_msg
14848 OpenGL and Direct3D won't be supported.
14849 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
14850 esac
14854 CPPFLAGS="$ac_save_CPPFLAGS"
14855 else
14856 X_CFLAGS=""
14857 X_LIBS=""
14860 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
14861 then
14862 if test "x$X_LIBS" = "x"
14863 then :
14864 case "x$with_x" in
14865 xno) ;;
14866 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
14867 without X support, which probably isn't what you want. You will need
14868 to install ${notice_platform}development packages of Xlib at the very least.
14869 Use the --without-x option if you really want this." "$LINENO" 5 ;;
14870 esac
14871 enable_winex11_drv=${enable_winex11_drv:-no}
14873 else
14874 if test "x$X_LIBS" = "x"
14875 then :
14876 case "x$with_x" in
14877 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
14878 xno) ;;
14879 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
14880 This is an error since --with-x was requested." "$LINENO" 5 ;;
14881 esac
14882 enable_winex11_drv=${enable_winex11_drv:-no}
14886 if test "$ac_cv_header_CL_cl_h" = "yes"
14887 then
14888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
14889 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
14890 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
14891 then :
14892 printf %s "(cached) " >&6
14893 else $as_nop
14894 ac_check_lib_save_LIBS=$LIBS
14895 LIBS="-lOpenCL $LIBS"
14896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14897 /* end confdefs.h. */
14899 /* Override any GCC internal prototype to avoid an error.
14900 Use char because int might match the return type of a GCC
14901 builtin and then its argument prototype would still apply. */
14902 char clGetPlatformInfo ();
14904 main (void)
14906 return clGetPlatformInfo ();
14908 return 0;
14910 _ACEOF
14911 if ac_fn_c_try_link "$LINENO"
14912 then :
14913 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
14914 else $as_nop
14915 ac_cv_lib_OpenCL_clGetPlatformInfo=no
14917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14918 conftest$ac_exeext conftest.$ac_ext
14919 LIBS=$ac_check_lib_save_LIBS
14921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
14922 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
14923 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
14924 then :
14925 OPENCL_LIBS="-lOpenCL"
14930 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
14931 then :
14932 case "x$with_opencl" in
14933 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
14934 xno) ;;
14935 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
14936 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
14937 esac
14938 enable_opencl=${enable_opencl:-no}
14941 if test "$ac_cv_header_pcap_pcap_h" = "yes"
14942 then
14943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
14944 printf %s "checking for pcap_create in -lpcap... " >&6; }
14945 if test ${ac_cv_lib_pcap_pcap_create+y}
14946 then :
14947 printf %s "(cached) " >&6
14948 else $as_nop
14949 ac_check_lib_save_LIBS=$LIBS
14950 LIBS="-lpcap $LIBS"
14951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14952 /* end confdefs.h. */
14954 /* Override any GCC internal prototype to avoid an error.
14955 Use char because int might match the return type of a GCC
14956 builtin and then its argument prototype would still apply. */
14957 char pcap_create ();
14959 main (void)
14961 return pcap_create ();
14963 return 0;
14965 _ACEOF
14966 if ac_fn_c_try_link "$LINENO"
14967 then :
14968 ac_cv_lib_pcap_pcap_create=yes
14969 else $as_nop
14970 ac_cv_lib_pcap_pcap_create=no
14972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14973 conftest$ac_exeext conftest.$ac_ext
14974 LIBS=$ac_check_lib_save_LIBS
14976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
14977 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
14978 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
14979 then :
14980 PCAP_LIBS="-lpcap"
14985 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
14986 then :
14987 case "x$with_pcap" in
14988 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
14989 xno) ;;
14990 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
14991 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
14992 esac
14993 enable_wpcap=${enable_wpcap:-no}
14996 if test "x$with_inotify" != "xno"
14997 then
14998 if ${INOTIFY_CFLAGS:+false} :
14999 then :
15000 if test ${PKG_CONFIG+y}
15001 then :
15002 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15006 if ${INOTIFY_LIBS:+false} :
15007 then :
15008 if test ${PKG_CONFIG+y}
15009 then :
15010 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15015 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15017 ac_save_CPPFLAGS=$CPPFLAGS
15018 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15019 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15020 if test "x$ac_cv_header_sys_inotify_h" = xyes
15021 then :
15022 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15027 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15028 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15029 then :
15030 printf %s "(cached) " >&6
15031 else $as_nop
15032 ac_check_lib_save_LIBS=$LIBS
15033 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15035 /* end confdefs.h. */
15037 /* Override any GCC internal prototype to avoid an error.
15038 Use char because int might match the return type of a GCC
15039 builtin and then its argument prototype would still apply. */
15040 char inotify_add_watch ();
15042 main (void)
15044 return inotify_add_watch ();
15046 return 0;
15048 _ACEOF
15049 if ac_fn_c_try_link "$LINENO"
15050 then :
15051 ac_cv_lib_inotify_inotify_add_watch=yes
15052 else $as_nop
15053 ac_cv_lib_inotify_inotify_add_watch=no
15055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15056 conftest$ac_exeext conftest.$ac_ext
15057 LIBS=$ac_check_lib_save_LIBS
15059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15060 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15061 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15062 then :
15064 else $as_nop
15065 INOTIFY_LIBS=""
15068 CPPFLAGS=$ac_save_CPPFLAGS
15071 if test "$ac_cv_header_sys_inotify_h" != "yes"
15072 then :
15073 case "x$with_inotify" in
15074 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15075 xno) ;;
15076 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15077 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15078 esac
15082 if test "x$with_dbus" != "xno"
15083 then
15084 if ${DBUS_CFLAGS:+false} :
15085 then :
15086 if test ${PKG_CONFIG+y}
15087 then :
15088 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15092 if ${DBUS_LIBS:+false} :
15093 then :
15094 if test ${PKG_CONFIG+y}
15095 then :
15096 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15103 ac_save_CPPFLAGS=$CPPFLAGS
15104 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15105 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15106 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15107 then :
15108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15109 printf %s "checking for -ldbus-1... " >&6; }
15110 if test ${ac_cv_lib_soname_dbus_1+y}
15111 then :
15112 printf %s "(cached) " >&6
15113 else $as_nop
15114 ac_check_soname_save_LIBS=$LIBS
15115 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15117 /* end confdefs.h. */
15119 /* Override any GCC internal prototype to avoid an error.
15120 Use char because int might match the return type of a GCC
15121 builtin and then its argument prototype would still apply. */
15122 char dbus_connection_close ();
15124 main (void)
15126 return dbus_connection_close ();
15128 return 0;
15130 _ACEOF
15131 if ac_fn_c_try_link "$LINENO"
15132 then :
15133 case "$LIBEXT" in
15134 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15135 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'` ;;
15136 *) 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'`
15137 if ${ac_cv_lib_soname_dbus_1:+false} :
15138 then :
15139 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15140 fi ;;
15141 esac
15142 else $as_nop
15143 ac_cv_lib_soname_dbus_1=
15145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15146 conftest$ac_exeext conftest.$ac_ext
15147 LIBS=$ac_check_soname_save_LIBS
15149 if ${ac_cv_lib_soname_dbus_1:+false} :
15150 then :
15151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15152 printf "%s\n" "not found" >&6; }
15153 DBUS_CFLAGS=""
15154 else $as_nop
15155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15156 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15158 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15162 else $as_nop
15163 DBUS_CFLAGS=""
15166 CPPFLAGS=$ac_save_CPPFLAGS
15169 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
15170 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15171 then :
15172 case "x$with_dbus" in
15173 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15174 xno) ;;
15175 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15176 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15177 esac
15181 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
15182 then
15183 if ${HAL_CFLAGS:+false} :
15184 then :
15185 if test ${PKG_CONFIG+y}
15186 then :
15187 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
15191 if ${HAL_LIBS:+false} :
15192 then :
15193 if test ${PKG_CONFIG+y}
15194 then :
15195 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
15199 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
15200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
15201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
15202 ac_save_CPPFLAGS=$CPPFLAGS
15203 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
15204 ac_fn_c_check_header_compile "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
15205 if test "x$ac_cv_header_hal_libhal_h" = xyes
15206 then :
15207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
15208 printf %s "checking for -lhal... " >&6; }
15209 if test ${ac_cv_lib_soname_hal+y}
15210 then :
15211 printf %s "(cached) " >&6
15212 else $as_nop
15213 ac_check_soname_save_LIBS=$LIBS
15214 LIBS="-lhal $HAL_LIBS $LIBS"
15215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15216 /* end confdefs.h. */
15218 /* Override any GCC internal prototype to avoid an error.
15219 Use char because int might match the return type of a GCC
15220 builtin and then its argument prototype would still apply. */
15221 char libhal_ctx_new ();
15223 main (void)
15225 return libhal_ctx_new ();
15227 return 0;
15229 _ACEOF
15230 if ac_fn_c_try_link "$LINENO"
15231 then :
15232 case "$LIBEXT" in
15233 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15234 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'` ;;
15235 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15236 if ${ac_cv_lib_soname_hal:+false} :
15237 then :
15238 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15239 fi ;;
15240 esac
15241 else $as_nop
15242 ac_cv_lib_soname_hal=
15244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15245 conftest$ac_exeext conftest.$ac_ext
15246 LIBS=$ac_check_soname_save_LIBS
15248 if ${ac_cv_lib_soname_hal:+false} :
15249 then :
15250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15251 printf "%s\n" "not found" >&6; }
15252 HAL_CFLAGS=""
15253 else $as_nop
15254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
15255 printf "%s\n" "$ac_cv_lib_soname_hal" >&6; }
15257 printf "%s\n" "#define SONAME_LIBHAL \"$ac_cv_lib_soname_hal\"" >>confdefs.h
15261 else $as_nop
15262 HAL_CFLAGS=""
15265 CPPFLAGS=$ac_save_CPPFLAGS
15267 if test "x$ac_cv_lib_soname_hal" = "x" -a \
15268 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15269 then :
15270 case "x$with_hal" in
15271 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
15272 xno) ;;
15273 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
15274 This is an error since --with-hal was requested." "$LINENO" 5 ;;
15275 esac
15280 if test "x$with_gnutls" != "xno"
15281 then
15282 if ${GNUTLS_CFLAGS:+false} :
15283 then :
15284 if test ${PKG_CONFIG+y}
15285 then :
15286 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
15290 if ${GNUTLS_LIBS:+false} :
15291 then :
15292 if test ${PKG_CONFIG+y}
15293 then :
15294 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15298 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15301 ac_save_CPPFLAGS=$CPPFLAGS
15302 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15303 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15304 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15305 then :
15306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15308 #include <gnutls/gnutls.h>
15309 #include <gnutls/crypto.h>
15311 main (void)
15313 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15315 return 0;
15317 _ACEOF
15318 if ac_fn_c_try_compile "$LINENO"
15319 then :
15320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
15321 printf %s "checking for -lgnutls... " >&6; }
15322 if test ${ac_cv_lib_soname_gnutls+y}
15323 then :
15324 printf %s "(cached) " >&6
15325 else $as_nop
15326 ac_check_soname_save_LIBS=$LIBS
15327 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
15328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15329 /* end confdefs.h. */
15331 /* Override any GCC internal prototype to avoid an error.
15332 Use char because int might match the return type of a GCC
15333 builtin and then its argument prototype would still apply. */
15334 char gnutls_global_init ();
15336 main (void)
15338 return gnutls_global_init ();
15340 return 0;
15342 _ACEOF
15343 if ac_fn_c_try_link "$LINENO"
15344 then :
15345 case "$LIBEXT" in
15346 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15347 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'` ;;
15348 *) 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'`
15349 if ${ac_cv_lib_soname_gnutls:+false} :
15350 then :
15351 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'`
15352 fi ;;
15353 esac
15354 else $as_nop
15355 ac_cv_lib_soname_gnutls=
15357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15358 conftest$ac_exeext conftest.$ac_ext
15359 LIBS=$ac_check_soname_save_LIBS
15361 if ${ac_cv_lib_soname_gnutls:+false} :
15362 then :
15363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15364 printf "%s\n" "not found" >&6; }
15365 GNUTLS_CFLAGS=""
15366 else $as_nop
15367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
15368 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
15370 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
15374 ac_wine_check_funcs_save_LIBS="$LIBS"
15375 LIBS="$LIBS $GNUTLS_LIBS"
15377 for ac_func in gnutls_cipher_init
15378 do :
15379 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
15380 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
15381 then :
15382 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
15384 else $as_nop
15385 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
15388 done
15389 LIBS="$ac_wine_check_funcs_save_LIBS"
15391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15392 else $as_nop
15393 GNUTLS_CFLAGS=""
15396 CPPFLAGS=$ac_save_CPPFLAGS
15399 if test "x$ac_cv_lib_soname_gnutls" = "x"
15400 then :
15401 case "x$with_gnutls" in
15402 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
15403 xno) ;;
15404 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
15405 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
15406 esac
15410 if test "x$with_sane" != "xno"
15411 then
15412 if ${SANE_CFLAGS:+false} :
15413 then :
15414 if test ${PKG_CONFIG+y}
15415 then :
15416 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
15419 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
15420 if ${SANE_LIBS:+false} :
15421 then :
15422 if test ${PKG_CONFIG+y}
15423 then :
15424 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
15427 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
15429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
15430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
15431 ac_save_CPPFLAGS=$CPPFLAGS
15432 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
15433 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
15434 if test "x$ac_cv_header_sane_sane_h" = xyes
15435 then :
15436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
15437 printf %s "checking for sane_init in -lsane... " >&6; }
15438 if test ${ac_cv_lib_sane_sane_init+y}
15439 then :
15440 printf %s "(cached) " >&6
15441 else $as_nop
15442 ac_check_lib_save_LIBS=$LIBS
15443 LIBS="-lsane $SANE_LIBS $LIBS"
15444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15445 /* end confdefs.h. */
15447 /* Override any GCC internal prototype to avoid an error.
15448 Use char because int might match the return type of a GCC
15449 builtin and then its argument prototype would still apply. */
15450 char sane_init ();
15452 main (void)
15454 return sane_init ();
15456 return 0;
15458 _ACEOF
15459 if ac_fn_c_try_link "$LINENO"
15460 then :
15461 ac_cv_lib_sane_sane_init=yes
15462 else $as_nop
15463 ac_cv_lib_sane_sane_init=no
15465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15466 conftest$ac_exeext conftest.$ac_ext
15467 LIBS=$ac_check_lib_save_LIBS
15469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
15470 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
15471 if test "x$ac_cv_lib_sane_sane_init" = xyes
15472 then :
15478 CPPFLAGS=$ac_save_CPPFLAGS
15481 if test "$ac_cv_lib_sane_sane_init" != "yes"
15482 then :
15483 case "x$with_sane" in
15484 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
15485 xno) ;;
15486 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
15487 This is an error since --with-sane was requested." "$LINENO" 5 ;;
15488 esac
15489 enable_sane_ds=${enable_sane_ds:-no}
15492 if test "x$with_usb" != "xno"
15493 then
15494 if ${USB_CFLAGS:+false} :
15495 then :
15496 if test ${PKG_CONFIG+y}
15497 then :
15498 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
15502 if ${USB_LIBS:+false} :
15503 then :
15504 if test ${PKG_CONFIG+y}
15505 then :
15506 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
15510 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
15511 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
15512 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
15513 ac_save_CPPFLAGS=$CPPFLAGS
15514 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
15515 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
15516 if test "x$ac_cv_header_libusb_h" = xyes
15517 then :
15518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
15519 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
15520 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
15521 then :
15522 printf %s "(cached) " >&6
15523 else $as_nop
15524 ac_check_lib_save_LIBS=$LIBS
15525 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
15526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15527 /* end confdefs.h. */
15529 /* Override any GCC internal prototype to avoid an error.
15530 Use char because int might match the return type of a GCC
15531 builtin and then its argument prototype would still apply. */
15532 char libusb_interrupt_event_handler ();
15534 main (void)
15536 return libusb_interrupt_event_handler ();
15538 return 0;
15540 _ACEOF
15541 if ac_fn_c_try_link "$LINENO"
15542 then :
15543 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
15544 else $as_nop
15545 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
15547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15548 conftest$ac_exeext conftest.$ac_ext
15549 LIBS=$ac_check_lib_save_LIBS
15551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
15552 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
15553 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
15554 then :
15556 else $as_nop
15557 USB_LIBS=""
15560 else $as_nop
15561 USB_LIBS=""
15564 CPPFLAGS=$ac_save_CPPFLAGS
15567 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
15568 then :
15569 case "x$with_usb" in
15570 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
15571 xno) ;;
15572 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
15573 This is an error since --with-usb was requested." "$LINENO" 5 ;;
15574 esac
15575 enable_wineusb_sys=${enable_wineusb_sys:-no}
15578 if test "x$with_v4l2" != "xno"
15579 then
15580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
15581 printf %s "checking for -lv4l2... " >&6; }
15582 if test ${ac_cv_lib_soname_v4l2+y}
15583 then :
15584 printf %s "(cached) " >&6
15585 else $as_nop
15586 ac_check_soname_save_LIBS=$LIBS
15587 LIBS="-lv4l2 $LIBS"
15588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15589 /* end confdefs.h. */
15591 /* Override any GCC internal prototype to avoid an error.
15592 Use char because int might match the return type of a GCC
15593 builtin and then its argument prototype would still apply. */
15594 char v4l2_open ();
15596 main (void)
15598 return v4l2_open ();
15600 return 0;
15602 _ACEOF
15603 if ac_fn_c_try_link "$LINENO"
15604 then :
15605 case "$LIBEXT" in
15606 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15607 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'` ;;
15608 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15609 if ${ac_cv_lib_soname_v4l2:+false} :
15610 then :
15611 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15612 fi ;;
15613 esac
15614 else $as_nop
15615 ac_cv_lib_soname_v4l2=
15617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15618 conftest$ac_exeext conftest.$ac_ext
15619 LIBS=$ac_check_soname_save_LIBS
15621 if ${ac_cv_lib_soname_v4l2:+false} :
15622 then :
15623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15624 printf "%s\n" "not found" >&6; }
15626 else $as_nop
15627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
15628 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
15630 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
15635 if test "x$ac_cv_lib_soname_v4l2" = "x"
15636 then :
15637 case "x$with_v4l2" in
15638 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
15639 xno) ;;
15640 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
15641 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
15642 esac
15646 if test "x$with_gphoto" != "xno"
15647 then
15648 if ${GPHOTO2_CFLAGS:+false} :
15649 then :
15650 if test ${PKG_CONFIG+y}
15651 then :
15652 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
15655 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
15656 if ${GPHOTO2_LIBS:+false} :
15657 then :
15658 if test ${PKG_CONFIG+y}
15659 then :
15660 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
15663 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
15664 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
15665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
15666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
15667 ac_save_CPPFLAGS=$CPPFLAGS
15668 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
15669 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
15670 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
15671 then :
15672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
15673 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
15674 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
15675 then :
15676 printf %s "(cached) " >&6
15677 else $as_nop
15678 ac_check_lib_save_LIBS=$LIBS
15679 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
15680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15681 /* end confdefs.h. */
15683 /* Override any GCC internal prototype to avoid an error.
15684 Use char because int might match the return type of a GCC
15685 builtin and then its argument prototype would still apply. */
15686 char gp_camera_new ();
15688 main (void)
15690 return gp_camera_new ();
15692 return 0;
15694 _ACEOF
15695 if ac_fn_c_try_link "$LINENO"
15696 then :
15697 ac_cv_lib_gphoto2_gp_camera_new=yes
15698 else $as_nop
15699 ac_cv_lib_gphoto2_gp_camera_new=no
15701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15702 conftest$ac_exeext conftest.$ac_ext
15703 LIBS=$ac_check_lib_save_LIBS
15705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
15706 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
15707 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
15708 then :
15714 CPPFLAGS=$ac_save_CPPFLAGS
15716 if ${GPHOTO2_PORT_CFLAGS:+false} :
15717 then :
15718 if test ${PKG_CONFIG+y}
15719 then :
15720 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
15723 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
15724 if ${GPHOTO2_PORT_LIBS:+false} :
15725 then :
15726 if test ${PKG_CONFIG+y}
15727 then :
15728 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
15731 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
15732 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
15733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
15734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
15735 ac_save_CPPFLAGS=$CPPFLAGS
15736 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
15737 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
15738 if test "x$ac_cv_header_gphoto2_port_h" = xyes
15739 then :
15740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
15741 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
15742 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
15743 then :
15744 printf %s "(cached) " >&6
15745 else $as_nop
15746 ac_check_lib_save_LIBS=$LIBS
15747 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
15748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15749 /* end confdefs.h. */
15751 /* Override any GCC internal prototype to avoid an error.
15752 Use char because int might match the return type of a GCC
15753 builtin and then its argument prototype would still apply. */
15754 char gp_port_info_list_new ();
15756 main (void)
15758 return gp_port_info_list_new ();
15760 return 0;
15762 _ACEOF
15763 if ac_fn_c_try_link "$LINENO"
15764 then :
15765 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
15766 else $as_nop
15767 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
15769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15770 conftest$ac_exeext conftest.$ac_ext
15771 LIBS=$ac_check_lib_save_LIBS
15773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
15774 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
15775 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
15776 then :
15778 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
15780 else $as_nop
15781 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
15784 else $as_nop
15785 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
15788 CPPFLAGS=$ac_save_CPPFLAGS
15791 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
15792 then :
15793 case "x$with_gphoto" in
15794 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
15795 xno) ;;
15796 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
15797 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
15798 esac
15799 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
15801 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
15802 then :
15803 case "x$with_gphoto" in
15804 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
15805 xno) ;;
15806 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
15807 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
15808 esac
15813 if test "$ac_cv_header_resolv_h" = "yes"
15814 then
15815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
15816 printf %s "checking for resolver library... " >&6; }
15817 if test ${ac_cv_have_resolv+y}
15818 then :
15819 printf %s "(cached) " >&6
15820 else $as_nop
15821 ac_save_LIBS="$LIBS"
15822 for lib in '' -lresolv
15824 LIBS="$lib $ac_save_LIBS"
15825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15826 /* end confdefs.h. */
15827 #ifdef HAVE_NETINET_IN_H
15828 #include <netinet/in.h>
15829 #endif
15830 #include <resolv.h>
15832 main (void)
15834 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
15836 return 0;
15838 _ACEOF
15839 if ac_fn_c_try_link "$LINENO"
15840 then :
15841 ac_cv_have_resolv=${lib:-"none required"}
15842 else $as_nop
15843 ac_cv_have_resolv="not found"
15845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15846 conftest$ac_exeext conftest.$ac_ext
15847 test "x$ac_cv_have_resolv" = "xnot found" || break
15848 done
15849 LIBS="$ac_save_LIBS"
15851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
15852 printf "%s\n" "$ac_cv_have_resolv" >&6; }
15854 case "$ac_cv_have_resolv" in
15855 "not found") ;;
15856 "none required")
15858 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
15861 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
15863 RESOLV_LIBS=$ac_cv_have_resolv
15865 esac
15867 if test "x$ac_cv_have_resolv" != "xnot found"
15868 then
15869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
15870 printf %s "checking for res_getservers... " >&6; }
15871 if test ${ac_cv_have_res_getservers+y}
15872 then :
15873 printf %s "(cached) " >&6
15874 else $as_nop
15875 ac_save_LIBS="$LIBS"
15876 LIBS="$RESOLV_LIBS $LIBS"
15877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15878 /* end confdefs.h. */
15879 #include <resolv.h>
15881 main (void)
15883 res_getservers(NULL, NULL, 0);
15885 return 0;
15887 _ACEOF
15888 if ac_fn_c_try_link "$LINENO"
15889 then :
15890 ac_cv_have_res_getservers=yes
15891 else $as_nop
15892 ac_cv_have_res_getservers=no
15894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15895 conftest$ac_exeext conftest.$ac_ext
15896 LIBS="$ac_save_LIBS"
15898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
15899 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
15900 if test "$ac_cv_have_res_getservers" = "yes"
15901 then
15903 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
15909 if test "x$with_freetype" != "xno"
15910 then
15911 if ${FREETYPE_CFLAGS:+false} :
15912 then :
15913 if test ${PKG_CONFIG+y}
15914 then :
15915 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
15918 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
15919 if ${FREETYPE_LIBS:+false} :
15920 then :
15921 if test ${PKG_CONFIG+y}
15922 then :
15923 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
15926 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
15927 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
15928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
15929 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
15930 ac_save_CPPFLAGS=$CPPFLAGS
15931 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
15932 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
15933 if test "x$ac_cv_header_ft2build_h" = xyes
15934 then :
15935 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
15939 if test "$ac_cv_header_ft2build_h" = "yes"
15940 then
15941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
15942 printf %s "checking for -lfreetype... " >&6; }
15943 if test ${ac_cv_lib_soname_freetype+y}
15944 then :
15945 printf %s "(cached) " >&6
15946 else $as_nop
15947 ac_check_soname_save_LIBS=$LIBS
15948 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
15949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15952 /* Override any GCC internal prototype to avoid an error.
15953 Use char because int might match the return type of a GCC
15954 builtin and then its argument prototype would still apply. */
15955 char FT_Init_FreeType ();
15957 main (void)
15959 return FT_Init_FreeType ();
15961 return 0;
15963 _ACEOF
15964 if ac_fn_c_try_link "$LINENO"
15965 then :
15966 case "$LIBEXT" in
15967 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15968 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'` ;;
15969 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15970 if ${ac_cv_lib_soname_freetype:+false} :
15971 then :
15972 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15973 fi ;;
15974 esac
15975 else $as_nop
15976 ac_cv_lib_soname_freetype=
15978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15979 conftest$ac_exeext conftest.$ac_ext
15980 LIBS=$ac_check_soname_save_LIBS
15982 if ${ac_cv_lib_soname_freetype:+false} :
15983 then :
15984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15985 printf "%s\n" "not found" >&6; }
15986 FREETYPE_LIBS=""
15987 else $as_nop
15988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
15989 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
15991 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
15994 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
15996 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
15997 #include FT_MODULE_H
15999 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16000 then :
16002 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16008 else
16009 FREETYPE_CFLAGS=""
16010 FREETYPE_LIBS=""
16012 CPPFLAGS=$ac_save_CPPFLAGS
16015 if test "x$ac_cv_lib_soname_freetype" = x
16016 then :
16017 case "x$with_freetype" in
16018 xno) ;;
16019 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16020 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16021 esac
16022 enable_fonts=${enable_fonts:-no}
16025 ac_wine_check_funcs_save_LIBS="$LIBS"
16026 LIBS="$LIBS $PTHREAD_LIBS"
16027 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16028 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16029 then :
16030 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16034 LIBS="$ac_wine_check_funcs_save_LIBS"
16036 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16037 then
16038 if test "$ac_cv_header_gettext_po_h" = "yes"
16039 then
16040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16041 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16042 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16043 then :
16044 printf %s "(cached) " >&6
16045 else $as_nop
16046 ac_check_lib_save_LIBS=$LIBS
16047 LIBS="-lgettextpo $LIBS"
16048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16049 /* end confdefs.h. */
16051 /* Override any GCC internal prototype to avoid an error.
16052 Use char because int might match the return type of a GCC
16053 builtin and then its argument prototype would still apply. */
16054 char po_message_msgctxt ();
16056 main (void)
16058 return po_message_msgctxt ();
16060 return 0;
16062 _ACEOF
16063 if ac_fn_c_try_link "$LINENO"
16064 then :
16065 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16066 else $as_nop
16067 ac_cv_lib_gettextpo_po_message_msgctxt=no
16069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16070 conftest$ac_exeext conftest.$ac_ext
16071 LIBS=$ac_check_lib_save_LIBS
16073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16074 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16075 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16076 then :
16078 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16080 GETTEXTPO_LIBS="-lgettextpo"
16085 if test "x$GETTEXTPO_LIBS" = "x"
16086 then :
16087 case "x$with_gettextpo" in
16088 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16089 xno) ;;
16090 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16091 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16092 esac
16095 if test "$srcdir" != .
16096 then :
16097 case "x$with_gettextpo" in
16098 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16099 xno) ;;
16100 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16101 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16102 esac
16107 if test "x$with_pulse" != "xno";
16108 then
16109 if ${PULSE_CFLAGS:+false} :
16110 then :
16111 if test ${PKG_CONFIG+y}
16112 then :
16113 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16117 if ${PULSE_LIBS:+false} :
16118 then :
16119 if test ${PKG_CONFIG+y}
16120 then :
16121 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16128 ac_save_CPPFLAGS=$CPPFLAGS
16129 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16130 for ac_header in pulse/pulseaudio.h
16131 do :
16132 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16133 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16134 then :
16135 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16137 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16138 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16139 then :
16140 printf %s "(cached) " >&6
16141 else $as_nop
16142 ac_check_lib_save_LIBS=$LIBS
16143 LIBS="-lpulse $PULSE_LIBS $LIBS"
16144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16145 /* end confdefs.h. */
16147 /* Override any GCC internal prototype to avoid an error.
16148 Use char because int might match the return type of a GCC
16149 builtin and then its argument prototype would still apply. */
16150 char pa_stream_is_corked ();
16152 main (void)
16154 return pa_stream_is_corked ();
16156 return 0;
16158 _ACEOF
16159 if ac_fn_c_try_link "$LINENO"
16160 then :
16161 ac_cv_lib_pulse_pa_stream_is_corked=yes
16162 else $as_nop
16163 ac_cv_lib_pulse_pa_stream_is_corked=no
16165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16166 conftest$ac_exeext conftest.$ac_ext
16167 LIBS=$ac_check_lib_save_LIBS
16169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16170 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16171 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16172 then :
16174 else $as_nop
16175 PULSE_LIBS=""
16178 else $as_nop
16179 PULSE_LIBS=""
16182 done
16183 CPPFLAGS=$ac_save_CPPFLAGS
16186 if test -z "$PULSE_LIBS"
16187 then :
16188 case "x$with_pulse" in
16189 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16190 xno) ;;
16191 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16192 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16193 esac
16194 enable_winepulse_drv=${enable_winepulse_drv:-no}
16197 if test "x$with_gstreamer" != "xno"
16198 then
16199 if ${GSTREAMER_CFLAGS:+false} :
16200 then :
16201 if test ${PKG_CONFIG+y}
16202 then :
16203 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16207 if ${GSTREAMER_LIBS:+false} :
16208 then :
16209 if test ${PKG_CONFIG+y}
16210 then :
16211 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16218 ac_save_CPPFLAGS=$CPPFLAGS
16219 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16220 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16221 if test "x$ac_cv_header_gst_gst_h" = xyes
16222 then :
16223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16224 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16226 /* end confdefs.h. */
16227 #include <gst/gst.h>
16229 main (void)
16231 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16233 return 0;
16235 _ACEOF
16236 if ac_fn_c_try_compile "$LINENO"
16237 then :
16238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16239 printf "%s\n" "yes" >&6; }
16240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16241 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16242 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16243 then :
16244 printf %s "(cached) " >&6
16245 else $as_nop
16246 ac_check_lib_save_LIBS=$LIBS
16247 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16249 /* end confdefs.h. */
16251 /* Override any GCC internal prototype to avoid an error.
16252 Use char because int might match the return type of a GCC
16253 builtin and then its argument prototype would still apply. */
16254 char gst_pad_new ();
16256 main (void)
16258 return gst_pad_new ();
16260 return 0;
16262 _ACEOF
16263 if ac_fn_c_try_link "$LINENO"
16264 then :
16265 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16266 else $as_nop
16267 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16270 conftest$ac_exeext conftest.$ac_ext
16271 LIBS=$ac_check_lib_save_LIBS
16273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16274 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16275 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16276 then :
16280 else $as_nop
16281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16282 printf "%s\n" "no" >&6; }
16283 ac_glib2_broken=yes
16284 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
16286 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16289 CPPFLAGS=$ac_save_CPPFLAGS
16292 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
16293 then
16294 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
16295 then :
16296 case "x$with_gstreamer" in
16297 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
16298 xno) ;;
16299 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
16300 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
16301 esac
16305 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
16307 ALSA_LIBS=""
16309 if test "x$with_alsa" != "xno"
16310 then
16311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
16312 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
16313 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
16314 then :
16315 printf %s "(cached) " >&6
16316 else $as_nop
16317 ac_check_lib_save_LIBS=$LIBS
16318 LIBS="-lasound $LIBS"
16319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16320 /* end confdefs.h. */
16322 /* Override any GCC internal prototype to avoid an error.
16323 Use char because int might match the return type of a GCC
16324 builtin and then its argument prototype would still apply. */
16325 char snd_pcm_hw_params_get_access_mask ();
16327 main (void)
16329 return snd_pcm_hw_params_get_access_mask ();
16331 return 0;
16333 _ACEOF
16334 if ac_fn_c_try_link "$LINENO"
16335 then :
16336 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
16337 else $as_nop
16338 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
16340 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16341 conftest$ac_exeext conftest.$ac_ext
16342 LIBS=$ac_check_lib_save_LIBS
16344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
16345 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
16346 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
16347 then :
16348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16349 /* end confdefs.h. */
16350 #include <alsa/asoundlib.h>
16352 main (void)
16354 snd_pcm_hw_params_get_access_mask(NULL, NULL)
16356 return 0;
16358 _ACEOF
16359 if ac_fn_c_try_compile "$LINENO"
16360 then :
16361 ALSA_LIBS="-lasound"
16363 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16367 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
16369 if test "x$with_oss" != xno
16370 then
16371 ac_save_CPPFLAGS="$CPPFLAGS"
16372 if test -f /etc/oss.conf
16373 then
16374 . /etc/oss.conf
16376 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
16377 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
16378 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
16379 if test "x$ac_cv_header_sys_soundcard_h" = xyes
16380 then :
16381 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
16383 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
16384 then :
16386 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
16388 OSS4_CFLAGS="$ac_oss_incl"
16390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
16391 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
16392 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
16393 then :
16394 printf %s "(cached) " >&6
16395 else $as_nop
16396 ac_check_lib_save_LIBS=$LIBS
16397 LIBS="-lossaudio $LIBS"
16398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16399 /* end confdefs.h. */
16401 /* Override any GCC internal prototype to avoid an error.
16402 Use char because int might match the return type of a GCC
16403 builtin and then its argument prototype would still apply. */
16404 char _oss_ioctl ();
16406 main (void)
16408 return _oss_ioctl ();
16410 return 0;
16412 _ACEOF
16413 if ac_fn_c_try_link "$LINENO"
16414 then :
16415 ac_cv_lib_ossaudio__oss_ioctl=yes
16416 else $as_nop
16417 ac_cv_lib_ossaudio__oss_ioctl=no
16419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16420 conftest$ac_exeext conftest.$ac_ext
16421 LIBS=$ac_check_lib_save_LIBS
16423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
16424 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
16425 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
16426 then :
16427 OSS4_LIBS="-lossaudio"
16435 CPPFLAGS="$ac_save_CPPFLAGS"
16437 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
16438 then :
16439 case "x$with_oss" in
16440 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
16441 xno) ;;
16442 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
16443 This is an error since --with-oss was requested." "$LINENO" 5 ;;
16444 esac
16445 enable_wineoss_drv=${enable_wineoss_drv:-no}
16448 if test "x$with_udev" != "xno"
16449 then
16450 if ${UDEV_CFLAGS:+false} :
16451 then :
16452 if test ${PKG_CONFIG+y}
16453 then :
16454 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
16458 if ${UDEV_LIBS:+false} :
16459 then :
16460 if test ${PKG_CONFIG+y}
16461 then :
16462 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
16466 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
16467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
16468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
16469 ac_save_CPPFLAGS=$CPPFLAGS
16470 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
16471 for ac_header in libudev.h
16472 do :
16473 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
16474 if test "x$ac_cv_header_libudev_h" = xyes
16475 then :
16476 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
16477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
16478 printf %s "checking for udev_new in -ludev... " >&6; }
16479 if test ${ac_cv_lib_udev_udev_new+y}
16480 then :
16481 printf %s "(cached) " >&6
16482 else $as_nop
16483 ac_check_lib_save_LIBS=$LIBS
16484 LIBS="-ludev $UDEV_LIBS $LIBS"
16485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16486 /* end confdefs.h. */
16488 /* Override any GCC internal prototype to avoid an error.
16489 Use char because int might match the return type of a GCC
16490 builtin and then its argument prototype would still apply. */
16491 char udev_new ();
16493 main (void)
16495 return udev_new ();
16497 return 0;
16499 _ACEOF
16500 if ac_fn_c_try_link "$LINENO"
16501 then :
16502 ac_cv_lib_udev_udev_new=yes
16503 else $as_nop
16504 ac_cv_lib_udev_udev_new=no
16506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16507 conftest$ac_exeext conftest.$ac_ext
16508 LIBS=$ac_check_lib_save_LIBS
16510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
16511 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
16512 if test "x$ac_cv_lib_udev_udev_new" = xyes
16513 then :
16515 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
16517 else $as_nop
16518 UDEV_LIBS=""
16521 else $as_nop
16522 UDEV_LIBS=""
16525 done
16526 CPPFLAGS=$ac_save_CPPFLAGS
16529 if test "x$UDEV_LIBS" = "x"
16530 then :
16531 case "x$with_udev" in
16532 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
16533 xno) ;;
16534 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
16535 This is an error since --with-udev was requested." "$LINENO" 5 ;;
16536 esac
16540 if test "x$with_unwind" != xno
16541 then
16542 if ${UNWIND_CFLAGS:+false} :
16543 then :
16544 if test ${PKG_CONFIG+y}
16545 then :
16546 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
16550 if ${UNWIND_LIBS:+false} :
16551 then :
16552 if test ${PKG_CONFIG+y}
16553 then :
16554 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
16558 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
16559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
16560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
16561 ac_save_CPPFLAGS=$CPPFLAGS
16562 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
16563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
16564 printf %s "checking for unw_step... " >&6; }
16565 if test ${wine_cv_have_unw_step+y}
16566 then :
16567 printf %s "(cached) " >&6
16568 else $as_nop
16569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16570 /* end confdefs.h. */
16571 #define UNW_LOCAL_ONLY
16572 #include <libunwind.h>
16574 main (void)
16576 unw_cursor_t cursor; unw_step( &cursor );
16578 return 0;
16580 _ACEOF
16581 if ac_fn_c_try_link "$LINENO"
16582 then :
16583 wine_cv_have_unw_step="yes"
16584 else $as_nop
16585 wine_cv_have_unw_step="no"
16587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16588 conftest$ac_exeext conftest.$ac_ext
16590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
16591 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
16592 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
16593 then
16594 save_libs=$LIBS
16595 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
16596 LIBS="$UNWIND_LIBS $LIBS"
16597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
16598 printf %s "checking for unw_step in libunwind... " >&6; }
16599 if test ${wine_cv_have_libunwind_unw_step+y}
16600 then :
16601 printf %s "(cached) " >&6
16602 else $as_nop
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16605 #define UNW_LOCAL_ONLY
16606 #include <libunwind.h>
16608 main (void)
16610 unw_cursor_t cursor; unw_step( &cursor );
16612 return 0;
16614 _ACEOF
16615 if ac_fn_c_try_link "$LINENO"
16616 then :
16617 wine_cv_have_libunwind_unw_step="yes"
16618 else $as_nop
16619 wine_cv_have_libunwind_unw_step="no"
16621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16622 conftest$ac_exeext conftest.$ac_ext
16624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
16625 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
16626 LIBS=$save_libs
16628 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
16629 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
16630 then
16632 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
16635 CPPFLAGS=$ac_save_CPPFLAGS
16638 case $host in
16639 aarch64*|*-darwin*)
16640 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
16641 then :
16642 case "x$with_unwind" in
16643 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
16644 xno) ;;
16645 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
16646 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
16647 esac
16649 fi ;;
16650 esac
16652 if test "x$with_sdl" != "xno"
16653 then
16654 if ${SDL2_CFLAGS:+false} :
16655 then :
16656 if test ${PKG_CONFIG+y}
16657 then :
16658 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
16662 if ${SDL2_LIBS:+false} :
16663 then :
16664 if test ${PKG_CONFIG+y}
16665 then :
16666 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
16670 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
16671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
16672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
16673 ac_save_CPPFLAGS=$CPPFLAGS
16674 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
16675 for ac_header in SDL.h
16676 do :
16677 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
16678 if test "x$ac_cv_header_SDL_h" = xyes
16679 then :
16680 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
16681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
16682 printf %s "checking for -lSDL2... " >&6; }
16683 if test ${ac_cv_lib_soname_SDL2+y}
16684 then :
16685 printf %s "(cached) " >&6
16686 else $as_nop
16687 ac_check_soname_save_LIBS=$LIBS
16688 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
16689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16690 /* end confdefs.h. */
16692 /* Override any GCC internal prototype to avoid an error.
16693 Use char because int might match the return type of a GCC
16694 builtin and then its argument prototype would still apply. */
16695 char SDL_Init ();
16697 main (void)
16699 return SDL_Init ();
16701 return 0;
16703 _ACEOF
16704 if ac_fn_c_try_link "$LINENO"
16705 then :
16706 case "$LIBEXT" in
16707 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16708 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'` ;;
16709 *) 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'`
16710 if ${ac_cv_lib_soname_SDL2:+false} :
16711 then :
16712 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16713 fi ;;
16714 esac
16715 else $as_nop
16716 ac_cv_lib_soname_SDL2=
16718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16719 conftest$ac_exeext conftest.$ac_ext
16720 LIBS=$ac_check_soname_save_LIBS
16722 if ${ac_cv_lib_soname_SDL2:+false} :
16723 then :
16724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16725 printf "%s\n" "not found" >&6; }
16727 else $as_nop
16728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
16729 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
16731 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
16737 done
16738 CPPFLAGS=$ac_save_CPPFLAGS
16741 if test "x$ac_cv_lib_soname_SDL2" = "x"
16742 then :
16743 case "x$with_sdl" in
16744 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
16745 xno) ;;
16746 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
16747 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
16748 esac
16752 if test "x$with_capi" != "xno"
16753 then
16754 if ${CAPI20_CFLAGS:+false} :
16755 then :
16756 if test ${PKG_CONFIG+y}
16757 then :
16758 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
16762 if ${CAPI20_LIBS:+false} :
16763 then :
16764 if test ${PKG_CONFIG+y}
16765 then :
16766 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
16771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
16772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
16773 ac_save_CPPFLAGS=$CPPFLAGS
16774 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
16775 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
16777 if test "x$ac_cv_header_capi20_h" = xyes
16778 then :
16779 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
16782 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
16784 if test "x$ac_cv_header_linux_capi_h" = xyes
16785 then :
16786 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
16790 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
16791 then
16792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
16793 printf %s "checking for capi20_register in -lcapi20... " >&6; }
16794 if test ${ac_cv_lib_capi20_capi20_register+y}
16795 then :
16796 printf %s "(cached) " >&6
16797 else $as_nop
16798 ac_check_lib_save_LIBS=$LIBS
16799 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
16800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16801 /* end confdefs.h. */
16803 /* Override any GCC internal prototype to avoid an error.
16804 Use char because int might match the return type of a GCC
16805 builtin and then its argument prototype would still apply. */
16806 char capi20_register ();
16808 main (void)
16810 return capi20_register ();
16812 return 0;
16814 _ACEOF
16815 if ac_fn_c_try_link "$LINENO"
16816 then :
16817 ac_cv_lib_capi20_capi20_register=yes
16818 else $as_nop
16819 ac_cv_lib_capi20_capi20_register=no
16821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16822 conftest$ac_exeext conftest.$ac_ext
16823 LIBS=$ac_check_lib_save_LIBS
16825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
16826 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
16827 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
16828 then :
16830 else $as_nop
16831 CAPI20_LIBS=""
16835 CPPFLAGS=$ac_save_CPPFLAGS
16838 if test "x$ac_cv_lib_capi20_capi20_register" = "x"
16839 then :
16840 case "x$with_capi" in
16841 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
16842 xno) ;;
16843 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
16844 This is an error since --with-capi was requested." "$LINENO" 5 ;;
16845 esac
16846 enable_capi2032=${enable_capi2032:-no}
16849 if test "x$with_cups" != "xno"
16850 then
16851 if ${CUPS_CFLAGS:+false} :
16852 then :
16853 if test ${PKG_CONFIG+y}
16854 then :
16855 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
16858 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
16859 if ${CUPS_LIBS:+false} :
16860 then :
16861 if test ${PKG_CONFIG+y}
16862 then :
16863 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
16866 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
16867 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
16868 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
16869 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
16870 ac_save_CPPFLAGS=$CPPFLAGS
16871 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
16872 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
16873 if test "x$ac_cv_header_cups_cups_h" = xyes
16874 then :
16875 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
16878 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
16879 if test "x$ac_cv_header_cups_ppd_h" = xyes
16880 then :
16881 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
16885 if test "$ac_cv_header_cups_cups_h" = "yes"
16886 then
16887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
16888 printf %s "checking for -lcups... " >&6; }
16889 if test ${ac_cv_lib_soname_cups+y}
16890 then :
16891 printf %s "(cached) " >&6
16892 else $as_nop
16893 ac_check_soname_save_LIBS=$LIBS
16894 LIBS="-lcups $CUPS_LIBS $LIBS"
16895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16896 /* end confdefs.h. */
16898 /* Override any GCC internal prototype to avoid an error.
16899 Use char because int might match the return type of a GCC
16900 builtin and then its argument prototype would still apply. */
16901 char cupsGetDefault ();
16903 main (void)
16905 return cupsGetDefault ();
16907 return 0;
16909 _ACEOF
16910 if ac_fn_c_try_link "$LINENO"
16911 then :
16912 case "$LIBEXT" in
16913 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16914 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'` ;;
16915 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16916 if ${ac_cv_lib_soname_cups:+false} :
16917 then :
16918 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16919 fi ;;
16920 esac
16921 else $as_nop
16922 ac_cv_lib_soname_cups=
16924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16925 conftest$ac_exeext conftest.$ac_ext
16926 LIBS=$ac_check_soname_save_LIBS
16928 if ${ac_cv_lib_soname_cups:+false} :
16929 then :
16930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16931 printf "%s\n" "not found" >&6; }
16932 CUPS_LIBS=""
16933 else $as_nop
16934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
16935 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
16937 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
16941 else
16942 CUPS_CFLAGS=""
16943 CUPS_LIBS=""
16945 CPPFLAGS=$ac_save_CPPFLAGS
16948 if test "x$ac_cv_lib_soname_cups" = "x"
16949 then :
16950 case "x$with_cups" in
16951 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
16952 xno) ;;
16953 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
16954 This is an error since --with-cups was requested." "$LINENO" 5 ;;
16955 esac
16959 if test "x$with_fontconfig" != "xno"
16960 then
16961 if ${FONTCONFIG_CFLAGS:+false} :
16962 then :
16963 if test ${PKG_CONFIG+y}
16964 then :
16965 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
16968 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
16969 if ${FONTCONFIG_LIBS:+false} :
16970 then :
16971 if test ${PKG_CONFIG+y}
16972 then :
16973 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
16976 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
16978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
16979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
16980 ac_save_CPPFLAGS=$CPPFLAGS
16981 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
16982 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
16983 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
16984 then :
16985 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
16989 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
16990 then
16991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
16992 printf %s "checking for -lfontconfig... " >&6; }
16993 if test ${ac_cv_lib_soname_fontconfig+y}
16994 then :
16995 printf %s "(cached) " >&6
16996 else $as_nop
16997 ac_check_soname_save_LIBS=$LIBS
16998 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
16999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17000 /* end confdefs.h. */
17002 /* Override any GCC internal prototype to avoid an error.
17003 Use char because int might match the return type of a GCC
17004 builtin and then its argument prototype would still apply. */
17005 char FcInit ();
17007 main (void)
17009 return FcInit ();
17011 return 0;
17013 _ACEOF
17014 if ac_fn_c_try_link "$LINENO"
17015 then :
17016 case "$LIBEXT" in
17017 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17018 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'` ;;
17019 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17020 if ${ac_cv_lib_soname_fontconfig:+false} :
17021 then :
17022 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17023 fi ;;
17024 esac
17025 else $as_nop
17026 ac_cv_lib_soname_fontconfig=
17028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17029 conftest$ac_exeext conftest.$ac_ext
17030 LIBS=$ac_check_soname_save_LIBS
17032 if ${ac_cv_lib_soname_fontconfig:+false} :
17033 then :
17034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17035 printf "%s\n" "not found" >&6; }
17036 FONTCONFIG_CFLAGS=""
17037 else $as_nop
17038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17039 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17041 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17045 else
17046 FONTCONFIG_CFLAGS=""
17048 CPPFLAGS=$ac_save_CPPFLAGS
17051 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17052 then :
17053 case "x$with_fontconfig" in
17054 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17055 xno) ;;
17056 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17057 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17058 esac
17062 if test "x$with_krb5" != "xno"
17063 then
17064 if ${KRB5_CFLAGS:+false} :
17065 then :
17066 if test ${PKG_CONFIG+y}
17067 then :
17068 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17071 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17072 if ${KRB5_LIBS:+false} :
17073 then :
17074 if test ${PKG_CONFIG+y}
17075 then :
17076 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17079 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17083 ac_save_CPPFLAGS=$CPPFLAGS
17084 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17085 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17086 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17087 then :
17088 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17092 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17093 then
17094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17095 printf %s "checking for -lkrb5... " >&6; }
17096 if test ${ac_cv_lib_soname_krb5+y}
17097 then :
17098 printf %s "(cached) " >&6
17099 else $as_nop
17100 ac_check_soname_save_LIBS=$LIBS
17101 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17105 /* Override any GCC internal prototype to avoid an error.
17106 Use char because int might match the return type of a GCC
17107 builtin and then its argument prototype would still apply. */
17108 char krb5_is_config_principal ();
17110 main (void)
17112 return krb5_is_config_principal ();
17114 return 0;
17116 _ACEOF
17117 if ac_fn_c_try_link "$LINENO"
17118 then :
17119 case "$LIBEXT" in
17120 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17121 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'` ;;
17122 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17123 if ${ac_cv_lib_soname_krb5:+false} :
17124 then :
17125 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17126 fi ;;
17127 esac
17128 else $as_nop
17129 ac_cv_lib_soname_krb5=
17131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17132 conftest$ac_exeext conftest.$ac_ext
17133 LIBS=$ac_check_soname_save_LIBS
17135 if ${ac_cv_lib_soname_krb5:+false} :
17136 then :
17137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17138 printf "%s\n" "not found" >&6; }
17139 KRB5_CFLAGS=""
17140 else $as_nop
17141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17142 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17144 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17148 else
17149 KRB5_CFLAGS=""
17151 CPPFLAGS=$ac_save_CPPFLAGS
17154 if test "x$ac_cv_lib_soname_krb5" = "x"
17155 then :
17156 case "x$with_krb5" in
17157 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17158 xno) ;;
17159 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17160 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17161 esac
17164 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17166 if test "x$with_gssapi" != "xno"
17167 then
17168 if ${GSSAPI_CFLAGS:+false} :
17169 then :
17170 if test ${PKG_CONFIG+y}
17171 then :
17172 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17175 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17176 if ${GSSAPI_LIBS:+false} :
17177 then :
17178 if test ${PKG_CONFIG+y}
17179 then :
17180 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17183 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17187 ac_save_CPPFLAGS=$CPPFLAGS
17188 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17189 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17190 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17191 then :
17192 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17195 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17196 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17197 then :
17198 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17202 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17203 then
17204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17205 printf %s "checking for -lgssapi_krb5... " >&6; }
17206 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17207 then :
17208 printf %s "(cached) " >&6
17209 else $as_nop
17210 ac_check_soname_save_LIBS=$LIBS
17211 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17213 /* end confdefs.h. */
17215 /* Override any GCC internal prototype to avoid an error.
17216 Use char because int might match the return type of a GCC
17217 builtin and then its argument prototype would still apply. */
17218 char gss_init_sec_context ();
17220 main (void)
17222 return gss_init_sec_context ();
17224 return 0;
17226 _ACEOF
17227 if ac_fn_c_try_link "$LINENO"
17228 then :
17229 case "$LIBEXT" in
17230 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17231 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'` ;;
17232 *) 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'`
17233 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17234 then :
17235 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17236 fi ;;
17237 esac
17238 else $as_nop
17239 ac_cv_lib_soname_gssapi_krb5=
17241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17242 conftest$ac_exeext conftest.$ac_ext
17243 LIBS=$ac_check_soname_save_LIBS
17245 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17246 then :
17247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17248 printf "%s\n" "not found" >&6; }
17249 GSSAPI_CFLAGS=""
17250 else $as_nop
17251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
17252 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
17254 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
17258 else
17259 GSSAPI_CFLAGS=""
17261 CPPFLAGS=$ac_save_CPPFLAGS
17264 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
17265 then :
17266 case "x$with_gssapi" in
17267 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
17268 xno) ;;
17269 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
17270 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
17271 esac
17275 if test "$ac_cv_header_AL_al_h" = "yes"
17276 then
17277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
17278 printf %s "checking for -lopenal... " >&6; }
17279 if test ${ac_cv_lib_soname_openal+y}
17280 then :
17281 printf %s "(cached) " >&6
17282 else $as_nop
17283 ac_check_soname_save_LIBS=$LIBS
17284 LIBS="-lopenal $LIBS"
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17288 /* Override any GCC internal prototype to avoid an error.
17289 Use char because int might match the return type of a GCC
17290 builtin and then its argument prototype would still apply. */
17291 char alGetSource3i ();
17293 main (void)
17295 return alGetSource3i ();
17297 return 0;
17299 _ACEOF
17300 if ac_fn_c_try_link "$LINENO"
17301 then :
17302 case "$LIBEXT" in
17303 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17304 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'` ;;
17305 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17306 if ${ac_cv_lib_soname_openal:+false} :
17307 then :
17308 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17309 fi ;;
17310 esac
17311 else $as_nop
17312 ac_cv_lib_soname_openal=
17314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17315 conftest$ac_exeext conftest.$ac_ext
17316 LIBS=$ac_check_soname_save_LIBS
17318 if ${ac_cv_lib_soname_openal:+false} :
17319 then :
17320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17321 printf "%s\n" "not found" >&6; }
17323 else $as_nop
17324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
17325 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
17327 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
17329 OPENAL_LIBS="-lopenal"
17331 ac_cv_lib_openal=yes
17333 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
17337 if test "x$ac_cv_lib_openal" != xyes
17338 then :
17339 case "x$with_openal" in
17340 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
17341 xno) ;;
17342 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
17343 This is an error since --with-openal was requested." "$LINENO" 5 ;;
17344 esac
17345 enable_openal32=${enable_openal32:-no}
17348 if test "$ac_cv_header_libprocstat_h" = "yes"
17349 then
17350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
17351 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
17352 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
17353 then :
17354 printf %s "(cached) " >&6
17355 else $as_nop
17356 ac_check_lib_save_LIBS=$LIBS
17357 LIBS="-lprocstat $LIBS"
17358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17361 /* Override any GCC internal prototype to avoid an error.
17362 Use char because int might match the return type of a GCC
17363 builtin and then its argument prototype would still apply. */
17364 char procstat_open_sysctl ();
17366 main (void)
17368 return procstat_open_sysctl ();
17370 return 0;
17372 _ACEOF
17373 if ac_fn_c_try_link "$LINENO"
17374 then :
17375 ac_cv_lib_procstat_procstat_open_sysctl=yes
17376 else $as_nop
17377 ac_cv_lib_procstat_procstat_open_sysctl=no
17379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17380 conftest$ac_exeext conftest.$ac_ext
17381 LIBS=$ac_check_lib_save_LIBS
17383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
17384 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
17385 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
17386 then :
17388 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
17390 PROCSTAT_LIBS="-lprocstat"
17396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
17397 printf %s "checking for -lodbc... " >&6; }
17398 if test ${ac_cv_lib_soname_odbc+y}
17399 then :
17400 printf %s "(cached) " >&6
17401 else $as_nop
17402 ac_check_soname_save_LIBS=$LIBS
17403 LIBS="-lodbc $LIBS"
17404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17405 /* end confdefs.h. */
17407 /* Override any GCC internal prototype to avoid an error.
17408 Use char because int might match the return type of a GCC
17409 builtin and then its argument prototype would still apply. */
17410 char SQLConnect ();
17412 main (void)
17414 return SQLConnect ();
17416 return 0;
17418 _ACEOF
17419 if ac_fn_c_try_link "$LINENO"
17420 then :
17421 case "$LIBEXT" in
17422 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17423 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'` ;;
17424 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17425 if ${ac_cv_lib_soname_odbc:+false} :
17426 then :
17427 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17428 fi ;;
17429 esac
17430 else $as_nop
17431 ac_cv_lib_soname_odbc=
17433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17434 conftest$ac_exeext conftest.$ac_ext
17435 LIBS=$ac_check_soname_save_LIBS
17437 if ${ac_cv_lib_soname_odbc:+false} :
17438 then :
17439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17440 printf "%s\n" "not found" >&6; }
17441 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
17443 else $as_nop
17444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
17445 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
17447 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
17452 if test "x$with_netapi" != "xno"
17453 then
17454 if ${NETAPI_CFLAGS:+false} :
17455 then :
17456 if test ${PKG_CONFIG+y}
17457 then :
17458 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
17462 if ${NETAPI_LIBS:+false} :
17463 then :
17464 if test ${PKG_CONFIG+y}
17465 then :
17466 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
17471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
17472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
17473 ac_save_CPPFLAGS=$CPPFLAGS
17474 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
17475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
17476 printf %s "checking for -lnetapi... " >&6; }
17477 if test ${ac_cv_lib_soname_netapi+y}
17478 then :
17479 printf %s "(cached) " >&6
17480 else $as_nop
17481 ac_check_soname_save_LIBS=$LIBS
17482 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
17483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17484 /* end confdefs.h. */
17486 /* Override any GCC internal prototype to avoid an error.
17487 Use char because int might match the return type of a GCC
17488 builtin and then its argument prototype would still apply. */
17489 char libnetapi_init ();
17491 main (void)
17493 return libnetapi_init ();
17495 return 0;
17497 _ACEOF
17498 if ac_fn_c_try_link "$LINENO"
17499 then :
17500 case "$LIBEXT" in
17501 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17502 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'` ;;
17503 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17504 if ${ac_cv_lib_soname_netapi:+false} :
17505 then :
17506 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17507 fi ;;
17508 esac
17509 else $as_nop
17510 ac_cv_lib_soname_netapi=
17512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17513 conftest$ac_exeext conftest.$ac_ext
17514 LIBS=$ac_check_soname_save_LIBS
17516 if ${ac_cv_lib_soname_netapi:+false} :
17517 then :
17518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17519 printf "%s\n" "not found" >&6; }
17520 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
17522 else $as_nop
17523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
17524 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
17526 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
17530 CPPFLAGS=$ac_save_CPPFLAGS
17534 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
17535 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
17536 then
17537 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
17540 if test "x$with_vulkan" != "xno"
17541 then
17542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
17543 printf %s "checking for -lvulkan... " >&6; }
17544 if test ${ac_cv_lib_soname_vulkan+y}
17545 then :
17546 printf %s "(cached) " >&6
17547 else $as_nop
17548 ac_check_soname_save_LIBS=$LIBS
17549 LIBS="-lvulkan $LIBS"
17550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17551 /* end confdefs.h. */
17553 /* Override any GCC internal prototype to avoid an error.
17554 Use char because int might match the return type of a GCC
17555 builtin and then its argument prototype would still apply. */
17556 char vkGetInstanceProcAddr ();
17558 main (void)
17560 return vkGetInstanceProcAddr ();
17562 return 0;
17564 _ACEOF
17565 if ac_fn_c_try_link "$LINENO"
17566 then :
17567 case "$LIBEXT" in
17568 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17569 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'` ;;
17570 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17571 if ${ac_cv_lib_soname_vulkan:+false} :
17572 then :
17573 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17574 fi ;;
17575 esac
17576 else $as_nop
17577 ac_cv_lib_soname_vulkan=
17579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17580 conftest$ac_exeext conftest.$ac_ext
17581 LIBS=$ac_check_soname_save_LIBS
17583 if ${ac_cv_lib_soname_vulkan:+false} :
17584 then :
17585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17586 printf "%s\n" "not found" >&6; }
17588 else $as_nop
17589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
17590 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
17592 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
17596 if test "x$ac_cv_lib_soname_vulkan" = "x"
17597 then
17598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
17599 printf %s "checking for -lMoltenVK... " >&6; }
17600 if test ${ac_cv_lib_soname_MoltenVK+y}
17601 then :
17602 printf %s "(cached) " >&6
17603 else $as_nop
17604 ac_check_soname_save_LIBS=$LIBS
17605 LIBS="-lMoltenVK $LIBS"
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17609 /* Override any GCC internal prototype to avoid an error.
17610 Use char because int might match the return type of a GCC
17611 builtin and then its argument prototype would still apply. */
17612 char vkGetInstanceProcAddr ();
17614 main (void)
17616 return vkGetInstanceProcAddr ();
17618 return 0;
17620 _ACEOF
17621 if ac_fn_c_try_link "$LINENO"
17622 then :
17623 case "$LIBEXT" in
17624 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17625 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'` ;;
17626 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17627 if ${ac_cv_lib_soname_MoltenVK:+false} :
17628 then :
17629 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17630 fi ;;
17631 esac
17632 else $as_nop
17633 ac_cv_lib_soname_MoltenVK=
17635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17636 conftest$ac_exeext conftest.$ac_ext
17637 LIBS=$ac_check_soname_save_LIBS
17639 if ${ac_cv_lib_soname_MoltenVK:+false} :
17640 then :
17641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17642 printf "%s\n" "not found" >&6; }
17644 else $as_nop
17645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
17646 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
17648 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
17654 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
17655 then :
17656 case "x$with_vulkan" in
17657 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
17658 xno) ;;
17659 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
17660 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
17661 esac
17665 if test "x$with_vkd3d" != "xno"
17666 then
17667 if ${VKD3D_CFLAGS:+false} :
17668 then :
17669 if test ${PKG_CONFIG+y}
17670 then :
17671 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
17675 if ${VKD3D_LIBS:+false} :
17676 then :
17677 if test ${PKG_CONFIG+y}
17678 then :
17679 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
17684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
17685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
17686 ac_save_CPPFLAGS=$CPPFLAGS
17687 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
17688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
17689 printf %s "checking for -lvkd3d... " >&6; }
17690 if test ${ac_cv_lib_soname_vkd3d+y}
17691 then :
17692 printf %s "(cached) " >&6
17693 else $as_nop
17694 ac_check_soname_save_LIBS=$LIBS
17695 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
17696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17697 /* end confdefs.h. */
17699 /* Override any GCC internal prototype to avoid an error.
17700 Use char because int might match the return type of a GCC
17701 builtin and then its argument prototype would still apply. */
17702 char vkd3d_serialize_versioned_root_signature ();
17704 main (void)
17706 return vkd3d_serialize_versioned_root_signature ();
17708 return 0;
17710 _ACEOF
17711 if ac_fn_c_try_link "$LINENO"
17712 then :
17713 case "$LIBEXT" in
17714 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17715 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'` ;;
17716 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17717 if ${ac_cv_lib_soname_vkd3d:+false} :
17718 then :
17719 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17720 fi ;;
17721 esac
17722 else $as_nop
17723 ac_cv_lib_soname_vkd3d=
17725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17726 conftest$ac_exeext conftest.$ac_ext
17727 LIBS=$ac_check_soname_save_LIBS
17729 if ${ac_cv_lib_soname_vkd3d:+false} :
17730 then :
17731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17732 printf "%s\n" "not found" >&6; }
17734 else $as_nop
17735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17736 printf "%s\n" "$ac_cv_lib_soname_vkd3d" >&6; }
17738 printf "%s\n" "#define SONAME_LIBVKD3D \"$ac_cv_lib_soname_vkd3d\"" >>confdefs.h
17742 CPPFLAGS=$ac_save_CPPFLAGS
17744 if ${VKD3D_SHADER_CFLAGS:+false} :
17745 then :
17746 if test ${PKG_CONFIG+y}
17747 then :
17748 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
17752 if ${VKD3D_SHADER_LIBS:+false} :
17753 then :
17754 if test ${PKG_CONFIG+y}
17755 then :
17756 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
17761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
17762 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
17763 ac_save_CPPFLAGS=$CPPFLAGS
17764 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
17765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
17766 printf %s "checking for -lvkd3d-shader... " >&6; }
17767 if test ${ac_cv_lib_soname_vkd3d_shader+y}
17768 then :
17769 printf %s "(cached) " >&6
17770 else $as_nop
17771 ac_check_soname_save_LIBS=$LIBS
17772 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17776 /* Override any GCC internal prototype to avoid an error.
17777 Use char because int might match the return type of a GCC
17778 builtin and then its argument prototype would still apply. */
17779 char vkd3d_shader_compile ();
17781 main (void)
17783 return vkd3d_shader_compile ();
17785 return 0;
17787 _ACEOF
17788 if ac_fn_c_try_link "$LINENO"
17789 then :
17790 case "$LIBEXT" in
17791 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17792 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'` ;;
17793 *) 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'`
17794 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
17795 then :
17796 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17797 fi ;;
17798 esac
17799 else $as_nop
17800 ac_cv_lib_soname_vkd3d_shader=
17802 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17803 conftest$ac_exeext conftest.$ac_ext
17804 LIBS=$ac_check_soname_save_LIBS
17806 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
17807 then :
17808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17809 printf "%s\n" "not found" >&6; }
17811 else $as_nop
17812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
17813 printf "%s\n" "$ac_cv_lib_soname_vkd3d_shader" >&6; }
17815 printf "%s\n" "#define SONAME_LIBVKD3D_SHADER \"$ac_cv_lib_soname_vkd3d_shader\"" >>confdefs.h
17819 CPPFLAGS=$ac_save_CPPFLAGS
17822 if test "x$ac_cv_lib_soname_vkd3d" = "x"
17823 then :
17824 case "x$with_vkd3d" in
17825 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17826 xno) ;;
17827 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17828 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17829 esac
17832 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17835 if test "x${GCC}" = "xyes"
17836 then
17837 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
17839 saved_CFLAGS=$CFLAGS
17840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17841 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17842 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
17843 then :
17844 printf %s "(cached) " >&6
17845 else $as_nop
17846 ac_wine_try_cflags_saved=$CFLAGS
17847 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17849 /* end confdefs.h. */
17850 int main(int argc, char **argv) { return 0; }
17851 _ACEOF
17852 if ac_fn_c_try_link "$LINENO"
17853 then :
17854 ac_cv_cflags__Werror_unknown_warning_option=yes
17855 else $as_nop
17856 ac_cv_cflags__Werror_unknown_warning_option=no
17858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17859 conftest$ac_exeext conftest.$ac_ext
17860 CFLAGS=$ac_wine_try_cflags_saved
17862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17863 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17864 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
17865 then :
17866 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17869 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17870 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
17871 then :
17872 printf %s "(cached) " >&6
17873 else $as_nop
17874 ac_wine_try_cflags_saved=$CFLAGS
17875 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17877 /* end confdefs.h. */
17878 int main(int argc, char **argv) { return 0; }
17879 _ACEOF
17880 if ac_fn_c_try_link "$LINENO"
17881 then :
17882 ac_cv_cflags__Werror_unused_command_line_argument=yes
17883 else $as_nop
17884 ac_cv_cflags__Werror_unused_command_line_argument=no
17886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17887 conftest$ac_exeext conftest.$ac_ext
17888 CFLAGS=$ac_wine_try_cflags_saved
17890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17891 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17892 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
17893 then :
17894 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17897 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17898 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
17899 then :
17900 printf %s "(cached) " >&6
17901 else $as_nop
17902 ac_wine_try_cflags_saved=$CFLAGS
17903 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17905 /* end confdefs.h. */
17906 int main(int argc, char **argv) { return 0; }
17907 _ACEOF
17908 if ac_fn_c_try_link "$LINENO"
17909 then :
17910 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17911 else $as_nop
17912 ac_cv_cflags__Werror_ignored_optimization_argument=no
17914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17915 conftest$ac_exeext conftest.$ac_ext
17916 CFLAGS=$ac_wine_try_cflags_saved
17918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17919 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17920 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
17921 then :
17922 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17925 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
17926 if test ${ac_cv_cflags__fcf_protection_none+y}
17927 then :
17928 printf %s "(cached) " >&6
17929 else $as_nop
17930 ac_wine_try_cflags_saved=$CFLAGS
17931 CFLAGS="$CFLAGS -fcf-protection=none"
17932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17933 /* end confdefs.h. */
17934 int main(int argc, char **argv) { return 0; }
17935 _ACEOF
17936 if ac_fn_c_try_link "$LINENO"
17937 then :
17938 ac_cv_cflags__fcf_protection_none=yes
17939 else $as_nop
17940 ac_cv_cflags__fcf_protection_none=no
17942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17943 conftest$ac_exeext conftest.$ac_ext
17944 CFLAGS=$ac_wine_try_cflags_saved
17946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17947 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
17948 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
17949 then :
17950 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17953 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
17954 if test ${ac_cv_cflags__fno_stack_protector+y}
17955 then :
17956 printf %s "(cached) " >&6
17957 else $as_nop
17958 ac_wine_try_cflags_saved=$CFLAGS
17959 CFLAGS="$CFLAGS -fno-stack-protector"
17960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17961 /* end confdefs.h. */
17962 int main(int argc, char **argv) { return 0; }
17963 _ACEOF
17964 if ac_fn_c_try_link "$LINENO"
17965 then :
17966 ac_cv_cflags__fno_stack_protector=yes
17967 else $as_nop
17968 ac_cv_cflags__fno_stack_protector=no
17970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17971 conftest$ac_exeext conftest.$ac_ext
17972 CFLAGS=$ac_wine_try_cflags_saved
17974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17975 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
17976 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
17977 then :
17978 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17981 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17982 if test ${ac_cv_cflags__fno_strict_aliasing+y}
17983 then :
17984 printf %s "(cached) " >&6
17985 else $as_nop
17986 ac_wine_try_cflags_saved=$CFLAGS
17987 CFLAGS="$CFLAGS -fno-strict-aliasing"
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17990 int main(int argc, char **argv) { return 0; }
17991 _ACEOF
17992 if ac_fn_c_try_link "$LINENO"
17993 then :
17994 ac_cv_cflags__fno_strict_aliasing=yes
17995 else $as_nop
17996 ac_cv_cflags__fno_strict_aliasing=no
17998 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17999 conftest$ac_exeext conftest.$ac_ext
18000 CFLAGS=$ac_wine_try_cflags_saved
18002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18003 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18004 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18005 then :
18006 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18009 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18010 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18011 then :
18012 printf %s "(cached) " >&6
18013 else $as_nop
18014 ac_wine_try_cflags_saved=$CFLAGS
18015 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18017 /* end confdefs.h. */
18018 int main(int argc, char **argv) { return 0; }
18019 _ACEOF
18020 if ac_fn_c_try_link "$LINENO"
18021 then :
18022 ac_cv_cflags__Wdeclaration_after_statement=yes
18023 else $as_nop
18024 ac_cv_cflags__Wdeclaration_after_statement=no
18026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18027 conftest$ac_exeext conftest.$ac_ext
18028 CFLAGS=$ac_wine_try_cflags_saved
18030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18031 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18032 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18033 then :
18034 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18037 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18038 if test ${ac_cv_cflags__Wempty_body+y}
18039 then :
18040 printf %s "(cached) " >&6
18041 else $as_nop
18042 ac_wine_try_cflags_saved=$CFLAGS
18043 CFLAGS="$CFLAGS -Wempty-body"
18044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18045 /* end confdefs.h. */
18046 int main(int argc, char **argv) { return 0; }
18047 _ACEOF
18048 if ac_fn_c_try_link "$LINENO"
18049 then :
18050 ac_cv_cflags__Wempty_body=yes
18051 else $as_nop
18052 ac_cv_cflags__Wempty_body=no
18054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18055 conftest$ac_exeext conftest.$ac_ext
18056 CFLAGS=$ac_wine_try_cflags_saved
18058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18059 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18060 if test "x$ac_cv_cflags__Wempty_body" = xyes
18061 then :
18062 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18065 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18066 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18067 then :
18068 printf %s "(cached) " >&6
18069 else $as_nop
18070 ac_wine_try_cflags_saved=$CFLAGS
18071 CFLAGS="$CFLAGS -Wignored-qualifiers"
18072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18073 /* end confdefs.h. */
18074 int main(int argc, char **argv) { return 0; }
18075 _ACEOF
18076 if ac_fn_c_try_link "$LINENO"
18077 then :
18078 ac_cv_cflags__Wignored_qualifiers=yes
18079 else $as_nop
18080 ac_cv_cflags__Wignored_qualifiers=no
18082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18083 conftest$ac_exeext conftest.$ac_ext
18084 CFLAGS=$ac_wine_try_cflags_saved
18086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18087 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18088 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18089 then :
18090 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18093 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18094 if test ${ac_cv_cflags__Winit_self+y}
18095 then :
18096 printf %s "(cached) " >&6
18097 else $as_nop
18098 ac_wine_try_cflags_saved=$CFLAGS
18099 CFLAGS="$CFLAGS -Winit-self"
18100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18101 /* end confdefs.h. */
18102 int main(int argc, char **argv) { return 0; }
18103 _ACEOF
18104 if ac_fn_c_try_link "$LINENO"
18105 then :
18106 ac_cv_cflags__Winit_self=yes
18107 else $as_nop
18108 ac_cv_cflags__Winit_self=no
18110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18111 conftest$ac_exeext conftest.$ac_ext
18112 CFLAGS=$ac_wine_try_cflags_saved
18114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18115 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18116 if test "x$ac_cv_cflags__Winit_self" = xyes
18117 then :
18118 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18121 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18122 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18123 then :
18124 printf %s "(cached) " >&6
18125 else $as_nop
18126 ac_wine_try_cflags_saved=$CFLAGS
18127 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18129 /* end confdefs.h. */
18130 int main(int argc, char **argv) { return 0; }
18131 _ACEOF
18132 if ac_fn_c_try_link "$LINENO"
18133 then :
18134 ac_cv_cflags__Wpacked_not_aligned=yes
18135 else $as_nop
18136 ac_cv_cflags__Wpacked_not_aligned=no
18138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18139 conftest$ac_exeext conftest.$ac_ext
18140 CFLAGS=$ac_wine_try_cflags_saved
18142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18143 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18144 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18145 then :
18146 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18149 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18150 if test ${ac_cv_cflags__Wpragma_pack+y}
18151 then :
18152 printf %s "(cached) " >&6
18153 else $as_nop
18154 ac_wine_try_cflags_saved=$CFLAGS
18155 CFLAGS="$CFLAGS -Wpragma-pack"
18156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18157 /* end confdefs.h. */
18158 int main(int argc, char **argv) { return 0; }
18159 _ACEOF
18160 if ac_fn_c_try_link "$LINENO"
18161 then :
18162 ac_cv_cflags__Wpragma_pack=yes
18163 else $as_nop
18164 ac_cv_cflags__Wpragma_pack=no
18166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18167 conftest$ac_exeext conftest.$ac_ext
18168 CFLAGS=$ac_wine_try_cflags_saved
18170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18171 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18172 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18173 then :
18174 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18177 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18178 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18179 then :
18180 printf %s "(cached) " >&6
18181 else $as_nop
18182 ac_wine_try_cflags_saved=$CFLAGS
18183 CFLAGS="$CFLAGS -Wshift-overflow=2"
18184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18185 /* end confdefs.h. */
18186 int main(int argc, char **argv) { return 0; }
18187 _ACEOF
18188 if ac_fn_c_try_link "$LINENO"
18189 then :
18190 ac_cv_cflags__Wshift_overflow_2=yes
18191 else $as_nop
18192 ac_cv_cflags__Wshift_overflow_2=no
18194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18195 conftest$ac_exeext conftest.$ac_ext
18196 CFLAGS=$ac_wine_try_cflags_saved
18198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18199 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18200 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18201 then :
18202 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18205 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18206 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18207 then :
18208 printf %s "(cached) " >&6
18209 else $as_nop
18210 ac_wine_try_cflags_saved=$CFLAGS
18211 CFLAGS="$CFLAGS -Wstrict-prototypes"
18212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18213 /* end confdefs.h. */
18214 int main(int argc, char **argv) { return 0; }
18215 _ACEOF
18216 if ac_fn_c_try_link "$LINENO"
18217 then :
18218 ac_cv_cflags__Wstrict_prototypes=yes
18219 else $as_nop
18220 ac_cv_cflags__Wstrict_prototypes=no
18222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18223 conftest$ac_exeext conftest.$ac_ext
18224 CFLAGS=$ac_wine_try_cflags_saved
18226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18227 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18228 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18229 then :
18230 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18233 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18234 if test ${ac_cv_cflags__Wtype_limits+y}
18235 then :
18236 printf %s "(cached) " >&6
18237 else $as_nop
18238 ac_wine_try_cflags_saved=$CFLAGS
18239 CFLAGS="$CFLAGS -Wtype-limits"
18240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18241 /* end confdefs.h. */
18242 int main(int argc, char **argv) { return 0; }
18243 _ACEOF
18244 if ac_fn_c_try_link "$LINENO"
18245 then :
18246 ac_cv_cflags__Wtype_limits=yes
18247 else $as_nop
18248 ac_cv_cflags__Wtype_limits=no
18250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18251 conftest$ac_exeext conftest.$ac_ext
18252 CFLAGS=$ac_wine_try_cflags_saved
18254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18255 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18256 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18257 then :
18258 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18261 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18262 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18263 then :
18264 printf %s "(cached) " >&6
18265 else $as_nop
18266 ac_wine_try_cflags_saved=$CFLAGS
18267 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18270 int main(int argc, char **argv) { return 0; }
18271 _ACEOF
18272 if ac_fn_c_try_link "$LINENO"
18273 then :
18274 ac_cv_cflags__Wunused_but_set_parameter=yes
18275 else $as_nop
18276 ac_cv_cflags__Wunused_but_set_parameter=no
18278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18279 conftest$ac_exeext conftest.$ac_ext
18280 CFLAGS=$ac_wine_try_cflags_saved
18282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18283 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18284 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18285 then :
18286 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18289 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18290 if test ${ac_cv_cflags__Wvla+y}
18291 then :
18292 printf %s "(cached) " >&6
18293 else $as_nop
18294 ac_wine_try_cflags_saved=$CFLAGS
18295 CFLAGS="$CFLAGS -Wvla"
18296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18297 /* end confdefs.h. */
18298 int main(int argc, char **argv) { return 0; }
18299 _ACEOF
18300 if ac_fn_c_try_link "$LINENO"
18301 then :
18302 ac_cv_cflags__Wvla=yes
18303 else $as_nop
18304 ac_cv_cflags__Wvla=no
18306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18307 conftest$ac_exeext conftest.$ac_ext
18308 CFLAGS=$ac_wine_try_cflags_saved
18310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18311 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18312 if test "x$ac_cv_cflags__Wvla" = xyes
18313 then :
18314 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18317 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18318 if test ${ac_cv_cflags__Wwrite_strings+y}
18319 then :
18320 printf %s "(cached) " >&6
18321 else $as_nop
18322 ac_wine_try_cflags_saved=$CFLAGS
18323 CFLAGS="$CFLAGS -Wwrite-strings"
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18326 int main(int argc, char **argv) { return 0; }
18327 _ACEOF
18328 if ac_fn_c_try_link "$LINENO"
18329 then :
18330 ac_cv_cflags__Wwrite_strings=yes
18331 else $as_nop
18332 ac_cv_cflags__Wwrite_strings=no
18334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18335 conftest$ac_exeext conftest.$ac_ext
18336 CFLAGS=$ac_wine_try_cflags_saved
18338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18339 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18340 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18341 then :
18342 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18345 if test -z "$CROSSTARGET"
18346 then
18347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18348 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18349 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18350 then :
18351 printf %s "(cached) " >&6
18352 else $as_nop
18353 ac_wine_try_cflags_saved=$CFLAGS
18354 CFLAGS="$CFLAGS -fexcess-precision=standard"
18355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18356 /* end confdefs.h. */
18357 int main(int argc, char **argv) { return 0; }
18358 _ACEOF
18359 if ac_fn_c_try_link "$LINENO"
18360 then :
18361 ac_cv_cflags__fexcess_precision_standard=yes
18362 else $as_nop
18363 ac_cv_cflags__fexcess_precision_standard=no
18365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18366 conftest$ac_exeext conftest.$ac_ext
18367 CFLAGS=$ac_wine_try_cflags_saved
18369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18370 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18371 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18372 then :
18373 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
18378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18379 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18380 if test ${ac_cv_cflags__Wpointer_arith+y}
18381 then :
18382 printf %s "(cached) " >&6
18383 else $as_nop
18384 ac_wine_try_cflags_saved=$CFLAGS
18385 CFLAGS="$CFLAGS -Wpointer-arith"
18386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18387 /* end confdefs.h. */
18388 int main(int argc, char **argv) { return 0; }
18389 _ACEOF
18390 if ac_fn_c_try_link "$LINENO"
18391 then :
18392 ac_cv_cflags__Wpointer_arith=yes
18393 else $as_nop
18394 ac_cv_cflags__Wpointer_arith=no
18396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18397 conftest$ac_exeext conftest.$ac_ext
18398 CFLAGS=$ac_wine_try_cflags_saved
18400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18401 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18402 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18403 then :
18404 saved_string_h_CFLAGS=$CFLAGS
18405 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18407 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18408 if test ${ac_cv_c_string_h_warnings+y}
18409 then :
18410 printf %s "(cached) " >&6
18411 else $as_nop
18412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18413 /* end confdefs.h. */
18414 #include <string.h>
18416 main (void)
18420 return 0;
18422 _ACEOF
18423 if ac_fn_c_try_compile "$LINENO"
18424 then :
18425 ac_cv_c_string_h_warnings=no
18426 else $as_nop
18427 ac_cv_c_string_h_warnings=yes
18429 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18432 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18433 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18434 CFLAGS=$saved_string_h_CFLAGS
18437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18438 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18439 if test ${ac_cv_cflags__Wlogical_op+y}
18440 then :
18441 printf %s "(cached) " >&6
18442 else $as_nop
18443 ac_wine_try_cflags_saved=$CFLAGS
18444 CFLAGS="$CFLAGS -Wlogical-op"
18445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18446 /* end confdefs.h. */
18447 int main(int argc, char **argv) { return 0; }
18448 _ACEOF
18449 if ac_fn_c_try_link "$LINENO"
18450 then :
18451 ac_cv_cflags__Wlogical_op=yes
18452 else $as_nop
18453 ac_cv_cflags__Wlogical_op=no
18455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18456 conftest$ac_exeext conftest.$ac_ext
18457 CFLAGS=$ac_wine_try_cflags_saved
18459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18460 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18461 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18462 then :
18463 saved_string_h_CFLAGS=$CFLAGS
18464 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18466 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18467 if test ${ac_cv_c_logicalop_noisy+y}
18468 then :
18469 printf %s "(cached) " >&6
18470 else $as_nop
18471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18472 /* end confdefs.h. */
18473 #include <string.h>
18474 char*f(const char *h,char n) {return strchr(h,n);}
18476 main (void)
18480 return 0;
18482 _ACEOF
18483 if ac_fn_c_try_compile "$LINENO"
18484 then :
18485 ac_cv_c_logicalop_noisy=no
18486 else $as_nop
18487 ac_cv_c_logicalop_noisy=yes
18489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18492 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18493 CFLAGS=$saved_string_h_CFLAGS
18494 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
18497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
18498 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
18499 if test ${wine_cv_64bit_compare_swap+y}
18500 then :
18501 printf %s "(cached) " >&6
18502 else $as_nop
18503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18504 /* end confdefs.h. */
18505 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18506 #error no
18507 #endif
18509 main (void)
18513 return 0;
18515 _ACEOF
18516 if ac_fn_c_try_compile "$LINENO"
18517 then :
18518 wine_cv_64bit_compare_swap="none needed"
18519 else $as_nop
18520 case $host_cpu in
18521 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
18522 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
18523 *) wine_cv_64bit_compare_swap="unknown" ;;
18524 esac
18525 if test "x$wine_cv_64bit_compare_swap" != xunknown
18526 then
18527 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
18528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18529 /* end confdefs.h. */
18530 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18531 #error no
18532 #endif
18534 main (void)
18538 return 0;
18540 _ACEOF
18541 if ac_fn_c_try_compile "$LINENO"
18542 then :
18544 else $as_nop
18545 wine_cv_64bit_compare_swap="unknown"
18547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18548 CFLAGS=$saved_CFLAGS
18551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
18554 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
18555 case "$wine_cv_64bit_compare_swap" in
18556 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
18557 "none needed") ;;
18558 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
18559 esac
18561 ac_debug_format_seen=""
18562 for ac_flag in $CFLAGS; do
18563 case $ac_flag in
18564 -gdwarf*) ac_debug_format_seen=yes ;;
18565 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
18566 esac
18567 done
18568 if test "x$ac_debug_format_seen" = xdefault
18569 then
18570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
18571 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
18572 if test ${ac_cv_cflags__gdwarf_4+y}
18573 then :
18574 printf %s "(cached) " >&6
18575 else $as_nop
18576 ac_wine_try_cflags_saved=$CFLAGS
18577 CFLAGS="$CFLAGS -gdwarf-4"
18578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18580 int main(int argc, char **argv) { return 0; }
18581 _ACEOF
18582 if ac_fn_c_try_link "$LINENO"
18583 then :
18584 ac_cv_cflags__gdwarf_4=yes
18585 else $as_nop
18586 ac_cv_cflags__gdwarf_4=no
18588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18589 conftest$ac_exeext conftest.$ac_ext
18590 CFLAGS=$ac_wine_try_cflags_saved
18592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
18593 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
18594 if test "x$ac_cv_cflags__gdwarf_4" = xyes
18595 then :
18596 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
18600 MSVCRTFLAGS=""
18602 case $host_os in
18603 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
18604 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
18605 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
18606 then :
18607 printf %s "(cached) " >&6
18608 else $as_nop
18609 ac_wine_try_cflags_saved=$CFLAGS
18610 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
18611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h. */
18613 int main(int argc, char **argv) { return 0; }
18614 _ACEOF
18615 if ac_fn_c_try_link "$LINENO"
18616 then :
18617 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
18618 else $as_nop
18619 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
18621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18622 conftest$ac_exeext conftest.$ac_ext
18623 CFLAGS=$ac_wine_try_cflags_saved
18625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
18626 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
18627 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
18628 then :
18629 DELAYLOADFLAG="-Wl,-delayload,"
18631 fi ;;
18632 *) MSVCRTFLAGS="-D_WIN32"
18633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
18634 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
18635 if test ${ac_cv_cflags__fno_builtin+y}
18636 then :
18637 printf %s "(cached) " >&6
18638 else $as_nop
18639 ac_wine_try_cflags_saved=$CFLAGS
18640 CFLAGS="$CFLAGS -fno-builtin"
18641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18642 /* end confdefs.h. */
18643 int main(int argc, char **argv) { return 0; }
18644 _ACEOF
18645 if ac_fn_c_try_link "$LINENO"
18646 then :
18647 ac_cv_cflags__fno_builtin=yes
18648 else $as_nop
18649 ac_cv_cflags__fno_builtin=no
18651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18652 conftest$ac_exeext conftest.$ac_ext
18653 CFLAGS=$ac_wine_try_cflags_saved
18655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
18656 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
18657 if test "x$ac_cv_cflags__fno_builtin" = xyes
18658 then :
18659 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
18661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
18662 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
18663 if test ${ac_cv_cflags__fshort_wchar+y}
18664 then :
18665 printf %s "(cached) " >&6
18666 else $as_nop
18667 ac_wine_try_cflags_saved=$CFLAGS
18668 CFLAGS="$CFLAGS -fshort-wchar"
18669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18670 /* end confdefs.h. */
18671 int main(int argc, char **argv) { return 0; }
18672 _ACEOF
18673 if ac_fn_c_try_link "$LINENO"
18674 then :
18675 ac_cv_cflags__fshort_wchar=yes
18676 else $as_nop
18677 ac_cv_cflags__fshort_wchar=no
18679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18680 conftest$ac_exeext conftest.$ac_ext
18681 CFLAGS=$ac_wine_try_cflags_saved
18683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
18684 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
18685 if test "x$ac_cv_cflags__fshort_wchar" = xyes
18686 then :
18687 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
18688 fi ;;
18689 esac
18691 case $host_cpu in
18692 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
18693 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
18694 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
18695 then :
18696 printf %s "(cached) " >&6
18697 else $as_nop
18698 ac_wine_try_cflags_saved=$CFLAGS
18699 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
18700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h. */
18702 int main(int argc, char **argv) { return 0; }
18703 _ACEOF
18704 if ac_fn_c_try_link "$LINENO"
18705 then :
18706 ac_cv_cflags__fno_omit_frame_pointer=yes
18707 else $as_nop
18708 ac_cv_cflags__fno_omit_frame_pointer=no
18710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18711 conftest$ac_exeext conftest.$ac_ext
18712 CFLAGS=$ac_wine_try_cflags_saved
18714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
18715 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
18716 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
18717 then :
18718 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
18719 fi ;;
18720 *x86_64*)
18721 case $host_os in
18722 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
18723 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
18724 if test ${ac_cv_cflags__Wno_format+y}
18725 then :
18726 printf %s "(cached) " >&6
18727 else $as_nop
18728 ac_wine_try_cflags_saved=$CFLAGS
18729 CFLAGS="$CFLAGS -Wno-format"
18730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18731 /* end confdefs.h. */
18732 int main(int argc, char **argv) { return 0; }
18733 _ACEOF
18734 if ac_fn_c_try_link "$LINENO"
18735 then :
18736 ac_cv_cflags__Wno_format=yes
18737 else $as_nop
18738 ac_cv_cflags__Wno_format=no
18740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18741 conftest$ac_exeext conftest.$ac_ext
18742 CFLAGS=$ac_wine_try_cflags_saved
18744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
18745 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
18746 if test "x$ac_cv_cflags__Wno_format" = xyes
18747 then :
18748 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
18749 fi ;;
18750 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
18751 printf %s "checking whether the compiler supports -mabi=ms... " >&6; }
18752 if test ${ac_cv_cflags__mabi_ms+y}
18753 then :
18754 printf %s "(cached) " >&6
18755 else $as_nop
18756 ac_wine_try_cflags_saved=$CFLAGS
18757 CFLAGS="$CFLAGS -mabi=ms"
18758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18759 /* end confdefs.h. */
18760 int main(int argc, char **argv) { return 0; }
18761 _ACEOF
18762 if ac_fn_c_try_link "$LINENO"
18763 then :
18764 ac_cv_cflags__mabi_ms=yes
18765 else $as_nop
18766 ac_cv_cflags__mabi_ms=no
18768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18769 conftest$ac_exeext conftest.$ac_ext
18770 CFLAGS=$ac_wine_try_cflags_saved
18772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
18773 printf "%s\n" "$ac_cv_cflags__mabi_ms" >&6; }
18774 if test "x$ac_cv_cflags__mabi_ms" = xyes
18775 then :
18776 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
18777 fi ;;
18778 esac ;;
18779 esac
18781 CFLAGS=$saved_CFLAGS
18783 if test "x$enable_werror" = "xyes"
18784 then
18785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
18786 printf %s "checking whether the compiler supports -Werror... " >&6; }
18787 if test ${ac_cv_cflags__Werror+y}
18788 then :
18789 printf %s "(cached) " >&6
18790 else $as_nop
18791 ac_wine_try_cflags_saved=$CFLAGS
18792 CFLAGS="$CFLAGS -Werror"
18793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18794 /* end confdefs.h. */
18795 int main(int argc, char **argv) { return 0; }
18796 _ACEOF
18797 if ac_fn_c_try_link "$LINENO"
18798 then :
18799 ac_cv_cflags__Werror=yes
18800 else $as_nop
18801 ac_cv_cflags__Werror=no
18803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18804 conftest$ac_exeext conftest.$ac_ext
18805 CFLAGS=$ac_wine_try_cflags_saved
18807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
18808 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
18809 if test "x$ac_cv_cflags__Werror" = xyes
18810 then :
18811 EXTRACFLAGS="$EXTRACFLAGS -Werror"
18814 if test "x$enable_build_id" = "xyes"
18815 then
18816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
18817 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
18818 if test ${ac_cv_cflags__Wl___build_id+y}
18819 then :
18820 printf %s "(cached) " >&6
18821 else $as_nop
18822 ac_wine_try_cflags_saved=$CFLAGS
18823 CFLAGS="$CFLAGS -Wl,--build-id"
18824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18825 /* end confdefs.h. */
18826 int main(int argc, char **argv) { return 0; }
18827 _ACEOF
18828 if ac_fn_c_try_link "$LINENO"
18829 then :
18830 ac_cv_cflags__Wl___build_id=yes
18831 else $as_nop
18832 ac_cv_cflags__Wl___build_id=no
18834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18835 conftest$ac_exeext conftest.$ac_ext
18836 CFLAGS=$ac_wine_try_cflags_saved
18838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
18839 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
18840 if test "x$ac_cv_cflags__Wl___build_id" = xyes
18841 then :
18842 CFLAGS="$CFLAGS -Wl,--build-id"
18843 LDFLAGS="$LDFLAGS -Wl,--build-id"
18849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
18850 printf %s "checking for the need to disable Fortify... " >&6; }
18851 if test ${ac_cv_c_fortify_enabled+y}
18852 then :
18853 printf %s "(cached) " >&6
18854 else $as_nop
18855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18856 /* end confdefs.h. */
18857 #include <string.h>
18859 main (void)
18861 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
18862 #error Fortify enabled
18863 #endif
18865 return 0;
18867 _ACEOF
18868 if ac_fn_c_try_compile "$LINENO"
18869 then :
18870 ac_cv_c_fortify_enabled=no
18871 else $as_nop
18872 ac_cv_c_fortify_enabled=yes
18874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
18877 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
18878 if test "$ac_cv_c_fortify_enabled" = yes
18879 then
18880 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
18884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
18885 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
18886 if test ${ac_cv_c_cfi_support+y}
18887 then :
18888 printf %s "(cached) " >&6
18889 else $as_nop
18890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18891 /* end confdefs.h. */
18892 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
18894 main (void)
18898 return 0;
18900 _ACEOF
18901 if ac_fn_c_try_compile "$LINENO"
18902 then :
18903 ac_cv_c_cfi_support="yes"
18904 else $as_nop
18905 ac_cv_c_cfi_support="no"
18907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18910 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
18911 if test "$ac_cv_c_cfi_support" = "yes"
18912 then
18913 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18914 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18915 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
18916 else
18917 if test "x$enable_win64" = "xyes"
18918 then
18919 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18924 case $host_os in
18925 linux*)
18926 case $host_cpu in
18927 *i[3456789]86*|x86_64*|*aarch64*|arm*)
18928 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18929 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18931 esac
18933 esac
18936 ac_save_CFLAGS="$CFLAGS"
18937 CFLAGS="$CFLAGS $BUILTINFLAG"
18938 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
18939 if test "x$ac_cv_func_epoll_create" = xyes
18940 then :
18941 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
18944 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
18945 if test "x$ac_cv_func_fstatfs" = xyes
18946 then :
18947 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
18950 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
18951 if test "x$ac_cv_func_futimens" = xyes
18952 then :
18953 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
18956 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
18957 if test "x$ac_cv_func_futimes" = xyes
18958 then :
18959 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
18962 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
18963 if test "x$ac_cv_func_futimesat" = xyes
18964 then :
18965 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
18968 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
18969 if test "x$ac_cv_func_getattrlist" = xyes
18970 then :
18971 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
18974 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
18975 if test "x$ac_cv_func_getauxval" = xyes
18976 then :
18977 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
18980 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
18981 if test "x$ac_cv_func_getifaddrs" = xyes
18982 then :
18983 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
18986 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
18987 if test "x$ac_cv_func_getrandom" = xyes
18988 then :
18989 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
18992 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
18993 if test "x$ac_cv_func_kqueue" = xyes
18994 then :
18995 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
18998 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
18999 if test "x$ac_cv_func_mach_continuous_time" = xyes
19000 then :
19001 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19004 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19005 if test "x$ac_cv_func_pipe2" = xyes
19006 then :
19007 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19010 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19011 if test "x$ac_cv_func_port_create" = xyes
19012 then :
19013 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19016 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19017 if test "x$ac_cv_func_posix_fadvise" = xyes
19018 then :
19019 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19022 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19023 if test "x$ac_cv_func_posix_fallocate" = xyes
19024 then :
19025 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19028 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19029 if test "x$ac_cv_func_prctl" = xyes
19030 then :
19031 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19034 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19035 if test "x$ac_cv_func_proc_pidinfo" = xyes
19036 then :
19037 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19040 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19041 if test "x$ac_cv_func_sched_yield" = xyes
19042 then :
19043 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19046 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19047 if test "x$ac_cv_func_setproctitle" = xyes
19048 then :
19049 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19052 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19053 if test "x$ac_cv_func_setprogname" = xyes
19054 then :
19055 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19058 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19059 if test "x$ac_cv_func_sigprocmask" = xyes
19060 then :
19061 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19064 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19065 if test "x$ac_cv_func_sysinfo" = xyes
19066 then :
19067 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19070 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19071 if test "x$ac_cv_func_tcdrain" = xyes
19072 then :
19073 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19076 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19077 if test "x$ac_cv_func_thr_kill2" = xyes
19078 then :
19079 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19083 CFLAGS="$ac_save_CFLAGS"
19085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19086 printf %s "checking for library containing dlopen... " >&6; }
19087 if test ${ac_cv_search_dlopen+y}
19088 then :
19089 printf %s "(cached) " >&6
19090 else $as_nop
19091 ac_func_search_save_LIBS=$LIBS
19092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19093 /* end confdefs.h. */
19095 /* Override any GCC internal prototype to avoid an error.
19096 Use char because int might match the return type of a GCC
19097 builtin and then its argument prototype would still apply. */
19098 char dlopen ();
19100 main (void)
19102 return dlopen ();
19104 return 0;
19106 _ACEOF
19107 for ac_lib in '' dl
19109 if test -z "$ac_lib"; then
19110 ac_res="none required"
19111 else
19112 ac_res=-l$ac_lib
19113 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19115 if ac_fn_c_try_link "$LINENO"
19116 then :
19117 ac_cv_search_dlopen=$ac_res
19119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19120 conftest$ac_exeext
19121 if test ${ac_cv_search_dlopen+y}
19122 then :
19123 break
19125 done
19126 if test ${ac_cv_search_dlopen+y}
19127 then :
19129 else $as_nop
19130 ac_cv_search_dlopen=no
19132 rm conftest.$ac_ext
19133 LIBS=$ac_func_search_save_LIBS
19135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19136 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19137 ac_res=$ac_cv_search_dlopen
19138 if test "$ac_res" != no
19139 then :
19140 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19144 ac_wine_check_funcs_save_LIBS="$LIBS"
19145 LIBS="$LIBS $DL_LIBS"
19146 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19147 if test "x$ac_cv_func_dlinfo" = xyes
19148 then :
19149 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19153 LIBS="$ac_wine_check_funcs_save_LIBS"
19155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19156 printf %s "checking for library containing gethostbyname... " >&6; }
19157 if test ${ac_cv_search_gethostbyname+y}
19158 then :
19159 printf %s "(cached) " >&6
19160 else $as_nop
19161 ac_func_search_save_LIBS=$LIBS
19162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19163 /* end confdefs.h. */
19165 /* Override any GCC internal prototype to avoid an error.
19166 Use char because int might match the return type of a GCC
19167 builtin and then its argument prototype would still apply. */
19168 char gethostbyname ();
19170 main (void)
19172 return gethostbyname ();
19174 return 0;
19176 _ACEOF
19177 for ac_lib in '' nsl
19179 if test -z "$ac_lib"; then
19180 ac_res="none required"
19181 else
19182 ac_res=-l$ac_lib
19183 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19185 if ac_fn_c_try_link "$LINENO"
19186 then :
19187 ac_cv_search_gethostbyname=$ac_res
19189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19190 conftest$ac_exeext
19191 if test ${ac_cv_search_gethostbyname+y}
19192 then :
19193 break
19195 done
19196 if test ${ac_cv_search_gethostbyname+y}
19197 then :
19199 else $as_nop
19200 ac_cv_search_gethostbyname=no
19202 rm conftest.$ac_ext
19203 LIBS=$ac_func_search_save_LIBS
19205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19206 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19207 ac_res=$ac_cv_search_gethostbyname
19208 if test "$ac_res" != no
19209 then :
19210 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19216 printf %s "checking for library containing connect... " >&6; }
19217 if test ${ac_cv_search_connect+y}
19218 then :
19219 printf %s "(cached) " >&6
19220 else $as_nop
19221 ac_func_search_save_LIBS=$LIBS
19222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19223 /* end confdefs.h. */
19225 /* Override any GCC internal prototype to avoid an error.
19226 Use char because int might match the return type of a GCC
19227 builtin and then its argument prototype would still apply. */
19228 char connect ();
19230 main (void)
19232 return connect ();
19234 return 0;
19236 _ACEOF
19237 for ac_lib in '' socket
19239 if test -z "$ac_lib"; then
19240 ac_res="none required"
19241 else
19242 ac_res=-l$ac_lib
19243 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19245 if ac_fn_c_try_link "$LINENO"
19246 then :
19247 ac_cv_search_connect=$ac_res
19249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19250 conftest$ac_exeext
19251 if test ${ac_cv_search_connect+y}
19252 then :
19253 break
19255 done
19256 if test ${ac_cv_search_connect+y}
19257 then :
19259 else $as_nop
19260 ac_cv_search_connect=no
19262 rm conftest.$ac_ext
19263 LIBS=$ac_func_search_save_LIBS
19265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19266 printf "%s\n" "$ac_cv_search_connect" >&6; }
19267 ac_res=$ac_cv_search_connect
19268 if test "$ac_res" != no
19269 then :
19270 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19276 printf %s "checking for library containing inet_aton... " >&6; }
19277 if test ${ac_cv_search_inet_aton+y}
19278 then :
19279 printf %s "(cached) " >&6
19280 else $as_nop
19281 ac_func_search_save_LIBS=$LIBS
19282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19283 /* end confdefs.h. */
19285 /* Override any GCC internal prototype to avoid an error.
19286 Use char because int might match the return type of a GCC
19287 builtin and then its argument prototype would still apply. */
19288 char inet_aton ();
19290 main (void)
19292 return inet_aton ();
19294 return 0;
19296 _ACEOF
19297 for ac_lib in '' resolv
19299 if test -z "$ac_lib"; then
19300 ac_res="none required"
19301 else
19302 ac_res=-l$ac_lib
19303 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19305 if ac_fn_c_try_link "$LINENO"
19306 then :
19307 ac_cv_search_inet_aton=$ac_res
19309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19310 conftest$ac_exeext
19311 if test ${ac_cv_search_inet_aton+y}
19312 then :
19313 break
19315 done
19316 if test ${ac_cv_search_inet_aton+y}
19317 then :
19319 else $as_nop
19320 ac_cv_search_inet_aton=no
19322 rm conftest.$ac_ext
19323 LIBS=$ac_func_search_save_LIBS
19325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19326 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19327 ac_res=$ac_cv_search_inet_aton
19328 if test "$ac_res" != no
19329 then :
19330 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19335 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19336 if test "x$ac_cv_func_getaddrinfo" = xyes
19337 then :
19338 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19343 case $host_os in
19344 darwin*|macosx*) ;;
19345 *) ac_save_LIBS=$LIBS
19346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19347 printf %s "checking for library containing clock_gettime... " >&6; }
19348 if test ${ac_cv_search_clock_gettime+y}
19349 then :
19350 printf %s "(cached) " >&6
19351 else $as_nop
19352 ac_func_search_save_LIBS=$LIBS
19353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19354 /* end confdefs.h. */
19356 /* Override any GCC internal prototype to avoid an error.
19357 Use char because int might match the return type of a GCC
19358 builtin and then its argument prototype would still apply. */
19359 char clock_gettime ();
19361 main (void)
19363 return clock_gettime ();
19365 return 0;
19367 _ACEOF
19368 for ac_lib in '' rt
19370 if test -z "$ac_lib"; then
19371 ac_res="none required"
19372 else
19373 ac_res=-l$ac_lib
19374 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19376 if ac_fn_c_try_link "$LINENO"
19377 then :
19378 ac_cv_search_clock_gettime=$ac_res
19380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19381 conftest$ac_exeext
19382 if test ${ac_cv_search_clock_gettime+y}
19383 then :
19384 break
19386 done
19387 if test ${ac_cv_search_clock_gettime+y}
19388 then :
19390 else $as_nop
19391 ac_cv_search_clock_gettime=no
19393 rm conftest.$ac_ext
19394 LIBS=$ac_func_search_save_LIBS
19396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19397 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19398 ac_res=$ac_cv_search_clock_gettime
19399 if test "$ac_res" != no
19400 then :
19401 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19403 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19405 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19409 LIBS=$ac_save_LIBS
19411 esac
19413 if test "x$with_ldap" != "xno"
19414 then
19415 if ${LDAP_CFLAGS:+false} :
19416 then :
19417 if test ${PKG_CONFIG+y}
19418 then :
19419 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
19423 if ${LDAP_LIBS:+false} :
19424 then :
19425 if test ${PKG_CONFIG+y}
19426 then :
19427 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
19431 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
19432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
19433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
19434 ac_save_CPPFLAGS=$CPPFLAGS
19435 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
19436 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
19437 if test "x$ac_cv_header_ldap_h" = xyes
19438 then :
19439 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
19442 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
19443 if test "x$ac_cv_header_lber_h" = xyes
19444 then :
19445 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
19449 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
19450 then
19451 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
19453 if test "x$ac_cv_type_LDAPSortKey" = xyes
19454 then :
19455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
19456 printf %s "checking for ldap_initialize in -lldap_r... " >&6; }
19457 if test ${ac_cv_lib_ldap_r_ldap_initialize+y}
19458 then :
19459 printf %s "(cached) " >&6
19460 else $as_nop
19461 ac_check_lib_save_LIBS=$LIBS
19462 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
19463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19464 /* end confdefs.h. */
19466 /* Override any GCC internal prototype to avoid an error.
19467 Use char because int might match the return type of a GCC
19468 builtin and then its argument prototype would still apply. */
19469 char ldap_initialize ();
19471 main (void)
19473 return ldap_initialize ();
19475 return 0;
19477 _ACEOF
19478 if ac_fn_c_try_link "$LINENO"
19479 then :
19480 ac_cv_lib_ldap_r_ldap_initialize=yes
19481 else $as_nop
19482 ac_cv_lib_ldap_r_ldap_initialize=no
19484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19485 conftest$ac_exeext conftest.$ac_ext
19486 LIBS=$ac_check_lib_save_LIBS
19488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
19489 printf "%s\n" "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
19490 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
19491 then :
19492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
19493 printf %s "checking for ber_init in -llber... " >&6; }
19494 if test ${ac_cv_lib_lber_ber_init+y}
19495 then :
19496 printf %s "(cached) " >&6
19497 else $as_nop
19498 ac_check_lib_save_LIBS=$LIBS
19499 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
19500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19501 /* end confdefs.h. */
19503 /* Override any GCC internal prototype to avoid an error.
19504 Use char because int might match the return type of a GCC
19505 builtin and then its argument prototype would still apply. */
19506 char ber_init ();
19508 main (void)
19510 return ber_init ();
19512 return 0;
19514 _ACEOF
19515 if ac_fn_c_try_link "$LINENO"
19516 then :
19517 ac_cv_lib_lber_ber_init=yes
19518 else $as_nop
19519 ac_cv_lib_lber_ber_init=no
19521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19522 conftest$ac_exeext conftest.$ac_ext
19523 LIBS=$ac_check_lib_save_LIBS
19525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
19526 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
19527 if test "x$ac_cv_lib_lber_ber_init" = xyes
19528 then :
19530 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
19532 else $as_nop
19533 LDAP_LIBS=""
19536 else $as_nop
19537 LDAP_LIBS=""
19540 else $as_nop
19541 LDAP_LIBS=""
19544 ac_wine_check_funcs_save_LIBS="$LIBS"
19545 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
19546 ac_fn_c_check_func "$LINENO" "ldap_count_references" "ac_cv_func_ldap_count_references"
19547 if test "x$ac_cv_func_ldap_count_references" = xyes
19548 then :
19549 printf "%s\n" "#define HAVE_LDAP_COUNT_REFERENCES 1" >>confdefs.h
19552 ac_fn_c_check_func "$LINENO" "ldap_first_reference" "ac_cv_func_ldap_first_reference"
19553 if test "x$ac_cv_func_ldap_first_reference" = xyes
19554 then :
19555 printf "%s\n" "#define HAVE_LDAP_FIRST_REFERENCE 1" >>confdefs.h
19558 ac_fn_c_check_func "$LINENO" "ldap_next_reference" "ac_cv_func_ldap_next_reference"
19559 if test "x$ac_cv_func_ldap_next_reference" = xyes
19560 then :
19561 printf "%s\n" "#define HAVE_LDAP_NEXT_REFERENCE 1" >>confdefs.h
19564 ac_fn_c_check_func "$LINENO" "ldap_parse_reference" "ac_cv_func_ldap_parse_reference"
19565 if test "x$ac_cv_func_ldap_parse_reference" = xyes
19566 then :
19567 printf "%s\n" "#define HAVE_LDAP_PARSE_REFERENCE 1" >>confdefs.h
19570 ac_fn_c_check_func "$LINENO" "ldap_parse_sort_control" "ac_cv_func_ldap_parse_sort_control"
19571 if test "x$ac_cv_func_ldap_parse_sort_control" = xyes
19572 then :
19573 printf "%s\n" "#define HAVE_LDAP_PARSE_SORT_CONTROL 1" >>confdefs.h
19576 ac_fn_c_check_func "$LINENO" "ldap_parse_sortresponse_control" "ac_cv_func_ldap_parse_sortresponse_control"
19577 if test "x$ac_cv_func_ldap_parse_sortresponse_control" = xyes
19578 then :
19579 printf "%s\n" "#define HAVE_LDAP_PARSE_SORTRESPONSE_CONTROL 1" >>confdefs.h
19582 ac_fn_c_check_func "$LINENO" "ldap_parse_vlv_control" "ac_cv_func_ldap_parse_vlv_control"
19583 if test "x$ac_cv_func_ldap_parse_vlv_control" = xyes
19584 then :
19585 printf "%s\n" "#define HAVE_LDAP_PARSE_VLV_CONTROL 1" >>confdefs.h
19588 ac_fn_c_check_func "$LINENO" "ldap_parse_vlvresponse_control" "ac_cv_func_ldap_parse_vlvresponse_control"
19589 if test "x$ac_cv_func_ldap_parse_vlvresponse_control" = xyes
19590 then :
19591 printf "%s\n" "#define HAVE_LDAP_PARSE_VLVRESPONSE_CONTROL 1" >>confdefs.h
19595 LIBS="$ac_wine_check_funcs_save_LIBS"
19596 else
19597 LDAP_LIBS=""
19599 CPPFLAGS=$ac_save_CPPFLAGS
19602 if test "x$LDAP_LIBS" = "x"
19603 then :
19604 case "x$with_ldap" in
19605 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
19606 xno) ;;
19607 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
19608 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
19609 esac
19613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
19614 printf %s "checking for sched_setaffinity... " >&6; }
19615 if test ${wine_cv_have_sched_setaffinity+y}
19616 then :
19617 printf %s "(cached) " >&6
19618 else $as_nop
19619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19620 /* end confdefs.h. */
19621 #include <sched.h>
19623 main (void)
19625 sched_setaffinity(0, 0, 0);
19627 return 0;
19629 _ACEOF
19630 if ac_fn_c_try_link "$LINENO"
19631 then :
19632 wine_cv_have_sched_setaffinity=yes
19633 else $as_nop
19634 wine_cv_have_sched_setaffinity=no
19636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19637 conftest$ac_exeext conftest.$ac_ext
19639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
19640 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
19641 if test "$wine_cv_have_sched_setaffinity" = "yes"
19642 then
19644 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
19649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
19650 printf %s "checking for inline... " >&6; }
19651 if test ${ac_cv_c_inline+y}
19652 then :
19653 printf %s "(cached) " >&6
19654 else $as_nop
19655 ac_cv_c_inline=no
19656 for ac_kw in inline __inline__ __inline; do
19657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19658 /* end confdefs.h. */
19659 #ifndef __cplusplus
19660 typedef int foo_t;
19661 static $ac_kw foo_t static_foo (void) {return 0; }
19662 $ac_kw foo_t foo (void) {return 0; }
19663 #endif
19665 _ACEOF
19666 if ac_fn_c_try_compile "$LINENO"
19667 then :
19668 ac_cv_c_inline=$ac_kw
19670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19671 test "$ac_cv_c_inline" != no && break
19672 done
19675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
19676 printf "%s\n" "$ac_cv_c_inline" >&6; }
19678 case $ac_cv_c_inline in
19679 inline | yes) ;;
19681 case $ac_cv_c_inline in
19682 no) ac_val=;;
19683 *) ac_val=$ac_cv_c_inline;;
19684 esac
19685 cat >>confdefs.h <<_ACEOF
19686 #ifndef __cplusplus
19687 #define inline $ac_val
19688 #endif
19689 _ACEOF
19691 esac
19693 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
19694 #include <signal.h>
19696 if test "x$ac_cv_type_sigset_t" = xyes
19697 then :
19699 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
19704 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
19706 if test "x$ac_cv_type_request_sense" = xyes
19707 then :
19709 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
19715 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
19716 #ifdef HAVE_SYS_SOCKET_H
19717 #include <sys/socket.h>
19718 #endif
19719 #ifdef HAVE_SYS_SOCKETVAR_H
19720 #include <sys/socketvar.h>
19721 #endif
19722 #ifdef HAVE_NET_ROUTE_H
19723 #include <net/route.h>
19724 #endif
19725 #ifdef HAVE_NETINET_IN_H
19726 #include <netinet/in.h>
19727 #endif
19728 #ifdef HAVE_NETINET_IN_SYSTM_H
19729 #include <netinet/in_systm.h>
19730 #endif
19731 #ifdef HAVE_NETINET_IP_H
19732 #include <netinet/ip.h>
19733 #endif
19734 #ifdef HAVE_NETINET_IN_PCB_H
19735 #include <netinet/in_pcb.h>
19736 #endif
19738 if test "x$ac_cv_type_struct_xinpgen" = xyes
19739 then :
19741 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
19747 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
19748 #include <linux/input.h>
19749 #endif
19751 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
19752 then :
19754 printf "%s\n" "#define HAVE_STRUCT_FF_EFFECT_DIRECTION 1" >>confdefs.h
19760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
19761 printf %s "checking for sigaddset... " >&6; }
19762 if test ${wine_cv_have_sigaddset+y}
19763 then :
19764 printf %s "(cached) " >&6
19765 else $as_nop
19766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19767 /* end confdefs.h. */
19768 #include <signal.h>
19770 main (void)
19772 sigset_t set; sigaddset(&set,SIGTERM);
19774 return 0;
19776 _ACEOF
19777 if ac_fn_c_try_link "$LINENO"
19778 then :
19779 wine_cv_have_sigaddset=yes
19780 else $as_nop
19781 wine_cv_have_sigaddset=no
19783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19784 conftest$ac_exeext conftest.$ac_ext
19786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
19787 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
19788 if test "$wine_cv_have_sigaddset" = "yes"
19789 then
19791 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
19796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
19797 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
19798 if test ${wine_cv_linux_gethostbyname_r_6+y}
19799 then :
19800 printf %s "(cached) " >&6
19801 else $as_nop
19802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19803 /* end confdefs.h. */
19804 #include <netdb.h>
19806 main (void)
19809 char *name=0;
19810 struct hostent he;
19811 struct hostent *result;
19812 char *buf=0;
19813 int bufsize=0;
19814 int errnr;
19815 char *addr=0;
19816 int addrlen=0;
19817 int addrtype=0;
19818 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
19819 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
19822 return 0;
19824 _ACEOF
19825 if ac_fn_c_try_link "$LINENO"
19826 then :
19827 wine_cv_linux_gethostbyname_r_6=yes
19828 else $as_nop
19829 wine_cv_linux_gethostbyname_r_6=no
19832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19833 conftest$ac_exeext conftest.$ac_ext
19836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
19837 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
19838 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
19839 then
19841 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
19845 if test "$ac_cv_header_linux_joystick_h" = "yes"
19846 then
19847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
19848 printf %s "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
19849 if test ${wine_cv_linux_joystick_22_api+y}
19850 then :
19851 printf %s "(cached) " >&6
19852 else $as_nop
19853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19854 /* end confdefs.h. */
19856 #include <sys/ioctl.h>
19857 #include <sys/types.h>
19858 #include <linux/joystick.h>
19860 struct js_event blub;
19861 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
19862 #error "no 2.2 header"
19863 #endif
19866 main (void)
19868 /*empty*/
19870 return 0;
19872 _ACEOF
19873 if ac_fn_c_try_compile "$LINENO"
19874 then :
19875 wine_cv_linux_joystick_22_api=yes
19876 else $as_nop
19877 wine_cv_linux_joystick_22_api=no
19879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
19883 printf "%s\n" "$wine_cv_linux_joystick_22_api" >&6; }
19884 if test "$wine_cv_linux_joystick_22_api" = "yes"
19885 then
19887 printf "%s\n" "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
19892 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19893 #ifdef HAVE_SYS_SOCKET_H
19894 # include <sys/socket.h>
19895 #endif
19896 #ifdef HAVE_SYS_UN_H
19897 # include <sys/un.h>
19898 #endif
19900 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
19901 then :
19903 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
19907 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19908 #ifdef HAVE_SYS_SOCKET_H
19909 # include <sys/socket.h>
19910 #endif
19911 #ifdef HAVE_SYS_UN_H
19912 # include <sys/un.h>
19913 #endif
19915 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
19916 then :
19918 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
19924 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19925 #ifdef HAVE_SCSI_SG_H
19926 #include <scsi/sg.h>
19927 #endif
19929 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
19930 then :
19932 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
19936 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>
19937 #ifdef HAVE_SCSI_SG_H
19938 #include <scsi/sg.h>
19939 #endif
19941 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
19942 then :
19944 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
19950 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19952 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
19953 then :
19955 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
19961 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19962 #ifdef HAVE_SYS_MTIO_H
19963 #include <sys/mtio.h>
19964 #endif
19966 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
19967 then :
19969 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
19973 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19974 #ifdef HAVE_SYS_MTIO_H
19975 #include <sys/mtio.h>
19976 #endif
19978 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
19979 then :
19981 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
19985 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19986 #ifdef HAVE_SYS_MTIO_H
19987 #include <sys/mtio.h>
19988 #endif
19990 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
19991 then :
19993 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
19999 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20000 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20001 then :
20003 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20007 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20008 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20009 then :
20011 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20015 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20016 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20017 then :
20019 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20023 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20024 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20025 then :
20027 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20031 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20032 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20033 then :
20035 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20039 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20040 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20041 then :
20043 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20047 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20048 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20049 then :
20051 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20055 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20056 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20057 then :
20059 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20063 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20064 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20065 then :
20067 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20071 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20072 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20073 then :
20075 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20079 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20080 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20081 then :
20083 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20089 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
20090 #include <sys/types.h>
20091 #endif
20092 #ifdef HAVE_NETINET_IN_H
20093 #include <netinet/in.h>
20094 #endif
20096 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20097 then :
20099 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20105 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
20106 #include <sys/types.h>
20107 #endif
20108 #ifdef HAVE_NETINET_IN_H
20109 #include <netinet/in.h>
20110 #endif
20111 #ifdef HAVE_RESOLV_H
20112 #include <resolv.h>
20113 #endif
20115 if test "x$ac_cv_type_struct___res_state" = xyes
20116 then :
20118 printf "%s\n" "#define HAVE_STRUCT___RES_STATE 1" >>confdefs.h
20124 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
20125 #include <resolv.h>
20126 #endif
20128 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20129 then :
20131 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20137 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
20138 #include <sys/types.h>
20139 #endif
20140 #ifdef HAVE_NETINET_IN_H
20141 #include <netinet/in.h>
20142 #endif
20143 #ifdef HAVE_NETINET_IP_H
20144 #include <netinet/ip.h>
20145 #endif
20146 #ifdef HAVE_NETINET_IP_ICMP_H
20147 #include <netinet/ip_icmp.h>
20148 #endif
20149 #ifdef HAVE_NETINET_ICMP_VAR_H
20150 #include <netinet/icmp_var.h>
20151 #endif
20153 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
20154 then :
20156 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1" >>confdefs.h
20162 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
20163 #include <sys/types.h>
20164 #endif
20165 #ifdef HAVE_ALIAS_H
20166 #include <alias.h>
20167 #endif
20168 #ifdef HAVE_SYS_SOCKET_H
20169 #include <sys/socket.h>
20170 #endif
20171 #ifdef HAVE_SYS_SOCKETVAR_H
20172 #include <sys/socketvar.h>
20173 #endif
20174 #ifdef HAVE_SYS_TIMEOUT_H
20175 #include <sys/timeout.h>
20176 #endif
20177 #ifdef HAVE_NETINET_IN_H
20178 #include <netinet/in.h>
20179 #endif
20180 #ifdef HAVE_NETINET_IN_SYSTM_H
20181 #include <netinet/in_systm.h>
20182 #endif
20183 #ifdef HAVE_NETINET_IP_H
20184 #include <netinet/ip.h>
20185 #endif
20186 #ifdef HAVE_NETINET_IP_VAR_H
20187 #include <netinet/ip_var.h>
20188 #endif
20189 #ifdef HAVE_NETINET_IP_ICMP_H
20190 #include <netinet/ip_icmp.h>
20191 #endif
20192 #ifdef HAVE_NETINET_ICMP_VAR_H
20193 #include <netinet/icmp_var.h>
20194 #endif
20196 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
20197 then :
20199 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1" >>confdefs.h
20205 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20206 #include <netinet/in.h>
20207 #endif
20209 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20210 then :
20212 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20218 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
20219 #include <sys/types.h>
20220 #endif
20221 #ifdef HAVE_SYS_SOCKETVAR_H
20222 #include <sys/socketvar.h>
20223 #endif
20224 #ifdef HAVE_NETINET_IN_H
20225 #include <netinet/in.h>
20226 #endif
20227 #ifdef HAVE_NETINET_IP_VAR_H
20228 #include <netinet/ip_var.h>
20229 #endif
20231 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20232 then :
20234 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20240 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
20241 #include <netinet/ip_var.h>
20242 #endif
20244 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20245 then :
20247 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20253 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
20254 #include <sys/types.h>
20255 #endif
20256 #ifdef HAVE_SYS_SOCKETVAR_H
20257 #include <sys/socketvar.h>
20258 #endif
20259 #ifdef HAVE_NETINET_IN_H
20260 #include <netinet/in.h>
20261 #endif
20262 #ifdef HAVE_NETINET_TCP_H
20263 #include <netinet/tcp.h>
20264 #endif
20265 #ifdef HAVE_NETINET_TCP_VAR_H
20266 #include <netinet/tcp_var.h>
20267 #endif
20269 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20270 then :
20272 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20278 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
20279 #include <netinet/tcp_var.h>
20280 #endif
20282 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20283 then :
20285 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20291 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
20292 #include <sys/types.h>
20293 #endif
20294 #ifdef HAVE_NETINET_IN_H
20295 #include <netinet/in.h>
20296 #endif
20297 #ifdef HAVE_NETINET_IP_VAR_H
20298 #include <netinet/ip_var.h>
20299 #endif
20300 #ifdef HAVE_NETINET_UDP_H
20301 #include <netinet/udp.h>
20302 #endif
20303 #ifdef HAVE_NETINET_UDP_VAR_H
20304 #include <netinet/udp_var.h>
20305 #endif
20307 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20308 then :
20310 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20316 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
20317 #include <sys/types.h>
20318 #endif
20319 #ifdef HAVE_NET_IF_H
20320 # include <net/if.h>
20321 #endif
20323 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20324 then :
20326 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20332 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20333 # include <sys/sysinfo.h>
20334 #endif
20336 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20337 then :
20339 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20343 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20344 # include <sys/sysinfo.h>
20345 #endif
20347 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20348 then :
20350 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20356 ac_save_LIBS="$LIBS"
20357 LIBS="$LIBS -lm"
20358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
20359 printf %s "checking for isfinite... " >&6; }
20360 if test ${ac_cv_have_isfinite+y}
20361 then :
20362 printf %s "(cached) " >&6
20363 else $as_nop
20364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20365 /* end confdefs.h. */
20366 #include <math.h>
20368 main (void)
20370 float f = 0.0; return isfinite(f)
20372 return 0;
20374 _ACEOF
20375 if ac_fn_c_try_link "$LINENO"
20376 then :
20377 ac_cv_have_isfinite="yes"
20378 else $as_nop
20379 ac_cv_have_isfinite="no"
20381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20382 conftest$ac_exeext conftest.$ac_ext
20384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
20385 printf "%s\n" "$ac_cv_have_isfinite" >&6; }
20386 if test "$ac_cv_have_isfinite" = "yes"
20387 then
20389 printf "%s\n" "#define HAVE_ISFINITE 1" >>confdefs.h
20393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
20394 printf %s "checking for isinf... " >&6; }
20395 if test ${ac_cv_have_isinf+y}
20396 then :
20397 printf %s "(cached) " >&6
20398 else $as_nop
20399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20400 /* end confdefs.h. */
20401 #include <math.h>
20403 main (void)
20405 float f = 0.0; return isinf(f)
20407 return 0;
20409 _ACEOF
20410 if ac_fn_c_try_link "$LINENO"
20411 then :
20412 ac_cv_have_isinf="yes"
20413 else $as_nop
20414 ac_cv_have_isinf="no"
20416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20417 conftest$ac_exeext conftest.$ac_ext
20419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
20420 printf "%s\n" "$ac_cv_have_isinf" >&6; }
20421 if test "$ac_cv_have_isinf" = "yes"
20422 then
20424 printf "%s\n" "#define HAVE_ISINF 1" >>confdefs.h
20428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
20429 printf %s "checking for isnan... " >&6; }
20430 if test ${ac_cv_have_isnan+y}
20431 then :
20432 printf %s "(cached) " >&6
20433 else $as_nop
20434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20435 /* end confdefs.h. */
20436 #include <math.h>
20438 main (void)
20440 float f = 0.0; return isnan(f)
20442 return 0;
20444 _ACEOF
20445 if ac_fn_c_try_link "$LINENO"
20446 then :
20447 ac_cv_have_isnan="yes"
20448 else $as_nop
20449 ac_cv_have_isnan="no"
20451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20452 conftest$ac_exeext conftest.$ac_ext
20454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
20455 printf "%s\n" "$ac_cv_have_isnan" >&6; }
20456 if test "$ac_cv_have_isnan" = "yes"
20457 then
20459 printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h
20463 LIBS="$ac_save_LIBS"
20465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20466 printf %s "checking for __builtin_popcount... " >&6; }
20467 if test ${ac_cv_have___builtin_popcount+y}
20468 then :
20469 printf %s "(cached) " >&6
20470 else $as_nop
20471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20472 /* end confdefs.h. */
20475 main (void)
20477 return __builtin_popcount(1)
20479 return 0;
20481 _ACEOF
20482 if ac_fn_c_try_link "$LINENO"
20483 then :
20484 ac_cv_have___builtin_popcount="yes"
20485 else $as_nop
20486 ac_cv_have___builtin_popcount="no"
20488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20489 conftest$ac_exeext conftest.$ac_ext
20491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20492 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20493 if test "$ac_cv_have___builtin_popcount" = "yes"
20494 then
20496 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20501 printf %s "checking for __clear_cache... " >&6; }
20502 if test ${ac_cv_have___clear_cache+y}
20503 then :
20504 printf %s "(cached) " >&6
20505 else $as_nop
20506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20507 /* end confdefs.h. */
20510 main (void)
20512 __clear_cache((void*)0, (void*)0); return 0;
20514 return 0;
20516 _ACEOF
20517 if ac_fn_c_try_link "$LINENO"
20518 then :
20519 ac_cv_have___clear_cache="yes"
20520 else $as_nop
20521 ac_cv_have___clear_cache="no"
20523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20524 conftest$ac_exeext conftest.$ac_ext
20526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20527 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20528 if test "$ac_cv_have___clear_cache" = "yes"
20529 then
20531 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20536 case $host_cpu in
20537 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20538 printf %s "checking whether we need to define __i386__... " >&6; }
20539 if test ${ac_cv_cpp_def___i386__+y}
20540 then :
20541 printf %s "(cached) " >&6
20542 else $as_nop
20543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20544 /* end confdefs.h. */
20545 #ifndef __i386__
20547 #endif
20548 _ACEOF
20549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20550 $EGREP "yes" >/dev/null 2>&1
20551 then :
20552 ac_cv_cpp_def___i386__=yes
20553 else $as_nop
20554 ac_cv_cpp_def___i386__=no
20556 rm -rf conftest*
20559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20560 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20561 if test "x$ac_cv_cpp_def___i386__" = xyes
20562 then :
20563 CFLAGS="$CFLAGS -D__i386__"
20564 LINTFLAGS="$LINTFLAGS -D__i386__"
20565 fi ;;
20566 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20567 printf %s "checking whether we need to define __x86_64__... " >&6; }
20568 if test ${ac_cv_cpp_def___x86_64__+y}
20569 then :
20570 printf %s "(cached) " >&6
20571 else $as_nop
20572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20573 /* end confdefs.h. */
20574 #ifndef __x86_64__
20576 #endif
20577 _ACEOF
20578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20579 $EGREP "yes" >/dev/null 2>&1
20580 then :
20581 ac_cv_cpp_def___x86_64__=yes
20582 else $as_nop
20583 ac_cv_cpp_def___x86_64__=no
20585 rm -rf conftest*
20588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20589 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20590 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20591 then :
20592 CFLAGS="$CFLAGS -D__x86_64__"
20593 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20594 fi ;;
20595 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20596 printf %s "checking whether we need to define __sparc64__... " >&6; }
20597 if test ${ac_cv_cpp_def___sparc64__+y}
20598 then :
20599 printf %s "(cached) " >&6
20600 else $as_nop
20601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20602 /* end confdefs.h. */
20603 #ifndef __sparc64__
20605 #endif
20606 _ACEOF
20607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20608 $EGREP "yes" >/dev/null 2>&1
20609 then :
20610 ac_cv_cpp_def___sparc64__=yes
20611 else $as_nop
20612 ac_cv_cpp_def___sparc64__=no
20614 rm -rf conftest*
20617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20618 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20619 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20620 then :
20621 CFLAGS="$CFLAGS -D__sparc64__"
20622 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20623 fi ;;
20624 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20625 printf %s "checking whether we need to define __sparc__... " >&6; }
20626 if test ${ac_cv_cpp_def___sparc__+y}
20627 then :
20628 printf %s "(cached) " >&6
20629 else $as_nop
20630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20631 /* end confdefs.h. */
20632 #ifndef __sparc__
20634 #endif
20635 _ACEOF
20636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20637 $EGREP "yes" >/dev/null 2>&1
20638 then :
20639 ac_cv_cpp_def___sparc__=yes
20640 else $as_nop
20641 ac_cv_cpp_def___sparc__=no
20643 rm -rf conftest*
20646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20647 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20648 if test "x$ac_cv_cpp_def___sparc__" = xyes
20649 then :
20650 CFLAGS="$CFLAGS -D__sparc__"
20651 LINTFLAGS="$LINTFLAGS -D__sparc__"
20652 fi ;;
20653 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20654 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20655 if test ${ac_cv_cpp_def___powerpc64__+y}
20656 then :
20657 printf %s "(cached) " >&6
20658 else $as_nop
20659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20660 /* end confdefs.h. */
20661 #ifndef __powerpc64__
20663 #endif
20664 _ACEOF
20665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20666 $EGREP "yes" >/dev/null 2>&1
20667 then :
20668 ac_cv_cpp_def___powerpc64__=yes
20669 else $as_nop
20670 ac_cv_cpp_def___powerpc64__=no
20672 rm -rf conftest*
20675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20676 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20677 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20678 then :
20679 CFLAGS="$CFLAGS -D__powerpc64__"
20680 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20681 fi ;;
20682 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20683 printf %s "checking whether we need to define __powerpc__... " >&6; }
20684 if test ${ac_cv_cpp_def___powerpc__+y}
20685 then :
20686 printf %s "(cached) " >&6
20687 else $as_nop
20688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20689 /* end confdefs.h. */
20690 #ifndef __powerpc__
20692 #endif
20693 _ACEOF
20694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20695 $EGREP "yes" >/dev/null 2>&1
20696 then :
20697 ac_cv_cpp_def___powerpc__=yes
20698 else $as_nop
20699 ac_cv_cpp_def___powerpc__=no
20701 rm -rf conftest*
20704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20705 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20706 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20707 then :
20708 CFLAGS="$CFLAGS -D__powerpc__"
20709 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20710 fi ;;
20711 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20712 printf %s "checking whether we need to define __aarch64__... " >&6; }
20713 if test ${ac_cv_cpp_def___aarch64__+y}
20714 then :
20715 printf %s "(cached) " >&6
20716 else $as_nop
20717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20718 /* end confdefs.h. */
20719 #ifndef __aarch64__
20721 #endif
20722 _ACEOF
20723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20724 $EGREP "yes" >/dev/null 2>&1
20725 then :
20726 ac_cv_cpp_def___aarch64__=yes
20727 else $as_nop
20728 ac_cv_cpp_def___aarch64__=no
20730 rm -rf conftest*
20733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20734 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20735 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20736 then :
20737 CFLAGS="$CFLAGS -D__aarch64__"
20738 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20739 fi ;;
20740 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20741 printf %s "checking whether we need to define __arm__... " >&6; }
20742 if test ${ac_cv_cpp_def___arm__+y}
20743 then :
20744 printf %s "(cached) " >&6
20745 else $as_nop
20746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20747 /* end confdefs.h. */
20748 #ifndef __arm__
20750 #endif
20751 _ACEOF
20752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20753 $EGREP "yes" >/dev/null 2>&1
20754 then :
20755 ac_cv_cpp_def___arm__=yes
20756 else $as_nop
20757 ac_cv_cpp_def___arm__=no
20759 rm -rf conftest*
20762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20763 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20764 if test "x$ac_cv_cpp_def___arm__" = xyes
20765 then :
20766 CFLAGS="$CFLAGS -D__arm__"
20767 LINTFLAGS="$LINTFLAGS -D__arm__"
20768 fi ;;
20769 esac
20771 case $host_vendor in
20772 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20773 printf %s "checking whether we need to define __sun__... " >&6; }
20774 if test ${ac_cv_cpp_def___sun__+y}
20775 then :
20776 printf %s "(cached) " >&6
20777 else $as_nop
20778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20779 /* end confdefs.h. */
20780 #ifndef __sun__
20782 #endif
20783 _ACEOF
20784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20785 $EGREP "yes" >/dev/null 2>&1
20786 then :
20787 ac_cv_cpp_def___sun__=yes
20788 else $as_nop
20789 ac_cv_cpp_def___sun__=no
20791 rm -rf conftest*
20794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20795 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20796 if test "x$ac_cv_cpp_def___sun__" = xyes
20797 then :
20798 CFLAGS="$CFLAGS -D__sun__"
20799 LINTFLAGS="$LINTFLAGS -D__sun__"
20800 fi ;;
20801 esac
20807 ac_config_commands="$ac_config_commands include/stamp-h"
20809 printf %s "creating Makefile rules..." >&6
20811 makedep_flags=""
20812 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20814 wine_srcdir=
20815 test "$srcdir" = . || wine_srcdir="$srcdir/"
20817 ac_config_links="$ac_config_links wine:tools/winewrapper"
20818 wine_fn_config_symlink wine
20819 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20820 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20821 wine_fn_config_symlink wine64
20824 wine_fn_config_makefile dlls/acledit enable_acledit
20825 wine_fn_config_makefile dlls/aclui enable_aclui
20826 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20827 wine_fn_config_makefile dlls/activeds enable_activeds
20828 wine_fn_config_makefile dlls/activeds/tests enable_tests
20829 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20830 wine_fn_config_makefile dlls/adsldp enable_adsldp
20831 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20832 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20833 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20834 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20835 wine_fn_config_makefile dlls/advpack enable_advpack
20836 wine_fn_config_makefile dlls/advpack/tests enable_tests
20837 wine_fn_config_makefile dlls/amsi enable_amsi
20838 wine_fn_config_makefile dlls/amstream enable_amstream
20839 wine_fn_config_makefile dlls/amstream/tests enable_tests
20840 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20841 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20842 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20843 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20844 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20845 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20846 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20847 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20848 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20849 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20850 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20851 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20852 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20853 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20854 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20855 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
20856 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20857 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20858 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20859 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20860 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20861 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20862 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20863 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20864 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20865 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20866 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20867 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20868 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
20869 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20870 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20871 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20872 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20873 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20874 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20875 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20876 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20877 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20878 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20879 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20880 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20881 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20882 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20883 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20884 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20885 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20886 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20887 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20888 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20889 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20890 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20891 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20892 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20893 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20894 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
20895 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20896 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20897 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20898 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20899 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20900 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20901 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20902 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20903 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20904 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20905 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20906 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20907 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20908 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20909 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20910 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20911 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20912 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20913 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20914 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20915 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20916 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20917 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20918 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20919 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20920 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20921 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20922 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20923 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20924 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20925 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20926 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20927 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20928 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20929 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20930 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20931 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20932 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
20933 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20934 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20935 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20936 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20937 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20938 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
20939 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20940 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20941 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
20942 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20943 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20944 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20945 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20946 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20947 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20948 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20949 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20950 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20951 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20952 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20953 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20954 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20955 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20956 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20957 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20958 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20959 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20960 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20961 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20962 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20963 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20964 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20965 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20966 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20967 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20968 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20969 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20970 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20971 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20972 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20973 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20974 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20975 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20976 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20977 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20978 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20979 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20980 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20981 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20982 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20983 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20984 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20985 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20986 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20987 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20988 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20989 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20990 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20991 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20992 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20993 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20994 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20995 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20996 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20997 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20998 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20999 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
21000 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
21001 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
21002 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
21003 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
21004 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
21005 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
21006 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
21007 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
21008 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
21009 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
21010 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
21011 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
21012 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
21013 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
21014 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
21015 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
21016 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
21017 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
21018 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
21019 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
21020 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
21021 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
21022 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
21023 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
21024 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
21025 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
21026 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
21027 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
21028 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
21029 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
21030 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
21031 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
21032 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
21033 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
21034 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
21035 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
21036 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
21037 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
21038 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
21039 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
21040 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
21041 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
21042 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
21043 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
21044 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
21045 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
21046 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
21047 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
21048 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
21049 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
21050 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
21051 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
21052 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
21053 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
21054 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
21055 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
21056 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
21057 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
21058 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
21059 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
21060 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
21061 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
21062 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
21063 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
21064 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
21065 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
21066 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
21067 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
21068 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
21069 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
21070 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
21071 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
21072 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
21073 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
21074 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
21075 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
21076 wine_fn_config_makefile dlls/apphelp enable_apphelp
21077 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21078 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21079 wine_fn_config_makefile dlls/atl enable_atl
21080 wine_fn_config_makefile dlls/atl/tests enable_tests
21081 wine_fn_config_makefile dlls/atl100 enable_atl100
21082 wine_fn_config_makefile dlls/atl100/tests enable_tests
21083 wine_fn_config_makefile dlls/atl110 enable_atl110
21084 wine_fn_config_makefile dlls/atl80 enable_atl80
21085 wine_fn_config_makefile dlls/atl80/tests enable_tests
21086 wine_fn_config_makefile dlls/atl90 enable_atl90
21087 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21088 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21089 wine_fn_config_makefile dlls/atmlib enable_atmlib
21090 wine_fn_config_makefile dlls/authz enable_authz
21091 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21092 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21093 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21094 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21095 wine_fn_config_makefile dlls/avrt enable_avrt
21096 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21097 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21098 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21099 wine_fn_config_makefile dlls/browseui enable_browseui
21100 wine_fn_config_makefile dlls/browseui/tests enable_tests
21101 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21102 wine_fn_config_makefile dlls/cabinet enable_cabinet
21103 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21104 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21105 wine_fn_config_makefile dlls/cards enable_cards
21106 wine_fn_config_makefile dlls/cdosys enable_cdosys
21107 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21108 wine_fn_config_makefile dlls/clusapi enable_clusapi
21109 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21110 wine_fn_config_makefile dlls/combase enable_combase
21111 wine_fn_config_makefile dlls/combase/tests enable_tests
21112 wine_fn_config_makefile dlls/comcat enable_comcat
21113 wine_fn_config_makefile dlls/comcat/tests enable_tests
21114 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21115 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21116 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21117 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21118 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21119 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21120 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21121 wine_fn_config_makefile dlls/compstui enable_compstui
21122 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21123 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21124 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21125 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21126 wine_fn_config_makefile dlls/connect enable_connect
21127 wine_fn_config_makefile dlls/credui enable_credui
21128 wine_fn_config_makefile dlls/credui/tests enable_tests
21129 wine_fn_config_makefile dlls/crtdll enable_crtdll
21130 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21131 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21132 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21133 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21134 wine_fn_config_makefile dlls/cryptext enable_cryptext
21135 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21136 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21137 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21138 wine_fn_config_makefile dlls/cryptui enable_cryptui
21139 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21140 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21141 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21142 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21143 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21144 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21145 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21146 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21147 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21148 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21149 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21150 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21151 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21152 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21153 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21154 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21155 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21156 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21157 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21158 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21159 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21160 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21161 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21162 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21163 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21164 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21165 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21166 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21167 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21168 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21169 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21170 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21171 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21172 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21173 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21174 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21175 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21176 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21177 wine_fn_config_makefile dlls/d3dim enable_d3dim
21178 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21179 wine_fn_config_makefile dlls/d3drm enable_d3drm
21180 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21181 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21182 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21183 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21184 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21185 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21186 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21187 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21188 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21189 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21190 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21191 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21192 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21193 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21194 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21195 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21196 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21197 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21198 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21199 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21200 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21201 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21202 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21203 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21204 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21205 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21206 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21207 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21208 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21209 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21210 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21211 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21212 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21213 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21214 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21215 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21216 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21217 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21218 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21219 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21220 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21221 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21222 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21223 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21224 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21225 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21226 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21227 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21228 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21229 wine_fn_config_makefile dlls/davclnt enable_davclnt
21230 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21231 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21232 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21233 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21234 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21235 wine_fn_config_makefile dlls/dcomp enable_dcomp
21236 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21237 wine_fn_config_makefile dlls/ddraw enable_ddraw
21238 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21239 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21240 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21241 wine_fn_config_makefile dlls/devenum enable_devenum
21242 wine_fn_config_makefile dlls/devenum/tests enable_tests
21243 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21244 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21245 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21246 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21247 wine_fn_config_makefile dlls/difxapi enable_difxapi
21248 wine_fn_config_makefile dlls/dinput enable_dinput
21249 wine_fn_config_makefile dlls/dinput/tests enable_tests
21250 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21251 wine_fn_config_makefile dlls/dinput8/tests enable_tests
21252 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21253 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21254 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21255 wine_fn_config_makefile dlls/dispex enable_dispex
21256 wine_fn_config_makefile dlls/dispex/tests enable_tests
21257 wine_fn_config_makefile dlls/display.drv16 enable_win16
21258 wine_fn_config_makefile dlls/dmband enable_dmband
21259 wine_fn_config_makefile dlls/dmband/tests enable_tests
21260 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21261 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21262 wine_fn_config_makefile dlls/dmime enable_dmime
21263 wine_fn_config_makefile dlls/dmime/tests enable_tests
21264 wine_fn_config_makefile dlls/dmloader enable_dmloader
21265 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21266 wine_fn_config_makefile dlls/dmscript enable_dmscript
21267 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21268 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21269 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21270 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21271 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21272 wine_fn_config_makefile dlls/dmusic enable_dmusic
21273 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21274 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21275 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21276 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21277 wine_fn_config_makefile dlls/dplay enable_dplay
21278 wine_fn_config_makefile dlls/dplayx enable_dplayx
21279 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21280 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21281 wine_fn_config_makefile dlls/dpnet enable_dpnet
21282 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21283 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21284 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21285 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21286 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21287 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21288 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21289 wine_fn_config_makefile dlls/drmclien enable_drmclien
21290 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21291 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21292 wine_fn_config_makefile dlls/dsound enable_dsound
21293 wine_fn_config_makefile dlls/dsound/tests enable_tests
21294 wine_fn_config_makefile dlls/dsquery enable_dsquery
21295 wine_fn_config_makefile dlls/dssenh enable_dssenh
21296 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21297 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21298 wine_fn_config_makefile dlls/dswave enable_dswave
21299 wine_fn_config_makefile dlls/dswave/tests enable_tests
21300 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21301 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21302 wine_fn_config_makefile dlls/dwrite enable_dwrite
21303 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21304 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21305 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21306 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21307 wine_fn_config_makefile dlls/dxgi enable_dxgi
21308 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21309 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21310 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21311 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21312 wine_fn_config_makefile dlls/esent enable_esent
21313 wine_fn_config_makefile dlls/evr enable_evr
21314 wine_fn_config_makefile dlls/evr/tests enable_tests
21315 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21316 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21317 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
21318 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
21319 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
21320 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
21321 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
21322 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
21323 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
21324 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
21325 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
21326 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
21327 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
21328 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
21329 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
21330 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
21331 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
21332 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
21333 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
21334 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
21335 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
21336 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
21337 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
21338 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
21339 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
21340 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
21341 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
21342 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
21343 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
21344 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
21345 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
21346 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
21347 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
21348 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
21349 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
21350 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
21351 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
21352 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
21353 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
21354 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
21355 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
21356 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
21357 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
21358 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
21359 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
21360 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
21361 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
21362 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
21363 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
21364 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
21365 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
21366 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
21367 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
21368 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
21369 wine_fn_config_makefile dlls/faultrep enable_faultrep
21370 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21371 wine_fn_config_makefile dlls/feclient enable_feclient
21372 wine_fn_config_makefile dlls/fltlib enable_fltlib
21373 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21374 wine_fn_config_makefile dlls/fntcache enable_fntcache
21375 wine_fn_config_makefile dlls/fontsub enable_fontsub
21376 wine_fn_config_makefile dlls/fusion enable_fusion
21377 wine_fn_config_makefile dlls/fusion/tests enable_tests
21378 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21379 wine_fn_config_makefile dlls/gameux enable_gameux
21380 wine_fn_config_makefile dlls/gameux/tests enable_tests
21381 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21382 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21383 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21384 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21385 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21386 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21387 wine_fn_config_makefile dlls/glu32 enable_glu32
21388 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21389 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21390 wine_fn_config_makefile dlls/hal enable_hal
21391 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21392 wine_fn_config_makefile dlls/hid enable_hid
21393 wine_fn_config_makefile dlls/hid/tests enable_tests
21394 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21395 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21396 wine_fn_config_makefile dlls/hlink enable_hlink
21397 wine_fn_config_makefile dlls/hlink/tests enable_tests
21398 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21399 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21400 wine_fn_config_makefile dlls/http.sys enable_http_sys
21401 wine_fn_config_makefile dlls/httpapi enable_httpapi
21402 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21403 wine_fn_config_makefile dlls/iccvid enable_iccvid
21404 wine_fn_config_makefile dlls/icmp enable_icmp
21405 wine_fn_config_makefile dlls/ieframe enable_ieframe
21406 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21407 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21408 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21409 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21410 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21411 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21412 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21413 wine_fn_config_makefile dlls/imm32 enable_imm32
21414 wine_fn_config_makefile dlls/imm32/tests enable_tests
21415 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21416 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21417 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21418 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21419 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21420 wine_fn_config_makefile dlls/infosoft enable_infosoft
21421 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21422 wine_fn_config_makefile dlls/initpki enable_initpki
21423 wine_fn_config_makefile dlls/inkobj enable_inkobj
21424 wine_fn_config_makefile dlls/inseng enable_inseng
21425 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21426 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21427 wine_fn_config_makefile dlls/iprop enable_iprop
21428 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21429 wine_fn_config_makefile dlls/itircl enable_itircl
21430 wine_fn_config_makefile dlls/itss enable_itss
21431 wine_fn_config_makefile dlls/itss/tests enable_tests
21432 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21433 wine_fn_config_makefile dlls/jscript enable_jscript
21434 wine_fn_config_makefile dlls/jscript/tests enable_tests
21435 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21436 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21437 wine_fn_config_makefile dlls/kerberos enable_kerberos
21438 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21439 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21440 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21441 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21442 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21443 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21444 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21445 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21446 wine_fn_config_makefile dlls/ksuser enable_ksuser
21447 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21448 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21449 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21450 wine_fn_config_makefile dlls/loadperf enable_loadperf
21451 wine_fn_config_makefile dlls/localspl enable_localspl
21452 wine_fn_config_makefile dlls/localspl/tests enable_tests
21453 wine_fn_config_makefile dlls/localui enable_localui
21454 wine_fn_config_makefile dlls/localui/tests enable_tests
21455 wine_fn_config_makefile dlls/lz32 enable_lz32
21456 wine_fn_config_makefile dlls/lz32/tests enable_tests
21457 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21458 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21459 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21460 wine_fn_config_makefile dlls/mapistub enable_mapistub
21461 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21462 wine_fn_config_makefile dlls/mcicda enable_mcicda
21463 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21464 wine_fn_config_makefile dlls/mciseq enable_mciseq
21465 wine_fn_config_makefile dlls/mciwave enable_mciwave
21466 wine_fn_config_makefile dlls/mf enable_mf
21467 wine_fn_config_makefile dlls/mf/tests enable_tests
21468 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21469 wine_fn_config_makefile dlls/mferror enable_mferror
21470 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21471 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21472 wine_fn_config_makefile dlls/mfplat enable_mfplat
21473 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21474 wine_fn_config_makefile dlls/mfplay enable_mfplay
21475 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21476 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21477 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21478 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21479 wine_fn_config_makefile dlls/midimap enable_midimap
21480 wine_fn_config_makefile dlls/mlang enable_mlang
21481 wine_fn_config_makefile dlls/mlang/tests enable_tests
21482 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21483 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21484 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21485 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21486 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21487 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21488 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21489 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21490 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21491 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21492 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21493 wine_fn_config_makefile dlls/mpr enable_mpr
21494 wine_fn_config_makefile dlls/mpr/tests enable_tests
21495 wine_fn_config_makefile dlls/mprapi enable_mprapi
21496 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21497 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21498 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21499 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21500 wine_fn_config_makefile dlls/msado15 enable_msado15
21501 wine_fn_config_makefile dlls/msado15/tests enable_tests
21502 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21503 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21504 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21505 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21506 wine_fn_config_makefile dlls/mscms enable_mscms
21507 wine_fn_config_makefile dlls/mscms/tests enable_tests
21508 wine_fn_config_makefile dlls/mscoree enable_mscoree
21509 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21510 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21511 wine_fn_config_makefile dlls/msctf enable_msctf
21512 wine_fn_config_makefile dlls/msctf/tests enable_tests
21513 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21514 wine_fn_config_makefile dlls/msctfp enable_msctfp
21515 wine_fn_config_makefile dlls/msdaps enable_msdaps
21516 wine_fn_config_makefile dlls/msdasql enable_msdasql
21517 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21518 wine_fn_config_makefile dlls/msdelta enable_msdelta
21519 wine_fn_config_makefile dlls/msdmo enable_msdmo
21520 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21521 wine_fn_config_makefile dlls/msdrm enable_msdrm
21522 wine_fn_config_makefile dlls/msftedit enable_msftedit
21523 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21524 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21525 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21526 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21527 wine_fn_config_makefile dlls/mshtml enable_mshtml
21528 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21529 wine_fn_config_makefile dlls/msi enable_msi
21530 wine_fn_config_makefile dlls/msi/tests enable_tests
21531 wine_fn_config_makefile dlls/msident enable_msident
21532 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21533 wine_fn_config_makefile dlls/msimsg enable_msimsg
21534 wine_fn_config_makefile dlls/msimtf enable_msimtf
21535 wine_fn_config_makefile dlls/msisip enable_msisip
21536 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21537 wine_fn_config_makefile dlls/msls31 enable_msls31
21538 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21539 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21540 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21541 wine_fn_config_makefile dlls/msports enable_msports
21542 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21543 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21544 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21545 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21546 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21547 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21548 wine_fn_config_makefile dlls/mstask enable_mstask
21549 wine_fn_config_makefile dlls/mstask/tests enable_tests
21550 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21551 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21552 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21553 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21554 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21555 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21556 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21557 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21558 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21559 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21560 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21561 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21562 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21563 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21564 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21565 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21566 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21567 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21568 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21569 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21570 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21571 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21572 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21573 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21574 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21575 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21576 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21577 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21578 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21579 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21580 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21581 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21582 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21583 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21584 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21585 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21586 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21587 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21588 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21589 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21590 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21591 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21592 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21593 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21594 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21595 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21596 wine_fn_config_makefile dlls/mswsock enable_mswsock
21597 wine_fn_config_makefile dlls/msxml enable_msxml
21598 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21599 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21600 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21601 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21602 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21603 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21604 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21605 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21606 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21607 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21608 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21609 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21610 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21611 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21612 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21613 wine_fn_config_makefile dlls/netprofm enable_netprofm
21614 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21615 wine_fn_config_makefile dlls/netutils enable_netutils
21616 wine_fn_config_makefile dlls/newdev enable_newdev
21617 wine_fn_config_makefile dlls/ninput enable_ninput
21618 wine_fn_config_makefile dlls/ninput/tests enable_tests
21619 wine_fn_config_makefile dlls/normaliz enable_normaliz
21620 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21621 wine_fn_config_makefile dlls/npptools enable_npptools
21622 wine_fn_config_makefile dlls/nsi enable_nsi
21623 wine_fn_config_makefile dlls/nsi/tests enable_tests
21624 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21625 wine_fn_config_makefile dlls/ntdll enable_ntdll
21626 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21627 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21628 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21629 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21630 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21631 wine_fn_config_makefile dlls/ntprint enable_ntprint
21632 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21633 wine_fn_config_makefile dlls/objsel enable_objsel
21634 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21635 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21636 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21637 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21638 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21639 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21640 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21641 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21642 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21643 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21644 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21645 wine_fn_config_makefile dlls/ole32 enable_ole32
21646 wine_fn_config_makefile dlls/ole32/tests enable_tests
21647 wine_fn_config_makefile dlls/oleacc enable_oleacc
21648 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21649 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21650 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21651 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21652 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21653 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21654 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21655 wine_fn_config_makefile dlls/oledlg enable_oledlg
21656 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21657 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21658 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21659 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21660 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21661 wine_fn_config_makefile dlls/opcservices enable_opcservices
21662 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21663 wine_fn_config_makefile dlls/openal32 enable_openal32
21664 wine_fn_config_makefile dlls/opencl enable_opencl
21665 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21666 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21667 wine_fn_config_makefile dlls/packager enable_packager
21668 wine_fn_config_makefile dlls/packager/tests enable_tests
21669 wine_fn_config_makefile dlls/pdh enable_pdh
21670 wine_fn_config_makefile dlls/pdh/tests enable_tests
21671 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21672 wine_fn_config_makefile dlls/pidgen enable_pidgen
21673 wine_fn_config_makefile dlls/powrprof enable_powrprof
21674 wine_fn_config_makefile dlls/printui enable_printui
21675 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21676 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21677 wine_fn_config_makefile dlls/propsys enable_propsys
21678 wine_fn_config_makefile dlls/propsys/tests enable_tests
21679 wine_fn_config_makefile dlls/psapi enable_psapi
21680 wine_fn_config_makefile dlls/psapi/tests enable_tests
21681 wine_fn_config_makefile dlls/pstorec enable_pstorec
21682 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21683 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21684 wine_fn_config_makefile dlls/qasf enable_qasf
21685 wine_fn_config_makefile dlls/qasf/tests enable_tests
21686 wine_fn_config_makefile dlls/qcap enable_qcap
21687 wine_fn_config_makefile dlls/qcap/tests enable_tests
21688 wine_fn_config_makefile dlls/qdvd enable_qdvd
21689 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21690 wine_fn_config_makefile dlls/qedit enable_qedit
21691 wine_fn_config_makefile dlls/qedit/tests enable_tests
21692 wine_fn_config_makefile dlls/qmgr enable_qmgr
21693 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21694 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21695 wine_fn_config_makefile dlls/quartz enable_quartz
21696 wine_fn_config_makefile dlls/quartz/tests enable_tests
21697 wine_fn_config_makefile dlls/query enable_query
21698 wine_fn_config_makefile dlls/qwave enable_qwave
21699 wine_fn_config_makefile dlls/qwave/tests enable_tests
21700 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21701 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21702 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21703 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21704 wine_fn_config_makefile dlls/regapi enable_regapi
21705 wine_fn_config_makefile dlls/resutils enable_resutils
21706 wine_fn_config_makefile dlls/riched20 enable_riched20
21707 wine_fn_config_makefile dlls/riched20/tests enable_tests
21708 wine_fn_config_makefile dlls/riched32 enable_riched32
21709 wine_fn_config_makefile dlls/riched32/tests enable_tests
21710 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21711 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21712 wine_fn_config_makefile dlls/rsabase enable_rsabase
21713 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21714 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21715 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21716 wine_fn_config_makefile dlls/rtutils enable_rtutils
21717 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21718 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21719 wine_fn_config_makefile dlls/samlib enable_samlib
21720 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21721 wine_fn_config_makefile dlls/sapi enable_sapi
21722 wine_fn_config_makefile dlls/sapi/tests enable_tests
21723 wine_fn_config_makefile dlls/sas enable_sas
21724 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21725 wine_fn_config_makefile dlls/sccbase enable_sccbase
21726 wine_fn_config_makefile dlls/schannel enable_schannel
21727 wine_fn_config_makefile dlls/schannel/tests enable_tests
21728 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21729 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21730 wine_fn_config_makefile dlls/scrobj enable_scrobj
21731 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21732 wine_fn_config_makefile dlls/scrrun enable_scrrun
21733 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21734 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21735 wine_fn_config_makefile dlls/sechost enable_sechost
21736 wine_fn_config_makefile dlls/secur32 enable_secur32
21737 wine_fn_config_makefile dlls/secur32/tests enable_tests
21738 wine_fn_config_makefile dlls/security enable_security
21739 wine_fn_config_makefile dlls/sensapi enable_sensapi
21740 wine_fn_config_makefile dlls/serialui enable_serialui
21741 wine_fn_config_makefile dlls/serialui/tests enable_tests
21742 wine_fn_config_makefile dlls/setupapi enable_setupapi
21743 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21744 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21745 wine_fn_config_makefile dlls/sfc enable_sfc
21746 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21747 wine_fn_config_makefile dlls/shcore enable_shcore
21748 wine_fn_config_makefile dlls/shcore/tests enable_tests
21749 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21750 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21751 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21752 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21753 wine_fn_config_makefile dlls/shell32 enable_shell32
21754 wine_fn_config_makefile dlls/shell32/tests enable_tests
21755 wine_fn_config_makefile dlls/shfolder enable_shfolder
21756 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21757 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21758 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21759 wine_fn_config_makefile dlls/slc enable_slc
21760 wine_fn_config_makefile dlls/slc/tests enable_tests
21761 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21762 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21763 wine_fn_config_makefile dlls/softpub enable_softpub
21764 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21765 wine_fn_config_makefile dlls/spoolss enable_spoolss
21766 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21767 wine_fn_config_makefile dlls/sppc enable_sppc
21768 wine_fn_config_makefile dlls/srclient enable_srclient
21769 wine_fn_config_makefile dlls/srvcli enable_srvcli
21770 wine_fn_config_makefile dlls/sspicli enable_sspicli
21771 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21772 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21773 wine_fn_config_makefile dlls/sti enable_sti
21774 wine_fn_config_makefile dlls/sti/tests enable_tests
21775 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21776 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21777 wine_fn_config_makefile dlls/strmbase enable_strmbase
21778 wine_fn_config_makefile dlls/strmdll enable_strmdll
21779 wine_fn_config_makefile dlls/svrapi enable_svrapi
21780 wine_fn_config_makefile dlls/sxs enable_sxs
21781 wine_fn_config_makefile dlls/sxs/tests enable_tests
21782 wine_fn_config_makefile dlls/system.drv16 enable_win16
21783 wine_fn_config_makefile dlls/t2embed enable_t2embed
21784 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21785 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21786 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21787 wine_fn_config_makefile dlls/taskschd enable_taskschd
21788 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21789 wine_fn_config_makefile dlls/tbs enable_tbs
21790 wine_fn_config_makefile dlls/tdh enable_tdh
21791 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21792 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21793 wine_fn_config_makefile dlls/traffic enable_traffic
21794 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21795 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21796 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21797 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21798 wine_fn_config_makefile dlls/tzres enable_tzres
21799 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21800 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21801 wine_fn_config_makefile dlls/uianimation enable_uianimation
21802 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21803 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21804 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21805 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21806 wine_fn_config_makefile dlls/unicows enable_unicows
21807 wine_fn_config_makefile dlls/updspapi enable_updspapi
21808 wine_fn_config_makefile dlls/url enable_url
21809 wine_fn_config_makefile dlls/urlmon enable_urlmon
21810 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21811 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21812 wine_fn_config_makefile dlls/user.exe16 enable_win16
21813 wine_fn_config_makefile dlls/user32 enable_user32
21814 wine_fn_config_makefile dlls/user32/tests enable_tests
21815 wine_fn_config_makefile dlls/userenv enable_userenv
21816 wine_fn_config_makefile dlls/userenv/tests enable_tests
21817 wine_fn_config_makefile dlls/usp10 enable_usp10
21818 wine_fn_config_makefile dlls/usp10/tests enable_tests
21819 wine_fn_config_makefile dlls/utildll enable_utildll
21820 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21821 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21822 wine_fn_config_makefile dlls/vbscript enable_vbscript
21823 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21824 wine_fn_config_makefile dlls/vcomp enable_vcomp
21825 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21826 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21827 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21828 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21829 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21830 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21831 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21832 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21833 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21834 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21835 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21836 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21837 wine_fn_config_makefile dlls/version enable_version
21838 wine_fn_config_makefile dlls/version/tests enable_tests
21839 wine_fn_config_makefile dlls/vga enable_vga
21840 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21841 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21842 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21843 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21844 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21845 wine_fn_config_makefile dlls/vssapi enable_vssapi
21846 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21847 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21848 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21849 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21850 wine_fn_config_makefile dlls/w32skrnl enable_win16
21851 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21852 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21853 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21854 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21855 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21856 wine_fn_config_makefile dlls/wdscore enable_wdscore
21857 wine_fn_config_makefile dlls/webservices enable_webservices
21858 wine_fn_config_makefile dlls/webservices/tests enable_tests
21859 wine_fn_config_makefile dlls/websocket enable_websocket
21860 wine_fn_config_makefile dlls/wer enable_wer
21861 wine_fn_config_makefile dlls/wer/tests enable_tests
21862 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21863 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21864 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21865 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21866 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21867 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21868 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21869 wine_fn_config_makefile dlls/win32u enable_win32u
21870 wine_fn_config_makefile dlls/win32u/tests enable_tests
21871 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21872 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21873 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21874 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21875 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21876 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21877 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21878 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21879 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21880 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21881 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21882 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21883 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21884 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21885 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21886 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21887 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21888 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21889 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21890 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21891 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21892 wine_fn_config_makefile dlls/wined3d enable_wined3d
21893 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21894 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21895 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21896 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21897 wine_fn_config_makefile dlls/winemapi enable_winemapi
21898 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21899 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21900 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21901 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21902 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21903 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21904 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21905 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21906 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21907 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21908 wine_fn_config_makefile dlls/wing32 enable_wing32
21909 wine_fn_config_makefile dlls/winhttp enable_winhttp
21910 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21911 wine_fn_config_makefile dlls/wininet enable_wininet
21912 wine_fn_config_makefile dlls/wininet/tests enable_tests
21913 wine_fn_config_makefile dlls/winmm enable_winmm
21914 wine_fn_config_makefile dlls/winmm/tests enable_tests
21915 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21916 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21917 wine_fn_config_makefile dlls/winscard enable_winscard
21918 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21919 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21920 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21921 wine_fn_config_makefile dlls/winsta enable_winsta
21922 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21923 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21924 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21925 wine_fn_config_makefile dlls/wintrust enable_wintrust
21926 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21927 wine_fn_config_makefile dlls/winusb enable_winusb
21928 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21929 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21930 wine_fn_config_makefile dlls/wlanui enable_wlanui
21931 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21932 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21933 wine_fn_config_makefile dlls/wmasf enable_wmasf
21934 wine_fn_config_makefile dlls/wmi enable_wmi
21935 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21936 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21937 wine_fn_config_makefile dlls/wmp enable_wmp
21938 wine_fn_config_makefile dlls/wmp/tests enable_tests
21939 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21940 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21941 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21942 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21943 wine_fn_config_makefile dlls/wow32 enable_win16
21944 wine_fn_config_makefile dlls/wow64 enable_wow64
21945 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21946 wine_fn_config_makefile dlls/wow64win enable_wow64win
21947 wine_fn_config_makefile dlls/wpc enable_wpc
21948 wine_fn_config_makefile dlls/wpc/tests enable_tests
21949 wine_fn_config_makefile dlls/wpcap enable_wpcap
21950 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21951 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21952 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21953 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21954 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21955 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21956 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21957 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21958 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21959 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21960 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21961 wine_fn_config_makefile dlls/wuapi enable_wuapi
21962 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21963 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21964 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21965 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21966 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21967 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21968 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21969 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21970 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21971 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21972 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21973 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21974 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21975 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21976 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21977 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21978 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21979 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21980 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21981 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21982 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21983 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21984 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21985 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21986 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21987 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21988 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21989 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21990 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21991 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21992 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21993 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21994 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21995 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21996 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21997 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21998 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21999 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22000 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22001 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22002 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22003 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22004 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22005 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22006 wine_fn_config_makefile dlls/xmllite enable_xmllite
22007 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22008 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22009 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22010 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22011 wine_fn_config_makefile fonts enable_fonts
22012 wine_fn_config_makefile include enable_include
22013 wine_fn_config_makefile libs/adsiid enable_adsiid
22014 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22015 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22016 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22017 wine_fn_config_makefile libs/dxguid enable_dxguid
22018 wine_fn_config_makefile libs/faudio enable_faudio
22019 wine_fn_config_makefile libs/gsm enable_gsm
22020 wine_fn_config_makefile libs/jpeg enable_jpeg
22021 wine_fn_config_makefile libs/jxr enable_jxr
22022 wine_fn_config_makefile libs/lcms2 enable_lcms2
22023 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22024 wine_fn_config_makefile libs/mpg123 enable_mpg123
22025 wine_fn_config_makefile libs/png enable_png
22026 wine_fn_config_makefile libs/strmiids enable_strmiids
22027 wine_fn_config_makefile libs/tiff enable_tiff
22028 wine_fn_config_makefile libs/uuid enable_uuid
22029 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22030 wine_fn_config_makefile libs/wine enable_wine
22031 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22032 wine_fn_config_makefile libs/xml2 enable_xml2
22033 wine_fn_config_makefile libs/xslt enable_xslt
22034 wine_fn_config_makefile libs/zlib enable_zlib
22035 wine_fn_config_makefile loader enable_loader
22036 wine_fn_config_makefile nls enable_nls
22037 wine_fn_config_makefile po enable_po
22038 wine_fn_config_makefile programs/arp enable_arp
22039 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22040 wine_fn_config_makefile programs/attrib enable_attrib
22041 wine_fn_config_makefile programs/cabarc enable_cabarc
22042 wine_fn_config_makefile programs/cacls enable_cacls
22043 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22044 wine_fn_config_makefile programs/clock enable_clock
22045 wine_fn_config_makefile programs/cmd enable_cmd
22046 wine_fn_config_makefile programs/cmd/tests enable_tests
22047 wine_fn_config_makefile programs/conhost enable_conhost
22048 wine_fn_config_makefile programs/conhost/tests enable_tests
22049 wine_fn_config_makefile programs/control enable_control
22050 wine_fn_config_makefile programs/cscript enable_cscript
22051 wine_fn_config_makefile programs/dism enable_dism
22052 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22053 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22054 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22055 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22056 wine_fn_config_makefile programs/eject enable_eject
22057 wine_fn_config_makefile programs/expand enable_expand
22058 wine_fn_config_makefile programs/explorer enable_explorer
22059 wine_fn_config_makefile programs/extrac32 enable_extrac32
22060 wine_fn_config_makefile programs/fc enable_fc
22061 wine_fn_config_makefile programs/find enable_find
22062 wine_fn_config_makefile programs/find/tests enable_tests
22063 wine_fn_config_makefile programs/findstr enable_findstr
22064 wine_fn_config_makefile programs/fsutil enable_fsutil
22065 wine_fn_config_makefile programs/fsutil/tests enable_tests
22066 wine_fn_config_makefile programs/hh enable_hh
22067 wine_fn_config_makefile programs/hostname enable_hostname
22068 wine_fn_config_makefile programs/icacls enable_icacls
22069 wine_fn_config_makefile programs/icinfo enable_icinfo
22070 wine_fn_config_makefile programs/iexplore enable_iexplore
22071 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22072 wine_fn_config_makefile programs/lodctr enable_lodctr
22073 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22074 wine_fn_config_makefile programs/mshta enable_mshta
22075 wine_fn_config_makefile programs/msidb enable_msidb
22076 wine_fn_config_makefile programs/msiexec enable_msiexec
22077 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22078 wine_fn_config_makefile programs/net enable_net
22079 wine_fn_config_makefile programs/netsh enable_netsh
22080 wine_fn_config_makefile programs/netstat enable_netstat
22081 wine_fn_config_makefile programs/ngen enable_ngen
22082 wine_fn_config_makefile programs/notepad enable_notepad
22083 wine_fn_config_makefile programs/oleview enable_oleview
22084 wine_fn_config_makefile programs/ping enable_ping
22085 wine_fn_config_makefile programs/plugplay enable_plugplay
22086 wine_fn_config_makefile programs/powershell enable_powershell
22087 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22088 wine_fn_config_makefile programs/progman enable_progman
22089 wine_fn_config_makefile programs/reg enable_reg
22090 wine_fn_config_makefile programs/reg/tests enable_tests
22091 wine_fn_config_makefile programs/regasm enable_regasm
22092 wine_fn_config_makefile programs/regedit enable_regedit
22093 wine_fn_config_makefile programs/regedit/tests enable_tests
22094 wine_fn_config_makefile programs/regini enable_regini
22095 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22096 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22097 wine_fn_config_makefile programs/robocopy enable_robocopy
22098 wine_fn_config_makefile programs/rpcss enable_rpcss
22099 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22100 wine_fn_config_makefile programs/rundll32 enable_rundll32
22101 wine_fn_config_makefile programs/sc enable_sc
22102 wine_fn_config_makefile programs/schtasks enable_schtasks
22103 wine_fn_config_makefile programs/schtasks/tests enable_tests
22104 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22105 wine_fn_config_makefile programs/secedit enable_secedit
22106 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22107 wine_fn_config_makefile programs/services enable_services
22108 wine_fn_config_makefile programs/services/tests enable_tests
22109 wine_fn_config_makefile programs/shutdown enable_shutdown
22110 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22111 wine_fn_config_makefile programs/start enable_start
22112 wine_fn_config_makefile programs/subst enable_subst
22113 wine_fn_config_makefile programs/svchost enable_svchost
22114 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22115 wine_fn_config_makefile programs/taskkill enable_taskkill
22116 wine_fn_config_makefile programs/tasklist enable_tasklist
22117 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22118 wine_fn_config_makefile programs/termsv enable_termsv
22119 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22120 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22121 wine_fn_config_makefile programs/view enable_view
22122 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22123 wine_fn_config_makefile programs/where enable_where
22124 wine_fn_config_makefile programs/whoami enable_whoami
22125 wine_fn_config_makefile programs/wineboot enable_wineboot
22126 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22127 wine_fn_config_makefile programs/winecfg enable_winecfg
22128 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22129 wine_fn_config_makefile programs/winedbg enable_winedbg
22130 wine_fn_config_makefile programs/winedevice enable_winedevice
22131 wine_fn_config_makefile programs/winefile enable_winefile
22132 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22133 wine_fn_config_makefile programs/winemine enable_winemine
22134 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22135 wine_fn_config_makefile programs/winepath enable_winepath
22136 wine_fn_config_makefile programs/winetest enable_winetest
22137 wine_fn_config_makefile programs/winevdm enable_win16
22138 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22139 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22140 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22141 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22142 wine_fn_config_makefile programs/winver enable_winver
22143 wine_fn_config_makefile programs/wmic enable_wmic
22144 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22145 wine_fn_config_makefile programs/wordpad enable_wordpad
22146 wine_fn_config_makefile programs/write enable_write
22147 wine_fn_config_makefile programs/wscript enable_wscript
22148 wine_fn_config_makefile programs/wscript/tests enable_tests
22149 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22150 wine_fn_config_makefile programs/wusa enable_wusa
22151 wine_fn_config_makefile programs/xcopy enable_xcopy
22152 wine_fn_config_makefile programs/xcopy/tests enable_tests
22153 wine_fn_config_makefile server enable_server
22154 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22155 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22156 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22157 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22158 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22159 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22160 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22161 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22162 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22165 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22166 wine_fn_append_file CONFIGURE_TARGETS "tags"
22167 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22168 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22169 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22170 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22171 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22172 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22174 if test "x$enable_tools" != xno
22175 then
22176 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22177 ac_config_commands="$ac_config_commands tools/makedep"
22181 ac_config_commands="$ac_config_commands Makefile"
22185 SHELL=/bin/sh
22188 wine_fn_append_rule "all: wine
22189 @echo \"Wine build complete.\"
22190 .INIT: Makefile
22191 .MAKEFILEDEPS:
22192 all: Makefile
22193 Makefile: config.status \$(MAKEDEP)
22194 @./config.status Makefile
22195 depend: \$(MAKEDEP)
22196 \$(MAKEDEP)$makedep_flags"
22199 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22200 @./config.status --recheck
22201 include/config.h: include/stamp-h
22202 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22203 @./config.status include/config.h include/stamp-h"
22205 if test "x$enable_maintainer_mode" = xyes
22206 then
22207 wine_fn_append_rule "configure: configure.ac aclocal.m4
22208 autoconf --warnings=all
22209 include/config.h.in: include/stamp-h.in
22210 include/stamp-h.in: configure.ac aclocal.m4
22211 autoheader --warnings=all
22212 @echo timestamp > \$@"
22215 if test "x$enable_tools" != xno
22216 then
22217 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22218 @./config.status tools/makedep
22219 Makefile: tools/makedep$ac_exeext"
22220 else
22221 wine_fn_append_rule "\$(MAKEDEP):
22222 @echo \"You need to run make in $toolsdir first\" && false"
22226 if test -n "$with_wine64"
22227 then
22228 case "$with_wine64" in
22229 /*) reldir="" ;;
22230 *) reldir="../" ;;
22231 esac
22232 rm -f fonts server 2>/dev/null
22233 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22234 loader/wine64 loader/wine64-preloader:
22235 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22236 $with_wine64/loader/wine:
22237 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22238 $with_wine64/loader/wine-preloader:
22239 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22240 clean::
22241 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22242 else
22243 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22244 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22245 fonts \
22246 loader/wine.inf \
22247 nls \
22248 programs/msidb/msidb \
22249 programs/msiexec/msiexec \
22250 programs/notepad/notepad \
22251 programs/regedit/regedit \
22252 programs/regsvr32/regsvr32 \
22253 programs/wineboot/wineboot \
22254 programs/winecfg/winecfg \
22255 programs/wineconsole/wineconsole \
22256 programs/winedbg/winedbg \
22257 programs/winefile/winefile \
22258 programs/winemine/winemine \
22259 programs/winepath/winepath \
22260 server/wineserver"
22262 case $host_os in
22263 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22264 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22265 esac
22269 wine_fn_append_rule "distclean:: clean
22270 rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man\$(api_manext)"
22273 wine_fn_append_rule "install-manpages:: manpages
22274 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"
22277 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22278 @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)
22279 programs/winetest/build.rc: dummy
22280 @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)
22281 programs/winetest/build.nfo:
22282 @-\$(CC) -v 2>\$@
22283 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
22284 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22285 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22288 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22290 wine_fn_append_rule "TAGS etags:
22291 rm -f TAGS
22292 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22293 tags ctags:
22294 rm -f tags
22295 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22296 dummy:
22297 .PHONY: depend dummy install-manpages"
22299 printf "%s\n" " done" >&6
22300 cat >confcache <<\_ACEOF
22301 # This file is a shell script that caches the results of configure
22302 # tests run on this system so they can be shared between configure
22303 # scripts and configure runs, see configure's option --config-cache.
22304 # It is not useful on other systems. If it contains results you don't
22305 # want to keep, you may remove or edit it.
22307 # config.status only pays attention to the cache file if you give it
22308 # the --recheck option to rerun configure.
22310 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22311 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22312 # following values.
22314 _ACEOF
22316 # The following way of writing the cache mishandles newlines in values,
22317 # but we know of no workaround that is simple, portable, and efficient.
22318 # So, we kill variables containing newlines.
22319 # Ultrix sh set writes to stderr and can't be redirected directly,
22320 # and sets the high bit in the cache file unless we assign to the vars.
22322 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22323 eval ac_val=\$$ac_var
22324 case $ac_val in #(
22325 *${as_nl}*)
22326 case $ac_var in #(
22327 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22328 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22329 esac
22330 case $ac_var in #(
22331 _ | IFS | as_nl) ;; #(
22332 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22333 *) { eval $ac_var=; unset $ac_var;} ;;
22334 esac ;;
22335 esac
22336 done
22338 (set) 2>&1 |
22339 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22340 *${as_nl}ac_space=\ *)
22341 # `set' does not quote correctly, so add quotes: double-quote
22342 # substitution turns \\\\ into \\, and sed turns \\ into \.
22343 sed -n \
22344 "s/'/'\\\\''/g;
22345 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22346 ;; #(
22348 # `set' quotes correctly as required by POSIX, so do not add quotes.
22349 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22351 esac |
22352 sort
22354 sed '
22355 /^ac_cv_env_/b end
22356 t clear
22357 :clear
22358 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22359 t end
22360 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22361 :end' >>confcache
22362 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22363 if test -w "$cache_file"; then
22364 if test "x$cache_file" != "x/dev/null"; then
22365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22366 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22367 if test ! -f "$cache_file" || test -h "$cache_file"; then
22368 cat confcache >"$cache_file"
22369 else
22370 case $cache_file in #(
22371 */* | ?:*)
22372 mv -f confcache "$cache_file"$$ &&
22373 mv -f "$cache_file"$$ "$cache_file" ;; #(
22375 mv -f confcache "$cache_file" ;;
22376 esac
22379 else
22380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22381 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22384 rm -f confcache
22386 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22387 # Let make expand exec_prefix.
22388 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22390 DEFS=-DHAVE_CONFIG_H
22392 ac_libobjs=
22393 ac_ltlibobjs=
22395 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22396 # 1. Remove the extension, and $U if already installed.
22397 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22398 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22399 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22400 # will be set to the directory where LIBOBJS objects are built.
22401 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22402 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22403 done
22404 LIBOBJS=$ac_libobjs
22406 LTLIBOBJS=$ac_ltlibobjs
22410 : "${CONFIG_STATUS=./config.status}"
22411 ac_write_fail=0
22412 ac_clean_files_save=$ac_clean_files
22413 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22415 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22416 as_write_fail=0
22417 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22418 #! $SHELL
22419 # Generated by $as_me.
22420 # Run this file to recreate the current configuration.
22421 # Compiler output produced by configure, useful for debugging
22422 # configure, is in config.log if it exists.
22424 debug=false
22425 ac_cs_recheck=false
22426 ac_cs_silent=false
22428 SHELL=\${CONFIG_SHELL-$SHELL}
22429 export SHELL
22430 _ASEOF
22431 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22432 ## -------------------- ##
22433 ## M4sh Initialization. ##
22434 ## -------------------- ##
22436 # Be more Bourne compatible
22437 DUALCASE=1; export DUALCASE # for MKS sh
22438 as_nop=:
22439 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22440 then :
22441 emulate sh
22442 NULLCMD=:
22443 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22444 # is contrary to our usage. Disable this feature.
22445 alias -g '${1+"$@"}'='"$@"'
22446 setopt NO_GLOB_SUBST
22447 else $as_nop
22448 case `(set -o) 2>/dev/null` in #(
22449 *posix*) :
22450 set -o posix ;; #(
22451 *) :
22453 esac
22458 # Reset variables that may have inherited troublesome values from
22459 # the environment.
22461 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22462 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22463 # side effect of setting IFS to empty, thus disabling word splitting.)
22464 # Quoting is to prevent editors from complaining about space-tab.
22465 as_nl='
22467 export as_nl
22468 IFS=" "" $as_nl"
22470 PS1='$ '
22471 PS2='> '
22472 PS4='+ '
22474 # Ensure predictable behavior from utilities with locale-dependent output.
22475 LC_ALL=C
22476 export LC_ALL
22477 LANGUAGE=C
22478 export LANGUAGE
22480 # We cannot yet rely on "unset" to work, but we need these variables
22481 # to be unset--not just set to an empty or harmless value--now, to
22482 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22483 # also avoids known problems related to "unset" and subshell syntax
22484 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22485 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22486 do eval test \${$as_var+y} \
22487 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22488 done
22490 # Ensure that fds 0, 1, and 2 are open.
22491 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22492 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22493 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22495 # The user is always right.
22496 if ${PATH_SEPARATOR+false} :; then
22497 PATH_SEPARATOR=:
22498 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22499 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22500 PATH_SEPARATOR=';'
22505 # Find who we are. Look in the path if we contain no directory separator.
22506 as_myself=
22507 case $0 in #((
22508 *[\\/]* ) as_myself=$0 ;;
22509 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22510 for as_dir in $PATH
22512 IFS=$as_save_IFS
22513 case $as_dir in #(((
22514 '') as_dir=./ ;;
22515 */) ;;
22516 *) as_dir=$as_dir/ ;;
22517 esac
22518 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22519 done
22520 IFS=$as_save_IFS
22523 esac
22524 # We did not find ourselves, most probably we were run as `sh COMMAND'
22525 # in which case we are not to be found in the path.
22526 if test "x$as_myself" = x; then
22527 as_myself=$0
22529 if test ! -f "$as_myself"; then
22530 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22531 exit 1
22536 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22537 # ----------------------------------------
22538 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22539 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22540 # script with STATUS, using 1 if that was 0.
22541 as_fn_error ()
22543 as_status=$1; test $as_status -eq 0 && as_status=1
22544 if test "$4"; then
22545 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22548 printf "%s\n" "$as_me: error: $2" >&2
22549 as_fn_exit $as_status
22550 } # as_fn_error
22554 # as_fn_set_status STATUS
22555 # -----------------------
22556 # Set $? to STATUS, without forking.
22557 as_fn_set_status ()
22559 return $1
22560 } # as_fn_set_status
22562 # as_fn_exit STATUS
22563 # -----------------
22564 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22565 as_fn_exit ()
22567 set +e
22568 as_fn_set_status $1
22569 exit $1
22570 } # as_fn_exit
22572 # as_fn_unset VAR
22573 # ---------------
22574 # Portably unset VAR.
22575 as_fn_unset ()
22577 { eval $1=; unset $1;}
22579 as_unset=as_fn_unset
22581 # as_fn_append VAR VALUE
22582 # ----------------------
22583 # Append the text in VALUE to the end of the definition contained in VAR. Take
22584 # advantage of any shell optimizations that allow amortized linear growth over
22585 # repeated appends, instead of the typical quadratic growth present in naive
22586 # implementations.
22587 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22588 then :
22589 eval 'as_fn_append ()
22591 eval $1+=\$2
22593 else $as_nop
22594 as_fn_append ()
22596 eval $1=\$$1\$2
22598 fi # as_fn_append
22600 # as_fn_arith ARG...
22601 # ------------------
22602 # Perform arithmetic evaluation on the ARGs, and store the result in the
22603 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22604 # must be portable across $(()) and expr.
22605 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22606 then :
22607 eval 'as_fn_arith ()
22609 as_val=$(( $* ))
22611 else $as_nop
22612 as_fn_arith ()
22614 as_val=`expr "$@" || test $? -eq 1`
22616 fi # as_fn_arith
22619 if expr a : '\(a\)' >/dev/null 2>&1 &&
22620 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22621 as_expr=expr
22622 else
22623 as_expr=false
22626 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22627 as_basename=basename
22628 else
22629 as_basename=false
22632 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22633 as_dirname=dirname
22634 else
22635 as_dirname=false
22638 as_me=`$as_basename -- "$0" ||
22639 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22640 X"$0" : 'X\(//\)$' \| \
22641 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22642 printf "%s\n" X/"$0" |
22643 sed '/^.*\/\([^/][^/]*\)\/*$/{
22644 s//\1/
22647 /^X\/\(\/\/\)$/{
22648 s//\1/
22651 /^X\/\(\/\).*/{
22652 s//\1/
22655 s/.*/./; q'`
22657 # Avoid depending upon Character Ranges.
22658 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22659 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22660 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22661 as_cr_digits='0123456789'
22662 as_cr_alnum=$as_cr_Letters$as_cr_digits
22665 # Determine whether it's possible to make 'echo' print without a newline.
22666 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22667 # for compatibility with existing Makefiles.
22668 ECHO_C= ECHO_N= ECHO_T=
22669 case `echo -n x` in #(((((
22670 -n*)
22671 case `echo 'xy\c'` in
22672 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22673 xy) ECHO_C='\c';;
22674 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22675 ECHO_T=' ';;
22676 esac;;
22678 ECHO_N='-n';;
22679 esac
22681 # For backward compatibility with old third-party macros, we provide
22682 # the shell variables $as_echo and $as_echo_n. New code should use
22683 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22684 as_echo='printf %s\n'
22685 as_echo_n='printf %s'
22687 rm -f conf$$ conf$$.exe conf$$.file
22688 if test -d conf$$.dir; then
22689 rm -f conf$$.dir/conf$$.file
22690 else
22691 rm -f conf$$.dir
22692 mkdir conf$$.dir 2>/dev/null
22694 if (echo >conf$$.file) 2>/dev/null; then
22695 if ln -s conf$$.file conf$$ 2>/dev/null; then
22696 as_ln_s='ln -s'
22697 # ... but there are two gotchas:
22698 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22699 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22700 # In both cases, we have to default to `cp -pR'.
22701 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22702 as_ln_s='cp -pR'
22703 elif ln conf$$.file conf$$ 2>/dev/null; then
22704 as_ln_s=ln
22705 else
22706 as_ln_s='cp -pR'
22708 else
22709 as_ln_s='cp -pR'
22711 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22712 rmdir conf$$.dir 2>/dev/null
22715 # as_fn_mkdir_p
22716 # -------------
22717 # Create "$as_dir" as a directory, including parents if necessary.
22718 as_fn_mkdir_p ()
22721 case $as_dir in #(
22722 -*) as_dir=./$as_dir;;
22723 esac
22724 test -d "$as_dir" || eval $as_mkdir_p || {
22725 as_dirs=
22726 while :; do
22727 case $as_dir in #(
22728 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22729 *) as_qdir=$as_dir;;
22730 esac
22731 as_dirs="'$as_qdir' $as_dirs"
22732 as_dir=`$as_dirname -- "$as_dir" ||
22733 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22734 X"$as_dir" : 'X\(//\)[^/]' \| \
22735 X"$as_dir" : 'X\(//\)$' \| \
22736 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22737 printf "%s\n" X"$as_dir" |
22738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22739 s//\1/
22742 /^X\(\/\/\)[^/].*/{
22743 s//\1/
22746 /^X\(\/\/\)$/{
22747 s//\1/
22750 /^X\(\/\).*/{
22751 s//\1/
22754 s/.*/./; q'`
22755 test -d "$as_dir" && break
22756 done
22757 test -z "$as_dirs" || eval "mkdir $as_dirs"
22758 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22761 } # as_fn_mkdir_p
22762 if mkdir -p . 2>/dev/null; then
22763 as_mkdir_p='mkdir -p "$as_dir"'
22764 else
22765 test -d ./-p && rmdir ./-p
22766 as_mkdir_p=false
22770 # as_fn_executable_p FILE
22771 # -----------------------
22772 # Test if FILE is an executable regular file.
22773 as_fn_executable_p ()
22775 test -f "$1" && test -x "$1"
22776 } # as_fn_executable_p
22777 as_test_x='test -x'
22778 as_executable_p=as_fn_executable_p
22780 # Sed expression to map a string onto a valid CPP name.
22781 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22783 # Sed expression to map a string onto a valid variable name.
22784 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22787 exec 6>&1
22788 ## ----------------------------------- ##
22789 ## Main body of $CONFIG_STATUS script. ##
22790 ## ----------------------------------- ##
22791 _ASEOF
22792 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22795 # Save the log message, to keep $0 and so on meaningful, and to
22796 # report actual input values of CONFIG_FILES etc. instead of their
22797 # values after options handling.
22798 ac_log="
22799 This file was extended by Wine $as_me 6.22, which was
22800 generated by GNU Autoconf 2.71. Invocation command line was
22802 CONFIG_FILES = $CONFIG_FILES
22803 CONFIG_HEADERS = $CONFIG_HEADERS
22804 CONFIG_LINKS = $CONFIG_LINKS
22805 CONFIG_COMMANDS = $CONFIG_COMMANDS
22806 $ $0 $@
22808 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22811 _ACEOF
22814 case $ac_config_headers in *"
22815 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22816 esac
22819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22820 # Files that config.status was made for.
22821 config_headers="$ac_config_headers"
22822 config_links="$ac_config_links"
22823 config_commands="$ac_config_commands"
22825 _ACEOF
22827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22828 ac_cs_usage="\
22829 \`$as_me' instantiates files and other configuration actions
22830 from templates according to the current configuration. Unless the files
22831 and actions are specified as TAGs, all are instantiated by default.
22833 Usage: $0 [OPTION]... [TAG]...
22835 -h, --help print this help, then exit
22836 -V, --version print version number and configuration settings, then exit
22837 --config print configuration, then exit
22838 -q, --quiet, --silent
22839 do not print progress messages
22840 -d, --debug don't remove temporary files
22841 --recheck update $as_me by reconfiguring in the same conditions
22842 --header=FILE[:TEMPLATE]
22843 instantiate the configuration header FILE
22845 Configuration headers:
22846 $config_headers
22848 Configuration links:
22849 $config_links
22851 Configuration commands:
22852 $config_commands
22854 Report bugs to <wine-devel@winehq.org>.
22855 Wine home page: <https://www.winehq.org>."
22857 _ACEOF
22858 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22859 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22861 ac_cs_config='$ac_cs_config_escaped'
22862 ac_cs_version="\\
22863 Wine config.status 6.22
22864 configured by $0, generated by GNU Autoconf 2.71,
22865 with options \\"\$ac_cs_config\\"
22867 Copyright (C) 2021 Free Software Foundation, Inc.
22868 This config.status script is free software; the Free Software Foundation
22869 gives unlimited permission to copy, distribute and modify it."
22871 ac_pwd='$ac_pwd'
22872 srcdir='$srcdir'
22873 test -n "\$AWK" || AWK=awk
22874 _ACEOF
22876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22877 # The default lists apply if the user does not specify any file.
22878 ac_need_defaults=:
22879 while test $# != 0
22881 case $1 in
22882 --*=?*)
22883 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22884 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22885 ac_shift=:
22887 --*=)
22888 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22889 ac_optarg=
22890 ac_shift=:
22893 ac_option=$1
22894 ac_optarg=$2
22895 ac_shift=shift
22897 esac
22899 case $ac_option in
22900 # Handling of the options.
22901 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22902 ac_cs_recheck=: ;;
22903 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22904 printf "%s\n" "$ac_cs_version"; exit ;;
22905 --config | --confi | --conf | --con | --co | --c )
22906 printf "%s\n" "$ac_cs_config"; exit ;;
22907 --debug | --debu | --deb | --de | --d | -d )
22908 debug=: ;;
22909 --header | --heade | --head | --hea )
22910 $ac_shift
22911 case $ac_optarg in
22912 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22913 esac
22914 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22915 ac_need_defaults=false;;
22916 --he | --h)
22917 # Conflict between --help and --header
22918 as_fn_error $? "ambiguous option: \`$1'
22919 Try \`$0 --help' for more information.";;
22920 --help | --hel | -h )
22921 printf "%s\n" "$ac_cs_usage"; exit ;;
22922 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22923 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22924 ac_cs_silent=: ;;
22926 # This is an error.
22927 -*) as_fn_error $? "unrecognized option: \`$1'
22928 Try \`$0 --help' for more information." ;;
22930 *) as_fn_append ac_config_targets " $1"
22931 ac_need_defaults=false ;;
22933 esac
22934 shift
22935 done
22937 ac_configure_extra_args=
22939 if $ac_cs_silent; then
22940 exec 6>/dev/null
22941 ac_configure_extra_args="$ac_configure_extra_args --silent"
22944 _ACEOF
22945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22946 if \$ac_cs_recheck; then
22947 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22948 shift
22949 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22950 CONFIG_SHELL='$SHELL'
22951 export CONFIG_SHELL
22952 exec "\$@"
22955 _ACEOF
22956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22957 exec 5>>config.log
22959 echo
22960 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22961 ## Running $as_me. ##
22962 _ASBOX
22963 printf "%s\n" "$ac_log"
22964 } >&5
22966 _ACEOF
22967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22969 # INIT-COMMANDS
22971 wine_fn_output_makedep ()
22973 as_dir=tools; as_fn_mkdir_p
22974 $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
22976 wine_fn_output_makefile ()
22978 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22979 # This Makefile understands the following targets:
22981 # all (default): build wine
22982 # clean: remove all intermediate files
22983 # distclean: also remove all files created by configure
22984 # test: run tests
22985 # testclean: clean test results to force running all tests again
22986 # install-lib: install libraries needed to run applications
22987 # install-dev: install development environment
22988 # install: install everything
22989 # uninstall: uninstall everything
22990 # ctags: create a tags file for vim and others.
22991 # etags: create a TAGS file for Emacs.
22992 # manpages: compile manpages for Wine API
22993 # htmlpages: compile html pages for Wine API
22994 # sgmlpages: compile sgml source for the Wine API Guide
22995 # xmlpages: compile xml source for the Wine API Guide
22997 SHELL = $SHELL
22998 PATH_SEPARATOR = $PATH_SEPARATOR
22999 PACKAGE_NAME = $PACKAGE_NAME
23000 PACKAGE_TARNAME = $PACKAGE_TARNAME
23001 PACKAGE_VERSION = $PACKAGE_VERSION
23002 PACKAGE_STRING = $PACKAGE_STRING
23003 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23004 PACKAGE_URL = $PACKAGE_URL
23005 exec_prefix = $exec_prefix
23006 prefix = $prefix
23007 program_transform_name = $program_transform_name
23008 bindir = $bindir
23009 sbindir = $sbindir
23010 libexecdir = $libexecdir
23011 datarootdir = $datarootdir
23012 datadir = $datadir
23013 sysconfdir = $sysconfdir
23014 sharedstatedir = $sharedstatedir
23015 localstatedir = $localstatedir
23016 runstatedir = $runstatedir
23017 includedir = $includedir
23018 oldincludedir = $oldincludedir
23019 docdir = $docdir
23020 infodir = $infodir
23021 htmldir = $htmldir
23022 dvidir = $dvidir
23023 pdfdir = $pdfdir
23024 psdir = $psdir
23025 libdir = $libdir
23026 localedir = $localedir
23027 mandir = $mandir
23028 DEFS = $DEFS
23029 ECHO_C = $ECHO_C
23030 ECHO_N = $ECHO_N
23031 ECHO_T = $ECHO_T
23032 LIBS = $LIBS
23033 build_alias = $build_alias
23034 host_alias = $host_alias
23035 target_alias = $target_alias
23036 system_dllpath = $system_dllpath
23037 build = $build
23038 build_cpu = $build_cpu
23039 build_vendor = $build_vendor
23040 build_os = $build_os
23041 host = $host
23042 host_cpu = $host_cpu
23043 host_vendor = $host_vendor
23044 host_os = $host_os
23045 dlldir = $dlldir
23046 fontdir = $fontdir
23047 nlsdir = $nlsdir
23048 srcdir = $srcdir
23049 SET_MAKE = $SET_MAKE
23050 CC = $CC
23051 CFLAGS = $CFLAGS
23052 LDFLAGS = $LDFLAGS
23053 CPPFLAGS = $CPPFLAGS
23054 ac_ct_CC = $ac_ct_CC
23055 EXEEXT = $EXEEXT
23056 OBJEXT = $OBJEXT
23057 CXX = $CXX
23058 CXXFLAGS = $CXXFLAGS
23059 ac_ct_CXX = $ac_ct_CXX
23060 CPPBIN = $CPPBIN
23061 LD = $LD
23062 TARGETFLAGS = $TARGETFLAGS
23063 toolsext = $toolsext
23064 toolsdir = $toolsdir
23065 MAKEDEP = $MAKEDEP
23066 RUNTESTFLAGS = $RUNTESTFLAGS
23067 SED_CMD = $SED_CMD
23068 api_manext = $api_manext
23069 FLEX = $FLEX
23070 BISON = $BISON
23071 AR = $AR
23072 ac_ct_AR = $ac_ct_AR
23073 STRIP = $STRIP
23074 RANLIB = $RANLIB
23075 LN_S = $LN_S
23076 GREP = $GREP
23077 EGREP = $EGREP
23078 LDCONFIG = $LDCONFIG
23079 MSGFMT = $MSGFMT
23080 PKG_CONFIG = $PKG_CONFIG
23081 FONTFORGE = $FONTFORGE
23082 RSVG = $RSVG
23083 CONVERT = $CONVERT
23084 ICOTOOL = $ICOTOOL
23085 I386_LIBS = $I386_LIBS
23086 OPENGL_LIBS = $OPENGL_LIBS
23087 DLLFLAGS = $DLLFLAGS
23088 LDDLLFLAGS = $LDDLLFLAGS
23089 LDEXECFLAGS = $LDEXECFLAGS
23090 EXTRACFLAGS = $EXTRACFLAGS
23091 UNIXDLLFLAGS = $UNIXDLLFLAGS
23092 UNIXLDFLAGS = $UNIXLDFLAGS
23093 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23094 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23095 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23096 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23097 LDD = $LDD
23098 OTOOL = $OTOOL
23099 READELF = $READELF
23100 SUBDIRS = $SUBDIRS
23101 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23102 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23103 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23104 DLLTOOL = $DLLTOOL
23105 OBJC = $OBJC
23106 OBJCFLAGS = $OBJCFLAGS
23107 ac_ct_OBJC = $ac_ct_OBJC
23108 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23109 IOKIT_LIBS = $IOKIT_LIBS
23110 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23111 CORESERVICES_LIBS = $CORESERVICES_LIBS
23112 APPKIT_LIBS = $APPKIT_LIBS
23113 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23114 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23115 SECURITY_LIBS = $SECURITY_LIBS
23116 COREAUDIO_LIBS = $COREAUDIO_LIBS
23117 OPENAL_LIBS = $OPENAL_LIBS
23118 OPENCL_LIBS = $OPENCL_LIBS
23119 QUICKTIME_LIBS = $QUICKTIME_LIBS
23120 CARBON_LIBS = $CARBON_LIBS
23121 METAL_LIBS = $METAL_LIBS
23122 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23123 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23124 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23125 PRELINK = $PRELINK
23126 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23127 CROSSTARGET = $CROSSTARGET
23128 CROSSCC = $CROSSCC
23129 CROSSCFLAGS = $CROSSCFLAGS
23130 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23131 CROSSLDFLAGS = $CROSSLDFLAGS
23132 DELAYLOADFLAG = $DELAYLOADFLAG
23133 CROSSDEBUG = $CROSSDEBUG
23134 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23135 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23136 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23137 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23138 GSM_PE_LIBS = $GSM_PE_LIBS
23139 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23140 JPEG_PE_LIBS = $JPEG_PE_LIBS
23141 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23142 JXR_PE_LIBS = $JXR_PE_LIBS
23143 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23144 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23145 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23146 MPG123_PE_LIBS = $MPG123_PE_LIBS
23147 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23148 PNG_PE_LIBS = $PNG_PE_LIBS
23149 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23150 TIFF_PE_LIBS = $TIFF_PE_LIBS
23151 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23152 XML2_PE_LIBS = $XML2_PE_LIBS
23153 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23154 XSLT_PE_LIBS = $XSLT_PE_LIBS
23155 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23156 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23157 PTHREAD_LIBS = $PTHREAD_LIBS
23158 XMKMF = $XMKMF
23159 CPP = $CPP
23160 X_CFLAGS = $X_CFLAGS
23161 X_PRE_LIBS = $X_PRE_LIBS
23162 X_LIBS = $X_LIBS
23163 X_EXTRA_LIBS = $X_EXTRA_LIBS
23164 PCAP_LIBS = $PCAP_LIBS
23165 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23166 INOTIFY_LIBS = $INOTIFY_LIBS
23167 DBUS_CFLAGS = $DBUS_CFLAGS
23168 DBUS_LIBS = $DBUS_LIBS
23169 HAL_CFLAGS = $HAL_CFLAGS
23170 HAL_LIBS = $HAL_LIBS
23171 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23172 GNUTLS_LIBS = $GNUTLS_LIBS
23173 SANE_CFLAGS = $SANE_CFLAGS
23174 SANE_LIBS = $SANE_LIBS
23175 USB_CFLAGS = $USB_CFLAGS
23176 USB_LIBS = $USB_LIBS
23177 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23178 GPHOTO2_LIBS = $GPHOTO2_LIBS
23179 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23180 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23181 RESOLV_LIBS = $RESOLV_LIBS
23182 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23183 FREETYPE_LIBS = $FREETYPE_LIBS
23184 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23185 PULSE_CFLAGS = $PULSE_CFLAGS
23186 PULSE_LIBS = $PULSE_LIBS
23187 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23188 GSTREAMER_LIBS = $GSTREAMER_LIBS
23189 ALSA_LIBS = $ALSA_LIBS
23190 OSS4_CFLAGS = $OSS4_CFLAGS
23191 OSS4_LIBS = $OSS4_LIBS
23192 UDEV_CFLAGS = $UDEV_CFLAGS
23193 UDEV_LIBS = $UDEV_LIBS
23194 UNWIND_CFLAGS = $UNWIND_CFLAGS
23195 UNWIND_LIBS = $UNWIND_LIBS
23196 SDL2_CFLAGS = $SDL2_CFLAGS
23197 SDL2_LIBS = $SDL2_LIBS
23198 CAPI20_CFLAGS = $CAPI20_CFLAGS
23199 CAPI20_LIBS = $CAPI20_LIBS
23200 CUPS_CFLAGS = $CUPS_CFLAGS
23201 CUPS_LIBS = $CUPS_LIBS
23202 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23203 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23204 KRB5_CFLAGS = $KRB5_CFLAGS
23205 KRB5_LIBS = $KRB5_LIBS
23206 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23207 GSSAPI_LIBS = $GSSAPI_LIBS
23208 PROCSTAT_LIBS = $PROCSTAT_LIBS
23209 NETAPI_CFLAGS = $NETAPI_CFLAGS
23210 NETAPI_LIBS = $NETAPI_LIBS
23211 VKD3D_CFLAGS = $VKD3D_CFLAGS
23212 VKD3D_LIBS = $VKD3D_LIBS
23213 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
23214 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
23215 MSVCRTFLAGS = $MSVCRTFLAGS
23216 RT_LIBS = $RT_LIBS
23217 LDAP_CFLAGS = $LDAP_CFLAGS
23218 LDAP_LIBS = $LDAP_LIBS
23219 TAGSFLAGS = $TAGSFLAGS
23220 LIBOBJS = $LIBOBJS
23221 LTLIBOBJS = $LTLIBOBJS
23222 $SET_MAKE
23223 $wine_rules
23224 _WINE_EOF
23225 as_fn_error $? "could not create Makefile" "$LINENO" 5
23228 _ACEOF
23230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23232 # Handling of arguments.
23233 for ac_config_target in $ac_config_targets
23235 case $ac_config_target in
23236 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23237 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23238 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23239 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23240 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23241 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23243 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23244 esac
23245 done
23248 # If the user did not use the arguments to specify the items to instantiate,
23249 # then the envvar interface is used. Set only those that are not.
23250 # We use the long form for the default assignment because of an extremely
23251 # bizarre bug on SunOS 4.1.3.
23252 if $ac_need_defaults; then
23253 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23254 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23255 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23258 # Have a temporary directory for convenience. Make it in the build tree
23259 # simply because there is no reason against having it here, and in addition,
23260 # creating and moving files from /tmp can sometimes cause problems.
23261 # Hook for its removal unless debugging.
23262 # Note that there is a small window in which the directory will not be cleaned:
23263 # after its creation but before its name has been assigned to `$tmp'.
23264 $debug ||
23266 tmp= ac_tmp=
23267 trap 'exit_status=$?
23268 : "${ac_tmp:=$tmp}"
23269 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23271 trap 'as_fn_exit 1' 1 2 13 15
23273 # Create a (secure) tmp directory for tmp files.
23276 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23277 test -d "$tmp"
23278 } ||
23280 tmp=./conf$$-$RANDOM
23281 (umask 077 && mkdir "$tmp")
23282 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23283 ac_tmp=$tmp
23285 # Set up the scripts for CONFIG_HEADERS section.
23286 # No need to generate them if there are no CONFIG_HEADERS.
23287 # This happens for instance with `./config.status Makefile'.
23288 if test -n "$CONFIG_HEADERS"; then
23289 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23290 BEGIN {
23291 _ACEOF
23293 # Transform confdefs.h into an awk script `defines.awk', embedded as
23294 # here-document in config.status, that substitutes the proper values into
23295 # config.h.in to produce config.h.
23297 # Create a delimiter string that does not exist in confdefs.h, to ease
23298 # handling of long lines.
23299 ac_delim='%!_!# '
23300 for ac_last_try in false false :; do
23301 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23302 if test -z "$ac_tt"; then
23303 break
23304 elif $ac_last_try; then
23305 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23306 else
23307 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23309 done
23311 # For the awk script, D is an array of macro values keyed by name,
23312 # likewise P contains macro parameters if any. Preserve backslash
23313 # newline sequences.
23315 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23316 sed -n '
23317 s/.\{148\}/&'"$ac_delim"'/g
23318 t rset
23319 :rset
23320 s/^[ ]*#[ ]*define[ ][ ]*/ /
23321 t def
23323 :def
23324 s/\\$//
23325 t bsnl
23326 s/["\\]/\\&/g
23327 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23328 D["\1"]=" \3"/p
23329 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23331 :bsnl
23332 s/["\\]/\\&/g
23333 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23334 D["\1"]=" \3\\\\\\n"\\/p
23335 t cont
23336 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23337 t cont
23339 :cont
23341 s/.\{148\}/&'"$ac_delim"'/g
23342 t clear
23343 :clear
23344 s/\\$//
23345 t bsnlc
23346 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23348 :bsnlc
23349 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23350 b cont
23351 ' <confdefs.h | sed '
23352 s/'"$ac_delim"'/"\\\
23353 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23356 for (key in D) D_is_set[key] = 1
23357 FS = "\a"
23359 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23360 line = \$ 0
23361 split(line, arg, " ")
23362 if (arg[1] == "#") {
23363 defundef = arg[2]
23364 mac1 = arg[3]
23365 } else {
23366 defundef = substr(arg[1], 2)
23367 mac1 = arg[2]
23369 split(mac1, mac2, "(") #)
23370 macro = mac2[1]
23371 prefix = substr(line, 1, index(line, defundef) - 1)
23372 if (D_is_set[macro]) {
23373 # Preserve the white space surrounding the "#".
23374 print prefix "define", macro P[macro] D[macro]
23375 next
23376 } else {
23377 # Replace #undef with comments. This is necessary, for example,
23378 # in the case of _POSIX_SOURCE, which is predefined and required
23379 # on some systems where configure will not decide to define it.
23380 if (defundef == "undef") {
23381 print "/*", prefix defundef, macro, "*/"
23382 next
23386 { print }
23387 _ACAWK
23388 _ACEOF
23389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23390 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23391 fi # test -n "$CONFIG_HEADERS"
23394 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23395 shift
23396 for ac_tag
23398 case $ac_tag in
23399 :[FHLC]) ac_mode=$ac_tag; continue;;
23400 esac
23401 case $ac_mode$ac_tag in
23402 :[FHL]*:*);;
23403 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23404 :[FH]-) ac_tag=-:-;;
23405 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23406 esac
23407 ac_save_IFS=$IFS
23408 IFS=:
23409 set x $ac_tag
23410 IFS=$ac_save_IFS
23411 shift
23412 ac_file=$1
23413 shift
23415 case $ac_mode in
23416 :L) ac_source=$1;;
23417 :[FH])
23418 ac_file_inputs=
23419 for ac_f
23421 case $ac_f in
23422 -) ac_f="$ac_tmp/stdin";;
23423 *) # Look for the file first in the build tree, then in the source tree
23424 # (if the path is not absolute). The absolute path cannot be DOS-style,
23425 # because $ac_f cannot contain `:'.
23426 test -f "$ac_f" ||
23427 case $ac_f in
23428 [\\/$]*) false;;
23429 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23430 esac ||
23431 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23432 esac
23433 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23434 as_fn_append ac_file_inputs " '$ac_f'"
23435 done
23437 # Let's still pretend it is `configure' which instantiates (i.e., don't
23438 # use $as_me), people would be surprised to read:
23439 # /* config.h. Generated by config.status. */
23440 configure_input='Generated from '`
23441 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23442 `' by configure.'
23443 if test x"$ac_file" != x-; then
23444 configure_input="$ac_file. $configure_input"
23445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23446 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23448 # Neutralize special characters interpreted by sed in replacement strings.
23449 case $configure_input in #(
23450 *\&* | *\|* | *\\* )
23451 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23452 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23453 *) ac_sed_conf_input=$configure_input;;
23454 esac
23456 case $ac_tag in
23457 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23458 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23459 esac
23461 esac
23463 ac_dir=`$as_dirname -- "$ac_file" ||
23464 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23465 X"$ac_file" : 'X\(//\)[^/]' \| \
23466 X"$ac_file" : 'X\(//\)$' \| \
23467 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23468 printf "%s\n" X"$ac_file" |
23469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23470 s//\1/
23473 /^X\(\/\/\)[^/].*/{
23474 s//\1/
23477 /^X\(\/\/\)$/{
23478 s//\1/
23481 /^X\(\/\).*/{
23482 s//\1/
23485 s/.*/./; q'`
23486 as_dir="$ac_dir"; as_fn_mkdir_p
23487 ac_builddir=.
23489 case "$ac_dir" in
23490 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23492 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23493 # A ".." for each directory in $ac_dir_suffix.
23494 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23495 case $ac_top_builddir_sub in
23496 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23497 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23498 esac ;;
23499 esac
23500 ac_abs_top_builddir=$ac_pwd
23501 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23502 # for backward compatibility:
23503 ac_top_builddir=$ac_top_build_prefix
23505 case $srcdir in
23506 .) # We are building in place.
23507 ac_srcdir=.
23508 ac_top_srcdir=$ac_top_builddir_sub
23509 ac_abs_top_srcdir=$ac_pwd ;;
23510 [\\/]* | ?:[\\/]* ) # Absolute name.
23511 ac_srcdir=$srcdir$ac_dir_suffix;
23512 ac_top_srcdir=$srcdir
23513 ac_abs_top_srcdir=$srcdir ;;
23514 *) # Relative name.
23515 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23516 ac_top_srcdir=$ac_top_build_prefix$srcdir
23517 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23518 esac
23519 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23522 case $ac_mode in
23526 # CONFIG_HEADER
23528 if test x"$ac_file" != x-; then
23530 printf "%s\n" "/* $configure_input */" >&1 \
23531 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23532 } >"$ac_tmp/config.h" \
23533 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23534 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23536 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23537 else
23538 rm -f "$ac_file"
23539 mv "$ac_tmp/config.h" "$ac_file" \
23540 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23542 else
23543 printf "%s\n" "/* $configure_input */" >&1 \
23544 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23545 || as_fn_error $? "could not create -" "$LINENO" 5
23550 # CONFIG_LINK
23553 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23555 else
23556 # Prefer the file from the source tree if names are identical.
23557 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23558 ac_source=$srcdir/$ac_source
23561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23562 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23564 if test ! -r "$ac_source"; then
23565 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23567 rm -f "$ac_file"
23569 # Try a relative symlink, then a hard link, then a copy.
23570 case $ac_source in
23571 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23572 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23573 esac
23574 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23575 ln "$ac_source" "$ac_file" 2>/dev/null ||
23576 cp -p "$ac_source" "$ac_file" ||
23577 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23580 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23581 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23583 esac
23586 case $ac_file$ac_mode in
23587 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23588 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23589 "Makefile":C) wine_fn_output_makefile Makefile ;;
23591 esac
23592 done # for ac_tag
23595 as_fn_exit 0
23596 _ACEOF
23597 ac_clean_files=$ac_clean_files_save
23599 test $ac_write_fail = 0 ||
23600 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23603 # configure is writing to config.log, and then calls config.status.
23604 # config.status does its own redirection, appending to config.log.
23605 # Unfortunately, on DOS this fails, as config.log is still kept open
23606 # by configure, so config.status won't be able to write to it; its
23607 # output is simply discarded. So we exec the FD to /dev/null,
23608 # effectively closing config.log, so it can be properly (re)opened and
23609 # appended to by config.status. When coming back to configure, we
23610 # need to make the FD available again.
23611 if test "$no_create" != yes; then
23612 ac_cs_success=:
23613 ac_config_status_args=
23614 test "$silent" = yes &&
23615 ac_config_status_args="$ac_config_status_args --quiet"
23616 exec 5>/dev/null
23617 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23618 exec 5>>config.log
23619 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23620 # would make configure fail if this is the last instruction.
23621 $ac_cs_success || as_fn_exit 1
23623 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23625 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23629 if test "$no_create" = "yes"
23630 then
23631 exit 0
23634 ac_save_IFS="$IFS"
23635 if test "x$wine_notices" != x; then
23636 echo >&6
23637 IFS="|"
23638 for msg in $wine_notices; do
23639 IFS="$ac_save_IFS"
23640 if ${msg:+false} :
23641 then :
23643 else $as_nop
23644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23645 printf "%s\n" "$as_me: $msg" >&6;}
23647 done
23649 IFS="|"
23650 for msg in $wine_warnings; do
23651 IFS="$ac_save_IFS"
23652 if ${msg:+false} :
23653 then :
23655 else $as_nop
23656 echo >&2
23657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23658 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23660 done
23661 IFS="$ac_save_IFS"
23663 printf "%s\n" "
23664 $as_me: Finished. Do '${ac_make}' to compile Wine.
23665 " >&6