iphlpapi: Implement async requests for IcmpSendEcho2Ex.
[wine.git] / configure
blobd974d5b33244823bc5d48d63c06fe05ddbfdbd4c
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 DBUS_LIBS
704 DBUS_CFLAGS
705 INOTIFY_LIBS
706 INOTIFY_CFLAGS
707 PCAP_LIBS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZLIB_PE_LIBS
716 ZLIB_PE_CFLAGS
717 XSLT_PE_LIBS
718 XSLT_PE_CFLAGS
719 XML2_PE_LIBS
720 XML2_PE_CFLAGS
721 TIFF_PE_LIBS
722 TIFF_PE_CFLAGS
723 PNG_PE_LIBS
724 PNG_PE_CFLAGS
725 MPG123_PE_LIBS
726 MPG123_PE_CFLAGS
727 LCMS2_PE_LIBS
728 LCMS2_PE_CFLAGS
729 JXR_PE_LIBS
730 JXR_PE_CFLAGS
731 JPEG_PE_LIBS
732 JPEG_PE_CFLAGS
733 GSM_PE_LIBS
734 GSM_PE_CFLAGS
735 FAUDIO_PE_LIBS
736 FAUDIO_PE_CFLAGS
737 EXCESS_PRECISION_CFLAGS
738 CROSSDEBUG
739 DELAYLOADFLAG
740 CROSSLDFLAGS
741 EXTRACROSSCFLAGS
742 CROSSCFLAGS
743 CROSSCC
744 CROSSTARGET
745 LIBWINE_DEPENDS
746 PRELINK
747 WINELOADER_DEPENDS
748 LIBWINE_LDFLAGS
749 LIBWINE_SHAREDLIB
750 METAL_LIBS
751 CARBON_LIBS
752 QUICKTIME_LIBS
753 OPENCL_LIBS
754 OPENAL_LIBS
755 COREAUDIO_LIBS
756 SECURITY_LIBS
757 DISKARBITRATION_LIBS
758 SYSTEMCONFIGURATION_LIBS
759 APPKIT_LIBS
760 CORESERVICES_LIBS
761 APPLICATIONSERVICES_LIBS
762 IOKIT_LIBS
763 COREFOUNDATION_LIBS
764 ac_ct_OBJC
765 OBJCFLAGS
766 OBJC
767 DLLTOOL
768 WINELOADER_PROGRAMS
769 CONFIGURE_TARGETS
770 DISABLED_SUBDIRS
771 SUBDIRS
772 READELF
773 OTOOL
775 WINEPRELOADER_LDFLAGS
776 WINELOADER_LDFLAGS
777 TOP_INSTALL_DEV
778 TOP_INSTALL_LIB
779 UNIXLDFLAGS
780 UNIXDLLFLAGS
781 EXTRACFLAGS
782 LDEXECFLAGS
783 LDDLLFLAGS
784 DLLFLAGS
785 OPENGL_LIBS
786 I386_LIBS
787 ICOTOOL
788 CONVERT
789 RSVG
790 FONTFORGE
791 PKG_CONFIG
792 MSGFMT
793 LDCONFIG
794 EGREP
795 GREP
796 LN_S
797 RANLIB
798 STRIP
799 ac_ct_AR
801 BISON
802 FLEX
803 api_manext
804 SED_CMD
805 RUNTESTFLAGS
806 MAKEDEP
807 toolsdir
808 toolsext
809 TARGETFLAGS
811 CPPBIN
812 ac_ct_CXX
813 CXXFLAGS
815 OBJEXT
816 EXEEXT
817 ac_ct_CC
818 CPPFLAGS
819 LDFLAGS
820 CFLAGS
822 SET_MAKE
823 srcdir
824 nlsdir
825 fontdir
826 dlldir
827 host_os
828 host_vendor
829 host_cpu
830 host
831 build_os
832 build_vendor
833 build_cpu
834 build
835 system_dllpath
836 target_alias
837 host_alias
838 build_alias
839 LIBS
840 ECHO_T
841 ECHO_N
842 ECHO_C
843 DEFS
844 mandir
845 localedir
846 libdir
847 psdir
848 pdfdir
849 dvidir
850 htmldir
851 infodir
852 docdir
853 oldincludedir
854 includedir
855 runstatedir
856 localstatedir
857 sharedstatedir
858 sysconfdir
859 datadir
860 datarootdir
861 libexecdir
862 sbindir
863 bindir
864 program_transform_name
865 prefix
866 exec_prefix
867 PACKAGE_URL
868 PACKAGE_BUGREPORT
869 PACKAGE_STRING
870 PACKAGE_VERSION
871 PACKAGE_TARNAME
872 PACKAGE_NAME
873 PATH_SEPARATOR
874 SHELL'
875 ac_subst_files=''
876 ac_user_opts='
877 enable_option_checking
878 enable_win16
879 enable_win64
880 enable_tests
881 enable_build_id
882 enable_maintainer_mode
883 enable_silent_rules
884 enable_werror
885 with_alsa
886 with_capi
887 with_coreaudio
888 with_cups
889 with_dbus
890 with_float_abi
891 with_fontconfig
892 with_freetype
893 with_gettext
894 with_gettextpo
895 with_gphoto
896 with_gnutls
897 with_gssapi
898 with_gstreamer
899 with_inotify
900 with_krb5
901 with_ldap
902 with_mingw
903 with_netapi
904 with_openal
905 with_opencl
906 with_opengl
907 with_osmesa
908 with_oss
909 with_pcap
910 with_pthread
911 with_pulse
912 with_quicktime
913 with_sane
914 with_sdl
915 with_udev
916 with_unwind
917 with_usb
918 with_v4l2
919 with_vkd3d
920 with_vulkan
921 with_xcomposite
922 with_xcursor
923 with_xfixes
924 with_xinerama
925 with_xinput
926 with_xinput2
927 with_xrandr
928 with_xrender
929 with_xshape
930 with_xshm
931 with_xxf86vm
932 with_system_dllpath
933 with_wine_tools
934 with_wine64
935 enable_largefile
936 with_x
937 enable_acledit
938 enable_aclui
939 enable_activeds_tlb
940 enable_activeds
941 enable_actxprxy
942 enable_adsldp
943 enable_adsldpc
944 enable_advapi32
945 enable_advpack
946 enable_amsi
947 enable_amstream
948 enable_api_ms_win_appmodel_identity_l1_1_0
949 enable_api_ms_win_appmodel_runtime_l1_1_1
950 enable_api_ms_win_appmodel_runtime_l1_1_2
951 enable_api_ms_win_core_apiquery_l1_1_0
952 enable_api_ms_win_core_appcompat_l1_1_1
953 enable_api_ms_win_core_appinit_l1_1_0
954 enable_api_ms_win_core_atoms_l1_1_0
955 enable_api_ms_win_core_bem_l1_1_0
956 enable_api_ms_win_core_com_l1_1_0
957 enable_api_ms_win_core_com_l1_1_1
958 enable_api_ms_win_core_com_private_l1_1_0
959 enable_api_ms_win_core_comm_l1_1_0
960 enable_api_ms_win_core_console_l1_1_0
961 enable_api_ms_win_core_console_l1_2_0
962 enable_api_ms_win_core_console_l2_1_0
963 enable_api_ms_win_core_console_l3_2_0
964 enable_api_ms_win_core_crt_l1_1_0
965 enable_api_ms_win_core_crt_l2_1_0
966 enable_api_ms_win_core_datetime_l1_1_0
967 enable_api_ms_win_core_datetime_l1_1_1
968 enable_api_ms_win_core_debug_l1_1_0
969 enable_api_ms_win_core_debug_l1_1_1
970 enable_api_ms_win_core_delayload_l1_1_0
971 enable_api_ms_win_core_delayload_l1_1_1
972 enable_api_ms_win_core_errorhandling_l1_1_0
973 enable_api_ms_win_core_errorhandling_l1_1_1
974 enable_api_ms_win_core_errorhandling_l1_1_2
975 enable_api_ms_win_core_errorhandling_l1_1_3
976 enable_api_ms_win_core_featurestaging_l1_1_0
977 enable_api_ms_win_core_fibers_l1_1_0
978 enable_api_ms_win_core_fibers_l1_1_1
979 enable_api_ms_win_core_file_ansi_l2_1_0
980 enable_api_ms_win_core_file_fromapp_l1_1_0
981 enable_api_ms_win_core_file_l1_1_0
982 enable_api_ms_win_core_file_l1_2_0
983 enable_api_ms_win_core_file_l1_2_1
984 enable_api_ms_win_core_file_l1_2_2
985 enable_api_ms_win_core_file_l2_1_0
986 enable_api_ms_win_core_file_l2_1_1
987 enable_api_ms_win_core_file_l2_1_2
988 enable_api_ms_win_core_handle_l1_1_0
989 enable_api_ms_win_core_heap_l1_1_0
990 enable_api_ms_win_core_heap_l1_2_0
991 enable_api_ms_win_core_heap_l2_1_0
992 enable_api_ms_win_core_heap_obsolete_l1_1_0
993 enable_api_ms_win_core_interlocked_l1_1_0
994 enable_api_ms_win_core_interlocked_l1_2_0
995 enable_api_ms_win_core_io_l1_1_0
996 enable_api_ms_win_core_io_l1_1_1
997 enable_api_ms_win_core_job_l1_1_0
998 enable_api_ms_win_core_job_l2_1_0
999 enable_api_ms_win_core_kernel32_legacy_l1_1_0
1000 enable_api_ms_win_core_kernel32_legacy_l1_1_1
1001 enable_api_ms_win_core_kernel32_legacy_l1_1_2
1002 enable_api_ms_win_core_kernel32_legacy_l1_1_5
1003 enable_api_ms_win_core_kernel32_private_l1_1_1
1004 enable_api_ms_win_core_largeinteger_l1_1_0
1005 enable_api_ms_win_core_libraryloader_l1_1_0
1006 enable_api_ms_win_core_libraryloader_l1_1_1
1007 enable_api_ms_win_core_libraryloader_l1_2_0
1008 enable_api_ms_win_core_libraryloader_l1_2_1
1009 enable_api_ms_win_core_libraryloader_l1_2_2
1010 enable_api_ms_win_core_libraryloader_l2_1_0
1011 enable_api_ms_win_core_localization_l1_1_0
1012 enable_api_ms_win_core_localization_l1_2_0
1013 enable_api_ms_win_core_localization_l1_2_1
1014 enable_api_ms_win_core_localization_l1_2_2
1015 enable_api_ms_win_core_localization_l2_1_0
1016 enable_api_ms_win_core_localization_obsolete_l1_1_0
1017 enable_api_ms_win_core_localization_obsolete_l1_2_0
1018 enable_api_ms_win_core_localization_obsolete_l1_3_0
1019 enable_api_ms_win_core_localization_private_l1_1_0
1020 enable_api_ms_win_core_localregistry_l1_1_0
1021 enable_api_ms_win_core_memory_l1_1_0
1022 enable_api_ms_win_core_memory_l1_1_1
1023 enable_api_ms_win_core_memory_l1_1_2
1024 enable_api_ms_win_core_memory_l1_1_3
1025 enable_api_ms_win_core_memory_l1_1_4
1026 enable_api_ms_win_core_misc_l1_1_0
1027 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1028 enable_api_ms_win_core_namedpipe_l1_1_0
1029 enable_api_ms_win_core_namedpipe_l1_2_0
1030 enable_api_ms_win_core_namespace_l1_1_0
1031 enable_api_ms_win_core_normalization_l1_1_0
1032 enable_api_ms_win_core_path_l1_1_0
1033 enable_api_ms_win_core_privateprofile_l1_1_1
1034 enable_api_ms_win_core_processenvironment_l1_1_0
1035 enable_api_ms_win_core_processenvironment_l1_2_0
1036 enable_api_ms_win_core_processthreads_l1_1_0
1037 enable_api_ms_win_core_processthreads_l1_1_1
1038 enable_api_ms_win_core_processthreads_l1_1_2
1039 enable_api_ms_win_core_processthreads_l1_1_3
1040 enable_api_ms_win_core_processtopology_l1_1_0
1041 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1042 enable_api_ms_win_core_profile_l1_1_0
1043 enable_api_ms_win_core_psapi_ansi_l1_1_0
1044 enable_api_ms_win_core_psapi_l1_1_0
1045 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1046 enable_api_ms_win_core_psm_appnotify_l1_1_0
1047 enable_api_ms_win_core_quirks_l1_1_0
1048 enable_api_ms_win_core_realtime_l1_1_0
1049 enable_api_ms_win_core_realtime_l1_1_1
1050 enable_api_ms_win_core_registry_l1_1_0
1051 enable_api_ms_win_core_registry_l2_1_0
1052 enable_api_ms_win_core_registry_l2_2_0
1053 enable_api_ms_win_core_registryuserspecific_l1_1_0
1054 enable_api_ms_win_core_rtlsupport_l1_1_0
1055 enable_api_ms_win_core_rtlsupport_l1_2_0
1056 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1057 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1058 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1059 enable_api_ms_win_core_shutdown_l1_1_0
1060 enable_api_ms_win_core_sidebyside_l1_1_0
1061 enable_api_ms_win_core_string_l1_1_0
1062 enable_api_ms_win_core_string_l2_1_0
1063 enable_api_ms_win_core_string_obsolete_l1_1_0
1064 enable_api_ms_win_core_stringansi_l1_1_0
1065 enable_api_ms_win_core_stringloader_l1_1_1
1066 enable_api_ms_win_core_synch_ansi_l1_1_0
1067 enable_api_ms_win_core_synch_l1_1_0
1068 enable_api_ms_win_core_synch_l1_2_0
1069 enable_api_ms_win_core_synch_l1_2_1
1070 enable_api_ms_win_core_sysinfo_l1_1_0
1071 enable_api_ms_win_core_sysinfo_l1_2_0
1072 enable_api_ms_win_core_sysinfo_l1_2_1
1073 enable_api_ms_win_core_systemtopology_l1_1_0
1074 enable_api_ms_win_core_threadpool_l1_1_0
1075 enable_api_ms_win_core_threadpool_l1_2_0
1076 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1077 enable_api_ms_win_core_threadpool_private_l1_1_0
1078 enable_api_ms_win_core_timezone_l1_1_0
1079 enable_api_ms_win_core_toolhelp_l1_1_0
1080 enable_api_ms_win_core_url_l1_1_0
1081 enable_api_ms_win_core_util_l1_1_0
1082 enable_api_ms_win_core_version_l1_1_0
1083 enable_api_ms_win_core_version_l1_1_1
1084 enable_api_ms_win_core_version_private_l1_1_0
1085 enable_api_ms_win_core_versionansi_l1_1_0
1086 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1087 enable_api_ms_win_core_winrt_error_l1_1_0
1088 enable_api_ms_win_core_winrt_error_l1_1_1
1089 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1090 enable_api_ms_win_core_winrt_l1_1_0
1091 enable_api_ms_win_core_winrt_registration_l1_1_0
1092 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1093 enable_api_ms_win_core_winrt_string_l1_1_0
1094 enable_api_ms_win_core_winrt_string_l1_1_1
1095 enable_api_ms_win_core_wow64_l1_1_0
1096 enable_api_ms_win_core_wow64_l1_1_1
1097 enable_api_ms_win_core_xstate_l1_1_0
1098 enable_api_ms_win_core_xstate_l2_1_0
1099 enable_api_ms_win_crt_conio_l1_1_0
1100 enable_api_ms_win_crt_convert_l1_1_0
1101 enable_api_ms_win_crt_environment_l1_1_0
1102 enable_api_ms_win_crt_filesystem_l1_1_0
1103 enable_api_ms_win_crt_heap_l1_1_0
1104 enable_api_ms_win_crt_locale_l1_1_0
1105 enable_api_ms_win_crt_math_l1_1_0
1106 enable_api_ms_win_crt_multibyte_l1_1_0
1107 enable_api_ms_win_crt_private_l1_1_0
1108 enable_api_ms_win_crt_process_l1_1_0
1109 enable_api_ms_win_crt_runtime_l1_1_0
1110 enable_api_ms_win_crt_stdio_l1_1_0
1111 enable_api_ms_win_crt_string_l1_1_0
1112 enable_api_ms_win_crt_time_l1_1_0
1113 enable_api_ms_win_crt_utility_l1_1_0
1114 enable_api_ms_win_devices_config_l1_1_0
1115 enable_api_ms_win_devices_config_l1_1_1
1116 enable_api_ms_win_devices_query_l1_1_1
1117 enable_api_ms_win_downlevel_advapi32_l1_1_0
1118 enable_api_ms_win_downlevel_advapi32_l2_1_0
1119 enable_api_ms_win_downlevel_kernel32_l2_1_0
1120 enable_api_ms_win_downlevel_normaliz_l1_1_0
1121 enable_api_ms_win_downlevel_ole32_l1_1_0
1122 enable_api_ms_win_downlevel_shell32_l1_1_0
1123 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1124 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1125 enable_api_ms_win_downlevel_user32_l1_1_0
1126 enable_api_ms_win_downlevel_version_l1_1_0
1127 enable_api_ms_win_dx_d3dkmt_l1_1_0
1128 enable_api_ms_win_eventing_classicprovider_l1_1_0
1129 enable_api_ms_win_eventing_consumer_l1_1_0
1130 enable_api_ms_win_eventing_controller_l1_1_0
1131 enable_api_ms_win_eventing_legacy_l1_1_0
1132 enable_api_ms_win_eventing_provider_l1_1_0
1133 enable_api_ms_win_eventlog_legacy_l1_1_0
1134 enable_api_ms_win_gaming_tcui_l1_1_0
1135 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1136 enable_api_ms_win_mm_joystick_l1_1_0
1137 enable_api_ms_win_mm_misc_l1_1_1
1138 enable_api_ms_win_mm_mme_l1_1_0
1139 enable_api_ms_win_mm_time_l1_1_0
1140 enable_api_ms_win_ntuser_dc_access_l1_1_0
1141 enable_api_ms_win_ntuser_rectangle_l1_1_0
1142 enable_api_ms_win_ntuser_sysparams_l1_1_0
1143 enable_api_ms_win_perf_legacy_l1_1_0
1144 enable_api_ms_win_power_base_l1_1_0
1145 enable_api_ms_win_power_setting_l1_1_0
1146 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1147 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1148 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1149 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1150 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1151 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1152 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1153 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1154 enable_api_ms_win_security_audit_l1_1_1
1155 enable_api_ms_win_security_base_l1_1_0
1156 enable_api_ms_win_security_base_l1_2_0
1157 enable_api_ms_win_security_base_private_l1_1_1
1158 enable_api_ms_win_security_credentials_l1_1_0
1159 enable_api_ms_win_security_cryptoapi_l1_1_0
1160 enable_api_ms_win_security_grouppolicy_l1_1_0
1161 enable_api_ms_win_security_lsalookup_l1_1_0
1162 enable_api_ms_win_security_lsalookup_l1_1_1
1163 enable_api_ms_win_security_lsalookup_l2_1_0
1164 enable_api_ms_win_security_lsalookup_l2_1_1
1165 enable_api_ms_win_security_lsapolicy_l1_1_0
1166 enable_api_ms_win_security_provider_l1_1_0
1167 enable_api_ms_win_security_sddl_l1_1_0
1168 enable_api_ms_win_security_systemfunctions_l1_1_0
1169 enable_api_ms_win_service_core_l1_1_0
1170 enable_api_ms_win_service_core_l1_1_1
1171 enable_api_ms_win_service_management_l1_1_0
1172 enable_api_ms_win_service_management_l2_1_0
1173 enable_api_ms_win_service_private_l1_1_1
1174 enable_api_ms_win_service_winsvc_l1_1_0
1175 enable_api_ms_win_service_winsvc_l1_2_0
1176 enable_api_ms_win_shcore_obsolete_l1_1_0
1177 enable_api_ms_win_shcore_scaling_l1_1_0
1178 enable_api_ms_win_shcore_scaling_l1_1_1
1179 enable_api_ms_win_shcore_stream_l1_1_0
1180 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1181 enable_api_ms_win_shcore_thread_l1_1_0
1182 enable_api_ms_win_shell_shellcom_l1_1_0
1183 enable_api_ms_win_shell_shellfolders_l1_1_0
1184 enable_apphelp
1185 enable_appwiz_cpl
1186 enable_atl
1187 enable_atl100
1188 enable_atl110
1189 enable_atl80
1190 enable_atl90
1191 enable_atlthunk
1192 enable_atmlib
1193 enable_authz
1194 enable_avicap32
1195 enable_avifil32
1196 enable_avrt
1197 enable_bcrypt
1198 enable_bluetoothapis
1199 enable_browseui
1200 enable_bthprops_cpl
1201 enable_cabinet
1202 enable_capi2032
1203 enable_cards
1204 enable_cdosys
1205 enable_cfgmgr32
1206 enable_clusapi
1207 enable_cng_sys
1208 enable_combase
1209 enable_comcat
1210 enable_comctl32
1211 enable_comdlg32
1212 enable_compstui
1213 enable_comsvcs
1214 enable_concrt140
1215 enable_connect
1216 enable_credui
1217 enable_crtdll
1218 enable_crypt32
1219 enable_cryptdlg
1220 enable_cryptdll
1221 enable_cryptext
1222 enable_cryptnet
1223 enable_cryptsp
1224 enable_cryptui
1225 enable_ctapi32
1226 enable_ctl3d32
1227 enable_d2d1
1228 enable_d3d10
1229 enable_d3d10_1
1230 enable_d3d10core
1231 enable_d3d11
1232 enable_d3d12
1233 enable_d3d8
1234 enable_d3d8thk
1235 enable_d3d9
1236 enable_d3dcompiler_33
1237 enable_d3dcompiler_34
1238 enable_d3dcompiler_35
1239 enable_d3dcompiler_36
1240 enable_d3dcompiler_37
1241 enable_d3dcompiler_38
1242 enable_d3dcompiler_39
1243 enable_d3dcompiler_40
1244 enable_d3dcompiler_41
1245 enable_d3dcompiler_42
1246 enable_d3dcompiler_43
1247 enable_d3dcompiler_46
1248 enable_d3dcompiler_47
1249 enable_d3dim
1250 enable_d3dim700
1251 enable_d3drm
1252 enable_d3dx10_33
1253 enable_d3dx10_34
1254 enable_d3dx10_35
1255 enable_d3dx10_36
1256 enable_d3dx10_37
1257 enable_d3dx10_38
1258 enable_d3dx10_39
1259 enable_d3dx10_40
1260 enable_d3dx10_41
1261 enable_d3dx10_42
1262 enable_d3dx10_43
1263 enable_d3dx11_42
1264 enable_d3dx11_43
1265 enable_d3dx9_24
1266 enable_d3dx9_25
1267 enable_d3dx9_26
1268 enable_d3dx9_27
1269 enable_d3dx9_28
1270 enable_d3dx9_29
1271 enable_d3dx9_30
1272 enable_d3dx9_31
1273 enable_d3dx9_32
1274 enable_d3dx9_33
1275 enable_d3dx9_34
1276 enable_d3dx9_35
1277 enable_d3dx9_36
1278 enable_d3dx9_37
1279 enable_d3dx9_38
1280 enable_d3dx9_39
1281 enable_d3dx9_40
1282 enable_d3dx9_41
1283 enable_d3dx9_42
1284 enable_d3dx9_43
1285 enable_d3dxof
1286 enable_davclnt
1287 enable_dbgeng
1288 enable_dbghelp
1289 enable_dciman32
1290 enable_dcomp
1291 enable_ddraw
1292 enable_ddrawex
1293 enable_devenum
1294 enable_dhcpcsvc
1295 enable_dhcpcsvc6
1296 enable_dhtmled_ocx
1297 enable_difxapi
1298 enable_dinput
1299 enable_dinput8
1300 enable_directmanipulation
1301 enable_dispex
1302 enable_dmband
1303 enable_dmcompos
1304 enable_dmime
1305 enable_dmloader
1306 enable_dmscript
1307 enable_dmstyle
1308 enable_dmsynth
1309 enable_dmusic
1310 enable_dmusic32
1311 enable_dnsapi
1312 enable_dplay
1313 enable_dplayx
1314 enable_dpnaddr
1315 enable_dpnet
1316 enable_dpnhpast
1317 enable_dpnhupnp
1318 enable_dpnlobby
1319 enable_dpvoice
1320 enable_dpwsockx
1321 enable_drmclien
1322 enable_dsdmo
1323 enable_dsound
1324 enable_dsquery
1325 enable_dssenh
1326 enable_dsuiext
1327 enable_dswave
1328 enable_dwmapi
1329 enable_dwrite
1330 enable_dx8vb
1331 enable_dxdiagn
1332 enable_dxgi
1333 enable_dxtrans
1334 enable_dxva2
1335 enable_esent
1336 enable_evr
1337 enable_explorerframe
1338 enable_ext_ms_win_authz_context_l1_1_0
1339 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1340 enable_ext_ms_win_dwmapi_ext_l1_1_0
1341 enable_ext_ms_win_gdi_dc_create_l1_1_0
1342 enable_ext_ms_win_gdi_dc_create_l1_1_1
1343 enable_ext_ms_win_gdi_dc_l1_2_0
1344 enable_ext_ms_win_gdi_devcaps_l1_1_0
1345 enable_ext_ms_win_gdi_draw_l1_1_0
1346 enable_ext_ms_win_gdi_draw_l1_1_1
1347 enable_ext_ms_win_gdi_font_l1_1_0
1348 enable_ext_ms_win_gdi_font_l1_1_1
1349 enable_ext_ms_win_gdi_render_l1_1_0
1350 enable_ext_ms_win_kernel32_package_current_l1_1_0
1351 enable_ext_ms_win_kernel32_package_l1_1_1
1352 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1353 enable_ext_ms_win_ntuser_draw_l1_1_0
1354 enable_ext_ms_win_ntuser_gui_l1_1_0
1355 enable_ext_ms_win_ntuser_gui_l1_3_0
1356 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1357 enable_ext_ms_win_ntuser_message_l1_1_0
1358 enable_ext_ms_win_ntuser_message_l1_1_1
1359 enable_ext_ms_win_ntuser_misc_l1_1_0
1360 enable_ext_ms_win_ntuser_misc_l1_2_0
1361 enable_ext_ms_win_ntuser_misc_l1_5_1
1362 enable_ext_ms_win_ntuser_mouse_l1_1_0
1363 enable_ext_ms_win_ntuser_private_l1_1_1
1364 enable_ext_ms_win_ntuser_private_l1_3_1
1365 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1366 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1367 enable_ext_ms_win_ntuser_window_l1_1_0
1368 enable_ext_ms_win_ntuser_window_l1_1_1
1369 enable_ext_ms_win_ntuser_window_l1_1_4
1370 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1371 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1372 enable_ext_ms_win_oleacc_l1_1_0
1373 enable_ext_ms_win_ras_rasapi32_l1_1_0
1374 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1375 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1376 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1377 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1378 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1379 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1380 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1381 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1382 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1383 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1384 enable_ext_ms_win_security_credui_l1_1_0
1385 enable_ext_ms_win_security_cryptui_l1_1_0
1386 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1387 enable_ext_ms_win_shell_comdlg32_l1_1_0
1388 enable_ext_ms_win_shell_shell32_l1_2_0
1389 enable_ext_ms_win_uxtheme_themes_l1_1_0
1390 enable_faultrep
1391 enable_feclient
1392 enable_fltlib
1393 enable_fltmgr_sys
1394 enable_fntcache
1395 enable_fontsub
1396 enable_fusion
1397 enable_fwpuclnt
1398 enable_gameux
1399 enable_gamingtcui
1400 enable_gdi32
1401 enable_gdiplus
1402 enable_glu32
1403 enable_gphoto2_ds
1404 enable_gpkcsp
1405 enable_hal
1406 enable_hhctrl_ocx
1407 enable_hid
1408 enable_hidclass_sys
1409 enable_hidparse_sys
1410 enable_hlink
1411 enable_hnetcfg
1412 enable_http_sys
1413 enable_httpapi
1414 enable_iccvid
1415 enable_icmp
1416 enable_ieframe
1417 enable_ieproxy
1418 enable_imaadp32_acm
1419 enable_imagehlp
1420 enable_imm32
1421 enable_inetcomm
1422 enable_inetcpl_cpl
1423 enable_inetmib1
1424 enable_infosoft
1425 enable_initpki
1426 enable_inkobj
1427 enable_inseng
1428 enable_iphlpapi
1429 enable_iprop
1430 enable_irprops_cpl
1431 enable_itircl
1432 enable_itss
1433 enable_joy_cpl
1434 enable_jscript
1435 enable_jsproxy
1436 enable_kerberos
1437 enable_kernel32
1438 enable_kernelbase
1439 enable_ksecdd_sys
1440 enable_ksproxy_ax
1441 enable_ksuser
1442 enable_ktmw32
1443 enable_l3codeca_acm
1444 enable_light_msstyles
1445 enable_loadperf
1446 enable_localspl
1447 enable_localui
1448 enable_lz32
1449 enable_mapi32
1450 enable_mapistub
1451 enable_mciavi32
1452 enable_mcicda
1453 enable_mciqtz32
1454 enable_mciseq
1455 enable_mciwave
1456 enable_mf
1457 enable_mf3216
1458 enable_mferror
1459 enable_mfmediaengine
1460 enable_mfplat
1461 enable_mfplay
1462 enable_mfreadwrite
1463 enable_mgmtapi
1464 enable_midimap
1465 enable_mlang
1466 enable_mmcndmgr
1467 enable_mmdevapi
1468 enable_mountmgr_sys
1469 enable_mp3dmod
1470 enable_mpr
1471 enable_mprapi
1472 enable_msacm32_drv
1473 enable_msacm32
1474 enable_msado15
1475 enable_msadp32_acm
1476 enable_msasn1
1477 enable_mscat32
1478 enable_mscms
1479 enable_mscoree
1480 enable_mscorwks
1481 enable_msctf
1482 enable_msctfmonitor
1483 enable_msctfp
1484 enable_msdaps
1485 enable_msdasql
1486 enable_msdelta
1487 enable_msdmo
1488 enable_msdrm
1489 enable_msftedit
1490 enable_msg711_acm
1491 enable_msgsm32_acm
1492 enable_mshtml_tlb
1493 enable_mshtml
1494 enable_msi
1495 enable_msident
1496 enable_msimg32
1497 enable_msimsg
1498 enable_msimtf
1499 enable_msisip
1500 enable_msisys_ocx
1501 enable_msls31
1502 enable_msnet32
1503 enable_mspatcha
1504 enable_msports
1505 enable_msrle32
1506 enable_msscript_ocx
1507 enable_mssign32
1508 enable_mssip32
1509 enable_mstask
1510 enable_msv1_0
1511 enable_msvcirt
1512 enable_msvcm80
1513 enable_msvcm90
1514 enable_msvcp100
1515 enable_msvcp110
1516 enable_msvcp120
1517 enable_msvcp120_app
1518 enable_msvcp140
1519 enable_msvcp140_1
1520 enable_msvcp60
1521 enable_msvcp70
1522 enable_msvcp71
1523 enable_msvcp80
1524 enable_msvcp90
1525 enable_msvcp_win
1526 enable_msvcr100
1527 enable_msvcr110
1528 enable_msvcr120
1529 enable_msvcr120_app
1530 enable_msvcr70
1531 enable_msvcr71
1532 enable_msvcr80
1533 enable_msvcr90
1534 enable_msvcrt
1535 enable_msvcrt20
1536 enable_msvcrt40
1537 enable_msvcrtd
1538 enable_msvfw32
1539 enable_msvidc32
1540 enable_mswsock
1541 enable_msxml
1542 enable_msxml2
1543 enable_msxml3
1544 enable_msxml4
1545 enable_msxml6
1546 enable_mtxdm
1547 enable_ncrypt
1548 enable_nddeapi
1549 enable_ndis_sys
1550 enable_netapi32
1551 enable_netcfgx
1552 enable_netio_sys
1553 enable_netprofm
1554 enable_netutils
1555 enable_newdev
1556 enable_ninput
1557 enable_normaliz
1558 enable_npmshtml
1559 enable_npptools
1560 enable_nsi
1561 enable_nsiproxy_sys
1562 enable_ntdll
1563 enable_ntdsapi
1564 enable_ntoskrnl_exe
1565 enable_ntprint
1566 enable_objsel
1567 enable_odbc32
1568 enable_odbcbcp
1569 enable_odbccp32
1570 enable_odbccu32
1571 enable_ole32
1572 enable_oleacc
1573 enable_oleaut32
1574 enable_olecli32
1575 enable_oledb32
1576 enable_oledlg
1577 enable_olepro32
1578 enable_olesvr32
1579 enable_olethk32
1580 enable_opcservices
1581 enable_openal32
1582 enable_opencl
1583 enable_opengl32
1584 enable_packager
1585 enable_pdh
1586 enable_photometadatahandler
1587 enable_pidgen
1588 enable_powrprof
1589 enable_printui
1590 enable_prntvpt
1591 enable_propsys
1592 enable_psapi
1593 enable_pstorec
1594 enable_pwrshplugin
1595 enable_qasf
1596 enable_qcap
1597 enable_qdvd
1598 enable_qedit
1599 enable_qmgr
1600 enable_qmgrprxy
1601 enable_quartz
1602 enable_query
1603 enable_qwave
1604 enable_rasapi32
1605 enable_rasdlg
1606 enable_regapi
1607 enable_resutils
1608 enable_riched20
1609 enable_riched32
1610 enable_rpcrt4
1611 enable_rsabase
1612 enable_rsaenh
1613 enable_rstrtmgr
1614 enable_rtutils
1615 enable_rtworkq
1616 enable_samlib
1617 enable_sane_ds
1618 enable_sapi
1619 enable_sas
1620 enable_scarddlg
1621 enable_sccbase
1622 enable_schannel
1623 enable_schedsvc
1624 enable_scrobj
1625 enable_scrrun
1626 enable_scsiport_sys
1627 enable_sechost
1628 enable_secur32
1629 enable_security
1630 enable_sensapi
1631 enable_serialui
1632 enable_setupapi
1633 enable_sfc
1634 enable_sfc_os
1635 enable_shcore
1636 enable_shdoclc
1637 enable_shdocvw
1638 enable_shell32
1639 enable_shfolder
1640 enable_shlwapi
1641 enable_slbcsp
1642 enable_slc
1643 enable_snmpapi
1644 enable_softpub
1645 enable_spoolss
1646 enable_sppc
1647 enable_srclient
1648 enable_srvcli
1649 enable_sspicli
1650 enable_stdole2_tlb
1651 enable_stdole32_tlb
1652 enable_sti
1653 enable_strmbase
1654 enable_strmdll
1655 enable_svrapi
1656 enable_sxs
1657 enable_t2embed
1658 enable_tapi32
1659 enable_taskschd
1660 enable_tbs
1661 enable_tdh
1662 enable_tdi_sys
1663 enable_traffic
1664 enable_twain_32
1665 enable_tzres
1666 enable_ucrtbase
1667 enable_uianimation
1668 enable_uiautomationcore
1669 enable_uiribbon
1670 enable_unicows
1671 enable_updspapi
1672 enable_url
1673 enable_urlmon
1674 enable_usbd_sys
1675 enable_user32
1676 enable_userenv
1677 enable_usp10
1678 enable_utildll
1679 enable_uxtheme
1680 enable_vbscript
1681 enable_vcomp
1682 enable_vcomp100
1683 enable_vcomp110
1684 enable_vcomp120
1685 enable_vcomp140
1686 enable_vcomp90
1687 enable_vcruntime140
1688 enable_vcruntime140_1
1689 enable_vdmdbg
1690 enable_version
1691 enable_vga
1692 enable_virtdisk
1693 enable_vssapi
1694 enable_vulkan_1
1695 enable_wbemdisp
1696 enable_wbemprox
1697 enable_wdscore
1698 enable_webservices
1699 enable_websocket
1700 enable_wer
1701 enable_wevtapi
1702 enable_wevtsvc
1703 enable_wiaservc
1704 enable_wimgapi
1705 enable_win32u
1706 enable_windows_devices_enumeration
1707 enable_windows_gaming_input
1708 enable_windows_globalization
1709 enable_windows_media_devices
1710 enable_windows_media_speech
1711 enable_windowscodecs
1712 enable_windowscodecsext
1713 enable_winealsa_drv
1714 enable_wineandroid_drv
1715 enable_winebus_sys
1716 enable_winecoreaudio_drv
1717 enable_winecrt0
1718 enable_wined3d
1719 enable_winegstreamer
1720 enable_winehid_sys
1721 enable_winejoystick_drv
1722 enable_winemac_drv
1723 enable_winemapi
1724 enable_wineoss_drv
1725 enable_wineps_drv
1726 enable_winepulse_drv
1727 enable_wineqtdecoder
1728 enable_wineusb_sys
1729 enable_winevulkan
1730 enable_winex11_drv
1731 enable_winexinput_sys
1732 enable_wing32
1733 enable_winhttp
1734 enable_wininet
1735 enable_winmm
1736 enable_winnls32
1737 enable_winscard
1738 enable_winspool_drv
1739 enable_winsta
1740 enable_wintab32
1741 enable_wintrust
1742 enable_winusb
1743 enable_wlanapi
1744 enable_wlanui
1745 enable_wldap32
1746 enable_wmasf
1747 enable_wmi
1748 enable_wmiutils
1749 enable_wmp
1750 enable_wmphoto
1751 enable_wmvcore
1752 enable_wnaspi32
1753 enable_wow64
1754 enable_wow64cpu
1755 enable_wow64win
1756 enable_wpc
1757 enable_wpcap
1758 enable_ws2_32
1759 enable_wsdapi
1760 enable_wshom_ocx
1761 enable_wsnmp32
1762 enable_wsock32
1763 enable_wtsapi32
1764 enable_wuapi
1765 enable_wuaueng
1766 enable_x3daudio1_0
1767 enable_x3daudio1_1
1768 enable_x3daudio1_2
1769 enable_x3daudio1_3
1770 enable_x3daudio1_4
1771 enable_x3daudio1_5
1772 enable_x3daudio1_6
1773 enable_x3daudio1_7
1774 enable_xactengine2_0
1775 enable_xactengine2_4
1776 enable_xactengine2_7
1777 enable_xactengine2_9
1778 enable_xactengine3_0
1779 enable_xactengine3_1
1780 enable_xactengine3_2
1781 enable_xactengine3_3
1782 enable_xactengine3_4
1783 enable_xactengine3_5
1784 enable_xactengine3_6
1785 enable_xactengine3_7
1786 enable_xapofx1_1
1787 enable_xapofx1_2
1788 enable_xapofx1_3
1789 enable_xapofx1_4
1790 enable_xapofx1_5
1791 enable_xaudio2_0
1792 enable_xaudio2_1
1793 enable_xaudio2_2
1794 enable_xaudio2_3
1795 enable_xaudio2_4
1796 enable_xaudio2_5
1797 enable_xaudio2_6
1798 enable_xaudio2_7
1799 enable_xaudio2_8
1800 enable_xaudio2_9
1801 enable_xinput1_1
1802 enable_xinput1_2
1803 enable_xinput1_3
1804 enable_xinput1_4
1805 enable_xinput9_1_0
1806 enable_xmllite
1807 enable_xolehlp
1808 enable_xpsprint
1809 enable_xpssvcs
1810 enable_fonts
1811 enable_include
1812 enable_adsiid
1813 enable_dmoguids
1814 enable_dxerr8
1815 enable_dxerr9
1816 enable_dxguid
1817 enable_faudio
1818 enable_gsm
1819 enable_jpeg
1820 enable_jxr
1821 enable_lcms2
1822 enable_mfuuid
1823 enable_mpg123
1824 enable_png
1825 enable_strmiids
1826 enable_tiff
1827 enable_uuid
1828 enable_wbemuuid
1829 enable_wine
1830 enable_wmcodecdspuuid
1831 enable_xml2
1832 enable_xslt
1833 enable_zlib
1834 enable_loader
1835 enable_nls
1836 enable_po
1837 enable_arp
1838 enable_aspnet_regiis
1839 enable_attrib
1840 enable_cabarc
1841 enable_cacls
1842 enable_chcp_com
1843 enable_clock
1844 enable_cmd
1845 enable_conhost
1846 enable_control
1847 enable_cscript
1848 enable_dism
1849 enable_dplaysvr
1850 enable_dpnsvr
1851 enable_dpvsetup
1852 enable_dxdiag
1853 enable_eject
1854 enable_expand
1855 enable_explorer
1856 enable_extrac32
1857 enable_fc
1858 enable_find
1859 enable_findstr
1860 enable_fsutil
1861 enable_hh
1862 enable_hostname
1863 enable_icacls
1864 enable_icinfo
1865 enable_iexplore
1866 enable_ipconfig
1867 enable_lodctr
1868 enable_mofcomp
1869 enable_mshta
1870 enable_msidb
1871 enable_msiexec
1872 enable_msinfo32
1873 enable_net
1874 enable_netsh
1875 enable_netstat
1876 enable_ngen
1877 enable_notepad
1878 enable_oleview
1879 enable_ping
1880 enable_plugplay
1881 enable_powershell
1882 enable_presentationfontcache
1883 enable_progman
1884 enable_reg
1885 enable_regasm
1886 enable_regedit
1887 enable_regini
1888 enable_regsvcs
1889 enable_regsvr32
1890 enable_robocopy
1891 enable_rpcss
1892 enable_rundll32
1893 enable_sc
1894 enable_schtasks
1895 enable_sdbinst
1896 enable_secedit
1897 enable_servicemodelreg
1898 enable_services
1899 enable_shutdown
1900 enable_spoolsv
1901 enable_start
1902 enable_subst
1903 enable_svchost
1904 enable_systeminfo
1905 enable_taskkill
1906 enable_tasklist
1907 enable_taskmgr
1908 enable_termsv
1909 enable_uninstaller
1910 enable_unlodctr
1911 enable_view
1912 enable_wevtutil
1913 enable_where
1914 enable_whoami
1915 enable_wineboot
1916 enable_winebrowser
1917 enable_winecfg
1918 enable_wineconsole
1919 enable_winedbg
1920 enable_winedevice
1921 enable_winefile
1922 enable_winemenubuilder
1923 enable_winemine
1924 enable_winemsibuilder
1925 enable_winepath
1926 enable_winetest
1927 enable_winhlp32
1928 enable_winmgmt
1929 enable_winver
1930 enable_wmic
1931 enable_wmplayer
1932 enable_wordpad
1933 enable_write
1934 enable_wscript
1935 enable_wuauserv
1936 enable_wusa
1937 enable_xcopy
1938 enable_server
1939 enable_tools
1940 enable_sfnt2fon
1941 enable_widl
1942 enable_winebuild
1943 enable_winedump
1944 enable_winegcc
1945 enable_winemaker
1946 enable_wmc
1947 enable_wrc
1949 ac_precious_vars='build_alias
1950 host_alias
1951 target_alias
1953 CFLAGS
1954 LDFLAGS
1955 LIBS
1956 CPPFLAGS
1958 CXXFLAGS
1960 OBJC
1961 OBJCFLAGS
1962 FAUDIO_PE_CFLAGS
1963 FAUDIO_PE_LIBS
1964 GSM_PE_CFLAGS
1965 GSM_PE_LIBS
1966 JPEG_PE_CFLAGS
1967 JPEG_PE_LIBS
1968 JXR_PE_CFLAGS
1969 JXR_PE_LIBS
1970 LCMS2_PE_CFLAGS
1971 LCMS2_PE_LIBS
1972 MPG123_PE_CFLAGS
1973 MPG123_PE_LIBS
1974 PNG_PE_CFLAGS
1975 PNG_PE_LIBS
1976 TIFF_PE_CFLAGS
1977 TIFF_PE_LIBS
1978 XML2_PE_CFLAGS
1979 XML2_PE_LIBS
1980 XSLT_PE_CFLAGS
1981 XSLT_PE_LIBS
1982 ZLIB_PE_CFLAGS
1983 ZLIB_PE_LIBS
1984 XMKMF
1986 INOTIFY_CFLAGS
1987 INOTIFY_LIBS
1988 DBUS_CFLAGS
1989 DBUS_LIBS
1990 GNUTLS_CFLAGS
1991 GNUTLS_LIBS
1992 SANE_CFLAGS
1993 SANE_LIBS
1994 USB_CFLAGS
1995 USB_LIBS
1996 GPHOTO2_CFLAGS
1997 GPHOTO2_LIBS
1998 GPHOTO2_PORT_CFLAGS
1999 GPHOTO2_PORT_LIBS
2000 FREETYPE_CFLAGS
2001 FREETYPE_LIBS
2002 PULSE_CFLAGS
2003 PULSE_LIBS
2004 GSTREAMER_CFLAGS
2005 GSTREAMER_LIBS
2006 UDEV_CFLAGS
2007 UDEV_LIBS
2008 UNWIND_CFLAGS
2009 UNWIND_LIBS
2010 SDL2_CFLAGS
2011 SDL2_LIBS
2012 CAPI20_CFLAGS
2013 CAPI20_LIBS
2014 CUPS_CFLAGS
2015 CUPS_LIBS
2016 FONTCONFIG_CFLAGS
2017 FONTCONFIG_LIBS
2018 KRB5_CFLAGS
2019 KRB5_LIBS
2020 GSSAPI_CFLAGS
2021 GSSAPI_LIBS
2022 NETAPI_CFLAGS
2023 NETAPI_LIBS
2024 VKD3D_CFLAGS
2025 VKD3D_LIBS
2026 VKD3D_SHADER_CFLAGS
2027 VKD3D_SHADER_LIBS
2028 LDAP_CFLAGS
2029 LDAP_LIBS'
2032 # Initialize some variables set by options.
2033 ac_init_help=
2034 ac_init_version=false
2035 ac_unrecognized_opts=
2036 ac_unrecognized_sep=
2037 # The variables have the same names as the options, with
2038 # dashes changed to underlines.
2039 cache_file=/dev/null
2040 exec_prefix=NONE
2041 no_create=
2042 no_recursion=
2043 prefix=NONE
2044 program_prefix=NONE
2045 program_suffix=NONE
2046 program_transform_name=s,x,x,
2047 silent=
2048 site=
2049 srcdir=
2050 verbose=
2051 x_includes=NONE
2052 x_libraries=NONE
2054 # Installation directory options.
2055 # These are left unexpanded so users can "make install exec_prefix=/foo"
2056 # and all the variables that are supposed to be based on exec_prefix
2057 # by default will actually change.
2058 # Use braces instead of parens because sh, perl, etc. also accept them.
2059 # (The list follows the same order as the GNU Coding Standards.)
2060 bindir='${exec_prefix}/bin'
2061 sbindir='${exec_prefix}/sbin'
2062 libexecdir='${exec_prefix}/libexec'
2063 datarootdir='${prefix}/share'
2064 datadir='${datarootdir}'
2065 sysconfdir='${prefix}/etc'
2066 sharedstatedir='${prefix}/com'
2067 localstatedir='${prefix}/var'
2068 runstatedir='${localstatedir}/run'
2069 includedir='${prefix}/include'
2070 oldincludedir='/usr/include'
2071 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2072 infodir='${datarootdir}/info'
2073 htmldir='${docdir}'
2074 dvidir='${docdir}'
2075 pdfdir='${docdir}'
2076 psdir='${docdir}'
2077 libdir='${exec_prefix}/lib'
2078 localedir='${datarootdir}/locale'
2079 mandir='${datarootdir}/man'
2081 ac_prev=
2082 ac_dashdash=
2083 for ac_option
2085 # If the previous option needs an argument, assign it.
2086 if test -n "$ac_prev"; then
2087 eval $ac_prev=\$ac_option
2088 ac_prev=
2089 continue
2092 case $ac_option in
2093 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2094 *=) ac_optarg= ;;
2095 *) ac_optarg=yes ;;
2096 esac
2098 case $ac_dashdash$ac_option in
2100 ac_dashdash=yes ;;
2102 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2103 ac_prev=bindir ;;
2104 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2105 bindir=$ac_optarg ;;
2107 -build | --build | --buil | --bui | --bu)
2108 ac_prev=build_alias ;;
2109 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2110 build_alias=$ac_optarg ;;
2112 -cache-file | --cache-file | --cache-fil | --cache-fi \
2113 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2114 ac_prev=cache_file ;;
2115 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2116 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2117 cache_file=$ac_optarg ;;
2119 --config-cache | -C)
2120 cache_file=config.cache ;;
2122 -datadir | --datadir | --datadi | --datad)
2123 ac_prev=datadir ;;
2124 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2125 datadir=$ac_optarg ;;
2127 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2128 | --dataroo | --dataro | --datar)
2129 ac_prev=datarootdir ;;
2130 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2131 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2132 datarootdir=$ac_optarg ;;
2134 -disable-* | --disable-*)
2135 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2136 # Reject names that are not valid shell variable names.
2137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2138 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2139 ac_useropt_orig=$ac_useropt
2140 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2141 case $ac_user_opts in
2143 "enable_$ac_useropt"
2144 "*) ;;
2145 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2146 ac_unrecognized_sep=', ';;
2147 esac
2148 eval enable_$ac_useropt=no ;;
2150 -docdir | --docdir | --docdi | --doc | --do)
2151 ac_prev=docdir ;;
2152 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2153 docdir=$ac_optarg ;;
2155 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2156 ac_prev=dvidir ;;
2157 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2158 dvidir=$ac_optarg ;;
2160 -enable-* | --enable-*)
2161 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2162 # Reject names that are not valid shell variable names.
2163 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2164 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2165 ac_useropt_orig=$ac_useropt
2166 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2167 case $ac_user_opts in
2169 "enable_$ac_useropt"
2170 "*) ;;
2171 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2172 ac_unrecognized_sep=', ';;
2173 esac
2174 eval enable_$ac_useropt=\$ac_optarg ;;
2176 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2177 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2178 | --exec | --exe | --ex)
2179 ac_prev=exec_prefix ;;
2180 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2181 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2182 | --exec=* | --exe=* | --ex=*)
2183 exec_prefix=$ac_optarg ;;
2185 -gas | --gas | --ga | --g)
2186 # Obsolete; use --with-gas.
2187 with_gas=yes ;;
2189 -help | --help | --hel | --he | -h)
2190 ac_init_help=long ;;
2191 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2192 ac_init_help=recursive ;;
2193 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2194 ac_init_help=short ;;
2196 -host | --host | --hos | --ho)
2197 ac_prev=host_alias ;;
2198 -host=* | --host=* | --hos=* | --ho=*)
2199 host_alias=$ac_optarg ;;
2201 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2202 ac_prev=htmldir ;;
2203 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2204 | --ht=*)
2205 htmldir=$ac_optarg ;;
2207 -includedir | --includedir | --includedi | --included | --include \
2208 | --includ | --inclu | --incl | --inc)
2209 ac_prev=includedir ;;
2210 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2211 | --includ=* | --inclu=* | --incl=* | --inc=*)
2212 includedir=$ac_optarg ;;
2214 -infodir | --infodir | --infodi | --infod | --info | --inf)
2215 ac_prev=infodir ;;
2216 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2217 infodir=$ac_optarg ;;
2219 -libdir | --libdir | --libdi | --libd)
2220 ac_prev=libdir ;;
2221 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2222 libdir=$ac_optarg ;;
2224 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2225 | --libexe | --libex | --libe)
2226 ac_prev=libexecdir ;;
2227 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2228 | --libexe=* | --libex=* | --libe=*)
2229 libexecdir=$ac_optarg ;;
2231 -localedir | --localedir | --localedi | --localed | --locale)
2232 ac_prev=localedir ;;
2233 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2234 localedir=$ac_optarg ;;
2236 -localstatedir | --localstatedir | --localstatedi | --localstated \
2237 | --localstate | --localstat | --localsta | --localst | --locals)
2238 ac_prev=localstatedir ;;
2239 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2240 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2241 localstatedir=$ac_optarg ;;
2243 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2244 ac_prev=mandir ;;
2245 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2246 mandir=$ac_optarg ;;
2248 -nfp | --nfp | --nf)
2249 # Obsolete; use --without-fp.
2250 with_fp=no ;;
2252 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2253 | --no-cr | --no-c | -n)
2254 no_create=yes ;;
2256 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2257 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2258 no_recursion=yes ;;
2260 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2261 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2262 | --oldin | --oldi | --old | --ol | --o)
2263 ac_prev=oldincludedir ;;
2264 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2265 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2266 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2267 oldincludedir=$ac_optarg ;;
2269 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2270 ac_prev=prefix ;;
2271 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2272 prefix=$ac_optarg ;;
2274 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2275 | --program-pre | --program-pr | --program-p)
2276 ac_prev=program_prefix ;;
2277 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2278 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2279 program_prefix=$ac_optarg ;;
2281 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2282 | --program-suf | --program-su | --program-s)
2283 ac_prev=program_suffix ;;
2284 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2285 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2286 program_suffix=$ac_optarg ;;
2288 -program-transform-name | --program-transform-name \
2289 | --program-transform-nam | --program-transform-na \
2290 | --program-transform-n | --program-transform- \
2291 | --program-transform | --program-transfor \
2292 | --program-transfo | --program-transf \
2293 | --program-trans | --program-tran \
2294 | --progr-tra | --program-tr | --program-t)
2295 ac_prev=program_transform_name ;;
2296 -program-transform-name=* | --program-transform-name=* \
2297 | --program-transform-nam=* | --program-transform-na=* \
2298 | --program-transform-n=* | --program-transform-=* \
2299 | --program-transform=* | --program-transfor=* \
2300 | --program-transfo=* | --program-transf=* \
2301 | --program-trans=* | --program-tran=* \
2302 | --progr-tra=* | --program-tr=* | --program-t=*)
2303 program_transform_name=$ac_optarg ;;
2305 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2306 ac_prev=pdfdir ;;
2307 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2308 pdfdir=$ac_optarg ;;
2310 -psdir | --psdir | --psdi | --psd | --ps)
2311 ac_prev=psdir ;;
2312 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2313 psdir=$ac_optarg ;;
2315 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2316 | -silent | --silent | --silen | --sile | --sil)
2317 silent=yes ;;
2319 -runstatedir | --runstatedir | --runstatedi | --runstated \
2320 | --runstate | --runstat | --runsta | --runst | --runs \
2321 | --run | --ru | --r)
2322 ac_prev=runstatedir ;;
2323 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2324 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2325 | --run=* | --ru=* | --r=*)
2326 runstatedir=$ac_optarg ;;
2328 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2329 ac_prev=sbindir ;;
2330 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2331 | --sbi=* | --sb=*)
2332 sbindir=$ac_optarg ;;
2334 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2335 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2336 | --sharedst | --shareds | --shared | --share | --shar \
2337 | --sha | --sh)
2338 ac_prev=sharedstatedir ;;
2339 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2340 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2341 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2342 | --sha=* | --sh=*)
2343 sharedstatedir=$ac_optarg ;;
2345 -site | --site | --sit)
2346 ac_prev=site ;;
2347 -site=* | --site=* | --sit=*)
2348 site=$ac_optarg ;;
2350 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2351 ac_prev=srcdir ;;
2352 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2353 srcdir=$ac_optarg ;;
2355 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2356 | --syscon | --sysco | --sysc | --sys | --sy)
2357 ac_prev=sysconfdir ;;
2358 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2359 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2360 sysconfdir=$ac_optarg ;;
2362 -target | --target | --targe | --targ | --tar | --ta | --t)
2363 ac_prev=target_alias ;;
2364 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2365 target_alias=$ac_optarg ;;
2367 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2368 verbose=yes ;;
2370 -version | --version | --versio | --versi | --vers | -V)
2371 ac_init_version=: ;;
2373 -with-* | --with-*)
2374 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2375 # Reject names that are not valid shell variable names.
2376 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2377 as_fn_error $? "invalid package name: \`$ac_useropt'"
2378 ac_useropt_orig=$ac_useropt
2379 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2380 case $ac_user_opts in
2382 "with_$ac_useropt"
2383 "*) ;;
2384 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2385 ac_unrecognized_sep=', ';;
2386 esac
2387 eval with_$ac_useropt=\$ac_optarg ;;
2389 -without-* | --without-*)
2390 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2391 # Reject names that are not valid shell variable names.
2392 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2393 as_fn_error $? "invalid package name: \`$ac_useropt'"
2394 ac_useropt_orig=$ac_useropt
2395 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2396 case $ac_user_opts in
2398 "with_$ac_useropt"
2399 "*) ;;
2400 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2401 ac_unrecognized_sep=', ';;
2402 esac
2403 eval with_$ac_useropt=no ;;
2405 --x)
2406 # Obsolete; use --with-x.
2407 with_x=yes ;;
2409 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2410 | --x-incl | --x-inc | --x-in | --x-i)
2411 ac_prev=x_includes ;;
2412 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2413 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2414 x_includes=$ac_optarg ;;
2416 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2417 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2418 ac_prev=x_libraries ;;
2419 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2420 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2421 x_libraries=$ac_optarg ;;
2423 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2424 Try \`$0 --help' for more information"
2427 *=*)
2428 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2429 # Reject names that are not valid shell variable names.
2430 case $ac_envvar in #(
2431 '' | [0-9]* | *[!_$as_cr_alnum]* )
2432 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2433 esac
2434 eval $ac_envvar=\$ac_optarg
2435 export $ac_envvar ;;
2438 # FIXME: should be removed in autoconf 3.0.
2439 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2440 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2441 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2442 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2445 esac
2446 done
2448 if test -n "$ac_prev"; then
2449 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2450 as_fn_error $? "missing argument to $ac_option"
2453 if test -n "$ac_unrecognized_opts"; then
2454 case $enable_option_checking in
2455 no) ;;
2456 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2457 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2458 esac
2461 # Check all directory arguments for consistency.
2462 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2463 datadir sysconfdir sharedstatedir localstatedir includedir \
2464 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2465 libdir localedir mandir runstatedir
2467 eval ac_val=\$$ac_var
2468 # Remove trailing slashes.
2469 case $ac_val in
2470 */ )
2471 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2472 eval $ac_var=\$ac_val;;
2473 esac
2474 # Be sure to have absolute directory names.
2475 case $ac_val in
2476 [\\/$]* | ?:[\\/]* ) continue;;
2477 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2478 esac
2479 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2480 done
2482 # There might be people who depend on the old broken behavior: `$host'
2483 # used to hold the argument of --host etc.
2484 # FIXME: To remove some day.
2485 build=$build_alias
2486 host=$host_alias
2487 target=$target_alias
2489 # FIXME: To remove some day.
2490 if test "x$host_alias" != x; then
2491 if test "x$build_alias" = x; then
2492 cross_compiling=maybe
2493 elif test "x$build_alias" != "x$host_alias"; then
2494 cross_compiling=yes
2498 ac_tool_prefix=
2499 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2501 test "$silent" = yes && exec 6>/dev/null
2504 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2505 ac_ls_di=`ls -di .` &&
2506 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2507 as_fn_error $? "working directory cannot be determined"
2508 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2509 as_fn_error $? "pwd does not report name of working directory"
2512 # Find the source files, if location was not specified.
2513 if test -z "$srcdir"; then
2514 ac_srcdir_defaulted=yes
2515 # Try the directory containing this script, then the parent directory.
2516 ac_confdir=`$as_dirname -- "$as_myself" ||
2517 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2518 X"$as_myself" : 'X\(//\)[^/]' \| \
2519 X"$as_myself" : 'X\(//\)$' \| \
2520 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2521 printf "%s\n" X"$as_myself" |
2522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2523 s//\1/
2526 /^X\(\/\/\)[^/].*/{
2527 s//\1/
2530 /^X\(\/\/\)$/{
2531 s//\1/
2534 /^X\(\/\).*/{
2535 s//\1/
2538 s/.*/./; q'`
2539 srcdir=$ac_confdir
2540 if test ! -r "$srcdir/$ac_unique_file"; then
2541 srcdir=..
2543 else
2544 ac_srcdir_defaulted=no
2546 if test ! -r "$srcdir/$ac_unique_file"; then
2547 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2548 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2550 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2551 ac_abs_confdir=`(
2552 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2553 pwd)`
2554 # When building in place, set srcdir=.
2555 if test "$ac_abs_confdir" = "$ac_pwd"; then
2556 srcdir=.
2558 # Remove unnecessary trailing slashes from srcdir.
2559 # Double slashes in file names in object file debugging info
2560 # mess up M-x gdb in Emacs.
2561 case $srcdir in
2562 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2563 esac
2564 for ac_var in $ac_precious_vars; do
2565 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2566 eval ac_env_${ac_var}_value=\$${ac_var}
2567 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2568 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2569 done
2572 # Report the --help message.
2574 if test "$ac_init_help" = "long"; then
2575 # Omit some internal or obsolete options to make the list less imposing.
2576 # This message is too long to be a string in the A/UX 3.1 sh.
2577 cat <<_ACEOF
2578 \`configure' configures Wine 6.22 to adapt to many kinds of systems.
2580 Usage: $0 [OPTION]... [VAR=VALUE]...
2582 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2583 VAR=VALUE. See below for descriptions of some of the useful variables.
2585 Defaults for the options are specified in brackets.
2587 Configuration:
2588 -h, --help display this help and exit
2589 --help=short display options specific to this package
2590 --help=recursive display the short help of all the included packages
2591 -V, --version display version information and exit
2592 -q, --quiet, --silent do not print \`checking ...' messages
2593 --cache-file=FILE cache test results in FILE [disabled]
2594 -C, --config-cache alias for \`--cache-file=config.cache'
2595 -n, --no-create do not create output files
2596 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2598 Installation directories:
2599 --prefix=PREFIX install architecture-independent files in PREFIX
2600 [$ac_default_prefix]
2601 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2602 [PREFIX]
2604 By default, \`make install' will install all the files in
2605 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2606 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2607 for instance \`--prefix=\$HOME'.
2609 For better control, use the options below.
2611 Fine tuning of the installation directories:
2612 --bindir=DIR user executables [EPREFIX/bin]
2613 --sbindir=DIR system admin executables [EPREFIX/sbin]
2614 --libexecdir=DIR program executables [EPREFIX/libexec]
2615 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2616 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2617 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2618 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2619 --libdir=DIR object code libraries [EPREFIX/lib]
2620 --includedir=DIR C header files [PREFIX/include]
2621 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2622 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2623 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2624 --infodir=DIR info documentation [DATAROOTDIR/info]
2625 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2626 --mandir=DIR man documentation [DATAROOTDIR/man]
2627 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2628 --htmldir=DIR html documentation [DOCDIR]
2629 --dvidir=DIR dvi documentation [DOCDIR]
2630 --pdfdir=DIR pdf documentation [DOCDIR]
2631 --psdir=DIR ps documentation [DOCDIR]
2632 _ACEOF
2634 cat <<\_ACEOF
2636 X features:
2637 --x-includes=DIR X include files are in DIR
2638 --x-libraries=DIR X library files are in DIR
2640 System types:
2641 --build=BUILD configure for building on BUILD [guessed]
2642 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2643 _ACEOF
2646 if test -n "$ac_init_help"; then
2647 case $ac_init_help in
2648 short | recursive ) echo "Configuration of Wine 6.22:";;
2649 esac
2650 cat <<\_ACEOF
2652 Optional Features:
2653 --disable-option-checking ignore unrecognized --enable/--with options
2654 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2655 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2656 --disable-win16 do not include Win16 support
2657 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2658 binaries)
2659 --disable-tests do not build the regression tests
2660 --enable-build-id include .buildid section in output objects
2661 --enable-maintainer-mode
2662 enable maintainer-specific build rules
2663 --enable-silent-rules use silent build rules (override: "make V=1")
2664 --enable-werror treat compilation warnings as errors
2665 --disable-largefile omit support for large files
2667 Optional Packages:
2668 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2669 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2670 --without-alsa do not use the Alsa sound support
2671 --without-capi do not use CAPI (ISDN support)
2672 --without-coreaudio do not use the CoreAudio sound support
2673 --without-cups do not use CUPS
2674 --without-dbus do not use DBus (dynamic device support)
2675 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2676 --without-fontconfig do not use fontconfig
2677 --without-freetype do not use the FreeType library
2678 --without-gettext do not use gettext
2679 --with-gettextpo use the GetTextPO library to rebuild po files
2680 --without-gphoto do not use gphoto (Digital Camera support)
2681 --without-gnutls do not use GnuTLS (schannel support)
2682 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2683 --without-gstreamer do not use GStreamer (codecs support)
2684 --without-inotify do not use inotify (filesystem change notifications)
2685 --without-krb5 do not use krb5 (Kerberos)
2686 --without-ldap do not use LDAP
2687 --without-mingw do not use the MinGW cross-compiler
2688 --without-netapi do not use the Samba NetAPI library
2689 --without-openal do not use OpenAL
2690 --without-opencl do not use OpenCL
2691 --without-opengl do not use OpenGL
2692 --without-osmesa do not use the OSMesa library
2693 --without-oss do not use the OSS sound support
2694 --without-pcap do not use the Packet Capture library
2695 --without-pthread do not use the pthread library
2696 --without-pulse do not use PulseAudio sound support
2697 --without-quicktime do not use QuickTime support
2698 --without-sane do not use SANE (scanner support)
2699 --without-sdl do not use SDL
2700 --without-udev do not use udev (plug and play support)
2701 --without-unwind do not use the libunwind library (exception
2702 handling)
2703 --without-usb do not use the libusb library
2704 --without-v4l2 do not use v4l2 (video capture)
2705 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2706 --without-vulkan do not use Vulkan
2707 --without-xcomposite do not use the Xcomposite extension
2708 --without-xcursor do not use the Xcursor extension
2709 --without-xfixes do not use Xfixes for clipboard change notifications
2710 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2711 --without-xinput do not use the Xinput extension
2712 --without-xinput2 do not use the Xinput 2 extension
2713 --without-xrandr do not use Xrandr (multi-monitor support)
2714 --without-xrender do not use the Xrender extension
2715 --without-xshape do not use the Xshape extension
2716 --without-xshm do not use XShm (shared memory extension)
2717 --without-xxf86vm do not use XFree video mode extension
2718 --with-system-dllpath=PATH
2719 load external PE dependencies from colon-separated
2720 path PATH
2721 --with-wine-tools=DIR use Wine tools from directory DIR
2722 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2723 --with-x use the X Window System
2725 Some influential environment variables:
2726 CC C compiler command
2727 CFLAGS C compiler flags
2728 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2729 nonstandard directory <lib dir>
2730 LIBS libraries to pass to the linker, e.g. -l<library>
2731 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2732 you have headers in a nonstandard directory <include dir>
2733 CXX C++ compiler command
2734 CXXFLAGS C++ compiler flags
2735 OBJC Objective C compiler command
2736 OBJCFLAGS Objective C compiler flags
2737 FAUDIO_PE_CFLAGS
2738 C compiler flags for the PE faudio, overriding the bundled
2739 version
2740 FAUDIO_PE_LIBS
2741 Linker flags for the PE faudio, overriding the bundled version
2742 GSM_PE_CFLAGS
2743 C compiler flags for the PE gsm, overriding the bundled version
2744 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2745 JPEG_PE_CFLAGS
2746 C compiler flags for the PE jpeg, overriding the bundled version
2747 JPEG_PE_LIBS
2748 Linker flags for the PE jpeg, overriding the bundled version
2749 JXR_PE_CFLAGS
2750 C compiler flags for the PE jxr, overriding the bundled version
2751 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2752 LCMS2_PE_CFLAGS
2753 C compiler flags for the PE lcms2, overriding the bundled
2754 version
2755 LCMS2_PE_LIBS
2756 Linker flags for the PE lcms2, overriding the bundled version
2757 MPG123_PE_CFLAGS
2758 C compiler flags for the PE mpg123, overriding the bundled
2759 version
2760 MPG123_PE_LIBS
2761 Linker flags for the PE mpg123, overriding the bundled version
2762 PNG_PE_CFLAGS
2763 C compiler flags for the PE png, overriding the bundled version
2764 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2765 TIFF_PE_CFLAGS
2766 C compiler flags for the PE tiff, overriding the bundled version
2767 TIFF_PE_LIBS
2768 Linker flags for the PE tiff, overriding the bundled version
2769 XML2_PE_CFLAGS
2770 C compiler flags for the PE libxml2, overriding the bundled
2771 version
2772 XML2_PE_LIBS
2773 Linker flags for the PE libxml2, overriding the bundled version
2774 XSLT_PE_CFLAGS
2775 C compiler flags for the PE libxslt, overriding the bundled
2776 version
2777 XSLT_PE_LIBS
2778 Linker flags for the PE libxslt, overriding the bundled version
2779 ZLIB_PE_CFLAGS
2780 C compiler flags for the PE zlib, overriding the bundled version
2781 ZLIB_PE_LIBS
2782 Linker flags for the PE zlib, overriding the bundled version
2783 XMKMF Path to xmkmf, Makefile generator for X Window System
2784 CPP C preprocessor
2785 INOTIFY_CFLAGS
2786 C compiler flags for libinotify, overriding pkg-config
2787 INOTIFY_LIBS
2788 Linker flags for libinotify, overriding pkg-config
2789 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2790 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2791 GNUTLS_CFLAGS
2792 C compiler flags for gnutls, overriding pkg-config
2793 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2794 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2795 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2796 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2797 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2798 GPHOTO2_CFLAGS
2799 C compiler flags for libgphoto2, overriding pkg-config
2800 GPHOTO2_LIBS
2801 Linker flags for libgphoto2, overriding pkg-config
2802 GPHOTO2_PORT_CFLAGS
2803 C compiler flags for libgphoto2_port, overriding pkg-config
2804 GPHOTO2_PORT_LIBS
2805 Linker flags for libgphoto2_port, overriding pkg-config
2806 FREETYPE_CFLAGS
2807 C compiler flags for freetype2, overriding pkg-config
2808 FREETYPE_LIBS
2809 Linker flags for freetype2, overriding pkg-config
2810 PULSE_CFLAGS
2811 C compiler flags for libpulse, overriding pkg-config
2812 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2813 GSTREAMER_CFLAGS
2814 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2815 gstreamer-audio-1.0, overriding pkg-config
2816 GSTREAMER_LIBS
2817 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2818 gstreamer-audio-1.0, overriding pkg-config
2819 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2820 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2821 UNWIND_CFLAGS
2822 C compiler flags for libunwind, overriding pkg-config
2823 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2824 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2825 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2826 CAPI20_CFLAGS
2827 C compiler flags for capi20, overriding pkg-config
2828 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2829 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2830 CUPS_LIBS Linker flags for cups, overriding pkg-config
2831 FONTCONFIG_CFLAGS
2832 C compiler flags for fontconfig, overriding pkg-config
2833 FONTCONFIG_LIBS
2834 Linker flags for fontconfig, overriding pkg-config
2835 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2836 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2837 GSSAPI_CFLAGS
2838 C compiler flags for krb5-gssapi, overriding pkg-config
2839 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2840 NETAPI_CFLAGS
2841 C compiler flags for netapi, overriding pkg-config
2842 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2843 VKD3D_CFLAGS
2844 C compiler flags for libvkd3d, overriding pkg-config
2845 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2846 VKD3D_SHADER_CFLAGS
2847 C compiler flags for libvkd3d-shader, overriding pkg-config
2848 VKD3D_SHADER_LIBS
2849 Linker flags for libvkd3d-shader, overriding pkg-config
2850 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2851 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2853 Use these variables to override the choices made by `configure' or to help
2854 it to find libraries and programs with nonstandard names/locations.
2856 Report bugs to <wine-devel@winehq.org>.
2857 Wine home page: <https://www.winehq.org>.
2858 _ACEOF
2859 ac_status=$?
2862 if test "$ac_init_help" = "recursive"; then
2863 # If there are subdirs, report their specific --help.
2864 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2865 test -d "$ac_dir" ||
2866 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2867 continue
2868 ac_builddir=.
2870 case "$ac_dir" in
2871 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2873 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2874 # A ".." for each directory in $ac_dir_suffix.
2875 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2876 case $ac_top_builddir_sub in
2877 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2878 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2879 esac ;;
2880 esac
2881 ac_abs_top_builddir=$ac_pwd
2882 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2883 # for backward compatibility:
2884 ac_top_builddir=$ac_top_build_prefix
2886 case $srcdir in
2887 .) # We are building in place.
2888 ac_srcdir=.
2889 ac_top_srcdir=$ac_top_builddir_sub
2890 ac_abs_top_srcdir=$ac_pwd ;;
2891 [\\/]* | ?:[\\/]* ) # Absolute name.
2892 ac_srcdir=$srcdir$ac_dir_suffix;
2893 ac_top_srcdir=$srcdir
2894 ac_abs_top_srcdir=$srcdir ;;
2895 *) # Relative name.
2896 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2897 ac_top_srcdir=$ac_top_build_prefix$srcdir
2898 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2899 esac
2900 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2902 cd "$ac_dir" || { ac_status=$?; continue; }
2903 # Check for configure.gnu first; this name is used for a wrapper for
2904 # Metaconfig's "Configure" on case-insensitive file systems.
2905 if test -f "$ac_srcdir/configure.gnu"; then
2906 echo &&
2907 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2908 elif test -f "$ac_srcdir/configure"; then
2909 echo &&
2910 $SHELL "$ac_srcdir/configure" --help=recursive
2911 else
2912 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2913 fi || ac_status=$?
2914 cd "$ac_pwd" || { ac_status=$?; break; }
2915 done
2918 test -n "$ac_init_help" && exit $ac_status
2919 if $ac_init_version; then
2920 cat <<\_ACEOF
2921 Wine configure 6.22
2922 generated by GNU Autoconf 2.71
2924 Copyright (C) 2021 Free Software Foundation, Inc.
2925 This configure script is free software; the Free Software Foundation
2926 gives unlimited permission to copy, distribute and modify it.
2927 _ACEOF
2928 exit
2931 ## ------------------------ ##
2932 ## Autoconf initialization. ##
2933 ## ------------------------ ##
2935 # ac_fn_c_try_compile LINENO
2936 # --------------------------
2937 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2938 ac_fn_c_try_compile ()
2940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2941 rm -f conftest.$ac_objext conftest.beam
2942 if { { ac_try="$ac_compile"
2943 case "(($ac_try" in
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2946 esac
2947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2948 printf "%s\n" "$ac_try_echo"; } >&5
2949 (eval "$ac_compile") 2>conftest.err
2950 ac_status=$?
2951 if test -s conftest.err; then
2952 grep -v '^ *+' conftest.err >conftest.er1
2953 cat conftest.er1 >&5
2954 mv -f conftest.er1 conftest.err
2956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2957 test $ac_status = 0; } && {
2958 test -z "$ac_c_werror_flag" ||
2959 test ! -s conftest.err
2960 } && test -s conftest.$ac_objext
2961 then :
2962 ac_retval=0
2963 else $as_nop
2964 printf "%s\n" "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2967 ac_retval=1
2969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2970 as_fn_set_status $ac_retval
2972 } # ac_fn_c_try_compile
2974 # ac_fn_cxx_try_compile LINENO
2975 # ----------------------------
2976 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2977 ac_fn_cxx_try_compile ()
2979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2980 rm -f conftest.$ac_objext conftest.beam
2981 if { { ac_try="$ac_compile"
2982 case "(($ac_try" in
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2985 esac
2986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2987 printf "%s\n" "$ac_try_echo"; } >&5
2988 (eval "$ac_compile") 2>conftest.err
2989 ac_status=$?
2990 if test -s conftest.err; then
2991 grep -v '^ *+' conftest.err >conftest.er1
2992 cat conftest.er1 >&5
2993 mv -f conftest.er1 conftest.err
2995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2996 test $ac_status = 0; } && {
2997 test -z "$ac_cxx_werror_flag" ||
2998 test ! -s conftest.err
2999 } && test -s conftest.$ac_objext
3000 then :
3001 ac_retval=0
3002 else $as_nop
3003 printf "%s\n" "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3006 ac_retval=1
3008 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3009 as_fn_set_status $ac_retval
3011 } # ac_fn_cxx_try_compile
3013 # ac_fn_c_try_link LINENO
3014 # -----------------------
3015 # Try to link conftest.$ac_ext, and return whether this succeeded.
3016 ac_fn_c_try_link ()
3018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3019 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
3020 if { { ac_try="$ac_link"
3021 case "(($ac_try" in
3022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3024 esac
3025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3026 printf "%s\n" "$ac_try_echo"; } >&5
3027 (eval "$ac_link") 2>conftest.err
3028 ac_status=$?
3029 if test -s conftest.err; then
3030 grep -v '^ *+' conftest.err >conftest.er1
3031 cat conftest.er1 >&5
3032 mv -f conftest.er1 conftest.err
3034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3035 test $ac_status = 0; } && {
3036 test -z "$ac_c_werror_flag" ||
3037 test ! -s conftest.err
3038 } && test -s conftest$ac_exeext && {
3039 test "$cross_compiling" = yes ||
3040 test -x conftest$ac_exeext
3042 then :
3043 ac_retval=0
3044 else $as_nop
3045 printf "%s\n" "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.$ac_ext >&5
3048 ac_retval=1
3050 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3051 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3052 # interfere with the next link command; also delete a directory that is
3053 # left behind by Apple's compiler. We do this before executing the actions.
3054 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3056 as_fn_set_status $ac_retval
3058 } # ac_fn_c_try_link
3060 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3061 # -------------------------------------------------------
3062 # Tests whether HEADER exists and can be compiled using the include files in
3063 # INCLUDES, setting the cache variable VAR accordingly.
3064 ac_fn_c_check_header_compile ()
3066 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3068 printf %s "checking for $2... " >&6; }
3069 if eval test \${$3+y}
3070 then :
3071 printf %s "(cached) " >&6
3072 else $as_nop
3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3074 /* end confdefs.h. */
3076 #include <$2>
3077 _ACEOF
3078 if ac_fn_c_try_compile "$LINENO"
3079 then :
3080 eval "$3=yes"
3081 else $as_nop
3082 eval "$3=no"
3084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3086 eval ac_res=\$$3
3087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3088 printf "%s\n" "$ac_res" >&6; }
3089 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3091 } # ac_fn_c_check_header_compile
3093 # ac_fn_objc_try_compile LINENO
3094 # -----------------------------
3095 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3096 ac_fn_objc_try_compile ()
3098 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3099 rm -f conftest.$ac_objext conftest.beam
3100 if { { ac_try="$ac_compile"
3101 case "(($ac_try" in
3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3103 *) ac_try_echo=$ac_try;;
3104 esac
3105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3106 printf "%s\n" "$ac_try_echo"; } >&5
3107 (eval "$ac_compile") 2>conftest.err
3108 ac_status=$?
3109 if test -s conftest.err; then
3110 grep -v '^ *+' conftest.err >conftest.er1
3111 cat conftest.er1 >&5
3112 mv -f conftest.er1 conftest.err
3114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3115 test $ac_status = 0; } && {
3116 test -z "$ac_objc_werror_flag" ||
3117 test ! -s conftest.err
3118 } && test -s conftest.$ac_objext
3119 then :
3120 ac_retval=0
3121 else $as_nop
3122 printf "%s\n" "$as_me: failed program was:" >&5
3123 sed 's/^/| /' conftest.$ac_ext >&5
3125 ac_retval=1
3127 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3128 as_fn_set_status $ac_retval
3130 } # ac_fn_objc_try_compile
3132 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
3133 # ----------------------------------------------------------
3134 # Tests whether HEADER exists and can be compiled using the include files in
3135 # INCLUDES, setting the cache variable VAR accordingly.
3136 ac_fn_objc_check_header_compile ()
3138 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3140 printf %s "checking for $2... " >&6; }
3141 if eval test \${$3+y}
3142 then :
3143 printf %s "(cached) " >&6
3144 else $as_nop
3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h. */
3148 #include <$2>
3149 _ACEOF
3150 if ac_fn_objc_try_compile "$LINENO"
3151 then :
3152 eval "$3=yes"
3153 else $as_nop
3154 eval "$3=no"
3156 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3158 eval ac_res=\$$3
3159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3160 printf "%s\n" "$ac_res" >&6; }
3161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3163 } # ac_fn_objc_check_header_compile
3165 # ac_fn_c_check_func LINENO FUNC VAR
3166 # ----------------------------------
3167 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3168 ac_fn_c_check_func ()
3170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3172 printf %s "checking for $2... " >&6; }
3173 if eval test \${$3+y}
3174 then :
3175 printf %s "(cached) " >&6
3176 else $as_nop
3177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178 /* end confdefs.h. */
3179 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3181 #define $2 innocuous_$2
3183 /* System header to define __stub macros and hopefully few prototypes,
3184 which can conflict with char $2 (); below. */
3186 #include <limits.h>
3187 #undef $2
3189 /* Override any GCC internal prototype to avoid an error.
3190 Use char because int might match the return type of a GCC
3191 builtin and then its argument prototype would still apply. */
3192 #ifdef __cplusplus
3193 extern "C"
3194 #endif
3195 char $2 ();
3196 /* The GNU C library defines this for functions which it implements
3197 to always fail with ENOSYS. Some functions are actually named
3198 something starting with __ and the normal name is an alias. */
3199 #if defined __stub_$2 || defined __stub___$2
3200 choke me
3201 #endif
3204 main (void)
3206 return $2 ();
3208 return 0;
3210 _ACEOF
3211 if ac_fn_c_try_link "$LINENO"
3212 then :
3213 eval "$3=yes"
3214 else $as_nop
3215 eval "$3=no"
3217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3218 conftest$ac_exeext conftest.$ac_ext
3220 eval ac_res=\$$3
3221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3222 printf "%s\n" "$ac_res" >&6; }
3223 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3225 } # ac_fn_c_check_func
3227 # ac_fn_c_try_cpp LINENO
3228 # ----------------------
3229 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3230 ac_fn_c_try_cpp ()
3232 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3233 if { { ac_try="$ac_cpp conftest.$ac_ext"
3234 case "(($ac_try" in
3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;;
3237 esac
3238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3239 printf "%s\n" "$ac_try_echo"; } >&5
3240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3241 ac_status=$?
3242 if test -s conftest.err; then
3243 grep -v '^ *+' conftest.err >conftest.er1
3244 cat conftest.er1 >&5
3245 mv -f conftest.er1 conftest.err
3247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3248 test $ac_status = 0; } > conftest.i && {
3249 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3250 test ! -s conftest.err
3252 then :
3253 ac_retval=0
3254 else $as_nop
3255 printf "%s\n" "$as_me: failed program was:" >&5
3256 sed 's/^/| /' conftest.$ac_ext >&5
3258 ac_retval=1
3260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3261 as_fn_set_status $ac_retval
3263 } # ac_fn_c_try_cpp
3265 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3266 # ----------------------------------------------------
3267 # Tries to find if the field MEMBER exists in type AGGR, after including
3268 # INCLUDES, setting cache variable VAR accordingly.
3269 ac_fn_c_check_member ()
3271 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3273 printf %s "checking for $2.$3... " >&6; }
3274 if eval test \${$4+y}
3275 then :
3276 printf %s "(cached) " >&6
3277 else $as_nop
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3282 main (void)
3284 static $2 ac_aggr;
3285 if (ac_aggr.$3)
3286 return 0;
3288 return 0;
3290 _ACEOF
3291 if ac_fn_c_try_compile "$LINENO"
3292 then :
3293 eval "$4=yes"
3294 else $as_nop
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3299 main (void)
3301 static $2 ac_aggr;
3302 if (sizeof ac_aggr.$3)
3303 return 0;
3305 return 0;
3307 _ACEOF
3308 if ac_fn_c_try_compile "$LINENO"
3309 then :
3310 eval "$4=yes"
3311 else $as_nop
3312 eval "$4=no"
3314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3318 eval ac_res=\$$4
3319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3320 printf "%s\n" "$ac_res" >&6; }
3321 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3323 } # ac_fn_c_check_member
3325 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3326 # -------------------------------------------
3327 # Tests whether TYPE exists after having included INCLUDES, setting cache
3328 # variable VAR accordingly.
3329 ac_fn_c_check_type ()
3331 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3333 printf %s "checking for $2... " >&6; }
3334 if eval test \${$3+y}
3335 then :
3336 printf %s "(cached) " >&6
3337 else $as_nop
3338 eval "$3=no"
3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340 /* end confdefs.h. */
3343 main (void)
3345 if (sizeof ($2))
3346 return 0;
3348 return 0;
3350 _ACEOF
3351 if ac_fn_c_try_compile "$LINENO"
3352 then :
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3357 main (void)
3359 if (sizeof (($2)))
3360 return 0;
3362 return 0;
3364 _ACEOF
3365 if ac_fn_c_try_compile "$LINENO"
3366 then :
3368 else $as_nop
3369 eval "$3=yes"
3371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3373 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3375 eval ac_res=\$$3
3376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3377 printf "%s\n" "$ac_res" >&6; }
3378 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3380 } # ac_fn_c_check_type
3381 ac_configure_args_raw=
3382 for ac_arg
3384 case $ac_arg in
3385 *\'*)
3386 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3387 esac
3388 as_fn_append ac_configure_args_raw " '$ac_arg'"
3389 done
3391 case $ac_configure_args_raw in
3392 *$as_nl*)
3393 ac_safe_unquote= ;;
3395 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3396 ac_unsafe_a="$ac_unsafe_z#~"
3397 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3398 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3399 esac
3401 cat >config.log <<_ACEOF
3402 This file contains any messages produced by compilers while
3403 running configure, to aid debugging if configure makes a mistake.
3405 It was created by Wine $as_me 6.22, which was
3406 generated by GNU Autoconf 2.71. Invocation command line was
3408 $ $0$ac_configure_args_raw
3410 _ACEOF
3411 exec 5>>config.log
3413 cat <<_ASUNAME
3414 ## --------- ##
3415 ## Platform. ##
3416 ## --------- ##
3418 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3419 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3420 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3421 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3422 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3424 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3425 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3427 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3428 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3429 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3430 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3431 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3432 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3433 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3435 _ASUNAME
3437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3438 for as_dir in $PATH
3440 IFS=$as_save_IFS
3441 case $as_dir in #(((
3442 '') as_dir=./ ;;
3443 */) ;;
3444 *) as_dir=$as_dir/ ;;
3445 esac
3446 printf "%s\n" "PATH: $as_dir"
3447 done
3448 IFS=$as_save_IFS
3450 } >&5
3452 cat >&5 <<_ACEOF
3455 ## ----------- ##
3456 ## Core tests. ##
3457 ## ----------- ##
3459 _ACEOF
3462 # Keep a trace of the command line.
3463 # Strip out --no-create and --no-recursion so they do not pile up.
3464 # Strip out --silent because we don't want to record it for future runs.
3465 # Also quote any args containing shell meta-characters.
3466 # Make two passes to allow for proper duplicate-argument suppression.
3467 ac_configure_args=
3468 ac_configure_args0=
3469 ac_configure_args1=
3470 ac_must_keep_next=false
3471 for ac_pass in 1 2
3473 for ac_arg
3475 case $ac_arg in
3476 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3477 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3478 | -silent | --silent | --silen | --sile | --sil)
3479 continue ;;
3480 *\'*)
3481 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3482 esac
3483 case $ac_pass in
3484 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3486 as_fn_append ac_configure_args1 " '$ac_arg'"
3487 if test $ac_must_keep_next = true; then
3488 ac_must_keep_next=false # Got value, back to normal.
3489 else
3490 case $ac_arg in
3491 *=* | --config-cache | -C | -disable-* | --disable-* \
3492 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3493 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3494 | -with-* | --with-* | -without-* | --without-* | --x)
3495 case "$ac_configure_args0 " in
3496 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3497 esac
3499 -* ) ac_must_keep_next=true ;;
3500 esac
3502 as_fn_append ac_configure_args " '$ac_arg'"
3504 esac
3505 done
3506 done
3507 { ac_configure_args0=; unset ac_configure_args0;}
3508 { ac_configure_args1=; unset ac_configure_args1;}
3510 # When interrupted or exit'd, cleanup temporary files, and complete
3511 # config.log. We remove comments because anyway the quotes in there
3512 # would cause problems or look ugly.
3513 # WARNING: Use '\'' to represent an apostrophe within the trap.
3514 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3515 trap 'exit_status=$?
3516 # Sanitize IFS.
3517 IFS=" "" $as_nl"
3518 # Save into config.log some information that might help in debugging.
3520 echo
3522 printf "%s\n" "## ---------------- ##
3523 ## Cache variables. ##
3524 ## ---------------- ##"
3525 echo
3526 # The following way of writing the cache mishandles newlines in values,
3528 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3529 eval ac_val=\$$ac_var
3530 case $ac_val in #(
3531 *${as_nl}*)
3532 case $ac_var in #(
3533 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3534 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3535 esac
3536 case $ac_var in #(
3537 _ | IFS | as_nl) ;; #(
3538 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3539 *) { eval $ac_var=; unset $ac_var;} ;;
3540 esac ;;
3541 esac
3542 done
3543 (set) 2>&1 |
3544 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3545 *${as_nl}ac_space=\ *)
3546 sed -n \
3547 "s/'\''/'\''\\\\'\'''\''/g;
3548 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3549 ;; #(
3551 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3553 esac |
3554 sort
3556 echo
3558 printf "%s\n" "## ----------------- ##
3559 ## Output variables. ##
3560 ## ----------------- ##"
3561 echo
3562 for ac_var in $ac_subst_vars
3564 eval ac_val=\$$ac_var
3565 case $ac_val in
3566 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3567 esac
3568 printf "%s\n" "$ac_var='\''$ac_val'\''"
3569 done | sort
3570 echo
3572 if test -n "$ac_subst_files"; then
3573 printf "%s\n" "## ------------------- ##
3574 ## File substitutions. ##
3575 ## ------------------- ##"
3576 echo
3577 for ac_var in $ac_subst_files
3579 eval ac_val=\$$ac_var
3580 case $ac_val in
3581 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3582 esac
3583 printf "%s\n" "$ac_var='\''$ac_val'\''"
3584 done | sort
3585 echo
3588 if test -s confdefs.h; then
3589 printf "%s\n" "## ----------- ##
3590 ## confdefs.h. ##
3591 ## ----------- ##"
3592 echo
3593 cat confdefs.h
3594 echo
3596 test "$ac_signal" != 0 &&
3597 printf "%s\n" "$as_me: caught signal $ac_signal"
3598 printf "%s\n" "$as_me: exit $exit_status"
3599 } >&5
3600 rm -f core *.core core.conftest.* &&
3601 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3602 exit $exit_status
3604 for ac_signal in 1 2 13 15; do
3605 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3606 done
3607 ac_signal=0
3609 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3610 rm -f -r conftest* confdefs.h
3612 printf "%s\n" "/* confdefs.h */" > confdefs.h
3614 # Predefined preprocessor variables.
3616 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3618 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3620 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3622 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3624 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3626 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3629 # Let the site file select an alternate cache file if it wants to.
3630 # Prefer an explicitly selected file to automatically selected ones.
3631 if test -n "$CONFIG_SITE"; then
3632 ac_site_files="$CONFIG_SITE"
3633 elif test "x$prefix" != xNONE; then
3634 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3635 else
3636 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3639 for ac_site_file in $ac_site_files
3641 case $ac_site_file in #(
3642 */*) :
3643 ;; #(
3644 *) :
3645 ac_site_file=./$ac_site_file ;;
3646 esac
3647 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3649 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3650 sed 's/^/| /' "$ac_site_file" >&5
3651 . "$ac_site_file" \
3652 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3653 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3654 as_fn_error $? "failed to load site script $ac_site_file
3655 See \`config.log' for more details" "$LINENO" 5; }
3657 done
3659 if test -r "$cache_file"; then
3660 # Some versions of bash will fail to source /dev/null (special files
3661 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3662 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3664 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3665 case $cache_file in
3666 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3667 *) . "./$cache_file";;
3668 esac
3670 else
3671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3672 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3673 >$cache_file
3676 # Test code for whether the C compiler supports C89 (global declarations)
3677 ac_c_conftest_c89_globals='
3678 /* Does the compiler advertise C89 conformance?
3679 Do not test the value of __STDC__, because some compilers set it to 0
3680 while being otherwise adequately conformant. */
3681 #if !defined __STDC__
3682 # error "Compiler does not advertise C89 conformance"
3683 #endif
3685 #include <stddef.h>
3686 #include <stdarg.h>
3687 struct stat;
3688 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3689 struct buf { int x; };
3690 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3691 static char *e (p, i)
3692 char **p;
3693 int i;
3695 return p[i];
3697 static char *f (char * (*g) (char **, int), char **p, ...)
3699 char *s;
3700 va_list v;
3701 va_start (v,p);
3702 s = g (p, va_arg (v,int));
3703 va_end (v);
3704 return s;
3707 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3708 function prototypes and stuff, but not \xHH hex character constants.
3709 These do not provoke an error unfortunately, instead are silently treated
3710 as an "x". The following induces an error, until -std is added to get
3711 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3712 array size at least. It is necessary to write \x00 == 0 to get something
3713 that is true only with -std. */
3714 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3716 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3717 inside strings and character constants. */
3718 #define FOO(x) '\''x'\''
3719 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3721 int test (int i, double x);
3722 struct s1 {int (*f) (int a);};
3723 struct s2 {int (*f) (double a);};
3724 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3725 int, int);'
3727 # Test code for whether the C compiler supports C89 (body of main).
3728 ac_c_conftest_c89_main='
3729 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3732 # Test code for whether the C compiler supports C99 (global declarations)
3733 ac_c_conftest_c99_globals='
3734 // Does the compiler advertise C99 conformance?
3735 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3736 # error "Compiler does not advertise C99 conformance"
3737 #endif
3739 #include <stdbool.h>
3740 extern int puts (const char *);
3741 extern int printf (const char *, ...);
3742 extern int dprintf (int, const char *, ...);
3743 extern void *malloc (size_t);
3745 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3746 // dprintf is used instead of fprintf to avoid needing to declare
3747 // FILE and stderr.
3748 #define debug(...) dprintf (2, __VA_ARGS__)
3749 #define showlist(...) puts (#__VA_ARGS__)
3750 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3751 static void
3752 test_varargs_macros (void)
3754 int x = 1234;
3755 int y = 5678;
3756 debug ("Flag");
3757 debug ("X = %d\n", x);
3758 showlist (The first, second, and third items.);
3759 report (x>y, "x is %d but y is %d", x, y);
3762 // Check long long types.
3763 #define BIG64 18446744073709551615ull
3764 #define BIG32 4294967295ul
3765 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3766 #if !BIG_OK
3767 #error "your preprocessor is broken"
3768 #endif
3769 #if BIG_OK
3770 #else
3771 #error "your preprocessor is broken"
3772 #endif
3773 static long long int bignum = -9223372036854775807LL;
3774 static unsigned long long int ubignum = BIG64;
3776 struct incomplete_array
3778 int datasize;
3779 double data[];
3782 struct named_init {
3783 int number;
3784 const wchar_t *name;
3785 double average;
3788 typedef const char *ccp;
3790 static inline int
3791 test_restrict (ccp restrict text)
3793 // See if C++-style comments work.
3794 // Iterate through items via the restricted pointer.
3795 // Also check for declarations in for loops.
3796 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3797 continue;
3798 return 0;
3801 // Check varargs and va_copy.
3802 static bool
3803 test_varargs (const char *format, ...)
3805 va_list args;
3806 va_start (args, format);
3807 va_list args_copy;
3808 va_copy (args_copy, args);
3810 const char *str = "";
3811 int number = 0;
3812 float fnumber = 0;
3814 while (*format)
3816 switch (*format++)
3818 case '\''s'\'': // string
3819 str = va_arg (args_copy, const char *);
3820 break;
3821 case '\''d'\'': // int
3822 number = va_arg (args_copy, int);
3823 break;
3824 case '\''f'\'': // float
3825 fnumber = va_arg (args_copy, double);
3826 break;
3827 default:
3828 break;
3831 va_end (args_copy);
3832 va_end (args);
3834 return *str && number && fnumber;
3838 # Test code for whether the C compiler supports C99 (body of main).
3839 ac_c_conftest_c99_main='
3840 // Check bool.
3841 _Bool success = false;
3842 success |= (argc != 0);
3844 // Check restrict.
3845 if (test_restrict ("String literal") == 0)
3846 success = true;
3847 char *restrict newvar = "Another string";
3849 // Check varargs.
3850 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3851 test_varargs_macros ();
3853 // Check flexible array members.
3854 struct incomplete_array *ia =
3855 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3856 ia->datasize = 10;
3857 for (int i = 0; i < ia->datasize; ++i)
3858 ia->data[i] = i * 1.234;
3860 // Check named initializers.
3861 struct named_init ni = {
3862 .number = 34,
3863 .name = L"Test wide string",
3864 .average = 543.34343,
3867 ni.number = 58;
3869 int dynamic_array[ni.number];
3870 dynamic_array[0] = argv[0][0];
3871 dynamic_array[ni.number - 1] = 543;
3873 // work around unused variable warnings
3874 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3875 || dynamic_array[ni.number - 1] != 543);
3878 # Test code for whether the C compiler supports C11 (global declarations)
3879 ac_c_conftest_c11_globals='
3880 // Does the compiler advertise C11 conformance?
3881 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3882 # error "Compiler does not advertise C11 conformance"
3883 #endif
3885 // Check _Alignas.
3886 char _Alignas (double) aligned_as_double;
3887 char _Alignas (0) no_special_alignment;
3888 extern char aligned_as_int;
3889 char _Alignas (0) _Alignas (int) aligned_as_int;
3891 // Check _Alignof.
3892 enum
3894 int_alignment = _Alignof (int),
3895 int_array_alignment = _Alignof (int[100]),
3896 char_alignment = _Alignof (char)
3898 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3900 // Check _Noreturn.
3901 int _Noreturn does_not_return (void) { for (;;) continue; }
3903 // Check _Static_assert.
3904 struct test_static_assert
3906 int x;
3907 _Static_assert (sizeof (int) <= sizeof (long int),
3908 "_Static_assert does not work in struct");
3909 long int y;
3912 // Check UTF-8 literals.
3913 #define u8 syntax error!
3914 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3916 // Check duplicate typedefs.
3917 typedef long *long_ptr;
3918 typedef long int *long_ptr;
3919 typedef long_ptr long_ptr;
3921 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3922 struct anonymous
3924 union {
3925 struct { int i; int j; };
3926 struct { int k; long int l; } w;
3928 int m;
3929 } v1;
3932 # Test code for whether the C compiler supports C11 (body of main).
3933 ac_c_conftest_c11_main='
3934 _Static_assert ((offsetof (struct anonymous, i)
3935 == offsetof (struct anonymous, w.k)),
3936 "Anonymous union alignment botch");
3937 v1.i = 2;
3938 v1.w.k = 5;
3939 ok |= v1.i != 5;
3942 # Test code for whether the C compiler supports C11 (complete).
3943 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3944 ${ac_c_conftest_c99_globals}
3945 ${ac_c_conftest_c11_globals}
3948 main (int argc, char **argv)
3950 int ok = 0;
3951 ${ac_c_conftest_c89_main}
3952 ${ac_c_conftest_c99_main}
3953 ${ac_c_conftest_c11_main}
3954 return ok;
3958 # Test code for whether the C compiler supports C99 (complete).
3959 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3960 ${ac_c_conftest_c99_globals}
3963 main (int argc, char **argv)
3965 int ok = 0;
3966 ${ac_c_conftest_c89_main}
3967 ${ac_c_conftest_c99_main}
3968 return ok;
3972 # Test code for whether the C compiler supports C89 (complete).
3973 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3976 main (int argc, char **argv)
3978 int ok = 0;
3979 ${ac_c_conftest_c89_main}
3980 return ok;
3984 # Test code for whether the C++ compiler supports C++98 (global declarations)
3985 ac_cxx_conftest_cxx98_globals='
3986 // Does the compiler advertise C++98 conformance?
3987 #if !defined __cplusplus || __cplusplus < 199711L
3988 # error "Compiler does not advertise C++98 conformance"
3989 #endif
3991 // These inclusions are to reject old compilers that
3992 // lack the unsuffixed header files.
3993 #include <cstdlib>
3994 #include <exception>
3996 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3997 extern void assert (int);
3998 namespace std {
3999 extern int strcmp (const char *, const char *);
4002 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
4003 using std::exception;
4004 using std::strcmp;
4006 namespace {
4008 void test_exception_syntax()
4010 try {
4011 throw "test";
4012 } catch (const char *s) {
4013 // Extra parentheses suppress a warning when building autoconf itself,
4014 // due to lint rules shared with more typical C programs.
4015 assert (!(strcmp) (s, "test"));
4019 template <typename T> struct test_template
4021 T const val;
4022 explicit test_template(T t) : val(t) {}
4023 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
4026 } // anonymous namespace
4029 # Test code for whether the C++ compiler supports C++98 (body of main)
4030 ac_cxx_conftest_cxx98_main='
4031 assert (argc);
4032 assert (! argv[0]);
4034 test_exception_syntax ();
4035 test_template<double> tt (2.0);
4036 assert (tt.add (4) == 6.0);
4037 assert (true && !false);
4041 # Test code for whether the C++ compiler supports C++11 (global declarations)
4042 ac_cxx_conftest_cxx11_globals='
4043 // Does the compiler advertise C++ 2011 conformance?
4044 #if !defined __cplusplus || __cplusplus < 201103L
4045 # error "Compiler does not advertise C++11 conformance"
4046 #endif
4048 namespace cxx11test
4050 constexpr int get_val() { return 20; }
4052 struct testinit
4054 int i;
4055 double d;
4058 class delegate
4060 public:
4061 delegate(int n) : n(n) {}
4062 delegate(): delegate(2354) {}
4064 virtual int getval() { return this->n; };
4065 protected:
4066 int n;
4069 class overridden : public delegate
4071 public:
4072 overridden(int n): delegate(n) {}
4073 virtual int getval() override final { return this->n * 2; }
4076 class nocopy
4078 public:
4079 nocopy(int i): i(i) {}
4080 nocopy() = default;
4081 nocopy(const nocopy&) = delete;
4082 nocopy & operator=(const nocopy&) = delete;
4083 private:
4084 int i;
4087 // for testing lambda expressions
4088 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
4090 return f(v);
4093 // for testing variadic templates and trailing return types
4094 template <typename V> auto sum(V first) -> V
4096 return first;
4098 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
4100 return first + sum(rest...);
4105 # Test code for whether the C++ compiler supports C++11 (body of main)
4106 ac_cxx_conftest_cxx11_main='
4108 // Test auto and decltype
4109 auto a1 = 6538;
4110 auto a2 = 48573953.4;
4111 auto a3 = "String literal";
4113 int total = 0;
4114 for (auto i = a3; *i; ++i) { total += *i; }
4116 decltype(a2) a4 = 34895.034;
4119 // Test constexpr
4120 short sa[cxx11test::get_val()] = { 0 };
4123 // Test initializer lists
4124 cxx11test::testinit il = { 4323, 435234.23544 };
4127 // Test range-based for
4128 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
4129 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
4130 for (auto &x : array) { x += 23; }
4133 // Test lambda expressions
4134 using cxx11test::eval;
4135 assert (eval ([](int x) { return x*2; }, 21) == 42);
4136 double d = 2.0;
4137 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
4138 assert (d == 5.0);
4139 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
4140 assert (d == 5.0);
4143 // Test use of variadic templates
4144 using cxx11test::sum;
4145 auto a = sum(1);
4146 auto b = sum(1, 2);
4147 auto c = sum(1.0, 2.0, 3.0);
4150 // Test constructor delegation
4151 cxx11test::delegate d1;
4152 cxx11test::delegate d2();
4153 cxx11test::delegate d3(45);
4156 // Test override and final
4157 cxx11test::overridden o1(55464);
4160 // Test nullptr
4161 char *c = nullptr;
4164 // Test template brackets
4165 test_template<::test_template<int>> v(test_template<int>(12));
4168 // Unicode literals
4169 char const *utf8 = u8"UTF-8 string \u2500";
4170 char16_t const *utf16 = u"UTF-8 string \u2500";
4171 char32_t const *utf32 = U"UTF-32 string \u2500";
4175 # Test code for whether the C compiler supports C++11 (complete).
4176 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4177 ${ac_cxx_conftest_cxx11_globals}
4180 main (int argc, char **argv)
4182 int ok = 0;
4183 ${ac_cxx_conftest_cxx98_main}
4184 ${ac_cxx_conftest_cxx11_main}
4185 return ok;
4189 # Test code for whether the C compiler supports C++98 (complete).
4190 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4192 main (int argc, char **argv)
4194 int ok = 0;
4195 ${ac_cxx_conftest_cxx98_main}
4196 return ok;
4200 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4201 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4202 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4203 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4204 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4205 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4206 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4207 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4208 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4210 # Auxiliary files required by this configure script.
4211 ac_aux_files="config.guess config.sub"
4213 # Locations in which to look for auxiliary files.
4214 ac_aux_dir_candidates="${srcdir}/tools"
4216 # Search for a directory containing all of the required auxiliary files,
4217 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4218 # If we don't find one directory that contains all the files we need,
4219 # we report the set of missing files from the *first* directory in
4220 # $ac_aux_dir_candidates and give up.
4221 ac_missing_aux_files=""
4222 ac_first_candidate=:
4223 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4225 as_found=false
4226 for as_dir in $ac_aux_dir_candidates
4228 IFS=$as_save_IFS
4229 case $as_dir in #(((
4230 '') as_dir=./ ;;
4231 */) ;;
4232 *) as_dir=$as_dir/ ;;
4233 esac
4234 as_found=:
4236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4237 ac_aux_dir_found=yes
4238 ac_install_sh=
4239 for ac_aux in $ac_aux_files
4241 # As a special case, if "install-sh" is required, that requirement
4242 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4243 # and $ac_install_sh is set appropriately for whichever one is found.
4244 if test x"$ac_aux" = x"install-sh"
4245 then
4246 if test -f "${as_dir}install-sh"; then
4247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4248 ac_install_sh="${as_dir}install-sh -c"
4249 elif test -f "${as_dir}install.sh"; then
4250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4251 ac_install_sh="${as_dir}install.sh -c"
4252 elif test -f "${as_dir}shtool"; then
4253 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4254 ac_install_sh="${as_dir}shtool install -c"
4255 else
4256 ac_aux_dir_found=no
4257 if $ac_first_candidate; then
4258 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4259 else
4260 break
4263 else
4264 if test -f "${as_dir}${ac_aux}"; then
4265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4266 else
4267 ac_aux_dir_found=no
4268 if $ac_first_candidate; then
4269 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4270 else
4271 break
4275 done
4276 if test "$ac_aux_dir_found" = yes; then
4277 ac_aux_dir="$as_dir"
4278 break
4280 ac_first_candidate=false
4282 as_found=false
4283 done
4284 IFS=$as_save_IFS
4285 if $as_found
4286 then :
4288 else $as_nop
4289 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4293 # These three variables are undocumented and unsupported,
4294 # and are intended to be withdrawn in a future Autoconf release.
4295 # They can cause serious problems if a builder's source tree is in a directory
4296 # whose full name contains unusual characters.
4297 if test -f "${ac_aux_dir}config.guess"; then
4298 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4300 if test -f "${ac_aux_dir}config.sub"; then
4301 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4303 if test -f "$ac_aux_dir/configure"; then
4304 ac_configure="$SHELL ${ac_aux_dir}configure"
4307 # Check that the precious variables saved in the cache have kept the same
4308 # value.
4309 ac_cache_corrupted=false
4310 for ac_var in $ac_precious_vars; do
4311 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4312 eval ac_new_set=\$ac_env_${ac_var}_set
4313 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4314 eval ac_new_val=\$ac_env_${ac_var}_value
4315 case $ac_old_set,$ac_new_set in
4316 set,)
4317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4318 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4319 ac_cache_corrupted=: ;;
4320 ,set)
4321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4322 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4323 ac_cache_corrupted=: ;;
4324 ,);;
4326 if test "x$ac_old_val" != "x$ac_new_val"; then
4327 # differences in whitespace do not lead to failure.
4328 ac_old_val_w=`echo x $ac_old_val`
4329 ac_new_val_w=`echo x $ac_new_val`
4330 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4332 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4333 ac_cache_corrupted=:
4334 else
4335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4336 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4337 eval $ac_var=\$ac_old_val
4339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4340 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4342 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4343 fi;;
4344 esac
4345 # Pass precious variables to config.status.
4346 if test "$ac_new_set" = set; then
4347 case $ac_new_val in
4348 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4349 *) ac_arg=$ac_var=$ac_new_val ;;
4350 esac
4351 case " $ac_configure_args " in
4352 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4353 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4354 esac
4356 done
4357 if $ac_cache_corrupted; then
4358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4359 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4361 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4362 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4363 and start over" "$LINENO" 5
4365 ## -------------------- ##
4366 ## Main body of script. ##
4367 ## -------------------- ##
4369 ac_ext=c
4370 ac_cpp='$CPP $CPPFLAGS'
4371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4377 ac_config_headers="$ac_config_headers include/config.h"
4381 libwine_version="1.0"
4384 # Check whether --enable-win16 was given.
4385 if test ${enable_win16+y}
4386 then :
4387 enableval=$enable_win16;
4390 # Check whether --enable-win64 was given.
4391 if test ${enable_win64+y}
4392 then :
4393 enableval=$enable_win64;
4396 # Check whether --enable-tests was given.
4397 if test ${enable_tests+y}
4398 then :
4399 enableval=$enable_tests;
4402 # Check whether --enable-build-id was given.
4403 if test ${enable_build_id+y}
4404 then :
4405 enableval=$enable_build_id;
4408 # Check whether --enable-maintainer-mode was given.
4409 if test ${enable_maintainer_mode+y}
4410 then :
4411 enableval=$enable_maintainer_mode;
4414 # Check whether --enable-silent-rules was given.
4415 if test ${enable_silent_rules+y}
4416 then :
4417 enableval=$enable_silent_rules;
4420 # Check whether --enable-werror was given.
4421 if test ${enable_werror+y}
4422 then :
4423 enableval=$enable_werror;
4428 # Check whether --with-alsa was given.
4429 if test ${with_alsa+y}
4430 then :
4431 withval=$with_alsa;
4435 # Check whether --with-capi was given.
4436 if test ${with_capi+y}
4437 then :
4438 withval=$with_capi;
4442 # Check whether --with-coreaudio was given.
4443 if test ${with_coreaudio+y}
4444 then :
4445 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4449 # Check whether --with-cups was given.
4450 if test ${with_cups+y}
4451 then :
4452 withval=$with_cups;
4456 # Check whether --with-dbus was given.
4457 if test ${with_dbus+y}
4458 then :
4459 withval=$with_dbus;
4463 # Check whether --with-float-abi was given.
4464 if test ${with_float_abi+y}
4465 then :
4466 withval=$with_float_abi;
4470 # Check whether --with-fontconfig was given.
4471 if test ${with_fontconfig+y}
4472 then :
4473 withval=$with_fontconfig;
4477 # Check whether --with-freetype was given.
4478 if test ${with_freetype+y}
4479 then :
4480 withval=$with_freetype;
4484 # Check whether --with-gettext was given.
4485 if test ${with_gettext+y}
4486 then :
4487 withval=$with_gettext;
4491 # Check whether --with-gettextpo was given.
4492 if test ${with_gettextpo+y}
4493 then :
4494 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4498 # Check whether --with-gphoto was given.
4499 if test ${with_gphoto+y}
4500 then :
4501 withval=$with_gphoto;
4505 # Check whether --with-gnutls was given.
4506 if test ${with_gnutls+y}
4507 then :
4508 withval=$with_gnutls;
4512 # Check whether --with-gssapi was given.
4513 if test ${with_gssapi+y}
4514 then :
4515 withval=$with_gssapi;
4519 # Check whether --with-gstreamer was given.
4520 if test ${with_gstreamer+y}
4521 then :
4522 withval=$with_gstreamer;
4526 # Check whether --with-inotify was given.
4527 if test ${with_inotify+y}
4528 then :
4529 withval=$with_inotify;
4533 # Check whether --with-krb5 was given.
4534 if test ${with_krb5+y}
4535 then :
4536 withval=$with_krb5;
4540 # Check whether --with-ldap was given.
4541 if test ${with_ldap+y}
4542 then :
4543 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4547 # Check whether --with-mingw was given.
4548 if test ${with_mingw+y}
4549 then :
4550 withval=$with_mingw;
4554 # Check whether --with-netapi was given.
4555 if test ${with_netapi+y}
4556 then :
4557 withval=$with_netapi;
4561 # Check whether --with-openal was given.
4562 if test ${with_openal+y}
4563 then :
4564 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4568 # Check whether --with-opencl was given.
4569 if test ${with_opencl+y}
4570 then :
4571 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4575 # Check whether --with-opengl was given.
4576 if test ${with_opengl+y}
4577 then :
4578 withval=$with_opengl;
4582 # Check whether --with-osmesa was given.
4583 if test ${with_osmesa+y}
4584 then :
4585 withval=$with_osmesa;
4589 # Check whether --with-oss was given.
4590 if test ${with_oss+y}
4591 then :
4592 withval=$with_oss;
4596 # Check whether --with-pcap was given.
4597 if test ${with_pcap+y}
4598 then :
4599 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4603 # Check whether --with-pthread was given.
4604 if test ${with_pthread+y}
4605 then :
4606 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4610 # Check whether --with-pulse was given.
4611 if test ${with_pulse+y}
4612 then :
4613 withval=$with_pulse;
4617 # Check whether --with-quicktime was given.
4618 if test ${with_quicktime+y}
4619 then :
4620 withval=$with_quicktime;
4624 # Check whether --with-sane was given.
4625 if test ${with_sane+y}
4626 then :
4627 withval=$with_sane;
4631 # Check whether --with-sdl was given.
4632 if test ${with_sdl+y}
4633 then :
4634 withval=$with_sdl;
4638 # Check whether --with-udev was given.
4639 if test ${with_udev+y}
4640 then :
4641 withval=$with_udev;
4645 # Check whether --with-unwind was given.
4646 if test ${with_unwind+y}
4647 then :
4648 withval=$with_unwind;
4652 # Check whether --with-usb was given.
4653 if test ${with_usb+y}
4654 then :
4655 withval=$with_usb;
4659 # Check whether --with-v4l2 was given.
4660 if test ${with_v4l2+y}
4661 then :
4662 withval=$with_v4l2;
4666 # Check whether --with-vkd3d was given.
4667 if test ${with_vkd3d+y}
4668 then :
4669 withval=$with_vkd3d;
4673 # Check whether --with-vulkan was given.
4674 if test ${with_vulkan+y}
4675 then :
4676 withval=$with_vulkan;
4680 # Check whether --with-xcomposite was given.
4681 if test ${with_xcomposite+y}
4682 then :
4683 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4687 # Check whether --with-xcursor was given.
4688 if test ${with_xcursor+y}
4689 then :
4690 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4694 # Check whether --with-xfixes was given.
4695 if test ${with_xfixes+y}
4696 then :
4697 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4701 # Check whether --with-xinerama was given.
4702 if test ${with_xinerama+y}
4703 then :
4704 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4708 # Check whether --with-xinput was given.
4709 if test ${with_xinput+y}
4710 then :
4711 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4715 # Check whether --with-xinput2 was given.
4716 if test ${with_xinput2+y}
4717 then :
4718 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4722 # Check whether --with-xrandr was given.
4723 if test ${with_xrandr+y}
4724 then :
4725 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4729 # Check whether --with-xrender was given.
4730 if test ${with_xrender+y}
4731 then :
4732 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4736 # Check whether --with-xshape was given.
4737 if test ${with_xshape+y}
4738 then :
4739 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4743 # Check whether --with-xshm was given.
4744 if test ${with_xshm+y}
4745 then :
4746 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4750 # Check whether --with-xxf86vm was given.
4751 if test ${with_xxf86vm+y}
4752 then :
4753 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
4758 # Check whether --with-system-dllpath was given.
4759 if test ${with_system_dllpath+y}
4760 then :
4761 withval=$with_system_dllpath; system_dllpath=$withval
4766 # Check whether --with-wine-tools was given.
4767 if test ${with_wine_tools+y}
4768 then :
4769 withval=$with_wine_tools;
4773 # Check whether --with-wine64 was given.
4774 if test ${with_wine64+y}
4775 then :
4776 withval=$with_wine64;
4783 # Make sure we can run config.sub.
4784 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4785 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4788 printf %s "checking build system type... " >&6; }
4789 if test ${ac_cv_build+y}
4790 then :
4791 printf %s "(cached) " >&6
4792 else $as_nop
4793 ac_build_alias=$build_alias
4794 test "x$ac_build_alias" = x &&
4795 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4796 test "x$ac_build_alias" = x &&
4797 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4798 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4799 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4803 printf "%s\n" "$ac_cv_build" >&6; }
4804 case $ac_cv_build in
4805 *-*-*) ;;
4806 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4807 esac
4808 build=$ac_cv_build
4809 ac_save_IFS=$IFS; IFS='-'
4810 set x $ac_cv_build
4811 shift
4812 build_cpu=$1
4813 build_vendor=$2
4814 shift; shift
4815 # Remember, the first character of IFS is used to create $*,
4816 # except with old shells:
4817 build_os=$*
4818 IFS=$ac_save_IFS
4819 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4823 printf %s "checking host system type... " >&6; }
4824 if test ${ac_cv_host+y}
4825 then :
4826 printf %s "(cached) " >&6
4827 else $as_nop
4828 if test "x$host_alias" = x; then
4829 ac_cv_host=$ac_cv_build
4830 else
4831 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4832 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4837 printf "%s\n" "$ac_cv_host" >&6; }
4838 case $ac_cv_host in
4839 *-*-*) ;;
4840 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4841 esac
4842 host=$ac_cv_host
4843 ac_save_IFS=$IFS; IFS='-'
4844 set x $ac_cv_host
4845 shift
4846 host_cpu=$1
4847 host_vendor=$2
4848 shift; shift
4849 # Remember, the first character of IFS is used to create $*,
4850 # except with old shells:
4851 host_os=$*
4852 IFS=$ac_save_IFS
4853 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4857 dlldir=\${libdir}/wine
4859 fontdir=\${datadir}/wine/fonts
4861 nlsdir=\${datadir}/wine/nls
4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4867 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4868 set x ${MAKE-make}
4869 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4870 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4871 then :
4872 printf %s "(cached) " >&6
4873 else $as_nop
4874 cat >conftest.make <<\_ACEOF
4875 SHELL = /bin/sh
4876 all:
4877 @echo '@@@%%%=$(MAKE)=@@@%%%'
4878 _ACEOF
4879 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4880 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4881 *@@@%%%=?*=@@@%%%*)
4882 eval ac_cv_prog_make_${ac_make}_set=yes;;
4884 eval ac_cv_prog_make_${ac_make}_set=no;;
4885 esac
4886 rm -f conftest.make
4888 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4890 printf "%s\n" "yes" >&6; }
4891 SET_MAKE=
4892 else
4893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4894 printf "%s\n" "no" >&6; }
4895 SET_MAKE="MAKE=${MAKE-make}"
4907 ac_ext=c
4908 ac_cpp='$CPP $CPPFLAGS'
4909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4912 if test -n "$ac_tool_prefix"; then
4913 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4914 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4916 printf %s "checking for $ac_word... " >&6; }
4917 if test ${ac_cv_prog_CC+y}
4918 then :
4919 printf %s "(cached) " >&6
4920 else $as_nop
4921 if test -n "$CC"; then
4922 ac_cv_prog_CC="$CC" # Let the user override the test.
4923 else
4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925 for as_dir in $PATH
4927 IFS=$as_save_IFS
4928 case $as_dir in #(((
4929 '') as_dir=./ ;;
4930 */) ;;
4931 *) as_dir=$as_dir/ ;;
4932 esac
4933 for ac_exec_ext in '' $ac_executable_extensions; do
4934 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4935 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4937 break 2
4939 done
4940 done
4941 IFS=$as_save_IFS
4945 CC=$ac_cv_prog_CC
4946 if test -n "$CC"; then
4947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4948 printf "%s\n" "$CC" >&6; }
4949 else
4950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 printf "%s\n" "no" >&6; }
4956 if test -z "$ac_cv_prog_CC"; then
4957 ac_ct_CC=$CC
4958 # Extract the first word of "gcc", so it can be a program name with args.
4959 set dummy gcc; ac_word=$2
4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961 printf %s "checking for $ac_word... " >&6; }
4962 if test ${ac_cv_prog_ac_ct_CC+y}
4963 then :
4964 printf %s "(cached) " >&6
4965 else $as_nop
4966 if test -n "$ac_ct_CC"; then
4967 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4968 else
4969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970 for as_dir in $PATH
4972 IFS=$as_save_IFS
4973 case $as_dir in #(((
4974 '') as_dir=./ ;;
4975 */) ;;
4976 *) as_dir=$as_dir/ ;;
4977 esac
4978 for ac_exec_ext in '' $ac_executable_extensions; do
4979 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4980 ac_cv_prog_ac_ct_CC="gcc"
4981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4982 break 2
4984 done
4985 done
4986 IFS=$as_save_IFS
4990 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4991 if test -n "$ac_ct_CC"; then
4992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4993 printf "%s\n" "$ac_ct_CC" >&6; }
4994 else
4995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4996 printf "%s\n" "no" >&6; }
4999 if test "x$ac_ct_CC" = x; then
5000 CC=""
5001 else
5002 case $cross_compiling:$ac_tool_warned in
5003 yes:)
5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5005 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5006 ac_tool_warned=yes ;;
5007 esac
5008 CC=$ac_ct_CC
5010 else
5011 CC="$ac_cv_prog_CC"
5014 if test -z "$CC"; then
5015 if test -n "$ac_tool_prefix"; then
5016 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5017 set dummy ${ac_tool_prefix}cc; ac_word=$2
5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 printf %s "checking for $ac_word... " >&6; }
5020 if test ${ac_cv_prog_CC+y}
5021 then :
5022 printf %s "(cached) " >&6
5023 else $as_nop
5024 if test -n "$CC"; then
5025 ac_cv_prog_CC="$CC" # Let the user override the test.
5026 else
5027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5028 for as_dir in $PATH
5030 IFS=$as_save_IFS
5031 case $as_dir in #(((
5032 '') as_dir=./ ;;
5033 */) ;;
5034 *) as_dir=$as_dir/ ;;
5035 esac
5036 for ac_exec_ext in '' $ac_executable_extensions; do
5037 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5038 ac_cv_prog_CC="${ac_tool_prefix}cc"
5039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5040 break 2
5042 done
5043 done
5044 IFS=$as_save_IFS
5048 CC=$ac_cv_prog_CC
5049 if test -n "$CC"; then
5050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5051 printf "%s\n" "$CC" >&6; }
5052 else
5053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 printf "%s\n" "no" >&6; }
5060 if test -z "$CC"; then
5061 # Extract the first word of "cc", so it can be a program name with args.
5062 set dummy cc; ac_word=$2
5063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 printf %s "checking for $ac_word... " >&6; }
5065 if test ${ac_cv_prog_CC+y}
5066 then :
5067 printf %s "(cached) " >&6
5068 else $as_nop
5069 if test -n "$CC"; then
5070 ac_cv_prog_CC="$CC" # Let the user override the test.
5071 else
5072 ac_prog_rejected=no
5073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074 for as_dir in $PATH
5076 IFS=$as_save_IFS
5077 case $as_dir in #(((
5078 '') as_dir=./ ;;
5079 */) ;;
5080 *) as_dir=$as_dir/ ;;
5081 esac
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5084 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5085 ac_prog_rejected=yes
5086 continue
5088 ac_cv_prog_CC="cc"
5089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5090 break 2
5092 done
5093 done
5094 IFS=$as_save_IFS
5096 if test $ac_prog_rejected = yes; then
5097 # We found a bogon in the path, so make sure we never use it.
5098 set dummy $ac_cv_prog_CC
5099 shift
5100 if test $# != 0; then
5101 # We chose a different compiler from the bogus one.
5102 # However, it has the same basename, so the bogon will be chosen
5103 # first if we set CC to just the basename; use the full file name.
5104 shift
5105 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5110 CC=$ac_cv_prog_CC
5111 if test -n "$CC"; then
5112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5113 printf "%s\n" "$CC" >&6; }
5114 else
5115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 printf "%s\n" "no" >&6; }
5121 if test -z "$CC"; then
5122 if test -n "$ac_tool_prefix"; then
5123 for ac_prog in cl.exe
5125 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 printf %s "checking for $ac_word... " >&6; }
5129 if test ${ac_cv_prog_CC+y}
5130 then :
5131 printf %s "(cached) " >&6
5132 else $as_nop
5133 if test -n "$CC"; then
5134 ac_cv_prog_CC="$CC" # Let the user override the test.
5135 else
5136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5137 for as_dir in $PATH
5139 IFS=$as_save_IFS
5140 case $as_dir in #(((
5141 '') as_dir=./ ;;
5142 */) ;;
5143 *) as_dir=$as_dir/ ;;
5144 esac
5145 for ac_exec_ext in '' $ac_executable_extensions; do
5146 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5147 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5149 break 2
5151 done
5152 done
5153 IFS=$as_save_IFS
5157 CC=$ac_cv_prog_CC
5158 if test -n "$CC"; then
5159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5160 printf "%s\n" "$CC" >&6; }
5161 else
5162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 printf "%s\n" "no" >&6; }
5167 test -n "$CC" && break
5168 done
5170 if test -z "$CC"; then
5171 ac_ct_CC=$CC
5172 for ac_prog in cl.exe
5174 # Extract the first word of "$ac_prog", so it can be a program name with args.
5175 set dummy $ac_prog; ac_word=$2
5176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 printf %s "checking for $ac_word... " >&6; }
5178 if test ${ac_cv_prog_ac_ct_CC+y}
5179 then :
5180 printf %s "(cached) " >&6
5181 else $as_nop
5182 if test -n "$ac_ct_CC"; then
5183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5184 else
5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5186 for as_dir in $PATH
5188 IFS=$as_save_IFS
5189 case $as_dir in #(((
5190 '') as_dir=./ ;;
5191 */) ;;
5192 *) as_dir=$as_dir/ ;;
5193 esac
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5196 ac_cv_prog_ac_ct_CC="$ac_prog"
5197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5198 break 2
5200 done
5201 done
5202 IFS=$as_save_IFS
5206 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5207 if test -n "$ac_ct_CC"; then
5208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5209 printf "%s\n" "$ac_ct_CC" >&6; }
5210 else
5211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 printf "%s\n" "no" >&6; }
5216 test -n "$ac_ct_CC" && break
5217 done
5219 if test "x$ac_ct_CC" = x; then
5220 CC=""
5221 else
5222 case $cross_compiling:$ac_tool_warned in
5223 yes:)
5224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5225 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5226 ac_tool_warned=yes ;;
5227 esac
5228 CC=$ac_ct_CC
5233 if test -z "$CC"; then
5234 if test -n "$ac_tool_prefix"; then
5235 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5236 set dummy ${ac_tool_prefix}clang; ac_word=$2
5237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5238 printf %s "checking for $ac_word... " >&6; }
5239 if test ${ac_cv_prog_CC+y}
5240 then :
5241 printf %s "(cached) " >&6
5242 else $as_nop
5243 if test -n "$CC"; then
5244 ac_cv_prog_CC="$CC" # Let the user override the test.
5245 else
5246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5247 for as_dir in $PATH
5249 IFS=$as_save_IFS
5250 case $as_dir in #(((
5251 '') as_dir=./ ;;
5252 */) ;;
5253 *) as_dir=$as_dir/ ;;
5254 esac
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5257 ac_cv_prog_CC="${ac_tool_prefix}clang"
5258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5259 break 2
5261 done
5262 done
5263 IFS=$as_save_IFS
5267 CC=$ac_cv_prog_CC
5268 if test -n "$CC"; then
5269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5270 printf "%s\n" "$CC" >&6; }
5271 else
5272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5273 printf "%s\n" "no" >&6; }
5278 if test -z "$ac_cv_prog_CC"; then
5279 ac_ct_CC=$CC
5280 # Extract the first word of "clang", so it can be a program name with args.
5281 set dummy clang; ac_word=$2
5282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 printf %s "checking for $ac_word... " >&6; }
5284 if test ${ac_cv_prog_ac_ct_CC+y}
5285 then :
5286 printf %s "(cached) " >&6
5287 else $as_nop
5288 if test -n "$ac_ct_CC"; then
5289 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5290 else
5291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292 for as_dir in $PATH
5294 IFS=$as_save_IFS
5295 case $as_dir in #(((
5296 '') as_dir=./ ;;
5297 */) ;;
5298 *) as_dir=$as_dir/ ;;
5299 esac
5300 for ac_exec_ext in '' $ac_executable_extensions; do
5301 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5302 ac_cv_prog_ac_ct_CC="clang"
5303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5304 break 2
5306 done
5307 done
5308 IFS=$as_save_IFS
5312 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5313 if test -n "$ac_ct_CC"; then
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5315 printf "%s\n" "$ac_ct_CC" >&6; }
5316 else
5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5318 printf "%s\n" "no" >&6; }
5321 if test "x$ac_ct_CC" = x; then
5322 CC=""
5323 else
5324 case $cross_compiling:$ac_tool_warned in
5325 yes:)
5326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5327 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5328 ac_tool_warned=yes ;;
5329 esac
5330 CC=$ac_ct_CC
5332 else
5333 CC="$ac_cv_prog_CC"
5339 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5340 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5341 as_fn_error $? "no acceptable C compiler found in \$PATH
5342 See \`config.log' for more details" "$LINENO" 5; }
5344 # Provide some information about the compiler.
5345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5346 set X $ac_compile
5347 ac_compiler=$2
5348 for ac_option in --version -v -V -qversion -version; do
5349 { { ac_try="$ac_compiler $ac_option >&5"
5350 case "(($ac_try" in
5351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5352 *) ac_try_echo=$ac_try;;
5353 esac
5354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5355 printf "%s\n" "$ac_try_echo"; } >&5
5356 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5357 ac_status=$?
5358 if test -s conftest.err; then
5359 sed '10a\
5360 ... rest of stderr output deleted ...
5361 10q' conftest.err >conftest.er1
5362 cat conftest.er1 >&5
5364 rm -f conftest.er1 conftest.err
5365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5366 test $ac_status = 0; }
5367 done
5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5370 /* end confdefs.h. */
5373 main (void)
5377 return 0;
5379 _ACEOF
5380 ac_clean_files_save=$ac_clean_files
5381 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5382 # Try to create an executable without -o first, disregard a.out.
5383 # It will help us diagnose broken compilers, and finding out an intuition
5384 # of exeext.
5385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5386 printf %s "checking whether the C compiler works... " >&6; }
5387 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5389 # The possible output files:
5390 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5392 ac_rmfiles=
5393 for ac_file in $ac_files
5395 case $ac_file in
5396 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5397 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5398 esac
5399 done
5400 rm -f $ac_rmfiles
5402 if { { ac_try="$ac_link_default"
5403 case "(($ac_try" in
5404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5405 *) ac_try_echo=$ac_try;;
5406 esac
5407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5408 printf "%s\n" "$ac_try_echo"; } >&5
5409 (eval "$ac_link_default") 2>&5
5410 ac_status=$?
5411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5412 test $ac_status = 0; }
5413 then :
5414 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5415 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5416 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5417 # so that the user can short-circuit this test for compilers unknown to
5418 # Autoconf.
5419 for ac_file in $ac_files ''
5421 test -f "$ac_file" || continue
5422 case $ac_file in
5423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5425 [ab].out )
5426 # We found the default executable, but exeext='' is most
5427 # certainly right.
5428 break;;
5429 *.* )
5430 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5431 then :; else
5432 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5434 # We set ac_cv_exeext here because the later test for it is not
5435 # safe: cross compilers may not add the suffix if given an `-o'
5436 # argument, so we may need to know it at that point already.
5437 # Even if this section looks crufty: it has the advantage of
5438 # actually working.
5439 break;;
5441 break;;
5442 esac
5443 done
5444 test "$ac_cv_exeext" = no && ac_cv_exeext=
5446 else $as_nop
5447 ac_file=''
5449 if test -z "$ac_file"
5450 then :
5451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 printf "%s\n" "no" >&6; }
5453 printf "%s\n" "$as_me: failed program was:" >&5
5454 sed 's/^/| /' conftest.$ac_ext >&5
5456 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5457 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5458 as_fn_error 77 "C compiler cannot create executables
5459 See \`config.log' for more details" "$LINENO" 5; }
5460 else $as_nop
5461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5462 printf "%s\n" "yes" >&6; }
5464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5465 printf %s "checking for C compiler default output file name... " >&6; }
5466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5467 printf "%s\n" "$ac_file" >&6; }
5468 ac_exeext=$ac_cv_exeext
5470 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5471 ac_clean_files=$ac_clean_files_save
5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5473 printf %s "checking for suffix of executables... " >&6; }
5474 if { { ac_try="$ac_link"
5475 case "(($ac_try" in
5476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5477 *) ac_try_echo=$ac_try;;
5478 esac
5479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5480 printf "%s\n" "$ac_try_echo"; } >&5
5481 (eval "$ac_link") 2>&5
5482 ac_status=$?
5483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5484 test $ac_status = 0; }
5485 then :
5486 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5487 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5488 # work properly (i.e., refer to `conftest.exe'), while it won't with
5489 # `rm'.
5490 for ac_file in conftest.exe conftest conftest.*; do
5491 test -f "$ac_file" || continue
5492 case $ac_file in
5493 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5494 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5495 break;;
5496 * ) break;;
5497 esac
5498 done
5499 else $as_nop
5500 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5501 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5502 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5503 See \`config.log' for more details" "$LINENO" 5; }
5505 rm -f conftest conftest$ac_cv_exeext
5506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5507 printf "%s\n" "$ac_cv_exeext" >&6; }
5509 rm -f conftest.$ac_ext
5510 EXEEXT=$ac_cv_exeext
5511 ac_exeext=$EXEEXT
5512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5513 /* end confdefs.h. */
5514 #include <stdio.h>
5516 main (void)
5518 FILE *f = fopen ("conftest.out", "w");
5519 return ferror (f) || fclose (f) != 0;
5522 return 0;
5524 _ACEOF
5525 ac_clean_files="$ac_clean_files conftest.out"
5526 # Check that the compiler produces executables we can run. If not, either
5527 # the compiler is broken, or we cross compile.
5528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5529 printf %s "checking whether we are cross compiling... " >&6; }
5530 if test "$cross_compiling" != yes; then
5531 { { ac_try="$ac_link"
5532 case "(($ac_try" in
5533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5534 *) ac_try_echo=$ac_try;;
5535 esac
5536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5537 printf "%s\n" "$ac_try_echo"; } >&5
5538 (eval "$ac_link") 2>&5
5539 ac_status=$?
5540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5541 test $ac_status = 0; }
5542 if { ac_try='./conftest$ac_cv_exeext'
5543 { { case "(($ac_try" in
5544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5545 *) ac_try_echo=$ac_try;;
5546 esac
5547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5548 printf "%s\n" "$ac_try_echo"; } >&5
5549 (eval "$ac_try") 2>&5
5550 ac_status=$?
5551 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5552 test $ac_status = 0; }; }; then
5553 cross_compiling=no
5554 else
5555 if test "$cross_compiling" = maybe; then
5556 cross_compiling=yes
5557 else
5558 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5559 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5560 as_fn_error 77 "cannot run C compiled programs.
5561 If you meant to cross compile, use \`--host'.
5562 See \`config.log' for more details" "$LINENO" 5; }
5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5567 printf "%s\n" "$cross_compiling" >&6; }
5569 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5570 ac_clean_files=$ac_clean_files_save
5571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5572 printf %s "checking for suffix of object files... " >&6; }
5573 if test ${ac_cv_objext+y}
5574 then :
5575 printf %s "(cached) " >&6
5576 else $as_nop
5577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5578 /* end confdefs.h. */
5581 main (void)
5585 return 0;
5587 _ACEOF
5588 rm -f conftest.o conftest.obj
5589 if { { ac_try="$ac_compile"
5590 case "(($ac_try" in
5591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5592 *) ac_try_echo=$ac_try;;
5593 esac
5594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5595 printf "%s\n" "$ac_try_echo"; } >&5
5596 (eval "$ac_compile") 2>&5
5597 ac_status=$?
5598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5599 test $ac_status = 0; }
5600 then :
5601 for ac_file in conftest.o conftest.obj conftest.*; do
5602 test -f "$ac_file" || continue;
5603 case $ac_file in
5604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5605 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5606 break;;
5607 esac
5608 done
5609 else $as_nop
5610 printf "%s\n" "$as_me: failed program was:" >&5
5611 sed 's/^/| /' conftest.$ac_ext >&5
5613 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5614 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5615 as_fn_error $? "cannot compute suffix of object files: cannot compile
5616 See \`config.log' for more details" "$LINENO" 5; }
5618 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5621 printf "%s\n" "$ac_cv_objext" >&6; }
5622 OBJEXT=$ac_cv_objext
5623 ac_objext=$OBJEXT
5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5625 printf %s "checking whether the compiler supports GNU C... " >&6; }
5626 if test ${ac_cv_c_compiler_gnu+y}
5627 then :
5628 printf %s "(cached) " >&6
5629 else $as_nop
5630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5634 main (void)
5636 #ifndef __GNUC__
5637 choke me
5638 #endif
5641 return 0;
5643 _ACEOF
5644 if ac_fn_c_try_compile "$LINENO"
5645 then :
5646 ac_compiler_gnu=yes
5647 else $as_nop
5648 ac_compiler_gnu=no
5650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5651 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5655 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5658 if test $ac_compiler_gnu = yes; then
5659 GCC=yes
5660 else
5661 GCC=
5663 ac_test_CFLAGS=${CFLAGS+y}
5664 ac_save_CFLAGS=$CFLAGS
5665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5666 printf %s "checking whether $CC accepts -g... " >&6; }
5667 if test ${ac_cv_prog_cc_g+y}
5668 then :
5669 printf %s "(cached) " >&6
5670 else $as_nop
5671 ac_save_c_werror_flag=$ac_c_werror_flag
5672 ac_c_werror_flag=yes
5673 ac_cv_prog_cc_g=no
5674 CFLAGS="-g"
5675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5676 /* end confdefs.h. */
5679 main (void)
5683 return 0;
5685 _ACEOF
5686 if ac_fn_c_try_compile "$LINENO"
5687 then :
5688 ac_cv_prog_cc_g=yes
5689 else $as_nop
5690 CFLAGS=""
5691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5692 /* end confdefs.h. */
5695 main (void)
5699 return 0;
5701 _ACEOF
5702 if ac_fn_c_try_compile "$LINENO"
5703 then :
5705 else $as_nop
5706 ac_c_werror_flag=$ac_save_c_werror_flag
5707 CFLAGS="-g"
5708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5709 /* end confdefs.h. */
5712 main (void)
5716 return 0;
5718 _ACEOF
5719 if ac_fn_c_try_compile "$LINENO"
5720 then :
5721 ac_cv_prog_cc_g=yes
5723 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5728 ac_c_werror_flag=$ac_save_c_werror_flag
5730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5731 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5732 if test $ac_test_CFLAGS; then
5733 CFLAGS=$ac_save_CFLAGS
5734 elif test $ac_cv_prog_cc_g = yes; then
5735 if test "$GCC" = yes; then
5736 CFLAGS="-g -O2"
5737 else
5738 CFLAGS="-g"
5740 else
5741 if test "$GCC" = yes; then
5742 CFLAGS="-O2"
5743 else
5744 CFLAGS=
5747 ac_prog_cc_stdc=no
5748 if test x$ac_prog_cc_stdc = xno
5749 then :
5750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5751 printf %s "checking for $CC option to enable C11 features... " >&6; }
5752 if test ${ac_cv_prog_cc_c11+y}
5753 then :
5754 printf %s "(cached) " >&6
5755 else $as_nop
5756 ac_cv_prog_cc_c11=no
5757 ac_save_CC=$CC
5758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5759 /* end confdefs.h. */
5760 $ac_c_conftest_c11_program
5761 _ACEOF
5762 for ac_arg in '' -std=gnu11
5764 CC="$ac_save_CC $ac_arg"
5765 if ac_fn_c_try_compile "$LINENO"
5766 then :
5767 ac_cv_prog_cc_c11=$ac_arg
5769 rm -f core conftest.err conftest.$ac_objext conftest.beam
5770 test "x$ac_cv_prog_cc_c11" != "xno" && break
5771 done
5772 rm -f conftest.$ac_ext
5773 CC=$ac_save_CC
5776 if test "x$ac_cv_prog_cc_c11" = xno
5777 then :
5778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5779 printf "%s\n" "unsupported" >&6; }
5780 else $as_nop
5781 if test "x$ac_cv_prog_cc_c11" = x
5782 then :
5783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5784 printf "%s\n" "none needed" >&6; }
5785 else $as_nop
5786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5787 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5788 CC="$CC $ac_cv_prog_cc_c11"
5790 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5791 ac_prog_cc_stdc=c11
5794 if test x$ac_prog_cc_stdc = xno
5795 then :
5796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5797 printf %s "checking for $CC option to enable C99 features... " >&6; }
5798 if test ${ac_cv_prog_cc_c99+y}
5799 then :
5800 printf %s "(cached) " >&6
5801 else $as_nop
5802 ac_cv_prog_cc_c99=no
5803 ac_save_CC=$CC
5804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5805 /* end confdefs.h. */
5806 $ac_c_conftest_c99_program
5807 _ACEOF
5808 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5810 CC="$ac_save_CC $ac_arg"
5811 if ac_fn_c_try_compile "$LINENO"
5812 then :
5813 ac_cv_prog_cc_c99=$ac_arg
5815 rm -f core conftest.err conftest.$ac_objext conftest.beam
5816 test "x$ac_cv_prog_cc_c99" != "xno" && break
5817 done
5818 rm -f conftest.$ac_ext
5819 CC=$ac_save_CC
5822 if test "x$ac_cv_prog_cc_c99" = xno
5823 then :
5824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5825 printf "%s\n" "unsupported" >&6; }
5826 else $as_nop
5827 if test "x$ac_cv_prog_cc_c99" = x
5828 then :
5829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5830 printf "%s\n" "none needed" >&6; }
5831 else $as_nop
5832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5833 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5834 CC="$CC $ac_cv_prog_cc_c99"
5836 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5837 ac_prog_cc_stdc=c99
5840 if test x$ac_prog_cc_stdc = xno
5841 then :
5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5843 printf %s "checking for $CC option to enable C89 features... " >&6; }
5844 if test ${ac_cv_prog_cc_c89+y}
5845 then :
5846 printf %s "(cached) " >&6
5847 else $as_nop
5848 ac_cv_prog_cc_c89=no
5849 ac_save_CC=$CC
5850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5851 /* end confdefs.h. */
5852 $ac_c_conftest_c89_program
5853 _ACEOF
5854 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5856 CC="$ac_save_CC $ac_arg"
5857 if ac_fn_c_try_compile "$LINENO"
5858 then :
5859 ac_cv_prog_cc_c89=$ac_arg
5861 rm -f core conftest.err conftest.$ac_objext conftest.beam
5862 test "x$ac_cv_prog_cc_c89" != "xno" && break
5863 done
5864 rm -f conftest.$ac_ext
5865 CC=$ac_save_CC
5868 if test "x$ac_cv_prog_cc_c89" = xno
5869 then :
5870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5871 printf "%s\n" "unsupported" >&6; }
5872 else $as_nop
5873 if test "x$ac_cv_prog_cc_c89" = x
5874 then :
5875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5876 printf "%s\n" "none needed" >&6; }
5877 else $as_nop
5878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5879 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5880 CC="$CC $ac_cv_prog_cc_c89"
5882 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5883 ac_prog_cc_stdc=c89
5887 ac_ext=c
5888 ac_cpp='$CPP $CPPFLAGS'
5889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5899 ac_ext=cpp
5900 ac_cpp='$CXXCPP $CPPFLAGS'
5901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5904 if test -z "$CXX"; then
5905 if test -n "$CCC"; then
5906 CXX=$CCC
5907 else
5908 if test -n "$ac_tool_prefix"; then
5909 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5911 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5912 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5914 printf %s "checking for $ac_word... " >&6; }
5915 if test ${ac_cv_prog_CXX+y}
5916 then :
5917 printf %s "(cached) " >&6
5918 else $as_nop
5919 if test -n "$CXX"; then
5920 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5921 else
5922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 for as_dir in $PATH
5925 IFS=$as_save_IFS
5926 case $as_dir in #(((
5927 '') as_dir=./ ;;
5928 */) ;;
5929 *) as_dir=$as_dir/ ;;
5930 esac
5931 for ac_exec_ext in '' $ac_executable_extensions; do
5932 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5933 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5934 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5935 break 2
5937 done
5938 done
5939 IFS=$as_save_IFS
5943 CXX=$ac_cv_prog_CXX
5944 if test -n "$CXX"; then
5945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5946 printf "%s\n" "$CXX" >&6; }
5947 else
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5949 printf "%s\n" "no" >&6; }
5953 test -n "$CXX" && break
5954 done
5956 if test -z "$CXX"; then
5957 ac_ct_CXX=$CXX
5958 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5960 # Extract the first word of "$ac_prog", so it can be a program name with args.
5961 set dummy $ac_prog; ac_word=$2
5962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 printf %s "checking for $ac_word... " >&6; }
5964 if test ${ac_cv_prog_ac_ct_CXX+y}
5965 then :
5966 printf %s "(cached) " >&6
5967 else $as_nop
5968 if test -n "$ac_ct_CXX"; then
5969 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5970 else
5971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972 for as_dir in $PATH
5974 IFS=$as_save_IFS
5975 case $as_dir in #(((
5976 '') as_dir=./ ;;
5977 */) ;;
5978 *) as_dir=$as_dir/ ;;
5979 esac
5980 for ac_exec_ext in '' $ac_executable_extensions; do
5981 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5982 ac_cv_prog_ac_ct_CXX="$ac_prog"
5983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5984 break 2
5986 done
5987 done
5988 IFS=$as_save_IFS
5992 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5993 if test -n "$ac_ct_CXX"; then
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5995 printf "%s\n" "$ac_ct_CXX" >&6; }
5996 else
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998 printf "%s\n" "no" >&6; }
6002 test -n "$ac_ct_CXX" && break
6003 done
6005 if test "x$ac_ct_CXX" = x; then
6006 CXX="g++"
6007 else
6008 case $cross_compiling:$ac_tool_warned in
6009 yes:)
6010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6011 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6012 ac_tool_warned=yes ;;
6013 esac
6014 CXX=$ac_ct_CXX
6020 # Provide some information about the compiler.
6021 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6022 set X $ac_compile
6023 ac_compiler=$2
6024 for ac_option in --version -v -V -qversion; do
6025 { { ac_try="$ac_compiler $ac_option >&5"
6026 case "(($ac_try" in
6027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6028 *) ac_try_echo=$ac_try;;
6029 esac
6030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6031 printf "%s\n" "$ac_try_echo"; } >&5
6032 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6033 ac_status=$?
6034 if test -s conftest.err; then
6035 sed '10a\
6036 ... rest of stderr output deleted ...
6037 10q' conftest.err >conftest.er1
6038 cat conftest.er1 >&5
6040 rm -f conftest.er1 conftest.err
6041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6042 test $ac_status = 0; }
6043 done
6045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6046 printf %s "checking whether the compiler supports GNU C++... " >&6; }
6047 if test ${ac_cv_cxx_compiler_gnu+y}
6048 then :
6049 printf %s "(cached) " >&6
6050 else $as_nop
6051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6052 /* end confdefs.h. */
6055 main (void)
6057 #ifndef __GNUC__
6058 choke me
6059 #endif
6062 return 0;
6064 _ACEOF
6065 if ac_fn_cxx_try_compile "$LINENO"
6066 then :
6067 ac_compiler_gnu=yes
6068 else $as_nop
6069 ac_compiler_gnu=no
6071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6072 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6076 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6079 if test $ac_compiler_gnu = yes; then
6080 GXX=yes
6081 else
6082 GXX=
6084 ac_test_CXXFLAGS=${CXXFLAGS+y}
6085 ac_save_CXXFLAGS=$CXXFLAGS
6086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6087 printf %s "checking whether $CXX accepts -g... " >&6; }
6088 if test ${ac_cv_prog_cxx_g+y}
6089 then :
6090 printf %s "(cached) " >&6
6091 else $as_nop
6092 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6093 ac_cxx_werror_flag=yes
6094 ac_cv_prog_cxx_g=no
6095 CXXFLAGS="-g"
6096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6097 /* end confdefs.h. */
6100 main (void)
6104 return 0;
6106 _ACEOF
6107 if ac_fn_cxx_try_compile "$LINENO"
6108 then :
6109 ac_cv_prog_cxx_g=yes
6110 else $as_nop
6111 CXXFLAGS=""
6112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6113 /* end confdefs.h. */
6116 main (void)
6120 return 0;
6122 _ACEOF
6123 if ac_fn_cxx_try_compile "$LINENO"
6124 then :
6126 else $as_nop
6127 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6128 CXXFLAGS="-g"
6129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6130 /* end confdefs.h. */
6133 main (void)
6137 return 0;
6139 _ACEOF
6140 if ac_fn_cxx_try_compile "$LINENO"
6141 then :
6142 ac_cv_prog_cxx_g=yes
6144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6149 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6152 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6153 if test $ac_test_CXXFLAGS; then
6154 CXXFLAGS=$ac_save_CXXFLAGS
6155 elif test $ac_cv_prog_cxx_g = yes; then
6156 if test "$GXX" = yes; then
6157 CXXFLAGS="-g -O2"
6158 else
6159 CXXFLAGS="-g"
6161 else
6162 if test "$GXX" = yes; then
6163 CXXFLAGS="-O2"
6164 else
6165 CXXFLAGS=
6168 ac_prog_cxx_stdcxx=no
6169 if test x$ac_prog_cxx_stdcxx = xno
6170 then :
6171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6172 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6173 if test ${ac_cv_prog_cxx_11+y}
6174 then :
6175 printf %s "(cached) " >&6
6176 else $as_nop
6177 ac_cv_prog_cxx_11=no
6178 ac_save_CXX=$CXX
6179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6180 /* end confdefs.h. */
6181 $ac_cxx_conftest_cxx11_program
6182 _ACEOF
6183 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6185 CXX="$ac_save_CXX $ac_arg"
6186 if ac_fn_cxx_try_compile "$LINENO"
6187 then :
6188 ac_cv_prog_cxx_cxx11=$ac_arg
6190 rm -f core conftest.err conftest.$ac_objext conftest.beam
6191 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6192 done
6193 rm -f conftest.$ac_ext
6194 CXX=$ac_save_CXX
6197 if test "x$ac_cv_prog_cxx_cxx11" = xno
6198 then :
6199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6200 printf "%s\n" "unsupported" >&6; }
6201 else $as_nop
6202 if test "x$ac_cv_prog_cxx_cxx11" = x
6203 then :
6204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6205 printf "%s\n" "none needed" >&6; }
6206 else $as_nop
6207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6208 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6209 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6211 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6212 ac_prog_cxx_stdcxx=cxx11
6215 if test x$ac_prog_cxx_stdcxx = xno
6216 then :
6217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6218 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6219 if test ${ac_cv_prog_cxx_98+y}
6220 then :
6221 printf %s "(cached) " >&6
6222 else $as_nop
6223 ac_cv_prog_cxx_98=no
6224 ac_save_CXX=$CXX
6225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6226 /* end confdefs.h. */
6227 $ac_cxx_conftest_cxx98_program
6228 _ACEOF
6229 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6231 CXX="$ac_save_CXX $ac_arg"
6232 if ac_fn_cxx_try_compile "$LINENO"
6233 then :
6234 ac_cv_prog_cxx_cxx98=$ac_arg
6236 rm -f core conftest.err conftest.$ac_objext conftest.beam
6237 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6238 done
6239 rm -f conftest.$ac_ext
6240 CXX=$ac_save_CXX
6243 if test "x$ac_cv_prog_cxx_cxx98" = xno
6244 then :
6245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6246 printf "%s\n" "unsupported" >&6; }
6247 else $as_nop
6248 if test "x$ac_cv_prog_cxx_cxx98" = x
6249 then :
6250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6251 printf "%s\n" "none needed" >&6; }
6252 else $as_nop
6253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6254 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6255 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6257 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6258 ac_prog_cxx_stdcxx=cxx98
6262 ac_ext=c
6263 ac_cpp='$CPP $CPPFLAGS'
6264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6268 if test -n "$ac_tool_prefix"; then
6269 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6270 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6272 printf %s "checking for $ac_word... " >&6; }
6273 if test ${ac_cv_prog_CPPBIN+y}
6274 then :
6275 printf %s "(cached) " >&6
6276 else $as_nop
6277 if test -n "$CPPBIN"; then
6278 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6279 else
6280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6281 for as_dir in $PATH
6283 IFS=$as_save_IFS
6284 case $as_dir in #(((
6285 '') as_dir=./ ;;
6286 */) ;;
6287 *) as_dir=$as_dir/ ;;
6288 esac
6289 for ac_exec_ext in '' $ac_executable_extensions; do
6290 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6291 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6293 break 2
6295 done
6296 done
6297 IFS=$as_save_IFS
6301 CPPBIN=$ac_cv_prog_CPPBIN
6302 if test -n "$CPPBIN"; then
6303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6304 printf "%s\n" "$CPPBIN" >&6; }
6305 else
6306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6307 printf "%s\n" "no" >&6; }
6312 if test -z "$ac_cv_prog_CPPBIN"; then
6313 ac_ct_CPPBIN=$CPPBIN
6314 # Extract the first word of "cpp", so it can be a program name with args.
6315 set dummy cpp; ac_word=$2
6316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6317 printf %s "checking for $ac_word... " >&6; }
6318 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6319 then :
6320 printf %s "(cached) " >&6
6321 else $as_nop
6322 if test -n "$ac_ct_CPPBIN"; then
6323 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6324 else
6325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6326 for as_dir in $PATH
6328 IFS=$as_save_IFS
6329 case $as_dir in #(((
6330 '') as_dir=./ ;;
6331 */) ;;
6332 *) as_dir=$as_dir/ ;;
6333 esac
6334 for ac_exec_ext in '' $ac_executable_extensions; do
6335 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6336 ac_cv_prog_ac_ct_CPPBIN="cpp"
6337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6338 break 2
6340 done
6341 done
6342 IFS=$as_save_IFS
6346 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6347 if test -n "$ac_ct_CPPBIN"; then
6348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6349 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6350 else
6351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6352 printf "%s\n" "no" >&6; }
6355 if test "x$ac_ct_CPPBIN" = x; then
6356 CPPBIN="cpp"
6357 else
6358 case $cross_compiling:$ac_tool_warned in
6359 yes:)
6360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6361 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6362 ac_tool_warned=yes ;;
6363 esac
6364 CPPBIN=$ac_ct_CPPBIN
6366 else
6367 CPPBIN="$ac_cv_prog_CPPBIN"
6371 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6373 if test -n "$ac_tool_prefix"; then
6374 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6375 set dummy ${ac_tool_prefix}ld; ac_word=$2
6376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6377 printf %s "checking for $ac_word... " >&6; }
6378 if test ${ac_cv_prog_LD+y}
6379 then :
6380 printf %s "(cached) " >&6
6381 else $as_nop
6382 if test -n "$LD"; then
6383 ac_cv_prog_LD="$LD" # Let the user override the test.
6384 else
6385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 for as_dir in $PATH
6388 IFS=$as_save_IFS
6389 case $as_dir in #(((
6390 '') as_dir=./ ;;
6391 */) ;;
6392 *) as_dir=$as_dir/ ;;
6393 esac
6394 for ac_exec_ext in '' $ac_executable_extensions; do
6395 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6396 ac_cv_prog_LD="${ac_tool_prefix}ld"
6397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6398 break 2
6400 done
6401 done
6402 IFS=$as_save_IFS
6406 LD=$ac_cv_prog_LD
6407 if test -n "$LD"; then
6408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6409 printf "%s\n" "$LD" >&6; }
6410 else
6411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6412 printf "%s\n" "no" >&6; }
6417 if test -z "$ac_cv_prog_LD"; then
6418 ac_ct_LD=$LD
6419 # Extract the first word of "ld", so it can be a program name with args.
6420 set dummy ld; ac_word=$2
6421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 printf %s "checking for $ac_word... " >&6; }
6423 if test ${ac_cv_prog_ac_ct_LD+y}
6424 then :
6425 printf %s "(cached) " >&6
6426 else $as_nop
6427 if test -n "$ac_ct_LD"; then
6428 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6429 else
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431 for as_dir in $PATH
6433 IFS=$as_save_IFS
6434 case $as_dir in #(((
6435 '') as_dir=./ ;;
6436 */) ;;
6437 *) as_dir=$as_dir/ ;;
6438 esac
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6441 ac_cv_prog_ac_ct_LD="ld"
6442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6443 break 2
6445 done
6446 done
6447 IFS=$as_save_IFS
6451 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6452 if test -n "$ac_ct_LD"; then
6453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6454 printf "%s\n" "$ac_ct_LD" >&6; }
6455 else
6456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 printf "%s\n" "no" >&6; }
6460 if test "x$ac_ct_LD" = x; then
6461 LD=""
6462 else
6463 case $cross_compiling:$ac_tool_warned in
6464 yes:)
6465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6466 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6467 ac_tool_warned=yes ;;
6468 esac
6469 LD=$ac_ct_LD
6471 else
6472 LD="$ac_cv_prog_LD"
6476 case $host in
6477 *-darwin*)
6478 with_fontconfig=${with_fontconfig:-no}
6480 *-mingw32*|*-cygwin*)
6481 enable_win16=${enable_win16:-no}
6482 with_mingw=${with_mingw:-no}
6484 esac
6487 case $host in
6488 x86_64*|amd64*)
6489 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6490 then
6491 CC="$CC -m32"
6492 CXX="$CXX -m32"
6494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6495 printf %s "checking whether $CC works... " >&6; }
6496 if test ${wine_cv_cc_m32+y}
6497 then :
6498 printf %s "(cached) " >&6
6499 else $as_nop
6500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6501 /* end confdefs.h. */
6504 main (void)
6508 return 0;
6510 _ACEOF
6511 if ac_fn_c_try_link "$LINENO"
6512 then :
6513 wine_cv_cc_m32=yes
6514 else $as_nop
6515 wine_cv_cc_m32=no
6517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6518 conftest$ac_exeext conftest.$ac_ext
6520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6521 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6522 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
6523 host_cpu="i386"
6524 notice_platform="32-bit "
6525 TARGETFLAGS="$TARGETFLAGS -m32"
6526 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6527 export PKG_CONFIG_PATH
6528 enable_win16=${enable_win16:-yes}
6529 with_unwind=${with_unwind:-no}
6530 else
6531 if test "x${GCC}" = "xyes"
6532 then
6533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6534 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6535 if test ${wine_cv_builtin_ms_va_list+y}
6536 then :
6537 printf %s "(cached) " >&6
6538 else $as_nop
6539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6540 /* end confdefs.h. */
6541 #include <stdarg.h>
6543 main (void)
6545 void func(__builtin_ms_va_list *args);
6547 return 0;
6549 _ACEOF
6550 if ac_fn_c_try_compile "$LINENO"
6551 then :
6552 wine_cv_builtin_ms_va_list=yes
6553 else $as_nop
6554 wine_cv_builtin_ms_va_list=no
6556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6559 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6560 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6562 CC="$CC -m64"
6563 CXX="$CXX -m64"
6564 host_cpu="x86_64"
6565 notice_platform="64-bit "
6566 TARGETFLAGS="$TARGETFLAGS -m64"
6567 enable_wow64=${enable_wow64:-yes}
6568 enable_wow64win=${enable_wow64win:-yes}
6569 enable_wow64cpu=${enable_wow64cpu:-yes}
6572 arm*)
6573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6574 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6575 if test ${wine_cv_thumb2+y}
6576 then :
6577 printf %s "(cached) " >&6
6578 else $as_nop
6579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6580 /* end confdefs.h. */
6583 main (void)
6585 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6587 return 0;
6589 _ACEOF
6590 if ac_fn_c_try_link "$LINENO"
6591 then :
6592 wine_cv_thumb2=yes
6593 else $as_nop
6594 wine_cv_thumb2=no
6596 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6597 conftest$ac_exeext conftest.$ac_ext
6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6600 printf "%s\n" "$wine_cv_thumb2" >&6; }
6601 if test x"$wine_cv_thumb2" = xyes
6602 then
6603 CFLAGS="$CFLAGS -mthumb"
6604 TARGETFLAGS="$TARGETFLAGS -mthumb"
6605 else
6606 CFLAGS="$CFLAGS -marm"
6607 TARGETFLAGS="$TARGETFLAGS -marm"
6609 case $with_float_abi in
6610 soft|softfp|hard)
6611 float_abi=$with_float_abi ;;
6613 case $host_os in
6614 *eabihf)
6615 float_abi=hard ;;
6617 float_abi=softfp
6618 saved_CFLAGS=$CFLAGS
6619 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6621 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6622 if test ${wine_cv_float_abi+y}
6623 then :
6624 printf %s "(cached) " >&6
6625 else $as_nop
6626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6627 /* end confdefs.h. */
6630 main (void)
6632 asm("vmrs r2,fpscr");
6634 return 0;
6636 _ACEOF
6637 if ac_fn_c_try_link "$LINENO"
6638 then :
6639 wine_cv_float_abi=yes
6640 else $as_nop
6641 wine_cv_float_abi=no
6643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6644 conftest$ac_exeext conftest.$ac_ext
6646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6647 printf "%s\n" "$wine_cv_float_abi" >&6; }
6648 if test $wine_cv_float_abi = no
6649 then
6650 float_abi=soft
6651 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6653 CFLAGS=$saved_CFLAGS
6654 esac
6656 esac
6657 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6658 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6660 aarch64*)
6661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6662 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6663 if test ${wine_cv_builtin_ms_va_list+y}
6664 then :
6665 printf %s "(cached) " >&6
6666 else $as_nop
6667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6668 /* end confdefs.h. */
6669 #include <stdarg.h>
6671 main (void)
6673 void func(__builtin_ms_va_list *args);
6675 return 0;
6677 _ACEOF
6678 if ac_fn_c_try_compile "$LINENO"
6679 then :
6680 wine_cv_builtin_ms_va_list=yes
6681 else $as_nop
6682 wine_cv_builtin_ms_va_list=no
6684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6687 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6688 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
6689 enable_wow64=${enable_wow64:-yes}
6690 enable_wow64win=${enable_wow64win:-yes}
6692 i[3456789]86*)
6693 enable_win16=${enable_win16:-yes}
6694 with_unwind=${with_unwind:-no}
6696 esac
6698 enable_win16=${enable_win16:-no}
6699 enable_win64=${enable_win64:-no}
6700 enable_wow64=${enable_wow64:-no}
6701 enable_wow64win=${enable_wow64win:-no}
6702 enable_wow64cpu=${enable_wow64cpu:-no}
6704 enable_winetest=${enable_winetest:-$enable_tests}
6706 if test "x$enable_win64" = "xyes"
6707 then
6708 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6709 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6712 case $build_os in
6713 cygwin*|mingw32*) toolsext=".exe"
6715 *) toolsext=""
6717 esac
6719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6720 printf %s "checking for the directory containing the Wine tools... " >&6; }
6721 if test ${wine_cv_toolsdir+y}
6722 then :
6723 printf %s "(cached) " >&6
6724 else $as_nop
6725 wine_cv_toolsdir="$with_wine_tools"
6726 if test -z "$with_wine_tools"; then
6727 if test "$cross_compiling" = "yes"; then
6728 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6729 elif test -n "$with_wine64"; then
6730 wine_cv_toolsdir="$with_wine64"
6734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6735 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6736 if test -z "$wine_cv_toolsdir"; then
6737 wine_makedep=tools/makedep$toolsext
6738 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6739 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6740 enable_tools=${enable_tools:-no}
6741 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6742 else
6743 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6745 toolsdir=$wine_cv_toolsdir
6747 MAKEDEP=$wine_makedep
6749 RUNTESTFLAGS="-q -P wine"
6751 SED_CMD="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
6753 api_manext=3w
6756 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6757 then
6758 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6761 for ac_prog in flex
6763 # Extract the first word of "$ac_prog", so it can be a program name with args.
6764 set dummy $ac_prog; ac_word=$2
6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6766 printf %s "checking for $ac_word... " >&6; }
6767 if test ${ac_cv_prog_FLEX+y}
6768 then :
6769 printf %s "(cached) " >&6
6770 else $as_nop
6771 if test -n "$FLEX"; then
6772 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6773 else
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6775 for as_dir in $PATH
6777 IFS=$as_save_IFS
6778 case $as_dir in #(((
6779 '') as_dir=./ ;;
6780 */) ;;
6781 *) as_dir=$as_dir/ ;;
6782 esac
6783 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6785 ac_cv_prog_FLEX="$ac_prog"
6786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6787 break 2
6789 done
6790 done
6791 IFS=$as_save_IFS
6795 FLEX=$ac_cv_prog_FLEX
6796 if test -n "$FLEX"; then
6797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6798 printf "%s\n" "$FLEX" >&6; }
6799 else
6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6801 printf "%s\n" "no" >&6; }
6805 test -n "$FLEX" && break
6806 done
6807 test -n "$FLEX" || FLEX="none"
6809 if test "$FLEX" = "none"
6810 then
6811 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6814 printf %s "checking whether flex is recent enough... " >&6; }
6815 if test ${wine_cv_recent_flex+y}
6816 then :
6817 printf %s "(cached) " >&6
6818 else $as_nop
6819 cat >conftest.l <<EOF
6820 %top{
6821 #include "prediluvian.h"
6825 if $FLEX -t conftest.l >/dev/null 2>&5
6826 then
6827 wine_cv_recent_flex=yes
6828 else
6829 wine_cv_recent_flex=no
6832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6833 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6834 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
6836 for ac_prog in bison
6838 # Extract the first word of "$ac_prog", so it can be a program name with args.
6839 set dummy $ac_prog; ac_word=$2
6840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6841 printf %s "checking for $ac_word... " >&6; }
6842 if test ${ac_cv_prog_BISON+y}
6843 then :
6844 printf %s "(cached) " >&6
6845 else $as_nop
6846 if test -n "$BISON"; then
6847 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6848 else
6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6850 for as_dir in $PATH
6852 IFS=$as_save_IFS
6853 case $as_dir in #(((
6854 '') as_dir=./ ;;
6855 */) ;;
6856 *) as_dir=$as_dir/ ;;
6857 esac
6858 for ac_exec_ext in '' $ac_executable_extensions; do
6859 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6860 ac_cv_prog_BISON="$ac_prog"
6861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6862 break 2
6864 done
6865 done
6866 IFS=$as_save_IFS
6870 BISON=$ac_cv_prog_BISON
6871 if test -n "$BISON"; then
6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6873 printf "%s\n" "$BISON" >&6; }
6874 else
6875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6876 printf "%s\n" "no" >&6; }
6880 test -n "$BISON" && break
6881 done
6882 test -n "$BISON" || BISON="none"
6884 if test "$BISON" = "none"
6885 then
6886 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6889 printf %s "checking whether bison is recent enough... " >&6; }
6890 if test ${wine_cv_recent_bison+y}
6891 then :
6892 printf %s "(cached) " >&6
6893 else $as_nop
6894 cat >conftest.y <<EOF
6895 %define parse.error verbose
6897 empty: ;
6899 if $BISON conftest.y >/dev/null 2>&5
6900 then
6901 wine_cv_recent_bison=yes
6902 else
6903 wine_cv_recent_bison=no
6906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6907 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6908 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
6910 if test -n "$ac_tool_prefix"; then
6911 for ac_prog in ar gar
6913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6916 printf %s "checking for $ac_word... " >&6; }
6917 if test ${ac_cv_prog_AR+y}
6918 then :
6919 printf %s "(cached) " >&6
6920 else $as_nop
6921 if test -n "$AR"; then
6922 ac_cv_prog_AR="$AR" # Let the user override the test.
6923 else
6924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6925 for as_dir in $PATH
6927 IFS=$as_save_IFS
6928 case $as_dir in #(((
6929 '') as_dir=./ ;;
6930 */) ;;
6931 *) as_dir=$as_dir/ ;;
6932 esac
6933 for ac_exec_ext in '' $ac_executable_extensions; do
6934 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6935 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6937 break 2
6939 done
6940 done
6941 IFS=$as_save_IFS
6945 AR=$ac_cv_prog_AR
6946 if test -n "$AR"; then
6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6948 printf "%s\n" "$AR" >&6; }
6949 else
6950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6951 printf "%s\n" "no" >&6; }
6955 test -n "$AR" && break
6956 done
6958 if test -z "$AR"; then
6959 ac_ct_AR=$AR
6960 for ac_prog in ar gar
6962 # Extract the first word of "$ac_prog", so it can be a program name with args.
6963 set dummy $ac_prog; ac_word=$2
6964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6965 printf %s "checking for $ac_word... " >&6; }
6966 if test ${ac_cv_prog_ac_ct_AR+y}
6967 then :
6968 printf %s "(cached) " >&6
6969 else $as_nop
6970 if test -n "$ac_ct_AR"; then
6971 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6972 else
6973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6974 for as_dir in $PATH
6976 IFS=$as_save_IFS
6977 case $as_dir in #(((
6978 '') as_dir=./ ;;
6979 */) ;;
6980 *) as_dir=$as_dir/ ;;
6981 esac
6982 for ac_exec_ext in '' $ac_executable_extensions; do
6983 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6984 ac_cv_prog_ac_ct_AR="$ac_prog"
6985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6986 break 2
6988 done
6989 done
6990 IFS=$as_save_IFS
6994 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6995 if test -n "$ac_ct_AR"; then
6996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6997 printf "%s\n" "$ac_ct_AR" >&6; }
6998 else
6999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 printf "%s\n" "no" >&6; }
7004 test -n "$ac_ct_AR" && break
7005 done
7007 if test "x$ac_ct_AR" = x; then
7008 AR="ar"
7009 else
7010 case $cross_compiling:$ac_tool_warned in
7011 yes:)
7012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7013 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7014 ac_tool_warned=yes ;;
7015 esac
7016 AR=$ac_ct_AR
7020 if test -n "$ac_tool_prefix"; then
7021 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7022 set dummy ${ac_tool_prefix}strip; ac_word=$2
7023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7024 printf %s "checking for $ac_word... " >&6; }
7025 if test ${ac_cv_prog_STRIP+y}
7026 then :
7027 printf %s "(cached) " >&6
7028 else $as_nop
7029 if test -n "$STRIP"; then
7030 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7031 else
7032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7033 for as_dir in $PATH
7035 IFS=$as_save_IFS
7036 case $as_dir in #(((
7037 '') as_dir=./ ;;
7038 */) ;;
7039 *) as_dir=$as_dir/ ;;
7040 esac
7041 for ac_exec_ext in '' $ac_executable_extensions; do
7042 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7043 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7044 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7045 break 2
7047 done
7048 done
7049 IFS=$as_save_IFS
7053 STRIP=$ac_cv_prog_STRIP
7054 if test -n "$STRIP"; then
7055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7056 printf "%s\n" "$STRIP" >&6; }
7057 else
7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059 printf "%s\n" "no" >&6; }
7064 if test -z "$ac_cv_prog_STRIP"; then
7065 ac_ct_STRIP=$STRIP
7066 # Extract the first word of "strip", so it can be a program name with args.
7067 set dummy strip; ac_word=$2
7068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069 printf %s "checking for $ac_word... " >&6; }
7070 if test ${ac_cv_prog_ac_ct_STRIP+y}
7071 then :
7072 printf %s "(cached) " >&6
7073 else $as_nop
7074 if test -n "$ac_ct_STRIP"; then
7075 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7076 else
7077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078 for as_dir in $PATH
7080 IFS=$as_save_IFS
7081 case $as_dir in #(((
7082 '') as_dir=./ ;;
7083 */) ;;
7084 *) as_dir=$as_dir/ ;;
7085 esac
7086 for ac_exec_ext in '' $ac_executable_extensions; do
7087 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7088 ac_cv_prog_ac_ct_STRIP="strip"
7089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7090 break 2
7092 done
7093 done
7094 IFS=$as_save_IFS
7098 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7099 if test -n "$ac_ct_STRIP"; then
7100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7101 printf "%s\n" "$ac_ct_STRIP" >&6; }
7102 else
7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7104 printf "%s\n" "no" >&6; }
7107 if test "x$ac_ct_STRIP" = x; then
7108 STRIP="strip"
7109 else
7110 case $cross_compiling:$ac_tool_warned in
7111 yes:)
7112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7113 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7114 ac_tool_warned=yes ;;
7115 esac
7116 STRIP=$ac_ct_STRIP
7118 else
7119 STRIP="$ac_cv_prog_STRIP"
7122 if test -n "$ac_tool_prefix"; then
7123 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7124 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7126 printf %s "checking for $ac_word... " >&6; }
7127 if test ${ac_cv_prog_RANLIB+y}
7128 then :
7129 printf %s "(cached) " >&6
7130 else $as_nop
7131 if test -n "$RANLIB"; then
7132 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7133 else
7134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7135 for as_dir in $PATH
7137 IFS=$as_save_IFS
7138 case $as_dir in #(((
7139 '') as_dir=./ ;;
7140 */) ;;
7141 *) as_dir=$as_dir/ ;;
7142 esac
7143 for ac_exec_ext in '' $ac_executable_extensions; do
7144 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7145 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7147 break 2
7149 done
7150 done
7151 IFS=$as_save_IFS
7155 RANLIB=$ac_cv_prog_RANLIB
7156 if test -n "$RANLIB"; then
7157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7158 printf "%s\n" "$RANLIB" >&6; }
7159 else
7160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 printf "%s\n" "no" >&6; }
7166 if test -z "$ac_cv_prog_RANLIB"; then
7167 ac_ct_RANLIB=$RANLIB
7168 # Extract the first word of "ranlib", so it can be a program name with args.
7169 set dummy ranlib; ac_word=$2
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171 printf %s "checking for $ac_word... " >&6; }
7172 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7173 then :
7174 printf %s "(cached) " >&6
7175 else $as_nop
7176 if test -n "$ac_ct_RANLIB"; then
7177 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7178 else
7179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7180 for as_dir in $PATH
7182 IFS=$as_save_IFS
7183 case $as_dir in #(((
7184 '') as_dir=./ ;;
7185 */) ;;
7186 *) as_dir=$as_dir/ ;;
7187 esac
7188 for ac_exec_ext in '' $ac_executable_extensions; do
7189 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7190 ac_cv_prog_ac_ct_RANLIB="ranlib"
7191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7192 break 2
7194 done
7195 done
7196 IFS=$as_save_IFS
7200 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7201 if test -n "$ac_ct_RANLIB"; then
7202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7203 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7204 else
7205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7206 printf "%s\n" "no" >&6; }
7209 if test "x$ac_ct_RANLIB" = x; then
7210 RANLIB=":"
7211 else
7212 case $cross_compiling:$ac_tool_warned in
7213 yes:)
7214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7215 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7216 ac_tool_warned=yes ;;
7217 esac
7218 RANLIB=$ac_ct_RANLIB
7220 else
7221 RANLIB="$ac_cv_prog_RANLIB"
7224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7225 printf %s "checking whether ln -s works... " >&6; }
7226 LN_S=$as_ln_s
7227 if test "$LN_S" = "ln -s"; then
7228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7229 printf "%s\n" "yes" >&6; }
7230 else
7231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7232 printf "%s\n" "no, using $LN_S" >&6; }
7235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7236 printf %s "checking for grep that handles long lines and -e... " >&6; }
7237 if test ${ac_cv_path_GREP+y}
7238 then :
7239 printf %s "(cached) " >&6
7240 else $as_nop
7241 if test -z "$GREP"; then
7242 ac_path_GREP_found=false
7243 # Loop through the user's path and test for each of PROGNAME-LIST
7244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7245 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7247 IFS=$as_save_IFS
7248 case $as_dir in #(((
7249 '') as_dir=./ ;;
7250 */) ;;
7251 *) as_dir=$as_dir/ ;;
7252 esac
7253 for ac_prog in grep ggrep
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
7257 as_fn_executable_p "$ac_path_GREP" || continue
7258 # Check for GNU ac_path_GREP and select it if it is found.
7259 # Check for GNU $ac_path_GREP
7260 case `"$ac_path_GREP" --version 2>&1` in
7261 *GNU*)
7262 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7264 ac_count=0
7265 printf %s 0123456789 >"conftest.in"
7266 while :
7268 cat "conftest.in" "conftest.in" >"conftest.tmp"
7269 mv "conftest.tmp" "conftest.in"
7270 cp "conftest.in" "conftest.nl"
7271 printf "%s\n" 'GREP' >> "conftest.nl"
7272 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7273 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7274 as_fn_arith $ac_count + 1 && ac_count=$as_val
7275 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7276 # Best one so far, save it but keep looking for a better one
7277 ac_cv_path_GREP="$ac_path_GREP"
7278 ac_path_GREP_max=$ac_count
7280 # 10*(2^10) chars as input seems more than enough
7281 test $ac_count -gt 10 && break
7282 done
7283 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7284 esac
7286 $ac_path_GREP_found && break 3
7287 done
7288 done
7289 done
7290 IFS=$as_save_IFS
7291 if test -z "$ac_cv_path_GREP"; then
7292 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7294 else
7295 ac_cv_path_GREP=$GREP
7299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7300 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7301 GREP="$ac_cv_path_GREP"
7304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7305 printf %s "checking for egrep... " >&6; }
7306 if test ${ac_cv_path_EGREP+y}
7307 then :
7308 printf %s "(cached) " >&6
7309 else $as_nop
7310 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7311 then ac_cv_path_EGREP="$GREP -E"
7312 else
7313 if test -z "$EGREP"; then
7314 ac_path_EGREP_found=false
7315 # Loop through the user's path and test for each of PROGNAME-LIST
7316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7317 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7319 IFS=$as_save_IFS
7320 case $as_dir in #(((
7321 '') as_dir=./ ;;
7322 */) ;;
7323 *) as_dir=$as_dir/ ;;
7324 esac
7325 for ac_prog in egrep
7327 for ac_exec_ext in '' $ac_executable_extensions; do
7328 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7329 as_fn_executable_p "$ac_path_EGREP" || continue
7330 # Check for GNU ac_path_EGREP and select it if it is found.
7331 # Check for GNU $ac_path_EGREP
7332 case `"$ac_path_EGREP" --version 2>&1` in
7333 *GNU*)
7334 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7336 ac_count=0
7337 printf %s 0123456789 >"conftest.in"
7338 while :
7340 cat "conftest.in" "conftest.in" >"conftest.tmp"
7341 mv "conftest.tmp" "conftest.in"
7342 cp "conftest.in" "conftest.nl"
7343 printf "%s\n" 'EGREP' >> "conftest.nl"
7344 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7345 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7346 as_fn_arith $ac_count + 1 && ac_count=$as_val
7347 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7348 # Best one so far, save it but keep looking for a better one
7349 ac_cv_path_EGREP="$ac_path_EGREP"
7350 ac_path_EGREP_max=$ac_count
7352 # 10*(2^10) chars as input seems more than enough
7353 test $ac_count -gt 10 && break
7354 done
7355 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7356 esac
7358 $ac_path_EGREP_found && break 3
7359 done
7360 done
7361 done
7362 IFS=$as_save_IFS
7363 if test -z "$ac_cv_path_EGREP"; then
7364 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7366 else
7367 ac_cv_path_EGREP=$EGREP
7372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7373 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7374 EGREP="$ac_cv_path_EGREP"
7377 # Extract the first word of "ldconfig", so it can be a program name with args.
7378 set dummy ldconfig; ac_word=$2
7379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7380 printf %s "checking for $ac_word... " >&6; }
7381 if test ${ac_cv_path_LDCONFIG+y}
7382 then :
7383 printf %s "(cached) " >&6
7384 else $as_nop
7385 case $LDCONFIG in
7386 [\\/]* | ?:[\\/]*)
7387 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7391 for as_dir in /sbin /usr/sbin $PATH
7393 IFS=$as_save_IFS
7394 case $as_dir in #(((
7395 '') as_dir=./ ;;
7396 */) ;;
7397 *) as_dir=$as_dir/ ;;
7398 esac
7399 for ac_exec_ext in '' $ac_executable_extensions; do
7400 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7401 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7403 break 2
7405 done
7406 done
7407 IFS=$as_save_IFS
7409 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7411 esac
7413 LDCONFIG=$ac_cv_path_LDCONFIG
7414 if test -n "$LDCONFIG"; then
7415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7416 printf "%s\n" "$LDCONFIG" >&6; }
7417 else
7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7419 printf "%s\n" "no" >&6; }
7423 for ac_prog in msgfmt
7425 # Extract the first word of "$ac_prog", so it can be a program name with args.
7426 set dummy $ac_prog; ac_word=$2
7427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7428 printf %s "checking for $ac_word... " >&6; }
7429 if test ${ac_cv_prog_MSGFMT+y}
7430 then :
7431 printf %s "(cached) " >&6
7432 else $as_nop
7433 if test -n "$MSGFMT"; then
7434 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7435 else
7436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7437 for as_dir in $PATH
7439 IFS=$as_save_IFS
7440 case $as_dir in #(((
7441 '') as_dir=./ ;;
7442 */) ;;
7443 *) as_dir=$as_dir/ ;;
7444 esac
7445 for ac_exec_ext in '' $ac_executable_extensions; do
7446 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7447 ac_cv_prog_MSGFMT="$ac_prog"
7448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7449 break 2
7451 done
7452 done
7453 IFS=$as_save_IFS
7457 MSGFMT=$ac_cv_prog_MSGFMT
7458 if test -n "$MSGFMT"; then
7459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7460 printf "%s\n" "$MSGFMT" >&6; }
7461 else
7462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 printf "%s\n" "no" >&6; }
7467 test -n "$MSGFMT" && break
7468 done
7469 test -n "$MSGFMT" || MSGFMT="false"
7471 if test ${ac_tool_prefix+y}
7472 then :
7473 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7474 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7476 printf %s "checking for $ac_word... " >&6; }
7477 if test ${ac_cv_prog_PKG_CONFIG+y}
7478 then :
7479 printf %s "(cached) " >&6
7480 else $as_nop
7481 if test -n "$PKG_CONFIG"; then
7482 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7483 else
7484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485 for as_dir in $PATH
7487 IFS=$as_save_IFS
7488 case $as_dir in #(((
7489 '') as_dir=./ ;;
7490 */) ;;
7491 *) as_dir=$as_dir/ ;;
7492 esac
7493 for ac_exec_ext in '' $ac_executable_extensions; do
7494 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7495 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7497 break 2
7499 done
7500 done
7501 IFS=$as_save_IFS
7505 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7506 if test -n "$PKG_CONFIG"; then
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7508 printf "%s\n" "$PKG_CONFIG" >&6; }
7509 else
7510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7511 printf "%s\n" "no" >&6; }
7516 if ${ac_cv_prog_PKG_CONFIG:+false} :
7517 then :
7518 if test "x$cross_compiling" = xyes
7519 then :
7521 else $as_nop
7522 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7523 # Extract the first word of "pkg-config", so it can be a program name with args.
7524 set dummy pkg-config; ac_word=$2
7525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7526 printf %s "checking for $ac_word... " >&6; }
7527 if test ${ac_cv_prog_PKG_CONFIG+y}
7528 then :
7529 printf %s "(cached) " >&6
7530 else $as_nop
7531 if test -n "$PKG_CONFIG"; then
7532 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7533 else
7534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7535 for as_dir in $PATH
7537 IFS=$as_save_IFS
7538 case $as_dir in #(((
7539 '') as_dir=./ ;;
7540 */) ;;
7541 *) as_dir=$as_dir/ ;;
7542 esac
7543 for ac_exec_ext in '' $ac_executable_extensions; do
7544 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7545 ac_cv_prog_PKG_CONFIG="pkg-config"
7546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7547 break 2
7549 done
7550 done
7551 IFS=$as_save_IFS
7555 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7556 if test -n "$PKG_CONFIG"; then
7557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7558 printf "%s\n" "$PKG_CONFIG" >&6; }
7559 else
7560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7561 printf "%s\n" "no" >&6; }
7566 else $as_nop
7567 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7570 if test "x$enable_maintainer_mode" != "xyes"
7571 then
7572 FONTFORGE=""
7573 RSVG=""
7574 CONVERT=""
7575 ICOTOOL=""
7576 else
7577 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7578 for ac_prog in fontforge
7580 # Extract the first word of "$ac_prog", so it can be a program name with args.
7581 set dummy $ac_prog; ac_word=$2
7582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7583 printf %s "checking for $ac_word... " >&6; }
7584 if test ${ac_cv_prog_FONTFORGE+y}
7585 then :
7586 printf %s "(cached) " >&6
7587 else $as_nop
7588 if test -n "$FONTFORGE"; then
7589 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7590 else
7591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7592 for as_dir in $PATH
7594 IFS=$as_save_IFS
7595 case $as_dir in #(((
7596 '') as_dir=./ ;;
7597 */) ;;
7598 *) as_dir=$as_dir/ ;;
7599 esac
7600 for ac_exec_ext in '' $ac_executable_extensions; do
7601 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7602 ac_cv_prog_FONTFORGE="$ac_prog"
7603 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7604 break 2
7606 done
7607 done
7608 IFS=$as_save_IFS
7612 FONTFORGE=$ac_cv_prog_FONTFORGE
7613 if test -n "$FONTFORGE"; then
7614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7615 printf "%s\n" "$FONTFORGE" >&6; }
7616 else
7617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 printf "%s\n" "no" >&6; }
7622 test -n "$FONTFORGE" && break
7623 done
7624 test -n "$FONTFORGE" || FONTFORGE="false"
7626 for ac_prog in rsvg-convert rsvg
7628 # Extract the first word of "$ac_prog", so it can be a program name with args.
7629 set dummy $ac_prog; ac_word=$2
7630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7631 printf %s "checking for $ac_word... " >&6; }
7632 if test ${ac_cv_prog_RSVG+y}
7633 then :
7634 printf %s "(cached) " >&6
7635 else $as_nop
7636 if test -n "$RSVG"; then
7637 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7638 else
7639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640 for as_dir in $PATH
7642 IFS=$as_save_IFS
7643 case $as_dir in #(((
7644 '') as_dir=./ ;;
7645 */) ;;
7646 *) as_dir=$as_dir/ ;;
7647 esac
7648 for ac_exec_ext in '' $ac_executable_extensions; do
7649 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7650 ac_cv_prog_RSVG="$ac_prog"
7651 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7652 break 2
7654 done
7655 done
7656 IFS=$as_save_IFS
7660 RSVG=$ac_cv_prog_RSVG
7661 if test -n "$RSVG"; then
7662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7663 printf "%s\n" "$RSVG" >&6; }
7664 else
7665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7666 printf "%s\n" "no" >&6; }
7670 test -n "$RSVG" && break
7671 done
7672 test -n "$RSVG" || RSVG="false"
7674 for ac_prog in convert
7676 # Extract the first word of "$ac_prog", so it can be a program name with args.
7677 set dummy $ac_prog; ac_word=$2
7678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7679 printf %s "checking for $ac_word... " >&6; }
7680 if test ${ac_cv_prog_CONVERT+y}
7681 then :
7682 printf %s "(cached) " >&6
7683 else $as_nop
7684 if test -n "$CONVERT"; then
7685 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7686 else
7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7688 for as_dir in $PATH
7690 IFS=$as_save_IFS
7691 case $as_dir in #(((
7692 '') as_dir=./ ;;
7693 */) ;;
7694 *) as_dir=$as_dir/ ;;
7695 esac
7696 for ac_exec_ext in '' $ac_executable_extensions; do
7697 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7698 ac_cv_prog_CONVERT="$ac_prog"
7699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7700 break 2
7702 done
7703 done
7704 IFS=$as_save_IFS
7708 CONVERT=$ac_cv_prog_CONVERT
7709 if test -n "$CONVERT"; then
7710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7711 printf "%s\n" "$CONVERT" >&6; }
7712 else
7713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7714 printf "%s\n" "no" >&6; }
7718 test -n "$CONVERT" && break
7719 done
7720 test -n "$CONVERT" || CONVERT="false"
7722 for ac_prog in icotool
7724 # Extract the first word of "$ac_prog", so it can be a program name with args.
7725 set dummy $ac_prog; ac_word=$2
7726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7727 printf %s "checking for $ac_word... " >&6; }
7728 if test ${ac_cv_prog_ICOTOOL+y}
7729 then :
7730 printf %s "(cached) " >&6
7731 else $as_nop
7732 if test -n "$ICOTOOL"; then
7733 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7734 else
7735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7736 for as_dir in $PATH
7738 IFS=$as_save_IFS
7739 case $as_dir in #(((
7740 '') as_dir=./ ;;
7741 */) ;;
7742 *) as_dir=$as_dir/ ;;
7743 esac
7744 for ac_exec_ext in '' $ac_executable_extensions; do
7745 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7746 ac_cv_prog_ICOTOOL="$ac_prog"
7747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7748 break 2
7750 done
7751 done
7752 IFS=$as_save_IFS
7756 ICOTOOL=$ac_cv_prog_ICOTOOL
7757 if test -n "$ICOTOOL"; then
7758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7759 printf "%s\n" "$ICOTOOL" >&6; }
7760 else
7761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7762 printf "%s\n" "no" >&6; }
7766 test -n "$ICOTOOL" && break
7767 done
7768 test -n "$ICOTOOL" || ICOTOOL="false"
7770 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7771 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7773 if test "$CONVERT" = false
7774 then
7775 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7776 else
7777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7778 printf %s "checking for recent enough imagemagick... " >&6; }
7779 convert_version=`convert --version | head -n1`
7780 if test "x$convert_version" != "x"
7781 then
7782 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7783 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7784 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7785 then
7786 CONVERT=false
7789 if test "$CONVERT" = false
7790 then
7791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7792 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7793 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7794 else
7795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7796 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7800 if test "$ICOTOOL" = false
7801 then
7802 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7803 else
7804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7805 printf %s "checking for recent enough icotool... " >&6; }
7806 icotool_version=`icotool --version | head -n1`
7807 if test "x$icotool_version" != "x"
7808 then
7809 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7810 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7811 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7812 then
7813 ICOTOOL=false
7814 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7817 if test "$ICOTOOL" = false
7818 then
7819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7820 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7821 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7822 else
7823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7824 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7828 with_gettext=yes
7829 with_gettextpo=yes
7831 enable_werror=yes
7834 test "x$with_gettext" != xno || MSGFMT=false
7835 if test "$MSGFMT" != "false"
7836 then
7837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7838 printf %s "checking whether msgfmt supports contexts... " >&6; }
7839 if test ${wine_cv_msgfmt_contexts+y}
7840 then :
7841 printf %s "(cached) " >&6
7842 else $as_nop
7843 cat >conftest.po <<EOF
7844 # comment
7845 msgctxt "ctxt"
7846 msgid "id"
7847 msgstr "str"
7849 if $MSGFMT -o /dev/null conftest.po 2>&5
7850 then
7851 wine_cv_msgfmt_contexts=yes
7852 else
7853 wine_cv_msgfmt_contexts=no
7856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7857 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7858 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7860 if test "$MSGFMT" = false
7861 then :
7862 case "x$with_gettext" in
7863 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7864 xno) ;;
7865 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7866 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7867 esac
7868 enable_po=${enable_po:-no}
7872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7873 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7874 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7875 then :
7876 printf %s "(cached) " >&6
7877 else $as_nop
7878 ac_check_lib_save_LIBS=$LIBS
7879 LIBS="-li386 $LIBS"
7880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7881 /* end confdefs.h. */
7883 /* Override any GCC internal prototype to avoid an error.
7884 Use char because int might match the return type of a GCC
7885 builtin and then its argument prototype would still apply. */
7886 char i386_set_ldt ();
7888 main (void)
7890 return i386_set_ldt ();
7892 return 0;
7894 _ACEOF
7895 if ac_fn_c_try_link "$LINENO"
7896 then :
7897 ac_cv_lib_i386_i386_set_ldt=yes
7898 else $as_nop
7899 ac_cv_lib_i386_i386_set_ldt=no
7901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7902 conftest$ac_exeext conftest.$ac_ext
7903 LIBS=$ac_check_lib_save_LIBS
7905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7906 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7907 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7908 then :
7909 I386_LIBS="-li386"
7914 OPENGL_LIBS=""
7918 # Check whether --enable-largefile was given.
7919 if test ${enable_largefile+y}
7920 then :
7921 enableval=$enable_largefile;
7924 if test "$enable_largefile" != no; then
7926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7927 printf %s "checking for special C compiler options needed for large files... " >&6; }
7928 if test ${ac_cv_sys_largefile_CC+y}
7929 then :
7930 printf %s "(cached) " >&6
7931 else $as_nop
7932 ac_cv_sys_largefile_CC=no
7933 if test "$GCC" != yes; then
7934 ac_save_CC=$CC
7935 while :; do
7936 # IRIX 6.2 and later do not support large files by default,
7937 # so use the C compiler's -n32 option if that helps.
7938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7939 /* end confdefs.h. */
7940 #include <sys/types.h>
7941 /* Check that off_t can represent 2**63 - 1 correctly.
7942 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7943 since some C++ compilers masquerading as C compilers
7944 incorrectly reject 9223372036854775807. */
7945 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7946 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7947 && LARGE_OFF_T % 2147483647 == 1)
7948 ? 1 : -1];
7950 main (void)
7954 return 0;
7956 _ACEOF
7957 if ac_fn_c_try_compile "$LINENO"
7958 then :
7959 break
7961 rm -f core conftest.err conftest.$ac_objext conftest.beam
7962 CC="$CC -n32"
7963 if ac_fn_c_try_compile "$LINENO"
7964 then :
7965 ac_cv_sys_largefile_CC=' -n32'; break
7967 rm -f core conftest.err conftest.$ac_objext conftest.beam
7968 break
7969 done
7970 CC=$ac_save_CC
7971 rm -f conftest.$ac_ext
7974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7975 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7976 if test "$ac_cv_sys_largefile_CC" != no; then
7977 CC=$CC$ac_cv_sys_largefile_CC
7980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7981 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7982 if test ${ac_cv_sys_file_offset_bits+y}
7983 then :
7984 printf %s "(cached) " >&6
7985 else $as_nop
7986 while :; do
7987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7988 /* end confdefs.h. */
7989 #include <sys/types.h>
7990 /* Check that off_t can represent 2**63 - 1 correctly.
7991 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7992 since some C++ compilers masquerading as C compilers
7993 incorrectly reject 9223372036854775807. */
7994 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7995 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7996 && LARGE_OFF_T % 2147483647 == 1)
7997 ? 1 : -1];
7999 main (void)
8003 return 0;
8005 _ACEOF
8006 if ac_fn_c_try_compile "$LINENO"
8007 then :
8008 ac_cv_sys_file_offset_bits=no; break
8010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8012 /* end confdefs.h. */
8013 #define _FILE_OFFSET_BITS 64
8014 #include <sys/types.h>
8015 /* Check that off_t can represent 2**63 - 1 correctly.
8016 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8017 since some C++ compilers masquerading as C compilers
8018 incorrectly reject 9223372036854775807. */
8019 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8020 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8021 && LARGE_OFF_T % 2147483647 == 1)
8022 ? 1 : -1];
8024 main (void)
8028 return 0;
8030 _ACEOF
8031 if ac_fn_c_try_compile "$LINENO"
8032 then :
8033 ac_cv_sys_file_offset_bits=64; break
8035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8036 ac_cv_sys_file_offset_bits=unknown
8037 break
8038 done
8040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8041 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
8042 case $ac_cv_sys_file_offset_bits in #(
8043 no | unknown) ;;
8045 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
8047 esac
8048 rm -rf conftest*
8049 if test $ac_cv_sys_file_offset_bits = unknown; then
8050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8051 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
8052 if test ${ac_cv_sys_large_files+y}
8053 then :
8054 printf %s "(cached) " >&6
8055 else $as_nop
8056 while :; do
8057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8058 /* end confdefs.h. */
8059 #include <sys/types.h>
8060 /* Check that off_t can represent 2**63 - 1 correctly.
8061 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8062 since some C++ compilers masquerading as C compilers
8063 incorrectly reject 9223372036854775807. */
8064 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8065 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8066 && LARGE_OFF_T % 2147483647 == 1)
8067 ? 1 : -1];
8069 main (void)
8073 return 0;
8075 _ACEOF
8076 if ac_fn_c_try_compile "$LINENO"
8077 then :
8078 ac_cv_sys_large_files=no; break
8080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8082 /* end confdefs.h. */
8083 #define _LARGE_FILES 1
8084 #include <sys/types.h>
8085 /* Check that off_t can represent 2**63 - 1 correctly.
8086 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8087 since some C++ compilers masquerading as C compilers
8088 incorrectly reject 9223372036854775807. */
8089 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8090 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8091 && LARGE_OFF_T % 2147483647 == 1)
8092 ? 1 : -1];
8094 main (void)
8098 return 0;
8100 _ACEOF
8101 if ac_fn_c_try_compile "$LINENO"
8102 then :
8103 ac_cv_sys_large_files=1; break
8105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8106 ac_cv_sys_large_files=unknown
8107 break
8108 done
8110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8111 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
8112 case $ac_cv_sys_large_files in #(
8113 no | unknown) ;;
8115 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
8117 esac
8118 rm -rf conftest*
8123 ac_header= ac_cache=
8124 for ac_item in $ac_header_c_list
8126 if test $ac_cache; then
8127 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8128 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8129 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8131 ac_header= ac_cache=
8132 elif test $ac_header; then
8133 ac_cache=$ac_item
8134 else
8135 ac_header=$ac_item
8137 done
8146 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8147 then :
8149 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_AL_al_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_CL_cl_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_EGL_egl_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_OpenAL_al_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "QuickTime/ImageCompression.h" "ac_cv_header_QuickTime_ImageCompression_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_QuickTime_ImageCompression_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_QUICKTIME_IMAGECOMPRESSION_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_Security_Security_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "alias.h" "ac_cv_header_alias_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_alias_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_ALIAS_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_arpa_inet_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_arpa_nameser_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_asm_types_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_asm_user_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_dirent_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_elf_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_float_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_gettext_po_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_ieeefp_h" = xyes
8298 then :
8299 printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_libproc_h" = xyes
8304 then :
8305 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_link_h" = xyes
8310 then :
8311 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_linux_cdrom_h" = xyes
8316 then :
8317 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_linux_filter_h" = xyes
8322 then :
8323 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8328 then :
8329 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8332 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8333 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8334 then :
8335 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8338 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8339 if test "x$ac_cv_header_linux_input_h" = xyes
8340 then :
8341 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8344 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8345 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8346 then :
8347 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8350 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default"
8351 if test "x$ac_cv_header_linux_joystick_h" = xyes
8352 then :
8353 printf "%s\n" "#define HAVE_LINUX_JOYSTICK_H 1" >>confdefs.h
8356 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8357 if test "x$ac_cv_header_linux_major_h" = xyes
8358 then :
8359 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8362 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8363 if test "x$ac_cv_header_linux_param_h" = xyes
8364 then :
8365 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8368 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8369 if test "x$ac_cv_header_linux_serial_h" = xyes
8370 then :
8371 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8374 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8375 if test "x$ac_cv_header_linux_types_h" = xyes
8376 then :
8377 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8380 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8381 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8382 then :
8383 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8386 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8387 if test "x$ac_cv_header_lwp_h" = xyes
8388 then :
8389 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8392 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8393 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8394 then :
8395 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8398 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8399 if test "x$ac_cv_header_mach_mach_h" = xyes
8400 then :
8401 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8404 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8405 if test "x$ac_cv_header_machine_cpu_h" = xyes
8406 then :
8407 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8410 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8411 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8412 then :
8413 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8416 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8417 if test "x$ac_cv_header_mntent_h" = xyes
8418 then :
8419 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8422 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8423 if test "x$ac_cv_header_netdb_h" = xyes
8424 then :
8425 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8428 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8429 if test "x$ac_cv_header_netinet_in_h" = xyes
8430 then :
8431 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8434 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8435 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8436 then :
8437 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8440 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8441 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8442 then :
8443 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8446 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8447 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8448 then :
8449 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8452 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8453 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8454 then :
8455 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8458 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8459 if test "x$ac_cv_header_port_h" = xyes
8460 then :
8461 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8464 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8465 if test "x$ac_cv_header_pthread_h" = xyes
8466 then :
8467 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8470 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8471 if test "x$ac_cv_header_pwd_h" = xyes
8472 then :
8473 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8476 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8477 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8478 then :
8479 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8482 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8483 if test "x$ac_cv_header_sched_h" = xyes
8484 then :
8485 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8488 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8489 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8490 then :
8491 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8494 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8495 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8496 then :
8497 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8500 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8501 if test "x$ac_cv_header_scsi_sg_h" = xyes
8502 then :
8503 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8506 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8507 if test "x$ac_cv_header_stdint_h" = xyes
8508 then :
8509 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8512 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8513 if test "x$ac_cv_header_sys_attr_h" = xyes
8514 then :
8515 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8518 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8519 if test "x$ac_cv_header_sys_auxv_h" = xyes
8520 then :
8521 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8524 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8525 if test "x$ac_cv_header_sys_cdio_h" = xyes
8526 then :
8527 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8530 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8531 if test "x$ac_cv_header_sys_epoll_h" = xyes
8532 then :
8533 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8536 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8537 if test "x$ac_cv_header_sys_event_h" = xyes
8538 then :
8539 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8542 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8543 if test "x$ac_cv_header_sys_filio_h" = xyes
8544 then :
8545 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8548 ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
8549 if test "x$ac_cv_header_sys_ioctl_h" = xyes
8550 then :
8551 printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
8554 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8555 if test "x$ac_cv_header_sys_ipc_h" = xyes
8556 then :
8557 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8560 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8561 if test "x$ac_cv_header_sys_link_h" = xyes
8562 then :
8563 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8566 ac_fn_c_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
8567 if test "x$ac_cv_header_sys_mman_h" = xyes
8568 then :
8569 printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
8572 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8573 if test "x$ac_cv_header_sys_modem_h" = xyes
8574 then :
8575 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8578 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8579 if test "x$ac_cv_header_sys_mtio_h" = xyes
8580 then :
8581 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8584 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8585 if test "x$ac_cv_header_sys_param_h" = xyes
8586 then :
8587 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8590 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8591 if test "x$ac_cv_header_sys_prctl_h" = xyes
8592 then :
8593 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8596 ac_fn_c_check_header_compile "$LINENO" "sys/protosw.h" "ac_cv_header_sys_protosw_h" "$ac_includes_default"
8597 if test "x$ac_cv_header_sys_protosw_h" = xyes
8598 then :
8599 printf "%s\n" "#define HAVE_SYS_PROTOSW_H 1" >>confdefs.h
8602 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8603 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8604 then :
8605 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8608 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8609 if test "x$ac_cv_header_sys_queue_h" = xyes
8610 then :
8611 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8614 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8615 if test "x$ac_cv_header_sys_random_h" = xyes
8616 then :
8617 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8620 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8621 if test "x$ac_cv_header_sys_resource_h" = xyes
8622 then :
8623 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8626 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8627 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8628 then :
8629 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8632 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8633 if test "x$ac_cv_header_sys_shm_h" = xyes
8634 then :
8635 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8638 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8639 if test "x$ac_cv_header_sys_signal_h" = xyes
8640 then :
8641 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8644 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
8645 if test "x$ac_cv_header_sys_socket_h" = xyes
8646 then :
8647 printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
8650 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8651 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8652 then :
8653 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8656 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8657 if test "x$ac_cv_header_sys_sockio_h" = xyes
8658 then :
8659 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8662 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8663 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8664 then :
8665 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8668 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8669 if test "x$ac_cv_header_sys_strtio_h" = xyes
8670 then :
8671 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8674 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8675 if test "x$ac_cv_header_sys_syscall_h" = xyes
8676 then :
8677 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8680 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8681 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8682 then :
8683 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8686 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
8687 if test "x$ac_cv_header_sys_time_h" = xyes
8688 then :
8689 printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
8692 ac_fn_c_check_header_compile "$LINENO" "sys/timeout.h" "ac_cv_header_sys_timeout_h" "$ac_includes_default"
8693 if test "x$ac_cv_header_sys_timeout_h" = xyes
8694 then :
8695 printf "%s\n" "#define HAVE_SYS_TIMEOUT_H 1" >>confdefs.h
8698 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8699 if test "x$ac_cv_header_sys_times_h" = xyes
8700 then :
8701 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8704 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8705 if test "x$ac_cv_header_sys_uio_h" = xyes
8706 then :
8707 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8710 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8711 if test "x$ac_cv_header_sys_user_h" = xyes
8712 then :
8713 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8716 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8717 if test "x$ac_cv_header_sys_utsname_h" = xyes
8718 then :
8719 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8722 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8723 if test "x$ac_cv_header_sys_vnode_h" = xyes
8724 then :
8725 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8728 ac_fn_c_check_header_compile "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default"
8729 if test "x$ac_cv_header_sys_wait_h" = xyes
8730 then :
8731 printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
8734 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8735 if test "x$ac_cv_header_syscall_h" = xyes
8736 then :
8737 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8740 ac_fn_c_check_header_compile "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
8741 if test "x$ac_cv_header_termios_h" = xyes
8742 then :
8743 printf "%s\n" "#define HAVE_TERMIOS_H 1" >>confdefs.h
8746 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
8747 if test "x$ac_cv_header_unistd_h" = xyes
8748 then :
8749 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
8752 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8753 if test "x$ac_cv_header_utime_h" = xyes
8754 then :
8755 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8758 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8759 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8760 then :
8761 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8764 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8765 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8766 then :
8767 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8771 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8772 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8773 then :
8775 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8779 if test $ac_cv_header_sys_mkdev_h = no; then
8780 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8781 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8782 then :
8784 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8790 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8791 if test ${ac_cv_header_stat_broken+y}
8792 then :
8793 printf %s "(cached) " >&6
8794 else $as_nop
8795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8796 /* end confdefs.h. */
8797 #include <sys/types.h>
8798 #include <sys/stat.h>
8800 #if defined S_ISBLK && defined S_IFDIR
8801 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8802 #endif
8804 #if defined S_ISBLK && defined S_IFCHR
8805 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8806 #endif
8808 #if defined S_ISLNK && defined S_IFREG
8809 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8810 #endif
8812 #if defined S_ISSOCK && defined S_IFREG
8813 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8814 #endif
8816 _ACEOF
8817 if ac_fn_c_try_compile "$LINENO"
8818 then :
8819 ac_cv_header_stat_broken=no
8820 else $as_nop
8821 ac_cv_header_stat_broken=yes
8823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8826 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8827 if test $ac_cv_header_stat_broken = yes; then
8829 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8835 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8836 #ifdef HAVE_SYS_PARAM_H
8837 # include <sys/param.h>
8838 #endif
8840 if test "x$ac_cv_header_sys_conf_h" = xyes
8841 then :
8842 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8845 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8846 #ifdef HAVE_SYS_PARAM_H
8847 # include <sys/param.h>
8848 #endif
8850 if test "x$ac_cv_header_sys_mount_h" = xyes
8851 then :
8852 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8855 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8856 #ifdef HAVE_SYS_PARAM_H
8857 # include <sys/param.h>
8858 #endif
8860 if test "x$ac_cv_header_sys_statfs_h" = xyes
8861 then :
8862 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8865 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8866 #ifdef HAVE_SYS_PARAM_H
8867 # include <sys/param.h>
8868 #endif
8870 if test "x$ac_cv_header_sys_user_h" = xyes
8871 then :
8872 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8875 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8876 #ifdef HAVE_SYS_PARAM_H
8877 # include <sys/param.h>
8878 #endif
8880 if test "x$ac_cv_header_sys_vfs_h" = xyes
8881 then :
8882 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8887 saved_sysctl_h_CFLAGS=$CFLAGS
8888 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8889 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8890 #ifdef HAVE_SYS_PARAM_H
8891 # include <sys/param.h>
8892 #endif
8894 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8895 then :
8896 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8900 CFLAGS=$saved_sysctl_h_CFLAGS
8902 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8903 #ifdef HAVE_SYS_SOCKET_H
8904 # include <sys/socket.h>
8905 #endif
8906 #ifdef HAVE_SYS_SOCKETVAR_H
8907 # include <sys/socketvar.h>
8908 #endif
8909 #ifdef HAVE_NET_ROUTE_H
8910 # include <net/route.h>
8911 #endif
8912 #ifdef HAVE_NETINET_IN_H
8913 # include <netinet/in.h>
8914 #endif
8915 #ifdef HAVE_NETINET_IN_SYSTM_H
8916 # include <netinet/in_systm.h>
8917 #endif
8918 #ifdef HAVE_NET_IF_H
8919 # include <net/if.h>
8920 #endif
8921 #ifdef HAVE_NETINET_IP_H
8922 # include <netinet/ip.h>
8923 #endif
8925 if test "x$ac_cv_header_netinet_ip_h" = xyes
8926 then :
8927 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8930 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8931 #ifdef HAVE_SYS_SOCKET_H
8932 # include <sys/socket.h>
8933 #endif
8934 #ifdef HAVE_SYS_SOCKETVAR_H
8935 # include <sys/socketvar.h>
8936 #endif
8937 #ifdef HAVE_NET_ROUTE_H
8938 # include <net/route.h>
8939 #endif
8940 #ifdef HAVE_NETINET_IN_H
8941 # include <netinet/in.h>
8942 #endif
8943 #ifdef HAVE_NETINET_IN_SYSTM_H
8944 # include <netinet/in_systm.h>
8945 #endif
8946 #ifdef HAVE_NET_IF_H
8947 # include <net/if.h>
8948 #endif
8949 #ifdef HAVE_NETINET_IP_H
8950 # include <netinet/ip.h>
8951 #endif
8953 if test "x$ac_cv_header_net_if_h" = xyes
8954 then :
8955 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8958 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8959 #ifdef HAVE_SYS_SOCKET_H
8960 # include <sys/socket.h>
8961 #endif
8962 #ifdef HAVE_SYS_SOCKETVAR_H
8963 # include <sys/socketvar.h>
8964 #endif
8965 #ifdef HAVE_NET_ROUTE_H
8966 # include <net/route.h>
8967 #endif
8968 #ifdef HAVE_NETINET_IN_H
8969 # include <netinet/in.h>
8970 #endif
8971 #ifdef HAVE_NETINET_IN_SYSTM_H
8972 # include <netinet/in_systm.h>
8973 #endif
8974 #ifdef HAVE_NET_IF_H
8975 # include <net/if.h>
8976 #endif
8977 #ifdef HAVE_NETINET_IP_H
8978 # include <netinet/ip.h>
8979 #endif
8981 if test "x$ac_cv_header_net_if_arp_h" = xyes
8982 then :
8983 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8986 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8987 #ifdef HAVE_SYS_SOCKET_H
8988 # include <sys/socket.h>
8989 #endif
8990 #ifdef HAVE_SYS_SOCKETVAR_H
8991 # include <sys/socketvar.h>
8992 #endif
8993 #ifdef HAVE_NET_ROUTE_H
8994 # include <net/route.h>
8995 #endif
8996 #ifdef HAVE_NETINET_IN_H
8997 # include <netinet/in.h>
8998 #endif
8999 #ifdef HAVE_NETINET_IN_SYSTM_H
9000 # include <netinet/in_systm.h>
9001 #endif
9002 #ifdef HAVE_NET_IF_H
9003 # include <net/if.h>
9004 #endif
9005 #ifdef HAVE_NETINET_IP_H
9006 # include <netinet/ip.h>
9007 #endif
9009 if test "x$ac_cv_header_net_if_dl_h" = xyes
9010 then :
9011 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
9014 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
9015 #ifdef HAVE_SYS_SOCKET_H
9016 # include <sys/socket.h>
9017 #endif
9018 #ifdef HAVE_SYS_SOCKETVAR_H
9019 # include <sys/socketvar.h>
9020 #endif
9021 #ifdef HAVE_NET_ROUTE_H
9022 # include <net/route.h>
9023 #endif
9024 #ifdef HAVE_NETINET_IN_H
9025 # include <netinet/in.h>
9026 #endif
9027 #ifdef HAVE_NETINET_IN_SYSTM_H
9028 # include <netinet/in_systm.h>
9029 #endif
9030 #ifdef HAVE_NET_IF_H
9031 # include <net/if.h>
9032 #endif
9033 #ifdef HAVE_NETINET_IP_H
9034 # include <netinet/ip.h>
9035 #endif
9037 if test "x$ac_cv_header_net_if_types_h" = xyes
9038 then :
9039 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
9042 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
9043 #ifdef HAVE_SYS_SOCKET_H
9044 # include <sys/socket.h>
9045 #endif
9046 #ifdef HAVE_SYS_SOCKETVAR_H
9047 # include <sys/socketvar.h>
9048 #endif
9049 #ifdef HAVE_NET_ROUTE_H
9050 # include <net/route.h>
9051 #endif
9052 #ifdef HAVE_NETINET_IN_H
9053 # include <netinet/in.h>
9054 #endif
9055 #ifdef HAVE_NETINET_IN_SYSTM_H
9056 # include <netinet/in_systm.h>
9057 #endif
9058 #ifdef HAVE_NET_IF_H
9059 # include <net/if.h>
9060 #endif
9061 #ifdef HAVE_NETINET_IP_H
9062 # include <netinet/ip.h>
9063 #endif
9065 if test "x$ac_cv_header_net_route_h" = xyes
9066 then :
9067 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
9070 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
9071 #ifdef HAVE_SYS_SOCKET_H
9072 # include <sys/socket.h>
9073 #endif
9074 #ifdef HAVE_SYS_SOCKETVAR_H
9075 # include <sys/socketvar.h>
9076 #endif
9077 #ifdef HAVE_NET_ROUTE_H
9078 # include <net/route.h>
9079 #endif
9080 #ifdef HAVE_NETINET_IN_H
9081 # include <netinet/in.h>
9082 #endif
9083 #ifdef HAVE_NETINET_IN_SYSTM_H
9084 # include <netinet/in_systm.h>
9085 #endif
9086 #ifdef HAVE_NET_IF_H
9087 # include <net/if.h>
9088 #endif
9089 #ifdef HAVE_NETINET_IP_H
9090 # include <netinet/ip.h>
9091 #endif
9093 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
9094 then :
9095 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
9098 ac_fn_c_check_header_compile "$LINENO" "netinet/if_inarp.h" "ac_cv_header_netinet_if_inarp_h" "#include <sys/types.h>
9099 #ifdef HAVE_SYS_SOCKET_H
9100 # include <sys/socket.h>
9101 #endif
9102 #ifdef HAVE_SYS_SOCKETVAR_H
9103 # include <sys/socketvar.h>
9104 #endif
9105 #ifdef HAVE_NET_ROUTE_H
9106 # include <net/route.h>
9107 #endif
9108 #ifdef HAVE_NETINET_IN_H
9109 # include <netinet/in.h>
9110 #endif
9111 #ifdef HAVE_NETINET_IN_SYSTM_H
9112 # include <netinet/in_systm.h>
9113 #endif
9114 #ifdef HAVE_NET_IF_H
9115 # include <net/if.h>
9116 #endif
9117 #ifdef HAVE_NETINET_IP_H
9118 # include <netinet/ip.h>
9119 #endif
9121 if test "x$ac_cv_header_netinet_if_inarp_h" = xyes
9122 then :
9123 printf "%s\n" "#define HAVE_NETINET_IF_INARP_H 1" >>confdefs.h
9126 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
9127 #ifdef HAVE_SYS_SOCKET_H
9128 # include <sys/socket.h>
9129 #endif
9130 #ifdef HAVE_SYS_SOCKETVAR_H
9131 # include <sys/socketvar.h>
9132 #endif
9133 #ifdef HAVE_NET_ROUTE_H
9134 # include <net/route.h>
9135 #endif
9136 #ifdef HAVE_NETINET_IN_H
9137 # include <netinet/in.h>
9138 #endif
9139 #ifdef HAVE_NETINET_IN_SYSTM_H
9140 # include <netinet/in_systm.h>
9141 #endif
9142 #ifdef HAVE_NET_IF_H
9143 # include <net/if.h>
9144 #endif
9145 #ifdef HAVE_NETINET_IP_H
9146 # include <netinet/ip.h>
9147 #endif
9149 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
9150 then :
9151 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
9154 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
9155 #ifdef HAVE_SYS_SOCKET_H
9156 # include <sys/socket.h>
9157 #endif
9158 #ifdef HAVE_SYS_SOCKETVAR_H
9159 # include <sys/socketvar.h>
9160 #endif
9161 #ifdef HAVE_NET_ROUTE_H
9162 # include <net/route.h>
9163 #endif
9164 #ifdef HAVE_NETINET_IN_H
9165 # include <netinet/in.h>
9166 #endif
9167 #ifdef HAVE_NETINET_IN_SYSTM_H
9168 # include <netinet/in_systm.h>
9169 #endif
9170 #ifdef HAVE_NET_IF_H
9171 # include <net/if.h>
9172 #endif
9173 #ifdef HAVE_NETINET_IP_H
9174 # include <netinet/ip.h>
9175 #endif
9177 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
9178 then :
9179 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
9182 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
9183 #ifdef HAVE_SYS_SOCKET_H
9184 # include <sys/socket.h>
9185 #endif
9186 #ifdef HAVE_SYS_SOCKETVAR_H
9187 # include <sys/socketvar.h>
9188 #endif
9189 #ifdef HAVE_NET_ROUTE_H
9190 # include <net/route.h>
9191 #endif
9192 #ifdef HAVE_NETINET_IN_H
9193 # include <netinet/in.h>
9194 #endif
9195 #ifdef HAVE_NETINET_IN_SYSTM_H
9196 # include <netinet/in_systm.h>
9197 #endif
9198 #ifdef HAVE_NET_IF_H
9199 # include <net/if.h>
9200 #endif
9201 #ifdef HAVE_NETINET_IP_H
9202 # include <netinet/ip.h>
9203 #endif
9205 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
9206 then :
9207 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
9210 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
9211 #ifdef HAVE_SYS_SOCKET_H
9212 # include <sys/socket.h>
9213 #endif
9214 #ifdef HAVE_SYS_SOCKETVAR_H
9215 # include <sys/socketvar.h>
9216 #endif
9217 #ifdef HAVE_NET_ROUTE_H
9218 # include <net/route.h>
9219 #endif
9220 #ifdef HAVE_NETINET_IN_H
9221 # include <netinet/in.h>
9222 #endif
9223 #ifdef HAVE_NETINET_IN_SYSTM_H
9224 # include <netinet/in_systm.h>
9225 #endif
9226 #ifdef HAVE_NET_IF_H
9227 # include <net/if.h>
9228 #endif
9229 #ifdef HAVE_NETINET_IP_H
9230 # include <netinet/ip.h>
9231 #endif
9233 if test "x$ac_cv_header_netinet_udp_h" = xyes
9234 then :
9235 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
9238 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
9239 #ifdef HAVE_SYS_SOCKET_H
9240 # include <sys/socket.h>
9241 #endif
9242 #ifdef HAVE_SYS_SOCKETVAR_H
9243 # include <sys/socketvar.h>
9244 #endif
9245 #ifdef HAVE_NET_ROUTE_H
9246 # include <net/route.h>
9247 #endif
9248 #ifdef HAVE_NETINET_IN_H
9249 # include <netinet/in.h>
9250 #endif
9251 #ifdef HAVE_NETINET_IN_SYSTM_H
9252 # include <netinet/in_systm.h>
9253 #endif
9254 #ifdef HAVE_NET_IF_H
9255 # include <net/if.h>
9256 #endif
9257 #ifdef HAVE_NETINET_IP_H
9258 # include <netinet/ip.h>
9259 #endif
9261 if test "x$ac_cv_header_netipx_ipx_h" = xyes
9262 then :
9263 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
9266 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
9267 #ifdef HAVE_SYS_SOCKET_H
9268 # include <sys/socket.h>
9269 #endif
9270 #ifdef HAVE_SYS_SOCKETVAR_H
9271 # include <sys/socketvar.h>
9272 #endif
9273 #ifdef HAVE_NET_ROUTE_H
9274 # include <net/route.h>
9275 #endif
9276 #ifdef HAVE_NETINET_IN_H
9277 # include <netinet/in.h>
9278 #endif
9279 #ifdef HAVE_NETINET_IN_SYSTM_H
9280 # include <netinet/in_systm.h>
9281 #endif
9282 #ifdef HAVE_NET_IF_H
9283 # include <net/if.h>
9284 #endif
9285 #ifdef HAVE_NETINET_IP_H
9286 # include <netinet/ip.h>
9287 #endif
9289 if test "x$ac_cv_header_sys_un_h" = xyes
9290 then :
9291 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
9296 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_timer.h" "ac_cv_header_netinet_tcp_timer_h" "#include <sys/types.h>
9297 #ifdef HAVE_ALIAS_H
9298 # include <alias.h>
9299 #endif
9300 #ifdef HAVE_SYS_SOCKET_H
9301 # include <sys/socket.h>
9302 #endif
9303 #ifdef HAVE_SYS_SOCKETVAR_H
9304 # include <sys/socketvar.h>
9305 #endif
9306 #ifdef HAVE_SYS_TIMEOUT_H
9307 # include <sys/timeout.h>
9308 #endif
9309 #ifdef HAVE_NETINET_IN_H
9310 # include <netinet/in.h>
9311 #endif
9312 #ifdef HAVE_NETINET_IN_SYSTM_H
9313 # include <netinet/in_systm.h>
9314 #endif
9315 #ifdef HAVE_NETINET_IP_H
9316 # include <netinet/ip.h>
9317 #endif
9318 #ifdef HAVE_NETINET_IP_VAR_H
9319 # include <netinet/ip_var.h>
9320 #endif
9321 #ifdef HAVE_NETINET_IP_ICMP_H
9322 # include <netinet/ip_icmp.h>
9323 #endif
9324 #ifdef HAVE_NETINET_UDP_H
9325 # include <netinet/udp.h>
9326 #endif
9327 #ifdef HAVE_NETINET_TCP_H
9328 # include <netinet/tcp.h>
9329 #endif
9330 #ifdef HAVE_NETINET_TCP_TIMER_H
9331 #include <netinet/tcp_timer.h>
9332 #endif
9334 if test "x$ac_cv_header_netinet_tcp_timer_h" = xyes
9335 then :
9336 printf "%s\n" "#define HAVE_NETINET_TCP_TIMER_H 1" >>confdefs.h
9339 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
9340 #ifdef HAVE_ALIAS_H
9341 # include <alias.h>
9342 #endif
9343 #ifdef HAVE_SYS_SOCKET_H
9344 # include <sys/socket.h>
9345 #endif
9346 #ifdef HAVE_SYS_SOCKETVAR_H
9347 # include <sys/socketvar.h>
9348 #endif
9349 #ifdef HAVE_SYS_TIMEOUT_H
9350 # include <sys/timeout.h>
9351 #endif
9352 #ifdef HAVE_NETINET_IN_H
9353 # include <netinet/in.h>
9354 #endif
9355 #ifdef HAVE_NETINET_IN_SYSTM_H
9356 # include <netinet/in_systm.h>
9357 #endif
9358 #ifdef HAVE_NETINET_IP_H
9359 # include <netinet/ip.h>
9360 #endif
9361 #ifdef HAVE_NETINET_IP_VAR_H
9362 # include <netinet/ip_var.h>
9363 #endif
9364 #ifdef HAVE_NETINET_IP_ICMP_H
9365 # include <netinet/ip_icmp.h>
9366 #endif
9367 #ifdef HAVE_NETINET_UDP_H
9368 # include <netinet/udp.h>
9369 #endif
9370 #ifdef HAVE_NETINET_TCP_H
9371 # include <netinet/tcp.h>
9372 #endif
9373 #ifdef HAVE_NETINET_TCP_TIMER_H
9374 #include <netinet/tcp_timer.h>
9375 #endif
9377 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
9378 then :
9379 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
9382 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
9383 #ifdef HAVE_ALIAS_H
9384 # include <alias.h>
9385 #endif
9386 #ifdef HAVE_SYS_SOCKET_H
9387 # include <sys/socket.h>
9388 #endif
9389 #ifdef HAVE_SYS_SOCKETVAR_H
9390 # include <sys/socketvar.h>
9391 #endif
9392 #ifdef HAVE_SYS_TIMEOUT_H
9393 # include <sys/timeout.h>
9394 #endif
9395 #ifdef HAVE_NETINET_IN_H
9396 # include <netinet/in.h>
9397 #endif
9398 #ifdef HAVE_NETINET_IN_SYSTM_H
9399 # include <netinet/in_systm.h>
9400 #endif
9401 #ifdef HAVE_NETINET_IP_H
9402 # include <netinet/ip.h>
9403 #endif
9404 #ifdef HAVE_NETINET_IP_VAR_H
9405 # include <netinet/ip_var.h>
9406 #endif
9407 #ifdef HAVE_NETINET_IP_ICMP_H
9408 # include <netinet/ip_icmp.h>
9409 #endif
9410 #ifdef HAVE_NETINET_UDP_H
9411 # include <netinet/udp.h>
9412 #endif
9413 #ifdef HAVE_NETINET_TCP_H
9414 # include <netinet/tcp.h>
9415 #endif
9416 #ifdef HAVE_NETINET_TCP_TIMER_H
9417 #include <netinet/tcp_timer.h>
9418 #endif
9420 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
9421 then :
9422 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
9425 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
9426 #ifdef HAVE_ALIAS_H
9427 # include <alias.h>
9428 #endif
9429 #ifdef HAVE_SYS_SOCKET_H
9430 # include <sys/socket.h>
9431 #endif
9432 #ifdef HAVE_SYS_SOCKETVAR_H
9433 # include <sys/socketvar.h>
9434 #endif
9435 #ifdef HAVE_SYS_TIMEOUT_H
9436 # include <sys/timeout.h>
9437 #endif
9438 #ifdef HAVE_NETINET_IN_H
9439 # include <netinet/in.h>
9440 #endif
9441 #ifdef HAVE_NETINET_IN_SYSTM_H
9442 # include <netinet/in_systm.h>
9443 #endif
9444 #ifdef HAVE_NETINET_IP_H
9445 # include <netinet/ip.h>
9446 #endif
9447 #ifdef HAVE_NETINET_IP_VAR_H
9448 # include <netinet/ip_var.h>
9449 #endif
9450 #ifdef HAVE_NETINET_IP_ICMP_H
9451 # include <netinet/ip_icmp.h>
9452 #endif
9453 #ifdef HAVE_NETINET_UDP_H
9454 # include <netinet/udp.h>
9455 #endif
9456 #ifdef HAVE_NETINET_TCP_H
9457 # include <netinet/tcp.h>
9458 #endif
9459 #ifdef HAVE_NETINET_TCP_TIMER_H
9460 #include <netinet/tcp_timer.h>
9461 #endif
9463 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9464 then :
9465 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9470 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9471 #ifdef HAVE_ASM_TYPES_H
9472 # include <asm/types.h>
9473 #endif
9474 #ifdef HAVE_SYS_SOCKET_H
9475 # include <sys/socket.h>
9476 #endif
9477 #ifdef HAVE_LINUX_TYPES_H
9478 # include <linux/types.h>
9479 #endif
9481 if test "x$ac_cv_header_linux_ipx_h" = xyes
9482 then :
9483 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9486 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9487 #ifdef HAVE_ASM_TYPES_H
9488 # include <asm/types.h>
9489 #endif
9490 #ifdef HAVE_SYS_SOCKET_H
9491 # include <sys/socket.h>
9492 #endif
9493 #ifdef HAVE_LINUX_TYPES_H
9494 # include <linux/types.h>
9495 #endif
9497 if test "x$ac_cv_header_linux_irda_h" = xyes
9498 then :
9499 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9502 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9503 #ifdef HAVE_ASM_TYPES_H
9504 # include <asm/types.h>
9505 #endif
9506 #ifdef HAVE_SYS_SOCKET_H
9507 # include <sys/socket.h>
9508 #endif
9509 #ifdef HAVE_LINUX_TYPES_H
9510 # include <linux/types.h>
9511 #endif
9513 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9514 then :
9515 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9520 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9521 #ifdef HAVE_SYS_SOCKET_H
9522 # include <sys/socket.h>
9523 #endif
9524 #ifdef HAVE_NETINET_IN_H
9525 # include <netinet/in.h>
9526 #endif
9527 #ifdef HAVE_ARPA_NAMESER_H
9528 # include <arpa/nameser.h>
9529 #endif
9531 if test "x$ac_cv_header_resolv_h" = xyes
9532 then :
9533 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9538 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9540 if test "x$ac_cv_header_ifaddrs_h" = xyes
9541 then :
9542 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9547 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9549 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9550 then :
9551 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9556 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9557 #ifdef HAVE_SYS_UCONTEXT_H
9558 #include <sys/ucontext.h>
9559 #endif
9561 if test "x$ac_cv_header_sys_thr_h" = xyes
9562 then :
9563 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9568 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9569 #include <pthread.h>
9570 #endif
9572 if test "x$ac_cv_header_pthread_np_h" = xyes
9573 then :
9574 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9579 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
9580 #include <sys/time.h>
9581 #endif
9582 #include <sys/types.h>
9583 #ifdef HAVE_ASM_TYPES_H
9584 #include <asm/types.h>
9585 #endif
9587 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9588 then :
9589 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9594 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9595 #include <sys/param.h>
9596 #endif
9597 #ifdef HAVE_SYS_QUEUE_H
9598 #include <sys/queue.h>
9599 #endif
9600 #ifdef HAVE_SYS_SOCKET_H
9601 #include <sys/socket.h>
9602 #endif
9604 if test "x$ac_cv_header_libprocstat_h" = xyes
9605 then :
9606 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9612 DLLFLAGS=""
9614 LDDLLFLAGS=""
9616 LDEXECFLAGS=""
9618 EXTRACFLAGS=""
9620 UNIXDLLFLAGS="-fPIC"
9622 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9624 TOP_INSTALL_LIB=""
9626 TOP_INSTALL_DEV=""
9628 WINELOADER_LDFLAGS=""
9630 WINEPRELOADER_LDFLAGS=""
9632 LIBEXT="so"
9633 # Extract the first word of "ldd", so it can be a program name with args.
9634 set dummy ldd; ac_word=$2
9635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9636 printf %s "checking for $ac_word... " >&6; }
9637 if test ${ac_cv_path_LDD+y}
9638 then :
9639 printf %s "(cached) " >&6
9640 else $as_nop
9641 case $LDD in
9642 [\\/]* | ?:[\\/]*)
9643 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9647 as_dummy="/sbin:/usr/sbin:$PATH"
9648 for as_dir in $as_dummy
9650 IFS=$as_save_IFS
9651 case $as_dir in #(((
9652 '') as_dir=./ ;;
9653 */) ;;
9654 *) as_dir=$as_dir/ ;;
9655 esac
9656 for ac_exec_ext in '' $ac_executable_extensions; do
9657 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9658 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9660 break 2
9662 done
9663 done
9664 IFS=$as_save_IFS
9666 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9668 esac
9670 LDD=$ac_cv_path_LDD
9671 if test -n "$LDD"; then
9672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9673 printf "%s\n" "$LDD" >&6; }
9674 else
9675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9676 printf "%s\n" "no" >&6; }
9680 if test -n "$ac_tool_prefix"; then
9681 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9682 set dummy ${ac_tool_prefix}otool; ac_word=$2
9683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9684 printf %s "checking for $ac_word... " >&6; }
9685 if test ${ac_cv_prog_OTOOL+y}
9686 then :
9687 printf %s "(cached) " >&6
9688 else $as_nop
9689 if test -n "$OTOOL"; then
9690 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9691 else
9692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9693 for as_dir in $PATH
9695 IFS=$as_save_IFS
9696 case $as_dir in #(((
9697 '') as_dir=./ ;;
9698 */) ;;
9699 *) as_dir=$as_dir/ ;;
9700 esac
9701 for ac_exec_ext in '' $ac_executable_extensions; do
9702 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9703 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9705 break 2
9707 done
9708 done
9709 IFS=$as_save_IFS
9713 OTOOL=$ac_cv_prog_OTOOL
9714 if test -n "$OTOOL"; then
9715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9716 printf "%s\n" "$OTOOL" >&6; }
9717 else
9718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9719 printf "%s\n" "no" >&6; }
9724 if test -z "$ac_cv_prog_OTOOL"; then
9725 ac_ct_OTOOL=$OTOOL
9726 # Extract the first word of "otool", so it can be a program name with args.
9727 set dummy otool; ac_word=$2
9728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9729 printf %s "checking for $ac_word... " >&6; }
9730 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9731 then :
9732 printf %s "(cached) " >&6
9733 else $as_nop
9734 if test -n "$ac_ct_OTOOL"; then
9735 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9736 else
9737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9738 for as_dir in $PATH
9740 IFS=$as_save_IFS
9741 case $as_dir in #(((
9742 '') as_dir=./ ;;
9743 */) ;;
9744 *) as_dir=$as_dir/ ;;
9745 esac
9746 for ac_exec_ext in '' $ac_executable_extensions; do
9747 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9748 ac_cv_prog_ac_ct_OTOOL="otool"
9749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9750 break 2
9752 done
9753 done
9754 IFS=$as_save_IFS
9758 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9759 if test -n "$ac_ct_OTOOL"; then
9760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9761 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9762 else
9763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9764 printf "%s\n" "no" >&6; }
9767 if test "x$ac_ct_OTOOL" = x; then
9768 OTOOL="otool"
9769 else
9770 case $cross_compiling:$ac_tool_warned in
9771 yes:)
9772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9773 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9774 ac_tool_warned=yes ;;
9775 esac
9776 OTOOL=$ac_ct_OTOOL
9778 else
9779 OTOOL="$ac_cv_prog_OTOOL"
9782 if test -n "$ac_tool_prefix"; then
9783 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9784 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9786 printf %s "checking for $ac_word... " >&6; }
9787 if test ${ac_cv_prog_READELF+y}
9788 then :
9789 printf %s "(cached) " >&6
9790 else $as_nop
9791 if test -n "$READELF"; then
9792 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9793 else
9794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9795 for as_dir in $PATH
9797 IFS=$as_save_IFS
9798 case $as_dir in #(((
9799 '') as_dir=./ ;;
9800 */) ;;
9801 *) as_dir=$as_dir/ ;;
9802 esac
9803 for ac_exec_ext in '' $ac_executable_extensions; do
9804 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9805 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9807 break 2
9809 done
9810 done
9811 IFS=$as_save_IFS
9815 READELF=$ac_cv_prog_READELF
9816 if test -n "$READELF"; then
9817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9818 printf "%s\n" "$READELF" >&6; }
9819 else
9820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9821 printf "%s\n" "no" >&6; }
9826 if test -z "$ac_cv_prog_READELF"; then
9827 ac_ct_READELF=$READELF
9828 # Extract the first word of "readelf", so it can be a program name with args.
9829 set dummy readelf; ac_word=$2
9830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9831 printf %s "checking for $ac_word... " >&6; }
9832 if test ${ac_cv_prog_ac_ct_READELF+y}
9833 then :
9834 printf %s "(cached) " >&6
9835 else $as_nop
9836 if test -n "$ac_ct_READELF"; then
9837 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9838 else
9839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9840 for as_dir in $PATH
9842 IFS=$as_save_IFS
9843 case $as_dir in #(((
9844 '') as_dir=./ ;;
9845 */) ;;
9846 *) as_dir=$as_dir/ ;;
9847 esac
9848 for ac_exec_ext in '' $ac_executable_extensions; do
9849 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9850 ac_cv_prog_ac_ct_READELF="readelf"
9851 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9852 break 2
9854 done
9855 done
9856 IFS=$as_save_IFS
9860 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9861 if test -n "$ac_ct_READELF"; then
9862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9863 printf "%s\n" "$ac_ct_READELF" >&6; }
9864 else
9865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9866 printf "%s\n" "no" >&6; }
9869 if test "x$ac_ct_READELF" = x; then
9870 READELF="true"
9871 else
9872 case $cross_compiling:$ac_tool_warned in
9873 yes:)
9874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9875 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9876 ac_tool_warned=yes ;;
9877 esac
9878 READELF=$ac_ct_READELF
9880 else
9881 READELF="$ac_cv_prog_READELF"
9884 wine_rules="all:"
9885 SUBDIRS=""
9887 DISABLED_SUBDIRS=""
9889 CONFIGURE_TARGETS=""
9892 wine_fn_append_file ()
9894 as_fn_append $1 " \\$as_nl $2"
9897 wine_fn_append_rule ()
9899 as_fn_append wine_rules "$as_nl$1"
9902 wine_fn_config_makefile ()
9904 wine_fn_append_file SUBDIRS $1
9905 if eval test \"x\$"$2"\" = x"no"
9906 then :
9907 wine_fn_append_file DISABLED_SUBDIRS $1
9911 wine_fn_config_symlink ()
9913 ac_links=$@
9914 wine_fn_append_rule \
9915 "$ac_links:
9916 @./config.status \$@"
9917 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9920 wine_binary="wine"
9921 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9922 WINELOADER_PROGRAMS="$wine_binary"
9924 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9926 case $host_os in
9927 cygwin*|mingw32*)
9928 if test -n "$ac_tool_prefix"; then
9929 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9930 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9932 printf %s "checking for $ac_word... " >&6; }
9933 if test ${ac_cv_prog_DLLTOOL+y}
9934 then :
9935 printf %s "(cached) " >&6
9936 else $as_nop
9937 if test -n "$DLLTOOL"; then
9938 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9939 else
9940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9941 for as_dir in $PATH
9943 IFS=$as_save_IFS
9944 case $as_dir in #(((
9945 '') as_dir=./ ;;
9946 */) ;;
9947 *) as_dir=$as_dir/ ;;
9948 esac
9949 for ac_exec_ext in '' $ac_executable_extensions; do
9950 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9951 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9953 break 2
9955 done
9956 done
9957 IFS=$as_save_IFS
9961 DLLTOOL=$ac_cv_prog_DLLTOOL
9962 if test -n "$DLLTOOL"; then
9963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9964 printf "%s\n" "$DLLTOOL" >&6; }
9965 else
9966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9967 printf "%s\n" "no" >&6; }
9972 if test -z "$ac_cv_prog_DLLTOOL"; then
9973 ac_ct_DLLTOOL=$DLLTOOL
9974 # Extract the first word of "dlltool", so it can be a program name with args.
9975 set dummy dlltool; ac_word=$2
9976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9977 printf %s "checking for $ac_word... " >&6; }
9978 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9979 then :
9980 printf %s "(cached) " >&6
9981 else $as_nop
9982 if test -n "$ac_ct_DLLTOOL"; then
9983 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9984 else
9985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9986 for as_dir in $PATH
9988 IFS=$as_save_IFS
9989 case $as_dir in #(((
9990 '') as_dir=./ ;;
9991 */) ;;
9992 *) as_dir=$as_dir/ ;;
9993 esac
9994 for ac_exec_ext in '' $ac_executable_extensions; do
9995 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9996 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9998 break 2
10000 done
10001 done
10002 IFS=$as_save_IFS
10006 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
10007 if test -n "$ac_ct_DLLTOOL"; then
10008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
10009 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
10010 else
10011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10012 printf "%s\n" "no" >&6; }
10015 if test "x$ac_ct_DLLTOOL" = x; then
10016 DLLTOOL="false"
10017 else
10018 case $cross_compiling:$ac_tool_warned in
10019 yes:)
10020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10021 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10022 ac_tool_warned=yes ;;
10023 esac
10024 DLLTOOL=$ac_ct_DLLTOOL
10026 else
10027 DLLTOOL="$ac_cv_prog_DLLTOOL"
10030 LIBEXT="dll"
10031 EXTRACFLAGS="-D__WINE_PE_BUILD"
10032 case $host_cpu in
10033 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
10034 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
10035 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
10036 then :
10037 printf %s "(cached) " >&6
10038 else $as_nop
10039 ac_wine_try_cflags_saved=$CFLAGS
10040 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
10041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10043 int main(int argc, char **argv) { return 0; }
10044 _ACEOF
10045 if ac_fn_c_try_link "$LINENO"
10046 then :
10047 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
10048 else $as_nop
10049 ac_cv_cflags__Wl___disable_stdcall_fixup=no
10051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10052 conftest$ac_exeext conftest.$ac_ext
10053 CFLAGS=$ac_wine_try_cflags_saved
10055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
10056 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
10057 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
10058 then :
10059 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
10060 fi ;;
10061 esac
10062 enable_mountmgr_sys=${enable_mountmgr_sys:-no}
10063 enable_loader=${enable_loader:-no}
10064 enable_server=${enable_server:-no}
10065 with_x=${with_x:-no}
10066 with_pthread=${with_pthread:-no}
10069 darwin*|macosx*)
10070 ac_ext=m
10071 ac_cpp='$OBJCPP $CPPFLAGS'
10072 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10073 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10074 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10076 ac_ext=m
10077 ac_cpp='$OBJCPP $CPPFLAGS'
10078 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10079 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10080 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10081 if test -n "$ac_tool_prefix"; then
10082 for ac_prog in gcc objcc objc cc CC clang
10084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10085 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10087 printf %s "checking for $ac_word... " >&6; }
10088 if test ${ac_cv_prog_OBJC+y}
10089 then :
10090 printf %s "(cached) " >&6
10091 else $as_nop
10092 if test -n "$OBJC"; then
10093 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
10094 else
10095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10096 for as_dir in $PATH
10098 IFS=$as_save_IFS
10099 case $as_dir in #(((
10100 '') as_dir=./ ;;
10101 */) ;;
10102 *) as_dir=$as_dir/ ;;
10103 esac
10104 for ac_exec_ext in '' $ac_executable_extensions; do
10105 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10106 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
10107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10108 break 2
10110 done
10111 done
10112 IFS=$as_save_IFS
10116 OBJC=$ac_cv_prog_OBJC
10117 if test -n "$OBJC"; then
10118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
10119 printf "%s\n" "$OBJC" >&6; }
10120 else
10121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10122 printf "%s\n" "no" >&6; }
10126 test -n "$OBJC" && break
10127 done
10129 if test -z "$OBJC"; then
10130 ac_ct_OBJC=$OBJC
10131 for ac_prog in gcc objcc objc cc CC clang
10133 # Extract the first word of "$ac_prog", so it can be a program name with args.
10134 set dummy $ac_prog; ac_word=$2
10135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10136 printf %s "checking for $ac_word... " >&6; }
10137 if test ${ac_cv_prog_ac_ct_OBJC+y}
10138 then :
10139 printf %s "(cached) " >&6
10140 else $as_nop
10141 if test -n "$ac_ct_OBJC"; then
10142 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
10143 else
10144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10145 for as_dir in $PATH
10147 IFS=$as_save_IFS
10148 case $as_dir in #(((
10149 '') as_dir=./ ;;
10150 */) ;;
10151 *) as_dir=$as_dir/ ;;
10152 esac
10153 for ac_exec_ext in '' $ac_executable_extensions; do
10154 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10155 ac_cv_prog_ac_ct_OBJC="$ac_prog"
10156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10157 break 2
10159 done
10160 done
10161 IFS=$as_save_IFS
10165 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
10166 if test -n "$ac_ct_OBJC"; then
10167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
10168 printf "%s\n" "$ac_ct_OBJC" >&6; }
10169 else
10170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10171 printf "%s\n" "no" >&6; }
10175 test -n "$ac_ct_OBJC" && break
10176 done
10178 if test "x$ac_ct_OBJC" = x; then
10179 OBJC="gcc"
10180 else
10181 case $cross_compiling:$ac_tool_warned in
10182 yes:)
10183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10184 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10185 ac_tool_warned=yes ;;
10186 esac
10187 OBJC=$ac_ct_OBJC
10191 # Provide some information about the compiler.
10192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
10193 set X $ac_compile
10194 ac_compiler=$2
10195 for ac_option in --version -v -V -qversion; do
10196 { { ac_try="$ac_compiler $ac_option >&5"
10197 case "(($ac_try" in
10198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10199 *) ac_try_echo=$ac_try;;
10200 esac
10201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10202 printf "%s\n" "$ac_try_echo"; } >&5
10203 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10204 ac_status=$?
10205 if test -s conftest.err; then
10206 sed '10a\
10207 ... rest of stderr output deleted ...
10208 10q' conftest.err >conftest.er1
10209 cat conftest.er1 >&5
10211 rm -f conftest.er1 conftest.err
10212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10213 test $ac_status = 0; }
10214 done
10216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
10217 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
10218 if test ${ac_cv_objc_compiler_gnu+y}
10219 then :
10220 printf %s "(cached) " >&6
10221 else $as_nop
10222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10223 /* end confdefs.h. */
10226 main (void)
10228 #ifndef __GNUC__
10229 choke me
10230 #endif
10233 return 0;
10235 _ACEOF
10236 if ac_fn_objc_try_compile "$LINENO"
10237 then :
10238 ac_compiler_gnu=yes
10239 else $as_nop
10240 ac_compiler_gnu=no
10242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10243 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
10246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
10247 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
10248 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10250 if test $ac_compiler_gnu = yes; then
10251 GOBJC=yes
10252 else
10253 GOBJC=
10255 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
10256 ac_save_OBJCFLAGS=$OBJCFLAGS
10257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
10258 printf %s "checking whether $OBJC accepts -g... " >&6; }
10259 if test ${ac_cv_prog_objc_g+y}
10260 then :
10261 printf %s "(cached) " >&6
10262 else $as_nop
10263 ac_save_objc_werror_flag=$ac_objc_werror_flag
10264 ac_objc_werror_flag=yes
10265 ac_cv_prog_objc_g=no
10266 OBJCFLAGS="-g"
10267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10268 /* end confdefs.h. */
10271 main (void)
10275 return 0;
10277 _ACEOF
10278 if ac_fn_objc_try_compile "$LINENO"
10279 then :
10280 ac_cv_prog_objc_g=yes
10281 else $as_nop
10282 OBJCFLAGS=""
10283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10284 /* end confdefs.h. */
10287 main (void)
10291 return 0;
10293 _ACEOF
10294 if ac_fn_objc_try_compile "$LINENO"
10295 then :
10297 else $as_nop
10298 ac_objc_werror_flag=$ac_save_objc_werror_flag
10299 OBJCFLAGS="-g"
10300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10301 /* end confdefs.h. */
10304 main (void)
10308 return 0;
10310 _ACEOF
10311 if ac_fn_objc_try_compile "$LINENO"
10312 then :
10313 ac_cv_prog_objc_g=yes
10315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10320 ac_objc_werror_flag=$ac_save_objc_werror_flag
10322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
10323 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
10324 if test $ac_test_OBJCFLAGS; then
10325 OBJCFLAGS=$ac_save_OBJCFLAGS
10326 elif test $ac_cv_prog_objc_g = yes; then
10327 if test "$GOBJC" = yes; then
10328 OBJCFLAGS="-g -O2"
10329 else
10330 OBJCFLAGS="-g"
10332 else
10333 if test "$GOBJC" = yes; then
10334 OBJCFLAGS="-O2"
10335 else
10336 OBJCFLAGS=
10339 ac_ext=m
10340 ac_cpp='$OBJCPP $CPPFLAGS'
10341 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10342 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10343 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10346 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
10347 if test "x$ac_cv_header_Metal_Metal_h" = xyes
10348 then :
10349 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
10353 ac_ext=c
10354 ac_cpp='$CPP $CPPFLAGS'
10355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10359 LIBEXT="dylib"
10360 DLLFLAGS="$DLLFLAGS -fPIC"
10361 LDDLLFLAGS="-fPIC"
10362 COREFOUNDATION_LIBS="-framework CoreFoundation"
10364 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
10366 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
10368 CORESERVICES_LIBS="-framework CoreServices"
10370 APPKIT_LIBS="-framework AppKit"
10372 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
10375 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
10377 wine_can_build_preloader=yes
10378 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
10379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
10380 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
10381 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
10382 then :
10383 printf %s "(cached) " >&6
10384 else $as_nop
10385 ac_wine_try_cflags_saved=$CFLAGS
10386 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10389 int main(int argc, char **argv) { return 0; }
10390 _ACEOF
10391 if ac_fn_c_try_link "$LINENO"
10392 then :
10393 ac_cv_cflags__Wl__no_new_main__e__main=yes
10394 else $as_nop
10395 ac_cv_cflags__Wl__no_new_main__e__main=no
10397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10398 conftest$ac_exeext conftest.$ac_ext
10399 CFLAGS=$ac_wine_try_cflags_saved
10401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
10402 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
10403 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
10404 then :
10405 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
10406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10407 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10408 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10409 then :
10410 printf %s "(cached) " >&6
10411 else $as_nop
10412 ac_wine_try_cflags_saved=$CFLAGS
10413 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10415 /* end confdefs.h. */
10416 int main(int argc, char **argv) { return 0; }
10417 _ACEOF
10418 if ac_fn_c_try_link "$LINENO"
10419 then :
10420 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10421 else $as_nop
10422 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10425 conftest$ac_exeext conftest.$ac_ext
10426 CFLAGS=$ac_wine_try_cflags_saved
10428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10429 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10430 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10431 then :
10432 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10433 else $as_nop
10434 wine_can_build_preloader=no
10436 else $as_nop
10437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10438 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10439 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10440 then :
10441 printf %s "(cached) " >&6
10442 else $as_nop
10443 ac_wine_try_cflags_saved=$CFLAGS
10444 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10446 /* end confdefs.h. */
10447 int main(int argc, char **argv) { return 0; }
10448 _ACEOF
10449 if ac_fn_c_try_link "$LINENO"
10450 then :
10451 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10452 else $as_nop
10453 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10456 conftest$ac_exeext conftest.$ac_ext
10457 CFLAGS=$ac_wine_try_cflags_saved
10459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10460 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10461 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10462 then :
10463 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10464 else $as_nop
10465 wine_can_build_preloader=no
10468 if test "$wine_can_build_preloader" = "yes"
10469 then
10470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
10471 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
10472 if test ${ac_cv_cflags__Wl__no_pie+y}
10473 then :
10474 printf %s "(cached) " >&6
10475 else $as_nop
10476 ac_wine_try_cflags_saved=$CFLAGS
10477 CFLAGS="$CFLAGS -Wl,-no_pie"
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10480 int main(int argc, char **argv) { return 0; }
10481 _ACEOF
10482 if ac_fn_c_try_link "$LINENO"
10483 then :
10484 ac_cv_cflags__Wl__no_pie=yes
10485 else $as_nop
10486 ac_cv_cflags__Wl__no_pie=no
10488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10489 conftest$ac_exeext conftest.$ac_ext
10490 CFLAGS=$ac_wine_try_cflags_saved
10492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
10493 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
10494 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
10495 then :
10496 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
10498 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
10499 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
10500 else
10501 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10504 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10505 then
10506 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10509 if test "$ac_cv_header_Security_Security_h" = "yes"
10510 then
10511 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10514 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10515 then
10516 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10518 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10520 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10521 then
10522 OPENAL_LIBS="-framework OpenAL"
10525 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10527 ac_cv_lib_openal=yes
10529 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10530 then
10531 OPENCL_LIBS="-framework OpenCL"
10533 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10535 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10536 then
10537 ac_save_LIBS="$LIBS"
10538 LIBS="$LIBS $IOKIT_LIBS"
10539 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10540 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10541 then :
10542 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10546 LIBS="$ac_save_LIBS"
10549 if test "x$with_quicktime" != "xno"
10550 then
10551 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
10552 then
10553 ac_save_LIBS="$LIBS"
10554 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
10555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
10556 printf %s "checking for the QuickTime framework... " >&6; }
10557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h. */
10559 #include <QuickTime/ImageCompression.h>
10561 main (void)
10563 CodecManagerVersion(NULL);
10565 return 0;
10567 _ACEOF
10568 if ac_fn_c_try_link "$LINENO"
10569 then :
10570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10571 printf "%s\n" "yes" >&6; }
10572 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
10574 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
10575 else $as_nop
10576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10577 printf "%s\n" "no" >&6; }
10578 ac_cv_header_QuickTime_ImageCompression_h=no
10580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10581 conftest$ac_exeext conftest.$ac_ext
10582 LIBS="$ac_save_LIBS"
10585 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
10586 then :
10587 case "x$with_quicktime" in
10588 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
10589 xno) ;;
10590 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
10591 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
10592 esac
10596 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10597 then
10598 CARBON_LIBS="-framework Carbon"
10601 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10602 then
10603 METAL_LIBS="-framework Metal -framework QuartzCore"
10607 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10608 then
10609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10610 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10611 ac_ext=m
10612 ac_cpp='$OBJCPP $CPPFLAGS'
10613 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10614 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10615 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10618 /* end confdefs.h. */
10619 #include <Metal/Metal.h>
10621 main (void)
10623 id<MTLDevice> device; device.registryID;
10625 return 0;
10627 _ACEOF
10628 if ac_fn_objc_try_compile "$LINENO"
10629 then :
10630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10631 printf "%s\n" "yes" >&6; }
10633 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10635 else $as_nop
10636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10637 printf "%s\n" "no" >&6; }
10639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10640 ac_ext=c
10641 ac_cpp='$CPP $CPPFLAGS'
10642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10648 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10649 then
10650 ac_save_LIBS="$LIBS"
10651 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10652 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10653 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10654 then :
10655 enable_winemac_drv=${enable_winemac_drv:-yes}
10658 LIBS="$ac_save_LIBS"
10661 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
10662 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10664 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10666 WINELOADER_DEPENDS="wine_info.plist"
10668 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10671 linux-android*)
10673 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10675 DLLFLAGS="$DLLFLAGS -fPIC"
10676 LDDLLFLAGS="-fPIC"
10677 LDEXECFLAGS="-Wl,-pie"
10678 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10680 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10681 if test ${ac_cv_cflags__Wl__z_defs+y}
10682 then :
10683 printf %s "(cached) " >&6
10684 else $as_nop
10685 ac_wine_try_cflags_saved=$CFLAGS
10686 CFLAGS="$CFLAGS -Wl,-z,defs"
10687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10688 /* end confdefs.h. */
10689 int main(int argc, char **argv) { return 0; }
10690 _ACEOF
10691 if ac_fn_c_try_link "$LINENO"
10692 then :
10693 ac_cv_cflags__Wl__z_defs=yes
10694 else $as_nop
10695 ac_cv_cflags__Wl__z_defs=no
10697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10698 conftest$ac_exeext conftest.$ac_ext
10699 CFLAGS=$ac_wine_try_cflags_saved
10701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10702 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10703 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10704 then :
10705 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10708 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10709 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10710 then :
10711 printf %s "(cached) " >&6
10712 else $as_nop
10713 ac_wine_try_cflags_saved=$CFLAGS
10714 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10717 int main(int argc, char **argv) { return 0; }
10718 _ACEOF
10719 if ac_fn_c_try_link "$LINENO"
10720 then :
10721 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10722 else $as_nop
10723 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10726 conftest$ac_exeext conftest.$ac_ext
10727 CFLAGS=$ac_wine_try_cflags_saved
10729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10730 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10731 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10732 then :
10733 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10735 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10738 printf %s "checking for -lEGL... " >&6; }
10739 if test ${ac_cv_lib_soname_EGL+y}
10740 then :
10741 printf %s "(cached) " >&6
10742 else $as_nop
10743 ac_check_soname_save_LIBS=$LIBS
10744 LIBS="-lEGL $LIBS"
10745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10746 /* end confdefs.h. */
10748 /* Override any GCC internal prototype to avoid an error.
10749 Use char because int might match the return type of a GCC
10750 builtin and then its argument prototype would still apply. */
10751 char eglGetProcAddress ();
10753 main (void)
10755 return eglGetProcAddress ();
10757 return 0;
10759 _ACEOF
10760 if ac_fn_c_try_link "$LINENO"
10761 then :
10762 case "$LIBEXT" in
10763 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10764 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10765 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10766 if ${ac_cv_lib_soname_EGL:+false} :
10767 then :
10768 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10769 fi ;;
10770 esac
10771 else $as_nop
10772 ac_cv_lib_soname_EGL=
10774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10775 conftest$ac_exeext conftest.$ac_ext
10776 LIBS=$ac_check_soname_save_LIBS
10778 if ${ac_cv_lib_soname_EGL:+false} :
10779 then :
10780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10781 printf "%s\n" "not found" >&6; }
10783 else $as_nop
10784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10785 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10787 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10792 printf %s "checking for -lGLESv2... " >&6; }
10793 if test ${ac_cv_lib_soname_GLESv2+y}
10794 then :
10795 printf %s "(cached) " >&6
10796 else $as_nop
10797 ac_check_soname_save_LIBS=$LIBS
10798 LIBS="-lGLESv2 $LIBS"
10799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10800 /* end confdefs.h. */
10802 /* Override any GCC internal prototype to avoid an error.
10803 Use char because int might match the return type of a GCC
10804 builtin and then its argument prototype would still apply. */
10805 char glFlush ();
10807 main (void)
10809 return glFlush ();
10811 return 0;
10813 _ACEOF
10814 if ac_fn_c_try_link "$LINENO"
10815 then :
10816 case "$LIBEXT" in
10817 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10818 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10819 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10820 if ${ac_cv_lib_soname_GLESv2:+false} :
10821 then :
10822 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10823 fi ;;
10824 esac
10825 else $as_nop
10826 ac_cv_lib_soname_GLESv2=
10828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10829 conftest$ac_exeext conftest.$ac_ext
10830 LIBS=$ac_check_soname_save_LIBS
10832 if ${ac_cv_lib_soname_GLESv2:+false} :
10833 then :
10834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10835 printf "%s\n" "not found" >&6; }
10837 else $as_nop
10838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10839 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10841 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10846 if test "x$exec_prefix" = xNONE
10847 then
10848 case $host_cpu in
10849 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10850 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10851 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10852 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10853 esac
10859 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10861 case $host_cpu in
10862 *i[3456789]86*)
10863 DLLFLAGS="$DLLFLAGS -fno-PIC"
10864 LDDLLFLAGS="-fno-PIC"
10865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10866 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10867 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10868 then :
10869 printf %s "(cached) " >&6
10870 else $as_nop
10871 ac_wine_try_cflags_saved=$CFLAGS
10872 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10875 int main(int argc, char **argv) { return 0; }
10876 _ACEOF
10877 if ac_fn_c_try_link "$LINENO"
10878 then :
10879 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10880 else $as_nop
10881 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10884 conftest$ac_exeext conftest.$ac_ext
10885 CFLAGS=$ac_wine_try_cflags_saved
10887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10888 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10889 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10890 then :
10891 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10895 DLLFLAGS="$DLLFLAGS -fPIC"
10896 LDDLLFLAGS="-fPIC" ;;
10897 esac
10898 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10900 echo '{ global: *; };' >conftest.map
10901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10902 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10903 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10904 then :
10905 printf %s "(cached) " >&6
10906 else $as_nop
10907 ac_wine_try_cflags_saved=$CFLAGS
10908 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10910 /* end confdefs.h. */
10911 int main(int argc, char **argv) { return 0; }
10912 _ACEOF
10913 if ac_fn_c_try_link "$LINENO"
10914 then :
10915 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10916 else $as_nop
10917 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10920 conftest$ac_exeext conftest.$ac_ext
10921 CFLAGS=$ac_wine_try_cflags_saved
10923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10924 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10925 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10926 then :
10927 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10929 rm -f conftest.map
10931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10932 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10933 if test ${ac_cv_cflags__Wl__z_defs+y}
10934 then :
10935 printf %s "(cached) " >&6
10936 else $as_nop
10937 ac_wine_try_cflags_saved=$CFLAGS
10938 CFLAGS="$CFLAGS -Wl,-z,defs"
10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10941 int main(int argc, char **argv) { return 0; }
10942 _ACEOF
10943 if ac_fn_c_try_link "$LINENO"
10944 then :
10945 ac_cv_cflags__Wl__z_defs=yes
10946 else $as_nop
10947 ac_cv_cflags__Wl__z_defs=no
10949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10950 conftest$ac_exeext conftest.$ac_ext
10951 CFLAGS=$ac_wine_try_cflags_saved
10953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10954 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10955 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10956 then :
10957 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10960 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10961 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10962 then :
10963 printf %s "(cached) " >&6
10964 else $as_nop
10965 ac_wine_try_cflags_saved=$CFLAGS
10966 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10969 int main(int argc, char **argv) { return 0; }
10970 _ACEOF
10971 if ac_fn_c_try_link "$LINENO"
10972 then :
10973 ac_cv_cflags__Wl___export_dynamic=yes
10974 else $as_nop
10975 ac_cv_cflags__Wl___export_dynamic=no
10977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10978 conftest$ac_exeext conftest.$ac_ext
10979 CFLAGS=$ac_wine_try_cflags_saved
10981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10982 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10983 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10984 then :
10985 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10987 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10989 case $host_cpu in
10990 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10992 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10993 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10994 then :
10995 printf %s "(cached) " >&6
10996 else $as_nop
10997 ac_wine_try_cflags_saved=$CFLAGS
10998 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11000 /* end confdefs.h. */
11001 int main(int argc, char **argv) { return 0; }
11002 _ACEOF
11003 if ac_fn_c_try_link "$LINENO"
11004 then :
11005 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
11006 else $as_nop
11007 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
11009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11010 conftest$ac_exeext conftest.$ac_ext
11011 CFLAGS=$ac_wine_try_cflags_saved
11013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
11014 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
11015 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
11016 then :
11017 case $host_os in
11018 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
11019 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
11020 esac
11021 else $as_nop
11022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
11023 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
11024 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
11025 then :
11026 printf %s "(cached) " >&6
11027 else $as_nop
11028 ac_wine_try_cflags_saved=$CFLAGS
11029 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
11030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11032 int main(int argc, char **argv) { return 0; }
11033 _ACEOF
11034 if ac_fn_c_try_link "$LINENO"
11035 then :
11036 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
11037 else $as_nop
11038 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
11040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11041 conftest$ac_exeext conftest.$ac_ext
11042 CFLAGS=$ac_wine_try_cflags_saved
11044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
11045 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
11046 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
11047 then :
11048 case $host_os in
11049 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
11050 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
11051 esac
11053 # Extract the first word of "prelink", so it can be a program name with args.
11054 set dummy prelink; ac_word=$2
11055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11056 printf %s "checking for $ac_word... " >&6; }
11057 if test ${ac_cv_path_PRELINK+y}
11058 then :
11059 printf %s "(cached) " >&6
11060 else $as_nop
11061 case $PRELINK in
11062 [\\/]* | ?:[\\/]*)
11063 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
11066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11067 for as_dir in /sbin /usr/sbin $PATH
11069 IFS=$as_save_IFS
11070 case $as_dir in #(((
11071 '') as_dir=./ ;;
11072 */) ;;
11073 *) as_dir=$as_dir/ ;;
11074 esac
11075 for ac_exec_ext in '' $ac_executable_extensions; do
11076 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11077 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
11078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11079 break 2
11081 done
11082 done
11083 IFS=$as_save_IFS
11085 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
11087 esac
11089 PRELINK=$ac_cv_path_PRELINK
11090 if test -n "$PRELINK"; then
11091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
11092 printf "%s\n" "$PRELINK" >&6; }
11093 else
11094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11095 printf "%s\n" "no" >&6; }
11099 if test "x$PRELINK" = xfalse
11100 then
11101 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
11104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
11105 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
11106 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
11107 then :
11108 printf %s "(cached) " >&6
11109 else $as_nop
11110 ac_wine_try_cflags_saved=$CFLAGS
11111 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
11112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11114 int main(int argc, char **argv) { return 0; }
11115 _ACEOF
11116 if ac_fn_c_try_link "$LINENO"
11117 then :
11118 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
11119 else $as_nop
11120 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
11122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11123 conftest$ac_exeext conftest.$ac_ext
11124 CFLAGS=$ac_wine_try_cflags_saved
11126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
11127 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
11128 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
11129 then :
11130 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
11133 esac
11134 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
11136 LIBWINE_DEPENDS="wine.map"
11138 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
11140 esac
11142 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
11143 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
11144 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
11145 enable_winemac_drv=${enable_winemac_drv:-no}
11146 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
11149 if test "x$with_mingw" != xno
11150 then
11151 case "x$with_mingw" in
11152 x|xyes) case "$host_cpu" in
11153 aarch64*)
11154 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
11155 arm*)
11156 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
11157 i[3456789]86*)
11158 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
11159 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
11160 mingw32-gcc clang" ;;
11161 x86_64)
11162 ac_prefix_list="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc
11163 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
11165 ac_prefix_list="" ;;
11166 esac
11167 for ac_prog in $ac_prefix_list
11169 # Extract the first word of "$ac_prog", so it can be a program name with args.
11170 set dummy $ac_prog; ac_word=$2
11171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11172 printf %s "checking for $ac_word... " >&6; }
11173 if test ${ac_cv_prog_CROSSCC+y}
11174 then :
11175 printf %s "(cached) " >&6
11176 else $as_nop
11177 if test -n "$CROSSCC"; then
11178 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
11179 else
11180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11181 for as_dir in $PATH
11183 IFS=$as_save_IFS
11184 case $as_dir in #(((
11185 '') as_dir=./ ;;
11186 */) ;;
11187 *) as_dir=$as_dir/ ;;
11188 esac
11189 for ac_exec_ext in '' $ac_executable_extensions; do
11190 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11191 ac_cv_prog_CROSSCC="$ac_prog"
11192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11193 break 2
11195 done
11196 done
11197 IFS=$as_save_IFS
11201 CROSSCC=$ac_cv_prog_CROSSCC
11202 if test -n "$CROSSCC"; then
11203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
11204 printf "%s\n" "$CROSSCC" >&6; }
11205 else
11206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11207 printf "%s\n" "no" >&6; }
11211 test -n "$CROSSCC" && break
11212 done
11213 test -n "$CROSSCC" || CROSSCC="false"
11215 *) CROSSCC=$with_mingw ;;
11216 esac
11217 if test "$CROSSCC" != "false"
11218 then
11219 ac_save_CC="$CC"
11220 saved_CFLAGS=$CFLAGS
11221 saved_LDFLAGS=$LDFLAGS
11222 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
11224 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
11228 CC="$CROSSCC"
11229 CFLAGS=$CROSSCFLAGS
11230 LDFLAGS=$CROSSLDFLAGS
11231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
11232 printf %s "checking whether $CROSSCC works... " >&6; }
11233 if test ${wine_cv_crosscc+y}
11234 then :
11235 printf %s "(cached) " >&6
11236 else $as_nop
11237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11241 main (void)
11245 return 0;
11247 _ACEOF
11248 if ac_fn_c_try_compile "$LINENO"
11249 then :
11250 wine_cv_crosscc=yes
11251 else $as_nop
11252 wine_cv_crosscc=no
11254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
11257 printf "%s\n" "$wine_cv_crosscc" >&6; }
11258 if test $wine_cv_crosscc = yes
11259 then
11260 set x $CROSSCC
11261 shift
11262 while test $# -ge 1
11264 case "$1" in
11265 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
11266 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
11267 esac
11268 shift
11269 done
11271 llvm_target=$CROSSTARGET
11272 llvm_cflags="-fuse-ld=lld"
11273 if test -z "$llvm_target"
11274 then
11275 case $host_cpu in
11276 *i[3456789]86*) llvm_target=i686-windows ;;
11277 *) llvm_target=$host_cpu-windows ;;
11278 esac
11280 case $llvm_target in
11281 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
11282 esac
11283 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
11284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
11285 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
11286 if eval test \${$as_ac_var+y}
11287 then :
11288 printf %s "(cached) " >&6
11289 else $as_nop
11290 ac_wine_try_cflags_saved=$CFLAGS
11291 ac_wine_try_cflags_saved_cc=$CC
11292 ac_wine_try_cflags_saved_exeext=$ac_exeext
11293 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
11294 CC="$CROSSCC"
11295 ac_exeext=".exe"
11296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11297 /* end confdefs.h. */
11298 int __cdecl mainCRTStartup(void) { return 0; }
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"
11301 then :
11302 eval "$as_ac_var=yes"
11303 else $as_nop
11304 eval "$as_ac_var=no"
11306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11307 conftest$ac_exeext conftest.$ac_ext
11308 CFLAGS=$ac_wine_try_cflags_saved
11309 CC=$ac_wine_try_cflags_saved_cc
11310 ac_exeext=$ac_wine_try_cflags_saved_exeext
11312 eval ac_res=\$$as_ac_var
11313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11314 printf "%s\n" "$ac_res" >&6; }
11315 if eval test \"x\$"$as_ac_var"\" = x"yes"
11316 then :
11317 CROSSTARGET=$llvm_target
11318 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
11319 DELAYLOADFLAG="-Wl,-delayload,"
11321 CFLAGS="$CFLAGS $llvm_cflags"
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
11325 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
11326 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
11327 then :
11328 printf %s "(cached) " >&6
11329 else $as_nop
11330 ac_wine_try_cflags_saved=$CFLAGS
11331 ac_wine_try_cflags_saved_cc=$CC
11332 ac_wine_try_cflags_saved_exeext=$ac_exeext
11333 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
11334 CC="$CROSSCC"
11335 ac_exeext=".exe"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11338 int __cdecl mainCRTStartup(void) { return 0; }
11339 _ACEOF
11340 if ac_fn_c_try_link "$LINENO"
11341 then :
11342 ac_cv_crosscflags__fno_strict_aliasing=yes
11343 else $as_nop
11344 ac_cv_crosscflags__fno_strict_aliasing=no
11346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11347 conftest$ac_exeext conftest.$ac_ext
11348 CFLAGS=$ac_wine_try_cflags_saved
11349 CC=$ac_wine_try_cflags_saved_cc
11350 ac_exeext=$ac_wine_try_cflags_saved_exeext
11352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
11353 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
11354 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
11355 then :
11356 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
11358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
11359 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
11360 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
11361 then :
11362 printf %s "(cached) " >&6
11363 else $as_nop
11364 ac_wine_try_cflags_saved=$CFLAGS
11365 ac_wine_try_cflags_saved_cc=$CC
11366 ac_wine_try_cflags_saved_exeext=$ac_exeext
11367 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11368 CC="$CROSSCC"
11369 ac_exeext=".exe"
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11372 int __cdecl mainCRTStartup(void) { return 0; }
11373 _ACEOF
11374 if ac_fn_c_try_link "$LINENO"
11375 then :
11376 ac_cv_crosscflags__Werror_unknown_warning_option=yes
11377 else $as_nop
11378 ac_cv_crosscflags__Werror_unknown_warning_option=no
11380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11381 conftest$ac_exeext conftest.$ac_ext
11382 CFLAGS=$ac_wine_try_cflags_saved
11383 CC=$ac_wine_try_cflags_saved_cc
11384 ac_exeext=$ac_wine_try_cflags_saved_exeext
11386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
11387 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
11388 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
11389 then :
11390 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
11393 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
11394 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
11395 then :
11396 printf %s "(cached) " >&6
11397 else $as_nop
11398 ac_wine_try_cflags_saved=$CFLAGS
11399 ac_wine_try_cflags_saved_cc=$CC
11400 ac_wine_try_cflags_saved_exeext=$ac_exeext
11401 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11402 CC="$CROSSCC"
11403 ac_exeext=".exe"
11404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11405 /* end confdefs.h. */
11406 int __cdecl mainCRTStartup(void) { return 0; }
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"
11409 then :
11410 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
11411 else $as_nop
11412 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
11414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11415 conftest$ac_exeext conftest.$ac_ext
11416 CFLAGS=$ac_wine_try_cflags_saved
11417 CC=$ac_wine_try_cflags_saved_cc
11418 ac_exeext=$ac_wine_try_cflags_saved_exeext
11420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
11421 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
11422 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
11423 then :
11424 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
11427 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
11428 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
11429 then :
11430 printf %s "(cached) " >&6
11431 else $as_nop
11432 ac_wine_try_cflags_saved=$CFLAGS
11433 ac_wine_try_cflags_saved_cc=$CC
11434 ac_wine_try_cflags_saved_exeext=$ac_exeext
11435 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11436 CC="$CROSSCC"
11437 ac_exeext=".exe"
11438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h. */
11440 int __cdecl mainCRTStartup(void) { return 0; }
11441 _ACEOF
11442 if ac_fn_c_try_link "$LINENO"
11443 then :
11444 ac_cv_crosscflags__Wdeclaration_after_statement=yes
11445 else $as_nop
11446 ac_cv_crosscflags__Wdeclaration_after_statement=no
11448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11449 conftest$ac_exeext conftest.$ac_ext
11450 CFLAGS=$ac_wine_try_cflags_saved
11451 CC=$ac_wine_try_cflags_saved_cc
11452 ac_exeext=$ac_wine_try_cflags_saved_exeext
11454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
11455 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
11456 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
11457 then :
11458 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
11460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
11461 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
11462 if test ${ac_cv_crosscflags__Wempty_body+y}
11463 then :
11464 printf %s "(cached) " >&6
11465 else $as_nop
11466 ac_wine_try_cflags_saved=$CFLAGS
11467 ac_wine_try_cflags_saved_cc=$CC
11468 ac_wine_try_cflags_saved_exeext=$ac_exeext
11469 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11470 CC="$CROSSCC"
11471 ac_exeext=".exe"
11472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11473 /* end confdefs.h. */
11474 int __cdecl mainCRTStartup(void) { return 0; }
11475 _ACEOF
11476 if ac_fn_c_try_link "$LINENO"
11477 then :
11478 ac_cv_crosscflags__Wempty_body=yes
11479 else $as_nop
11480 ac_cv_crosscflags__Wempty_body=no
11482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11483 conftest$ac_exeext conftest.$ac_ext
11484 CFLAGS=$ac_wine_try_cflags_saved
11485 CC=$ac_wine_try_cflags_saved_cc
11486 ac_exeext=$ac_wine_try_cflags_saved_exeext
11488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
11489 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
11490 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
11491 then :
11492 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
11494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
11495 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
11496 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
11497 then :
11498 printf %s "(cached) " >&6
11499 else $as_nop
11500 ac_wine_try_cflags_saved=$CFLAGS
11501 ac_wine_try_cflags_saved_cc=$CC
11502 ac_wine_try_cflags_saved_exeext=$ac_exeext
11503 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11504 CC="$CROSSCC"
11505 ac_exeext=".exe"
11506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11508 int __cdecl mainCRTStartup(void) { return 0; }
11509 _ACEOF
11510 if ac_fn_c_try_link "$LINENO"
11511 then :
11512 ac_cv_crosscflags__Wignored_qualifiers=yes
11513 else $as_nop
11514 ac_cv_crosscflags__Wignored_qualifiers=no
11516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11517 conftest$ac_exeext conftest.$ac_ext
11518 CFLAGS=$ac_wine_try_cflags_saved
11519 CC=$ac_wine_try_cflags_saved_cc
11520 ac_exeext=$ac_wine_try_cflags_saved_exeext
11522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11523 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11524 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11525 then :
11526 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11529 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11530 if test ${ac_cv_crosscflags__Winit_self+y}
11531 then :
11532 printf %s "(cached) " >&6
11533 else $as_nop
11534 ac_wine_try_cflags_saved=$CFLAGS
11535 ac_wine_try_cflags_saved_cc=$CC
11536 ac_wine_try_cflags_saved_exeext=$ac_exeext
11537 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11538 CC="$CROSSCC"
11539 ac_exeext=".exe"
11540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11542 int __cdecl mainCRTStartup(void) { return 0; }
11543 _ACEOF
11544 if ac_fn_c_try_link "$LINENO"
11545 then :
11546 ac_cv_crosscflags__Winit_self=yes
11547 else $as_nop
11548 ac_cv_crosscflags__Winit_self=no
11550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11551 conftest$ac_exeext conftest.$ac_ext
11552 CFLAGS=$ac_wine_try_cflags_saved
11553 CC=$ac_wine_try_cflags_saved_cc
11554 ac_exeext=$ac_wine_try_cflags_saved_exeext
11556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11557 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11558 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11559 then :
11560 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11563 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11564 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11565 then :
11566 printf %s "(cached) " >&6
11567 else $as_nop
11568 ac_wine_try_cflags_saved=$CFLAGS
11569 ac_wine_try_cflags_saved_cc=$CC
11570 ac_wine_try_cflags_saved_exeext=$ac_exeext
11571 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11572 CC="$CROSSCC"
11573 ac_exeext=".exe"
11574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11575 /* end confdefs.h. */
11576 int __cdecl mainCRTStartup(void) { return 0; }
11577 _ACEOF
11578 if ac_fn_c_try_link "$LINENO"
11579 then :
11580 ac_cv_crosscflags__Wpacked_not_aligned=yes
11581 else $as_nop
11582 ac_cv_crosscflags__Wpacked_not_aligned=no
11584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11585 conftest$ac_exeext conftest.$ac_ext
11586 CFLAGS=$ac_wine_try_cflags_saved
11587 CC=$ac_wine_try_cflags_saved_cc
11588 ac_exeext=$ac_wine_try_cflags_saved_exeext
11590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11591 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11592 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11593 then :
11594 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11597 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11598 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11599 then :
11600 printf %s "(cached) " >&6
11601 else $as_nop
11602 ac_wine_try_cflags_saved=$CFLAGS
11603 ac_wine_try_cflags_saved_cc=$CC
11604 ac_wine_try_cflags_saved_exeext=$ac_exeext
11605 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11606 CC="$CROSSCC"
11607 ac_exeext=".exe"
11608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11610 int __cdecl mainCRTStartup(void) { return 0; }
11611 _ACEOF
11612 if ac_fn_c_try_link "$LINENO"
11613 then :
11614 ac_cv_crosscflags__Wpragma_pack=yes
11615 else $as_nop
11616 ac_cv_crosscflags__Wpragma_pack=no
11618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11619 conftest$ac_exeext conftest.$ac_ext
11620 CFLAGS=$ac_wine_try_cflags_saved
11621 CC=$ac_wine_try_cflags_saved_cc
11622 ac_exeext=$ac_wine_try_cflags_saved_exeext
11624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11625 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11626 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11627 then :
11628 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11631 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11632 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11633 then :
11634 printf %s "(cached) " >&6
11635 else $as_nop
11636 ac_wine_try_cflags_saved=$CFLAGS
11637 ac_wine_try_cflags_saved_cc=$CC
11638 ac_wine_try_cflags_saved_exeext=$ac_exeext
11639 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11640 CC="$CROSSCC"
11641 ac_exeext=".exe"
11642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11643 /* end confdefs.h. */
11644 int __cdecl mainCRTStartup(void) { return 0; }
11645 _ACEOF
11646 if ac_fn_c_try_link "$LINENO"
11647 then :
11648 ac_cv_crosscflags__Wshift_overflow_2=yes
11649 else $as_nop
11650 ac_cv_crosscflags__Wshift_overflow_2=no
11652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11653 conftest$ac_exeext conftest.$ac_ext
11654 CFLAGS=$ac_wine_try_cflags_saved
11655 CC=$ac_wine_try_cflags_saved_cc
11656 ac_exeext=$ac_wine_try_cflags_saved_exeext
11658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11659 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11660 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11661 then :
11662 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11665 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11666 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11667 then :
11668 printf %s "(cached) " >&6
11669 else $as_nop
11670 ac_wine_try_cflags_saved=$CFLAGS
11671 ac_wine_try_cflags_saved_cc=$CC
11672 ac_wine_try_cflags_saved_exeext=$ac_exeext
11673 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11674 CC="$CROSSCC"
11675 ac_exeext=".exe"
11676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11678 int __cdecl mainCRTStartup(void) { return 0; }
11679 _ACEOF
11680 if ac_fn_c_try_link "$LINENO"
11681 then :
11682 ac_cv_crosscflags__Wstrict_prototypes=yes
11683 else $as_nop
11684 ac_cv_crosscflags__Wstrict_prototypes=no
11686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11687 conftest$ac_exeext conftest.$ac_ext
11688 CFLAGS=$ac_wine_try_cflags_saved
11689 CC=$ac_wine_try_cflags_saved_cc
11690 ac_exeext=$ac_wine_try_cflags_saved_exeext
11692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11693 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11694 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11695 then :
11696 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11699 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11700 if test ${ac_cv_crosscflags__Wtype_limits+y}
11701 then :
11702 printf %s "(cached) " >&6
11703 else $as_nop
11704 ac_wine_try_cflags_saved=$CFLAGS
11705 ac_wine_try_cflags_saved_cc=$CC
11706 ac_wine_try_cflags_saved_exeext=$ac_exeext
11707 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11708 CC="$CROSSCC"
11709 ac_exeext=".exe"
11710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11711 /* end confdefs.h. */
11712 int __cdecl mainCRTStartup(void) { return 0; }
11713 _ACEOF
11714 if ac_fn_c_try_link "$LINENO"
11715 then :
11716 ac_cv_crosscflags__Wtype_limits=yes
11717 else $as_nop
11718 ac_cv_crosscflags__Wtype_limits=no
11720 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11721 conftest$ac_exeext conftest.$ac_ext
11722 CFLAGS=$ac_wine_try_cflags_saved
11723 CC=$ac_wine_try_cflags_saved_cc
11724 ac_exeext=$ac_wine_try_cflags_saved_exeext
11726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11727 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11728 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11729 then :
11730 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11733 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11734 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11735 then :
11736 printf %s "(cached) " >&6
11737 else $as_nop
11738 ac_wine_try_cflags_saved=$CFLAGS
11739 ac_wine_try_cflags_saved_cc=$CC
11740 ac_wine_try_cflags_saved_exeext=$ac_exeext
11741 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11742 CC="$CROSSCC"
11743 ac_exeext=".exe"
11744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11745 /* end confdefs.h. */
11746 int __cdecl mainCRTStartup(void) { return 0; }
11747 _ACEOF
11748 if ac_fn_c_try_link "$LINENO"
11749 then :
11750 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11751 else $as_nop
11752 ac_cv_crosscflags__Wunused_but_set_parameter=no
11754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11755 conftest$ac_exeext conftest.$ac_ext
11756 CFLAGS=$ac_wine_try_cflags_saved
11757 CC=$ac_wine_try_cflags_saved_cc
11758 ac_exeext=$ac_wine_try_cflags_saved_exeext
11760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11761 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11762 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11763 then :
11764 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11767 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11768 if test ${ac_cv_crosscflags__Wvla+y}
11769 then :
11770 printf %s "(cached) " >&6
11771 else $as_nop
11772 ac_wine_try_cflags_saved=$CFLAGS
11773 ac_wine_try_cflags_saved_cc=$CC
11774 ac_wine_try_cflags_saved_exeext=$ac_exeext
11775 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11776 CC="$CROSSCC"
11777 ac_exeext=".exe"
11778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11779 /* end confdefs.h. */
11780 int __cdecl mainCRTStartup(void) { return 0; }
11781 _ACEOF
11782 if ac_fn_c_try_link "$LINENO"
11783 then :
11784 ac_cv_crosscflags__Wvla=yes
11785 else $as_nop
11786 ac_cv_crosscflags__Wvla=no
11788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11789 conftest$ac_exeext conftest.$ac_ext
11790 CFLAGS=$ac_wine_try_cflags_saved
11791 CC=$ac_wine_try_cflags_saved_cc
11792 ac_exeext=$ac_wine_try_cflags_saved_exeext
11794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11795 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11796 if test "x$ac_cv_crosscflags__Wvla" = xyes
11797 then :
11798 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11801 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11802 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11803 then :
11804 printf %s "(cached) " >&6
11805 else $as_nop
11806 ac_wine_try_cflags_saved=$CFLAGS
11807 ac_wine_try_cflags_saved_cc=$CC
11808 ac_wine_try_cflags_saved_exeext=$ac_exeext
11809 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11810 CC="$CROSSCC"
11811 ac_exeext=".exe"
11812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11814 int __cdecl mainCRTStartup(void) { return 0; }
11815 _ACEOF
11816 if ac_fn_c_try_link "$LINENO"
11817 then :
11818 ac_cv_crosscflags__Wwrite_strings=yes
11819 else $as_nop
11820 ac_cv_crosscflags__Wwrite_strings=no
11822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11823 conftest$ac_exeext conftest.$ac_ext
11824 CFLAGS=$ac_wine_try_cflags_saved
11825 CC=$ac_wine_try_cflags_saved_cc
11826 ac_exeext=$ac_wine_try_cflags_saved_exeext
11828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11829 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11830 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11831 then :
11832 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11835 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11836 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11837 then :
11838 printf %s "(cached) " >&6
11839 else $as_nop
11840 ac_wine_try_cflags_saved=$CFLAGS
11841 ac_wine_try_cflags_saved_cc=$CC
11842 ac_wine_try_cflags_saved_exeext=$ac_exeext
11843 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11844 CC="$CROSSCC"
11845 ac_exeext=".exe"
11846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11848 int __cdecl mainCRTStartup(void) { return 0; }
11849 _ACEOF
11850 if ac_fn_c_try_link "$LINENO"
11851 then :
11852 ac_cv_crosscflags__Wpointer_arith=yes
11853 else $as_nop
11854 ac_cv_crosscflags__Wpointer_arith=no
11856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11857 conftest$ac_exeext conftest.$ac_ext
11858 CFLAGS=$ac_wine_try_cflags_saved
11859 CC=$ac_wine_try_cflags_saved_cc
11860 ac_exeext=$ac_wine_try_cflags_saved_exeext
11862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11863 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11864 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11865 then :
11866 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11869 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11870 if test ${ac_cv_crosscflags__Wlogical_op+y}
11871 then :
11872 printf %s "(cached) " >&6
11873 else $as_nop
11874 ac_wine_try_cflags_saved=$CFLAGS
11875 ac_wine_try_cflags_saved_cc=$CC
11876 ac_wine_try_cflags_saved_exeext=$ac_exeext
11877 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11878 CC="$CROSSCC"
11879 ac_exeext=".exe"
11880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11881 /* end confdefs.h. */
11882 int __cdecl mainCRTStartup(void) { return 0; }
11883 _ACEOF
11884 if ac_fn_c_try_link "$LINENO"
11885 then :
11886 ac_cv_crosscflags__Wlogical_op=yes
11887 else $as_nop
11888 ac_cv_crosscflags__Wlogical_op=no
11890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11891 conftest$ac_exeext conftest.$ac_ext
11892 CFLAGS=$ac_wine_try_cflags_saved
11893 CC=$ac_wine_try_cflags_saved_cc
11894 ac_exeext=$ac_wine_try_cflags_saved_exeext
11896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11897 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11898 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11899 then :
11900 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11903 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11904 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11905 then :
11906 printf %s "(cached) " >&6
11907 else $as_nop
11908 ac_wine_try_cflags_saved=$CFLAGS
11909 ac_wine_try_cflags_saved_cc=$CC
11910 ac_wine_try_cflags_saved_exeext=$ac_exeext
11911 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11912 CC="$CROSSCC"
11913 ac_exeext=".exe"
11914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11915 /* end confdefs.h. */
11916 int __cdecl mainCRTStartup(void) { return 0; }
11917 _ACEOF
11918 if ac_fn_c_try_link "$LINENO"
11919 then :
11920 ac_cv_crosscflags__Wabsolute_value=yes
11921 else $as_nop
11922 ac_cv_crosscflags__Wabsolute_value=no
11924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11925 conftest$ac_exeext conftest.$ac_ext
11926 CFLAGS=$ac_wine_try_cflags_saved
11927 CC=$ac_wine_try_cflags_saved_cc
11928 ac_exeext=$ac_wine_try_cflags_saved_exeext
11930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11931 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11932 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11933 then :
11934 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11937 case $host_cpu in
11938 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11939 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11940 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11941 then :
11942 printf %s "(cached) " >&6
11943 else $as_nop
11944 ac_wine_try_cflags_saved=$CFLAGS
11945 ac_wine_try_cflags_saved_cc=$CC
11946 ac_wine_try_cflags_saved_exeext=$ac_exeext
11947 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11948 CC="$CROSSCC"
11949 ac_exeext=".exe"
11950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11952 int __cdecl mainCRTStartup(void) { return 0; }
11953 _ACEOF
11954 if ac_fn_c_try_link "$LINENO"
11955 then :
11956 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11957 else $as_nop
11958 ac_cv_crosscflags__fno_omit_frame_pointer=no
11960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11961 conftest$ac_exeext conftest.$ac_ext
11962 CFLAGS=$ac_wine_try_cflags_saved
11963 CC=$ac_wine_try_cflags_saved_cc
11964 ac_exeext=$ac_wine_try_cflags_saved_exeext
11966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11967 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11968 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11969 then :
11970 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11971 fi ;;
11972 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11973 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11974 if test ${ac_cv_crosscflags__Wno_format+y}
11975 then :
11976 printf %s "(cached) " >&6
11977 else $as_nop
11978 ac_wine_try_cflags_saved=$CFLAGS
11979 ac_wine_try_cflags_saved_cc=$CC
11980 ac_wine_try_cflags_saved_exeext=$ac_exeext
11981 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11982 CC="$CROSSCC"
11983 ac_exeext=".exe"
11984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11986 int __cdecl mainCRTStartup(void) { return 0; }
11987 _ACEOF
11988 if ac_fn_c_try_link "$LINENO"
11989 then :
11990 ac_cv_crosscflags__Wno_format=yes
11991 else $as_nop
11992 ac_cv_crosscflags__Wno_format=no
11994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11995 conftest$ac_exeext conftest.$ac_ext
11996 CFLAGS=$ac_wine_try_cflags_saved
11997 CC=$ac_wine_try_cflags_saved_cc
11998 ac_exeext=$ac_wine_try_cflags_saved_exeext
12000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
12001 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
12002 if test "x$ac_cv_crosscflags__Wno_format" = xyes
12003 then :
12004 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
12006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
12007 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
12008 if test ${ac_cv_crosscflags__Wformat_overflow+y}
12009 then :
12010 printf %s "(cached) " >&6
12011 else $as_nop
12012 ac_wine_try_cflags_saved=$CFLAGS
12013 ac_wine_try_cflags_saved_cc=$CC
12014 ac_wine_try_cflags_saved_exeext=$ac_exeext
12015 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
12016 CC="$CROSSCC"
12017 ac_exeext=".exe"
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12020 int __cdecl mainCRTStartup(void) { return 0; }
12021 _ACEOF
12022 if ac_fn_c_try_link "$LINENO"
12023 then :
12024 ac_cv_crosscflags__Wformat_overflow=yes
12025 else $as_nop
12026 ac_cv_crosscflags__Wformat_overflow=no
12028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12029 conftest$ac_exeext conftest.$ac_ext
12030 CFLAGS=$ac_wine_try_cflags_saved
12031 CC=$ac_wine_try_cflags_saved_cc
12032 ac_exeext=$ac_wine_try_cflags_saved_exeext
12034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
12035 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
12036 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
12037 then :
12038 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
12040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
12041 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
12042 if test ${ac_cv_crosscflags__Wnonnull+y}
12043 then :
12044 printf %s "(cached) " >&6
12045 else $as_nop
12046 ac_wine_try_cflags_saved=$CFLAGS
12047 ac_wine_try_cflags_saved_cc=$CC
12048 ac_wine_try_cflags_saved_exeext=$ac_exeext
12049 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
12050 CC="$CROSSCC"
12051 ac_exeext=".exe"
12052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12054 int __cdecl mainCRTStartup(void) { return 0; }
12055 _ACEOF
12056 if ac_fn_c_try_link "$LINENO"
12057 then :
12058 ac_cv_crosscflags__Wnonnull=yes
12059 else $as_nop
12060 ac_cv_crosscflags__Wnonnull=no
12062 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12063 conftest$ac_exeext conftest.$ac_ext
12064 CFLAGS=$ac_wine_try_cflags_saved
12065 CC=$ac_wine_try_cflags_saved_cc
12066 ac_exeext=$ac_wine_try_cflags_saved_exeext
12068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
12069 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
12070 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
12071 then :
12072 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
12074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
12075 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
12076 if test ${ac_cv_crosscflags__mcx16+y}
12077 then :
12078 printf %s "(cached) " >&6
12079 else $as_nop
12080 ac_wine_try_cflags_saved=$CFLAGS
12081 ac_wine_try_cflags_saved_cc=$CC
12082 ac_wine_try_cflags_saved_exeext=$ac_exeext
12083 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
12084 CC="$CROSSCC"
12085 ac_exeext=".exe"
12086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12088 int __cdecl mainCRTStartup(void) { return 0; }
12089 _ACEOF
12090 if ac_fn_c_try_link "$LINENO"
12091 then :
12092 ac_cv_crosscflags__mcx16=yes
12093 else $as_nop
12094 ac_cv_crosscflags__mcx16=no
12096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12097 conftest$ac_exeext conftest.$ac_ext
12098 CFLAGS=$ac_wine_try_cflags_saved
12099 CC=$ac_wine_try_cflags_saved_cc
12100 ac_exeext=$ac_wine_try_cflags_saved_exeext
12102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
12103 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
12104 if test "x$ac_cv_crosscflags__mcx16" = xyes
12105 then :
12106 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
12107 fi ;;
12108 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
12109 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
12110 if test ${ac_cv_crosscflags__Wno_format+y}
12111 then :
12112 printf %s "(cached) " >&6
12113 else $as_nop
12114 ac_wine_try_cflags_saved=$CFLAGS
12115 ac_wine_try_cflags_saved_cc=$CC
12116 ac_wine_try_cflags_saved_exeext=$ac_exeext
12117 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
12118 CC="$CROSSCC"
12119 ac_exeext=".exe"
12120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12121 /* end confdefs.h. */
12122 int __cdecl mainCRTStartup(void) { return 0; }
12123 _ACEOF
12124 if ac_fn_c_try_link "$LINENO"
12125 then :
12126 ac_cv_crosscflags__Wno_format=yes
12127 else $as_nop
12128 ac_cv_crosscflags__Wno_format=no
12130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12131 conftest$ac_exeext conftest.$ac_ext
12132 CFLAGS=$ac_wine_try_cflags_saved
12133 CC=$ac_wine_try_cflags_saved_cc
12134 ac_exeext=$ac_wine_try_cflags_saved_exeext
12136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
12137 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
12138 if test "x$ac_cv_crosscflags__Wno_format" = xyes
12139 then :
12140 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
12141 fi ;;
12142 esac
12145 if test -z "$CROSSDEBUG"
12146 then
12147 for ac_flag in $CROSSCFLAGS; do
12148 case $ac_flag in
12149 -gdwarf*) CROSSDEBUG=dwarf ;;
12150 -gcodeview) CROSSDEBUG=pdb ;;
12151 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
12152 esac
12153 done
12156 ac_debug_format_seen=""
12157 for ac_flag in $CROSSCFLAGS; do
12158 case $ac_flag in
12159 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
12160 esac
12161 done
12162 if test "x$ac_debug_format_seen" = x
12163 then
12164 case $CROSSDEBUG in
12165 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
12166 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
12167 if test ${ac_cv_crosscflags__gdwarf_4+y}
12168 then :
12169 printf %s "(cached) " >&6
12170 else $as_nop
12171 ac_wine_try_cflags_saved=$CFLAGS
12172 ac_wine_try_cflags_saved_cc=$CC
12173 ac_wine_try_cflags_saved_exeext=$ac_exeext
12174 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
12175 CC="$CROSSCC"
12176 ac_exeext=".exe"
12177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12178 /* end confdefs.h. */
12179 int __cdecl mainCRTStartup(void) { return 0; }
12180 _ACEOF
12181 if ac_fn_c_try_link "$LINENO"
12182 then :
12183 ac_cv_crosscflags__gdwarf_4=yes
12184 else $as_nop
12185 ac_cv_crosscflags__gdwarf_4=no
12187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12188 conftest$ac_exeext conftest.$ac_ext
12189 CFLAGS=$ac_wine_try_cflags_saved
12190 CC=$ac_wine_try_cflags_saved_cc
12191 ac_exeext=$ac_wine_try_cflags_saved_exeext
12193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
12194 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
12195 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
12196 then :
12197 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
12198 fi ;;
12199 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
12200 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
12201 if test ${ac_cv_crosscflags__gcodeview+y}
12202 then :
12203 printf %s "(cached) " >&6
12204 else $as_nop
12205 ac_wine_try_cflags_saved=$CFLAGS
12206 ac_wine_try_cflags_saved_cc=$CC
12207 ac_wine_try_cflags_saved_exeext=$ac_exeext
12208 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
12209 CC="$CROSSCC"
12210 ac_exeext=".exe"
12211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12213 int __cdecl mainCRTStartup(void) { return 0; }
12214 _ACEOF
12215 if ac_fn_c_try_link "$LINENO"
12216 then :
12217 ac_cv_crosscflags__gcodeview=yes
12218 else $as_nop
12219 ac_cv_crosscflags__gcodeview=no
12221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12222 conftest$ac_exeext conftest.$ac_ext
12223 CFLAGS=$ac_wine_try_cflags_saved
12224 CC=$ac_wine_try_cflags_saved_cc
12225 ac_exeext=$ac_wine_try_cflags_saved_exeext
12227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
12228 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
12229 if test "x$ac_cv_crosscflags__gcodeview" = xyes
12230 then :
12231 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
12232 fi ;;
12233 esac
12236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
12237 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
12238 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
12239 then :
12240 printf %s "(cached) " >&6
12241 else $as_nop
12242 ac_wine_try_cflags_saved=$CFLAGS
12243 ac_wine_try_cflags_saved_cc=$CC
12244 ac_wine_try_cflags_saved_exeext=$ac_exeext
12245 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
12246 CC="$CROSSCC"
12247 ac_exeext=".exe"
12248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12249 /* end confdefs.h. */
12250 int __cdecl mainCRTStartup(void) { return 0; }
12251 _ACEOF
12252 if ac_fn_c_try_link "$LINENO"
12253 then :
12254 ac_cv_crosscflags__fexcess_precision_standard=yes
12255 else $as_nop
12256 ac_cv_crosscflags__fexcess_precision_standard=no
12258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12259 conftest$ac_exeext conftest.$ac_ext
12260 CFLAGS=$ac_wine_try_cflags_saved
12261 CC=$ac_wine_try_cflags_saved_cc
12262 ac_exeext=$ac_wine_try_cflags_saved_exeext
12264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
12265 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
12266 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
12267 then :
12268 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
12272 if test "x$enable_werror" = "xyes"
12273 then
12274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
12275 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
12276 if test ${ac_cv_crosscflags__Werror+y}
12277 then :
12278 printf %s "(cached) " >&6
12279 else $as_nop
12280 ac_wine_try_cflags_saved=$CFLAGS
12281 ac_wine_try_cflags_saved_cc=$CC
12282 ac_wine_try_cflags_saved_exeext=$ac_exeext
12283 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
12284 CC="$CROSSCC"
12285 ac_exeext=".exe"
12286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12288 int __cdecl mainCRTStartup(void) { return 0; }
12289 _ACEOF
12290 if ac_fn_c_try_link "$LINENO"
12291 then :
12292 ac_cv_crosscflags__Werror=yes
12293 else $as_nop
12294 ac_cv_crosscflags__Werror=no
12296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12297 conftest$ac_exeext conftest.$ac_ext
12298 CFLAGS=$ac_wine_try_cflags_saved
12299 CC=$ac_wine_try_cflags_saved_cc
12300 ac_exeext=$ac_wine_try_cflags_saved_exeext
12302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
12303 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
12304 if test "x$ac_cv_crosscflags__Werror" = xyes
12305 then :
12306 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
12309 if test "x$enable_build_id" = "xyes"
12310 then
12311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
12312 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
12313 if test ${ac_cv_crosscflags__Wl___build_id+y}
12314 then :
12315 printf %s "(cached) " >&6
12316 else $as_nop
12317 ac_wine_try_cflags_saved=$CFLAGS
12318 ac_wine_try_cflags_saved_cc=$CC
12319 ac_wine_try_cflags_saved_exeext=$ac_exeext
12320 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
12321 CC="$CROSSCC"
12322 ac_exeext=".exe"
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12325 int __cdecl mainCRTStartup(void) { return 0; }
12326 _ACEOF
12327 if ac_fn_c_try_link "$LINENO"
12328 then :
12329 ac_cv_crosscflags__Wl___build_id=yes
12330 else $as_nop
12331 ac_cv_crosscflags__Wl___build_id=no
12333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12334 conftest$ac_exeext conftest.$ac_ext
12335 CFLAGS=$ac_wine_try_cflags_saved
12336 CC=$ac_wine_try_cflags_saved_cc
12337 ac_exeext=$ac_wine_try_cflags_saved_exeext
12339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
12340 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
12341 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
12342 then :
12343 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
12344 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
12348 CFLAGS=$saved_CFLAGS
12349 LDFLAGS=$saved_LDFLAGS
12350 CC="$ac_save_CC"
12353 if test "x$CROSSTARGET" = "x"
12354 then :
12355 case "x$with_mingw" in
12356 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
12357 xno) ;;
12358 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
12359 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12360 esac
12365 if ${FAUDIO_PE_CFLAGS:+false} :
12366 then :
12367 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
12368 else $as_nop
12369 enable_faudio=no
12371 if ${FAUDIO_PE_LIBS:+false} :
12372 then :
12373 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
12374 else $as_nop
12375 enable_faudio=no
12377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
12378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
12380 if ${GSM_PE_CFLAGS:+false} :
12381 then :
12382 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
12383 else $as_nop
12384 enable_gsm=no
12386 if ${GSM_PE_LIBS:+false} :
12387 then :
12388 GSM_PE_LIBS=gsm
12389 else $as_nop
12390 enable_gsm=no
12392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
12393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
12395 if ${JPEG_PE_CFLAGS:+false} :
12396 then :
12397 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
12398 else $as_nop
12399 enable_jpeg=no
12401 if ${JPEG_PE_LIBS:+false} :
12402 then :
12403 JPEG_PE_LIBS=jpeg
12404 else $as_nop
12405 enable_jpeg=no
12407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
12408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
12410 if ${JXR_PE_CFLAGS:+false} :
12411 then :
12412 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
12413 else $as_nop
12414 enable_jxr=no
12416 if ${JXR_PE_LIBS:+false} :
12417 then :
12418 JXR_PE_LIBS=jxr
12419 else $as_nop
12420 enable_jxr=no
12422 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
12423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
12425 if ${LCMS2_PE_CFLAGS:+false} :
12426 then :
12427 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
12428 else $as_nop
12429 enable_lcms2=no
12431 if ${LCMS2_PE_LIBS:+false} :
12432 then :
12433 LCMS2_PE_LIBS=lcms2
12434 else $as_nop
12435 enable_lcms2=no
12437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
12438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
12440 if ${MPG123_PE_CFLAGS:+false} :
12441 then :
12442 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
12443 else $as_nop
12444 enable_mpg123=no
12446 if ${MPG123_PE_LIBS:+false} :
12447 then :
12448 MPG123_PE_LIBS=mpg123
12449 else $as_nop
12450 enable_mpg123=no
12452 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
12453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
12455 if ${PNG_PE_CFLAGS:+false} :
12456 then :
12457 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
12458 else $as_nop
12459 enable_png=no
12461 if ${PNG_PE_LIBS:+false} :
12462 then :
12463 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
12464 else $as_nop
12465 enable_png=no
12467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
12468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
12470 if ${TIFF_PE_CFLAGS:+false} :
12471 then :
12472 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
12473 else $as_nop
12474 enable_tiff=no
12476 if ${TIFF_PE_LIBS:+false} :
12477 then :
12478 TIFF_PE_LIBS=tiff
12479 else $as_nop
12480 enable_tiff=no
12482 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
12483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
12485 if ${XML2_PE_CFLAGS:+false} :
12486 then :
12487 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
12488 else $as_nop
12489 enable_libxml2=no
12491 if ${XML2_PE_LIBS:+false} :
12492 then :
12493 XML2_PE_LIBS=xml2
12494 else $as_nop
12495 enable_libxml2=no
12497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxml2 cflags: $XML2_PE_CFLAGS" >&5
12498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxml2 libs: $XML2_PE_LIBS" >&5
12500 if ${XSLT_PE_CFLAGS:+false} :
12501 then :
12502 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
12503 else $as_nop
12504 enable_libxslt=no
12506 if ${XSLT_PE_LIBS:+false} :
12507 then :
12508 XSLT_PE_LIBS=xslt
12509 else $as_nop
12510 enable_libxslt=no
12512 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_PE_CFLAGS" >&5
12513 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_PE_LIBS" >&5
12515 if ${ZLIB_PE_CFLAGS:+false} :
12516 then :
12517 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
12518 else $as_nop
12519 enable_zlib=no
12521 if ${ZLIB_PE_LIBS:+false} :
12522 then :
12523 ZLIB_PE_LIBS=z
12524 else $as_nop
12525 enable_zlib=no
12527 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
12528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
12532 if test "$ac_cv_header_pthread_h" = "yes"
12533 then
12534 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
12535 if test "x$ac_cv_func_pthread_create" = xyes
12536 then :
12538 else $as_nop
12539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
12540 printf %s "checking for pthread_create in -lpthread... " >&6; }
12541 if test ${ac_cv_lib_pthread_pthread_create+y}
12542 then :
12543 printf %s "(cached) " >&6
12544 else $as_nop
12545 ac_check_lib_save_LIBS=$LIBS
12546 LIBS="-lpthread $LIBS"
12547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12548 /* end confdefs.h. */
12550 /* Override any GCC internal prototype to avoid an error.
12551 Use char because int might match the return type of a GCC
12552 builtin and then its argument prototype would still apply. */
12553 char pthread_create ();
12555 main (void)
12557 return pthread_create ();
12559 return 0;
12561 _ACEOF
12562 if ac_fn_c_try_link "$LINENO"
12563 then :
12564 ac_cv_lib_pthread_pthread_create=yes
12565 else $as_nop
12566 ac_cv_lib_pthread_pthread_create=no
12568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12569 conftest$ac_exeext conftest.$ac_ext
12570 LIBS=$ac_check_lib_save_LIBS
12572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
12573 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
12574 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
12575 then :
12576 PTHREAD_LIBS="-lpthread"
12583 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
12584 then :
12585 case "x$with_pthread" in
12586 xno) ;;
12587 *) as_fn_error $? "pthread ${notice_platform}development files not found.
12588 Wine cannot support threads without libpthread.
12589 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
12590 esac
12595 ac_ext=c
12596 ac_cpp='$CPP $CPPFLAGS'
12597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
12601 printf %s "checking how to run the C preprocessor... " >&6; }
12602 # On Suns, sometimes $CPP names a directory.
12603 if test -n "$CPP" && test -d "$CPP"; then
12604 CPP=
12606 if test -z "$CPP"; then
12607 if test ${ac_cv_prog_CPP+y}
12608 then :
12609 printf %s "(cached) " >&6
12610 else $as_nop
12611 # Double quotes because $CC needs to be expanded
12612 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
12614 ac_preproc_ok=false
12615 for ac_c_preproc_warn_flag in '' yes
12617 # Use a header file that comes with gcc, so configuring glibc
12618 # with a fresh cross-compiler works.
12619 # On the NeXT, cc -E runs the code through the compiler's parser,
12620 # not just through cpp. "Syntax error" is here to catch this case.
12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12623 #include <limits.h>
12624 Syntax error
12625 _ACEOF
12626 if ac_fn_c_try_cpp "$LINENO"
12627 then :
12629 else $as_nop
12630 # Broken: fails on valid input.
12631 continue
12633 rm -f conftest.err conftest.i conftest.$ac_ext
12635 # OK, works on sane cases. Now check whether nonexistent headers
12636 # can be detected and how.
12637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12638 /* end confdefs.h. */
12639 #include <ac_nonexistent.h>
12640 _ACEOF
12641 if ac_fn_c_try_cpp "$LINENO"
12642 then :
12643 # Broken: success on invalid input.
12644 continue
12645 else $as_nop
12646 # Passes both tests.
12647 ac_preproc_ok=:
12648 break
12650 rm -f conftest.err conftest.i conftest.$ac_ext
12652 done
12653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12654 rm -f conftest.i conftest.err conftest.$ac_ext
12655 if $ac_preproc_ok
12656 then :
12657 break
12660 done
12661 ac_cv_prog_CPP=$CPP
12664 CPP=$ac_cv_prog_CPP
12665 else
12666 ac_cv_prog_CPP=$CPP
12668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
12669 printf "%s\n" "$CPP" >&6; }
12670 ac_preproc_ok=false
12671 for ac_c_preproc_warn_flag in '' yes
12673 # Use a header file that comes with gcc, so configuring glibc
12674 # with a fresh cross-compiler works.
12675 # On the NeXT, cc -E runs the code through the compiler's parser,
12676 # not just through cpp. "Syntax error" is here to catch this case.
12677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12679 #include <limits.h>
12680 Syntax error
12681 _ACEOF
12682 if ac_fn_c_try_cpp "$LINENO"
12683 then :
12685 else $as_nop
12686 # Broken: fails on valid input.
12687 continue
12689 rm -f conftest.err conftest.i conftest.$ac_ext
12691 # OK, works on sane cases. Now check whether nonexistent headers
12692 # can be detected and how.
12693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h. */
12695 #include <ac_nonexistent.h>
12696 _ACEOF
12697 if ac_fn_c_try_cpp "$LINENO"
12698 then :
12699 # Broken: success on invalid input.
12700 continue
12701 else $as_nop
12702 # Passes both tests.
12703 ac_preproc_ok=:
12704 break
12706 rm -f conftest.err conftest.i conftest.$ac_ext
12708 done
12709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12710 rm -f conftest.i conftest.err conftest.$ac_ext
12711 if $ac_preproc_ok
12712 then :
12714 else $as_nop
12715 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12716 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
12717 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
12718 See \`config.log' for more details" "$LINENO" 5; }
12721 ac_ext=c
12722 ac_cpp='$CPP $CPPFLAGS'
12723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
12729 printf %s "checking for X... " >&6; }
12732 # Check whether --with-x was given.
12733 if test ${with_x+y}
12734 then :
12735 withval=$with_x;
12738 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12739 if test "x$with_x" = xno; then
12740 # The user explicitly disabled X.
12741 have_x=disabled
12742 else
12743 case $x_includes,$x_libraries in #(
12744 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
12745 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
12746 then :
12747 printf %s "(cached) " >&6
12748 else $as_nop
12749 # One or both of the vars are not set, and there is no cached value.
12750 ac_x_includes=no
12751 ac_x_libraries=no
12752 # Do we need to do anything special at all?
12753 ac_save_LIBS=$LIBS
12754 LIBS="-lX11 $LIBS"
12755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12756 /* end confdefs.h. */
12757 #include <X11/Xlib.h>
12759 main (void)
12761 XrmInitialize ()
12763 return 0;
12765 _ACEOF
12766 if ac_fn_c_try_link "$LINENO"
12767 then :
12768 # We can compile and link X programs with no special options.
12769 ac_x_includes=
12770 ac_x_libraries=
12772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12773 conftest$ac_exeext conftest.$ac_ext
12774 LIBS="$ac_save_LIBS"
12775 # If that didn't work, only try xmkmf and file system searches
12776 # for native compilation.
12777 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
12778 then :
12779 rm -f -r conftest.dir
12780 if mkdir conftest.dir; then
12781 cd conftest.dir
12782 cat >Imakefile <<'_ACEOF'
12783 incroot:
12784 @echo incroot='${INCROOT}'
12785 usrlibdir:
12786 @echo usrlibdir='${USRLIBDIR}'
12787 libdir:
12788 @echo libdir='${LIBDIR}'
12789 _ACEOF
12790 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
12791 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12792 for ac_var in incroot usrlibdir libdir; do
12793 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
12794 done
12795 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12796 for ac_extension in a so sl dylib la dll; do
12797 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
12798 test -f "$ac_im_libdir/libX11.$ac_extension"; then
12799 ac_im_usrlibdir=$ac_im_libdir; break
12801 done
12802 # Screen out bogus values from the imake configuration. They are
12803 # bogus both because they are the default anyway, and because
12804 # using them would break gcc on systems where it needs fixed includes.
12805 case $ac_im_incroot in
12806 /usr/include) ac_x_includes= ;;
12807 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
12808 esac
12809 case $ac_im_usrlibdir in
12810 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
12811 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
12812 esac
12814 cd ..
12815 rm -f -r conftest.dir
12818 # Standard set of common directories for X headers.
12819 # Check X11 before X11Rn because it is often a symlink to the current release.
12820 ac_x_header_dirs='
12821 /usr/X11/include
12822 /usr/X11R7/include
12823 /usr/X11R6/include
12824 /usr/X11R5/include
12825 /usr/X11R4/include
12827 /usr/include/X11
12828 /usr/include/X11R7
12829 /usr/include/X11R6
12830 /usr/include/X11R5
12831 /usr/include/X11R4
12833 /usr/local/X11/include
12834 /usr/local/X11R7/include
12835 /usr/local/X11R6/include
12836 /usr/local/X11R5/include
12837 /usr/local/X11R4/include
12839 /usr/local/include/X11
12840 /usr/local/include/X11R7
12841 /usr/local/include/X11R6
12842 /usr/local/include/X11R5
12843 /usr/local/include/X11R4
12845 /opt/X11/include
12847 /usr/X386/include
12848 /usr/x386/include
12849 /usr/XFree86/include/X11
12851 /usr/include
12852 /usr/local/include
12853 /usr/unsupported/include
12854 /usr/athena/include
12855 /usr/local/x11r5/include
12856 /usr/lpp/Xamples/include
12858 /usr/openwin/include
12859 /usr/openwin/share/include'
12861 if test "$ac_x_includes" = no; then
12862 # Guess where to find include files, by looking for Xlib.h.
12863 # First, try using that file with no special directory specified.
12864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12866 #include <X11/Xlib.h>
12867 _ACEOF
12868 if ac_fn_c_try_cpp "$LINENO"
12869 then :
12870 # We can compile using X headers with no special include directory.
12871 ac_x_includes=
12872 else $as_nop
12873 for ac_dir in $ac_x_header_dirs; do
12874 if test -r "$ac_dir/X11/Xlib.h"; then
12875 ac_x_includes=$ac_dir
12876 break
12878 done
12880 rm -f conftest.err conftest.i conftest.$ac_ext
12881 fi # $ac_x_includes = no
12883 if test "$ac_x_libraries" = no; then
12884 # Check for the libraries.
12885 # See if we find them without any special options.
12886 # Don't add to $LIBS permanently.
12887 ac_save_LIBS=$LIBS
12888 LIBS="-lX11 $LIBS"
12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12891 #include <X11/Xlib.h>
12893 main (void)
12895 XrmInitialize ()
12897 return 0;
12899 _ACEOF
12900 if ac_fn_c_try_link "$LINENO"
12901 then :
12902 LIBS=$ac_save_LIBS
12903 # We can link X programs with no special library path.
12904 ac_x_libraries=
12905 else $as_nop
12906 LIBS=$ac_save_LIBS
12907 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
12909 # Don't even attempt the hair of trying to link an X program!
12910 for ac_extension in a so sl dylib la dll; do
12911 if test -r "$ac_dir/libX11.$ac_extension"; then
12912 ac_x_libraries=$ac_dir
12913 break 2
12915 done
12916 done
12918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12919 conftest$ac_exeext conftest.$ac_ext
12920 fi # $ac_x_libraries = no
12923 # Record the results.
12924 case $ac_x_includes,$ac_x_libraries in #(
12925 no,* | *,no | *\'*) :
12926 # Didn't find X, or a directory has "'" in its name.
12927 ac_cv_have_x="have_x=no" ;; #(
12928 *) :
12929 # Record where we found X for the cache.
12930 ac_cv_have_x="have_x=yes\
12931 ac_x_includes='$ac_x_includes'\
12932 ac_x_libraries='$ac_x_libraries'" ;;
12933 esac
12935 ;; #(
12936 *) have_x=yes;;
12937 esac
12938 eval "$ac_cv_have_x"
12939 fi # $with_x != no
12941 if test "$have_x" != yes; then
12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
12943 printf "%s\n" "$have_x" >&6; }
12944 no_x=yes
12945 else
12946 # If each of the values was on the command line, it overrides each guess.
12947 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
12948 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
12949 # Update the cache value to reflect the command line values.
12950 ac_cv_have_x="have_x=yes\
12951 ac_x_includes='$x_includes'\
12952 ac_x_libraries='$x_libraries'"
12953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
12954 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
12957 if test "$no_x" = yes; then
12958 # Not all programs may use this symbol, but it does not hurt to define it.
12960 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
12962 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12963 else
12964 if test -n "$x_includes"; then
12965 X_CFLAGS="$X_CFLAGS -I$x_includes"
12968 # It would also be nice to do this for all -L options, not just this one.
12969 if test -n "$x_libraries"; then
12970 X_LIBS="$X_LIBS -L$x_libraries"
12971 # For Solaris; some versions of Sun CC require a space after -R and
12972 # others require no space. Words are not sufficient . . . .
12973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
12974 printf %s "checking whether -R must be followed by a space... " >&6; }
12975 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
12976 ac_xsave_c_werror_flag=$ac_c_werror_flag
12977 ac_c_werror_flag=yes
12978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12979 /* end confdefs.h. */
12982 main (void)
12986 return 0;
12988 _ACEOF
12989 if ac_fn_c_try_link "$LINENO"
12990 then :
12991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12992 printf "%s\n" "no" >&6; }
12993 X_LIBS="$X_LIBS -R$x_libraries"
12994 else $as_nop
12995 LIBS="$ac_xsave_LIBS -R $x_libraries"
12996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12997 /* end confdefs.h. */
13000 main (void)
13004 return 0;
13006 _ACEOF
13007 if ac_fn_c_try_link "$LINENO"
13008 then :
13009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13010 printf "%s\n" "yes" >&6; }
13011 X_LIBS="$X_LIBS -R $x_libraries"
13012 else $as_nop
13013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13014 printf "%s\n" "neither works" >&6; }
13016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13017 conftest$ac_exeext conftest.$ac_ext
13019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13020 conftest$ac_exeext conftest.$ac_ext
13021 ac_c_werror_flag=$ac_xsave_c_werror_flag
13022 LIBS=$ac_xsave_LIBS
13025 # Check for system-dependent libraries X programs must link with.
13026 # Do this before checking for the system-independent R6 libraries
13027 # (-lICE), since we may need -lsocket or whatever for X linking.
13029 if test "$ISC" = yes; then
13030 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13031 else
13032 # Martyn Johnson says this is needed for Ultrix, if the X
13033 # libraries were built with DECnet support. And Karl Berry says
13034 # the Alpha needs dnet_stub (dnet does not exist).
13035 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13037 /* end confdefs.h. */
13039 /* Override any GCC internal prototype to avoid an error.
13040 Use char because int might match the return type of a GCC
13041 builtin and then its argument prototype would still apply. */
13042 char XOpenDisplay ();
13044 main (void)
13046 return XOpenDisplay ();
13048 return 0;
13050 _ACEOF
13051 if ac_fn_c_try_link "$LINENO"
13052 then :
13054 else $as_nop
13055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13056 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13057 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13058 then :
13059 printf %s "(cached) " >&6
13060 else $as_nop
13061 ac_check_lib_save_LIBS=$LIBS
13062 LIBS="-ldnet $LIBS"
13063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13064 /* end confdefs.h. */
13066 /* Override any GCC internal prototype to avoid an error.
13067 Use char because int might match the return type of a GCC
13068 builtin and then its argument prototype would still apply. */
13069 char dnet_ntoa ();
13071 main (void)
13073 return dnet_ntoa ();
13075 return 0;
13077 _ACEOF
13078 if ac_fn_c_try_link "$LINENO"
13079 then :
13080 ac_cv_lib_dnet_dnet_ntoa=yes
13081 else $as_nop
13082 ac_cv_lib_dnet_dnet_ntoa=no
13084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13085 conftest$ac_exeext conftest.$ac_ext
13086 LIBS=$ac_check_lib_save_LIBS
13088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13089 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13090 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13091 then :
13092 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13095 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13097 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13098 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13099 then :
13100 printf %s "(cached) " >&6
13101 else $as_nop
13102 ac_check_lib_save_LIBS=$LIBS
13103 LIBS="-ldnet_stub $LIBS"
13104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13105 /* end confdefs.h. */
13107 /* Override any GCC internal prototype to avoid an error.
13108 Use char because int might match the return type of a GCC
13109 builtin and then its argument prototype would still apply. */
13110 char dnet_ntoa ();
13112 main (void)
13114 return dnet_ntoa ();
13116 return 0;
13118 _ACEOF
13119 if ac_fn_c_try_link "$LINENO"
13120 then :
13121 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13122 else $as_nop
13123 ac_cv_lib_dnet_stub_dnet_ntoa=no
13125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13126 conftest$ac_exeext conftest.$ac_ext
13127 LIBS=$ac_check_lib_save_LIBS
13129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13130 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13131 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13132 then :
13133 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13139 conftest$ac_exeext conftest.$ac_ext
13140 LIBS="$ac_xsave_LIBS"
13142 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13143 # to get the SysV transport functions.
13144 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13145 # needs -lnsl.
13146 # The nsl library prevents programs from opening the X display
13147 # on Irix 5.2, according to T.E. Dickey.
13148 # The functions gethostbyname, getservbyname, and inet_addr are
13149 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13150 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13151 if test "x$ac_cv_func_gethostbyname" = xyes
13152 then :
13156 if test $ac_cv_func_gethostbyname = no; then
13157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13158 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13159 if test ${ac_cv_lib_nsl_gethostbyname+y}
13160 then :
13161 printf %s "(cached) " >&6
13162 else $as_nop
13163 ac_check_lib_save_LIBS=$LIBS
13164 LIBS="-lnsl $LIBS"
13165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13166 /* end confdefs.h. */
13168 /* Override any GCC internal prototype to avoid an error.
13169 Use char because int might match the return type of a GCC
13170 builtin and then its argument prototype would still apply. */
13171 char gethostbyname ();
13173 main (void)
13175 return gethostbyname ();
13177 return 0;
13179 _ACEOF
13180 if ac_fn_c_try_link "$LINENO"
13181 then :
13182 ac_cv_lib_nsl_gethostbyname=yes
13183 else $as_nop
13184 ac_cv_lib_nsl_gethostbyname=no
13186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13187 conftest$ac_exeext conftest.$ac_ext
13188 LIBS=$ac_check_lib_save_LIBS
13190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13191 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13192 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13193 then :
13194 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13197 if test $ac_cv_lib_nsl_gethostbyname = no; then
13198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13199 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13200 if test ${ac_cv_lib_bsd_gethostbyname+y}
13201 then :
13202 printf %s "(cached) " >&6
13203 else $as_nop
13204 ac_check_lib_save_LIBS=$LIBS
13205 LIBS="-lbsd $LIBS"
13206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13207 /* end confdefs.h. */
13209 /* Override any GCC internal prototype to avoid an error.
13210 Use char because int might match the return type of a GCC
13211 builtin and then its argument prototype would still apply. */
13212 char gethostbyname ();
13214 main (void)
13216 return gethostbyname ();
13218 return 0;
13220 _ACEOF
13221 if ac_fn_c_try_link "$LINENO"
13222 then :
13223 ac_cv_lib_bsd_gethostbyname=yes
13224 else $as_nop
13225 ac_cv_lib_bsd_gethostbyname=no
13227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13228 conftest$ac_exeext conftest.$ac_ext
13229 LIBS=$ac_check_lib_save_LIBS
13231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13232 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13233 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13234 then :
13235 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13241 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13242 # socket/setsockopt and other routines are undefined under SCO ODT
13243 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13244 # on later versions), says Simon Leinen: it contains gethostby*
13245 # variants that don't use the name server (or something). -lsocket
13246 # must be given before -lnsl if both are needed. We assume that
13247 # if connect needs -lnsl, so does gethostbyname.
13248 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13249 if test "x$ac_cv_func_connect" = xyes
13250 then :
13254 if test $ac_cv_func_connect = no; then
13255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13256 printf %s "checking for connect in -lsocket... " >&6; }
13257 if test ${ac_cv_lib_socket_connect+y}
13258 then :
13259 printf %s "(cached) " >&6
13260 else $as_nop
13261 ac_check_lib_save_LIBS=$LIBS
13262 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13264 /* end confdefs.h. */
13266 /* Override any GCC internal prototype to avoid an error.
13267 Use char because int might match the return type of a GCC
13268 builtin and then its argument prototype would still apply. */
13269 char connect ();
13271 main (void)
13273 return connect ();
13275 return 0;
13277 _ACEOF
13278 if ac_fn_c_try_link "$LINENO"
13279 then :
13280 ac_cv_lib_socket_connect=yes
13281 else $as_nop
13282 ac_cv_lib_socket_connect=no
13284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13285 conftest$ac_exeext conftest.$ac_ext
13286 LIBS=$ac_check_lib_save_LIBS
13288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13289 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
13290 if test "x$ac_cv_lib_socket_connect" = xyes
13291 then :
13292 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
13297 # Guillermo Gomez says -lposix is necessary on A/UX.
13298 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
13299 if test "x$ac_cv_func_remove" = xyes
13300 then :
13304 if test $ac_cv_func_remove = no; then
13305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
13306 printf %s "checking for remove in -lposix... " >&6; }
13307 if test ${ac_cv_lib_posix_remove+y}
13308 then :
13309 printf %s "(cached) " >&6
13310 else $as_nop
13311 ac_check_lib_save_LIBS=$LIBS
13312 LIBS="-lposix $LIBS"
13313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13314 /* end confdefs.h. */
13316 /* Override any GCC internal prototype to avoid an error.
13317 Use char because int might match the return type of a GCC
13318 builtin and then its argument prototype would still apply. */
13319 char remove ();
13321 main (void)
13323 return remove ();
13325 return 0;
13327 _ACEOF
13328 if ac_fn_c_try_link "$LINENO"
13329 then :
13330 ac_cv_lib_posix_remove=yes
13331 else $as_nop
13332 ac_cv_lib_posix_remove=no
13334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13335 conftest$ac_exeext conftest.$ac_ext
13336 LIBS=$ac_check_lib_save_LIBS
13338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
13339 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
13340 if test "x$ac_cv_lib_posix_remove" = xyes
13341 then :
13342 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
13347 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13348 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
13349 if test "x$ac_cv_func_shmat" = xyes
13350 then :
13354 if test $ac_cv_func_shmat = no; then
13355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
13356 printf %s "checking for shmat in -lipc... " >&6; }
13357 if test ${ac_cv_lib_ipc_shmat+y}
13358 then :
13359 printf %s "(cached) " >&6
13360 else $as_nop
13361 ac_check_lib_save_LIBS=$LIBS
13362 LIBS="-lipc $LIBS"
13363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13364 /* end confdefs.h. */
13366 /* Override any GCC internal prototype to avoid an error.
13367 Use char because int might match the return type of a GCC
13368 builtin and then its argument prototype would still apply. */
13369 char shmat ();
13371 main (void)
13373 return shmat ();
13375 return 0;
13377 _ACEOF
13378 if ac_fn_c_try_link "$LINENO"
13379 then :
13380 ac_cv_lib_ipc_shmat=yes
13381 else $as_nop
13382 ac_cv_lib_ipc_shmat=no
13384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13385 conftest$ac_exeext conftest.$ac_ext
13386 LIBS=$ac_check_lib_save_LIBS
13388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
13389 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
13390 if test "x$ac_cv_lib_ipc_shmat" = xyes
13391 then :
13392 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13398 # Check for libraries that X11R6 Xt/Xaw programs need.
13399 ac_save_LDFLAGS=$LDFLAGS
13400 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
13401 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13402 # check for ICE first), but we must link in the order -lSM -lICE or
13403 # we get undefined symbols. So assume we have SM if we have ICE.
13404 # These have to be linked with before -lX11, unlike the other
13405 # libraries we check for below, so use a different variable.
13406 # John Interrante, Karl Berry
13407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
13408 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
13409 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
13410 then :
13411 printf %s "(cached) " >&6
13412 else $as_nop
13413 ac_check_lib_save_LIBS=$LIBS
13414 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13416 /* end confdefs.h. */
13418 /* Override any GCC internal prototype to avoid an error.
13419 Use char because int might match the return type of a GCC
13420 builtin and then its argument prototype would still apply. */
13421 char IceConnectionNumber ();
13423 main (void)
13425 return IceConnectionNumber ();
13427 return 0;
13429 _ACEOF
13430 if ac_fn_c_try_link "$LINENO"
13431 then :
13432 ac_cv_lib_ICE_IceConnectionNumber=yes
13433 else $as_nop
13434 ac_cv_lib_ICE_IceConnectionNumber=no
13436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13437 conftest$ac_exeext conftest.$ac_ext
13438 LIBS=$ac_check_lib_save_LIBS
13440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
13441 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
13442 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
13443 then :
13444 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13447 LDFLAGS=$ac_save_LDFLAGS
13452 if test "$have_x" = "yes"
13453 then
13454 ac_save_CPPFLAGS="$CPPFLAGS"
13455 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
13457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
13458 printf %s "checking for -lX11... " >&6; }
13459 if test ${ac_cv_lib_soname_X11+y}
13460 then :
13461 printf %s "(cached) " >&6
13462 else $as_nop
13463 ac_check_soname_save_LIBS=$LIBS
13464 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
13465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13466 /* end confdefs.h. */
13468 /* Override any GCC internal prototype to avoid an error.
13469 Use char because int might match the return type of a GCC
13470 builtin and then its argument prototype would still apply. */
13471 char XCreateWindow ();
13473 main (void)
13475 return XCreateWindow ();
13477 return 0;
13479 _ACEOF
13480 if ac_fn_c_try_link "$LINENO"
13481 then :
13482 case "$LIBEXT" in
13483 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13484 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'` ;;
13485 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13486 if ${ac_cv_lib_soname_X11:+false} :
13487 then :
13488 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13489 fi ;;
13490 esac
13491 else $as_nop
13492 ac_cv_lib_soname_X11=
13494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13495 conftest$ac_exeext conftest.$ac_ext
13496 LIBS=$ac_check_soname_save_LIBS
13498 if ${ac_cv_lib_soname_X11:+false} :
13499 then :
13500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13501 printf "%s\n" "not found" >&6; }
13503 else $as_nop
13504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
13505 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
13507 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
13511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
13512 printf %s "checking for -lXext... " >&6; }
13513 if test ${ac_cv_lib_soname_Xext+y}
13514 then :
13515 printf %s "(cached) " >&6
13516 else $as_nop
13517 ac_check_soname_save_LIBS=$LIBS
13518 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
13519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13520 /* end confdefs.h. */
13522 /* Override any GCC internal prototype to avoid an error.
13523 Use char because int might match the return type of a GCC
13524 builtin and then its argument prototype would still apply. */
13525 char XextCreateExtension ();
13527 main (void)
13529 return XextCreateExtension ();
13531 return 0;
13533 _ACEOF
13534 if ac_fn_c_try_link "$LINENO"
13535 then :
13536 case "$LIBEXT" in
13537 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13538 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'` ;;
13539 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13540 if ${ac_cv_lib_soname_Xext:+false} :
13541 then :
13542 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13543 fi ;;
13544 esac
13545 else $as_nop
13546 ac_cv_lib_soname_Xext=
13548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13549 conftest$ac_exeext conftest.$ac_ext
13550 LIBS=$ac_check_soname_save_LIBS
13552 if ${ac_cv_lib_soname_Xext:+false} :
13553 then :
13554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13555 printf "%s\n" "not found" >&6; }
13557 else $as_nop
13558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
13559 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
13561 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
13563 X_LIBS="$X_LIBS -lXext"
13565 X_LIBS="$X_LIBS -lX11"
13567 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
13568 # include <X11/Xlib.h>
13569 #endif
13570 #ifdef HAVE_X11_XUTIL_H
13571 # include <X11/Xutil.h>
13572 #endif
13574 if test "x$ac_cv_header_X11_Xlib_h" = xyes
13575 then :
13576 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
13579 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
13580 # include <X11/Xlib.h>
13581 #endif
13582 #ifdef HAVE_X11_XUTIL_H
13583 # include <X11/Xutil.h>
13584 #endif
13586 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
13587 then :
13588 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
13591 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
13592 # include <X11/Xlib.h>
13593 #endif
13594 #ifdef HAVE_X11_XUTIL_H
13595 # include <X11/Xutil.h>
13596 #endif
13598 if test "x$ac_cv_header_X11_Xutil_h" = xyes
13599 then :
13600 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
13603 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
13604 # include <X11/Xlib.h>
13605 #endif
13606 #ifdef HAVE_X11_XUTIL_H
13607 # include <X11/Xutil.h>
13608 #endif
13610 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
13611 then :
13612 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
13615 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
13616 # include <X11/Xlib.h>
13617 #endif
13618 #ifdef HAVE_X11_XUTIL_H
13619 # include <X11/Xutil.h>
13620 #endif
13622 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
13623 then :
13624 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
13627 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
13628 # include <X11/Xlib.h>
13629 #endif
13630 #ifdef HAVE_X11_XUTIL_H
13631 # include <X11/Xutil.h>
13632 #endif
13634 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
13635 then :
13636 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
13639 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
13640 # include <X11/Xlib.h>
13641 #endif
13642 #ifdef HAVE_X11_XUTIL_H
13643 # include <X11/Xutil.h>
13644 #endif
13646 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
13647 then :
13648 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
13651 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
13652 # include <X11/Xlib.h>
13653 #endif
13654 #ifdef HAVE_X11_XUTIL_H
13655 # include <X11/Xutil.h>
13656 #endif
13658 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
13659 then :
13660 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
13663 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
13664 # include <X11/Xlib.h>
13665 #endif
13666 #ifdef HAVE_X11_XUTIL_H
13667 # include <X11/Xutil.h>
13668 #endif
13670 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
13671 then :
13672 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
13675 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
13676 # include <X11/Xlib.h>
13677 #endif
13678 #ifdef HAVE_X11_XUTIL_H
13679 # include <X11/Xutil.h>
13680 #endif
13682 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
13683 then :
13684 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
13687 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
13688 # include <X11/Xlib.h>
13689 #endif
13690 #ifdef HAVE_X11_XUTIL_H
13691 # include <X11/Xutil.h>
13692 #endif
13694 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
13695 then :
13696 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
13699 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
13700 # include <X11/Xlib.h>
13701 #endif
13702 #ifdef HAVE_X11_XUTIL_H
13703 # include <X11/Xutil.h>
13704 #endif
13706 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
13707 then :
13708 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
13711 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
13712 # include <X11/Xlib.h>
13713 #endif
13714 #ifdef HAVE_X11_XUTIL_H
13715 # include <X11/Xutil.h>
13716 #endif
13718 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
13719 then :
13720 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
13723 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
13724 # include <X11/Xlib.h>
13725 #endif
13726 #ifdef HAVE_X11_XUTIL_H
13727 # include <X11/Xutil.h>
13728 #endif
13730 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
13731 then :
13732 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
13735 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
13736 # include <X11/Xlib.h>
13737 #endif
13738 #ifdef HAVE_X11_XUTIL_H
13739 # include <X11/Xutil.h>
13740 #endif
13742 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
13743 then :
13744 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
13749 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
13750 then
13751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
13752 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
13753 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
13754 then :
13755 printf %s "(cached) " >&6
13756 else $as_nop
13757 ac_check_lib_save_LIBS=$LIBS
13758 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13762 /* Override any GCC internal prototype to avoid an error.
13763 Use char because int might match the return type of a GCC
13764 builtin and then its argument prototype would still apply. */
13765 char XkbQueryExtension ();
13767 main (void)
13769 return XkbQueryExtension ();
13771 return 0;
13773 _ACEOF
13774 if ac_fn_c_try_link "$LINENO"
13775 then :
13776 ac_cv_lib_X11_XkbQueryExtension=yes
13777 else $as_nop
13778 ac_cv_lib_X11_XkbQueryExtension=no
13780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13781 conftest$ac_exeext conftest.$ac_ext
13782 LIBS=$ac_check_lib_save_LIBS
13784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
13785 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
13786 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
13787 then :
13789 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
13795 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
13796 then
13797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
13798 printf %s "checking for -lXcursor... " >&6; }
13799 if test ${ac_cv_lib_soname_Xcursor+y}
13800 then :
13801 printf %s "(cached) " >&6
13802 else $as_nop
13803 ac_check_soname_save_LIBS=$LIBS
13804 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
13805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h. */
13808 /* Override any GCC internal prototype to avoid an error.
13809 Use char because int might match the return type of a GCC
13810 builtin and then its argument prototype would still apply. */
13811 char XcursorImageLoadCursor ();
13813 main (void)
13815 return XcursorImageLoadCursor ();
13817 return 0;
13819 _ACEOF
13820 if ac_fn_c_try_link "$LINENO"
13821 then :
13822 case "$LIBEXT" in
13823 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13824 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'` ;;
13825 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13826 if ${ac_cv_lib_soname_Xcursor:+false} :
13827 then :
13828 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13829 fi ;;
13830 esac
13831 else $as_nop
13832 ac_cv_lib_soname_Xcursor=
13834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13835 conftest$ac_exeext conftest.$ac_ext
13836 LIBS=$ac_check_soname_save_LIBS
13838 if ${ac_cv_lib_soname_Xcursor:+false} :
13839 then :
13840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13841 printf "%s\n" "not found" >&6; }
13843 else $as_nop
13844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
13845 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
13847 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
13852 if test "x$ac_cv_lib_soname_Xcursor" = "x"
13853 then :
13854 case "x$with_xcursor" in
13855 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
13856 xno) ;;
13857 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
13858 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
13859 esac
13863 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
13864 then
13865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
13866 printf %s "checking for -lXi... " >&6; }
13867 if test ${ac_cv_lib_soname_Xi+y}
13868 then :
13869 printf %s "(cached) " >&6
13870 else $as_nop
13871 ac_check_soname_save_LIBS=$LIBS
13872 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
13873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13874 /* end confdefs.h. */
13876 /* Override any GCC internal prototype to avoid an error.
13877 Use char because int might match the return type of a GCC
13878 builtin and then its argument prototype would still apply. */
13879 char XOpenDevice ();
13881 main (void)
13883 return XOpenDevice ();
13885 return 0;
13887 _ACEOF
13888 if ac_fn_c_try_link "$LINENO"
13889 then :
13890 case "$LIBEXT" in
13891 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13892 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'` ;;
13893 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13894 if ${ac_cv_lib_soname_Xi:+false} :
13895 then :
13896 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13897 fi ;;
13898 esac
13899 else $as_nop
13900 ac_cv_lib_soname_Xi=
13902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13903 conftest$ac_exeext conftest.$ac_ext
13904 LIBS=$ac_check_soname_save_LIBS
13906 if ${ac_cv_lib_soname_Xi:+false} :
13907 then :
13908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13909 printf "%s\n" "not found" >&6; }
13911 else $as_nop
13912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
13913 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
13915 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
13920 if test "x$ac_cv_lib_soname_Xi" = "x"
13921 then :
13922 case "x$with_xinput" in
13923 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
13924 xno) ;;
13925 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
13926 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
13927 esac
13931 if test "x$ac_cv_lib_soname_Xi" != x
13932 then
13933 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
13934 then :
13935 case "x$with_xinput2" in
13936 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
13937 xno) ;;
13938 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
13939 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
13940 esac
13945 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
13946 then
13947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13948 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
13949 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
13950 then :
13951 printf %s "(cached) " >&6
13952 else $as_nop
13953 ac_check_lib_save_LIBS=$LIBS
13954 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
13955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13956 /* end confdefs.h. */
13958 /* Override any GCC internal prototype to avoid an error.
13959 Use char because int might match the return type of a GCC
13960 builtin and then its argument prototype would still apply. */
13961 char XShmQueryExtension ();
13963 main (void)
13965 return XShmQueryExtension ();
13967 return 0;
13969 _ACEOF
13970 if ac_fn_c_try_link "$LINENO"
13971 then :
13972 ac_cv_lib_Xext_XShmQueryExtension=yes
13973 else $as_nop
13974 ac_cv_lib_Xext_XShmQueryExtension=no
13976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13977 conftest$ac_exeext conftest.$ac_ext
13978 LIBS=$ac_check_lib_save_LIBS
13980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
13981 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
13982 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
13983 then :
13985 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
13990 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
13991 then :
13992 case "x$with_xshm" in
13993 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
13994 xno) ;;
13995 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
13996 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
13997 esac
14001 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14002 then
14003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14004 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14005 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14006 then :
14007 printf %s "(cached) " >&6
14008 else $as_nop
14009 ac_check_lib_save_LIBS=$LIBS
14010 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14014 /* Override any GCC internal prototype to avoid an error.
14015 Use char because int might match the return type of a GCC
14016 builtin and then its argument prototype would still apply. */
14017 char XShapeQueryExtension ();
14019 main (void)
14021 return XShapeQueryExtension ();
14023 return 0;
14025 _ACEOF
14026 if ac_fn_c_try_link "$LINENO"
14027 then :
14028 ac_cv_lib_Xext_XShapeQueryExtension=yes
14029 else $as_nop
14030 ac_cv_lib_Xext_XShapeQueryExtension=no
14032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14033 conftest$ac_exeext conftest.$ac_ext
14034 LIBS=$ac_check_lib_save_LIBS
14036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14037 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14038 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14039 then :
14041 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14046 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14047 then :
14048 case "x$with_xshape" in
14049 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14050 xno) ;;
14051 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14052 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14053 esac
14057 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14058 then
14059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14060 printf %s "checking for -lXxf86vm... " >&6; }
14061 if test ${ac_cv_lib_soname_Xxf86vm+y}
14062 then :
14063 printf %s "(cached) " >&6
14064 else $as_nop
14065 ac_check_soname_save_LIBS=$LIBS
14066 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14070 /* Override any GCC internal prototype to avoid an error.
14071 Use char because int might match the return type of a GCC
14072 builtin and then its argument prototype would still apply. */
14073 char XF86VidModeQueryExtension ();
14075 main (void)
14077 return XF86VidModeQueryExtension ();
14079 return 0;
14081 _ACEOF
14082 if ac_fn_c_try_link "$LINENO"
14083 then :
14084 case "$LIBEXT" in
14085 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14086 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'` ;;
14087 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14088 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14089 then :
14090 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14091 fi ;;
14092 esac
14093 else $as_nop
14094 ac_cv_lib_soname_Xxf86vm=
14096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14097 conftest$ac_exeext conftest.$ac_ext
14098 LIBS=$ac_check_soname_save_LIBS
14100 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14101 then :
14102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14103 printf "%s\n" "not found" >&6; }
14105 else $as_nop
14106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14107 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14109 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14114 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14115 then :
14116 case "x$with_xxf86vm" in
14117 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14118 xno) ;;
14119 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14120 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14121 esac
14125 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14126 then
14127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14128 printf %s "checking for -lXrender... " >&6; }
14129 if test ${ac_cv_lib_soname_Xrender+y}
14130 then :
14131 printf %s "(cached) " >&6
14132 else $as_nop
14133 ac_check_soname_save_LIBS=$LIBS
14134 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14138 /* Override any GCC internal prototype to avoid an error.
14139 Use char because int might match the return type of a GCC
14140 builtin and then its argument prototype would still apply. */
14141 char XRenderQueryExtension ();
14143 main (void)
14145 return XRenderQueryExtension ();
14147 return 0;
14149 _ACEOF
14150 if ac_fn_c_try_link "$LINENO"
14151 then :
14152 case "$LIBEXT" in
14153 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14154 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'` ;;
14155 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14156 if ${ac_cv_lib_soname_Xrender:+false} :
14157 then :
14158 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14159 fi ;;
14160 esac
14161 else $as_nop
14162 ac_cv_lib_soname_Xrender=
14164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14165 conftest$ac_exeext conftest.$ac_ext
14166 LIBS=$ac_check_soname_save_LIBS
14168 if ${ac_cv_lib_soname_Xrender:+false} :
14169 then :
14170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14171 printf "%s\n" "not found" >&6; }
14173 else $as_nop
14174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14175 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14177 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14180 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14181 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14182 then :
14183 printf %s "(cached) " >&6
14184 else $as_nop
14185 ac_check_lib_save_LIBS=$LIBS
14186 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14190 /* Override any GCC internal prototype to avoid an error.
14191 Use char because int might match the return type of a GCC
14192 builtin and then its argument prototype would still apply. */
14193 char XRenderSetPictureTransform ();
14195 main (void)
14197 return XRenderSetPictureTransform ();
14199 return 0;
14201 _ACEOF
14202 if ac_fn_c_try_link "$LINENO"
14203 then :
14204 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14205 else $as_nop
14206 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14209 conftest$ac_exeext conftest.$ac_ext
14210 LIBS=$ac_check_lib_save_LIBS
14212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14213 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14214 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14215 then :
14217 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14222 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14223 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14224 then :
14225 printf %s "(cached) " >&6
14226 else $as_nop
14227 ac_check_lib_save_LIBS=$LIBS
14228 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14232 /* Override any GCC internal prototype to avoid an error.
14233 Use char because int might match the return type of a GCC
14234 builtin and then its argument prototype would still apply. */
14235 char XRenderCreateLinearGradient ();
14237 main (void)
14239 return XRenderCreateLinearGradient ();
14241 return 0;
14243 _ACEOF
14244 if ac_fn_c_try_link "$LINENO"
14245 then :
14246 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14247 else $as_nop
14248 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14251 conftest$ac_exeext conftest.$ac_ext
14252 LIBS=$ac_check_lib_save_LIBS
14254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14255 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14256 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14257 then :
14259 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14266 if test "x$ac_cv_lib_soname_Xrender" = "x"
14267 then :
14268 case "x$with_xrender" in
14269 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14270 xno) ;;
14271 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14272 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14273 esac
14277 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14278 then
14279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14281 #include <X11/Xlib.h>
14282 #include <X11/extensions/Xrandr.h>
14284 main (void)
14286 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14288 return 0;
14290 _ACEOF
14291 if ac_fn_c_try_compile "$LINENO"
14292 then :
14293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14294 printf %s "checking for -lXrandr... " >&6; }
14295 if test ${ac_cv_lib_soname_Xrandr+y}
14296 then :
14297 printf %s "(cached) " >&6
14298 else $as_nop
14299 ac_check_soname_save_LIBS=$LIBS
14300 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14302 /* end confdefs.h. */
14304 /* Override any GCC internal prototype to avoid an error.
14305 Use char because int might match the return type of a GCC
14306 builtin and then its argument prototype would still apply. */
14307 char XRRQueryExtension ();
14309 main (void)
14311 return XRRQueryExtension ();
14313 return 0;
14315 _ACEOF
14316 if ac_fn_c_try_link "$LINENO"
14317 then :
14318 case "$LIBEXT" in
14319 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14320 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'` ;;
14321 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14322 if ${ac_cv_lib_soname_Xrandr:+false} :
14323 then :
14324 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14325 fi ;;
14326 esac
14327 else $as_nop
14328 ac_cv_lib_soname_Xrandr=
14330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14331 conftest$ac_exeext conftest.$ac_ext
14332 LIBS=$ac_check_soname_save_LIBS
14334 if ${ac_cv_lib_soname_Xrandr:+false} :
14335 then :
14336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14337 printf "%s\n" "not found" >&6; }
14339 else $as_nop
14340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
14341 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
14343 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
14345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14346 /* end confdefs.h. */
14347 #include <X11/Xlib.h>
14348 #include <X11/extensions/Xrandr.h>
14350 main (void)
14352 static typeof(XRRGetProviderResources) *f; if (f) return 0;
14354 return 0;
14356 _ACEOF
14357 if ac_fn_c_try_compile "$LINENO"
14358 then :
14360 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
14362 else $as_nop
14363 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
14365 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14368 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14370 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14371 then :
14372 case "x$with_xrandr" in
14373 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
14374 xno) ;;
14375 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
14376 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
14377 esac
14381 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
14382 then
14383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h. */
14385 #include <X11/Xlib.h>
14386 #include <X11/extensions/Xfixes.h>
14388 main (void)
14390 static typeof(XFixesQueryVersion) * func; if (func) return 0;
14392 return 0;
14394 _ACEOF
14395 if ac_fn_c_try_compile "$LINENO"
14396 then :
14397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
14398 printf %s "checking for -lXfixes... " >&6; }
14399 if test ${ac_cv_lib_soname_Xfixes+y}
14400 then :
14401 printf %s "(cached) " >&6
14402 else $as_nop
14403 ac_check_soname_save_LIBS=$LIBS
14404 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
14405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14406 /* end confdefs.h. */
14408 /* Override any GCC internal prototype to avoid an error.
14409 Use char because int might match the return type of a GCC
14410 builtin and then its argument prototype would still apply. */
14411 char XFixesQueryVersion ();
14413 main (void)
14415 return XFixesQueryVersion ();
14417 return 0;
14419 _ACEOF
14420 if ac_fn_c_try_link "$LINENO"
14421 then :
14422 case "$LIBEXT" in
14423 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14424 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'` ;;
14425 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14426 if ${ac_cv_lib_soname_Xfixes:+false} :
14427 then :
14428 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14429 fi ;;
14430 esac
14431 else $as_nop
14432 ac_cv_lib_soname_Xfixes=
14434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14435 conftest$ac_exeext conftest.$ac_ext
14436 LIBS=$ac_check_soname_save_LIBS
14438 if ${ac_cv_lib_soname_Xfixes:+false} :
14439 then :
14440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14441 printf "%s\n" "not found" >&6; }
14443 else $as_nop
14444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
14445 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
14447 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
14452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14454 if test "x$ac_cv_lib_soname_Xfixes" = "x"
14455 then :
14456 case "x$with_xfixes" in
14457 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
14458 xno) ;;
14459 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
14460 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
14461 esac
14465 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
14466 then
14467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14468 /* end confdefs.h. */
14469 #include <X11/Xlib.h>
14470 #include <X11/extensions/Xinerama.h>
14472 main (void)
14474 static typeof(XineramaQueryScreens) * func; if (func) return 0;
14476 return 0;
14478 _ACEOF
14479 if ac_fn_c_try_compile "$LINENO"
14480 then :
14481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
14482 printf %s "checking for -lXinerama... " >&6; }
14483 if test ${ac_cv_lib_soname_Xinerama+y}
14484 then :
14485 printf %s "(cached) " >&6
14486 else $as_nop
14487 ac_check_soname_save_LIBS=$LIBS
14488 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
14489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14492 /* Override any GCC internal prototype to avoid an error.
14493 Use char because int might match the return type of a GCC
14494 builtin and then its argument prototype would still apply. */
14495 char XineramaQueryScreens ();
14497 main (void)
14499 return XineramaQueryScreens ();
14501 return 0;
14503 _ACEOF
14504 if ac_fn_c_try_link "$LINENO"
14505 then :
14506 case "$LIBEXT" in
14507 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14508 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'` ;;
14509 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14510 if ${ac_cv_lib_soname_Xinerama:+false} :
14511 then :
14512 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14513 fi ;;
14514 esac
14515 else $as_nop
14516 ac_cv_lib_soname_Xinerama=
14518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14519 conftest$ac_exeext conftest.$ac_ext
14520 LIBS=$ac_check_soname_save_LIBS
14522 if ${ac_cv_lib_soname_Xinerama:+false} :
14523 then :
14524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14525 printf "%s\n" "not found" >&6; }
14527 else $as_nop
14528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
14529 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
14531 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
14536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14538 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14539 then :
14540 case "x$with_xinerama" in
14541 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
14542 xno) ;;
14543 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
14544 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
14545 esac
14549 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
14550 then
14551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
14552 printf %s "checking for -lXcomposite... " >&6; }
14553 if test ${ac_cv_lib_soname_Xcomposite+y}
14554 then :
14555 printf %s "(cached) " >&6
14556 else $as_nop
14557 ac_check_soname_save_LIBS=$LIBS
14558 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
14559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14560 /* end confdefs.h. */
14562 /* Override any GCC internal prototype to avoid an error.
14563 Use char because int might match the return type of a GCC
14564 builtin and then its argument prototype would still apply. */
14565 char XCompositeRedirectWindow ();
14567 main (void)
14569 return XCompositeRedirectWindow ();
14571 return 0;
14573 _ACEOF
14574 if ac_fn_c_try_link "$LINENO"
14575 then :
14576 case "$LIBEXT" in
14577 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14578 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'` ;;
14579 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14580 if ${ac_cv_lib_soname_Xcomposite:+false} :
14581 then :
14582 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14583 fi ;;
14584 esac
14585 else $as_nop
14586 ac_cv_lib_soname_Xcomposite=
14588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14589 conftest$ac_exeext conftest.$ac_ext
14590 LIBS=$ac_check_soname_save_LIBS
14592 if ${ac_cv_lib_soname_Xcomposite:+false} :
14593 then :
14594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14595 printf "%s\n" "not found" >&6; }
14597 else $as_nop
14598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
14599 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
14601 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
14606 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
14607 then :
14608 case "x$with_xcomposite" in
14609 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
14610 xno) ;;
14611 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
14612 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
14613 esac
14617 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
14618 #include <X11/Xlib.h>
14619 #endif
14621 if test "x$ac_cv_member_XICCallback_callback" = xyes
14622 then :
14624 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
14628 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
14629 #include <X11/Xlib.h>
14630 #endif
14632 if test "x$ac_cv_member_XEvent_xcookie" = xyes
14633 then :
14635 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
14642 opengl_msg=""
14643 if test "x$with_opengl" != "xno"
14644 then
14645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
14646 printf %s "checking for -lGL... " >&6; }
14647 if test ${ac_cv_lib_soname_GL+y}
14648 then :
14649 printf %s "(cached) " >&6
14650 else $as_nop
14651 ac_check_soname_save_LIBS=$LIBS
14652 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
14653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14654 /* end confdefs.h. */
14656 /* Override any GCC internal prototype to avoid an error.
14657 Use char because int might match the return type of a GCC
14658 builtin and then its argument prototype would still apply. */
14659 char glXCreateContext ();
14661 main (void)
14663 return glXCreateContext ();
14665 return 0;
14667 _ACEOF
14668 if ac_fn_c_try_link "$LINENO"
14669 then :
14670 case "$LIBEXT" in
14671 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14672 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'` ;;
14673 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14674 if ${ac_cv_lib_soname_GL:+false} :
14675 then :
14676 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14677 fi ;;
14678 esac
14679 else $as_nop
14680 ac_cv_lib_soname_GL=
14682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14683 conftest$ac_exeext conftest.$ac_ext
14684 LIBS=$ac_check_soname_save_LIBS
14686 if ${ac_cv_lib_soname_GL:+false} :
14687 then :
14688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14689 printf "%s\n" "not found" >&6; }
14690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
14691 printf %s "checking for -lGL... " >&6; }
14692 if test ${ac_cv_lib_soname_GL+y}
14693 then :
14694 printf %s "(cached) " >&6
14695 else $as_nop
14696 ac_check_soname_save_LIBS=$LIBS
14697 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"
14698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14699 /* end confdefs.h. */
14701 /* Override any GCC internal prototype to avoid an error.
14702 Use char because int might match the return type of a GCC
14703 builtin and then its argument prototype would still apply. */
14704 char glXCreateContext ();
14706 main (void)
14708 return glXCreateContext ();
14710 return 0;
14712 _ACEOF
14713 if ac_fn_c_try_link "$LINENO"
14714 then :
14715 case "$LIBEXT" in
14716 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14717 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'` ;;
14718 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14719 if ${ac_cv_lib_soname_GL:+false} :
14720 then :
14721 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14722 fi ;;
14723 esac
14724 else $as_nop
14725 ac_cv_lib_soname_GL=
14727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14728 conftest$ac_exeext conftest.$ac_ext
14729 LIBS=$ac_check_soname_save_LIBS
14731 if ${ac_cv_lib_soname_GL:+false} :
14732 then :
14733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14734 printf "%s\n" "not found" >&6; }
14735 if test -f /usr/X11R6/lib/libGL.a
14736 then
14737 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
14738 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
14739 else
14740 opengl_msg="No OpenGL library found on this system."
14742 else $as_nop
14743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
14744 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
14746 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
14748 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"
14750 else $as_nop
14751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
14752 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
14754 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
14756 OPENGL_LIBS="-lGL"
14758 if test "x$with_osmesa" != "xno"
14759 then
14760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
14761 printf %s "checking for -lOSMesa... " >&6; }
14762 if test ${ac_cv_lib_soname_OSMesa+y}
14763 then :
14764 printf %s "(cached) " >&6
14765 else $as_nop
14766 ac_check_soname_save_LIBS=$LIBS
14767 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
14768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14769 /* end confdefs.h. */
14771 /* Override any GCC internal prototype to avoid an error.
14772 Use char because int might match the return type of a GCC
14773 builtin and then its argument prototype would still apply. */
14774 char OSMesaGetProcAddress ();
14776 main (void)
14778 return OSMesaGetProcAddress ();
14780 return 0;
14782 _ACEOF
14783 if ac_fn_c_try_link "$LINENO"
14784 then :
14785 case "$LIBEXT" in
14786 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14787 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'` ;;
14788 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14789 if ${ac_cv_lib_soname_OSMesa:+false} :
14790 then :
14791 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14792 fi ;;
14793 esac
14794 else $as_nop
14795 ac_cv_lib_soname_OSMesa=
14797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14798 conftest$ac_exeext conftest.$ac_ext
14799 LIBS=$ac_check_soname_save_LIBS
14801 if ${ac_cv_lib_soname_OSMesa:+false} :
14802 then :
14803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14804 printf "%s\n" "not found" >&6; }
14806 else $as_nop
14807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
14808 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
14810 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
14814 if test "x$ac_cv_lib_soname_OSMesa" = "x"
14815 then :
14816 case "x$with_osmesa" in
14817 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
14818 xno) ;;
14819 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
14820 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
14821 esac
14826 if test -n "$opengl_msg"
14827 then :
14828 case "x$with_opengl" in
14829 x) as_fn_append wine_warnings "|$opengl_msg
14830 OpenGL and Direct3D won't be supported." ;;
14831 xno) ;;
14832 *) as_fn_error $? "$opengl_msg
14833 OpenGL and Direct3D won't be supported.
14834 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
14835 esac
14839 CPPFLAGS="$ac_save_CPPFLAGS"
14840 else
14841 X_CFLAGS=""
14842 X_LIBS=""
14845 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
14846 then
14847 if test "x$X_LIBS" = "x"
14848 then :
14849 case "x$with_x" in
14850 xno) ;;
14851 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
14852 without X support, which probably isn't what you want. You will need
14853 to install ${notice_platform}development packages of Xlib at the very least.
14854 Use the --without-x option if you really want this." "$LINENO" 5 ;;
14855 esac
14856 enable_winex11_drv=${enable_winex11_drv:-no}
14858 else
14859 if test "x$X_LIBS" = "x"
14860 then :
14861 case "x$with_x" in
14862 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
14863 xno) ;;
14864 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
14865 This is an error since --with-x was requested." "$LINENO" 5 ;;
14866 esac
14867 enable_winex11_drv=${enable_winex11_drv:-no}
14871 if test "$ac_cv_header_CL_cl_h" = "yes"
14872 then
14873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
14874 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
14875 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
14876 then :
14877 printf %s "(cached) " >&6
14878 else $as_nop
14879 ac_check_lib_save_LIBS=$LIBS
14880 LIBS="-lOpenCL $LIBS"
14881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14882 /* end confdefs.h. */
14884 /* Override any GCC internal prototype to avoid an error.
14885 Use char because int might match the return type of a GCC
14886 builtin and then its argument prototype would still apply. */
14887 char clGetPlatformInfo ();
14889 main (void)
14891 return clGetPlatformInfo ();
14893 return 0;
14895 _ACEOF
14896 if ac_fn_c_try_link "$LINENO"
14897 then :
14898 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
14899 else $as_nop
14900 ac_cv_lib_OpenCL_clGetPlatformInfo=no
14902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14903 conftest$ac_exeext conftest.$ac_ext
14904 LIBS=$ac_check_lib_save_LIBS
14906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
14907 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
14908 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
14909 then :
14910 OPENCL_LIBS="-lOpenCL"
14915 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
14916 then :
14917 case "x$with_opencl" in
14918 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
14919 xno) ;;
14920 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
14921 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
14922 esac
14923 enable_opencl=${enable_opencl:-no}
14926 if test "$ac_cv_header_pcap_pcap_h" = "yes"
14927 then
14928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
14929 printf %s "checking for pcap_create in -lpcap... " >&6; }
14930 if test ${ac_cv_lib_pcap_pcap_create+y}
14931 then :
14932 printf %s "(cached) " >&6
14933 else $as_nop
14934 ac_check_lib_save_LIBS=$LIBS
14935 LIBS="-lpcap $LIBS"
14936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14937 /* end confdefs.h. */
14939 /* Override any GCC internal prototype to avoid an error.
14940 Use char because int might match the return type of a GCC
14941 builtin and then its argument prototype would still apply. */
14942 char pcap_create ();
14944 main (void)
14946 return pcap_create ();
14948 return 0;
14950 _ACEOF
14951 if ac_fn_c_try_link "$LINENO"
14952 then :
14953 ac_cv_lib_pcap_pcap_create=yes
14954 else $as_nop
14955 ac_cv_lib_pcap_pcap_create=no
14957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14958 conftest$ac_exeext conftest.$ac_ext
14959 LIBS=$ac_check_lib_save_LIBS
14961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
14962 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
14963 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
14964 then :
14965 PCAP_LIBS="-lpcap"
14970 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
14971 then :
14972 case "x$with_pcap" in
14973 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
14974 xno) ;;
14975 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
14976 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
14977 esac
14978 enable_wpcap=${enable_wpcap:-no}
14981 if test "x$with_inotify" != "xno"
14982 then
14983 if ${INOTIFY_CFLAGS:+false} :
14984 then :
14985 if test ${PKG_CONFIG+y}
14986 then :
14987 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
14991 if ${INOTIFY_LIBS:+false} :
14992 then :
14993 if test ${PKG_CONFIG+y}
14994 then :
14995 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15002 ac_save_CPPFLAGS=$CPPFLAGS
15003 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15004 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15005 if test "x$ac_cv_header_sys_inotify_h" = xyes
15006 then :
15007 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15012 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15013 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15014 then :
15015 printf %s "(cached) " >&6
15016 else $as_nop
15017 ac_check_lib_save_LIBS=$LIBS
15018 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15020 /* end confdefs.h. */
15022 /* Override any GCC internal prototype to avoid an error.
15023 Use char because int might match the return type of a GCC
15024 builtin and then its argument prototype would still apply. */
15025 char inotify_add_watch ();
15027 main (void)
15029 return inotify_add_watch ();
15031 return 0;
15033 _ACEOF
15034 if ac_fn_c_try_link "$LINENO"
15035 then :
15036 ac_cv_lib_inotify_inotify_add_watch=yes
15037 else $as_nop
15038 ac_cv_lib_inotify_inotify_add_watch=no
15040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15041 conftest$ac_exeext conftest.$ac_ext
15042 LIBS=$ac_check_lib_save_LIBS
15044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15045 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15046 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15047 then :
15049 else $as_nop
15050 INOTIFY_LIBS=""
15053 CPPFLAGS=$ac_save_CPPFLAGS
15056 if test "$ac_cv_header_sys_inotify_h" != "yes"
15057 then :
15058 case "x$with_inotify" in
15059 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15060 xno) ;;
15061 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15062 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15063 esac
15067 if test "x$with_dbus" != "xno"
15068 then
15069 if ${DBUS_CFLAGS:+false} :
15070 then :
15071 if test ${PKG_CONFIG+y}
15072 then :
15073 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15077 if ${DBUS_LIBS:+false} :
15078 then :
15079 if test ${PKG_CONFIG+y}
15080 then :
15081 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15088 ac_save_CPPFLAGS=$CPPFLAGS
15089 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15090 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15091 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15092 then :
15093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15094 printf %s "checking for -ldbus-1... " >&6; }
15095 if test ${ac_cv_lib_soname_dbus_1+y}
15096 then :
15097 printf %s "(cached) " >&6
15098 else $as_nop
15099 ac_check_soname_save_LIBS=$LIBS
15100 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15102 /* end confdefs.h. */
15104 /* Override any GCC internal prototype to avoid an error.
15105 Use char because int might match the return type of a GCC
15106 builtin and then its argument prototype would still apply. */
15107 char dbus_connection_close ();
15109 main (void)
15111 return dbus_connection_close ();
15113 return 0;
15115 _ACEOF
15116 if ac_fn_c_try_link "$LINENO"
15117 then :
15118 case "$LIBEXT" in
15119 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15120 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'` ;;
15121 *) 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'`
15122 if ${ac_cv_lib_soname_dbus_1:+false} :
15123 then :
15124 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15125 fi ;;
15126 esac
15127 else $as_nop
15128 ac_cv_lib_soname_dbus_1=
15130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15131 conftest$ac_exeext conftest.$ac_ext
15132 LIBS=$ac_check_soname_save_LIBS
15134 if ${ac_cv_lib_soname_dbus_1:+false} :
15135 then :
15136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15137 printf "%s\n" "not found" >&6; }
15138 DBUS_CFLAGS=""
15139 else $as_nop
15140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15141 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15143 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15147 else $as_nop
15148 DBUS_CFLAGS=""
15151 CPPFLAGS=$ac_save_CPPFLAGS
15154 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
15155 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15156 then :
15157 case "x$with_dbus" in
15158 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15159 xno) ;;
15160 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15161 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15162 esac
15166 if test "x$with_gnutls" != "xno"
15167 then
15168 if ${GNUTLS_CFLAGS:+false} :
15169 then :
15170 if test ${PKG_CONFIG+y}
15171 then :
15172 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
15176 if ${GNUTLS_LIBS:+false} :
15177 then :
15178 if test ${PKG_CONFIG+y}
15179 then :
15180 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15184 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15187 ac_save_CPPFLAGS=$CPPFLAGS
15188 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15189 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15190 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15191 then :
15192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15193 /* end confdefs.h. */
15194 #include <gnutls/gnutls.h>
15195 #include <gnutls/crypto.h>
15197 main (void)
15199 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15201 return 0;
15203 _ACEOF
15204 if ac_fn_c_try_compile "$LINENO"
15205 then :
15206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
15207 printf %s "checking for -lgnutls... " >&6; }
15208 if test ${ac_cv_lib_soname_gnutls+y}
15209 then :
15210 printf %s "(cached) " >&6
15211 else $as_nop
15212 ac_check_soname_save_LIBS=$LIBS
15213 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
15214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15217 /* Override any GCC internal prototype to avoid an error.
15218 Use char because int might match the return type of a GCC
15219 builtin and then its argument prototype would still apply. */
15220 char gnutls_global_init ();
15222 main (void)
15224 return gnutls_global_init ();
15226 return 0;
15228 _ACEOF
15229 if ac_fn_c_try_link "$LINENO"
15230 then :
15231 case "$LIBEXT" in
15232 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15233 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'` ;;
15234 *) 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'`
15235 if ${ac_cv_lib_soname_gnutls:+false} :
15236 then :
15237 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'`
15238 fi ;;
15239 esac
15240 else $as_nop
15241 ac_cv_lib_soname_gnutls=
15243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15244 conftest$ac_exeext conftest.$ac_ext
15245 LIBS=$ac_check_soname_save_LIBS
15247 if ${ac_cv_lib_soname_gnutls:+false} :
15248 then :
15249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15250 printf "%s\n" "not found" >&6; }
15251 GNUTLS_CFLAGS=""
15252 else $as_nop
15253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
15254 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
15256 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
15260 ac_wine_check_funcs_save_LIBS="$LIBS"
15261 LIBS="$LIBS $GNUTLS_LIBS"
15263 for ac_func in gnutls_cipher_init
15264 do :
15265 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
15266 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
15267 then :
15268 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
15270 else $as_nop
15271 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
15274 done
15275 LIBS="$ac_wine_check_funcs_save_LIBS"
15277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15278 else $as_nop
15279 GNUTLS_CFLAGS=""
15282 CPPFLAGS=$ac_save_CPPFLAGS
15285 if test "x$ac_cv_lib_soname_gnutls" = "x"
15286 then :
15287 case "x$with_gnutls" in
15288 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
15289 xno) ;;
15290 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
15291 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
15292 esac
15296 if test "x$with_sane" != "xno"
15297 then
15298 if ${SANE_CFLAGS:+false} :
15299 then :
15300 if test ${PKG_CONFIG+y}
15301 then :
15302 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
15305 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
15306 if ${SANE_LIBS:+false} :
15307 then :
15308 if test ${PKG_CONFIG+y}
15309 then :
15310 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
15313 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
15315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
15316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
15317 ac_save_CPPFLAGS=$CPPFLAGS
15318 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
15319 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
15320 if test "x$ac_cv_header_sane_sane_h" = xyes
15321 then :
15322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
15323 printf %s "checking for sane_init in -lsane... " >&6; }
15324 if test ${ac_cv_lib_sane_sane_init+y}
15325 then :
15326 printf %s "(cached) " >&6
15327 else $as_nop
15328 ac_check_lib_save_LIBS=$LIBS
15329 LIBS="-lsane $SANE_LIBS $LIBS"
15330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15331 /* end confdefs.h. */
15333 /* Override any GCC internal prototype to avoid an error.
15334 Use char because int might match the return type of a GCC
15335 builtin and then its argument prototype would still apply. */
15336 char sane_init ();
15338 main (void)
15340 return sane_init ();
15342 return 0;
15344 _ACEOF
15345 if ac_fn_c_try_link "$LINENO"
15346 then :
15347 ac_cv_lib_sane_sane_init=yes
15348 else $as_nop
15349 ac_cv_lib_sane_sane_init=no
15351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15352 conftest$ac_exeext conftest.$ac_ext
15353 LIBS=$ac_check_lib_save_LIBS
15355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
15356 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
15357 if test "x$ac_cv_lib_sane_sane_init" = xyes
15358 then :
15364 CPPFLAGS=$ac_save_CPPFLAGS
15367 if test "$ac_cv_lib_sane_sane_init" != "yes"
15368 then :
15369 case "x$with_sane" in
15370 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
15371 xno) ;;
15372 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
15373 This is an error since --with-sane was requested." "$LINENO" 5 ;;
15374 esac
15375 enable_sane_ds=${enable_sane_ds:-no}
15378 if test "x$with_usb" != "xno"
15379 then
15380 if ${USB_CFLAGS:+false} :
15381 then :
15382 if test ${PKG_CONFIG+y}
15383 then :
15384 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
15388 if ${USB_LIBS:+false} :
15389 then :
15390 if test ${PKG_CONFIG+y}
15391 then :
15392 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
15396 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
15397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
15398 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
15399 ac_save_CPPFLAGS=$CPPFLAGS
15400 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
15401 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
15402 if test "x$ac_cv_header_libusb_h" = xyes
15403 then :
15404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
15405 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
15406 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
15407 then :
15408 printf %s "(cached) " >&6
15409 else $as_nop
15410 ac_check_lib_save_LIBS=$LIBS
15411 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
15412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15413 /* end confdefs.h. */
15415 /* Override any GCC internal prototype to avoid an error.
15416 Use char because int might match the return type of a GCC
15417 builtin and then its argument prototype would still apply. */
15418 char libusb_interrupt_event_handler ();
15420 main (void)
15422 return libusb_interrupt_event_handler ();
15424 return 0;
15426 _ACEOF
15427 if ac_fn_c_try_link "$LINENO"
15428 then :
15429 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
15430 else $as_nop
15431 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
15433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15434 conftest$ac_exeext conftest.$ac_ext
15435 LIBS=$ac_check_lib_save_LIBS
15437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
15438 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
15439 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
15440 then :
15442 else $as_nop
15443 USB_LIBS=""
15446 else $as_nop
15447 USB_LIBS=""
15450 CPPFLAGS=$ac_save_CPPFLAGS
15453 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
15454 then :
15455 case "x$with_usb" in
15456 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
15457 xno) ;;
15458 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
15459 This is an error since --with-usb was requested." "$LINENO" 5 ;;
15460 esac
15461 enable_wineusb_sys=${enable_wineusb_sys:-no}
15464 if test "x$with_v4l2" != "xno"
15465 then
15466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
15467 printf %s "checking for -lv4l2... " >&6; }
15468 if test ${ac_cv_lib_soname_v4l2+y}
15469 then :
15470 printf %s "(cached) " >&6
15471 else $as_nop
15472 ac_check_soname_save_LIBS=$LIBS
15473 LIBS="-lv4l2 $LIBS"
15474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15475 /* end confdefs.h. */
15477 /* Override any GCC internal prototype to avoid an error.
15478 Use char because int might match the return type of a GCC
15479 builtin and then its argument prototype would still apply. */
15480 char v4l2_open ();
15482 main (void)
15484 return v4l2_open ();
15486 return 0;
15488 _ACEOF
15489 if ac_fn_c_try_link "$LINENO"
15490 then :
15491 case "$LIBEXT" in
15492 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15493 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'` ;;
15494 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15495 if ${ac_cv_lib_soname_v4l2:+false} :
15496 then :
15497 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15498 fi ;;
15499 esac
15500 else $as_nop
15501 ac_cv_lib_soname_v4l2=
15503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15504 conftest$ac_exeext conftest.$ac_ext
15505 LIBS=$ac_check_soname_save_LIBS
15507 if ${ac_cv_lib_soname_v4l2:+false} :
15508 then :
15509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15510 printf "%s\n" "not found" >&6; }
15512 else $as_nop
15513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
15514 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
15516 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
15521 if test "x$ac_cv_lib_soname_v4l2" = "x"
15522 then :
15523 case "x$with_v4l2" in
15524 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
15525 xno) ;;
15526 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
15527 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
15528 esac
15532 if test "x$with_gphoto" != "xno"
15533 then
15534 if ${GPHOTO2_CFLAGS:+false} :
15535 then :
15536 if test ${PKG_CONFIG+y}
15537 then :
15538 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
15541 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
15542 if ${GPHOTO2_LIBS:+false} :
15543 then :
15544 if test ${PKG_CONFIG+y}
15545 then :
15546 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
15549 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
15550 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
15551 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
15552 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
15553 ac_save_CPPFLAGS=$CPPFLAGS
15554 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
15555 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
15556 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
15557 then :
15558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
15559 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
15560 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
15561 then :
15562 printf %s "(cached) " >&6
15563 else $as_nop
15564 ac_check_lib_save_LIBS=$LIBS
15565 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
15566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15567 /* end confdefs.h. */
15569 /* Override any GCC internal prototype to avoid an error.
15570 Use char because int might match the return type of a GCC
15571 builtin and then its argument prototype would still apply. */
15572 char gp_camera_new ();
15574 main (void)
15576 return gp_camera_new ();
15578 return 0;
15580 _ACEOF
15581 if ac_fn_c_try_link "$LINENO"
15582 then :
15583 ac_cv_lib_gphoto2_gp_camera_new=yes
15584 else $as_nop
15585 ac_cv_lib_gphoto2_gp_camera_new=no
15587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15588 conftest$ac_exeext conftest.$ac_ext
15589 LIBS=$ac_check_lib_save_LIBS
15591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
15592 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
15593 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
15594 then :
15600 CPPFLAGS=$ac_save_CPPFLAGS
15602 if ${GPHOTO2_PORT_CFLAGS:+false} :
15603 then :
15604 if test ${PKG_CONFIG+y}
15605 then :
15606 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
15609 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
15610 if ${GPHOTO2_PORT_LIBS:+false} :
15611 then :
15612 if test ${PKG_CONFIG+y}
15613 then :
15614 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
15617 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
15618 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
15619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
15620 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
15621 ac_save_CPPFLAGS=$CPPFLAGS
15622 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
15623 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
15624 if test "x$ac_cv_header_gphoto2_port_h" = xyes
15625 then :
15626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
15627 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
15628 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
15629 then :
15630 printf %s "(cached) " >&6
15631 else $as_nop
15632 ac_check_lib_save_LIBS=$LIBS
15633 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
15634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15635 /* end confdefs.h. */
15637 /* Override any GCC internal prototype to avoid an error.
15638 Use char because int might match the return type of a GCC
15639 builtin and then its argument prototype would still apply. */
15640 char gp_port_info_list_new ();
15642 main (void)
15644 return gp_port_info_list_new ();
15646 return 0;
15648 _ACEOF
15649 if ac_fn_c_try_link "$LINENO"
15650 then :
15651 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
15652 else $as_nop
15653 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
15655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15656 conftest$ac_exeext conftest.$ac_ext
15657 LIBS=$ac_check_lib_save_LIBS
15659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
15660 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
15661 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
15662 then :
15664 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
15666 else $as_nop
15667 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
15670 else $as_nop
15671 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
15674 CPPFLAGS=$ac_save_CPPFLAGS
15677 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
15678 then :
15679 case "x$with_gphoto" in
15680 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
15681 xno) ;;
15682 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
15683 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
15684 esac
15685 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
15687 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
15688 then :
15689 case "x$with_gphoto" in
15690 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
15691 xno) ;;
15692 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
15693 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
15694 esac
15699 if test "$ac_cv_header_resolv_h" = "yes"
15700 then
15701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
15702 printf %s "checking for resolver library... " >&6; }
15703 if test ${ac_cv_have_resolv+y}
15704 then :
15705 printf %s "(cached) " >&6
15706 else $as_nop
15707 ac_save_LIBS="$LIBS"
15708 for lib in '' -lresolv
15710 LIBS="$lib $ac_save_LIBS"
15711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15712 /* end confdefs.h. */
15713 #ifdef HAVE_NETINET_IN_H
15714 #include <netinet/in.h>
15715 #endif
15716 #include <resolv.h>
15718 main (void)
15720 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
15722 return 0;
15724 _ACEOF
15725 if ac_fn_c_try_link "$LINENO"
15726 then :
15727 ac_cv_have_resolv=${lib:-"none required"}
15728 else $as_nop
15729 ac_cv_have_resolv="not found"
15731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15732 conftest$ac_exeext conftest.$ac_ext
15733 test "x$ac_cv_have_resolv" = "xnot found" || break
15734 done
15735 LIBS="$ac_save_LIBS"
15737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
15738 printf "%s\n" "$ac_cv_have_resolv" >&6; }
15740 case "$ac_cv_have_resolv" in
15741 "not found") ;;
15742 "none required")
15744 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
15747 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
15749 RESOLV_LIBS=$ac_cv_have_resolv
15751 esac
15753 if test "x$ac_cv_have_resolv" != "xnot found"
15754 then
15755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
15756 printf %s "checking for res_getservers... " >&6; }
15757 if test ${ac_cv_have_res_getservers+y}
15758 then :
15759 printf %s "(cached) " >&6
15760 else $as_nop
15761 ac_save_LIBS="$LIBS"
15762 LIBS="$RESOLV_LIBS $LIBS"
15763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15764 /* end confdefs.h. */
15765 #include <resolv.h>
15767 main (void)
15769 res_getservers(NULL, NULL, 0);
15771 return 0;
15773 _ACEOF
15774 if ac_fn_c_try_link "$LINENO"
15775 then :
15776 ac_cv_have_res_getservers=yes
15777 else $as_nop
15778 ac_cv_have_res_getservers=no
15780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15781 conftest$ac_exeext conftest.$ac_ext
15782 LIBS="$ac_save_LIBS"
15784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
15785 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
15786 if test "$ac_cv_have_res_getservers" = "yes"
15787 then
15789 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
15795 if test "x$with_freetype" != "xno"
15796 then
15797 if ${FREETYPE_CFLAGS:+false} :
15798 then :
15799 if test ${PKG_CONFIG+y}
15800 then :
15801 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
15804 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
15805 if ${FREETYPE_LIBS:+false} :
15806 then :
15807 if test ${PKG_CONFIG+y}
15808 then :
15809 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
15812 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
15813 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
15814 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
15815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
15816 ac_save_CPPFLAGS=$CPPFLAGS
15817 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
15818 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
15819 if test "x$ac_cv_header_ft2build_h" = xyes
15820 then :
15821 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
15825 if test "$ac_cv_header_ft2build_h" = "yes"
15826 then
15827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
15828 printf %s "checking for -lfreetype... " >&6; }
15829 if test ${ac_cv_lib_soname_freetype+y}
15830 then :
15831 printf %s "(cached) " >&6
15832 else $as_nop
15833 ac_check_soname_save_LIBS=$LIBS
15834 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
15835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15836 /* end confdefs.h. */
15838 /* Override any GCC internal prototype to avoid an error.
15839 Use char because int might match the return type of a GCC
15840 builtin and then its argument prototype would still apply. */
15841 char FT_Init_FreeType ();
15843 main (void)
15845 return FT_Init_FreeType ();
15847 return 0;
15849 _ACEOF
15850 if ac_fn_c_try_link "$LINENO"
15851 then :
15852 case "$LIBEXT" in
15853 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15854 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'` ;;
15855 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15856 if ${ac_cv_lib_soname_freetype:+false} :
15857 then :
15858 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15859 fi ;;
15860 esac
15861 else $as_nop
15862 ac_cv_lib_soname_freetype=
15864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15865 conftest$ac_exeext conftest.$ac_ext
15866 LIBS=$ac_check_soname_save_LIBS
15868 if ${ac_cv_lib_soname_freetype:+false} :
15869 then :
15870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15871 printf "%s\n" "not found" >&6; }
15872 FREETYPE_LIBS=""
15873 else $as_nop
15874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
15875 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
15877 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
15880 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
15882 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
15883 #include FT_MODULE_H
15885 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
15886 then :
15888 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
15894 else
15895 FREETYPE_CFLAGS=""
15896 FREETYPE_LIBS=""
15898 CPPFLAGS=$ac_save_CPPFLAGS
15901 if test "x$ac_cv_lib_soname_freetype" = x
15902 then :
15903 case "x$with_freetype" in
15904 xno) ;;
15905 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
15906 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
15907 esac
15908 enable_fonts=${enable_fonts:-no}
15911 ac_wine_check_funcs_save_LIBS="$LIBS"
15912 LIBS="$LIBS $PTHREAD_LIBS"
15913 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
15914 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
15915 then :
15916 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
15920 LIBS="$ac_wine_check_funcs_save_LIBS"
15922 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
15923 then
15924 if test "$ac_cv_header_gettext_po_h" = "yes"
15925 then
15926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
15927 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
15928 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
15929 then :
15930 printf %s "(cached) " >&6
15931 else $as_nop
15932 ac_check_lib_save_LIBS=$LIBS
15933 LIBS="-lgettextpo $LIBS"
15934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15935 /* end confdefs.h. */
15937 /* Override any GCC internal prototype to avoid an error.
15938 Use char because int might match the return type of a GCC
15939 builtin and then its argument prototype would still apply. */
15940 char po_message_msgctxt ();
15942 main (void)
15944 return po_message_msgctxt ();
15946 return 0;
15948 _ACEOF
15949 if ac_fn_c_try_link "$LINENO"
15950 then :
15951 ac_cv_lib_gettextpo_po_message_msgctxt=yes
15952 else $as_nop
15953 ac_cv_lib_gettextpo_po_message_msgctxt=no
15955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15956 conftest$ac_exeext conftest.$ac_ext
15957 LIBS=$ac_check_lib_save_LIBS
15959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
15960 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
15961 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
15962 then :
15964 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
15966 GETTEXTPO_LIBS="-lgettextpo"
15971 if test "x$GETTEXTPO_LIBS" = "x"
15972 then :
15973 case "x$with_gettextpo" in
15974 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
15975 xno) ;;
15976 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
15977 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
15978 esac
15981 if test "$srcdir" != .
15982 then :
15983 case "x$with_gettextpo" in
15984 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
15985 xno) ;;
15986 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
15987 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
15988 esac
15993 if test "x$with_pulse" != "xno";
15994 then
15995 if ${PULSE_CFLAGS:+false} :
15996 then :
15997 if test ${PKG_CONFIG+y}
15998 then :
15999 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16003 if ${PULSE_LIBS:+false} :
16004 then :
16005 if test ${PKG_CONFIG+y}
16006 then :
16007 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16014 ac_save_CPPFLAGS=$CPPFLAGS
16015 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16016 for ac_header in pulse/pulseaudio.h
16017 do :
16018 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16019 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16020 then :
16021 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16023 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16024 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16025 then :
16026 printf %s "(cached) " >&6
16027 else $as_nop
16028 ac_check_lib_save_LIBS=$LIBS
16029 LIBS="-lpulse $PULSE_LIBS $LIBS"
16030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16031 /* end confdefs.h. */
16033 /* Override any GCC internal prototype to avoid an error.
16034 Use char because int might match the return type of a GCC
16035 builtin and then its argument prototype would still apply. */
16036 char pa_stream_is_corked ();
16038 main (void)
16040 return pa_stream_is_corked ();
16042 return 0;
16044 _ACEOF
16045 if ac_fn_c_try_link "$LINENO"
16046 then :
16047 ac_cv_lib_pulse_pa_stream_is_corked=yes
16048 else $as_nop
16049 ac_cv_lib_pulse_pa_stream_is_corked=no
16051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16052 conftest$ac_exeext conftest.$ac_ext
16053 LIBS=$ac_check_lib_save_LIBS
16055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16056 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16057 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16058 then :
16060 else $as_nop
16061 PULSE_LIBS=""
16064 else $as_nop
16065 PULSE_LIBS=""
16068 done
16069 CPPFLAGS=$ac_save_CPPFLAGS
16072 if test -z "$PULSE_LIBS"
16073 then :
16074 case "x$with_pulse" in
16075 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16076 xno) ;;
16077 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16078 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16079 esac
16080 enable_winepulse_drv=${enable_winepulse_drv:-no}
16083 if test "x$with_gstreamer" != "xno"
16084 then
16085 if ${GSTREAMER_CFLAGS:+false} :
16086 then :
16087 if test ${PKG_CONFIG+y}
16088 then :
16089 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16093 if ${GSTREAMER_LIBS:+false} :
16094 then :
16095 if test ${PKG_CONFIG+y}
16096 then :
16097 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16103 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16104 ac_save_CPPFLAGS=$CPPFLAGS
16105 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16106 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16107 if test "x$ac_cv_header_gst_gst_h" = xyes
16108 then :
16109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16110 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16112 /* end confdefs.h. */
16113 #include <gst/gst.h>
16115 main (void)
16117 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16119 return 0;
16121 _ACEOF
16122 if ac_fn_c_try_compile "$LINENO"
16123 then :
16124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16125 printf "%s\n" "yes" >&6; }
16126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16127 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16128 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16129 then :
16130 printf %s "(cached) " >&6
16131 else $as_nop
16132 ac_check_lib_save_LIBS=$LIBS
16133 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16135 /* end confdefs.h. */
16137 /* Override any GCC internal prototype to avoid an error.
16138 Use char because int might match the return type of a GCC
16139 builtin and then its argument prototype would still apply. */
16140 char gst_pad_new ();
16142 main (void)
16144 return gst_pad_new ();
16146 return 0;
16148 _ACEOF
16149 if ac_fn_c_try_link "$LINENO"
16150 then :
16151 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16152 else $as_nop
16153 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16156 conftest$ac_exeext conftest.$ac_ext
16157 LIBS=$ac_check_lib_save_LIBS
16159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16160 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16161 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16162 then :
16166 else $as_nop
16167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16168 printf "%s\n" "no" >&6; }
16169 ac_glib2_broken=yes
16170 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
16172 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16175 CPPFLAGS=$ac_save_CPPFLAGS
16178 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
16179 then
16180 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
16181 then :
16182 case "x$with_gstreamer" in
16183 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
16184 xno) ;;
16185 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
16186 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
16187 esac
16191 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
16193 ALSA_LIBS=""
16195 if test "x$with_alsa" != "xno"
16196 then
16197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
16198 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
16199 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
16200 then :
16201 printf %s "(cached) " >&6
16202 else $as_nop
16203 ac_check_lib_save_LIBS=$LIBS
16204 LIBS="-lasound $LIBS"
16205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16206 /* end confdefs.h. */
16208 /* Override any GCC internal prototype to avoid an error.
16209 Use char because int might match the return type of a GCC
16210 builtin and then its argument prototype would still apply. */
16211 char snd_pcm_hw_params_get_access_mask ();
16213 main (void)
16215 return snd_pcm_hw_params_get_access_mask ();
16217 return 0;
16219 _ACEOF
16220 if ac_fn_c_try_link "$LINENO"
16221 then :
16222 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
16223 else $as_nop
16224 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
16226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16227 conftest$ac_exeext conftest.$ac_ext
16228 LIBS=$ac_check_lib_save_LIBS
16230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
16231 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
16232 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
16233 then :
16234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16235 /* end confdefs.h. */
16236 #include <alsa/asoundlib.h>
16238 main (void)
16240 snd_pcm_hw_params_get_access_mask(NULL, NULL)
16242 return 0;
16244 _ACEOF
16245 if ac_fn_c_try_compile "$LINENO"
16246 then :
16247 ALSA_LIBS="-lasound"
16249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16253 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
16255 if test "x$with_oss" != xno
16256 then
16257 ac_save_CPPFLAGS="$CPPFLAGS"
16258 if test -f /etc/oss.conf
16259 then
16260 . /etc/oss.conf
16262 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
16263 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
16264 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
16265 if test "x$ac_cv_header_sys_soundcard_h" = xyes
16266 then :
16267 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
16269 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
16270 then :
16272 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
16274 OSS4_CFLAGS="$ac_oss_incl"
16276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
16277 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
16278 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
16279 then :
16280 printf %s "(cached) " >&6
16281 else $as_nop
16282 ac_check_lib_save_LIBS=$LIBS
16283 LIBS="-lossaudio $LIBS"
16284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16285 /* end confdefs.h. */
16287 /* Override any GCC internal prototype to avoid an error.
16288 Use char because int might match the return type of a GCC
16289 builtin and then its argument prototype would still apply. */
16290 char _oss_ioctl ();
16292 main (void)
16294 return _oss_ioctl ();
16296 return 0;
16298 _ACEOF
16299 if ac_fn_c_try_link "$LINENO"
16300 then :
16301 ac_cv_lib_ossaudio__oss_ioctl=yes
16302 else $as_nop
16303 ac_cv_lib_ossaudio__oss_ioctl=no
16305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16306 conftest$ac_exeext conftest.$ac_ext
16307 LIBS=$ac_check_lib_save_LIBS
16309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
16310 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
16311 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
16312 then :
16313 OSS4_LIBS="-lossaudio"
16321 CPPFLAGS="$ac_save_CPPFLAGS"
16323 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
16324 then :
16325 case "x$with_oss" in
16326 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
16327 xno) ;;
16328 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
16329 This is an error since --with-oss was requested." "$LINENO" 5 ;;
16330 esac
16331 enable_wineoss_drv=${enable_wineoss_drv:-no}
16334 if test "x$with_udev" != "xno"
16335 then
16336 if ${UDEV_CFLAGS:+false} :
16337 then :
16338 if test ${PKG_CONFIG+y}
16339 then :
16340 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
16344 if ${UDEV_LIBS:+false} :
16345 then :
16346 if test ${PKG_CONFIG+y}
16347 then :
16348 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
16352 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
16353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
16354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
16355 ac_save_CPPFLAGS=$CPPFLAGS
16356 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
16357 for ac_header in libudev.h
16358 do :
16359 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
16360 if test "x$ac_cv_header_libudev_h" = xyes
16361 then :
16362 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
16363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
16364 printf %s "checking for udev_new in -ludev... " >&6; }
16365 if test ${ac_cv_lib_udev_udev_new+y}
16366 then :
16367 printf %s "(cached) " >&6
16368 else $as_nop
16369 ac_check_lib_save_LIBS=$LIBS
16370 LIBS="-ludev $UDEV_LIBS $LIBS"
16371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16372 /* end confdefs.h. */
16374 /* Override any GCC internal prototype to avoid an error.
16375 Use char because int might match the return type of a GCC
16376 builtin and then its argument prototype would still apply. */
16377 char udev_new ();
16379 main (void)
16381 return udev_new ();
16383 return 0;
16385 _ACEOF
16386 if ac_fn_c_try_link "$LINENO"
16387 then :
16388 ac_cv_lib_udev_udev_new=yes
16389 else $as_nop
16390 ac_cv_lib_udev_udev_new=no
16392 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16393 conftest$ac_exeext conftest.$ac_ext
16394 LIBS=$ac_check_lib_save_LIBS
16396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
16397 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
16398 if test "x$ac_cv_lib_udev_udev_new" = xyes
16399 then :
16401 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
16403 else $as_nop
16404 UDEV_LIBS=""
16407 else $as_nop
16408 UDEV_LIBS=""
16411 done
16412 CPPFLAGS=$ac_save_CPPFLAGS
16415 if test "x$UDEV_LIBS" = "x"
16416 then :
16417 case "x$with_udev" in
16418 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
16419 xno) ;;
16420 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
16421 This is an error since --with-udev was requested." "$LINENO" 5 ;;
16422 esac
16426 if test "x$with_unwind" != xno
16427 then
16428 if ${UNWIND_CFLAGS:+false} :
16429 then :
16430 if test ${PKG_CONFIG+y}
16431 then :
16432 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
16436 if ${UNWIND_LIBS:+false} :
16437 then :
16438 if test ${PKG_CONFIG+y}
16439 then :
16440 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
16444 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
16445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
16446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
16447 ac_save_CPPFLAGS=$CPPFLAGS
16448 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
16449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
16450 printf %s "checking for unw_step... " >&6; }
16451 if test ${wine_cv_have_unw_step+y}
16452 then :
16453 printf %s "(cached) " >&6
16454 else $as_nop
16455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16456 /* end confdefs.h. */
16457 #define UNW_LOCAL_ONLY
16458 #include <libunwind.h>
16460 main (void)
16462 unw_cursor_t cursor; unw_step( &cursor );
16464 return 0;
16466 _ACEOF
16467 if ac_fn_c_try_link "$LINENO"
16468 then :
16469 wine_cv_have_unw_step="yes"
16470 else $as_nop
16471 wine_cv_have_unw_step="no"
16473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16474 conftest$ac_exeext conftest.$ac_ext
16476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
16477 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
16478 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
16479 then
16480 save_libs=$LIBS
16481 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
16482 LIBS="$UNWIND_LIBS $LIBS"
16483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
16484 printf %s "checking for unw_step in libunwind... " >&6; }
16485 if test ${wine_cv_have_libunwind_unw_step+y}
16486 then :
16487 printf %s "(cached) " >&6
16488 else $as_nop
16489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16490 /* end confdefs.h. */
16491 #define UNW_LOCAL_ONLY
16492 #include <libunwind.h>
16494 main (void)
16496 unw_cursor_t cursor; unw_step( &cursor );
16498 return 0;
16500 _ACEOF
16501 if ac_fn_c_try_link "$LINENO"
16502 then :
16503 wine_cv_have_libunwind_unw_step="yes"
16504 else $as_nop
16505 wine_cv_have_libunwind_unw_step="no"
16507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16508 conftest$ac_exeext conftest.$ac_ext
16510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
16511 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
16512 LIBS=$save_libs
16514 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
16515 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
16516 then
16518 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
16521 CPPFLAGS=$ac_save_CPPFLAGS
16524 case $host in
16525 aarch64*|*-darwin*)
16526 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
16527 then :
16528 case "x$with_unwind" in
16529 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
16530 xno) ;;
16531 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
16532 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
16533 esac
16535 fi ;;
16536 esac
16538 if test "x$with_sdl" != "xno"
16539 then
16540 if ${SDL2_CFLAGS:+false} :
16541 then :
16542 if test ${PKG_CONFIG+y}
16543 then :
16544 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
16548 if ${SDL2_LIBS:+false} :
16549 then :
16550 if test ${PKG_CONFIG+y}
16551 then :
16552 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
16556 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
16557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
16558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
16559 ac_save_CPPFLAGS=$CPPFLAGS
16560 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
16561 for ac_header in SDL.h
16562 do :
16563 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
16564 if test "x$ac_cv_header_SDL_h" = xyes
16565 then :
16566 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
16567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
16568 printf %s "checking for -lSDL2... " >&6; }
16569 if test ${ac_cv_lib_soname_SDL2+y}
16570 then :
16571 printf %s "(cached) " >&6
16572 else $as_nop
16573 ac_check_soname_save_LIBS=$LIBS
16574 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
16575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16576 /* end confdefs.h. */
16578 /* Override any GCC internal prototype to avoid an error.
16579 Use char because int might match the return type of a GCC
16580 builtin and then its argument prototype would still apply. */
16581 char SDL_Init ();
16583 main (void)
16585 return SDL_Init ();
16587 return 0;
16589 _ACEOF
16590 if ac_fn_c_try_link "$LINENO"
16591 then :
16592 case "$LIBEXT" in
16593 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16594 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'` ;;
16595 *) 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'`
16596 if ${ac_cv_lib_soname_SDL2:+false} :
16597 then :
16598 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16599 fi ;;
16600 esac
16601 else $as_nop
16602 ac_cv_lib_soname_SDL2=
16604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16605 conftest$ac_exeext conftest.$ac_ext
16606 LIBS=$ac_check_soname_save_LIBS
16608 if ${ac_cv_lib_soname_SDL2:+false} :
16609 then :
16610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16611 printf "%s\n" "not found" >&6; }
16613 else $as_nop
16614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
16615 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
16617 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
16623 done
16624 CPPFLAGS=$ac_save_CPPFLAGS
16627 if test "x$ac_cv_lib_soname_SDL2" = "x"
16628 then :
16629 case "x$with_sdl" in
16630 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
16631 xno) ;;
16632 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
16633 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
16634 esac
16638 if test "x$with_capi" != "xno"
16639 then
16640 if ${CAPI20_CFLAGS:+false} :
16641 then :
16642 if test ${PKG_CONFIG+y}
16643 then :
16644 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
16648 if ${CAPI20_LIBS:+false} :
16649 then :
16650 if test ${PKG_CONFIG+y}
16651 then :
16652 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
16657 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
16658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
16659 ac_save_CPPFLAGS=$CPPFLAGS
16660 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
16661 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
16663 if test "x$ac_cv_header_capi20_h" = xyes
16664 then :
16665 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
16668 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
16670 if test "x$ac_cv_header_linux_capi_h" = xyes
16671 then :
16672 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
16676 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
16677 then
16678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
16679 printf %s "checking for capi20_register in -lcapi20... " >&6; }
16680 if test ${ac_cv_lib_capi20_capi20_register+y}
16681 then :
16682 printf %s "(cached) " >&6
16683 else $as_nop
16684 ac_check_lib_save_LIBS=$LIBS
16685 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
16686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16687 /* end confdefs.h. */
16689 /* Override any GCC internal prototype to avoid an error.
16690 Use char because int might match the return type of a GCC
16691 builtin and then its argument prototype would still apply. */
16692 char capi20_register ();
16694 main (void)
16696 return capi20_register ();
16698 return 0;
16700 _ACEOF
16701 if ac_fn_c_try_link "$LINENO"
16702 then :
16703 ac_cv_lib_capi20_capi20_register=yes
16704 else $as_nop
16705 ac_cv_lib_capi20_capi20_register=no
16707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16708 conftest$ac_exeext conftest.$ac_ext
16709 LIBS=$ac_check_lib_save_LIBS
16711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
16712 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
16713 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
16714 then :
16716 else $as_nop
16717 CAPI20_LIBS=""
16721 CPPFLAGS=$ac_save_CPPFLAGS
16724 if test "x$ac_cv_lib_capi20_capi20_register" = "x"
16725 then :
16726 case "x$with_capi" in
16727 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
16728 xno) ;;
16729 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
16730 This is an error since --with-capi was requested." "$LINENO" 5 ;;
16731 esac
16732 enable_capi2032=${enable_capi2032:-no}
16735 if test "x$with_cups" != "xno"
16736 then
16737 if ${CUPS_CFLAGS:+false} :
16738 then :
16739 if test ${PKG_CONFIG+y}
16740 then :
16741 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
16744 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
16745 if ${CUPS_LIBS:+false} :
16746 then :
16747 if test ${PKG_CONFIG+y}
16748 then :
16749 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
16752 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
16753 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
16754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
16755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
16756 ac_save_CPPFLAGS=$CPPFLAGS
16757 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
16758 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
16759 if test "x$ac_cv_header_cups_cups_h" = xyes
16760 then :
16761 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
16764 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
16765 if test "x$ac_cv_header_cups_ppd_h" = xyes
16766 then :
16767 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
16771 if test "$ac_cv_header_cups_cups_h" = "yes"
16772 then
16773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
16774 printf %s "checking for -lcups... " >&6; }
16775 if test ${ac_cv_lib_soname_cups+y}
16776 then :
16777 printf %s "(cached) " >&6
16778 else $as_nop
16779 ac_check_soname_save_LIBS=$LIBS
16780 LIBS="-lcups $CUPS_LIBS $LIBS"
16781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16782 /* end confdefs.h. */
16784 /* Override any GCC internal prototype to avoid an error.
16785 Use char because int might match the return type of a GCC
16786 builtin and then its argument prototype would still apply. */
16787 char cupsGetDefault ();
16789 main (void)
16791 return cupsGetDefault ();
16793 return 0;
16795 _ACEOF
16796 if ac_fn_c_try_link "$LINENO"
16797 then :
16798 case "$LIBEXT" in
16799 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16800 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'` ;;
16801 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16802 if ${ac_cv_lib_soname_cups:+false} :
16803 then :
16804 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16805 fi ;;
16806 esac
16807 else $as_nop
16808 ac_cv_lib_soname_cups=
16810 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16811 conftest$ac_exeext conftest.$ac_ext
16812 LIBS=$ac_check_soname_save_LIBS
16814 if ${ac_cv_lib_soname_cups:+false} :
16815 then :
16816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16817 printf "%s\n" "not found" >&6; }
16818 CUPS_LIBS=""
16819 else $as_nop
16820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
16821 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
16823 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
16827 else
16828 CUPS_CFLAGS=""
16829 CUPS_LIBS=""
16831 CPPFLAGS=$ac_save_CPPFLAGS
16834 if test "x$ac_cv_lib_soname_cups" = "x"
16835 then :
16836 case "x$with_cups" in
16837 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
16838 xno) ;;
16839 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
16840 This is an error since --with-cups was requested." "$LINENO" 5 ;;
16841 esac
16845 if test "x$with_fontconfig" != "xno"
16846 then
16847 if ${FONTCONFIG_CFLAGS:+false} :
16848 then :
16849 if test ${PKG_CONFIG+y}
16850 then :
16851 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
16854 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
16855 if ${FONTCONFIG_LIBS:+false} :
16856 then :
16857 if test ${PKG_CONFIG+y}
16858 then :
16859 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
16862 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
16864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
16865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
16866 ac_save_CPPFLAGS=$CPPFLAGS
16867 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
16868 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
16869 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
16870 then :
16871 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
16875 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
16876 then
16877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
16878 printf %s "checking for -lfontconfig... " >&6; }
16879 if test ${ac_cv_lib_soname_fontconfig+y}
16880 then :
16881 printf %s "(cached) " >&6
16882 else $as_nop
16883 ac_check_soname_save_LIBS=$LIBS
16884 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
16885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16886 /* end confdefs.h. */
16888 /* Override any GCC internal prototype to avoid an error.
16889 Use char because int might match the return type of a GCC
16890 builtin and then its argument prototype would still apply. */
16891 char FcInit ();
16893 main (void)
16895 return FcInit ();
16897 return 0;
16899 _ACEOF
16900 if ac_fn_c_try_link "$LINENO"
16901 then :
16902 case "$LIBEXT" in
16903 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16904 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'` ;;
16905 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16906 if ${ac_cv_lib_soname_fontconfig:+false} :
16907 then :
16908 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16909 fi ;;
16910 esac
16911 else $as_nop
16912 ac_cv_lib_soname_fontconfig=
16914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16915 conftest$ac_exeext conftest.$ac_ext
16916 LIBS=$ac_check_soname_save_LIBS
16918 if ${ac_cv_lib_soname_fontconfig:+false} :
16919 then :
16920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16921 printf "%s\n" "not found" >&6; }
16922 FONTCONFIG_CFLAGS=""
16923 else $as_nop
16924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
16925 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
16927 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
16931 else
16932 FONTCONFIG_CFLAGS=""
16934 CPPFLAGS=$ac_save_CPPFLAGS
16937 if test "x$ac_cv_lib_soname_fontconfig" = "x"
16938 then :
16939 case "x$with_fontconfig" in
16940 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
16941 xno) ;;
16942 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
16943 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
16944 esac
16948 if test "x$with_krb5" != "xno"
16949 then
16950 if ${KRB5_CFLAGS:+false} :
16951 then :
16952 if test ${PKG_CONFIG+y}
16953 then :
16954 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
16957 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
16958 if ${KRB5_LIBS:+false} :
16959 then :
16960 if test ${PKG_CONFIG+y}
16961 then :
16962 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
16965 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
16967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
16968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
16969 ac_save_CPPFLAGS=$CPPFLAGS
16970 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
16971 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
16972 if test "x$ac_cv_header_krb5_krb5_h" = xyes
16973 then :
16974 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
16978 if test "$ac_cv_header_krb5_krb5_h" = "yes"
16979 then
16980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
16981 printf %s "checking for -lkrb5... " >&6; }
16982 if test ${ac_cv_lib_soname_krb5+y}
16983 then :
16984 printf %s "(cached) " >&6
16985 else $as_nop
16986 ac_check_soname_save_LIBS=$LIBS
16987 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16991 /* Override any GCC internal prototype to avoid an error.
16992 Use char because int might match the return type of a GCC
16993 builtin and then its argument prototype would still apply. */
16994 char krb5_is_config_principal ();
16996 main (void)
16998 return krb5_is_config_principal ();
17000 return 0;
17002 _ACEOF
17003 if ac_fn_c_try_link "$LINENO"
17004 then :
17005 case "$LIBEXT" in
17006 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17007 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'` ;;
17008 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17009 if ${ac_cv_lib_soname_krb5:+false} :
17010 then :
17011 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17012 fi ;;
17013 esac
17014 else $as_nop
17015 ac_cv_lib_soname_krb5=
17017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17018 conftest$ac_exeext conftest.$ac_ext
17019 LIBS=$ac_check_soname_save_LIBS
17021 if ${ac_cv_lib_soname_krb5:+false} :
17022 then :
17023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17024 printf "%s\n" "not found" >&6; }
17025 KRB5_CFLAGS=""
17026 else $as_nop
17027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17028 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17030 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17034 else
17035 KRB5_CFLAGS=""
17037 CPPFLAGS=$ac_save_CPPFLAGS
17040 if test "x$ac_cv_lib_soname_krb5" = "x"
17041 then :
17042 case "x$with_krb5" in
17043 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17044 xno) ;;
17045 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17046 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17047 esac
17050 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17052 if test "x$with_gssapi" != "xno"
17053 then
17054 if ${GSSAPI_CFLAGS:+false} :
17055 then :
17056 if test ${PKG_CONFIG+y}
17057 then :
17058 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17061 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17062 if ${GSSAPI_LIBS:+false} :
17063 then :
17064 if test ${PKG_CONFIG+y}
17065 then :
17066 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17069 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17071 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17073 ac_save_CPPFLAGS=$CPPFLAGS
17074 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17075 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17076 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17077 then :
17078 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17081 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17082 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17083 then :
17084 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17088 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17089 then
17090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17091 printf %s "checking for -lgssapi_krb5... " >&6; }
17092 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17093 then :
17094 printf %s "(cached) " >&6
17095 else $as_nop
17096 ac_check_soname_save_LIBS=$LIBS
17097 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17101 /* Override any GCC internal prototype to avoid an error.
17102 Use char because int might match the return type of a GCC
17103 builtin and then its argument prototype would still apply. */
17104 char gss_init_sec_context ();
17106 main (void)
17108 return gss_init_sec_context ();
17110 return 0;
17112 _ACEOF
17113 if ac_fn_c_try_link "$LINENO"
17114 then :
17115 case "$LIBEXT" in
17116 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17117 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'` ;;
17118 *) 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'`
17119 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17120 then :
17121 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17122 fi ;;
17123 esac
17124 else $as_nop
17125 ac_cv_lib_soname_gssapi_krb5=
17127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17128 conftest$ac_exeext conftest.$ac_ext
17129 LIBS=$ac_check_soname_save_LIBS
17131 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17132 then :
17133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17134 printf "%s\n" "not found" >&6; }
17135 GSSAPI_CFLAGS=""
17136 else $as_nop
17137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
17138 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
17140 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
17144 else
17145 GSSAPI_CFLAGS=""
17147 CPPFLAGS=$ac_save_CPPFLAGS
17150 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
17151 then :
17152 case "x$with_gssapi" in
17153 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
17154 xno) ;;
17155 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
17156 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
17157 esac
17161 if test "$ac_cv_header_AL_al_h" = "yes"
17162 then
17163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
17164 printf %s "checking for -lopenal... " >&6; }
17165 if test ${ac_cv_lib_soname_openal+y}
17166 then :
17167 printf %s "(cached) " >&6
17168 else $as_nop
17169 ac_check_soname_save_LIBS=$LIBS
17170 LIBS="-lopenal $LIBS"
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17174 /* Override any GCC internal prototype to avoid an error.
17175 Use char because int might match the return type of a GCC
17176 builtin and then its argument prototype would still apply. */
17177 char alGetSource3i ();
17179 main (void)
17181 return alGetSource3i ();
17183 return 0;
17185 _ACEOF
17186 if ac_fn_c_try_link "$LINENO"
17187 then :
17188 case "$LIBEXT" in
17189 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17190 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'` ;;
17191 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17192 if ${ac_cv_lib_soname_openal:+false} :
17193 then :
17194 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17195 fi ;;
17196 esac
17197 else $as_nop
17198 ac_cv_lib_soname_openal=
17200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17201 conftest$ac_exeext conftest.$ac_ext
17202 LIBS=$ac_check_soname_save_LIBS
17204 if ${ac_cv_lib_soname_openal:+false} :
17205 then :
17206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17207 printf "%s\n" "not found" >&6; }
17209 else $as_nop
17210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
17211 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
17213 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
17215 OPENAL_LIBS="-lopenal"
17217 ac_cv_lib_openal=yes
17219 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
17223 if test "x$ac_cv_lib_openal" != xyes
17224 then :
17225 case "x$with_openal" in
17226 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
17227 xno) ;;
17228 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
17229 This is an error since --with-openal was requested." "$LINENO" 5 ;;
17230 esac
17231 enable_openal32=${enable_openal32:-no}
17234 if test "$ac_cv_header_libprocstat_h" = "yes"
17235 then
17236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
17237 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
17238 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
17239 then :
17240 printf %s "(cached) " >&6
17241 else $as_nop
17242 ac_check_lib_save_LIBS=$LIBS
17243 LIBS="-lprocstat $LIBS"
17244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h. */
17247 /* Override any GCC internal prototype to avoid an error.
17248 Use char because int might match the return type of a GCC
17249 builtin and then its argument prototype would still apply. */
17250 char procstat_open_sysctl ();
17252 main (void)
17254 return procstat_open_sysctl ();
17256 return 0;
17258 _ACEOF
17259 if ac_fn_c_try_link "$LINENO"
17260 then :
17261 ac_cv_lib_procstat_procstat_open_sysctl=yes
17262 else $as_nop
17263 ac_cv_lib_procstat_procstat_open_sysctl=no
17265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17266 conftest$ac_exeext conftest.$ac_ext
17267 LIBS=$ac_check_lib_save_LIBS
17269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
17270 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
17271 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
17272 then :
17274 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
17276 PROCSTAT_LIBS="-lprocstat"
17282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
17283 printf %s "checking for -lodbc... " >&6; }
17284 if test ${ac_cv_lib_soname_odbc+y}
17285 then :
17286 printf %s "(cached) " >&6
17287 else $as_nop
17288 ac_check_soname_save_LIBS=$LIBS
17289 LIBS="-lodbc $LIBS"
17290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17291 /* end confdefs.h. */
17293 /* Override any GCC internal prototype to avoid an error.
17294 Use char because int might match the return type of a GCC
17295 builtin and then its argument prototype would still apply. */
17296 char SQLConnect ();
17298 main (void)
17300 return SQLConnect ();
17302 return 0;
17304 _ACEOF
17305 if ac_fn_c_try_link "$LINENO"
17306 then :
17307 case "$LIBEXT" in
17308 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17309 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'` ;;
17310 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17311 if ${ac_cv_lib_soname_odbc:+false} :
17312 then :
17313 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17314 fi ;;
17315 esac
17316 else $as_nop
17317 ac_cv_lib_soname_odbc=
17319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17320 conftest$ac_exeext conftest.$ac_ext
17321 LIBS=$ac_check_soname_save_LIBS
17323 if ${ac_cv_lib_soname_odbc:+false} :
17324 then :
17325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17326 printf "%s\n" "not found" >&6; }
17327 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
17329 else $as_nop
17330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
17331 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
17333 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
17338 if test "x$with_netapi" != "xno"
17339 then
17340 if ${NETAPI_CFLAGS:+false} :
17341 then :
17342 if test ${PKG_CONFIG+y}
17343 then :
17344 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
17348 if ${NETAPI_LIBS:+false} :
17349 then :
17350 if test ${PKG_CONFIG+y}
17351 then :
17352 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
17357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
17358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
17359 ac_save_CPPFLAGS=$CPPFLAGS
17360 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
17361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
17362 printf %s "checking for -lnetapi... " >&6; }
17363 if test ${ac_cv_lib_soname_netapi+y}
17364 then :
17365 printf %s "(cached) " >&6
17366 else $as_nop
17367 ac_check_soname_save_LIBS=$LIBS
17368 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17372 /* Override any GCC internal prototype to avoid an error.
17373 Use char because int might match the return type of a GCC
17374 builtin and then its argument prototype would still apply. */
17375 char libnetapi_init ();
17377 main (void)
17379 return libnetapi_init ();
17381 return 0;
17383 _ACEOF
17384 if ac_fn_c_try_link "$LINENO"
17385 then :
17386 case "$LIBEXT" in
17387 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17388 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'` ;;
17389 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17390 if ${ac_cv_lib_soname_netapi:+false} :
17391 then :
17392 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17393 fi ;;
17394 esac
17395 else $as_nop
17396 ac_cv_lib_soname_netapi=
17398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17399 conftest$ac_exeext conftest.$ac_ext
17400 LIBS=$ac_check_soname_save_LIBS
17402 if ${ac_cv_lib_soname_netapi:+false} :
17403 then :
17404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17405 printf "%s\n" "not found" >&6; }
17406 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
17408 else $as_nop
17409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
17410 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
17412 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
17416 CPPFLAGS=$ac_save_CPPFLAGS
17420 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
17421 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
17422 then
17423 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
17426 if test "x$with_vulkan" != "xno"
17427 then
17428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
17429 printf %s "checking for -lvulkan... " >&6; }
17430 if test ${ac_cv_lib_soname_vulkan+y}
17431 then :
17432 printf %s "(cached) " >&6
17433 else $as_nop
17434 ac_check_soname_save_LIBS=$LIBS
17435 LIBS="-lvulkan $LIBS"
17436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17437 /* end confdefs.h. */
17439 /* Override any GCC internal prototype to avoid an error.
17440 Use char because int might match the return type of a GCC
17441 builtin and then its argument prototype would still apply. */
17442 char vkGetInstanceProcAddr ();
17444 main (void)
17446 return vkGetInstanceProcAddr ();
17448 return 0;
17450 _ACEOF
17451 if ac_fn_c_try_link "$LINENO"
17452 then :
17453 case "$LIBEXT" in
17454 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17455 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'` ;;
17456 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17457 if ${ac_cv_lib_soname_vulkan:+false} :
17458 then :
17459 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17460 fi ;;
17461 esac
17462 else $as_nop
17463 ac_cv_lib_soname_vulkan=
17465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17466 conftest$ac_exeext conftest.$ac_ext
17467 LIBS=$ac_check_soname_save_LIBS
17469 if ${ac_cv_lib_soname_vulkan:+false} :
17470 then :
17471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17472 printf "%s\n" "not found" >&6; }
17474 else $as_nop
17475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
17476 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
17478 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
17482 if test "x$ac_cv_lib_soname_vulkan" = "x"
17483 then
17484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
17485 printf %s "checking for -lMoltenVK... " >&6; }
17486 if test ${ac_cv_lib_soname_MoltenVK+y}
17487 then :
17488 printf %s "(cached) " >&6
17489 else $as_nop
17490 ac_check_soname_save_LIBS=$LIBS
17491 LIBS="-lMoltenVK $LIBS"
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17495 /* Override any GCC internal prototype to avoid an error.
17496 Use char because int might match the return type of a GCC
17497 builtin and then its argument prototype would still apply. */
17498 char vkGetInstanceProcAddr ();
17500 main (void)
17502 return vkGetInstanceProcAddr ();
17504 return 0;
17506 _ACEOF
17507 if ac_fn_c_try_link "$LINENO"
17508 then :
17509 case "$LIBEXT" in
17510 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17511 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'` ;;
17512 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17513 if ${ac_cv_lib_soname_MoltenVK:+false} :
17514 then :
17515 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17516 fi ;;
17517 esac
17518 else $as_nop
17519 ac_cv_lib_soname_MoltenVK=
17521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17522 conftest$ac_exeext conftest.$ac_ext
17523 LIBS=$ac_check_soname_save_LIBS
17525 if ${ac_cv_lib_soname_MoltenVK:+false} :
17526 then :
17527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17528 printf "%s\n" "not found" >&6; }
17530 else $as_nop
17531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
17532 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
17534 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
17540 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
17541 then :
17542 case "x$with_vulkan" in
17543 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
17544 xno) ;;
17545 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
17546 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
17547 esac
17551 if test "x$with_vkd3d" != "xno"
17552 then
17553 if ${VKD3D_CFLAGS:+false} :
17554 then :
17555 if test ${PKG_CONFIG+y}
17556 then :
17557 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
17561 if ${VKD3D_LIBS:+false} :
17562 then :
17563 if test ${PKG_CONFIG+y}
17564 then :
17565 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
17570 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
17571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
17572 ac_save_CPPFLAGS=$CPPFLAGS
17573 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
17574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
17575 printf %s "checking for -lvkd3d... " >&6; }
17576 if test ${ac_cv_lib_soname_vkd3d+y}
17577 then :
17578 printf %s "(cached) " >&6
17579 else $as_nop
17580 ac_check_soname_save_LIBS=$LIBS
17581 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
17582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17583 /* end confdefs.h. */
17585 /* Override any GCC internal prototype to avoid an error.
17586 Use char because int might match the return type of a GCC
17587 builtin and then its argument prototype would still apply. */
17588 char vkd3d_serialize_versioned_root_signature ();
17590 main (void)
17592 return vkd3d_serialize_versioned_root_signature ();
17594 return 0;
17596 _ACEOF
17597 if ac_fn_c_try_link "$LINENO"
17598 then :
17599 case "$LIBEXT" in
17600 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17601 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'` ;;
17602 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17603 if ${ac_cv_lib_soname_vkd3d:+false} :
17604 then :
17605 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17606 fi ;;
17607 esac
17608 else $as_nop
17609 ac_cv_lib_soname_vkd3d=
17611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17612 conftest$ac_exeext conftest.$ac_ext
17613 LIBS=$ac_check_soname_save_LIBS
17615 if ${ac_cv_lib_soname_vkd3d:+false} :
17616 then :
17617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17618 printf "%s\n" "not found" >&6; }
17620 else $as_nop
17621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17622 printf "%s\n" "$ac_cv_lib_soname_vkd3d" >&6; }
17624 printf "%s\n" "#define SONAME_LIBVKD3D \"$ac_cv_lib_soname_vkd3d\"" >>confdefs.h
17628 CPPFLAGS=$ac_save_CPPFLAGS
17630 if ${VKD3D_SHADER_CFLAGS:+false} :
17631 then :
17632 if test ${PKG_CONFIG+y}
17633 then :
17634 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
17638 if ${VKD3D_SHADER_LIBS:+false} :
17639 then :
17640 if test ${PKG_CONFIG+y}
17641 then :
17642 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
17647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
17648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
17649 ac_save_CPPFLAGS=$CPPFLAGS
17650 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
17651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
17652 printf %s "checking for -lvkd3d-shader... " >&6; }
17653 if test ${ac_cv_lib_soname_vkd3d_shader+y}
17654 then :
17655 printf %s "(cached) " >&6
17656 else $as_nop
17657 ac_check_soname_save_LIBS=$LIBS
17658 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
17659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17660 /* end confdefs.h. */
17662 /* Override any GCC internal prototype to avoid an error.
17663 Use char because int might match the return type of a GCC
17664 builtin and then its argument prototype would still apply. */
17665 char vkd3d_shader_compile ();
17667 main (void)
17669 return vkd3d_shader_compile ();
17671 return 0;
17673 _ACEOF
17674 if ac_fn_c_try_link "$LINENO"
17675 then :
17676 case "$LIBEXT" in
17677 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17678 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'` ;;
17679 *) 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'`
17680 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
17681 then :
17682 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17683 fi ;;
17684 esac
17685 else $as_nop
17686 ac_cv_lib_soname_vkd3d_shader=
17688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17689 conftest$ac_exeext conftest.$ac_ext
17690 LIBS=$ac_check_soname_save_LIBS
17692 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
17693 then :
17694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17695 printf "%s\n" "not found" >&6; }
17697 else $as_nop
17698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
17699 printf "%s\n" "$ac_cv_lib_soname_vkd3d_shader" >&6; }
17701 printf "%s\n" "#define SONAME_LIBVKD3D_SHADER \"$ac_cv_lib_soname_vkd3d_shader\"" >>confdefs.h
17705 CPPFLAGS=$ac_save_CPPFLAGS
17708 if test "x$ac_cv_lib_soname_vkd3d" = "x"
17709 then :
17710 case "x$with_vkd3d" in
17711 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17712 xno) ;;
17713 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17714 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17715 esac
17718 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17721 if test "x${GCC}" = "xyes"
17722 then
17723 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
17725 saved_CFLAGS=$CFLAGS
17726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17727 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17728 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
17729 then :
17730 printf %s "(cached) " >&6
17731 else $as_nop
17732 ac_wine_try_cflags_saved=$CFLAGS
17733 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17735 /* end confdefs.h. */
17736 int main(int argc, char **argv) { return 0; }
17737 _ACEOF
17738 if ac_fn_c_try_link "$LINENO"
17739 then :
17740 ac_cv_cflags__Werror_unknown_warning_option=yes
17741 else $as_nop
17742 ac_cv_cflags__Werror_unknown_warning_option=no
17744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17745 conftest$ac_exeext conftest.$ac_ext
17746 CFLAGS=$ac_wine_try_cflags_saved
17748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17749 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17750 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
17751 then :
17752 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17755 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17756 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
17757 then :
17758 printf %s "(cached) " >&6
17759 else $as_nop
17760 ac_wine_try_cflags_saved=$CFLAGS
17761 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17764 int main(int argc, char **argv) { return 0; }
17765 _ACEOF
17766 if ac_fn_c_try_link "$LINENO"
17767 then :
17768 ac_cv_cflags__Werror_unused_command_line_argument=yes
17769 else $as_nop
17770 ac_cv_cflags__Werror_unused_command_line_argument=no
17772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17773 conftest$ac_exeext conftest.$ac_ext
17774 CFLAGS=$ac_wine_try_cflags_saved
17776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17777 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17778 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
17779 then :
17780 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17783 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17784 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
17785 then :
17786 printf %s "(cached) " >&6
17787 else $as_nop
17788 ac_wine_try_cflags_saved=$CFLAGS
17789 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17791 /* end confdefs.h. */
17792 int main(int argc, char **argv) { return 0; }
17793 _ACEOF
17794 if ac_fn_c_try_link "$LINENO"
17795 then :
17796 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17797 else $as_nop
17798 ac_cv_cflags__Werror_ignored_optimization_argument=no
17800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17801 conftest$ac_exeext conftest.$ac_ext
17802 CFLAGS=$ac_wine_try_cflags_saved
17804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17805 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17806 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
17807 then :
17808 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17811 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
17812 if test ${ac_cv_cflags__fcf_protection_none+y}
17813 then :
17814 printf %s "(cached) " >&6
17815 else $as_nop
17816 ac_wine_try_cflags_saved=$CFLAGS
17817 CFLAGS="$CFLAGS -fcf-protection=none"
17818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17819 /* end confdefs.h. */
17820 int main(int argc, char **argv) { return 0; }
17821 _ACEOF
17822 if ac_fn_c_try_link "$LINENO"
17823 then :
17824 ac_cv_cflags__fcf_protection_none=yes
17825 else $as_nop
17826 ac_cv_cflags__fcf_protection_none=no
17828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17829 conftest$ac_exeext conftest.$ac_ext
17830 CFLAGS=$ac_wine_try_cflags_saved
17832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17833 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
17834 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
17835 then :
17836 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17839 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
17840 if test ${ac_cv_cflags__fno_stack_protector+y}
17841 then :
17842 printf %s "(cached) " >&6
17843 else $as_nop
17844 ac_wine_try_cflags_saved=$CFLAGS
17845 CFLAGS="$CFLAGS -fno-stack-protector"
17846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17847 /* end confdefs.h. */
17848 int main(int argc, char **argv) { return 0; }
17849 _ACEOF
17850 if ac_fn_c_try_link "$LINENO"
17851 then :
17852 ac_cv_cflags__fno_stack_protector=yes
17853 else $as_nop
17854 ac_cv_cflags__fno_stack_protector=no
17856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17857 conftest$ac_exeext conftest.$ac_ext
17858 CFLAGS=$ac_wine_try_cflags_saved
17860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17861 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
17862 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
17863 then :
17864 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17867 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17868 if test ${ac_cv_cflags__fno_strict_aliasing+y}
17869 then :
17870 printf %s "(cached) " >&6
17871 else $as_nop
17872 ac_wine_try_cflags_saved=$CFLAGS
17873 CFLAGS="$CFLAGS -fno-strict-aliasing"
17874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17875 /* end confdefs.h. */
17876 int main(int argc, char **argv) { return 0; }
17877 _ACEOF
17878 if ac_fn_c_try_link "$LINENO"
17879 then :
17880 ac_cv_cflags__fno_strict_aliasing=yes
17881 else $as_nop
17882 ac_cv_cflags__fno_strict_aliasing=no
17884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17885 conftest$ac_exeext conftest.$ac_ext
17886 CFLAGS=$ac_wine_try_cflags_saved
17888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17889 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17890 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
17891 then :
17892 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17895 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17896 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
17897 then :
17898 printf %s "(cached) " >&6
17899 else $as_nop
17900 ac_wine_try_cflags_saved=$CFLAGS
17901 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17903 /* end confdefs.h. */
17904 int main(int argc, char **argv) { return 0; }
17905 _ACEOF
17906 if ac_fn_c_try_link "$LINENO"
17907 then :
17908 ac_cv_cflags__Wdeclaration_after_statement=yes
17909 else $as_nop
17910 ac_cv_cflags__Wdeclaration_after_statement=no
17912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17913 conftest$ac_exeext conftest.$ac_ext
17914 CFLAGS=$ac_wine_try_cflags_saved
17916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17917 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17918 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
17919 then :
17920 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17923 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
17924 if test ${ac_cv_cflags__Wempty_body+y}
17925 then :
17926 printf %s "(cached) " >&6
17927 else $as_nop
17928 ac_wine_try_cflags_saved=$CFLAGS
17929 CFLAGS="$CFLAGS -Wempty-body"
17930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17931 /* end confdefs.h. */
17932 int main(int argc, char **argv) { return 0; }
17933 _ACEOF
17934 if ac_fn_c_try_link "$LINENO"
17935 then :
17936 ac_cv_cflags__Wempty_body=yes
17937 else $as_nop
17938 ac_cv_cflags__Wempty_body=no
17940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17941 conftest$ac_exeext conftest.$ac_ext
17942 CFLAGS=$ac_wine_try_cflags_saved
17944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17945 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
17946 if test "x$ac_cv_cflags__Wempty_body" = xyes
17947 then :
17948 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17951 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17952 if test ${ac_cv_cflags__Wignored_qualifiers+y}
17953 then :
17954 printf %s "(cached) " >&6
17955 else $as_nop
17956 ac_wine_try_cflags_saved=$CFLAGS
17957 CFLAGS="$CFLAGS -Wignored-qualifiers"
17958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17959 /* end confdefs.h. */
17960 int main(int argc, char **argv) { return 0; }
17961 _ACEOF
17962 if ac_fn_c_try_link "$LINENO"
17963 then :
17964 ac_cv_cflags__Wignored_qualifiers=yes
17965 else $as_nop
17966 ac_cv_cflags__Wignored_qualifiers=no
17968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17969 conftest$ac_exeext conftest.$ac_ext
17970 CFLAGS=$ac_wine_try_cflags_saved
17972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17973 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17974 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
17975 then :
17976 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17979 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
17980 if test ${ac_cv_cflags__Winit_self+y}
17981 then :
17982 printf %s "(cached) " >&6
17983 else $as_nop
17984 ac_wine_try_cflags_saved=$CFLAGS
17985 CFLAGS="$CFLAGS -Winit-self"
17986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17987 /* end confdefs.h. */
17988 int main(int argc, char **argv) { return 0; }
17989 _ACEOF
17990 if ac_fn_c_try_link "$LINENO"
17991 then :
17992 ac_cv_cflags__Winit_self=yes
17993 else $as_nop
17994 ac_cv_cflags__Winit_self=no
17996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17997 conftest$ac_exeext conftest.$ac_ext
17998 CFLAGS=$ac_wine_try_cflags_saved
18000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18001 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18002 if test "x$ac_cv_cflags__Winit_self" = xyes
18003 then :
18004 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18007 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18008 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18009 then :
18010 printf %s "(cached) " >&6
18011 else $as_nop
18012 ac_wine_try_cflags_saved=$CFLAGS
18013 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18015 /* end confdefs.h. */
18016 int main(int argc, char **argv) { return 0; }
18017 _ACEOF
18018 if ac_fn_c_try_link "$LINENO"
18019 then :
18020 ac_cv_cflags__Wpacked_not_aligned=yes
18021 else $as_nop
18022 ac_cv_cflags__Wpacked_not_aligned=no
18024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18025 conftest$ac_exeext conftest.$ac_ext
18026 CFLAGS=$ac_wine_try_cflags_saved
18028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18029 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18030 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18031 then :
18032 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18035 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18036 if test ${ac_cv_cflags__Wpragma_pack+y}
18037 then :
18038 printf %s "(cached) " >&6
18039 else $as_nop
18040 ac_wine_try_cflags_saved=$CFLAGS
18041 CFLAGS="$CFLAGS -Wpragma-pack"
18042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18043 /* end confdefs.h. */
18044 int main(int argc, char **argv) { return 0; }
18045 _ACEOF
18046 if ac_fn_c_try_link "$LINENO"
18047 then :
18048 ac_cv_cflags__Wpragma_pack=yes
18049 else $as_nop
18050 ac_cv_cflags__Wpragma_pack=no
18052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18053 conftest$ac_exeext conftest.$ac_ext
18054 CFLAGS=$ac_wine_try_cflags_saved
18056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18057 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18058 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18059 then :
18060 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18063 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18064 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18065 then :
18066 printf %s "(cached) " >&6
18067 else $as_nop
18068 ac_wine_try_cflags_saved=$CFLAGS
18069 CFLAGS="$CFLAGS -Wshift-overflow=2"
18070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18071 /* end confdefs.h. */
18072 int main(int argc, char **argv) { return 0; }
18073 _ACEOF
18074 if ac_fn_c_try_link "$LINENO"
18075 then :
18076 ac_cv_cflags__Wshift_overflow_2=yes
18077 else $as_nop
18078 ac_cv_cflags__Wshift_overflow_2=no
18080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18081 conftest$ac_exeext conftest.$ac_ext
18082 CFLAGS=$ac_wine_try_cflags_saved
18084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18085 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18086 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18087 then :
18088 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18091 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18092 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18093 then :
18094 printf %s "(cached) " >&6
18095 else $as_nop
18096 ac_wine_try_cflags_saved=$CFLAGS
18097 CFLAGS="$CFLAGS -Wstrict-prototypes"
18098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18099 /* end confdefs.h. */
18100 int main(int argc, char **argv) { return 0; }
18101 _ACEOF
18102 if ac_fn_c_try_link "$LINENO"
18103 then :
18104 ac_cv_cflags__Wstrict_prototypes=yes
18105 else $as_nop
18106 ac_cv_cflags__Wstrict_prototypes=no
18108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18109 conftest$ac_exeext conftest.$ac_ext
18110 CFLAGS=$ac_wine_try_cflags_saved
18112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18113 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18114 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18115 then :
18116 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18119 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18120 if test ${ac_cv_cflags__Wtype_limits+y}
18121 then :
18122 printf %s "(cached) " >&6
18123 else $as_nop
18124 ac_wine_try_cflags_saved=$CFLAGS
18125 CFLAGS="$CFLAGS -Wtype-limits"
18126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18127 /* end confdefs.h. */
18128 int main(int argc, char **argv) { return 0; }
18129 _ACEOF
18130 if ac_fn_c_try_link "$LINENO"
18131 then :
18132 ac_cv_cflags__Wtype_limits=yes
18133 else $as_nop
18134 ac_cv_cflags__Wtype_limits=no
18136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18137 conftest$ac_exeext conftest.$ac_ext
18138 CFLAGS=$ac_wine_try_cflags_saved
18140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18141 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18142 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18143 then :
18144 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18147 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18148 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18149 then :
18150 printf %s "(cached) " >&6
18151 else $as_nop
18152 ac_wine_try_cflags_saved=$CFLAGS
18153 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18156 int main(int argc, char **argv) { return 0; }
18157 _ACEOF
18158 if ac_fn_c_try_link "$LINENO"
18159 then :
18160 ac_cv_cflags__Wunused_but_set_parameter=yes
18161 else $as_nop
18162 ac_cv_cflags__Wunused_but_set_parameter=no
18164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18165 conftest$ac_exeext conftest.$ac_ext
18166 CFLAGS=$ac_wine_try_cflags_saved
18168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18169 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18170 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18171 then :
18172 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18175 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18176 if test ${ac_cv_cflags__Wvla+y}
18177 then :
18178 printf %s "(cached) " >&6
18179 else $as_nop
18180 ac_wine_try_cflags_saved=$CFLAGS
18181 CFLAGS="$CFLAGS -Wvla"
18182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18183 /* end confdefs.h. */
18184 int main(int argc, char **argv) { return 0; }
18185 _ACEOF
18186 if ac_fn_c_try_link "$LINENO"
18187 then :
18188 ac_cv_cflags__Wvla=yes
18189 else $as_nop
18190 ac_cv_cflags__Wvla=no
18192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18193 conftest$ac_exeext conftest.$ac_ext
18194 CFLAGS=$ac_wine_try_cflags_saved
18196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18197 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18198 if test "x$ac_cv_cflags__Wvla" = xyes
18199 then :
18200 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18203 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18204 if test ${ac_cv_cflags__Wwrite_strings+y}
18205 then :
18206 printf %s "(cached) " >&6
18207 else $as_nop
18208 ac_wine_try_cflags_saved=$CFLAGS
18209 CFLAGS="$CFLAGS -Wwrite-strings"
18210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18211 /* end confdefs.h. */
18212 int main(int argc, char **argv) { return 0; }
18213 _ACEOF
18214 if ac_fn_c_try_link "$LINENO"
18215 then :
18216 ac_cv_cflags__Wwrite_strings=yes
18217 else $as_nop
18218 ac_cv_cflags__Wwrite_strings=no
18220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18221 conftest$ac_exeext conftest.$ac_ext
18222 CFLAGS=$ac_wine_try_cflags_saved
18224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18225 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18226 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18227 then :
18228 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18231 if test -z "$CROSSTARGET"
18232 then
18233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18234 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18235 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18236 then :
18237 printf %s "(cached) " >&6
18238 else $as_nop
18239 ac_wine_try_cflags_saved=$CFLAGS
18240 CFLAGS="$CFLAGS -fexcess-precision=standard"
18241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18242 /* end confdefs.h. */
18243 int main(int argc, char **argv) { return 0; }
18244 _ACEOF
18245 if ac_fn_c_try_link "$LINENO"
18246 then :
18247 ac_cv_cflags__fexcess_precision_standard=yes
18248 else $as_nop
18249 ac_cv_cflags__fexcess_precision_standard=no
18251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18252 conftest$ac_exeext conftest.$ac_ext
18253 CFLAGS=$ac_wine_try_cflags_saved
18255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18256 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18257 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18258 then :
18259 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
18264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18265 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18266 if test ${ac_cv_cflags__Wpointer_arith+y}
18267 then :
18268 printf %s "(cached) " >&6
18269 else $as_nop
18270 ac_wine_try_cflags_saved=$CFLAGS
18271 CFLAGS="$CFLAGS -Wpointer-arith"
18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18274 int main(int argc, char **argv) { return 0; }
18275 _ACEOF
18276 if ac_fn_c_try_link "$LINENO"
18277 then :
18278 ac_cv_cflags__Wpointer_arith=yes
18279 else $as_nop
18280 ac_cv_cflags__Wpointer_arith=no
18282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18283 conftest$ac_exeext conftest.$ac_ext
18284 CFLAGS=$ac_wine_try_cflags_saved
18286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18287 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18288 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18289 then :
18290 saved_string_h_CFLAGS=$CFLAGS
18291 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18293 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18294 if test ${ac_cv_c_string_h_warnings+y}
18295 then :
18296 printf %s "(cached) " >&6
18297 else $as_nop
18298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18299 /* end confdefs.h. */
18300 #include <string.h>
18302 main (void)
18306 return 0;
18308 _ACEOF
18309 if ac_fn_c_try_compile "$LINENO"
18310 then :
18311 ac_cv_c_string_h_warnings=no
18312 else $as_nop
18313 ac_cv_c_string_h_warnings=yes
18315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18318 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18319 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18320 CFLAGS=$saved_string_h_CFLAGS
18323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18324 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18325 if test ${ac_cv_cflags__Wlogical_op+y}
18326 then :
18327 printf %s "(cached) " >&6
18328 else $as_nop
18329 ac_wine_try_cflags_saved=$CFLAGS
18330 CFLAGS="$CFLAGS -Wlogical-op"
18331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18332 /* end confdefs.h. */
18333 int main(int argc, char **argv) { return 0; }
18334 _ACEOF
18335 if ac_fn_c_try_link "$LINENO"
18336 then :
18337 ac_cv_cflags__Wlogical_op=yes
18338 else $as_nop
18339 ac_cv_cflags__Wlogical_op=no
18341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18342 conftest$ac_exeext conftest.$ac_ext
18343 CFLAGS=$ac_wine_try_cflags_saved
18345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18346 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18347 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18348 then :
18349 saved_string_h_CFLAGS=$CFLAGS
18350 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18352 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18353 if test ${ac_cv_c_logicalop_noisy+y}
18354 then :
18355 printf %s "(cached) " >&6
18356 else $as_nop
18357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18358 /* end confdefs.h. */
18359 #include <string.h>
18360 char*f(const char *h,char n) {return strchr(h,n);}
18362 main (void)
18366 return 0;
18368 _ACEOF
18369 if ac_fn_c_try_compile "$LINENO"
18370 then :
18371 ac_cv_c_logicalop_noisy=no
18372 else $as_nop
18373 ac_cv_c_logicalop_noisy=yes
18375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18378 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18379 CFLAGS=$saved_string_h_CFLAGS
18380 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
18383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
18384 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
18385 if test ${wine_cv_64bit_compare_swap+y}
18386 then :
18387 printf %s "(cached) " >&6
18388 else $as_nop
18389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18390 /* end confdefs.h. */
18391 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18392 #error no
18393 #endif
18395 main (void)
18399 return 0;
18401 _ACEOF
18402 if ac_fn_c_try_compile "$LINENO"
18403 then :
18404 wine_cv_64bit_compare_swap="none needed"
18405 else $as_nop
18406 case $host_cpu in
18407 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
18408 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
18409 *) wine_cv_64bit_compare_swap="unknown" ;;
18410 esac
18411 if test "x$wine_cv_64bit_compare_swap" != xunknown
18412 then
18413 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
18414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18415 /* end confdefs.h. */
18416 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18417 #error no
18418 #endif
18420 main (void)
18424 return 0;
18426 _ACEOF
18427 if ac_fn_c_try_compile "$LINENO"
18428 then :
18430 else $as_nop
18431 wine_cv_64bit_compare_swap="unknown"
18433 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18434 CFLAGS=$saved_CFLAGS
18437 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
18440 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
18441 case "$wine_cv_64bit_compare_swap" in
18442 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
18443 "none needed") ;;
18444 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
18445 esac
18447 ac_debug_format_seen=""
18448 for ac_flag in $CFLAGS; do
18449 case $ac_flag in
18450 -gdwarf*) ac_debug_format_seen=yes ;;
18451 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
18452 esac
18453 done
18454 if test "x$ac_debug_format_seen" = xdefault
18455 then
18456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
18457 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
18458 if test ${ac_cv_cflags__gdwarf_4+y}
18459 then :
18460 printf %s "(cached) " >&6
18461 else $as_nop
18462 ac_wine_try_cflags_saved=$CFLAGS
18463 CFLAGS="$CFLAGS -gdwarf-4"
18464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18465 /* end confdefs.h. */
18466 int main(int argc, char **argv) { return 0; }
18467 _ACEOF
18468 if ac_fn_c_try_link "$LINENO"
18469 then :
18470 ac_cv_cflags__gdwarf_4=yes
18471 else $as_nop
18472 ac_cv_cflags__gdwarf_4=no
18474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18475 conftest$ac_exeext conftest.$ac_ext
18476 CFLAGS=$ac_wine_try_cflags_saved
18478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
18479 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
18480 if test "x$ac_cv_cflags__gdwarf_4" = xyes
18481 then :
18482 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
18486 MSVCRTFLAGS=""
18488 case $host_os in
18489 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
18490 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
18491 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
18492 then :
18493 printf %s "(cached) " >&6
18494 else $as_nop
18495 ac_wine_try_cflags_saved=$CFLAGS
18496 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
18497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18498 /* end confdefs.h. */
18499 int main(int argc, char **argv) { return 0; }
18500 _ACEOF
18501 if ac_fn_c_try_link "$LINENO"
18502 then :
18503 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
18504 else $as_nop
18505 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
18507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18508 conftest$ac_exeext conftest.$ac_ext
18509 CFLAGS=$ac_wine_try_cflags_saved
18511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
18512 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
18513 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
18514 then :
18515 DELAYLOADFLAG="-Wl,-delayload,"
18517 fi ;;
18518 *) MSVCRTFLAGS="-D_WIN32"
18519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
18520 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
18521 if test ${ac_cv_cflags__fno_builtin+y}
18522 then :
18523 printf %s "(cached) " >&6
18524 else $as_nop
18525 ac_wine_try_cflags_saved=$CFLAGS
18526 CFLAGS="$CFLAGS -fno-builtin"
18527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h. */
18529 int main(int argc, char **argv) { return 0; }
18530 _ACEOF
18531 if ac_fn_c_try_link "$LINENO"
18532 then :
18533 ac_cv_cflags__fno_builtin=yes
18534 else $as_nop
18535 ac_cv_cflags__fno_builtin=no
18537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18538 conftest$ac_exeext conftest.$ac_ext
18539 CFLAGS=$ac_wine_try_cflags_saved
18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
18542 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
18543 if test "x$ac_cv_cflags__fno_builtin" = xyes
18544 then :
18545 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
18547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
18548 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
18549 if test ${ac_cv_cflags__fshort_wchar+y}
18550 then :
18551 printf %s "(cached) " >&6
18552 else $as_nop
18553 ac_wine_try_cflags_saved=$CFLAGS
18554 CFLAGS="$CFLAGS -fshort-wchar"
18555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18556 /* end confdefs.h. */
18557 int main(int argc, char **argv) { return 0; }
18558 _ACEOF
18559 if ac_fn_c_try_link "$LINENO"
18560 then :
18561 ac_cv_cflags__fshort_wchar=yes
18562 else $as_nop
18563 ac_cv_cflags__fshort_wchar=no
18565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18566 conftest$ac_exeext conftest.$ac_ext
18567 CFLAGS=$ac_wine_try_cflags_saved
18569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
18570 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
18571 if test "x$ac_cv_cflags__fshort_wchar" = xyes
18572 then :
18573 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
18574 fi ;;
18575 esac
18577 case $host_cpu in
18578 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
18579 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
18580 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
18581 then :
18582 printf %s "(cached) " >&6
18583 else $as_nop
18584 ac_wine_try_cflags_saved=$CFLAGS
18585 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
18586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18587 /* end confdefs.h. */
18588 int main(int argc, char **argv) { return 0; }
18589 _ACEOF
18590 if ac_fn_c_try_link "$LINENO"
18591 then :
18592 ac_cv_cflags__fno_omit_frame_pointer=yes
18593 else $as_nop
18594 ac_cv_cflags__fno_omit_frame_pointer=no
18596 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18597 conftest$ac_exeext conftest.$ac_ext
18598 CFLAGS=$ac_wine_try_cflags_saved
18600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
18601 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
18602 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
18603 then :
18604 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
18605 fi ;;
18606 *x86_64*)
18607 case $host_os in
18608 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
18609 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
18610 if test ${ac_cv_cflags__Wno_format+y}
18611 then :
18612 printf %s "(cached) " >&6
18613 else $as_nop
18614 ac_wine_try_cflags_saved=$CFLAGS
18615 CFLAGS="$CFLAGS -Wno-format"
18616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18618 int main(int argc, char **argv) { return 0; }
18619 _ACEOF
18620 if ac_fn_c_try_link "$LINENO"
18621 then :
18622 ac_cv_cflags__Wno_format=yes
18623 else $as_nop
18624 ac_cv_cflags__Wno_format=no
18626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18627 conftest$ac_exeext conftest.$ac_ext
18628 CFLAGS=$ac_wine_try_cflags_saved
18630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
18631 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
18632 if test "x$ac_cv_cflags__Wno_format" = xyes
18633 then :
18634 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
18635 fi ;;
18636 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
18637 printf %s "checking whether the compiler supports -mabi=ms... " >&6; }
18638 if test ${ac_cv_cflags__mabi_ms+y}
18639 then :
18640 printf %s "(cached) " >&6
18641 else $as_nop
18642 ac_wine_try_cflags_saved=$CFLAGS
18643 CFLAGS="$CFLAGS -mabi=ms"
18644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18646 int main(int argc, char **argv) { return 0; }
18647 _ACEOF
18648 if ac_fn_c_try_link "$LINENO"
18649 then :
18650 ac_cv_cflags__mabi_ms=yes
18651 else $as_nop
18652 ac_cv_cflags__mabi_ms=no
18654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18655 conftest$ac_exeext conftest.$ac_ext
18656 CFLAGS=$ac_wine_try_cflags_saved
18658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
18659 printf "%s\n" "$ac_cv_cflags__mabi_ms" >&6; }
18660 if test "x$ac_cv_cflags__mabi_ms" = xyes
18661 then :
18662 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
18663 fi ;;
18664 esac ;;
18665 esac
18667 CFLAGS=$saved_CFLAGS
18669 if test "x$enable_werror" = "xyes"
18670 then
18671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
18672 printf %s "checking whether the compiler supports -Werror... " >&6; }
18673 if test ${ac_cv_cflags__Werror+y}
18674 then :
18675 printf %s "(cached) " >&6
18676 else $as_nop
18677 ac_wine_try_cflags_saved=$CFLAGS
18678 CFLAGS="$CFLAGS -Werror"
18679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18680 /* end confdefs.h. */
18681 int main(int argc, char **argv) { return 0; }
18682 _ACEOF
18683 if ac_fn_c_try_link "$LINENO"
18684 then :
18685 ac_cv_cflags__Werror=yes
18686 else $as_nop
18687 ac_cv_cflags__Werror=no
18689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18690 conftest$ac_exeext conftest.$ac_ext
18691 CFLAGS=$ac_wine_try_cflags_saved
18693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
18694 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
18695 if test "x$ac_cv_cflags__Werror" = xyes
18696 then :
18697 EXTRACFLAGS="$EXTRACFLAGS -Werror"
18700 if test "x$enable_build_id" = "xyes"
18701 then
18702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
18703 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
18704 if test ${ac_cv_cflags__Wl___build_id+y}
18705 then :
18706 printf %s "(cached) " >&6
18707 else $as_nop
18708 ac_wine_try_cflags_saved=$CFLAGS
18709 CFLAGS="$CFLAGS -Wl,--build-id"
18710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18711 /* end confdefs.h. */
18712 int main(int argc, char **argv) { return 0; }
18713 _ACEOF
18714 if ac_fn_c_try_link "$LINENO"
18715 then :
18716 ac_cv_cflags__Wl___build_id=yes
18717 else $as_nop
18718 ac_cv_cflags__Wl___build_id=no
18720 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18721 conftest$ac_exeext conftest.$ac_ext
18722 CFLAGS=$ac_wine_try_cflags_saved
18724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
18725 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
18726 if test "x$ac_cv_cflags__Wl___build_id" = xyes
18727 then :
18728 CFLAGS="$CFLAGS -Wl,--build-id"
18729 LDFLAGS="$LDFLAGS -Wl,--build-id"
18735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
18736 printf %s "checking for the need to disable Fortify... " >&6; }
18737 if test ${ac_cv_c_fortify_enabled+y}
18738 then :
18739 printf %s "(cached) " >&6
18740 else $as_nop
18741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18742 /* end confdefs.h. */
18743 #include <string.h>
18745 main (void)
18747 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
18748 #error Fortify enabled
18749 #endif
18751 return 0;
18753 _ACEOF
18754 if ac_fn_c_try_compile "$LINENO"
18755 then :
18756 ac_cv_c_fortify_enabled=no
18757 else $as_nop
18758 ac_cv_c_fortify_enabled=yes
18760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
18763 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
18764 if test "$ac_cv_c_fortify_enabled" = yes
18765 then
18766 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
18770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
18771 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
18772 if test ${ac_cv_c_cfi_support+y}
18773 then :
18774 printf %s "(cached) " >&6
18775 else $as_nop
18776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18777 /* end confdefs.h. */
18778 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
18780 main (void)
18784 return 0;
18786 _ACEOF
18787 if ac_fn_c_try_compile "$LINENO"
18788 then :
18789 ac_cv_c_cfi_support="yes"
18790 else $as_nop
18791 ac_cv_c_cfi_support="no"
18793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18796 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
18797 if test "$ac_cv_c_cfi_support" = "yes"
18798 then
18799 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18800 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18801 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
18802 else
18803 if test "x$enable_win64" = "xyes"
18804 then
18805 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18810 case $host_os in
18811 linux*)
18812 case $host_cpu in
18813 *i[3456789]86*|x86_64*|*aarch64*|arm*)
18814 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18815 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18817 esac
18819 esac
18822 ac_save_CFLAGS="$CFLAGS"
18823 CFLAGS="$CFLAGS $BUILTINFLAG"
18824 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
18825 if test "x$ac_cv_func_epoll_create" = xyes
18826 then :
18827 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
18830 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
18831 if test "x$ac_cv_func_fstatfs" = xyes
18832 then :
18833 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
18836 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
18837 if test "x$ac_cv_func_futimens" = xyes
18838 then :
18839 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
18842 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
18843 if test "x$ac_cv_func_futimes" = xyes
18844 then :
18845 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
18848 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
18849 if test "x$ac_cv_func_futimesat" = xyes
18850 then :
18851 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
18854 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
18855 if test "x$ac_cv_func_getattrlist" = xyes
18856 then :
18857 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
18860 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
18861 if test "x$ac_cv_func_getauxval" = xyes
18862 then :
18863 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
18866 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
18867 if test "x$ac_cv_func_getifaddrs" = xyes
18868 then :
18869 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
18872 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
18873 if test "x$ac_cv_func_getrandom" = xyes
18874 then :
18875 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
18878 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
18879 if test "x$ac_cv_func_kqueue" = xyes
18880 then :
18881 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
18884 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
18885 if test "x$ac_cv_func_mach_continuous_time" = xyes
18886 then :
18887 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
18890 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
18891 if test "x$ac_cv_func_pipe2" = xyes
18892 then :
18893 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
18896 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
18897 if test "x$ac_cv_func_port_create" = xyes
18898 then :
18899 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
18902 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
18903 if test "x$ac_cv_func_posix_fadvise" = xyes
18904 then :
18905 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
18908 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
18909 if test "x$ac_cv_func_posix_fallocate" = xyes
18910 then :
18911 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
18914 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
18915 if test "x$ac_cv_func_prctl" = xyes
18916 then :
18917 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
18920 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
18921 if test "x$ac_cv_func_proc_pidinfo" = xyes
18922 then :
18923 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
18926 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
18927 if test "x$ac_cv_func_sched_yield" = xyes
18928 then :
18929 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
18932 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
18933 if test "x$ac_cv_func_setproctitle" = xyes
18934 then :
18935 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
18938 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
18939 if test "x$ac_cv_func_setprogname" = xyes
18940 then :
18941 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
18944 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
18945 if test "x$ac_cv_func_sigprocmask" = xyes
18946 then :
18947 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
18950 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
18951 if test "x$ac_cv_func_sysinfo" = xyes
18952 then :
18953 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
18956 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
18957 if test "x$ac_cv_func_tcdrain" = xyes
18958 then :
18959 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
18962 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
18963 if test "x$ac_cv_func_thr_kill2" = xyes
18964 then :
18965 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
18969 CFLAGS="$ac_save_CFLAGS"
18971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18972 printf %s "checking for library containing dlopen... " >&6; }
18973 if test ${ac_cv_search_dlopen+y}
18974 then :
18975 printf %s "(cached) " >&6
18976 else $as_nop
18977 ac_func_search_save_LIBS=$LIBS
18978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18979 /* end confdefs.h. */
18981 /* Override any GCC internal prototype to avoid an error.
18982 Use char because int might match the return type of a GCC
18983 builtin and then its argument prototype would still apply. */
18984 char dlopen ();
18986 main (void)
18988 return dlopen ();
18990 return 0;
18992 _ACEOF
18993 for ac_lib in '' dl
18995 if test -z "$ac_lib"; then
18996 ac_res="none required"
18997 else
18998 ac_res=-l$ac_lib
18999 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19001 if ac_fn_c_try_link "$LINENO"
19002 then :
19003 ac_cv_search_dlopen=$ac_res
19005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19006 conftest$ac_exeext
19007 if test ${ac_cv_search_dlopen+y}
19008 then :
19009 break
19011 done
19012 if test ${ac_cv_search_dlopen+y}
19013 then :
19015 else $as_nop
19016 ac_cv_search_dlopen=no
19018 rm conftest.$ac_ext
19019 LIBS=$ac_func_search_save_LIBS
19021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19022 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19023 ac_res=$ac_cv_search_dlopen
19024 if test "$ac_res" != no
19025 then :
19026 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19030 ac_wine_check_funcs_save_LIBS="$LIBS"
19031 LIBS="$LIBS $DL_LIBS"
19032 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19033 if test "x$ac_cv_func_dlinfo" = xyes
19034 then :
19035 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19039 LIBS="$ac_wine_check_funcs_save_LIBS"
19041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19042 printf %s "checking for library containing gethostbyname... " >&6; }
19043 if test ${ac_cv_search_gethostbyname+y}
19044 then :
19045 printf %s "(cached) " >&6
19046 else $as_nop
19047 ac_func_search_save_LIBS=$LIBS
19048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19049 /* end confdefs.h. */
19051 /* Override any GCC internal prototype to avoid an error.
19052 Use char because int might match the return type of a GCC
19053 builtin and then its argument prototype would still apply. */
19054 char gethostbyname ();
19056 main (void)
19058 return gethostbyname ();
19060 return 0;
19062 _ACEOF
19063 for ac_lib in '' nsl
19065 if test -z "$ac_lib"; then
19066 ac_res="none required"
19067 else
19068 ac_res=-l$ac_lib
19069 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19071 if ac_fn_c_try_link "$LINENO"
19072 then :
19073 ac_cv_search_gethostbyname=$ac_res
19075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19076 conftest$ac_exeext
19077 if test ${ac_cv_search_gethostbyname+y}
19078 then :
19079 break
19081 done
19082 if test ${ac_cv_search_gethostbyname+y}
19083 then :
19085 else $as_nop
19086 ac_cv_search_gethostbyname=no
19088 rm conftest.$ac_ext
19089 LIBS=$ac_func_search_save_LIBS
19091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19092 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19093 ac_res=$ac_cv_search_gethostbyname
19094 if test "$ac_res" != no
19095 then :
19096 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19102 printf %s "checking for library containing connect... " >&6; }
19103 if test ${ac_cv_search_connect+y}
19104 then :
19105 printf %s "(cached) " >&6
19106 else $as_nop
19107 ac_func_search_save_LIBS=$LIBS
19108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h. */
19111 /* Override any GCC internal prototype to avoid an error.
19112 Use char because int might match the return type of a GCC
19113 builtin and then its argument prototype would still apply. */
19114 char connect ();
19116 main (void)
19118 return connect ();
19120 return 0;
19122 _ACEOF
19123 for ac_lib in '' socket
19125 if test -z "$ac_lib"; then
19126 ac_res="none required"
19127 else
19128 ac_res=-l$ac_lib
19129 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19131 if ac_fn_c_try_link "$LINENO"
19132 then :
19133 ac_cv_search_connect=$ac_res
19135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19136 conftest$ac_exeext
19137 if test ${ac_cv_search_connect+y}
19138 then :
19139 break
19141 done
19142 if test ${ac_cv_search_connect+y}
19143 then :
19145 else $as_nop
19146 ac_cv_search_connect=no
19148 rm conftest.$ac_ext
19149 LIBS=$ac_func_search_save_LIBS
19151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19152 printf "%s\n" "$ac_cv_search_connect" >&6; }
19153 ac_res=$ac_cv_search_connect
19154 if test "$ac_res" != no
19155 then :
19156 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19162 printf %s "checking for library containing inet_aton... " >&6; }
19163 if test ${ac_cv_search_inet_aton+y}
19164 then :
19165 printf %s "(cached) " >&6
19166 else $as_nop
19167 ac_func_search_save_LIBS=$LIBS
19168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19169 /* end confdefs.h. */
19171 /* Override any GCC internal prototype to avoid an error.
19172 Use char because int might match the return type of a GCC
19173 builtin and then its argument prototype would still apply. */
19174 char inet_aton ();
19176 main (void)
19178 return inet_aton ();
19180 return 0;
19182 _ACEOF
19183 for ac_lib in '' resolv
19185 if test -z "$ac_lib"; then
19186 ac_res="none required"
19187 else
19188 ac_res=-l$ac_lib
19189 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19191 if ac_fn_c_try_link "$LINENO"
19192 then :
19193 ac_cv_search_inet_aton=$ac_res
19195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19196 conftest$ac_exeext
19197 if test ${ac_cv_search_inet_aton+y}
19198 then :
19199 break
19201 done
19202 if test ${ac_cv_search_inet_aton+y}
19203 then :
19205 else $as_nop
19206 ac_cv_search_inet_aton=no
19208 rm conftest.$ac_ext
19209 LIBS=$ac_func_search_save_LIBS
19211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19212 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19213 ac_res=$ac_cv_search_inet_aton
19214 if test "$ac_res" != no
19215 then :
19216 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19221 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19222 if test "x$ac_cv_func_getaddrinfo" = xyes
19223 then :
19224 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19229 case $host_os in
19230 darwin*|macosx*) ;;
19231 *) ac_save_LIBS=$LIBS
19232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19233 printf %s "checking for library containing clock_gettime... " >&6; }
19234 if test ${ac_cv_search_clock_gettime+y}
19235 then :
19236 printf %s "(cached) " >&6
19237 else $as_nop
19238 ac_func_search_save_LIBS=$LIBS
19239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19240 /* end confdefs.h. */
19242 /* Override any GCC internal prototype to avoid an error.
19243 Use char because int might match the return type of a GCC
19244 builtin and then its argument prototype would still apply. */
19245 char clock_gettime ();
19247 main (void)
19249 return clock_gettime ();
19251 return 0;
19253 _ACEOF
19254 for ac_lib in '' rt
19256 if test -z "$ac_lib"; then
19257 ac_res="none required"
19258 else
19259 ac_res=-l$ac_lib
19260 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19262 if ac_fn_c_try_link "$LINENO"
19263 then :
19264 ac_cv_search_clock_gettime=$ac_res
19266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19267 conftest$ac_exeext
19268 if test ${ac_cv_search_clock_gettime+y}
19269 then :
19270 break
19272 done
19273 if test ${ac_cv_search_clock_gettime+y}
19274 then :
19276 else $as_nop
19277 ac_cv_search_clock_gettime=no
19279 rm conftest.$ac_ext
19280 LIBS=$ac_func_search_save_LIBS
19282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19283 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19284 ac_res=$ac_cv_search_clock_gettime
19285 if test "$ac_res" != no
19286 then :
19287 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19289 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19291 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19295 LIBS=$ac_save_LIBS
19297 esac
19299 if test "x$with_ldap" != "xno"
19300 then
19301 if ${LDAP_CFLAGS:+false} :
19302 then :
19303 if test ${PKG_CONFIG+y}
19304 then :
19305 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
19309 if ${LDAP_LIBS:+false} :
19310 then :
19311 if test ${PKG_CONFIG+y}
19312 then :
19313 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
19317 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
19318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
19319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
19320 ac_save_CPPFLAGS=$CPPFLAGS
19321 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
19322 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
19323 if test "x$ac_cv_header_ldap_h" = xyes
19324 then :
19325 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
19328 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
19329 if test "x$ac_cv_header_lber_h" = xyes
19330 then :
19331 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
19335 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
19336 then
19337 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
19339 if test "x$ac_cv_type_LDAPSortKey" = xyes
19340 then :
19341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
19342 printf %s "checking for ldap_initialize in -lldap_r... " >&6; }
19343 if test ${ac_cv_lib_ldap_r_ldap_initialize+y}
19344 then :
19345 printf %s "(cached) " >&6
19346 else $as_nop
19347 ac_check_lib_save_LIBS=$LIBS
19348 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
19349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19350 /* end confdefs.h. */
19352 /* Override any GCC internal prototype to avoid an error.
19353 Use char because int might match the return type of a GCC
19354 builtin and then its argument prototype would still apply. */
19355 char ldap_initialize ();
19357 main (void)
19359 return ldap_initialize ();
19361 return 0;
19363 _ACEOF
19364 if ac_fn_c_try_link "$LINENO"
19365 then :
19366 ac_cv_lib_ldap_r_ldap_initialize=yes
19367 else $as_nop
19368 ac_cv_lib_ldap_r_ldap_initialize=no
19370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19371 conftest$ac_exeext conftest.$ac_ext
19372 LIBS=$ac_check_lib_save_LIBS
19374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
19375 printf "%s\n" "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
19376 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
19377 then :
19378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
19379 printf %s "checking for ber_init in -llber... " >&6; }
19380 if test ${ac_cv_lib_lber_ber_init+y}
19381 then :
19382 printf %s "(cached) " >&6
19383 else $as_nop
19384 ac_check_lib_save_LIBS=$LIBS
19385 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
19386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19387 /* end confdefs.h. */
19389 /* Override any GCC internal prototype to avoid an error.
19390 Use char because int might match the return type of a GCC
19391 builtin and then its argument prototype would still apply. */
19392 char ber_init ();
19394 main (void)
19396 return ber_init ();
19398 return 0;
19400 _ACEOF
19401 if ac_fn_c_try_link "$LINENO"
19402 then :
19403 ac_cv_lib_lber_ber_init=yes
19404 else $as_nop
19405 ac_cv_lib_lber_ber_init=no
19407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19408 conftest$ac_exeext conftest.$ac_ext
19409 LIBS=$ac_check_lib_save_LIBS
19411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
19412 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
19413 if test "x$ac_cv_lib_lber_ber_init" = xyes
19414 then :
19416 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
19418 else $as_nop
19419 LDAP_LIBS=""
19422 else $as_nop
19423 LDAP_LIBS=""
19426 else $as_nop
19427 LDAP_LIBS=""
19430 ac_wine_check_funcs_save_LIBS="$LIBS"
19431 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
19432 ac_fn_c_check_func "$LINENO" "ldap_count_references" "ac_cv_func_ldap_count_references"
19433 if test "x$ac_cv_func_ldap_count_references" = xyes
19434 then :
19435 printf "%s\n" "#define HAVE_LDAP_COUNT_REFERENCES 1" >>confdefs.h
19438 ac_fn_c_check_func "$LINENO" "ldap_first_reference" "ac_cv_func_ldap_first_reference"
19439 if test "x$ac_cv_func_ldap_first_reference" = xyes
19440 then :
19441 printf "%s\n" "#define HAVE_LDAP_FIRST_REFERENCE 1" >>confdefs.h
19444 ac_fn_c_check_func "$LINENO" "ldap_next_reference" "ac_cv_func_ldap_next_reference"
19445 if test "x$ac_cv_func_ldap_next_reference" = xyes
19446 then :
19447 printf "%s\n" "#define HAVE_LDAP_NEXT_REFERENCE 1" >>confdefs.h
19450 ac_fn_c_check_func "$LINENO" "ldap_parse_reference" "ac_cv_func_ldap_parse_reference"
19451 if test "x$ac_cv_func_ldap_parse_reference" = xyes
19452 then :
19453 printf "%s\n" "#define HAVE_LDAP_PARSE_REFERENCE 1" >>confdefs.h
19456 ac_fn_c_check_func "$LINENO" "ldap_parse_sort_control" "ac_cv_func_ldap_parse_sort_control"
19457 if test "x$ac_cv_func_ldap_parse_sort_control" = xyes
19458 then :
19459 printf "%s\n" "#define HAVE_LDAP_PARSE_SORT_CONTROL 1" >>confdefs.h
19462 ac_fn_c_check_func "$LINENO" "ldap_parse_sortresponse_control" "ac_cv_func_ldap_parse_sortresponse_control"
19463 if test "x$ac_cv_func_ldap_parse_sortresponse_control" = xyes
19464 then :
19465 printf "%s\n" "#define HAVE_LDAP_PARSE_SORTRESPONSE_CONTROL 1" >>confdefs.h
19468 ac_fn_c_check_func "$LINENO" "ldap_parse_vlv_control" "ac_cv_func_ldap_parse_vlv_control"
19469 if test "x$ac_cv_func_ldap_parse_vlv_control" = xyes
19470 then :
19471 printf "%s\n" "#define HAVE_LDAP_PARSE_VLV_CONTROL 1" >>confdefs.h
19474 ac_fn_c_check_func "$LINENO" "ldap_parse_vlvresponse_control" "ac_cv_func_ldap_parse_vlvresponse_control"
19475 if test "x$ac_cv_func_ldap_parse_vlvresponse_control" = xyes
19476 then :
19477 printf "%s\n" "#define HAVE_LDAP_PARSE_VLVRESPONSE_CONTROL 1" >>confdefs.h
19481 LIBS="$ac_wine_check_funcs_save_LIBS"
19482 else
19483 LDAP_LIBS=""
19485 CPPFLAGS=$ac_save_CPPFLAGS
19488 if test "x$LDAP_LIBS" = "x"
19489 then :
19490 case "x$with_ldap" in
19491 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
19492 xno) ;;
19493 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
19494 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
19495 esac
19499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
19500 printf %s "checking for sched_setaffinity... " >&6; }
19501 if test ${wine_cv_have_sched_setaffinity+y}
19502 then :
19503 printf %s "(cached) " >&6
19504 else $as_nop
19505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506 /* end confdefs.h. */
19507 #include <sched.h>
19509 main (void)
19511 sched_setaffinity(0, 0, 0);
19513 return 0;
19515 _ACEOF
19516 if ac_fn_c_try_link "$LINENO"
19517 then :
19518 wine_cv_have_sched_setaffinity=yes
19519 else $as_nop
19520 wine_cv_have_sched_setaffinity=no
19522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19523 conftest$ac_exeext conftest.$ac_ext
19525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
19526 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
19527 if test "$wine_cv_have_sched_setaffinity" = "yes"
19528 then
19530 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
19535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
19536 printf %s "checking for inline... " >&6; }
19537 if test ${ac_cv_c_inline+y}
19538 then :
19539 printf %s "(cached) " >&6
19540 else $as_nop
19541 ac_cv_c_inline=no
19542 for ac_kw in inline __inline__ __inline; do
19543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19544 /* end confdefs.h. */
19545 #ifndef __cplusplus
19546 typedef int foo_t;
19547 static $ac_kw foo_t static_foo (void) {return 0; }
19548 $ac_kw foo_t foo (void) {return 0; }
19549 #endif
19551 _ACEOF
19552 if ac_fn_c_try_compile "$LINENO"
19553 then :
19554 ac_cv_c_inline=$ac_kw
19556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19557 test "$ac_cv_c_inline" != no && break
19558 done
19561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
19562 printf "%s\n" "$ac_cv_c_inline" >&6; }
19564 case $ac_cv_c_inline in
19565 inline | yes) ;;
19567 case $ac_cv_c_inline in
19568 no) ac_val=;;
19569 *) ac_val=$ac_cv_c_inline;;
19570 esac
19571 cat >>confdefs.h <<_ACEOF
19572 #ifndef __cplusplus
19573 #define inline $ac_val
19574 #endif
19575 _ACEOF
19577 esac
19579 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
19580 #include <signal.h>
19582 if test "x$ac_cv_type_sigset_t" = xyes
19583 then :
19585 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
19590 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
19592 if test "x$ac_cv_type_request_sense" = xyes
19593 then :
19595 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
19601 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
19602 #ifdef HAVE_SYS_SOCKET_H
19603 #include <sys/socket.h>
19604 #endif
19605 #ifdef HAVE_SYS_SOCKETVAR_H
19606 #include <sys/socketvar.h>
19607 #endif
19608 #ifdef HAVE_NET_ROUTE_H
19609 #include <net/route.h>
19610 #endif
19611 #ifdef HAVE_NETINET_IN_H
19612 #include <netinet/in.h>
19613 #endif
19614 #ifdef HAVE_NETINET_IN_SYSTM_H
19615 #include <netinet/in_systm.h>
19616 #endif
19617 #ifdef HAVE_NETINET_IP_H
19618 #include <netinet/ip.h>
19619 #endif
19620 #ifdef HAVE_NETINET_IN_PCB_H
19621 #include <netinet/in_pcb.h>
19622 #endif
19624 if test "x$ac_cv_type_struct_xinpgen" = xyes
19625 then :
19627 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
19633 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
19634 #include <linux/input.h>
19635 #endif
19637 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
19638 then :
19640 printf "%s\n" "#define HAVE_STRUCT_FF_EFFECT_DIRECTION 1" >>confdefs.h
19646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
19647 printf %s "checking for sigaddset... " >&6; }
19648 if test ${wine_cv_have_sigaddset+y}
19649 then :
19650 printf %s "(cached) " >&6
19651 else $as_nop
19652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19653 /* end confdefs.h. */
19654 #include <signal.h>
19656 main (void)
19658 sigset_t set; sigaddset(&set,SIGTERM);
19660 return 0;
19662 _ACEOF
19663 if ac_fn_c_try_link "$LINENO"
19664 then :
19665 wine_cv_have_sigaddset=yes
19666 else $as_nop
19667 wine_cv_have_sigaddset=no
19669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19670 conftest$ac_exeext conftest.$ac_ext
19672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
19673 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
19674 if test "$wine_cv_have_sigaddset" = "yes"
19675 then
19677 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
19682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
19683 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
19684 if test ${wine_cv_linux_gethostbyname_r_6+y}
19685 then :
19686 printf %s "(cached) " >&6
19687 else $as_nop
19688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19689 /* end confdefs.h. */
19690 #include <netdb.h>
19692 main (void)
19695 char *name=0;
19696 struct hostent he;
19697 struct hostent *result;
19698 char *buf=0;
19699 int bufsize=0;
19700 int errnr;
19701 char *addr=0;
19702 int addrlen=0;
19703 int addrtype=0;
19704 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
19705 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
19708 return 0;
19710 _ACEOF
19711 if ac_fn_c_try_link "$LINENO"
19712 then :
19713 wine_cv_linux_gethostbyname_r_6=yes
19714 else $as_nop
19715 wine_cv_linux_gethostbyname_r_6=no
19718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19719 conftest$ac_exeext conftest.$ac_ext
19722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
19723 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
19724 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
19725 then
19727 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
19731 if test "$ac_cv_header_linux_joystick_h" = "yes"
19732 then
19733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
19734 printf %s "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
19735 if test ${wine_cv_linux_joystick_22_api+y}
19736 then :
19737 printf %s "(cached) " >&6
19738 else $as_nop
19739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19740 /* end confdefs.h. */
19742 #include <sys/ioctl.h>
19743 #include <sys/types.h>
19744 #include <linux/joystick.h>
19746 struct js_event blub;
19747 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
19748 #error "no 2.2 header"
19749 #endif
19752 main (void)
19754 /*empty*/
19756 return 0;
19758 _ACEOF
19759 if ac_fn_c_try_compile "$LINENO"
19760 then :
19761 wine_cv_linux_joystick_22_api=yes
19762 else $as_nop
19763 wine_cv_linux_joystick_22_api=no
19765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
19769 printf "%s\n" "$wine_cv_linux_joystick_22_api" >&6; }
19770 if test "$wine_cv_linux_joystick_22_api" = "yes"
19771 then
19773 printf "%s\n" "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
19778 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19779 #ifdef HAVE_SYS_SOCKET_H
19780 # include <sys/socket.h>
19781 #endif
19782 #ifdef HAVE_SYS_UN_H
19783 # include <sys/un.h>
19784 #endif
19786 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
19787 then :
19789 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
19793 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19794 #ifdef HAVE_SYS_SOCKET_H
19795 # include <sys/socket.h>
19796 #endif
19797 #ifdef HAVE_SYS_UN_H
19798 # include <sys/un.h>
19799 #endif
19801 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
19802 then :
19804 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
19810 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19811 #ifdef HAVE_SCSI_SG_H
19812 #include <scsi/sg.h>
19813 #endif
19815 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
19816 then :
19818 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
19822 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>
19823 #ifdef HAVE_SCSI_SG_H
19824 #include <scsi/sg.h>
19825 #endif
19827 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
19828 then :
19830 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
19836 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19838 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
19839 then :
19841 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
19847 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19848 #ifdef HAVE_SYS_MTIO_H
19849 #include <sys/mtio.h>
19850 #endif
19852 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
19853 then :
19855 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
19859 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19860 #ifdef HAVE_SYS_MTIO_H
19861 #include <sys/mtio.h>
19862 #endif
19864 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
19865 then :
19867 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
19871 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19872 #ifdef HAVE_SYS_MTIO_H
19873 #include <sys/mtio.h>
19874 #endif
19876 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
19877 then :
19879 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
19885 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19886 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
19887 then :
19889 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
19893 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19894 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
19895 then :
19897 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
19901 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19902 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
19903 then :
19905 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
19909 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19910 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
19911 then :
19913 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
19917 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19918 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
19919 then :
19921 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
19925 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19926 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
19927 then :
19929 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
19933 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19934 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
19935 then :
19937 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
19941 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19942 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
19943 then :
19945 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
19949 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19950 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
19951 then :
19953 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
19957 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19958 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
19959 then :
19961 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
19965 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19966 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
19967 then :
19969 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
19975 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
19976 #include <sys/types.h>
19977 #endif
19978 #ifdef HAVE_NETINET_IN_H
19979 #include <netinet/in.h>
19980 #endif
19982 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
19983 then :
19985 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
19991 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19992 #include <sys/types.h>
19993 #endif
19994 #ifdef HAVE_NETINET_IN_H
19995 #include <netinet/in.h>
19996 #endif
19997 #ifdef HAVE_RESOLV_H
19998 #include <resolv.h>
19999 #endif
20001 if test "x$ac_cv_type_struct___res_state" = xyes
20002 then :
20004 printf "%s\n" "#define HAVE_STRUCT___RES_STATE 1" >>confdefs.h
20010 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
20011 #include <resolv.h>
20012 #endif
20014 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20015 then :
20017 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20023 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
20024 #include <sys/types.h>
20025 #endif
20026 #ifdef HAVE_NETINET_IN_H
20027 #include <netinet/in.h>
20028 #endif
20029 #ifdef HAVE_NETINET_IP_H
20030 #include <netinet/ip.h>
20031 #endif
20032 #ifdef HAVE_NETINET_IP_ICMP_H
20033 #include <netinet/ip_icmp.h>
20034 #endif
20035 #ifdef HAVE_NETINET_ICMP_VAR_H
20036 #include <netinet/icmp_var.h>
20037 #endif
20039 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
20040 then :
20042 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1" >>confdefs.h
20048 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
20049 #include <sys/types.h>
20050 #endif
20051 #ifdef HAVE_ALIAS_H
20052 #include <alias.h>
20053 #endif
20054 #ifdef HAVE_SYS_SOCKET_H
20055 #include <sys/socket.h>
20056 #endif
20057 #ifdef HAVE_SYS_SOCKETVAR_H
20058 #include <sys/socketvar.h>
20059 #endif
20060 #ifdef HAVE_SYS_TIMEOUT_H
20061 #include <sys/timeout.h>
20062 #endif
20063 #ifdef HAVE_NETINET_IN_H
20064 #include <netinet/in.h>
20065 #endif
20066 #ifdef HAVE_NETINET_IN_SYSTM_H
20067 #include <netinet/in_systm.h>
20068 #endif
20069 #ifdef HAVE_NETINET_IP_H
20070 #include <netinet/ip.h>
20071 #endif
20072 #ifdef HAVE_NETINET_IP_VAR_H
20073 #include <netinet/ip_var.h>
20074 #endif
20075 #ifdef HAVE_NETINET_IP_ICMP_H
20076 #include <netinet/ip_icmp.h>
20077 #endif
20078 #ifdef HAVE_NETINET_ICMP_VAR_H
20079 #include <netinet/icmp_var.h>
20080 #endif
20082 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
20083 then :
20085 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1" >>confdefs.h
20091 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20092 #include <netinet/in.h>
20093 #endif
20095 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20096 then :
20098 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20104 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
20105 #include <sys/types.h>
20106 #endif
20107 #ifdef HAVE_SYS_SOCKETVAR_H
20108 #include <sys/socketvar.h>
20109 #endif
20110 #ifdef HAVE_NETINET_IN_H
20111 #include <netinet/in.h>
20112 #endif
20113 #ifdef HAVE_NETINET_IP_VAR_H
20114 #include <netinet/ip_var.h>
20115 #endif
20117 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20118 then :
20120 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20126 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
20127 #include <netinet/ip_var.h>
20128 #endif
20130 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20131 then :
20133 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20139 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
20140 #include <sys/types.h>
20141 #endif
20142 #ifdef HAVE_SYS_SOCKETVAR_H
20143 #include <sys/socketvar.h>
20144 #endif
20145 #ifdef HAVE_NETINET_IN_H
20146 #include <netinet/in.h>
20147 #endif
20148 #ifdef HAVE_NETINET_TCP_H
20149 #include <netinet/tcp.h>
20150 #endif
20151 #ifdef HAVE_NETINET_TCP_VAR_H
20152 #include <netinet/tcp_var.h>
20153 #endif
20155 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20156 then :
20158 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20164 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
20165 #include <netinet/tcp_var.h>
20166 #endif
20168 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20169 then :
20171 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20177 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
20178 #include <sys/types.h>
20179 #endif
20180 #ifdef HAVE_NETINET_IN_H
20181 #include <netinet/in.h>
20182 #endif
20183 #ifdef HAVE_NETINET_IP_VAR_H
20184 #include <netinet/ip_var.h>
20185 #endif
20186 #ifdef HAVE_NETINET_UDP_H
20187 #include <netinet/udp.h>
20188 #endif
20189 #ifdef HAVE_NETINET_UDP_VAR_H
20190 #include <netinet/udp_var.h>
20191 #endif
20193 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20194 then :
20196 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20202 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
20203 #include <sys/types.h>
20204 #endif
20205 #ifdef HAVE_NET_IF_H
20206 # include <net/if.h>
20207 #endif
20209 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20210 then :
20212 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20218 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20219 # include <sys/sysinfo.h>
20220 #endif
20222 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20223 then :
20225 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20229 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20230 # include <sys/sysinfo.h>
20231 #endif
20233 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20234 then :
20236 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20242 ac_save_LIBS="$LIBS"
20243 LIBS="$LIBS -lm"
20244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
20245 printf %s "checking for isfinite... " >&6; }
20246 if test ${ac_cv_have_isfinite+y}
20247 then :
20248 printf %s "(cached) " >&6
20249 else $as_nop
20250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20251 /* end confdefs.h. */
20252 #include <math.h>
20254 main (void)
20256 float f = 0.0; return isfinite(f)
20258 return 0;
20260 _ACEOF
20261 if ac_fn_c_try_link "$LINENO"
20262 then :
20263 ac_cv_have_isfinite="yes"
20264 else $as_nop
20265 ac_cv_have_isfinite="no"
20267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20268 conftest$ac_exeext conftest.$ac_ext
20270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
20271 printf "%s\n" "$ac_cv_have_isfinite" >&6; }
20272 if test "$ac_cv_have_isfinite" = "yes"
20273 then
20275 printf "%s\n" "#define HAVE_ISFINITE 1" >>confdefs.h
20279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
20280 printf %s "checking for isinf... " >&6; }
20281 if test ${ac_cv_have_isinf+y}
20282 then :
20283 printf %s "(cached) " >&6
20284 else $as_nop
20285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20286 /* end confdefs.h. */
20287 #include <math.h>
20289 main (void)
20291 float f = 0.0; return isinf(f)
20293 return 0;
20295 _ACEOF
20296 if ac_fn_c_try_link "$LINENO"
20297 then :
20298 ac_cv_have_isinf="yes"
20299 else $as_nop
20300 ac_cv_have_isinf="no"
20302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20303 conftest$ac_exeext conftest.$ac_ext
20305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
20306 printf "%s\n" "$ac_cv_have_isinf" >&6; }
20307 if test "$ac_cv_have_isinf" = "yes"
20308 then
20310 printf "%s\n" "#define HAVE_ISINF 1" >>confdefs.h
20314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
20315 printf %s "checking for isnan... " >&6; }
20316 if test ${ac_cv_have_isnan+y}
20317 then :
20318 printf %s "(cached) " >&6
20319 else $as_nop
20320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20321 /* end confdefs.h. */
20322 #include <math.h>
20324 main (void)
20326 float f = 0.0; return isnan(f)
20328 return 0;
20330 _ACEOF
20331 if ac_fn_c_try_link "$LINENO"
20332 then :
20333 ac_cv_have_isnan="yes"
20334 else $as_nop
20335 ac_cv_have_isnan="no"
20337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20338 conftest$ac_exeext conftest.$ac_ext
20340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
20341 printf "%s\n" "$ac_cv_have_isnan" >&6; }
20342 if test "$ac_cv_have_isnan" = "yes"
20343 then
20345 printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h
20349 LIBS="$ac_save_LIBS"
20351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20352 printf %s "checking for __builtin_popcount... " >&6; }
20353 if test ${ac_cv_have___builtin_popcount+y}
20354 then :
20355 printf %s "(cached) " >&6
20356 else $as_nop
20357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20358 /* end confdefs.h. */
20361 main (void)
20363 return __builtin_popcount(1)
20365 return 0;
20367 _ACEOF
20368 if ac_fn_c_try_link "$LINENO"
20369 then :
20370 ac_cv_have___builtin_popcount="yes"
20371 else $as_nop
20372 ac_cv_have___builtin_popcount="no"
20374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20375 conftest$ac_exeext conftest.$ac_ext
20377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20378 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20379 if test "$ac_cv_have___builtin_popcount" = "yes"
20380 then
20382 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20387 printf %s "checking for __clear_cache... " >&6; }
20388 if test ${ac_cv_have___clear_cache+y}
20389 then :
20390 printf %s "(cached) " >&6
20391 else $as_nop
20392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20393 /* end confdefs.h. */
20396 main (void)
20398 __clear_cache((void*)0, (void*)0); return 0;
20400 return 0;
20402 _ACEOF
20403 if ac_fn_c_try_link "$LINENO"
20404 then :
20405 ac_cv_have___clear_cache="yes"
20406 else $as_nop
20407 ac_cv_have___clear_cache="no"
20409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20410 conftest$ac_exeext conftest.$ac_ext
20412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20413 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20414 if test "$ac_cv_have___clear_cache" = "yes"
20415 then
20417 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20422 case $host_cpu in
20423 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20424 printf %s "checking whether we need to define __i386__... " >&6; }
20425 if test ${ac_cv_cpp_def___i386__+y}
20426 then :
20427 printf %s "(cached) " >&6
20428 else $as_nop
20429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20430 /* end confdefs.h. */
20431 #ifndef __i386__
20433 #endif
20434 _ACEOF
20435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20436 $EGREP "yes" >/dev/null 2>&1
20437 then :
20438 ac_cv_cpp_def___i386__=yes
20439 else $as_nop
20440 ac_cv_cpp_def___i386__=no
20442 rm -rf conftest*
20445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20446 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20447 if test "x$ac_cv_cpp_def___i386__" = xyes
20448 then :
20449 CFLAGS="$CFLAGS -D__i386__"
20450 LINTFLAGS="$LINTFLAGS -D__i386__"
20451 fi ;;
20452 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20453 printf %s "checking whether we need to define __x86_64__... " >&6; }
20454 if test ${ac_cv_cpp_def___x86_64__+y}
20455 then :
20456 printf %s "(cached) " >&6
20457 else $as_nop
20458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20459 /* end confdefs.h. */
20460 #ifndef __x86_64__
20462 #endif
20463 _ACEOF
20464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20465 $EGREP "yes" >/dev/null 2>&1
20466 then :
20467 ac_cv_cpp_def___x86_64__=yes
20468 else $as_nop
20469 ac_cv_cpp_def___x86_64__=no
20471 rm -rf conftest*
20474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20475 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20476 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20477 then :
20478 CFLAGS="$CFLAGS -D__x86_64__"
20479 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20480 fi ;;
20481 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20482 printf %s "checking whether we need to define __sparc64__... " >&6; }
20483 if test ${ac_cv_cpp_def___sparc64__+y}
20484 then :
20485 printf %s "(cached) " >&6
20486 else $as_nop
20487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20488 /* end confdefs.h. */
20489 #ifndef __sparc64__
20491 #endif
20492 _ACEOF
20493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20494 $EGREP "yes" >/dev/null 2>&1
20495 then :
20496 ac_cv_cpp_def___sparc64__=yes
20497 else $as_nop
20498 ac_cv_cpp_def___sparc64__=no
20500 rm -rf conftest*
20503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20504 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20505 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20506 then :
20507 CFLAGS="$CFLAGS -D__sparc64__"
20508 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20509 fi ;;
20510 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20511 printf %s "checking whether we need to define __sparc__... " >&6; }
20512 if test ${ac_cv_cpp_def___sparc__+y}
20513 then :
20514 printf %s "(cached) " >&6
20515 else $as_nop
20516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20517 /* end confdefs.h. */
20518 #ifndef __sparc__
20520 #endif
20521 _ACEOF
20522 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20523 $EGREP "yes" >/dev/null 2>&1
20524 then :
20525 ac_cv_cpp_def___sparc__=yes
20526 else $as_nop
20527 ac_cv_cpp_def___sparc__=no
20529 rm -rf conftest*
20532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20533 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20534 if test "x$ac_cv_cpp_def___sparc__" = xyes
20535 then :
20536 CFLAGS="$CFLAGS -D__sparc__"
20537 LINTFLAGS="$LINTFLAGS -D__sparc__"
20538 fi ;;
20539 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20540 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20541 if test ${ac_cv_cpp_def___powerpc64__+y}
20542 then :
20543 printf %s "(cached) " >&6
20544 else $as_nop
20545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20546 /* end confdefs.h. */
20547 #ifndef __powerpc64__
20549 #endif
20550 _ACEOF
20551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20552 $EGREP "yes" >/dev/null 2>&1
20553 then :
20554 ac_cv_cpp_def___powerpc64__=yes
20555 else $as_nop
20556 ac_cv_cpp_def___powerpc64__=no
20558 rm -rf conftest*
20561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20562 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20563 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20564 then :
20565 CFLAGS="$CFLAGS -D__powerpc64__"
20566 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20567 fi ;;
20568 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20569 printf %s "checking whether we need to define __powerpc__... " >&6; }
20570 if test ${ac_cv_cpp_def___powerpc__+y}
20571 then :
20572 printf %s "(cached) " >&6
20573 else $as_nop
20574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20575 /* end confdefs.h. */
20576 #ifndef __powerpc__
20578 #endif
20579 _ACEOF
20580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20581 $EGREP "yes" >/dev/null 2>&1
20582 then :
20583 ac_cv_cpp_def___powerpc__=yes
20584 else $as_nop
20585 ac_cv_cpp_def___powerpc__=no
20587 rm -rf conftest*
20590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20591 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20592 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20593 then :
20594 CFLAGS="$CFLAGS -D__powerpc__"
20595 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20596 fi ;;
20597 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20598 printf %s "checking whether we need to define __aarch64__... " >&6; }
20599 if test ${ac_cv_cpp_def___aarch64__+y}
20600 then :
20601 printf %s "(cached) " >&6
20602 else $as_nop
20603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20604 /* end confdefs.h. */
20605 #ifndef __aarch64__
20607 #endif
20608 _ACEOF
20609 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20610 $EGREP "yes" >/dev/null 2>&1
20611 then :
20612 ac_cv_cpp_def___aarch64__=yes
20613 else $as_nop
20614 ac_cv_cpp_def___aarch64__=no
20616 rm -rf conftest*
20619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20620 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20621 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20622 then :
20623 CFLAGS="$CFLAGS -D__aarch64__"
20624 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20625 fi ;;
20626 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20627 printf %s "checking whether we need to define __arm__... " >&6; }
20628 if test ${ac_cv_cpp_def___arm__+y}
20629 then :
20630 printf %s "(cached) " >&6
20631 else $as_nop
20632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20633 /* end confdefs.h. */
20634 #ifndef __arm__
20636 #endif
20637 _ACEOF
20638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20639 $EGREP "yes" >/dev/null 2>&1
20640 then :
20641 ac_cv_cpp_def___arm__=yes
20642 else $as_nop
20643 ac_cv_cpp_def___arm__=no
20645 rm -rf conftest*
20648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20649 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20650 if test "x$ac_cv_cpp_def___arm__" = xyes
20651 then :
20652 CFLAGS="$CFLAGS -D__arm__"
20653 LINTFLAGS="$LINTFLAGS -D__arm__"
20654 fi ;;
20655 esac
20657 case $host_vendor in
20658 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20659 printf %s "checking whether we need to define __sun__... " >&6; }
20660 if test ${ac_cv_cpp_def___sun__+y}
20661 then :
20662 printf %s "(cached) " >&6
20663 else $as_nop
20664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20665 /* end confdefs.h. */
20666 #ifndef __sun__
20668 #endif
20669 _ACEOF
20670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20671 $EGREP "yes" >/dev/null 2>&1
20672 then :
20673 ac_cv_cpp_def___sun__=yes
20674 else $as_nop
20675 ac_cv_cpp_def___sun__=no
20677 rm -rf conftest*
20680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20681 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20682 if test "x$ac_cv_cpp_def___sun__" = xyes
20683 then :
20684 CFLAGS="$CFLAGS -D__sun__"
20685 LINTFLAGS="$LINTFLAGS -D__sun__"
20686 fi ;;
20687 esac
20693 ac_config_commands="$ac_config_commands include/stamp-h"
20695 printf %s "creating Makefile rules..." >&6
20697 makedep_flags=""
20698 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20700 wine_srcdir=
20701 test "$srcdir" = . || wine_srcdir="$srcdir/"
20703 ac_config_links="$ac_config_links wine:tools/winewrapper"
20704 wine_fn_config_symlink wine
20705 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20706 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20707 wine_fn_config_symlink wine64
20710 wine_fn_config_makefile dlls/acledit enable_acledit
20711 wine_fn_config_makefile dlls/aclui enable_aclui
20712 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20713 wine_fn_config_makefile dlls/activeds enable_activeds
20714 wine_fn_config_makefile dlls/activeds/tests enable_tests
20715 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20716 wine_fn_config_makefile dlls/adsldp enable_adsldp
20717 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20718 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20719 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20720 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20721 wine_fn_config_makefile dlls/advpack enable_advpack
20722 wine_fn_config_makefile dlls/advpack/tests enable_tests
20723 wine_fn_config_makefile dlls/amsi enable_amsi
20724 wine_fn_config_makefile dlls/amstream enable_amstream
20725 wine_fn_config_makefile dlls/amstream/tests enable_tests
20726 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20727 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20728 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20729 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20730 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20731 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20732 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20733 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20734 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20735 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20736 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20737 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20738 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20739 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20740 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20741 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
20742 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20743 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20744 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20745 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20746 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20747 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20748 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20749 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20750 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20751 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20752 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20753 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20754 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
20755 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20756 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20757 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20758 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20759 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20760 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20761 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20762 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20763 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20764 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20765 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20766 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20767 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20768 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20769 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20770 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20771 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20772 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20773 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20774 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20775 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20776 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20777 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20778 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20779 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20780 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
20781 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20782 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20783 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20784 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20785 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20786 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20787 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20788 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20789 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20790 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20791 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20792 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20793 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20794 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20795 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20796 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20797 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20798 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20799 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20800 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20801 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20802 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20803 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20804 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20805 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20806 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20807 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20808 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20809 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20810 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20811 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20812 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20813 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20814 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20815 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20816 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20817 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20818 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
20819 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20820 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20821 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20822 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20823 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20824 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
20825 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20826 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20827 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
20828 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20829 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20830 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20831 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20832 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20833 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20834 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20835 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20836 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20837 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20838 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20839 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20840 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20841 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20842 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20843 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20844 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20845 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20846 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20847 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20848 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20849 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20850 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20851 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20852 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20853 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20854 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20855 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20856 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20857 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20858 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20859 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20860 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20861 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20862 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20863 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20864 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20865 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20866 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20867 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20868 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20869 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20870 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20871 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20872 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20873 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20874 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20875 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20876 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20877 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20878 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20879 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20880 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20881 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20882 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20883 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20884 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20885 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20886 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20887 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20888 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20889 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20890 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20891 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20892 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20893 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20894 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20895 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20896 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20897 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20898 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20899 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20900 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20901 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20902 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20903 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20904 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20905 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20906 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20907 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20908 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20909 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20910 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20911 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20912 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20913 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20914 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20915 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20916 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20917 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20918 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20919 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20920 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20921 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20922 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20923 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20924 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20925 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20926 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20927 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20928 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20929 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20930 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20931 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20932 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20933 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20934 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20935 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20936 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20937 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20938 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20939 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20940 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20941 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20942 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20943 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20944 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20945 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20946 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20947 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20948 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20949 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20950 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20951 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20952 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20953 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20954 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20955 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20956 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20957 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20958 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20959 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20960 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20961 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20962 wine_fn_config_makefile dlls/apphelp enable_apphelp
20963 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20964 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20965 wine_fn_config_makefile dlls/atl enable_atl
20966 wine_fn_config_makefile dlls/atl/tests enable_tests
20967 wine_fn_config_makefile dlls/atl100 enable_atl100
20968 wine_fn_config_makefile dlls/atl100/tests enable_tests
20969 wine_fn_config_makefile dlls/atl110 enable_atl110
20970 wine_fn_config_makefile dlls/atl80 enable_atl80
20971 wine_fn_config_makefile dlls/atl80/tests enable_tests
20972 wine_fn_config_makefile dlls/atl90 enable_atl90
20973 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20974 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20975 wine_fn_config_makefile dlls/atmlib enable_atmlib
20976 wine_fn_config_makefile dlls/authz enable_authz
20977 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20978 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20979 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20980 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20981 wine_fn_config_makefile dlls/avrt enable_avrt
20982 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20983 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20984 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20985 wine_fn_config_makefile dlls/browseui enable_browseui
20986 wine_fn_config_makefile dlls/browseui/tests enable_tests
20987 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20988 wine_fn_config_makefile dlls/cabinet enable_cabinet
20989 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20990 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20991 wine_fn_config_makefile dlls/cards enable_cards
20992 wine_fn_config_makefile dlls/cdosys enable_cdosys
20993 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20994 wine_fn_config_makefile dlls/clusapi enable_clusapi
20995 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
20996 wine_fn_config_makefile dlls/combase enable_combase
20997 wine_fn_config_makefile dlls/combase/tests enable_tests
20998 wine_fn_config_makefile dlls/comcat enable_comcat
20999 wine_fn_config_makefile dlls/comcat/tests enable_tests
21000 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21001 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21002 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21003 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21004 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21005 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21006 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21007 wine_fn_config_makefile dlls/compstui enable_compstui
21008 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21009 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21010 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21011 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21012 wine_fn_config_makefile dlls/connect enable_connect
21013 wine_fn_config_makefile dlls/credui enable_credui
21014 wine_fn_config_makefile dlls/credui/tests enable_tests
21015 wine_fn_config_makefile dlls/crtdll enable_crtdll
21016 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21017 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21018 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21019 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21020 wine_fn_config_makefile dlls/cryptext enable_cryptext
21021 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21022 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21023 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21024 wine_fn_config_makefile dlls/cryptui enable_cryptui
21025 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21026 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21027 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21028 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21029 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21030 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21031 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21032 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21033 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21034 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21035 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21036 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21037 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21038 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21039 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21040 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21041 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21042 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21043 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21044 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21045 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21046 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21047 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21048 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21049 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21050 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21051 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21052 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21053 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21054 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21055 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21056 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21057 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21058 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21059 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21060 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21061 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21062 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21063 wine_fn_config_makefile dlls/d3dim enable_d3dim
21064 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21065 wine_fn_config_makefile dlls/d3drm enable_d3drm
21066 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21067 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21068 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21069 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21070 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21071 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21072 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21073 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21074 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21075 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21076 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21077 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21078 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21079 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21080 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21081 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21082 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21083 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21084 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21085 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21086 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21087 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21088 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21089 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21090 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21091 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21092 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21093 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21094 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21095 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21096 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21097 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21098 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21099 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21100 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21101 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21102 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21103 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21104 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21105 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21106 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21107 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21108 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21109 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21110 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21111 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21112 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21113 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21114 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21115 wine_fn_config_makefile dlls/davclnt enable_davclnt
21116 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21117 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21118 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21119 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21120 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21121 wine_fn_config_makefile dlls/dcomp enable_dcomp
21122 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21123 wine_fn_config_makefile dlls/ddraw enable_ddraw
21124 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21125 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21126 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21127 wine_fn_config_makefile dlls/devenum enable_devenum
21128 wine_fn_config_makefile dlls/devenum/tests enable_tests
21129 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21130 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21131 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21132 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21133 wine_fn_config_makefile dlls/difxapi enable_difxapi
21134 wine_fn_config_makefile dlls/dinput enable_dinput
21135 wine_fn_config_makefile dlls/dinput/tests enable_tests
21136 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21137 wine_fn_config_makefile dlls/dinput8/tests enable_tests
21138 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21139 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21140 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21141 wine_fn_config_makefile dlls/dispex enable_dispex
21142 wine_fn_config_makefile dlls/dispex/tests enable_tests
21143 wine_fn_config_makefile dlls/display.drv16 enable_win16
21144 wine_fn_config_makefile dlls/dmband enable_dmband
21145 wine_fn_config_makefile dlls/dmband/tests enable_tests
21146 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21147 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21148 wine_fn_config_makefile dlls/dmime enable_dmime
21149 wine_fn_config_makefile dlls/dmime/tests enable_tests
21150 wine_fn_config_makefile dlls/dmloader enable_dmloader
21151 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21152 wine_fn_config_makefile dlls/dmscript enable_dmscript
21153 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21154 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21155 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21156 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21157 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21158 wine_fn_config_makefile dlls/dmusic enable_dmusic
21159 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21160 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21161 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21162 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21163 wine_fn_config_makefile dlls/dplay enable_dplay
21164 wine_fn_config_makefile dlls/dplayx enable_dplayx
21165 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21166 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21167 wine_fn_config_makefile dlls/dpnet enable_dpnet
21168 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21169 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21170 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21171 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21172 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21173 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21174 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21175 wine_fn_config_makefile dlls/drmclien enable_drmclien
21176 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21177 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21178 wine_fn_config_makefile dlls/dsound enable_dsound
21179 wine_fn_config_makefile dlls/dsound/tests enable_tests
21180 wine_fn_config_makefile dlls/dsquery enable_dsquery
21181 wine_fn_config_makefile dlls/dssenh enable_dssenh
21182 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21183 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21184 wine_fn_config_makefile dlls/dswave enable_dswave
21185 wine_fn_config_makefile dlls/dswave/tests enable_tests
21186 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21187 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21188 wine_fn_config_makefile dlls/dwrite enable_dwrite
21189 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21190 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21191 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21192 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21193 wine_fn_config_makefile dlls/dxgi enable_dxgi
21194 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21195 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21196 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21197 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21198 wine_fn_config_makefile dlls/esent enable_esent
21199 wine_fn_config_makefile dlls/evr enable_evr
21200 wine_fn_config_makefile dlls/evr/tests enable_tests
21201 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21202 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21203 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
21204 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
21205 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
21206 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
21207 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
21208 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
21209 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
21210 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
21211 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
21212 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
21213 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
21214 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
21215 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
21216 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
21217 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
21218 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
21219 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
21220 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
21221 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
21222 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
21223 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
21224 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
21225 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
21226 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
21227 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
21228 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
21229 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
21230 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
21231 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
21232 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
21233 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
21234 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
21235 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
21236 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
21237 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
21238 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
21239 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
21240 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
21241 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
21242 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
21243 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
21244 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
21245 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
21246 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
21247 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
21248 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
21249 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
21250 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
21251 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
21252 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
21253 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
21254 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
21255 wine_fn_config_makefile dlls/faultrep enable_faultrep
21256 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21257 wine_fn_config_makefile dlls/feclient enable_feclient
21258 wine_fn_config_makefile dlls/fltlib enable_fltlib
21259 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21260 wine_fn_config_makefile dlls/fntcache enable_fntcache
21261 wine_fn_config_makefile dlls/fontsub enable_fontsub
21262 wine_fn_config_makefile dlls/fusion enable_fusion
21263 wine_fn_config_makefile dlls/fusion/tests enable_tests
21264 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21265 wine_fn_config_makefile dlls/gameux enable_gameux
21266 wine_fn_config_makefile dlls/gameux/tests enable_tests
21267 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21268 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21269 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21270 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21271 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21272 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21273 wine_fn_config_makefile dlls/glu32 enable_glu32
21274 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21275 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21276 wine_fn_config_makefile dlls/hal enable_hal
21277 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21278 wine_fn_config_makefile dlls/hid enable_hid
21279 wine_fn_config_makefile dlls/hid/tests enable_tests
21280 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21281 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21282 wine_fn_config_makefile dlls/hlink enable_hlink
21283 wine_fn_config_makefile dlls/hlink/tests enable_tests
21284 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21285 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21286 wine_fn_config_makefile dlls/http.sys enable_http_sys
21287 wine_fn_config_makefile dlls/httpapi enable_httpapi
21288 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21289 wine_fn_config_makefile dlls/iccvid enable_iccvid
21290 wine_fn_config_makefile dlls/icmp enable_icmp
21291 wine_fn_config_makefile dlls/ieframe enable_ieframe
21292 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21293 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21294 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21295 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21296 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21297 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21298 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21299 wine_fn_config_makefile dlls/imm32 enable_imm32
21300 wine_fn_config_makefile dlls/imm32/tests enable_tests
21301 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21302 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21303 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21304 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21305 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21306 wine_fn_config_makefile dlls/infosoft enable_infosoft
21307 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21308 wine_fn_config_makefile dlls/initpki enable_initpki
21309 wine_fn_config_makefile dlls/inkobj enable_inkobj
21310 wine_fn_config_makefile dlls/inseng enable_inseng
21311 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21312 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21313 wine_fn_config_makefile dlls/iprop enable_iprop
21314 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21315 wine_fn_config_makefile dlls/itircl enable_itircl
21316 wine_fn_config_makefile dlls/itss enable_itss
21317 wine_fn_config_makefile dlls/itss/tests enable_tests
21318 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21319 wine_fn_config_makefile dlls/jscript enable_jscript
21320 wine_fn_config_makefile dlls/jscript/tests enable_tests
21321 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21322 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21323 wine_fn_config_makefile dlls/kerberos enable_kerberos
21324 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21325 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21326 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21327 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21328 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21329 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21330 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21331 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21332 wine_fn_config_makefile dlls/ksuser enable_ksuser
21333 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21334 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21335 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21336 wine_fn_config_makefile dlls/loadperf enable_loadperf
21337 wine_fn_config_makefile dlls/localspl enable_localspl
21338 wine_fn_config_makefile dlls/localspl/tests enable_tests
21339 wine_fn_config_makefile dlls/localui enable_localui
21340 wine_fn_config_makefile dlls/localui/tests enable_tests
21341 wine_fn_config_makefile dlls/lz32 enable_lz32
21342 wine_fn_config_makefile dlls/lz32/tests enable_tests
21343 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21344 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21345 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21346 wine_fn_config_makefile dlls/mapistub enable_mapistub
21347 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21348 wine_fn_config_makefile dlls/mcicda enable_mcicda
21349 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21350 wine_fn_config_makefile dlls/mciseq enable_mciseq
21351 wine_fn_config_makefile dlls/mciwave enable_mciwave
21352 wine_fn_config_makefile dlls/mf enable_mf
21353 wine_fn_config_makefile dlls/mf/tests enable_tests
21354 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21355 wine_fn_config_makefile dlls/mferror enable_mferror
21356 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21357 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21358 wine_fn_config_makefile dlls/mfplat enable_mfplat
21359 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21360 wine_fn_config_makefile dlls/mfplay enable_mfplay
21361 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21362 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21363 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21364 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21365 wine_fn_config_makefile dlls/midimap enable_midimap
21366 wine_fn_config_makefile dlls/mlang enable_mlang
21367 wine_fn_config_makefile dlls/mlang/tests enable_tests
21368 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21369 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21370 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21371 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21372 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21373 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21374 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21375 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21376 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21377 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21378 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21379 wine_fn_config_makefile dlls/mpr enable_mpr
21380 wine_fn_config_makefile dlls/mpr/tests enable_tests
21381 wine_fn_config_makefile dlls/mprapi enable_mprapi
21382 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21383 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21384 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21385 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21386 wine_fn_config_makefile dlls/msado15 enable_msado15
21387 wine_fn_config_makefile dlls/msado15/tests enable_tests
21388 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21389 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21390 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21391 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21392 wine_fn_config_makefile dlls/mscms enable_mscms
21393 wine_fn_config_makefile dlls/mscms/tests enable_tests
21394 wine_fn_config_makefile dlls/mscoree enable_mscoree
21395 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21396 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21397 wine_fn_config_makefile dlls/msctf enable_msctf
21398 wine_fn_config_makefile dlls/msctf/tests enable_tests
21399 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21400 wine_fn_config_makefile dlls/msctfp enable_msctfp
21401 wine_fn_config_makefile dlls/msdaps enable_msdaps
21402 wine_fn_config_makefile dlls/msdasql enable_msdasql
21403 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21404 wine_fn_config_makefile dlls/msdelta enable_msdelta
21405 wine_fn_config_makefile dlls/msdmo enable_msdmo
21406 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21407 wine_fn_config_makefile dlls/msdrm enable_msdrm
21408 wine_fn_config_makefile dlls/msftedit enable_msftedit
21409 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21410 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21411 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21412 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21413 wine_fn_config_makefile dlls/mshtml enable_mshtml
21414 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21415 wine_fn_config_makefile dlls/msi enable_msi
21416 wine_fn_config_makefile dlls/msi/tests enable_tests
21417 wine_fn_config_makefile dlls/msident enable_msident
21418 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21419 wine_fn_config_makefile dlls/msimsg enable_msimsg
21420 wine_fn_config_makefile dlls/msimtf enable_msimtf
21421 wine_fn_config_makefile dlls/msisip enable_msisip
21422 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21423 wine_fn_config_makefile dlls/msls31 enable_msls31
21424 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21425 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21426 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21427 wine_fn_config_makefile dlls/msports enable_msports
21428 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21429 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21430 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21431 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21432 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21433 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21434 wine_fn_config_makefile dlls/mstask enable_mstask
21435 wine_fn_config_makefile dlls/mstask/tests enable_tests
21436 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21437 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21438 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21439 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21440 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21441 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21442 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21443 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21444 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21445 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21446 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21447 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21448 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21449 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21450 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21451 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21452 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21453 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21454 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21455 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21456 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21457 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21458 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21459 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21460 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21461 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21462 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21463 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21464 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21465 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21466 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21467 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21468 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21469 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21470 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21471 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21472 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21473 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21474 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21475 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21476 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21477 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21478 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21479 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21480 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21481 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21482 wine_fn_config_makefile dlls/mswsock enable_mswsock
21483 wine_fn_config_makefile dlls/msxml enable_msxml
21484 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21485 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21486 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21487 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21488 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21489 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21490 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21491 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21492 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21493 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21494 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21495 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21496 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21497 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21498 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21499 wine_fn_config_makefile dlls/netprofm enable_netprofm
21500 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21501 wine_fn_config_makefile dlls/netutils enable_netutils
21502 wine_fn_config_makefile dlls/newdev enable_newdev
21503 wine_fn_config_makefile dlls/ninput enable_ninput
21504 wine_fn_config_makefile dlls/ninput/tests enable_tests
21505 wine_fn_config_makefile dlls/normaliz enable_normaliz
21506 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21507 wine_fn_config_makefile dlls/npptools enable_npptools
21508 wine_fn_config_makefile dlls/nsi enable_nsi
21509 wine_fn_config_makefile dlls/nsi/tests enable_tests
21510 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21511 wine_fn_config_makefile dlls/ntdll enable_ntdll
21512 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21513 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21514 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21515 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21516 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21517 wine_fn_config_makefile dlls/ntprint enable_ntprint
21518 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21519 wine_fn_config_makefile dlls/objsel enable_objsel
21520 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21521 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21522 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21523 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21524 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21525 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21526 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21527 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21528 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21529 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21530 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21531 wine_fn_config_makefile dlls/ole32 enable_ole32
21532 wine_fn_config_makefile dlls/ole32/tests enable_tests
21533 wine_fn_config_makefile dlls/oleacc enable_oleacc
21534 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21535 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21536 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21537 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21538 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21539 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21540 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21541 wine_fn_config_makefile dlls/oledlg enable_oledlg
21542 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21543 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21544 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21545 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21546 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21547 wine_fn_config_makefile dlls/opcservices enable_opcservices
21548 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21549 wine_fn_config_makefile dlls/openal32 enable_openal32
21550 wine_fn_config_makefile dlls/opencl enable_opencl
21551 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21552 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21553 wine_fn_config_makefile dlls/packager enable_packager
21554 wine_fn_config_makefile dlls/packager/tests enable_tests
21555 wine_fn_config_makefile dlls/pdh enable_pdh
21556 wine_fn_config_makefile dlls/pdh/tests enable_tests
21557 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21558 wine_fn_config_makefile dlls/pidgen enable_pidgen
21559 wine_fn_config_makefile dlls/powrprof enable_powrprof
21560 wine_fn_config_makefile dlls/printui enable_printui
21561 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21562 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21563 wine_fn_config_makefile dlls/propsys enable_propsys
21564 wine_fn_config_makefile dlls/propsys/tests enable_tests
21565 wine_fn_config_makefile dlls/psapi enable_psapi
21566 wine_fn_config_makefile dlls/psapi/tests enable_tests
21567 wine_fn_config_makefile dlls/pstorec enable_pstorec
21568 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21569 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21570 wine_fn_config_makefile dlls/qasf enable_qasf
21571 wine_fn_config_makefile dlls/qasf/tests enable_tests
21572 wine_fn_config_makefile dlls/qcap enable_qcap
21573 wine_fn_config_makefile dlls/qcap/tests enable_tests
21574 wine_fn_config_makefile dlls/qdvd enable_qdvd
21575 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21576 wine_fn_config_makefile dlls/qedit enable_qedit
21577 wine_fn_config_makefile dlls/qedit/tests enable_tests
21578 wine_fn_config_makefile dlls/qmgr enable_qmgr
21579 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21580 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21581 wine_fn_config_makefile dlls/quartz enable_quartz
21582 wine_fn_config_makefile dlls/quartz/tests enable_tests
21583 wine_fn_config_makefile dlls/query enable_query
21584 wine_fn_config_makefile dlls/qwave enable_qwave
21585 wine_fn_config_makefile dlls/qwave/tests enable_tests
21586 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21587 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21588 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21589 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21590 wine_fn_config_makefile dlls/regapi enable_regapi
21591 wine_fn_config_makefile dlls/resutils enable_resutils
21592 wine_fn_config_makefile dlls/riched20 enable_riched20
21593 wine_fn_config_makefile dlls/riched20/tests enable_tests
21594 wine_fn_config_makefile dlls/riched32 enable_riched32
21595 wine_fn_config_makefile dlls/riched32/tests enable_tests
21596 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21597 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21598 wine_fn_config_makefile dlls/rsabase enable_rsabase
21599 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21600 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21601 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21602 wine_fn_config_makefile dlls/rtutils enable_rtutils
21603 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21604 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21605 wine_fn_config_makefile dlls/samlib enable_samlib
21606 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21607 wine_fn_config_makefile dlls/sapi enable_sapi
21608 wine_fn_config_makefile dlls/sapi/tests enable_tests
21609 wine_fn_config_makefile dlls/sas enable_sas
21610 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21611 wine_fn_config_makefile dlls/sccbase enable_sccbase
21612 wine_fn_config_makefile dlls/schannel enable_schannel
21613 wine_fn_config_makefile dlls/schannel/tests enable_tests
21614 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21615 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21616 wine_fn_config_makefile dlls/scrobj enable_scrobj
21617 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21618 wine_fn_config_makefile dlls/scrrun enable_scrrun
21619 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21620 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21621 wine_fn_config_makefile dlls/sechost enable_sechost
21622 wine_fn_config_makefile dlls/secur32 enable_secur32
21623 wine_fn_config_makefile dlls/secur32/tests enable_tests
21624 wine_fn_config_makefile dlls/security enable_security
21625 wine_fn_config_makefile dlls/sensapi enable_sensapi
21626 wine_fn_config_makefile dlls/serialui enable_serialui
21627 wine_fn_config_makefile dlls/serialui/tests enable_tests
21628 wine_fn_config_makefile dlls/setupapi enable_setupapi
21629 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21630 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21631 wine_fn_config_makefile dlls/sfc enable_sfc
21632 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21633 wine_fn_config_makefile dlls/shcore enable_shcore
21634 wine_fn_config_makefile dlls/shcore/tests enable_tests
21635 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21636 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21637 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21638 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21639 wine_fn_config_makefile dlls/shell32 enable_shell32
21640 wine_fn_config_makefile dlls/shell32/tests enable_tests
21641 wine_fn_config_makefile dlls/shfolder enable_shfolder
21642 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21643 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21644 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21645 wine_fn_config_makefile dlls/slc enable_slc
21646 wine_fn_config_makefile dlls/slc/tests enable_tests
21647 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21648 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21649 wine_fn_config_makefile dlls/softpub enable_softpub
21650 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21651 wine_fn_config_makefile dlls/spoolss enable_spoolss
21652 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21653 wine_fn_config_makefile dlls/sppc enable_sppc
21654 wine_fn_config_makefile dlls/srclient enable_srclient
21655 wine_fn_config_makefile dlls/srvcli enable_srvcli
21656 wine_fn_config_makefile dlls/sspicli enable_sspicli
21657 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21658 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21659 wine_fn_config_makefile dlls/sti enable_sti
21660 wine_fn_config_makefile dlls/sti/tests enable_tests
21661 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21662 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21663 wine_fn_config_makefile dlls/strmbase enable_strmbase
21664 wine_fn_config_makefile dlls/strmdll enable_strmdll
21665 wine_fn_config_makefile dlls/svrapi enable_svrapi
21666 wine_fn_config_makefile dlls/sxs enable_sxs
21667 wine_fn_config_makefile dlls/sxs/tests enable_tests
21668 wine_fn_config_makefile dlls/system.drv16 enable_win16
21669 wine_fn_config_makefile dlls/t2embed enable_t2embed
21670 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21671 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21672 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21673 wine_fn_config_makefile dlls/taskschd enable_taskschd
21674 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21675 wine_fn_config_makefile dlls/tbs enable_tbs
21676 wine_fn_config_makefile dlls/tdh enable_tdh
21677 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21678 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21679 wine_fn_config_makefile dlls/traffic enable_traffic
21680 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21681 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21682 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21683 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21684 wine_fn_config_makefile dlls/tzres enable_tzres
21685 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21686 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21687 wine_fn_config_makefile dlls/uianimation enable_uianimation
21688 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21689 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21690 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21691 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21692 wine_fn_config_makefile dlls/unicows enable_unicows
21693 wine_fn_config_makefile dlls/updspapi enable_updspapi
21694 wine_fn_config_makefile dlls/url enable_url
21695 wine_fn_config_makefile dlls/urlmon enable_urlmon
21696 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21697 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21698 wine_fn_config_makefile dlls/user.exe16 enable_win16
21699 wine_fn_config_makefile dlls/user32 enable_user32
21700 wine_fn_config_makefile dlls/user32/tests enable_tests
21701 wine_fn_config_makefile dlls/userenv enable_userenv
21702 wine_fn_config_makefile dlls/userenv/tests enable_tests
21703 wine_fn_config_makefile dlls/usp10 enable_usp10
21704 wine_fn_config_makefile dlls/usp10/tests enable_tests
21705 wine_fn_config_makefile dlls/utildll enable_utildll
21706 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21707 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21708 wine_fn_config_makefile dlls/vbscript enable_vbscript
21709 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21710 wine_fn_config_makefile dlls/vcomp enable_vcomp
21711 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21712 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21713 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21714 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21715 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21716 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21717 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21718 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21719 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21720 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21721 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21722 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21723 wine_fn_config_makefile dlls/version enable_version
21724 wine_fn_config_makefile dlls/version/tests enable_tests
21725 wine_fn_config_makefile dlls/vga enable_vga
21726 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21727 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21728 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21729 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21730 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21731 wine_fn_config_makefile dlls/vssapi enable_vssapi
21732 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21733 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21734 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21735 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21736 wine_fn_config_makefile dlls/w32skrnl enable_win16
21737 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21738 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21739 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21740 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21741 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21742 wine_fn_config_makefile dlls/wdscore enable_wdscore
21743 wine_fn_config_makefile dlls/webservices enable_webservices
21744 wine_fn_config_makefile dlls/webservices/tests enable_tests
21745 wine_fn_config_makefile dlls/websocket enable_websocket
21746 wine_fn_config_makefile dlls/wer enable_wer
21747 wine_fn_config_makefile dlls/wer/tests enable_tests
21748 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21749 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21750 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21751 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21752 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21753 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21754 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21755 wine_fn_config_makefile dlls/win32u enable_win32u
21756 wine_fn_config_makefile dlls/win32u/tests enable_tests
21757 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21758 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21759 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21760 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21761 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21762 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21763 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21764 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21765 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21766 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21767 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21768 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21769 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21770 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21771 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21772 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21773 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21774 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21775 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21776 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21777 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21778 wine_fn_config_makefile dlls/wined3d enable_wined3d
21779 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21780 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21781 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21782 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21783 wine_fn_config_makefile dlls/winemapi enable_winemapi
21784 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21785 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21786 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21787 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21788 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21789 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21790 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21791 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21792 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21793 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21794 wine_fn_config_makefile dlls/wing32 enable_wing32
21795 wine_fn_config_makefile dlls/winhttp enable_winhttp
21796 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21797 wine_fn_config_makefile dlls/wininet enable_wininet
21798 wine_fn_config_makefile dlls/wininet/tests enable_tests
21799 wine_fn_config_makefile dlls/winmm enable_winmm
21800 wine_fn_config_makefile dlls/winmm/tests enable_tests
21801 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21802 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21803 wine_fn_config_makefile dlls/winscard enable_winscard
21804 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21805 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21806 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21807 wine_fn_config_makefile dlls/winsta enable_winsta
21808 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21809 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21810 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21811 wine_fn_config_makefile dlls/wintrust enable_wintrust
21812 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21813 wine_fn_config_makefile dlls/winusb enable_winusb
21814 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21815 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21816 wine_fn_config_makefile dlls/wlanui enable_wlanui
21817 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21818 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21819 wine_fn_config_makefile dlls/wmasf enable_wmasf
21820 wine_fn_config_makefile dlls/wmi enable_wmi
21821 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21822 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21823 wine_fn_config_makefile dlls/wmp enable_wmp
21824 wine_fn_config_makefile dlls/wmp/tests enable_tests
21825 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21826 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21827 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21828 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21829 wine_fn_config_makefile dlls/wow32 enable_win16
21830 wine_fn_config_makefile dlls/wow64 enable_wow64
21831 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21832 wine_fn_config_makefile dlls/wow64win enable_wow64win
21833 wine_fn_config_makefile dlls/wpc enable_wpc
21834 wine_fn_config_makefile dlls/wpc/tests enable_tests
21835 wine_fn_config_makefile dlls/wpcap enable_wpcap
21836 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21837 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21838 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21839 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21840 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21841 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21842 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21843 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21844 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21845 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21846 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21847 wine_fn_config_makefile dlls/wuapi enable_wuapi
21848 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21849 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21850 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21851 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21852 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21853 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21854 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21855 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21856 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21857 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21858 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21859 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21860 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21861 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21862 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21863 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21864 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21865 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21866 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21867 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21868 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21869 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21870 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21871 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21872 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21873 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21874 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21875 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21876 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21877 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21878 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21879 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21880 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21881 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21882 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21883 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21884 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21885 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21886 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21887 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21888 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21889 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21890 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21891 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21892 wine_fn_config_makefile dlls/xmllite enable_xmllite
21893 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21894 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21895 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21896 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21897 wine_fn_config_makefile fonts enable_fonts
21898 wine_fn_config_makefile include enable_include
21899 wine_fn_config_makefile libs/adsiid enable_adsiid
21900 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21901 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21902 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21903 wine_fn_config_makefile libs/dxguid enable_dxguid
21904 wine_fn_config_makefile libs/faudio enable_faudio
21905 wine_fn_config_makefile libs/gsm enable_gsm
21906 wine_fn_config_makefile libs/jpeg enable_jpeg
21907 wine_fn_config_makefile libs/jxr enable_jxr
21908 wine_fn_config_makefile libs/lcms2 enable_lcms2
21909 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21910 wine_fn_config_makefile libs/mpg123 enable_mpg123
21911 wine_fn_config_makefile libs/png enable_png
21912 wine_fn_config_makefile libs/strmiids enable_strmiids
21913 wine_fn_config_makefile libs/tiff enable_tiff
21914 wine_fn_config_makefile libs/uuid enable_uuid
21915 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21916 wine_fn_config_makefile libs/wine enable_wine
21917 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21918 wine_fn_config_makefile libs/xml2 enable_xml2
21919 wine_fn_config_makefile libs/xslt enable_xslt
21920 wine_fn_config_makefile libs/zlib enable_zlib
21921 wine_fn_config_makefile loader enable_loader
21922 wine_fn_config_makefile nls enable_nls
21923 wine_fn_config_makefile po enable_po
21924 wine_fn_config_makefile programs/arp enable_arp
21925 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21926 wine_fn_config_makefile programs/attrib enable_attrib
21927 wine_fn_config_makefile programs/cabarc enable_cabarc
21928 wine_fn_config_makefile programs/cacls enable_cacls
21929 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21930 wine_fn_config_makefile programs/clock enable_clock
21931 wine_fn_config_makefile programs/cmd enable_cmd
21932 wine_fn_config_makefile programs/cmd/tests enable_tests
21933 wine_fn_config_makefile programs/conhost enable_conhost
21934 wine_fn_config_makefile programs/conhost/tests enable_tests
21935 wine_fn_config_makefile programs/control enable_control
21936 wine_fn_config_makefile programs/cscript enable_cscript
21937 wine_fn_config_makefile programs/dism enable_dism
21938 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21939 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21940 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21941 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21942 wine_fn_config_makefile programs/eject enable_eject
21943 wine_fn_config_makefile programs/expand enable_expand
21944 wine_fn_config_makefile programs/explorer enable_explorer
21945 wine_fn_config_makefile programs/extrac32 enable_extrac32
21946 wine_fn_config_makefile programs/fc enable_fc
21947 wine_fn_config_makefile programs/find enable_find
21948 wine_fn_config_makefile programs/find/tests enable_tests
21949 wine_fn_config_makefile programs/findstr enable_findstr
21950 wine_fn_config_makefile programs/fsutil enable_fsutil
21951 wine_fn_config_makefile programs/fsutil/tests enable_tests
21952 wine_fn_config_makefile programs/hh enable_hh
21953 wine_fn_config_makefile programs/hostname enable_hostname
21954 wine_fn_config_makefile programs/icacls enable_icacls
21955 wine_fn_config_makefile programs/icinfo enable_icinfo
21956 wine_fn_config_makefile programs/iexplore enable_iexplore
21957 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21958 wine_fn_config_makefile programs/lodctr enable_lodctr
21959 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21960 wine_fn_config_makefile programs/mshta enable_mshta
21961 wine_fn_config_makefile programs/msidb enable_msidb
21962 wine_fn_config_makefile programs/msiexec enable_msiexec
21963 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21964 wine_fn_config_makefile programs/net enable_net
21965 wine_fn_config_makefile programs/netsh enable_netsh
21966 wine_fn_config_makefile programs/netstat enable_netstat
21967 wine_fn_config_makefile programs/ngen enable_ngen
21968 wine_fn_config_makefile programs/notepad enable_notepad
21969 wine_fn_config_makefile programs/oleview enable_oleview
21970 wine_fn_config_makefile programs/ping enable_ping
21971 wine_fn_config_makefile programs/plugplay enable_plugplay
21972 wine_fn_config_makefile programs/powershell enable_powershell
21973 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21974 wine_fn_config_makefile programs/progman enable_progman
21975 wine_fn_config_makefile programs/reg enable_reg
21976 wine_fn_config_makefile programs/reg/tests enable_tests
21977 wine_fn_config_makefile programs/regasm enable_regasm
21978 wine_fn_config_makefile programs/regedit enable_regedit
21979 wine_fn_config_makefile programs/regedit/tests enable_tests
21980 wine_fn_config_makefile programs/regini enable_regini
21981 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21982 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21983 wine_fn_config_makefile programs/robocopy enable_robocopy
21984 wine_fn_config_makefile programs/rpcss enable_rpcss
21985 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21986 wine_fn_config_makefile programs/rundll32 enable_rundll32
21987 wine_fn_config_makefile programs/sc enable_sc
21988 wine_fn_config_makefile programs/schtasks enable_schtasks
21989 wine_fn_config_makefile programs/schtasks/tests enable_tests
21990 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21991 wine_fn_config_makefile programs/secedit enable_secedit
21992 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21993 wine_fn_config_makefile programs/services enable_services
21994 wine_fn_config_makefile programs/services/tests enable_tests
21995 wine_fn_config_makefile programs/shutdown enable_shutdown
21996 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21997 wine_fn_config_makefile programs/start enable_start
21998 wine_fn_config_makefile programs/subst enable_subst
21999 wine_fn_config_makefile programs/svchost enable_svchost
22000 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22001 wine_fn_config_makefile programs/taskkill enable_taskkill
22002 wine_fn_config_makefile programs/tasklist enable_tasklist
22003 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22004 wine_fn_config_makefile programs/termsv enable_termsv
22005 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22006 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22007 wine_fn_config_makefile programs/view enable_view
22008 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22009 wine_fn_config_makefile programs/where enable_where
22010 wine_fn_config_makefile programs/whoami enable_whoami
22011 wine_fn_config_makefile programs/wineboot enable_wineboot
22012 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22013 wine_fn_config_makefile programs/winecfg enable_winecfg
22014 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22015 wine_fn_config_makefile programs/winedbg enable_winedbg
22016 wine_fn_config_makefile programs/winedevice enable_winedevice
22017 wine_fn_config_makefile programs/winefile enable_winefile
22018 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22019 wine_fn_config_makefile programs/winemine enable_winemine
22020 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22021 wine_fn_config_makefile programs/winepath enable_winepath
22022 wine_fn_config_makefile programs/winetest enable_winetest
22023 wine_fn_config_makefile programs/winevdm enable_win16
22024 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22025 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22026 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22027 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22028 wine_fn_config_makefile programs/winver enable_winver
22029 wine_fn_config_makefile programs/wmic enable_wmic
22030 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22031 wine_fn_config_makefile programs/wordpad enable_wordpad
22032 wine_fn_config_makefile programs/write enable_write
22033 wine_fn_config_makefile programs/wscript enable_wscript
22034 wine_fn_config_makefile programs/wscript/tests enable_tests
22035 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22036 wine_fn_config_makefile programs/wusa enable_wusa
22037 wine_fn_config_makefile programs/xcopy enable_xcopy
22038 wine_fn_config_makefile programs/xcopy/tests enable_tests
22039 wine_fn_config_makefile server enable_server
22040 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22041 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22042 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22043 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22044 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22045 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22046 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22047 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22048 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22051 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22052 wine_fn_append_file CONFIGURE_TARGETS "tags"
22053 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22054 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22055 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22056 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22057 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22058 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22060 if test "x$enable_tools" != xno
22061 then
22062 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22063 ac_config_commands="$ac_config_commands tools/makedep"
22067 ac_config_commands="$ac_config_commands Makefile"
22071 SHELL=/bin/sh
22074 wine_fn_append_rule "all: wine
22075 @echo \"Wine build complete.\"
22076 .INIT: Makefile
22077 .MAKEFILEDEPS:
22078 all: Makefile
22079 Makefile: config.status \$(MAKEDEP)
22080 @./config.status Makefile
22081 depend: \$(MAKEDEP)
22082 \$(MAKEDEP)$makedep_flags"
22085 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22086 @./config.status --recheck
22087 include/config.h: include/stamp-h
22088 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22089 @./config.status include/config.h include/stamp-h"
22091 if test "x$enable_maintainer_mode" = xyes
22092 then
22093 wine_fn_append_rule "configure: configure.ac aclocal.m4
22094 autoconf --warnings=all
22095 include/config.h.in: include/stamp-h.in
22096 include/stamp-h.in: configure.ac aclocal.m4
22097 autoheader --warnings=all
22098 @echo timestamp > \$@"
22101 if test "x$enable_tools" != xno
22102 then
22103 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22104 @./config.status tools/makedep
22105 Makefile: tools/makedep$ac_exeext"
22106 else
22107 wine_fn_append_rule "\$(MAKEDEP):
22108 @echo \"You need to run make in $toolsdir first\" && false"
22112 if test -n "$with_wine64"
22113 then
22114 case "$with_wine64" in
22115 /*) reldir="" ;;
22116 *) reldir="../" ;;
22117 esac
22118 rm -f fonts server 2>/dev/null
22119 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22120 loader/wine64 loader/wine64-preloader:
22121 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22122 $with_wine64/loader/wine:
22123 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22124 $with_wine64/loader/wine-preloader:
22125 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22126 clean::
22127 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22128 else
22129 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22130 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22131 fonts \
22132 loader/wine.inf \
22133 nls \
22134 programs/msidb/msidb \
22135 programs/msiexec/msiexec \
22136 programs/notepad/notepad \
22137 programs/regedit/regedit \
22138 programs/regsvr32/regsvr32 \
22139 programs/wineboot/wineboot \
22140 programs/winecfg/winecfg \
22141 programs/wineconsole/wineconsole \
22142 programs/winedbg/winedbg \
22143 programs/winefile/winefile \
22144 programs/winemine/winemine \
22145 programs/winepath/winepath \
22146 server/wineserver"
22148 case $host_os in
22149 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22150 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22151 esac
22155 wine_fn_append_rule "distclean:: clean
22156 rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man\$(api_manext)"
22159 wine_fn_append_rule "install-manpages:: manpages
22160 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"
22163 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22164 @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)
22165 programs/winetest/build.rc: dummy
22166 @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)
22167 programs/winetest/build.nfo:
22168 @-\$(CC) -v 2>\$@
22169 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
22170 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22171 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22174 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22176 wine_fn_append_rule "TAGS etags:
22177 rm -f TAGS
22178 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22179 tags ctags:
22180 rm -f tags
22181 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22182 dummy:
22183 .PHONY: depend dummy install-manpages"
22185 printf "%s\n" " done" >&6
22186 cat >confcache <<\_ACEOF
22187 # This file is a shell script that caches the results of configure
22188 # tests run on this system so they can be shared between configure
22189 # scripts and configure runs, see configure's option --config-cache.
22190 # It is not useful on other systems. If it contains results you don't
22191 # want to keep, you may remove or edit it.
22193 # config.status only pays attention to the cache file if you give it
22194 # the --recheck option to rerun configure.
22196 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22197 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22198 # following values.
22200 _ACEOF
22202 # The following way of writing the cache mishandles newlines in values,
22203 # but we know of no workaround that is simple, portable, and efficient.
22204 # So, we kill variables containing newlines.
22205 # Ultrix sh set writes to stderr and can't be redirected directly,
22206 # and sets the high bit in the cache file unless we assign to the vars.
22208 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22209 eval ac_val=\$$ac_var
22210 case $ac_val in #(
22211 *${as_nl}*)
22212 case $ac_var in #(
22213 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22214 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22215 esac
22216 case $ac_var in #(
22217 _ | IFS | as_nl) ;; #(
22218 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22219 *) { eval $ac_var=; unset $ac_var;} ;;
22220 esac ;;
22221 esac
22222 done
22224 (set) 2>&1 |
22225 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22226 *${as_nl}ac_space=\ *)
22227 # `set' does not quote correctly, so add quotes: double-quote
22228 # substitution turns \\\\ into \\, and sed turns \\ into \.
22229 sed -n \
22230 "s/'/'\\\\''/g;
22231 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22232 ;; #(
22234 # `set' quotes correctly as required by POSIX, so do not add quotes.
22235 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22237 esac |
22238 sort
22240 sed '
22241 /^ac_cv_env_/b end
22242 t clear
22243 :clear
22244 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22245 t end
22246 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22247 :end' >>confcache
22248 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22249 if test -w "$cache_file"; then
22250 if test "x$cache_file" != "x/dev/null"; then
22251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22252 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22253 if test ! -f "$cache_file" || test -h "$cache_file"; then
22254 cat confcache >"$cache_file"
22255 else
22256 case $cache_file in #(
22257 */* | ?:*)
22258 mv -f confcache "$cache_file"$$ &&
22259 mv -f "$cache_file"$$ "$cache_file" ;; #(
22261 mv -f confcache "$cache_file" ;;
22262 esac
22265 else
22266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22267 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22270 rm -f confcache
22272 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22273 # Let make expand exec_prefix.
22274 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22276 DEFS=-DHAVE_CONFIG_H
22278 ac_libobjs=
22279 ac_ltlibobjs=
22281 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22282 # 1. Remove the extension, and $U if already installed.
22283 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22284 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22285 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22286 # will be set to the directory where LIBOBJS objects are built.
22287 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22288 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22289 done
22290 LIBOBJS=$ac_libobjs
22292 LTLIBOBJS=$ac_ltlibobjs
22296 : "${CONFIG_STATUS=./config.status}"
22297 ac_write_fail=0
22298 ac_clean_files_save=$ac_clean_files
22299 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22301 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22302 as_write_fail=0
22303 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22304 #! $SHELL
22305 # Generated by $as_me.
22306 # Run this file to recreate the current configuration.
22307 # Compiler output produced by configure, useful for debugging
22308 # configure, is in config.log if it exists.
22310 debug=false
22311 ac_cs_recheck=false
22312 ac_cs_silent=false
22314 SHELL=\${CONFIG_SHELL-$SHELL}
22315 export SHELL
22316 _ASEOF
22317 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22318 ## -------------------- ##
22319 ## M4sh Initialization. ##
22320 ## -------------------- ##
22322 # Be more Bourne compatible
22323 DUALCASE=1; export DUALCASE # for MKS sh
22324 as_nop=:
22325 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22326 then :
22327 emulate sh
22328 NULLCMD=:
22329 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22330 # is contrary to our usage. Disable this feature.
22331 alias -g '${1+"$@"}'='"$@"'
22332 setopt NO_GLOB_SUBST
22333 else $as_nop
22334 case `(set -o) 2>/dev/null` in #(
22335 *posix*) :
22336 set -o posix ;; #(
22337 *) :
22339 esac
22344 # Reset variables that may have inherited troublesome values from
22345 # the environment.
22347 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22348 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22349 # side effect of setting IFS to empty, thus disabling word splitting.)
22350 # Quoting is to prevent editors from complaining about space-tab.
22351 as_nl='
22353 export as_nl
22354 IFS=" "" $as_nl"
22356 PS1='$ '
22357 PS2='> '
22358 PS4='+ '
22360 # Ensure predictable behavior from utilities with locale-dependent output.
22361 LC_ALL=C
22362 export LC_ALL
22363 LANGUAGE=C
22364 export LANGUAGE
22366 # We cannot yet rely on "unset" to work, but we need these variables
22367 # to be unset--not just set to an empty or harmless value--now, to
22368 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22369 # also avoids known problems related to "unset" and subshell syntax
22370 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22371 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22372 do eval test \${$as_var+y} \
22373 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22374 done
22376 # Ensure that fds 0, 1, and 2 are open.
22377 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22378 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22379 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22381 # The user is always right.
22382 if ${PATH_SEPARATOR+false} :; then
22383 PATH_SEPARATOR=:
22384 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22385 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22386 PATH_SEPARATOR=';'
22391 # Find who we are. Look in the path if we contain no directory separator.
22392 as_myself=
22393 case $0 in #((
22394 *[\\/]* ) as_myself=$0 ;;
22395 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22396 for as_dir in $PATH
22398 IFS=$as_save_IFS
22399 case $as_dir in #(((
22400 '') as_dir=./ ;;
22401 */) ;;
22402 *) as_dir=$as_dir/ ;;
22403 esac
22404 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22405 done
22406 IFS=$as_save_IFS
22409 esac
22410 # We did not find ourselves, most probably we were run as `sh COMMAND'
22411 # in which case we are not to be found in the path.
22412 if test "x$as_myself" = x; then
22413 as_myself=$0
22415 if test ! -f "$as_myself"; then
22416 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22417 exit 1
22422 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22423 # ----------------------------------------
22424 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22425 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22426 # script with STATUS, using 1 if that was 0.
22427 as_fn_error ()
22429 as_status=$1; test $as_status -eq 0 && as_status=1
22430 if test "$4"; then
22431 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22434 printf "%s\n" "$as_me: error: $2" >&2
22435 as_fn_exit $as_status
22436 } # as_fn_error
22440 # as_fn_set_status STATUS
22441 # -----------------------
22442 # Set $? to STATUS, without forking.
22443 as_fn_set_status ()
22445 return $1
22446 } # as_fn_set_status
22448 # as_fn_exit STATUS
22449 # -----------------
22450 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22451 as_fn_exit ()
22453 set +e
22454 as_fn_set_status $1
22455 exit $1
22456 } # as_fn_exit
22458 # as_fn_unset VAR
22459 # ---------------
22460 # Portably unset VAR.
22461 as_fn_unset ()
22463 { eval $1=; unset $1;}
22465 as_unset=as_fn_unset
22467 # as_fn_append VAR VALUE
22468 # ----------------------
22469 # Append the text in VALUE to the end of the definition contained in VAR. Take
22470 # advantage of any shell optimizations that allow amortized linear growth over
22471 # repeated appends, instead of the typical quadratic growth present in naive
22472 # implementations.
22473 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22474 then :
22475 eval 'as_fn_append ()
22477 eval $1+=\$2
22479 else $as_nop
22480 as_fn_append ()
22482 eval $1=\$$1\$2
22484 fi # as_fn_append
22486 # as_fn_arith ARG...
22487 # ------------------
22488 # Perform arithmetic evaluation on the ARGs, and store the result in the
22489 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22490 # must be portable across $(()) and expr.
22491 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22492 then :
22493 eval 'as_fn_arith ()
22495 as_val=$(( $* ))
22497 else $as_nop
22498 as_fn_arith ()
22500 as_val=`expr "$@" || test $? -eq 1`
22502 fi # as_fn_arith
22505 if expr a : '\(a\)' >/dev/null 2>&1 &&
22506 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22507 as_expr=expr
22508 else
22509 as_expr=false
22512 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22513 as_basename=basename
22514 else
22515 as_basename=false
22518 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22519 as_dirname=dirname
22520 else
22521 as_dirname=false
22524 as_me=`$as_basename -- "$0" ||
22525 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22526 X"$0" : 'X\(//\)$' \| \
22527 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22528 printf "%s\n" X/"$0" |
22529 sed '/^.*\/\([^/][^/]*\)\/*$/{
22530 s//\1/
22533 /^X\/\(\/\/\)$/{
22534 s//\1/
22537 /^X\/\(\/\).*/{
22538 s//\1/
22541 s/.*/./; q'`
22543 # Avoid depending upon Character Ranges.
22544 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22545 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22546 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22547 as_cr_digits='0123456789'
22548 as_cr_alnum=$as_cr_Letters$as_cr_digits
22551 # Determine whether it's possible to make 'echo' print without a newline.
22552 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22553 # for compatibility with existing Makefiles.
22554 ECHO_C= ECHO_N= ECHO_T=
22555 case `echo -n x` in #(((((
22556 -n*)
22557 case `echo 'xy\c'` in
22558 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22559 xy) ECHO_C='\c';;
22560 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22561 ECHO_T=' ';;
22562 esac;;
22564 ECHO_N='-n';;
22565 esac
22567 # For backward compatibility with old third-party macros, we provide
22568 # the shell variables $as_echo and $as_echo_n. New code should use
22569 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22570 as_echo='printf %s\n'
22571 as_echo_n='printf %s'
22573 rm -f conf$$ conf$$.exe conf$$.file
22574 if test -d conf$$.dir; then
22575 rm -f conf$$.dir/conf$$.file
22576 else
22577 rm -f conf$$.dir
22578 mkdir conf$$.dir 2>/dev/null
22580 if (echo >conf$$.file) 2>/dev/null; then
22581 if ln -s conf$$.file conf$$ 2>/dev/null; then
22582 as_ln_s='ln -s'
22583 # ... but there are two gotchas:
22584 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22585 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22586 # In both cases, we have to default to `cp -pR'.
22587 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22588 as_ln_s='cp -pR'
22589 elif ln conf$$.file conf$$ 2>/dev/null; then
22590 as_ln_s=ln
22591 else
22592 as_ln_s='cp -pR'
22594 else
22595 as_ln_s='cp -pR'
22597 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22598 rmdir conf$$.dir 2>/dev/null
22601 # as_fn_mkdir_p
22602 # -------------
22603 # Create "$as_dir" as a directory, including parents if necessary.
22604 as_fn_mkdir_p ()
22607 case $as_dir in #(
22608 -*) as_dir=./$as_dir;;
22609 esac
22610 test -d "$as_dir" || eval $as_mkdir_p || {
22611 as_dirs=
22612 while :; do
22613 case $as_dir in #(
22614 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22615 *) as_qdir=$as_dir;;
22616 esac
22617 as_dirs="'$as_qdir' $as_dirs"
22618 as_dir=`$as_dirname -- "$as_dir" ||
22619 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22620 X"$as_dir" : 'X\(//\)[^/]' \| \
22621 X"$as_dir" : 'X\(//\)$' \| \
22622 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22623 printf "%s\n" X"$as_dir" |
22624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22625 s//\1/
22628 /^X\(\/\/\)[^/].*/{
22629 s//\1/
22632 /^X\(\/\/\)$/{
22633 s//\1/
22636 /^X\(\/\).*/{
22637 s//\1/
22640 s/.*/./; q'`
22641 test -d "$as_dir" && break
22642 done
22643 test -z "$as_dirs" || eval "mkdir $as_dirs"
22644 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22647 } # as_fn_mkdir_p
22648 if mkdir -p . 2>/dev/null; then
22649 as_mkdir_p='mkdir -p "$as_dir"'
22650 else
22651 test -d ./-p && rmdir ./-p
22652 as_mkdir_p=false
22656 # as_fn_executable_p FILE
22657 # -----------------------
22658 # Test if FILE is an executable regular file.
22659 as_fn_executable_p ()
22661 test -f "$1" && test -x "$1"
22662 } # as_fn_executable_p
22663 as_test_x='test -x'
22664 as_executable_p=as_fn_executable_p
22666 # Sed expression to map a string onto a valid CPP name.
22667 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22669 # Sed expression to map a string onto a valid variable name.
22670 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22673 exec 6>&1
22674 ## ----------------------------------- ##
22675 ## Main body of $CONFIG_STATUS script. ##
22676 ## ----------------------------------- ##
22677 _ASEOF
22678 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22681 # Save the log message, to keep $0 and so on meaningful, and to
22682 # report actual input values of CONFIG_FILES etc. instead of their
22683 # values after options handling.
22684 ac_log="
22685 This file was extended by Wine $as_me 6.22, which was
22686 generated by GNU Autoconf 2.71. Invocation command line was
22688 CONFIG_FILES = $CONFIG_FILES
22689 CONFIG_HEADERS = $CONFIG_HEADERS
22690 CONFIG_LINKS = $CONFIG_LINKS
22691 CONFIG_COMMANDS = $CONFIG_COMMANDS
22692 $ $0 $@
22694 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22697 _ACEOF
22700 case $ac_config_headers in *"
22701 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22702 esac
22705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22706 # Files that config.status was made for.
22707 config_headers="$ac_config_headers"
22708 config_links="$ac_config_links"
22709 config_commands="$ac_config_commands"
22711 _ACEOF
22713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22714 ac_cs_usage="\
22715 \`$as_me' instantiates files and other configuration actions
22716 from templates according to the current configuration. Unless the files
22717 and actions are specified as TAGs, all are instantiated by default.
22719 Usage: $0 [OPTION]... [TAG]...
22721 -h, --help print this help, then exit
22722 -V, --version print version number and configuration settings, then exit
22723 --config print configuration, then exit
22724 -q, --quiet, --silent
22725 do not print progress messages
22726 -d, --debug don't remove temporary files
22727 --recheck update $as_me by reconfiguring in the same conditions
22728 --header=FILE[:TEMPLATE]
22729 instantiate the configuration header FILE
22731 Configuration headers:
22732 $config_headers
22734 Configuration links:
22735 $config_links
22737 Configuration commands:
22738 $config_commands
22740 Report bugs to <wine-devel@winehq.org>.
22741 Wine home page: <https://www.winehq.org>."
22743 _ACEOF
22744 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22745 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22747 ac_cs_config='$ac_cs_config_escaped'
22748 ac_cs_version="\\
22749 Wine config.status 6.22
22750 configured by $0, generated by GNU Autoconf 2.71,
22751 with options \\"\$ac_cs_config\\"
22753 Copyright (C) 2021 Free Software Foundation, Inc.
22754 This config.status script is free software; the Free Software Foundation
22755 gives unlimited permission to copy, distribute and modify it."
22757 ac_pwd='$ac_pwd'
22758 srcdir='$srcdir'
22759 test -n "\$AWK" || AWK=awk
22760 _ACEOF
22762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22763 # The default lists apply if the user does not specify any file.
22764 ac_need_defaults=:
22765 while test $# != 0
22767 case $1 in
22768 --*=?*)
22769 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22770 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22771 ac_shift=:
22773 --*=)
22774 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22775 ac_optarg=
22776 ac_shift=:
22779 ac_option=$1
22780 ac_optarg=$2
22781 ac_shift=shift
22783 esac
22785 case $ac_option in
22786 # Handling of the options.
22787 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22788 ac_cs_recheck=: ;;
22789 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22790 printf "%s\n" "$ac_cs_version"; exit ;;
22791 --config | --confi | --conf | --con | --co | --c )
22792 printf "%s\n" "$ac_cs_config"; exit ;;
22793 --debug | --debu | --deb | --de | --d | -d )
22794 debug=: ;;
22795 --header | --heade | --head | --hea )
22796 $ac_shift
22797 case $ac_optarg in
22798 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22799 esac
22800 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22801 ac_need_defaults=false;;
22802 --he | --h)
22803 # Conflict between --help and --header
22804 as_fn_error $? "ambiguous option: \`$1'
22805 Try \`$0 --help' for more information.";;
22806 --help | --hel | -h )
22807 printf "%s\n" "$ac_cs_usage"; exit ;;
22808 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22809 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22810 ac_cs_silent=: ;;
22812 # This is an error.
22813 -*) as_fn_error $? "unrecognized option: \`$1'
22814 Try \`$0 --help' for more information." ;;
22816 *) as_fn_append ac_config_targets " $1"
22817 ac_need_defaults=false ;;
22819 esac
22820 shift
22821 done
22823 ac_configure_extra_args=
22825 if $ac_cs_silent; then
22826 exec 6>/dev/null
22827 ac_configure_extra_args="$ac_configure_extra_args --silent"
22830 _ACEOF
22831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22832 if \$ac_cs_recheck; then
22833 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22834 shift
22835 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22836 CONFIG_SHELL='$SHELL'
22837 export CONFIG_SHELL
22838 exec "\$@"
22841 _ACEOF
22842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22843 exec 5>>config.log
22845 echo
22846 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22847 ## Running $as_me. ##
22848 _ASBOX
22849 printf "%s\n" "$ac_log"
22850 } >&5
22852 _ACEOF
22853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22855 # INIT-COMMANDS
22857 wine_fn_output_makedep ()
22859 as_dir=tools; as_fn_mkdir_p
22860 $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
22862 wine_fn_output_makefile ()
22864 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22865 # This Makefile understands the following targets:
22867 # all (default): build wine
22868 # clean: remove all intermediate files
22869 # distclean: also remove all files created by configure
22870 # test: run tests
22871 # testclean: clean test results to force running all tests again
22872 # install-lib: install libraries needed to run applications
22873 # install-dev: install development environment
22874 # install: install everything
22875 # uninstall: uninstall everything
22876 # ctags: create a tags file for vim and others.
22877 # etags: create a TAGS file for Emacs.
22878 # manpages: compile manpages for Wine API
22879 # htmlpages: compile html pages for Wine API
22880 # sgmlpages: compile sgml source for the Wine API Guide
22881 # xmlpages: compile xml source for the Wine API Guide
22883 SHELL = $SHELL
22884 PATH_SEPARATOR = $PATH_SEPARATOR
22885 PACKAGE_NAME = $PACKAGE_NAME
22886 PACKAGE_TARNAME = $PACKAGE_TARNAME
22887 PACKAGE_VERSION = $PACKAGE_VERSION
22888 PACKAGE_STRING = $PACKAGE_STRING
22889 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22890 PACKAGE_URL = $PACKAGE_URL
22891 exec_prefix = $exec_prefix
22892 prefix = $prefix
22893 program_transform_name = $program_transform_name
22894 bindir = $bindir
22895 sbindir = $sbindir
22896 libexecdir = $libexecdir
22897 datarootdir = $datarootdir
22898 datadir = $datadir
22899 sysconfdir = $sysconfdir
22900 sharedstatedir = $sharedstatedir
22901 localstatedir = $localstatedir
22902 runstatedir = $runstatedir
22903 includedir = $includedir
22904 oldincludedir = $oldincludedir
22905 docdir = $docdir
22906 infodir = $infodir
22907 htmldir = $htmldir
22908 dvidir = $dvidir
22909 pdfdir = $pdfdir
22910 psdir = $psdir
22911 libdir = $libdir
22912 localedir = $localedir
22913 mandir = $mandir
22914 DEFS = $DEFS
22915 ECHO_C = $ECHO_C
22916 ECHO_N = $ECHO_N
22917 ECHO_T = $ECHO_T
22918 LIBS = $LIBS
22919 build_alias = $build_alias
22920 host_alias = $host_alias
22921 target_alias = $target_alias
22922 system_dllpath = $system_dllpath
22923 build = $build
22924 build_cpu = $build_cpu
22925 build_vendor = $build_vendor
22926 build_os = $build_os
22927 host = $host
22928 host_cpu = $host_cpu
22929 host_vendor = $host_vendor
22930 host_os = $host_os
22931 dlldir = $dlldir
22932 fontdir = $fontdir
22933 nlsdir = $nlsdir
22934 srcdir = $srcdir
22935 SET_MAKE = $SET_MAKE
22936 CC = $CC
22937 CFLAGS = $CFLAGS
22938 LDFLAGS = $LDFLAGS
22939 CPPFLAGS = $CPPFLAGS
22940 ac_ct_CC = $ac_ct_CC
22941 EXEEXT = $EXEEXT
22942 OBJEXT = $OBJEXT
22943 CXX = $CXX
22944 CXXFLAGS = $CXXFLAGS
22945 ac_ct_CXX = $ac_ct_CXX
22946 CPPBIN = $CPPBIN
22947 LD = $LD
22948 TARGETFLAGS = $TARGETFLAGS
22949 toolsext = $toolsext
22950 toolsdir = $toolsdir
22951 MAKEDEP = $MAKEDEP
22952 RUNTESTFLAGS = $RUNTESTFLAGS
22953 SED_CMD = $SED_CMD
22954 api_manext = $api_manext
22955 FLEX = $FLEX
22956 BISON = $BISON
22957 AR = $AR
22958 ac_ct_AR = $ac_ct_AR
22959 STRIP = $STRIP
22960 RANLIB = $RANLIB
22961 LN_S = $LN_S
22962 GREP = $GREP
22963 EGREP = $EGREP
22964 LDCONFIG = $LDCONFIG
22965 MSGFMT = $MSGFMT
22966 PKG_CONFIG = $PKG_CONFIG
22967 FONTFORGE = $FONTFORGE
22968 RSVG = $RSVG
22969 CONVERT = $CONVERT
22970 ICOTOOL = $ICOTOOL
22971 I386_LIBS = $I386_LIBS
22972 OPENGL_LIBS = $OPENGL_LIBS
22973 DLLFLAGS = $DLLFLAGS
22974 LDDLLFLAGS = $LDDLLFLAGS
22975 LDEXECFLAGS = $LDEXECFLAGS
22976 EXTRACFLAGS = $EXTRACFLAGS
22977 UNIXDLLFLAGS = $UNIXDLLFLAGS
22978 UNIXLDFLAGS = $UNIXLDFLAGS
22979 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
22980 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
22981 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
22982 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
22983 LDD = $LDD
22984 OTOOL = $OTOOL
22985 READELF = $READELF
22986 SUBDIRS = $SUBDIRS
22987 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
22988 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
22989 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
22990 DLLTOOL = $DLLTOOL
22991 OBJC = $OBJC
22992 OBJCFLAGS = $OBJCFLAGS
22993 ac_ct_OBJC = $ac_ct_OBJC
22994 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
22995 IOKIT_LIBS = $IOKIT_LIBS
22996 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
22997 CORESERVICES_LIBS = $CORESERVICES_LIBS
22998 APPKIT_LIBS = $APPKIT_LIBS
22999 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23000 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23001 SECURITY_LIBS = $SECURITY_LIBS
23002 COREAUDIO_LIBS = $COREAUDIO_LIBS
23003 OPENAL_LIBS = $OPENAL_LIBS
23004 OPENCL_LIBS = $OPENCL_LIBS
23005 QUICKTIME_LIBS = $QUICKTIME_LIBS
23006 CARBON_LIBS = $CARBON_LIBS
23007 METAL_LIBS = $METAL_LIBS
23008 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23009 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23010 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23011 PRELINK = $PRELINK
23012 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23013 CROSSTARGET = $CROSSTARGET
23014 CROSSCC = $CROSSCC
23015 CROSSCFLAGS = $CROSSCFLAGS
23016 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23017 CROSSLDFLAGS = $CROSSLDFLAGS
23018 DELAYLOADFLAG = $DELAYLOADFLAG
23019 CROSSDEBUG = $CROSSDEBUG
23020 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23021 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23022 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23023 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23024 GSM_PE_LIBS = $GSM_PE_LIBS
23025 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23026 JPEG_PE_LIBS = $JPEG_PE_LIBS
23027 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23028 JXR_PE_LIBS = $JXR_PE_LIBS
23029 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23030 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23031 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23032 MPG123_PE_LIBS = $MPG123_PE_LIBS
23033 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23034 PNG_PE_LIBS = $PNG_PE_LIBS
23035 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23036 TIFF_PE_LIBS = $TIFF_PE_LIBS
23037 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23038 XML2_PE_LIBS = $XML2_PE_LIBS
23039 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23040 XSLT_PE_LIBS = $XSLT_PE_LIBS
23041 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23042 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23043 PTHREAD_LIBS = $PTHREAD_LIBS
23044 XMKMF = $XMKMF
23045 CPP = $CPP
23046 X_CFLAGS = $X_CFLAGS
23047 X_PRE_LIBS = $X_PRE_LIBS
23048 X_LIBS = $X_LIBS
23049 X_EXTRA_LIBS = $X_EXTRA_LIBS
23050 PCAP_LIBS = $PCAP_LIBS
23051 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23052 INOTIFY_LIBS = $INOTIFY_LIBS
23053 DBUS_CFLAGS = $DBUS_CFLAGS
23054 DBUS_LIBS = $DBUS_LIBS
23055 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23056 GNUTLS_LIBS = $GNUTLS_LIBS
23057 SANE_CFLAGS = $SANE_CFLAGS
23058 SANE_LIBS = $SANE_LIBS
23059 USB_CFLAGS = $USB_CFLAGS
23060 USB_LIBS = $USB_LIBS
23061 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23062 GPHOTO2_LIBS = $GPHOTO2_LIBS
23063 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23064 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23065 RESOLV_LIBS = $RESOLV_LIBS
23066 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23067 FREETYPE_LIBS = $FREETYPE_LIBS
23068 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23069 PULSE_CFLAGS = $PULSE_CFLAGS
23070 PULSE_LIBS = $PULSE_LIBS
23071 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23072 GSTREAMER_LIBS = $GSTREAMER_LIBS
23073 ALSA_LIBS = $ALSA_LIBS
23074 OSS4_CFLAGS = $OSS4_CFLAGS
23075 OSS4_LIBS = $OSS4_LIBS
23076 UDEV_CFLAGS = $UDEV_CFLAGS
23077 UDEV_LIBS = $UDEV_LIBS
23078 UNWIND_CFLAGS = $UNWIND_CFLAGS
23079 UNWIND_LIBS = $UNWIND_LIBS
23080 SDL2_CFLAGS = $SDL2_CFLAGS
23081 SDL2_LIBS = $SDL2_LIBS
23082 CAPI20_CFLAGS = $CAPI20_CFLAGS
23083 CAPI20_LIBS = $CAPI20_LIBS
23084 CUPS_CFLAGS = $CUPS_CFLAGS
23085 CUPS_LIBS = $CUPS_LIBS
23086 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23087 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23088 KRB5_CFLAGS = $KRB5_CFLAGS
23089 KRB5_LIBS = $KRB5_LIBS
23090 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23091 GSSAPI_LIBS = $GSSAPI_LIBS
23092 PROCSTAT_LIBS = $PROCSTAT_LIBS
23093 NETAPI_CFLAGS = $NETAPI_CFLAGS
23094 NETAPI_LIBS = $NETAPI_LIBS
23095 VKD3D_CFLAGS = $VKD3D_CFLAGS
23096 VKD3D_LIBS = $VKD3D_LIBS
23097 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
23098 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
23099 MSVCRTFLAGS = $MSVCRTFLAGS
23100 RT_LIBS = $RT_LIBS
23101 LDAP_CFLAGS = $LDAP_CFLAGS
23102 LDAP_LIBS = $LDAP_LIBS
23103 TAGSFLAGS = $TAGSFLAGS
23104 LIBOBJS = $LIBOBJS
23105 LTLIBOBJS = $LTLIBOBJS
23106 $SET_MAKE
23107 $wine_rules
23108 _WINE_EOF
23109 as_fn_error $? "could not create Makefile" "$LINENO" 5
23112 _ACEOF
23114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23116 # Handling of arguments.
23117 for ac_config_target in $ac_config_targets
23119 case $ac_config_target in
23120 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23121 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23122 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23123 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23124 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23125 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23127 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23128 esac
23129 done
23132 # If the user did not use the arguments to specify the items to instantiate,
23133 # then the envvar interface is used. Set only those that are not.
23134 # We use the long form for the default assignment because of an extremely
23135 # bizarre bug on SunOS 4.1.3.
23136 if $ac_need_defaults; then
23137 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23138 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23139 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23142 # Have a temporary directory for convenience. Make it in the build tree
23143 # simply because there is no reason against having it here, and in addition,
23144 # creating and moving files from /tmp can sometimes cause problems.
23145 # Hook for its removal unless debugging.
23146 # Note that there is a small window in which the directory will not be cleaned:
23147 # after its creation but before its name has been assigned to `$tmp'.
23148 $debug ||
23150 tmp= ac_tmp=
23151 trap 'exit_status=$?
23152 : "${ac_tmp:=$tmp}"
23153 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23155 trap 'as_fn_exit 1' 1 2 13 15
23157 # Create a (secure) tmp directory for tmp files.
23160 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23161 test -d "$tmp"
23162 } ||
23164 tmp=./conf$$-$RANDOM
23165 (umask 077 && mkdir "$tmp")
23166 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23167 ac_tmp=$tmp
23169 # Set up the scripts for CONFIG_HEADERS section.
23170 # No need to generate them if there are no CONFIG_HEADERS.
23171 # This happens for instance with `./config.status Makefile'.
23172 if test -n "$CONFIG_HEADERS"; then
23173 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23174 BEGIN {
23175 _ACEOF
23177 # Transform confdefs.h into an awk script `defines.awk', embedded as
23178 # here-document in config.status, that substitutes the proper values into
23179 # config.h.in to produce config.h.
23181 # Create a delimiter string that does not exist in confdefs.h, to ease
23182 # handling of long lines.
23183 ac_delim='%!_!# '
23184 for ac_last_try in false false :; do
23185 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23186 if test -z "$ac_tt"; then
23187 break
23188 elif $ac_last_try; then
23189 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23190 else
23191 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23193 done
23195 # For the awk script, D is an array of macro values keyed by name,
23196 # likewise P contains macro parameters if any. Preserve backslash
23197 # newline sequences.
23199 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23200 sed -n '
23201 s/.\{148\}/&'"$ac_delim"'/g
23202 t rset
23203 :rset
23204 s/^[ ]*#[ ]*define[ ][ ]*/ /
23205 t def
23207 :def
23208 s/\\$//
23209 t bsnl
23210 s/["\\]/\\&/g
23211 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23212 D["\1"]=" \3"/p
23213 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23215 :bsnl
23216 s/["\\]/\\&/g
23217 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23218 D["\1"]=" \3\\\\\\n"\\/p
23219 t cont
23220 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23221 t cont
23223 :cont
23225 s/.\{148\}/&'"$ac_delim"'/g
23226 t clear
23227 :clear
23228 s/\\$//
23229 t bsnlc
23230 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23232 :bsnlc
23233 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23234 b cont
23235 ' <confdefs.h | sed '
23236 s/'"$ac_delim"'/"\\\
23237 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23240 for (key in D) D_is_set[key] = 1
23241 FS = "\a"
23243 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23244 line = \$ 0
23245 split(line, arg, " ")
23246 if (arg[1] == "#") {
23247 defundef = arg[2]
23248 mac1 = arg[3]
23249 } else {
23250 defundef = substr(arg[1], 2)
23251 mac1 = arg[2]
23253 split(mac1, mac2, "(") #)
23254 macro = mac2[1]
23255 prefix = substr(line, 1, index(line, defundef) - 1)
23256 if (D_is_set[macro]) {
23257 # Preserve the white space surrounding the "#".
23258 print prefix "define", macro P[macro] D[macro]
23259 next
23260 } else {
23261 # Replace #undef with comments. This is necessary, for example,
23262 # in the case of _POSIX_SOURCE, which is predefined and required
23263 # on some systems where configure will not decide to define it.
23264 if (defundef == "undef") {
23265 print "/*", prefix defundef, macro, "*/"
23266 next
23270 { print }
23271 _ACAWK
23272 _ACEOF
23273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23274 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23275 fi # test -n "$CONFIG_HEADERS"
23278 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23279 shift
23280 for ac_tag
23282 case $ac_tag in
23283 :[FHLC]) ac_mode=$ac_tag; continue;;
23284 esac
23285 case $ac_mode$ac_tag in
23286 :[FHL]*:*);;
23287 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23288 :[FH]-) ac_tag=-:-;;
23289 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23290 esac
23291 ac_save_IFS=$IFS
23292 IFS=:
23293 set x $ac_tag
23294 IFS=$ac_save_IFS
23295 shift
23296 ac_file=$1
23297 shift
23299 case $ac_mode in
23300 :L) ac_source=$1;;
23301 :[FH])
23302 ac_file_inputs=
23303 for ac_f
23305 case $ac_f in
23306 -) ac_f="$ac_tmp/stdin";;
23307 *) # Look for the file first in the build tree, then in the source tree
23308 # (if the path is not absolute). The absolute path cannot be DOS-style,
23309 # because $ac_f cannot contain `:'.
23310 test -f "$ac_f" ||
23311 case $ac_f in
23312 [\\/$]*) false;;
23313 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23314 esac ||
23315 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23316 esac
23317 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23318 as_fn_append ac_file_inputs " '$ac_f'"
23319 done
23321 # Let's still pretend it is `configure' which instantiates (i.e., don't
23322 # use $as_me), people would be surprised to read:
23323 # /* config.h. Generated by config.status. */
23324 configure_input='Generated from '`
23325 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23326 `' by configure.'
23327 if test x"$ac_file" != x-; then
23328 configure_input="$ac_file. $configure_input"
23329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23330 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23332 # Neutralize special characters interpreted by sed in replacement strings.
23333 case $configure_input in #(
23334 *\&* | *\|* | *\\* )
23335 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23336 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23337 *) ac_sed_conf_input=$configure_input;;
23338 esac
23340 case $ac_tag in
23341 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23342 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23343 esac
23345 esac
23347 ac_dir=`$as_dirname -- "$ac_file" ||
23348 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23349 X"$ac_file" : 'X\(//\)[^/]' \| \
23350 X"$ac_file" : 'X\(//\)$' \| \
23351 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23352 printf "%s\n" X"$ac_file" |
23353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23354 s//\1/
23357 /^X\(\/\/\)[^/].*/{
23358 s//\1/
23361 /^X\(\/\/\)$/{
23362 s//\1/
23365 /^X\(\/\).*/{
23366 s//\1/
23369 s/.*/./; q'`
23370 as_dir="$ac_dir"; as_fn_mkdir_p
23371 ac_builddir=.
23373 case "$ac_dir" in
23374 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23376 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23377 # A ".." for each directory in $ac_dir_suffix.
23378 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23379 case $ac_top_builddir_sub in
23380 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23381 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23382 esac ;;
23383 esac
23384 ac_abs_top_builddir=$ac_pwd
23385 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23386 # for backward compatibility:
23387 ac_top_builddir=$ac_top_build_prefix
23389 case $srcdir in
23390 .) # We are building in place.
23391 ac_srcdir=.
23392 ac_top_srcdir=$ac_top_builddir_sub
23393 ac_abs_top_srcdir=$ac_pwd ;;
23394 [\\/]* | ?:[\\/]* ) # Absolute name.
23395 ac_srcdir=$srcdir$ac_dir_suffix;
23396 ac_top_srcdir=$srcdir
23397 ac_abs_top_srcdir=$srcdir ;;
23398 *) # Relative name.
23399 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23400 ac_top_srcdir=$ac_top_build_prefix$srcdir
23401 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23402 esac
23403 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23406 case $ac_mode in
23410 # CONFIG_HEADER
23412 if test x"$ac_file" != x-; then
23414 printf "%s\n" "/* $configure_input */" >&1 \
23415 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23416 } >"$ac_tmp/config.h" \
23417 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23418 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23420 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23421 else
23422 rm -f "$ac_file"
23423 mv "$ac_tmp/config.h" "$ac_file" \
23424 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23426 else
23427 printf "%s\n" "/* $configure_input */" >&1 \
23428 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23429 || as_fn_error $? "could not create -" "$LINENO" 5
23434 # CONFIG_LINK
23437 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23439 else
23440 # Prefer the file from the source tree if names are identical.
23441 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23442 ac_source=$srcdir/$ac_source
23445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23446 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23448 if test ! -r "$ac_source"; then
23449 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23451 rm -f "$ac_file"
23453 # Try a relative symlink, then a hard link, then a copy.
23454 case $ac_source in
23455 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23456 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23457 esac
23458 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23459 ln "$ac_source" "$ac_file" 2>/dev/null ||
23460 cp -p "$ac_source" "$ac_file" ||
23461 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23464 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23465 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23467 esac
23470 case $ac_file$ac_mode in
23471 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23472 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23473 "Makefile":C) wine_fn_output_makefile Makefile ;;
23475 esac
23476 done # for ac_tag
23479 as_fn_exit 0
23480 _ACEOF
23481 ac_clean_files=$ac_clean_files_save
23483 test $ac_write_fail = 0 ||
23484 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23487 # configure is writing to config.log, and then calls config.status.
23488 # config.status does its own redirection, appending to config.log.
23489 # Unfortunately, on DOS this fails, as config.log is still kept open
23490 # by configure, so config.status won't be able to write to it; its
23491 # output is simply discarded. So we exec the FD to /dev/null,
23492 # effectively closing config.log, so it can be properly (re)opened and
23493 # appended to by config.status. When coming back to configure, we
23494 # need to make the FD available again.
23495 if test "$no_create" != yes; then
23496 ac_cs_success=:
23497 ac_config_status_args=
23498 test "$silent" = yes &&
23499 ac_config_status_args="$ac_config_status_args --quiet"
23500 exec 5>/dev/null
23501 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23502 exec 5>>config.log
23503 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23504 # would make configure fail if this is the last instruction.
23505 $ac_cs_success || as_fn_exit 1
23507 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23509 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23513 if test "$no_create" = "yes"
23514 then
23515 exit 0
23518 ac_save_IFS="$IFS"
23519 if test "x$wine_notices" != x; then
23520 echo >&6
23521 IFS="|"
23522 for msg in $wine_notices; do
23523 IFS="$ac_save_IFS"
23524 if ${msg:+false} :
23525 then :
23527 else $as_nop
23528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23529 printf "%s\n" "$as_me: $msg" >&6;}
23531 done
23533 IFS="|"
23534 for msg in $wine_warnings; do
23535 IFS="$ac_save_IFS"
23536 if ${msg:+false} :
23537 then :
23539 else $as_nop
23540 echo >&2
23541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23542 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23544 done
23545 IFS="$ac_save_IFS"
23547 printf "%s\n" "
23548 $as_me: Finished. Do '${ac_make}' to compile Wine.
23549 " >&6