wined3d: Add WINED3DFMT_R16_FLOAT vertex format.
[wine.git] / configure
blobb442f084a96a4060fc26ce700ece3192b7a8fca2
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 6.21.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='6.21'
615 PACKAGE_STRING='Wine 6.21'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 LDAP_LIBS
656 LDAP_CFLAGS
657 RT_LIBS
658 MSVCRTFLAGS
659 VKD3D_SHADER_LIBS
660 VKD3D_SHADER_CFLAGS
661 VKD3D_LIBS
662 VKD3D_CFLAGS
663 NETAPI_LIBS
664 NETAPI_CFLAGS
665 PROCSTAT_LIBS
666 GSSAPI_LIBS
667 GSSAPI_CFLAGS
668 KRB5_LIBS
669 KRB5_CFLAGS
670 FONTCONFIG_LIBS
671 FONTCONFIG_CFLAGS
672 CUPS_LIBS
673 CUPS_CFLAGS
674 CAPI20_LIBS
675 CAPI20_CFLAGS
676 SDL2_LIBS
677 SDL2_CFLAGS
678 UNWIND_LIBS
679 UNWIND_CFLAGS
680 UDEV_LIBS
681 UDEV_CFLAGS
682 OSS4_LIBS
683 OSS4_CFLAGS
684 ALSA_LIBS
685 GSTREAMER_LIBS
686 GSTREAMER_CFLAGS
687 PULSE_LIBS
688 PULSE_CFLAGS
689 GETTEXTPO_LIBS
690 FREETYPE_LIBS
691 FREETYPE_CFLAGS
692 RESOLV_LIBS
693 GPHOTO2_PORT_LIBS
694 GPHOTO2_PORT_CFLAGS
695 GPHOTO2_LIBS
696 GPHOTO2_CFLAGS
697 USB_LIBS
698 USB_CFLAGS
699 SANE_LIBS
700 SANE_CFLAGS
701 GNUTLS_LIBS
702 GNUTLS_CFLAGS
703 HAL_LIBS
704 HAL_CFLAGS
705 DBUS_LIBS
706 DBUS_CFLAGS
707 INOTIFY_LIBS
708 INOTIFY_CFLAGS
709 PCAP_LIBS
710 X_EXTRA_LIBS
711 X_LIBS
712 X_PRE_LIBS
713 X_CFLAGS
715 XMKMF
716 PTHREAD_LIBS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 TIFF_PE_LIBS
724 TIFF_PE_CFLAGS
725 PNG_PE_LIBS
726 PNG_PE_CFLAGS
727 MPG123_PE_LIBS
728 MPG123_PE_CFLAGS
729 LCMS2_PE_LIBS
730 LCMS2_PE_CFLAGS
731 JXR_PE_LIBS
732 JXR_PE_CFLAGS
733 JPEG_PE_LIBS
734 JPEG_PE_CFLAGS
735 GSM_PE_LIBS
736 GSM_PE_CFLAGS
737 FAUDIO_PE_LIBS
738 FAUDIO_PE_CFLAGS
739 EXCESS_PRECISION_CFLAGS
740 CROSSDEBUG
741 DELAYLOADFLAG
742 CROSSLDFLAGS
743 EXTRACROSSCFLAGS
744 CROSSCFLAGS
745 CROSSCC
746 CROSSTARGET
747 LIBWINE_DEPENDS
748 PRELINK
749 WINELOADER_DEPENDS
750 LIBWINE_LDFLAGS
751 LIBWINE_SHAREDLIB
752 METAL_LIBS
753 CARBON_LIBS
754 QUICKTIME_LIBS
755 OPENCL_LIBS
756 OPENAL_LIBS
757 COREAUDIO_LIBS
758 SECURITY_LIBS
759 DISKARBITRATION_LIBS
760 SYSTEMCONFIGURATION_LIBS
761 APPKIT_LIBS
762 CORESERVICES_LIBS
763 APPLICATIONSERVICES_LIBS
764 IOKIT_LIBS
765 COREFOUNDATION_LIBS
766 ac_ct_OBJC
767 OBJCFLAGS
768 OBJC
769 DLLTOOL
770 WINELOADER_PROGRAMS
771 CONFIGURE_TARGETS
772 DISABLED_SUBDIRS
773 SUBDIRS
774 READELF
775 OTOOL
777 WINEPRELOADER_LDFLAGS
778 WINELOADER_LDFLAGS
779 TOP_INSTALL_DEV
780 TOP_INSTALL_LIB
781 UNIXLDFLAGS
782 UNIXDLLFLAGS
783 EXTRACFLAGS
784 LDEXECFLAGS
785 LDDLLFLAGS
786 DLLFLAGS
787 OPENGL_LIBS
788 I386_LIBS
789 ICOTOOL
790 CONVERT
791 RSVG
792 FONTFORGE
793 PKG_CONFIG
794 MSGFMT
795 LDCONFIG
796 EGREP
797 GREP
798 LN_S
799 RANLIB
800 STRIP
801 ac_ct_AR
803 BISON
804 FLEX
805 api_manext
806 SED_CMD
807 RUNTESTFLAGS
808 MAKEDEP
809 toolsdir
810 toolsext
811 TARGETFLAGS
813 CPPBIN
814 ac_ct_CXX
815 CXXFLAGS
817 OBJEXT
818 EXEEXT
819 ac_ct_CC
820 CPPFLAGS
821 LDFLAGS
822 CFLAGS
824 SET_MAKE
825 srcdir
826 nlsdir
827 fontdir
828 dlldir
829 host_os
830 host_vendor
831 host_cpu
832 host
833 build_os
834 build_vendor
835 build_cpu
836 build
837 target_alias
838 host_alias
839 build_alias
840 LIBS
841 ECHO_T
842 ECHO_N
843 ECHO_C
844 DEFS
845 mandir
846 localedir
847 libdir
848 psdir
849 pdfdir
850 dvidir
851 htmldir
852 infodir
853 docdir
854 oldincludedir
855 includedir
856 runstatedir
857 localstatedir
858 sharedstatedir
859 sysconfdir
860 datadir
861 datarootdir
862 libexecdir
863 sbindir
864 bindir
865 program_transform_name
866 prefix
867 exec_prefix
868 PACKAGE_URL
869 PACKAGE_BUGREPORT
870 PACKAGE_STRING
871 PACKAGE_VERSION
872 PACKAGE_TARNAME
873 PACKAGE_NAME
874 PATH_SEPARATOR
875 SHELL'
876 ac_subst_files=''
877 ac_user_opts='
878 enable_option_checking
879 enable_win16
880 enable_win64
881 enable_tests
882 enable_build_id
883 enable_maintainer_mode
884 enable_silent_rules
885 enable_werror
886 with_alsa
887 with_capi
888 with_coreaudio
889 with_cups
890 with_dbus
891 with_float_abi
892 with_fontconfig
893 with_freetype
894 with_gettext
895 with_gettextpo
896 with_gphoto
897 with_gnutls
898 with_gssapi
899 with_gstreamer
900 with_hal
901 with_inotify
902 with_krb5
903 with_ldap
904 with_mingw
905 with_netapi
906 with_openal
907 with_opencl
908 with_opengl
909 with_osmesa
910 with_oss
911 with_pcap
912 with_pthread
913 with_pulse
914 with_quicktime
915 with_sane
916 with_sdl
917 with_udev
918 with_unwind
919 with_usb
920 with_v4l2
921 with_vkd3d
922 with_vulkan
923 with_xcomposite
924 with_xcursor
925 with_xfixes
926 with_xinerama
927 with_xinput
928 with_xinput2
929 with_xrandr
930 with_xrender
931 with_xshape
932 with_xshm
933 with_xxf86vm
934 with_wine_tools
935 with_wine64
936 enable_largefile
937 with_x
938 enable_acledit
939 enable_aclui
940 enable_activeds_tlb
941 enable_activeds
942 enable_actxprxy
943 enable_adsldp
944 enable_adsldpc
945 enable_advapi32
946 enable_advpack
947 enable_amsi
948 enable_amstream
949 enable_api_ms_win_appmodel_identity_l1_1_0
950 enable_api_ms_win_appmodel_runtime_l1_1_1
951 enable_api_ms_win_appmodel_runtime_l1_1_2
952 enable_api_ms_win_core_apiquery_l1_1_0
953 enable_api_ms_win_core_appcompat_l1_1_1
954 enable_api_ms_win_core_appinit_l1_1_0
955 enable_api_ms_win_core_atoms_l1_1_0
956 enable_api_ms_win_core_bem_l1_1_0
957 enable_api_ms_win_core_com_l1_1_0
958 enable_api_ms_win_core_com_l1_1_1
959 enable_api_ms_win_core_com_private_l1_1_0
960 enable_api_ms_win_core_comm_l1_1_0
961 enable_api_ms_win_core_console_l1_1_0
962 enable_api_ms_win_core_console_l1_2_0
963 enable_api_ms_win_core_console_l2_1_0
964 enable_api_ms_win_core_console_l3_2_0
965 enable_api_ms_win_core_crt_l1_1_0
966 enable_api_ms_win_core_crt_l2_1_0
967 enable_api_ms_win_core_datetime_l1_1_0
968 enable_api_ms_win_core_datetime_l1_1_1
969 enable_api_ms_win_core_debug_l1_1_0
970 enable_api_ms_win_core_debug_l1_1_1
971 enable_api_ms_win_core_delayload_l1_1_0
972 enable_api_ms_win_core_delayload_l1_1_1
973 enable_api_ms_win_core_errorhandling_l1_1_0
974 enable_api_ms_win_core_errorhandling_l1_1_1
975 enable_api_ms_win_core_errorhandling_l1_1_2
976 enable_api_ms_win_core_errorhandling_l1_1_3
977 enable_api_ms_win_core_featurestaging_l1_1_0
978 enable_api_ms_win_core_fibers_l1_1_0
979 enable_api_ms_win_core_fibers_l1_1_1
980 enable_api_ms_win_core_file_ansi_l2_1_0
981 enable_api_ms_win_core_file_fromapp_l1_1_0
982 enable_api_ms_win_core_file_l1_1_0
983 enable_api_ms_win_core_file_l1_2_0
984 enable_api_ms_win_core_file_l1_2_1
985 enable_api_ms_win_core_file_l1_2_2
986 enable_api_ms_win_core_file_l2_1_0
987 enable_api_ms_win_core_file_l2_1_1
988 enable_api_ms_win_core_file_l2_1_2
989 enable_api_ms_win_core_handle_l1_1_0
990 enable_api_ms_win_core_heap_l1_1_0
991 enable_api_ms_win_core_heap_l1_2_0
992 enable_api_ms_win_core_heap_l2_1_0
993 enable_api_ms_win_core_heap_obsolete_l1_1_0
994 enable_api_ms_win_core_interlocked_l1_1_0
995 enable_api_ms_win_core_interlocked_l1_2_0
996 enable_api_ms_win_core_io_l1_1_0
997 enable_api_ms_win_core_io_l1_1_1
998 enable_api_ms_win_core_job_l1_1_0
999 enable_api_ms_win_core_job_l2_1_0
1000 enable_api_ms_win_core_kernel32_legacy_l1_1_0
1001 enable_api_ms_win_core_kernel32_legacy_l1_1_1
1002 enable_api_ms_win_core_kernel32_legacy_l1_1_2
1003 enable_api_ms_win_core_kernel32_legacy_l1_1_5
1004 enable_api_ms_win_core_kernel32_private_l1_1_1
1005 enable_api_ms_win_core_largeinteger_l1_1_0
1006 enable_api_ms_win_core_libraryloader_l1_1_0
1007 enable_api_ms_win_core_libraryloader_l1_1_1
1008 enable_api_ms_win_core_libraryloader_l1_2_0
1009 enable_api_ms_win_core_libraryloader_l1_2_1
1010 enable_api_ms_win_core_libraryloader_l1_2_2
1011 enable_api_ms_win_core_libraryloader_l2_1_0
1012 enable_api_ms_win_core_localization_l1_1_0
1013 enable_api_ms_win_core_localization_l1_2_0
1014 enable_api_ms_win_core_localization_l1_2_1
1015 enable_api_ms_win_core_localization_l1_2_2
1016 enable_api_ms_win_core_localization_l2_1_0
1017 enable_api_ms_win_core_localization_obsolete_l1_1_0
1018 enable_api_ms_win_core_localization_obsolete_l1_2_0
1019 enable_api_ms_win_core_localization_obsolete_l1_3_0
1020 enable_api_ms_win_core_localization_private_l1_1_0
1021 enable_api_ms_win_core_localregistry_l1_1_0
1022 enable_api_ms_win_core_memory_l1_1_0
1023 enable_api_ms_win_core_memory_l1_1_1
1024 enable_api_ms_win_core_memory_l1_1_2
1025 enable_api_ms_win_core_memory_l1_1_3
1026 enable_api_ms_win_core_memory_l1_1_4
1027 enable_api_ms_win_core_misc_l1_1_0
1028 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1029 enable_api_ms_win_core_namedpipe_l1_1_0
1030 enable_api_ms_win_core_namedpipe_l1_2_0
1031 enable_api_ms_win_core_namespace_l1_1_0
1032 enable_api_ms_win_core_normalization_l1_1_0
1033 enable_api_ms_win_core_path_l1_1_0
1034 enable_api_ms_win_core_privateprofile_l1_1_1
1035 enable_api_ms_win_core_processenvironment_l1_1_0
1036 enable_api_ms_win_core_processenvironment_l1_2_0
1037 enable_api_ms_win_core_processthreads_l1_1_0
1038 enable_api_ms_win_core_processthreads_l1_1_1
1039 enable_api_ms_win_core_processthreads_l1_1_2
1040 enable_api_ms_win_core_processthreads_l1_1_3
1041 enable_api_ms_win_core_processtopology_l1_1_0
1042 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1043 enable_api_ms_win_core_profile_l1_1_0
1044 enable_api_ms_win_core_psapi_ansi_l1_1_0
1045 enable_api_ms_win_core_psapi_l1_1_0
1046 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1047 enable_api_ms_win_core_psm_appnotify_l1_1_0
1048 enable_api_ms_win_core_quirks_l1_1_0
1049 enable_api_ms_win_core_realtime_l1_1_0
1050 enable_api_ms_win_core_realtime_l1_1_1
1051 enable_api_ms_win_core_registry_l1_1_0
1052 enable_api_ms_win_core_registry_l2_1_0
1053 enable_api_ms_win_core_registry_l2_2_0
1054 enable_api_ms_win_core_registryuserspecific_l1_1_0
1055 enable_api_ms_win_core_rtlsupport_l1_1_0
1056 enable_api_ms_win_core_rtlsupport_l1_2_0
1057 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1058 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1059 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1060 enable_api_ms_win_core_shutdown_l1_1_0
1061 enable_api_ms_win_core_sidebyside_l1_1_0
1062 enable_api_ms_win_core_string_l1_1_0
1063 enable_api_ms_win_core_string_l2_1_0
1064 enable_api_ms_win_core_string_obsolete_l1_1_0
1065 enable_api_ms_win_core_stringansi_l1_1_0
1066 enable_api_ms_win_core_stringloader_l1_1_1
1067 enable_api_ms_win_core_synch_ansi_l1_1_0
1068 enable_api_ms_win_core_synch_l1_1_0
1069 enable_api_ms_win_core_synch_l1_2_0
1070 enable_api_ms_win_core_synch_l1_2_1
1071 enable_api_ms_win_core_sysinfo_l1_1_0
1072 enable_api_ms_win_core_sysinfo_l1_2_0
1073 enable_api_ms_win_core_sysinfo_l1_2_1
1074 enable_api_ms_win_core_systemtopology_l1_1_0
1075 enable_api_ms_win_core_threadpool_l1_1_0
1076 enable_api_ms_win_core_threadpool_l1_2_0
1077 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1078 enable_api_ms_win_core_threadpool_private_l1_1_0
1079 enable_api_ms_win_core_timezone_l1_1_0
1080 enable_api_ms_win_core_toolhelp_l1_1_0
1081 enable_api_ms_win_core_url_l1_1_0
1082 enable_api_ms_win_core_util_l1_1_0
1083 enable_api_ms_win_core_version_l1_1_0
1084 enable_api_ms_win_core_version_l1_1_1
1085 enable_api_ms_win_core_version_private_l1_1_0
1086 enable_api_ms_win_core_versionansi_l1_1_0
1087 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1088 enable_api_ms_win_core_winrt_error_l1_1_0
1089 enable_api_ms_win_core_winrt_error_l1_1_1
1090 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1091 enable_api_ms_win_core_winrt_l1_1_0
1092 enable_api_ms_win_core_winrt_registration_l1_1_0
1093 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1094 enable_api_ms_win_core_winrt_string_l1_1_0
1095 enable_api_ms_win_core_winrt_string_l1_1_1
1096 enable_api_ms_win_core_wow64_l1_1_0
1097 enable_api_ms_win_core_wow64_l1_1_1
1098 enable_api_ms_win_core_xstate_l1_1_0
1099 enable_api_ms_win_core_xstate_l2_1_0
1100 enable_api_ms_win_crt_conio_l1_1_0
1101 enable_api_ms_win_crt_convert_l1_1_0
1102 enable_api_ms_win_crt_environment_l1_1_0
1103 enable_api_ms_win_crt_filesystem_l1_1_0
1104 enable_api_ms_win_crt_heap_l1_1_0
1105 enable_api_ms_win_crt_locale_l1_1_0
1106 enable_api_ms_win_crt_math_l1_1_0
1107 enable_api_ms_win_crt_multibyte_l1_1_0
1108 enable_api_ms_win_crt_private_l1_1_0
1109 enable_api_ms_win_crt_process_l1_1_0
1110 enable_api_ms_win_crt_runtime_l1_1_0
1111 enable_api_ms_win_crt_stdio_l1_1_0
1112 enable_api_ms_win_crt_string_l1_1_0
1113 enable_api_ms_win_crt_time_l1_1_0
1114 enable_api_ms_win_crt_utility_l1_1_0
1115 enable_api_ms_win_devices_config_l1_1_0
1116 enable_api_ms_win_devices_config_l1_1_1
1117 enable_api_ms_win_devices_query_l1_1_1
1118 enable_api_ms_win_downlevel_advapi32_l1_1_0
1119 enable_api_ms_win_downlevel_advapi32_l2_1_0
1120 enable_api_ms_win_downlevel_kernel32_l2_1_0
1121 enable_api_ms_win_downlevel_normaliz_l1_1_0
1122 enable_api_ms_win_downlevel_ole32_l1_1_0
1123 enable_api_ms_win_downlevel_shell32_l1_1_0
1124 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1125 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1126 enable_api_ms_win_downlevel_user32_l1_1_0
1127 enable_api_ms_win_downlevel_version_l1_1_0
1128 enable_api_ms_win_dx_d3dkmt_l1_1_0
1129 enable_api_ms_win_eventing_classicprovider_l1_1_0
1130 enable_api_ms_win_eventing_consumer_l1_1_0
1131 enable_api_ms_win_eventing_controller_l1_1_0
1132 enable_api_ms_win_eventing_legacy_l1_1_0
1133 enable_api_ms_win_eventing_provider_l1_1_0
1134 enable_api_ms_win_eventlog_legacy_l1_1_0
1135 enable_api_ms_win_gaming_tcui_l1_1_0
1136 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1137 enable_api_ms_win_mm_joystick_l1_1_0
1138 enable_api_ms_win_mm_misc_l1_1_1
1139 enable_api_ms_win_mm_mme_l1_1_0
1140 enable_api_ms_win_mm_time_l1_1_0
1141 enable_api_ms_win_ntuser_dc_access_l1_1_0
1142 enable_api_ms_win_ntuser_rectangle_l1_1_0
1143 enable_api_ms_win_ntuser_sysparams_l1_1_0
1144 enable_api_ms_win_perf_legacy_l1_1_0
1145 enable_api_ms_win_power_base_l1_1_0
1146 enable_api_ms_win_power_setting_l1_1_0
1147 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1148 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1149 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1150 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1151 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1152 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1153 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1154 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1155 enable_api_ms_win_security_audit_l1_1_1
1156 enable_api_ms_win_security_base_l1_1_0
1157 enable_api_ms_win_security_base_l1_2_0
1158 enable_api_ms_win_security_base_private_l1_1_1
1159 enable_api_ms_win_security_credentials_l1_1_0
1160 enable_api_ms_win_security_cryptoapi_l1_1_0
1161 enable_api_ms_win_security_grouppolicy_l1_1_0
1162 enable_api_ms_win_security_lsalookup_l1_1_0
1163 enable_api_ms_win_security_lsalookup_l1_1_1
1164 enable_api_ms_win_security_lsalookup_l2_1_0
1165 enable_api_ms_win_security_lsalookup_l2_1_1
1166 enable_api_ms_win_security_lsapolicy_l1_1_0
1167 enable_api_ms_win_security_provider_l1_1_0
1168 enable_api_ms_win_security_sddl_l1_1_0
1169 enable_api_ms_win_security_systemfunctions_l1_1_0
1170 enable_api_ms_win_service_core_l1_1_0
1171 enable_api_ms_win_service_core_l1_1_1
1172 enable_api_ms_win_service_management_l1_1_0
1173 enable_api_ms_win_service_management_l2_1_0
1174 enable_api_ms_win_service_private_l1_1_1
1175 enable_api_ms_win_service_winsvc_l1_1_0
1176 enable_api_ms_win_service_winsvc_l1_2_0
1177 enable_api_ms_win_shcore_obsolete_l1_1_0
1178 enable_api_ms_win_shcore_scaling_l1_1_0
1179 enable_api_ms_win_shcore_scaling_l1_1_1
1180 enable_api_ms_win_shcore_stream_l1_1_0
1181 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1182 enable_api_ms_win_shcore_thread_l1_1_0
1183 enable_api_ms_win_shell_shellcom_l1_1_0
1184 enable_api_ms_win_shell_shellfolders_l1_1_0
1185 enable_apphelp
1186 enable_appwiz_cpl
1187 enable_atl
1188 enable_atl100
1189 enable_atl110
1190 enable_atl80
1191 enable_atl90
1192 enable_atlthunk
1193 enable_atmlib
1194 enable_authz
1195 enable_avicap32
1196 enable_avifil32
1197 enable_avrt
1198 enable_bcrypt
1199 enable_bluetoothapis
1200 enable_browseui
1201 enable_bthprops_cpl
1202 enable_cabinet
1203 enable_capi2032
1204 enable_cards
1205 enable_cdosys
1206 enable_cfgmgr32
1207 enable_clusapi
1208 enable_cng_sys
1209 enable_combase
1210 enable_comcat
1211 enable_comctl32
1212 enable_comdlg32
1213 enable_compstui
1214 enable_comsvcs
1215 enable_concrt140
1216 enable_connect
1217 enable_credui
1218 enable_crtdll
1219 enable_crypt32
1220 enable_cryptdlg
1221 enable_cryptdll
1222 enable_cryptext
1223 enable_cryptnet
1224 enable_cryptsp
1225 enable_cryptui
1226 enable_ctapi32
1227 enable_ctl3d32
1228 enable_d2d1
1229 enable_d3d10
1230 enable_d3d10_1
1231 enable_d3d10core
1232 enable_d3d11
1233 enable_d3d12
1234 enable_d3d8
1235 enable_d3d8thk
1236 enable_d3d9
1237 enable_d3dcompiler_33
1238 enable_d3dcompiler_34
1239 enable_d3dcompiler_35
1240 enable_d3dcompiler_36
1241 enable_d3dcompiler_37
1242 enable_d3dcompiler_38
1243 enable_d3dcompiler_39
1244 enable_d3dcompiler_40
1245 enable_d3dcompiler_41
1246 enable_d3dcompiler_42
1247 enable_d3dcompiler_43
1248 enable_d3dcompiler_46
1249 enable_d3dcompiler_47
1250 enable_d3dim
1251 enable_d3dim700
1252 enable_d3drm
1253 enable_d3dx10_33
1254 enable_d3dx10_34
1255 enable_d3dx10_35
1256 enable_d3dx10_36
1257 enable_d3dx10_37
1258 enable_d3dx10_38
1259 enable_d3dx10_39
1260 enable_d3dx10_40
1261 enable_d3dx10_41
1262 enable_d3dx10_42
1263 enable_d3dx10_43
1264 enable_d3dx11_42
1265 enable_d3dx11_43
1266 enable_d3dx9_24
1267 enable_d3dx9_25
1268 enable_d3dx9_26
1269 enable_d3dx9_27
1270 enable_d3dx9_28
1271 enable_d3dx9_29
1272 enable_d3dx9_30
1273 enable_d3dx9_31
1274 enable_d3dx9_32
1275 enable_d3dx9_33
1276 enable_d3dx9_34
1277 enable_d3dx9_35
1278 enable_d3dx9_36
1279 enable_d3dx9_37
1280 enable_d3dx9_38
1281 enable_d3dx9_39
1282 enable_d3dx9_40
1283 enable_d3dx9_41
1284 enable_d3dx9_42
1285 enable_d3dx9_43
1286 enable_d3dxof
1287 enable_davclnt
1288 enable_dbgeng
1289 enable_dbghelp
1290 enable_dciman32
1291 enable_dcomp
1292 enable_ddraw
1293 enable_ddrawex
1294 enable_devenum
1295 enable_dhcpcsvc
1296 enable_dhcpcsvc6
1297 enable_dhtmled_ocx
1298 enable_difxapi
1299 enable_dinput
1300 enable_dinput8
1301 enable_directmanipulation
1302 enable_dispex
1303 enable_dmband
1304 enable_dmcompos
1305 enable_dmime
1306 enable_dmloader
1307 enable_dmscript
1308 enable_dmstyle
1309 enable_dmsynth
1310 enable_dmusic
1311 enable_dmusic32
1312 enable_dnsapi
1313 enable_dplay
1314 enable_dplayx
1315 enable_dpnaddr
1316 enable_dpnet
1317 enable_dpnhpast
1318 enable_dpnhupnp
1319 enable_dpnlobby
1320 enable_dpvoice
1321 enable_dpwsockx
1322 enable_drmclien
1323 enable_dsdmo
1324 enable_dsound
1325 enable_dsquery
1326 enable_dssenh
1327 enable_dsuiext
1328 enable_dswave
1329 enable_dwmapi
1330 enable_dwrite
1331 enable_dx8vb
1332 enable_dxdiagn
1333 enable_dxgi
1334 enable_dxtrans
1335 enable_dxva2
1336 enable_esent
1337 enable_evr
1338 enable_explorerframe
1339 enable_ext_ms_win_authz_context_l1_1_0
1340 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1341 enable_ext_ms_win_dwmapi_ext_l1_1_0
1342 enable_ext_ms_win_gdi_dc_create_l1_1_0
1343 enable_ext_ms_win_gdi_dc_create_l1_1_1
1344 enable_ext_ms_win_gdi_dc_l1_2_0
1345 enable_ext_ms_win_gdi_devcaps_l1_1_0
1346 enable_ext_ms_win_gdi_draw_l1_1_0
1347 enable_ext_ms_win_gdi_draw_l1_1_1
1348 enable_ext_ms_win_gdi_font_l1_1_0
1349 enable_ext_ms_win_gdi_font_l1_1_1
1350 enable_ext_ms_win_gdi_render_l1_1_0
1351 enable_ext_ms_win_kernel32_package_current_l1_1_0
1352 enable_ext_ms_win_kernel32_package_l1_1_1
1353 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1354 enable_ext_ms_win_ntuser_draw_l1_1_0
1355 enable_ext_ms_win_ntuser_gui_l1_1_0
1356 enable_ext_ms_win_ntuser_gui_l1_3_0
1357 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1358 enable_ext_ms_win_ntuser_message_l1_1_0
1359 enable_ext_ms_win_ntuser_message_l1_1_1
1360 enable_ext_ms_win_ntuser_misc_l1_1_0
1361 enable_ext_ms_win_ntuser_misc_l1_2_0
1362 enable_ext_ms_win_ntuser_misc_l1_5_1
1363 enable_ext_ms_win_ntuser_mouse_l1_1_0
1364 enable_ext_ms_win_ntuser_private_l1_1_1
1365 enable_ext_ms_win_ntuser_private_l1_3_1
1366 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1367 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1368 enable_ext_ms_win_ntuser_window_l1_1_0
1369 enable_ext_ms_win_ntuser_window_l1_1_1
1370 enable_ext_ms_win_ntuser_window_l1_1_4
1371 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1372 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1373 enable_ext_ms_win_oleacc_l1_1_0
1374 enable_ext_ms_win_ras_rasapi32_l1_1_0
1375 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1376 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1377 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1378 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1379 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1380 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1381 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1382 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1383 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1384 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1385 enable_ext_ms_win_security_credui_l1_1_0
1386 enable_ext_ms_win_security_cryptui_l1_1_0
1387 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1388 enable_ext_ms_win_shell_comdlg32_l1_1_0
1389 enable_ext_ms_win_shell_shell32_l1_2_0
1390 enable_ext_ms_win_uxtheme_themes_l1_1_0
1391 enable_faultrep
1392 enable_feclient
1393 enable_fltlib
1394 enable_fltmgr_sys
1395 enable_fntcache
1396 enable_fontsub
1397 enable_fusion
1398 enable_fwpuclnt
1399 enable_gameux
1400 enable_gamingtcui
1401 enable_gdi32
1402 enable_gdiplus
1403 enable_glu32
1404 enable_gphoto2_ds
1405 enable_gpkcsp
1406 enable_hal
1407 enable_hhctrl_ocx
1408 enable_hid
1409 enable_hidclass_sys
1410 enable_hidparse_sys
1411 enable_hlink
1412 enable_hnetcfg
1413 enable_http_sys
1414 enable_httpapi
1415 enable_iccvid
1416 enable_icmp
1417 enable_ieframe
1418 enable_ieproxy
1419 enable_imaadp32_acm
1420 enable_imagehlp
1421 enable_imm32
1422 enable_inetcomm
1423 enable_inetcpl_cpl
1424 enable_inetmib1
1425 enable_infosoft
1426 enable_initpki
1427 enable_inkobj
1428 enable_inseng
1429 enable_iphlpapi
1430 enable_iprop
1431 enable_irprops_cpl
1432 enable_itircl
1433 enable_itss
1434 enable_joy_cpl
1435 enable_jscript
1436 enable_jsproxy
1437 enable_kerberos
1438 enable_kernel32
1439 enable_kernelbase
1440 enable_ksecdd_sys
1441 enable_ksproxy_ax
1442 enable_ksuser
1443 enable_ktmw32
1444 enable_l3codeca_acm
1445 enable_light_msstyles
1446 enable_loadperf
1447 enable_localspl
1448 enable_localui
1449 enable_lz32
1450 enable_mapi32
1451 enable_mapistub
1452 enable_mciavi32
1453 enable_mcicda
1454 enable_mciqtz32
1455 enable_mciseq
1456 enable_mciwave
1457 enable_mf
1458 enable_mf3216
1459 enable_mferror
1460 enable_mfmediaengine
1461 enable_mfplat
1462 enable_mfplay
1463 enable_mfreadwrite
1464 enable_mgmtapi
1465 enable_midimap
1466 enable_mlang
1467 enable_mmcndmgr
1468 enable_mmdevapi
1469 enable_mountmgr_sys
1470 enable_mp3dmod
1471 enable_mpr
1472 enable_mprapi
1473 enable_msacm32_drv
1474 enable_msacm32
1475 enable_msado15
1476 enable_msadp32_acm
1477 enable_msasn1
1478 enable_mscat32
1479 enable_mscms
1480 enable_mscoree
1481 enable_mscorwks
1482 enable_msctf
1483 enable_msctfmonitor
1484 enable_msctfp
1485 enable_msdaps
1486 enable_msdasql
1487 enable_msdelta
1488 enable_msdmo
1489 enable_msdrm
1490 enable_msftedit
1491 enable_msg711_acm
1492 enable_msgsm32_acm
1493 enable_mshtml_tlb
1494 enable_mshtml
1495 enable_msi
1496 enable_msident
1497 enable_msimg32
1498 enable_msimsg
1499 enable_msimtf
1500 enable_msisip
1501 enable_msisys_ocx
1502 enable_msls31
1503 enable_msnet32
1504 enable_mspatcha
1505 enable_msports
1506 enable_msrle32
1507 enable_msscript_ocx
1508 enable_mssign32
1509 enable_mssip32
1510 enable_mstask
1511 enable_msv1_0
1512 enable_msvcirt
1513 enable_msvcm80
1514 enable_msvcm90
1515 enable_msvcp100
1516 enable_msvcp110
1517 enable_msvcp120
1518 enable_msvcp120_app
1519 enable_msvcp140
1520 enable_msvcp140_1
1521 enable_msvcp60
1522 enable_msvcp70
1523 enable_msvcp71
1524 enable_msvcp80
1525 enable_msvcp90
1526 enable_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 HAL_CFLAGS
1991 HAL_LIBS
1992 GNUTLS_CFLAGS
1993 GNUTLS_LIBS
1994 SANE_CFLAGS
1995 SANE_LIBS
1996 USB_CFLAGS
1997 USB_LIBS
1998 GPHOTO2_CFLAGS
1999 GPHOTO2_LIBS
2000 GPHOTO2_PORT_CFLAGS
2001 GPHOTO2_PORT_LIBS
2002 FREETYPE_CFLAGS
2003 FREETYPE_LIBS
2004 PULSE_CFLAGS
2005 PULSE_LIBS
2006 GSTREAMER_CFLAGS
2007 GSTREAMER_LIBS
2008 UDEV_CFLAGS
2009 UDEV_LIBS
2010 UNWIND_CFLAGS
2011 UNWIND_LIBS
2012 SDL2_CFLAGS
2013 SDL2_LIBS
2014 CAPI20_CFLAGS
2015 CAPI20_LIBS
2016 CUPS_CFLAGS
2017 CUPS_LIBS
2018 FONTCONFIG_CFLAGS
2019 FONTCONFIG_LIBS
2020 KRB5_CFLAGS
2021 KRB5_LIBS
2022 GSSAPI_CFLAGS
2023 GSSAPI_LIBS
2024 NETAPI_CFLAGS
2025 NETAPI_LIBS
2026 VKD3D_CFLAGS
2027 VKD3D_LIBS
2028 VKD3D_SHADER_CFLAGS
2029 VKD3D_SHADER_LIBS
2030 LDAP_CFLAGS
2031 LDAP_LIBS'
2034 # Initialize some variables set by options.
2035 ac_init_help=
2036 ac_init_version=false
2037 ac_unrecognized_opts=
2038 ac_unrecognized_sep=
2039 # The variables have the same names as the options, with
2040 # dashes changed to underlines.
2041 cache_file=/dev/null
2042 exec_prefix=NONE
2043 no_create=
2044 no_recursion=
2045 prefix=NONE
2046 program_prefix=NONE
2047 program_suffix=NONE
2048 program_transform_name=s,x,x,
2049 silent=
2050 site=
2051 srcdir=
2052 verbose=
2053 x_includes=NONE
2054 x_libraries=NONE
2056 # Installation directory options.
2057 # These are left unexpanded so users can "make install exec_prefix=/foo"
2058 # and all the variables that are supposed to be based on exec_prefix
2059 # by default will actually change.
2060 # Use braces instead of parens because sh, perl, etc. also accept them.
2061 # (The list follows the same order as the GNU Coding Standards.)
2062 bindir='${exec_prefix}/bin'
2063 sbindir='${exec_prefix}/sbin'
2064 libexecdir='${exec_prefix}/libexec'
2065 datarootdir='${prefix}/share'
2066 datadir='${datarootdir}'
2067 sysconfdir='${prefix}/etc'
2068 sharedstatedir='${prefix}/com'
2069 localstatedir='${prefix}/var'
2070 runstatedir='${localstatedir}/run'
2071 includedir='${prefix}/include'
2072 oldincludedir='/usr/include'
2073 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2074 infodir='${datarootdir}/info'
2075 htmldir='${docdir}'
2076 dvidir='${docdir}'
2077 pdfdir='${docdir}'
2078 psdir='${docdir}'
2079 libdir='${exec_prefix}/lib'
2080 localedir='${datarootdir}/locale'
2081 mandir='${datarootdir}/man'
2083 ac_prev=
2084 ac_dashdash=
2085 for ac_option
2087 # If the previous option needs an argument, assign it.
2088 if test -n "$ac_prev"; then
2089 eval $ac_prev=\$ac_option
2090 ac_prev=
2091 continue
2094 case $ac_option in
2095 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2096 *=) ac_optarg= ;;
2097 *) ac_optarg=yes ;;
2098 esac
2100 case $ac_dashdash$ac_option in
2102 ac_dashdash=yes ;;
2104 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2105 ac_prev=bindir ;;
2106 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2107 bindir=$ac_optarg ;;
2109 -build | --build | --buil | --bui | --bu)
2110 ac_prev=build_alias ;;
2111 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2112 build_alias=$ac_optarg ;;
2114 -cache-file | --cache-file | --cache-fil | --cache-fi \
2115 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2116 ac_prev=cache_file ;;
2117 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2118 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2119 cache_file=$ac_optarg ;;
2121 --config-cache | -C)
2122 cache_file=config.cache ;;
2124 -datadir | --datadir | --datadi | --datad)
2125 ac_prev=datadir ;;
2126 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2127 datadir=$ac_optarg ;;
2129 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2130 | --dataroo | --dataro | --datar)
2131 ac_prev=datarootdir ;;
2132 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2133 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2134 datarootdir=$ac_optarg ;;
2136 -disable-* | --disable-*)
2137 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2138 # Reject names that are not valid shell variable names.
2139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2140 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2141 ac_useropt_orig=$ac_useropt
2142 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2143 case $ac_user_opts in
2145 "enable_$ac_useropt"
2146 "*) ;;
2147 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2148 ac_unrecognized_sep=', ';;
2149 esac
2150 eval enable_$ac_useropt=no ;;
2152 -docdir | --docdir | --docdi | --doc | --do)
2153 ac_prev=docdir ;;
2154 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2155 docdir=$ac_optarg ;;
2157 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2158 ac_prev=dvidir ;;
2159 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2160 dvidir=$ac_optarg ;;
2162 -enable-* | --enable-*)
2163 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2164 # Reject names that are not valid shell variable names.
2165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2166 as_fn_error $? "invalid feature name: \`$ac_useropt'"
2167 ac_useropt_orig=$ac_useropt
2168 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2169 case $ac_user_opts in
2171 "enable_$ac_useropt"
2172 "*) ;;
2173 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2174 ac_unrecognized_sep=', ';;
2175 esac
2176 eval enable_$ac_useropt=\$ac_optarg ;;
2178 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2179 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2180 | --exec | --exe | --ex)
2181 ac_prev=exec_prefix ;;
2182 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2183 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2184 | --exec=* | --exe=* | --ex=*)
2185 exec_prefix=$ac_optarg ;;
2187 -gas | --gas | --ga | --g)
2188 # Obsolete; use --with-gas.
2189 with_gas=yes ;;
2191 -help | --help | --hel | --he | -h)
2192 ac_init_help=long ;;
2193 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2194 ac_init_help=recursive ;;
2195 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2196 ac_init_help=short ;;
2198 -host | --host | --hos | --ho)
2199 ac_prev=host_alias ;;
2200 -host=* | --host=* | --hos=* | --ho=*)
2201 host_alias=$ac_optarg ;;
2203 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2204 ac_prev=htmldir ;;
2205 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2206 | --ht=*)
2207 htmldir=$ac_optarg ;;
2209 -includedir | --includedir | --includedi | --included | --include \
2210 | --includ | --inclu | --incl | --inc)
2211 ac_prev=includedir ;;
2212 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2213 | --includ=* | --inclu=* | --incl=* | --inc=*)
2214 includedir=$ac_optarg ;;
2216 -infodir | --infodir | --infodi | --infod | --info | --inf)
2217 ac_prev=infodir ;;
2218 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2219 infodir=$ac_optarg ;;
2221 -libdir | --libdir | --libdi | --libd)
2222 ac_prev=libdir ;;
2223 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2224 libdir=$ac_optarg ;;
2226 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2227 | --libexe | --libex | --libe)
2228 ac_prev=libexecdir ;;
2229 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2230 | --libexe=* | --libex=* | --libe=*)
2231 libexecdir=$ac_optarg ;;
2233 -localedir | --localedir | --localedi | --localed | --locale)
2234 ac_prev=localedir ;;
2235 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2236 localedir=$ac_optarg ;;
2238 -localstatedir | --localstatedir | --localstatedi | --localstated \
2239 | --localstate | --localstat | --localsta | --localst | --locals)
2240 ac_prev=localstatedir ;;
2241 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2242 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2243 localstatedir=$ac_optarg ;;
2245 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2246 ac_prev=mandir ;;
2247 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2248 mandir=$ac_optarg ;;
2250 -nfp | --nfp | --nf)
2251 # Obsolete; use --without-fp.
2252 with_fp=no ;;
2254 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2255 | --no-cr | --no-c | -n)
2256 no_create=yes ;;
2258 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2259 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2260 no_recursion=yes ;;
2262 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2263 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2264 | --oldin | --oldi | --old | --ol | --o)
2265 ac_prev=oldincludedir ;;
2266 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2267 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2268 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2269 oldincludedir=$ac_optarg ;;
2271 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2272 ac_prev=prefix ;;
2273 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2274 prefix=$ac_optarg ;;
2276 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2277 | --program-pre | --program-pr | --program-p)
2278 ac_prev=program_prefix ;;
2279 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2280 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2281 program_prefix=$ac_optarg ;;
2283 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2284 | --program-suf | --program-su | --program-s)
2285 ac_prev=program_suffix ;;
2286 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2287 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2288 program_suffix=$ac_optarg ;;
2290 -program-transform-name | --program-transform-name \
2291 | --program-transform-nam | --program-transform-na \
2292 | --program-transform-n | --program-transform- \
2293 | --program-transform | --program-transfor \
2294 | --program-transfo | --program-transf \
2295 | --program-trans | --program-tran \
2296 | --progr-tra | --program-tr | --program-t)
2297 ac_prev=program_transform_name ;;
2298 -program-transform-name=* | --program-transform-name=* \
2299 | --program-transform-nam=* | --program-transform-na=* \
2300 | --program-transform-n=* | --program-transform-=* \
2301 | --program-transform=* | --program-transfor=* \
2302 | --program-transfo=* | --program-transf=* \
2303 | --program-trans=* | --program-tran=* \
2304 | --progr-tra=* | --program-tr=* | --program-t=*)
2305 program_transform_name=$ac_optarg ;;
2307 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2308 ac_prev=pdfdir ;;
2309 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2310 pdfdir=$ac_optarg ;;
2312 -psdir | --psdir | --psdi | --psd | --ps)
2313 ac_prev=psdir ;;
2314 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2315 psdir=$ac_optarg ;;
2317 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2318 | -silent | --silent | --silen | --sile | --sil)
2319 silent=yes ;;
2321 -runstatedir | --runstatedir | --runstatedi | --runstated \
2322 | --runstate | --runstat | --runsta | --runst | --runs \
2323 | --run | --ru | --r)
2324 ac_prev=runstatedir ;;
2325 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2326 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2327 | --run=* | --ru=* | --r=*)
2328 runstatedir=$ac_optarg ;;
2330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2331 ac_prev=sbindir ;;
2332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2333 | --sbi=* | --sb=*)
2334 sbindir=$ac_optarg ;;
2336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2338 | --sharedst | --shareds | --shared | --share | --shar \
2339 | --sha | --sh)
2340 ac_prev=sharedstatedir ;;
2341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2344 | --sha=* | --sh=*)
2345 sharedstatedir=$ac_optarg ;;
2347 -site | --site | --sit)
2348 ac_prev=site ;;
2349 -site=* | --site=* | --sit=*)
2350 site=$ac_optarg ;;
2352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2353 ac_prev=srcdir ;;
2354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2355 srcdir=$ac_optarg ;;
2357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2358 | --syscon | --sysco | --sysc | --sys | --sy)
2359 ac_prev=sysconfdir ;;
2360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2362 sysconfdir=$ac_optarg ;;
2364 -target | --target | --targe | --targ | --tar | --ta | --t)
2365 ac_prev=target_alias ;;
2366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2367 target_alias=$ac_optarg ;;
2369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2370 verbose=yes ;;
2372 -version | --version | --versio | --versi | --vers | -V)
2373 ac_init_version=: ;;
2375 -with-* | --with-*)
2376 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2377 # Reject names that are not valid shell variable names.
2378 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2379 as_fn_error $? "invalid package name: \`$ac_useropt'"
2380 ac_useropt_orig=$ac_useropt
2381 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2382 case $ac_user_opts in
2384 "with_$ac_useropt"
2385 "*) ;;
2386 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2387 ac_unrecognized_sep=', ';;
2388 esac
2389 eval with_$ac_useropt=\$ac_optarg ;;
2391 -without-* | --without-*)
2392 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2393 # Reject names that are not valid shell variable names.
2394 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2395 as_fn_error $? "invalid package name: \`$ac_useropt'"
2396 ac_useropt_orig=$ac_useropt
2397 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2398 case $ac_user_opts in
2400 "with_$ac_useropt"
2401 "*) ;;
2402 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2403 ac_unrecognized_sep=', ';;
2404 esac
2405 eval with_$ac_useropt=no ;;
2407 --x)
2408 # Obsolete; use --with-x.
2409 with_x=yes ;;
2411 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2412 | --x-incl | --x-inc | --x-in | --x-i)
2413 ac_prev=x_includes ;;
2414 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2415 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2416 x_includes=$ac_optarg ;;
2418 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2419 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2420 ac_prev=x_libraries ;;
2421 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2422 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2423 x_libraries=$ac_optarg ;;
2425 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2426 Try \`$0 --help' for more information"
2429 *=*)
2430 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2431 # Reject names that are not valid shell variable names.
2432 case $ac_envvar in #(
2433 '' | [0-9]* | *[!_$as_cr_alnum]* )
2434 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2435 esac
2436 eval $ac_envvar=\$ac_optarg
2437 export $ac_envvar ;;
2440 # FIXME: should be removed in autoconf 3.0.
2441 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2442 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2443 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2444 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2447 esac
2448 done
2450 if test -n "$ac_prev"; then
2451 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2452 as_fn_error $? "missing argument to $ac_option"
2455 if test -n "$ac_unrecognized_opts"; then
2456 case $enable_option_checking in
2457 no) ;;
2458 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2459 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2460 esac
2463 # Check all directory arguments for consistency.
2464 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2465 datadir sysconfdir sharedstatedir localstatedir includedir \
2466 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2467 libdir localedir mandir runstatedir
2469 eval ac_val=\$$ac_var
2470 # Remove trailing slashes.
2471 case $ac_val in
2472 */ )
2473 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2474 eval $ac_var=\$ac_val;;
2475 esac
2476 # Be sure to have absolute directory names.
2477 case $ac_val in
2478 [\\/$]* | ?:[\\/]* ) continue;;
2479 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2480 esac
2481 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2482 done
2484 # There might be people who depend on the old broken behavior: `$host'
2485 # used to hold the argument of --host etc.
2486 # FIXME: To remove some day.
2487 build=$build_alias
2488 host=$host_alias
2489 target=$target_alias
2491 # FIXME: To remove some day.
2492 if test "x$host_alias" != x; then
2493 if test "x$build_alias" = x; then
2494 cross_compiling=maybe
2495 elif test "x$build_alias" != "x$host_alias"; then
2496 cross_compiling=yes
2500 ac_tool_prefix=
2501 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2503 test "$silent" = yes && exec 6>/dev/null
2506 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2507 ac_ls_di=`ls -di .` &&
2508 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2509 as_fn_error $? "working directory cannot be determined"
2510 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2511 as_fn_error $? "pwd does not report name of working directory"
2514 # Find the source files, if location was not specified.
2515 if test -z "$srcdir"; then
2516 ac_srcdir_defaulted=yes
2517 # Try the directory containing this script, then the parent directory.
2518 ac_confdir=`$as_dirname -- "$as_myself" ||
2519 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2520 X"$as_myself" : 'X\(//\)[^/]' \| \
2521 X"$as_myself" : 'X\(//\)$' \| \
2522 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2523 printf "%s\n" X"$as_myself" |
2524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2525 s//\1/
2528 /^X\(\/\/\)[^/].*/{
2529 s//\1/
2532 /^X\(\/\/\)$/{
2533 s//\1/
2536 /^X\(\/\).*/{
2537 s//\1/
2540 s/.*/./; q'`
2541 srcdir=$ac_confdir
2542 if test ! -r "$srcdir/$ac_unique_file"; then
2543 srcdir=..
2545 else
2546 ac_srcdir_defaulted=no
2548 if test ! -r "$srcdir/$ac_unique_file"; then
2549 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2550 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2552 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2553 ac_abs_confdir=`(
2554 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2555 pwd)`
2556 # When building in place, set srcdir=.
2557 if test "$ac_abs_confdir" = "$ac_pwd"; then
2558 srcdir=.
2560 # Remove unnecessary trailing slashes from srcdir.
2561 # Double slashes in file names in object file debugging info
2562 # mess up M-x gdb in Emacs.
2563 case $srcdir in
2564 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2565 esac
2566 for ac_var in $ac_precious_vars; do
2567 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2568 eval ac_env_${ac_var}_value=\$${ac_var}
2569 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2570 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2571 done
2574 # Report the --help message.
2576 if test "$ac_init_help" = "long"; then
2577 # Omit some internal or obsolete options to make the list less imposing.
2578 # This message is too long to be a string in the A/UX 3.1 sh.
2579 cat <<_ACEOF
2580 \`configure' configures Wine 6.21 to adapt to many kinds of systems.
2582 Usage: $0 [OPTION]... [VAR=VALUE]...
2584 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2585 VAR=VALUE. See below for descriptions of some of the useful variables.
2587 Defaults for the options are specified in brackets.
2589 Configuration:
2590 -h, --help display this help and exit
2591 --help=short display options specific to this package
2592 --help=recursive display the short help of all the included packages
2593 -V, --version display version information and exit
2594 -q, --quiet, --silent do not print \`checking ...' messages
2595 --cache-file=FILE cache test results in FILE [disabled]
2596 -C, --config-cache alias for \`--cache-file=config.cache'
2597 -n, --no-create do not create output files
2598 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2600 Installation directories:
2601 --prefix=PREFIX install architecture-independent files in PREFIX
2602 [$ac_default_prefix]
2603 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2604 [PREFIX]
2606 By default, \`make install' will install all the files in
2607 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2608 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2609 for instance \`--prefix=\$HOME'.
2611 For better control, use the options below.
2613 Fine tuning of the installation directories:
2614 --bindir=DIR user executables [EPREFIX/bin]
2615 --sbindir=DIR system admin executables [EPREFIX/sbin]
2616 --libexecdir=DIR program executables [EPREFIX/libexec]
2617 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2618 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2619 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2620 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2621 --libdir=DIR object code libraries [EPREFIX/lib]
2622 --includedir=DIR C header files [PREFIX/include]
2623 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2624 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2625 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2626 --infodir=DIR info documentation [DATAROOTDIR/info]
2627 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2628 --mandir=DIR man documentation [DATAROOTDIR/man]
2629 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2630 --htmldir=DIR html documentation [DOCDIR]
2631 --dvidir=DIR dvi documentation [DOCDIR]
2632 --pdfdir=DIR pdf documentation [DOCDIR]
2633 --psdir=DIR ps documentation [DOCDIR]
2634 _ACEOF
2636 cat <<\_ACEOF
2638 X features:
2639 --x-includes=DIR X include files are in DIR
2640 --x-libraries=DIR X library files are in DIR
2642 System types:
2643 --build=BUILD configure for building on BUILD [guessed]
2644 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2645 _ACEOF
2648 if test -n "$ac_init_help"; then
2649 case $ac_init_help in
2650 short | recursive ) echo "Configuration of Wine 6.21:";;
2651 esac
2652 cat <<\_ACEOF
2654 Optional Features:
2655 --disable-option-checking ignore unrecognized --enable/--with options
2656 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2657 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2658 --disable-win16 do not include Win16 support
2659 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2660 binaries)
2661 --disable-tests do not build the regression tests
2662 --enable-build-id include .buildid section in output objects
2663 --enable-maintainer-mode
2664 enable maintainer-specific build rules
2665 --enable-silent-rules use silent build rules (override: "make V=1")
2666 --enable-werror treat compilation warnings as errors
2667 --disable-largefile omit support for large files
2669 Optional Packages:
2670 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2671 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2672 --without-alsa do not use the Alsa sound support
2673 --without-capi do not use CAPI (ISDN support)
2674 --without-coreaudio do not use the CoreAudio sound support
2675 --without-cups do not use CUPS
2676 --without-dbus do not use DBus (dynamic device support)
2677 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2678 --without-fontconfig do not use fontconfig
2679 --without-freetype do not use the FreeType library
2680 --without-gettext do not use gettext
2681 --with-gettextpo use the GetTextPO library to rebuild po files
2682 --without-gphoto do not use gphoto (Digital Camera support)
2683 --without-gnutls do not use GnuTLS (schannel support)
2684 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2685 --without-gstreamer do not use GStreamer (codecs support)
2686 --without-hal do not use HAL (dynamic device support)
2687 --without-inotify do not use inotify (filesystem change notifications)
2688 --without-krb5 do not use krb5 (Kerberos)
2689 --without-ldap do not use LDAP
2690 --without-mingw do not use the MinGW cross-compiler
2691 --without-netapi do not use the Samba NetAPI library
2692 --without-openal do not use OpenAL
2693 --without-opencl do not use OpenCL
2694 --without-opengl do not use OpenGL
2695 --without-osmesa do not use the OSMesa library
2696 --without-oss do not use the OSS sound support
2697 --without-pcap do not use the Packet Capture library
2698 --without-pthread do not use the pthread library
2699 --without-pulse do not use PulseAudio sound support
2700 --without-quicktime do not use QuickTime support
2701 --without-sane do not use SANE (scanner support)
2702 --without-sdl do not use SDL
2703 --without-udev do not use udev (plug and play support)
2704 --without-unwind do not use the libunwind library (exception
2705 handling)
2706 --without-usb do not use the libusb library
2707 --without-v4l2 do not use v4l2 (video capture)
2708 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2709 --without-vulkan do not use Vulkan
2710 --without-xcomposite do not use the Xcomposite extension
2711 --without-xcursor do not use the Xcursor extension
2712 --without-xfixes do not use Xfixes for clipboard change notifications
2713 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2714 --without-xinput do not use the Xinput extension
2715 --without-xinput2 do not use the Xinput 2 extension
2716 --without-xrandr do not use Xrandr (multi-monitor support)
2717 --without-xrender do not use the Xrender extension
2718 --without-xshape do not use the Xshape extension
2719 --without-xshm do not use XShm (shared memory extension)
2720 --without-xxf86vm do not use XFree video mode extension
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 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2792 HAL_LIBS Linker flags for hal, overriding pkg-config
2793 GNUTLS_CFLAGS
2794 C compiler flags for gnutls, overriding pkg-config
2795 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2796 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2797 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2798 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2799 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2800 GPHOTO2_CFLAGS
2801 C compiler flags for libgphoto2, overriding pkg-config
2802 GPHOTO2_LIBS
2803 Linker flags for libgphoto2, overriding pkg-config
2804 GPHOTO2_PORT_CFLAGS
2805 C compiler flags for libgphoto2_port, overriding pkg-config
2806 GPHOTO2_PORT_LIBS
2807 Linker flags for libgphoto2_port, overriding pkg-config
2808 FREETYPE_CFLAGS
2809 C compiler flags for freetype2, overriding pkg-config
2810 FREETYPE_LIBS
2811 Linker flags for freetype2, overriding pkg-config
2812 PULSE_CFLAGS
2813 C compiler flags for libpulse, overriding pkg-config
2814 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2815 GSTREAMER_CFLAGS
2816 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2817 gstreamer-audio-1.0, overriding pkg-config
2818 GSTREAMER_LIBS
2819 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2820 gstreamer-audio-1.0, overriding pkg-config
2821 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2822 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2823 UNWIND_CFLAGS
2824 C compiler flags for libunwind, overriding pkg-config
2825 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2826 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2827 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2828 CAPI20_CFLAGS
2829 C compiler flags for capi20, overriding pkg-config
2830 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2831 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2832 CUPS_LIBS Linker flags for cups, overriding pkg-config
2833 FONTCONFIG_CFLAGS
2834 C compiler flags for fontconfig, overriding pkg-config
2835 FONTCONFIG_LIBS
2836 Linker flags for fontconfig, overriding pkg-config
2837 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2838 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2839 GSSAPI_CFLAGS
2840 C compiler flags for krb5-gssapi, overriding pkg-config
2841 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2842 NETAPI_CFLAGS
2843 C compiler flags for netapi, overriding pkg-config
2844 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2845 VKD3D_CFLAGS
2846 C compiler flags for libvkd3d, overriding pkg-config
2847 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2848 VKD3D_SHADER_CFLAGS
2849 C compiler flags for libvkd3d-shader, overriding pkg-config
2850 VKD3D_SHADER_LIBS
2851 Linker flags for libvkd3d-shader, overriding pkg-config
2852 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2853 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2855 Use these variables to override the choices made by `configure' or to help
2856 it to find libraries and programs with nonstandard names/locations.
2858 Report bugs to <wine-devel@winehq.org>.
2859 Wine home page: <https://www.winehq.org>.
2860 _ACEOF
2861 ac_status=$?
2864 if test "$ac_init_help" = "recursive"; then
2865 # If there are subdirs, report their specific --help.
2866 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2867 test -d "$ac_dir" ||
2868 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2869 continue
2870 ac_builddir=.
2872 case "$ac_dir" in
2873 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2875 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2876 # A ".." for each directory in $ac_dir_suffix.
2877 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2878 case $ac_top_builddir_sub in
2879 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2880 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2881 esac ;;
2882 esac
2883 ac_abs_top_builddir=$ac_pwd
2884 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2885 # for backward compatibility:
2886 ac_top_builddir=$ac_top_build_prefix
2888 case $srcdir in
2889 .) # We are building in place.
2890 ac_srcdir=.
2891 ac_top_srcdir=$ac_top_builddir_sub
2892 ac_abs_top_srcdir=$ac_pwd ;;
2893 [\\/]* | ?:[\\/]* ) # Absolute name.
2894 ac_srcdir=$srcdir$ac_dir_suffix;
2895 ac_top_srcdir=$srcdir
2896 ac_abs_top_srcdir=$srcdir ;;
2897 *) # Relative name.
2898 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2899 ac_top_srcdir=$ac_top_build_prefix$srcdir
2900 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2901 esac
2902 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2904 cd "$ac_dir" || { ac_status=$?; continue; }
2905 # Check for configure.gnu first; this name is used for a wrapper for
2906 # Metaconfig's "Configure" on case-insensitive file systems.
2907 if test -f "$ac_srcdir/configure.gnu"; then
2908 echo &&
2909 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2910 elif test -f "$ac_srcdir/configure"; then
2911 echo &&
2912 $SHELL "$ac_srcdir/configure" --help=recursive
2913 else
2914 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2915 fi || ac_status=$?
2916 cd "$ac_pwd" || { ac_status=$?; break; }
2917 done
2920 test -n "$ac_init_help" && exit $ac_status
2921 if $ac_init_version; then
2922 cat <<\_ACEOF
2923 Wine configure 6.21
2924 generated by GNU Autoconf 2.71
2926 Copyright (C) 2021 Free Software Foundation, Inc.
2927 This configure script is free software; the Free Software Foundation
2928 gives unlimited permission to copy, distribute and modify it.
2929 _ACEOF
2930 exit
2933 ## ------------------------ ##
2934 ## Autoconf initialization. ##
2935 ## ------------------------ ##
2937 # ac_fn_c_try_compile LINENO
2938 # --------------------------
2939 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2940 ac_fn_c_try_compile ()
2942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2943 rm -f conftest.$ac_objext conftest.beam
2944 if { { ac_try="$ac_compile"
2945 case "(($ac_try" in
2946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2947 *) ac_try_echo=$ac_try;;
2948 esac
2949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2950 printf "%s\n" "$ac_try_echo"; } >&5
2951 (eval "$ac_compile") 2>conftest.err
2952 ac_status=$?
2953 if test -s conftest.err; then
2954 grep -v '^ *+' conftest.err >conftest.er1
2955 cat conftest.er1 >&5
2956 mv -f conftest.er1 conftest.err
2958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2959 test $ac_status = 0; } && {
2960 test -z "$ac_c_werror_flag" ||
2961 test ! -s conftest.err
2962 } && test -s conftest.$ac_objext
2963 then :
2964 ac_retval=0
2965 else $as_nop
2966 printf "%s\n" "$as_me: failed program was:" >&5
2967 sed 's/^/| /' conftest.$ac_ext >&5
2969 ac_retval=1
2971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2972 as_fn_set_status $ac_retval
2974 } # ac_fn_c_try_compile
2976 # ac_fn_cxx_try_compile LINENO
2977 # ----------------------------
2978 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2979 ac_fn_cxx_try_compile ()
2981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2982 rm -f conftest.$ac_objext conftest.beam
2983 if { { ac_try="$ac_compile"
2984 case "(($ac_try" in
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2987 esac
2988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2989 printf "%s\n" "$ac_try_echo"; } >&5
2990 (eval "$ac_compile") 2>conftest.err
2991 ac_status=$?
2992 if test -s conftest.err; then
2993 grep -v '^ *+' conftest.err >conftest.er1
2994 cat conftest.er1 >&5
2995 mv -f conftest.er1 conftest.err
2997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2998 test $ac_status = 0; } && {
2999 test -z "$ac_cxx_werror_flag" ||
3000 test ! -s conftest.err
3001 } && test -s conftest.$ac_objext
3002 then :
3003 ac_retval=0
3004 else $as_nop
3005 printf "%s\n" "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.$ac_ext >&5
3008 ac_retval=1
3010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3011 as_fn_set_status $ac_retval
3013 } # ac_fn_cxx_try_compile
3015 # ac_fn_c_try_link LINENO
3016 # -----------------------
3017 # Try to link conftest.$ac_ext, and return whether this succeeded.
3018 ac_fn_c_try_link ()
3020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3021 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
3022 if { { ac_try="$ac_link"
3023 case "(($ac_try" in
3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025 *) ac_try_echo=$ac_try;;
3026 esac
3027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3028 printf "%s\n" "$ac_try_echo"; } >&5
3029 (eval "$ac_link") 2>conftest.err
3030 ac_status=$?
3031 if test -s conftest.err; then
3032 grep -v '^ *+' conftest.err >conftest.er1
3033 cat conftest.er1 >&5
3034 mv -f conftest.er1 conftest.err
3036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3037 test $ac_status = 0; } && {
3038 test -z "$ac_c_werror_flag" ||
3039 test ! -s conftest.err
3040 } && test -s conftest$ac_exeext && {
3041 test "$cross_compiling" = yes ||
3042 test -x conftest$ac_exeext
3044 then :
3045 ac_retval=0
3046 else $as_nop
3047 printf "%s\n" "$as_me: failed program was:" >&5
3048 sed 's/^/| /' conftest.$ac_ext >&5
3050 ac_retval=1
3052 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3053 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3054 # interfere with the next link command; also delete a directory that is
3055 # left behind by Apple's compiler. We do this before executing the actions.
3056 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3057 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3058 as_fn_set_status $ac_retval
3060 } # ac_fn_c_try_link
3062 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3063 # -------------------------------------------------------
3064 # Tests whether HEADER exists and can be compiled using the include files in
3065 # INCLUDES, setting the cache variable VAR accordingly.
3066 ac_fn_c_check_header_compile ()
3068 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3070 printf %s "checking for $2... " >&6; }
3071 if eval test \${$3+y}
3072 then :
3073 printf %s "(cached) " >&6
3074 else $as_nop
3075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3076 /* end confdefs.h. */
3078 #include <$2>
3079 _ACEOF
3080 if ac_fn_c_try_compile "$LINENO"
3081 then :
3082 eval "$3=yes"
3083 else $as_nop
3084 eval "$3=no"
3086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3088 eval ac_res=\$$3
3089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3090 printf "%s\n" "$ac_res" >&6; }
3091 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3093 } # ac_fn_c_check_header_compile
3095 # ac_fn_objc_try_compile LINENO
3096 # -----------------------------
3097 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3098 ac_fn_objc_try_compile ()
3100 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3101 rm -f conftest.$ac_objext conftest.beam
3102 if { { ac_try="$ac_compile"
3103 case "(($ac_try" in
3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3106 esac
3107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3108 printf "%s\n" "$ac_try_echo"; } >&5
3109 (eval "$ac_compile") 2>conftest.err
3110 ac_status=$?
3111 if test -s conftest.err; then
3112 grep -v '^ *+' conftest.err >conftest.er1
3113 cat conftest.er1 >&5
3114 mv -f conftest.er1 conftest.err
3116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117 test $ac_status = 0; } && {
3118 test -z "$ac_objc_werror_flag" ||
3119 test ! -s conftest.err
3120 } && test -s conftest.$ac_objext
3121 then :
3122 ac_retval=0
3123 else $as_nop
3124 printf "%s\n" "$as_me: failed program was:" >&5
3125 sed 's/^/| /' conftest.$ac_ext >&5
3127 ac_retval=1
3129 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3130 as_fn_set_status $ac_retval
3132 } # ac_fn_objc_try_compile
3134 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
3135 # ----------------------------------------------------------
3136 # Tests whether HEADER exists and can be compiled using the include files in
3137 # INCLUDES, setting the cache variable VAR accordingly.
3138 ac_fn_objc_check_header_compile ()
3140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3142 printf %s "checking for $2... " >&6; }
3143 if eval test \${$3+y}
3144 then :
3145 printf %s "(cached) " >&6
3146 else $as_nop
3147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3148 /* end confdefs.h. */
3150 #include <$2>
3151 _ACEOF
3152 if ac_fn_objc_try_compile "$LINENO"
3153 then :
3154 eval "$3=yes"
3155 else $as_nop
3156 eval "$3=no"
3158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3160 eval ac_res=\$$3
3161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3162 printf "%s\n" "$ac_res" >&6; }
3163 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3165 } # ac_fn_objc_check_header_compile
3167 # ac_fn_c_check_func LINENO FUNC VAR
3168 # ----------------------------------
3169 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3170 ac_fn_c_check_func ()
3172 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3174 printf %s "checking for $2... " >&6; }
3175 if eval test \${$3+y}
3176 then :
3177 printf %s "(cached) " >&6
3178 else $as_nop
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3181 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3183 #define $2 innocuous_$2
3185 /* System header to define __stub macros and hopefully few prototypes,
3186 which can conflict with char $2 (); below. */
3188 #include <limits.h>
3189 #undef $2
3191 /* Override any GCC internal prototype to avoid an error.
3192 Use char because int might match the return type of a GCC
3193 builtin and then its argument prototype would still apply. */
3194 #ifdef __cplusplus
3195 extern "C"
3196 #endif
3197 char $2 ();
3198 /* The GNU C library defines this for functions which it implements
3199 to always fail with ENOSYS. Some functions are actually named
3200 something starting with __ and the normal name is an alias. */
3201 #if defined __stub_$2 || defined __stub___$2
3202 choke me
3203 #endif
3206 main (void)
3208 return $2 ();
3210 return 0;
3212 _ACEOF
3213 if ac_fn_c_try_link "$LINENO"
3214 then :
3215 eval "$3=yes"
3216 else $as_nop
3217 eval "$3=no"
3219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3220 conftest$ac_exeext conftest.$ac_ext
3222 eval ac_res=\$$3
3223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3224 printf "%s\n" "$ac_res" >&6; }
3225 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3227 } # ac_fn_c_check_func
3229 # ac_fn_c_try_cpp LINENO
3230 # ----------------------
3231 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3232 ac_fn_c_try_cpp ()
3234 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3235 if { { ac_try="$ac_cpp conftest.$ac_ext"
3236 case "(($ac_try" in
3237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3238 *) ac_try_echo=$ac_try;;
3239 esac
3240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3241 printf "%s\n" "$ac_try_echo"; } >&5
3242 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3243 ac_status=$?
3244 if test -s conftest.err; then
3245 grep -v '^ *+' conftest.err >conftest.er1
3246 cat conftest.er1 >&5
3247 mv -f conftest.er1 conftest.err
3249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3250 test $ac_status = 0; } > conftest.i && {
3251 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3252 test ! -s conftest.err
3254 then :
3255 ac_retval=0
3256 else $as_nop
3257 printf "%s\n" "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.$ac_ext >&5
3260 ac_retval=1
3262 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3263 as_fn_set_status $ac_retval
3265 } # ac_fn_c_try_cpp
3267 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3268 # ----------------------------------------------------
3269 # Tries to find if the field MEMBER exists in type AGGR, after including
3270 # INCLUDES, setting cache variable VAR accordingly.
3271 ac_fn_c_check_member ()
3273 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3275 printf %s "checking for $2.$3... " >&6; }
3276 if eval test \${$4+y}
3277 then :
3278 printf %s "(cached) " >&6
3279 else $as_nop
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3284 main (void)
3286 static $2 ac_aggr;
3287 if (ac_aggr.$3)
3288 return 0;
3290 return 0;
3292 _ACEOF
3293 if ac_fn_c_try_compile "$LINENO"
3294 then :
3295 eval "$4=yes"
3296 else $as_nop
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3301 main (void)
3303 static $2 ac_aggr;
3304 if (sizeof ac_aggr.$3)
3305 return 0;
3307 return 0;
3309 _ACEOF
3310 if ac_fn_c_try_compile "$LINENO"
3311 then :
3312 eval "$4=yes"
3313 else $as_nop
3314 eval "$4=no"
3316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3320 eval ac_res=\$$4
3321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3322 printf "%s\n" "$ac_res" >&6; }
3323 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3325 } # ac_fn_c_check_member
3327 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3328 # -------------------------------------------
3329 # Tests whether TYPE exists after having included INCLUDES, setting cache
3330 # variable VAR accordingly.
3331 ac_fn_c_check_type ()
3333 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3335 printf %s "checking for $2... " >&6; }
3336 if eval test \${$3+y}
3337 then :
3338 printf %s "(cached) " >&6
3339 else $as_nop
3340 eval "$3=no"
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342 /* end confdefs.h. */
3345 main (void)
3347 if (sizeof ($2))
3348 return 0;
3350 return 0;
3352 _ACEOF
3353 if ac_fn_c_try_compile "$LINENO"
3354 then :
3355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3356 /* end confdefs.h. */
3359 main (void)
3361 if (sizeof (($2)))
3362 return 0;
3364 return 0;
3366 _ACEOF
3367 if ac_fn_c_try_compile "$LINENO"
3368 then :
3370 else $as_nop
3371 eval "$3=yes"
3373 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3377 eval ac_res=\$$3
3378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3379 printf "%s\n" "$ac_res" >&6; }
3380 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3382 } # ac_fn_c_check_type
3383 ac_configure_args_raw=
3384 for ac_arg
3386 case $ac_arg in
3387 *\'*)
3388 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3389 esac
3390 as_fn_append ac_configure_args_raw " '$ac_arg'"
3391 done
3393 case $ac_configure_args_raw in
3394 *$as_nl*)
3395 ac_safe_unquote= ;;
3397 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3398 ac_unsafe_a="$ac_unsafe_z#~"
3399 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3400 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3401 esac
3403 cat >config.log <<_ACEOF
3404 This file contains any messages produced by compilers while
3405 running configure, to aid debugging if configure makes a mistake.
3407 It was created by Wine $as_me 6.21, which was
3408 generated by GNU Autoconf 2.71. Invocation command line was
3410 $ $0$ac_configure_args_raw
3412 _ACEOF
3413 exec 5>>config.log
3415 cat <<_ASUNAME
3416 ## --------- ##
3417 ## Platform. ##
3418 ## --------- ##
3420 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3421 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3422 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3423 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3424 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3426 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3427 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3429 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3430 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3431 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3432 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3433 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3434 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3435 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3437 _ASUNAME
3439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3440 for as_dir in $PATH
3442 IFS=$as_save_IFS
3443 case $as_dir in #(((
3444 '') as_dir=./ ;;
3445 */) ;;
3446 *) as_dir=$as_dir/ ;;
3447 esac
3448 printf "%s\n" "PATH: $as_dir"
3449 done
3450 IFS=$as_save_IFS
3452 } >&5
3454 cat >&5 <<_ACEOF
3457 ## ----------- ##
3458 ## Core tests. ##
3459 ## ----------- ##
3461 _ACEOF
3464 # Keep a trace of the command line.
3465 # Strip out --no-create and --no-recursion so they do not pile up.
3466 # Strip out --silent because we don't want to record it for future runs.
3467 # Also quote any args containing shell meta-characters.
3468 # Make two passes to allow for proper duplicate-argument suppression.
3469 ac_configure_args=
3470 ac_configure_args0=
3471 ac_configure_args1=
3472 ac_must_keep_next=false
3473 for ac_pass in 1 2
3475 for ac_arg
3477 case $ac_arg in
3478 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3479 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3480 | -silent | --silent | --silen | --sile | --sil)
3481 continue ;;
3482 *\'*)
3483 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3484 esac
3485 case $ac_pass in
3486 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3488 as_fn_append ac_configure_args1 " '$ac_arg'"
3489 if test $ac_must_keep_next = true; then
3490 ac_must_keep_next=false # Got value, back to normal.
3491 else
3492 case $ac_arg in
3493 *=* | --config-cache | -C | -disable-* | --disable-* \
3494 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3495 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3496 | -with-* | --with-* | -without-* | --without-* | --x)
3497 case "$ac_configure_args0 " in
3498 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3499 esac
3501 -* ) ac_must_keep_next=true ;;
3502 esac
3504 as_fn_append ac_configure_args " '$ac_arg'"
3506 esac
3507 done
3508 done
3509 { ac_configure_args0=; unset ac_configure_args0;}
3510 { ac_configure_args1=; unset ac_configure_args1;}
3512 # When interrupted or exit'd, cleanup temporary files, and complete
3513 # config.log. We remove comments because anyway the quotes in there
3514 # would cause problems or look ugly.
3515 # WARNING: Use '\'' to represent an apostrophe within the trap.
3516 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3517 trap 'exit_status=$?
3518 # Sanitize IFS.
3519 IFS=" "" $as_nl"
3520 # Save into config.log some information that might help in debugging.
3522 echo
3524 printf "%s\n" "## ---------------- ##
3525 ## Cache variables. ##
3526 ## ---------------- ##"
3527 echo
3528 # The following way of writing the cache mishandles newlines in values,
3530 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3531 eval ac_val=\$$ac_var
3532 case $ac_val in #(
3533 *${as_nl}*)
3534 case $ac_var in #(
3535 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3536 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3537 esac
3538 case $ac_var in #(
3539 _ | IFS | as_nl) ;; #(
3540 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3541 *) { eval $ac_var=; unset $ac_var;} ;;
3542 esac ;;
3543 esac
3544 done
3545 (set) 2>&1 |
3546 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3547 *${as_nl}ac_space=\ *)
3548 sed -n \
3549 "s/'\''/'\''\\\\'\'''\''/g;
3550 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3551 ;; #(
3553 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3555 esac |
3556 sort
3558 echo
3560 printf "%s\n" "## ----------------- ##
3561 ## Output variables. ##
3562 ## ----------------- ##"
3563 echo
3564 for ac_var in $ac_subst_vars
3566 eval ac_val=\$$ac_var
3567 case $ac_val in
3568 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3569 esac
3570 printf "%s\n" "$ac_var='\''$ac_val'\''"
3571 done | sort
3572 echo
3574 if test -n "$ac_subst_files"; then
3575 printf "%s\n" "## ------------------- ##
3576 ## File substitutions. ##
3577 ## ------------------- ##"
3578 echo
3579 for ac_var in $ac_subst_files
3581 eval ac_val=\$$ac_var
3582 case $ac_val in
3583 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3584 esac
3585 printf "%s\n" "$ac_var='\''$ac_val'\''"
3586 done | sort
3587 echo
3590 if test -s confdefs.h; then
3591 printf "%s\n" "## ----------- ##
3592 ## confdefs.h. ##
3593 ## ----------- ##"
3594 echo
3595 cat confdefs.h
3596 echo
3598 test "$ac_signal" != 0 &&
3599 printf "%s\n" "$as_me: caught signal $ac_signal"
3600 printf "%s\n" "$as_me: exit $exit_status"
3601 } >&5
3602 rm -f core *.core core.conftest.* &&
3603 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3604 exit $exit_status
3606 for ac_signal in 1 2 13 15; do
3607 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3608 done
3609 ac_signal=0
3611 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3612 rm -f -r conftest* confdefs.h
3614 printf "%s\n" "/* confdefs.h */" > confdefs.h
3616 # Predefined preprocessor variables.
3618 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3620 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3622 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3624 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3626 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3628 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3631 # Let the site file select an alternate cache file if it wants to.
3632 # Prefer an explicitly selected file to automatically selected ones.
3633 if test -n "$CONFIG_SITE"; then
3634 ac_site_files="$CONFIG_SITE"
3635 elif test "x$prefix" != xNONE; then
3636 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3637 else
3638 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3641 for ac_site_file in $ac_site_files
3643 case $ac_site_file in #(
3644 */*) :
3645 ;; #(
3646 *) :
3647 ac_site_file=./$ac_site_file ;;
3648 esac
3649 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3651 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3652 sed 's/^/| /' "$ac_site_file" >&5
3653 . "$ac_site_file" \
3654 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3655 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3656 as_fn_error $? "failed to load site script $ac_site_file
3657 See \`config.log' for more details" "$LINENO" 5; }
3659 done
3661 if test -r "$cache_file"; then
3662 # Some versions of bash will fail to source /dev/null (special files
3663 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3664 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3666 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3667 case $cache_file in
3668 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3669 *) . "./$cache_file";;
3670 esac
3672 else
3673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3674 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3675 >$cache_file
3678 # Test code for whether the C compiler supports C89 (global declarations)
3679 ac_c_conftest_c89_globals='
3680 /* Does the compiler advertise C89 conformance?
3681 Do not test the value of __STDC__, because some compilers set it to 0
3682 while being otherwise adequately conformant. */
3683 #if !defined __STDC__
3684 # error "Compiler does not advertise C89 conformance"
3685 #endif
3687 #include <stddef.h>
3688 #include <stdarg.h>
3689 struct stat;
3690 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3691 struct buf { int x; };
3692 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3693 static char *e (p, i)
3694 char **p;
3695 int i;
3697 return p[i];
3699 static char *f (char * (*g) (char **, int), char **p, ...)
3701 char *s;
3702 va_list v;
3703 va_start (v,p);
3704 s = g (p, va_arg (v,int));
3705 va_end (v);
3706 return s;
3709 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3710 function prototypes and stuff, but not \xHH hex character constants.
3711 These do not provoke an error unfortunately, instead are silently treated
3712 as an "x". The following induces an error, until -std is added to get
3713 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3714 array size at least. It is necessary to write \x00 == 0 to get something
3715 that is true only with -std. */
3716 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3718 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3719 inside strings and character constants. */
3720 #define FOO(x) '\''x'\''
3721 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3723 int test (int i, double x);
3724 struct s1 {int (*f) (int a);};
3725 struct s2 {int (*f) (double a);};
3726 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3727 int, int);'
3729 # Test code for whether the C compiler supports C89 (body of main).
3730 ac_c_conftest_c89_main='
3731 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3734 # Test code for whether the C compiler supports C99 (global declarations)
3735 ac_c_conftest_c99_globals='
3736 // Does the compiler advertise C99 conformance?
3737 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3738 # error "Compiler does not advertise C99 conformance"
3739 #endif
3741 #include <stdbool.h>
3742 extern int puts (const char *);
3743 extern int printf (const char *, ...);
3744 extern int dprintf (int, const char *, ...);
3745 extern void *malloc (size_t);
3747 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3748 // dprintf is used instead of fprintf to avoid needing to declare
3749 // FILE and stderr.
3750 #define debug(...) dprintf (2, __VA_ARGS__)
3751 #define showlist(...) puts (#__VA_ARGS__)
3752 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3753 static void
3754 test_varargs_macros (void)
3756 int x = 1234;
3757 int y = 5678;
3758 debug ("Flag");
3759 debug ("X = %d\n", x);
3760 showlist (The first, second, and third items.);
3761 report (x>y, "x is %d but y is %d", x, y);
3764 // Check long long types.
3765 #define BIG64 18446744073709551615ull
3766 #define BIG32 4294967295ul
3767 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3768 #if !BIG_OK
3769 #error "your preprocessor is broken"
3770 #endif
3771 #if BIG_OK
3772 #else
3773 #error "your preprocessor is broken"
3774 #endif
3775 static long long int bignum = -9223372036854775807LL;
3776 static unsigned long long int ubignum = BIG64;
3778 struct incomplete_array
3780 int datasize;
3781 double data[];
3784 struct named_init {
3785 int number;
3786 const wchar_t *name;
3787 double average;
3790 typedef const char *ccp;
3792 static inline int
3793 test_restrict (ccp restrict text)
3795 // See if C++-style comments work.
3796 // Iterate through items via the restricted pointer.
3797 // Also check for declarations in for loops.
3798 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3799 continue;
3800 return 0;
3803 // Check varargs and va_copy.
3804 static bool
3805 test_varargs (const char *format, ...)
3807 va_list args;
3808 va_start (args, format);
3809 va_list args_copy;
3810 va_copy (args_copy, args);
3812 const char *str = "";
3813 int number = 0;
3814 float fnumber = 0;
3816 while (*format)
3818 switch (*format++)
3820 case '\''s'\'': // string
3821 str = va_arg (args_copy, const char *);
3822 break;
3823 case '\''d'\'': // int
3824 number = va_arg (args_copy, int);
3825 break;
3826 case '\''f'\'': // float
3827 fnumber = va_arg (args_copy, double);
3828 break;
3829 default:
3830 break;
3833 va_end (args_copy);
3834 va_end (args);
3836 return *str && number && fnumber;
3840 # Test code for whether the C compiler supports C99 (body of main).
3841 ac_c_conftest_c99_main='
3842 // Check bool.
3843 _Bool success = false;
3844 success |= (argc != 0);
3846 // Check restrict.
3847 if (test_restrict ("String literal") == 0)
3848 success = true;
3849 char *restrict newvar = "Another string";
3851 // Check varargs.
3852 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3853 test_varargs_macros ();
3855 // Check flexible array members.
3856 struct incomplete_array *ia =
3857 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3858 ia->datasize = 10;
3859 for (int i = 0; i < ia->datasize; ++i)
3860 ia->data[i] = i * 1.234;
3862 // Check named initializers.
3863 struct named_init ni = {
3864 .number = 34,
3865 .name = L"Test wide string",
3866 .average = 543.34343,
3869 ni.number = 58;
3871 int dynamic_array[ni.number];
3872 dynamic_array[0] = argv[0][0];
3873 dynamic_array[ni.number - 1] = 543;
3875 // work around unused variable warnings
3876 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3877 || dynamic_array[ni.number - 1] != 543);
3880 # Test code for whether the C compiler supports C11 (global declarations)
3881 ac_c_conftest_c11_globals='
3882 // Does the compiler advertise C11 conformance?
3883 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3884 # error "Compiler does not advertise C11 conformance"
3885 #endif
3887 // Check _Alignas.
3888 char _Alignas (double) aligned_as_double;
3889 char _Alignas (0) no_special_alignment;
3890 extern char aligned_as_int;
3891 char _Alignas (0) _Alignas (int) aligned_as_int;
3893 // Check _Alignof.
3894 enum
3896 int_alignment = _Alignof (int),
3897 int_array_alignment = _Alignof (int[100]),
3898 char_alignment = _Alignof (char)
3900 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3902 // Check _Noreturn.
3903 int _Noreturn does_not_return (void) { for (;;) continue; }
3905 // Check _Static_assert.
3906 struct test_static_assert
3908 int x;
3909 _Static_assert (sizeof (int) <= sizeof (long int),
3910 "_Static_assert does not work in struct");
3911 long int y;
3914 // Check UTF-8 literals.
3915 #define u8 syntax error!
3916 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3918 // Check duplicate typedefs.
3919 typedef long *long_ptr;
3920 typedef long int *long_ptr;
3921 typedef long_ptr long_ptr;
3923 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3924 struct anonymous
3926 union {
3927 struct { int i; int j; };
3928 struct { int k; long int l; } w;
3930 int m;
3931 } v1;
3934 # Test code for whether the C compiler supports C11 (body of main).
3935 ac_c_conftest_c11_main='
3936 _Static_assert ((offsetof (struct anonymous, i)
3937 == offsetof (struct anonymous, w.k)),
3938 "Anonymous union alignment botch");
3939 v1.i = 2;
3940 v1.w.k = 5;
3941 ok |= v1.i != 5;
3944 # Test code for whether the C compiler supports C11 (complete).
3945 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3946 ${ac_c_conftest_c99_globals}
3947 ${ac_c_conftest_c11_globals}
3950 main (int argc, char **argv)
3952 int ok = 0;
3953 ${ac_c_conftest_c89_main}
3954 ${ac_c_conftest_c99_main}
3955 ${ac_c_conftest_c11_main}
3956 return ok;
3960 # Test code for whether the C compiler supports C99 (complete).
3961 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3962 ${ac_c_conftest_c99_globals}
3965 main (int argc, char **argv)
3967 int ok = 0;
3968 ${ac_c_conftest_c89_main}
3969 ${ac_c_conftest_c99_main}
3970 return ok;
3974 # Test code for whether the C compiler supports C89 (complete).
3975 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3978 main (int argc, char **argv)
3980 int ok = 0;
3981 ${ac_c_conftest_c89_main}
3982 return ok;
3986 # Test code for whether the C++ compiler supports C++98 (global declarations)
3987 ac_cxx_conftest_cxx98_globals='
3988 // Does the compiler advertise C++98 conformance?
3989 #if !defined __cplusplus || __cplusplus < 199711L
3990 # error "Compiler does not advertise C++98 conformance"
3991 #endif
3993 // These inclusions are to reject old compilers that
3994 // lack the unsuffixed header files.
3995 #include <cstdlib>
3996 #include <exception>
3998 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3999 extern void assert (int);
4000 namespace std {
4001 extern int strcmp (const char *, const char *);
4004 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
4005 using std::exception;
4006 using std::strcmp;
4008 namespace {
4010 void test_exception_syntax()
4012 try {
4013 throw "test";
4014 } catch (const char *s) {
4015 // Extra parentheses suppress a warning when building autoconf itself,
4016 // due to lint rules shared with more typical C programs.
4017 assert (!(strcmp) (s, "test"));
4021 template <typename T> struct test_template
4023 T const val;
4024 explicit test_template(T t) : val(t) {}
4025 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
4028 } // anonymous namespace
4031 # Test code for whether the C++ compiler supports C++98 (body of main)
4032 ac_cxx_conftest_cxx98_main='
4033 assert (argc);
4034 assert (! argv[0]);
4036 test_exception_syntax ();
4037 test_template<double> tt (2.0);
4038 assert (tt.add (4) == 6.0);
4039 assert (true && !false);
4043 # Test code for whether the C++ compiler supports C++11 (global declarations)
4044 ac_cxx_conftest_cxx11_globals='
4045 // Does the compiler advertise C++ 2011 conformance?
4046 #if !defined __cplusplus || __cplusplus < 201103L
4047 # error "Compiler does not advertise C++11 conformance"
4048 #endif
4050 namespace cxx11test
4052 constexpr int get_val() { return 20; }
4054 struct testinit
4056 int i;
4057 double d;
4060 class delegate
4062 public:
4063 delegate(int n) : n(n) {}
4064 delegate(): delegate(2354) {}
4066 virtual int getval() { return this->n; };
4067 protected:
4068 int n;
4071 class overridden : public delegate
4073 public:
4074 overridden(int n): delegate(n) {}
4075 virtual int getval() override final { return this->n * 2; }
4078 class nocopy
4080 public:
4081 nocopy(int i): i(i) {}
4082 nocopy() = default;
4083 nocopy(const nocopy&) = delete;
4084 nocopy & operator=(const nocopy&) = delete;
4085 private:
4086 int i;
4089 // for testing lambda expressions
4090 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
4092 return f(v);
4095 // for testing variadic templates and trailing return types
4096 template <typename V> auto sum(V first) -> V
4098 return first;
4100 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
4102 return first + sum(rest...);
4107 # Test code for whether the C++ compiler supports C++11 (body of main)
4108 ac_cxx_conftest_cxx11_main='
4110 // Test auto and decltype
4111 auto a1 = 6538;
4112 auto a2 = 48573953.4;
4113 auto a3 = "String literal";
4115 int total = 0;
4116 for (auto i = a3; *i; ++i) { total += *i; }
4118 decltype(a2) a4 = 34895.034;
4121 // Test constexpr
4122 short sa[cxx11test::get_val()] = { 0 };
4125 // Test initializer lists
4126 cxx11test::testinit il = { 4323, 435234.23544 };
4129 // Test range-based for
4130 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
4131 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
4132 for (auto &x : array) { x += 23; }
4135 // Test lambda expressions
4136 using cxx11test::eval;
4137 assert (eval ([](int x) { return x*2; }, 21) == 42);
4138 double d = 2.0;
4139 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
4140 assert (d == 5.0);
4141 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
4142 assert (d == 5.0);
4145 // Test use of variadic templates
4146 using cxx11test::sum;
4147 auto a = sum(1);
4148 auto b = sum(1, 2);
4149 auto c = sum(1.0, 2.0, 3.0);
4152 // Test constructor delegation
4153 cxx11test::delegate d1;
4154 cxx11test::delegate d2();
4155 cxx11test::delegate d3(45);
4158 // Test override and final
4159 cxx11test::overridden o1(55464);
4162 // Test nullptr
4163 char *c = nullptr;
4166 // Test template brackets
4167 test_template<::test_template<int>> v(test_template<int>(12));
4170 // Unicode literals
4171 char const *utf8 = u8"UTF-8 string \u2500";
4172 char16_t const *utf16 = u"UTF-8 string \u2500";
4173 char32_t const *utf32 = U"UTF-32 string \u2500";
4177 # Test code for whether the C compiler supports C++11 (complete).
4178 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4179 ${ac_cxx_conftest_cxx11_globals}
4182 main (int argc, char **argv)
4184 int ok = 0;
4185 ${ac_cxx_conftest_cxx98_main}
4186 ${ac_cxx_conftest_cxx11_main}
4187 return ok;
4191 # Test code for whether the C compiler supports C++98 (complete).
4192 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4194 main (int argc, char **argv)
4196 int ok = 0;
4197 ${ac_cxx_conftest_cxx98_main}
4198 return ok;
4202 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4203 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4204 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4205 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4206 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4207 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4208 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4209 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4210 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4212 # Auxiliary files required by this configure script.
4213 ac_aux_files="config.guess config.sub"
4215 # Locations in which to look for auxiliary files.
4216 ac_aux_dir_candidates="${srcdir}/tools"
4218 # Search for a directory containing all of the required auxiliary files,
4219 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4220 # If we don't find one directory that contains all the files we need,
4221 # we report the set of missing files from the *first* directory in
4222 # $ac_aux_dir_candidates and give up.
4223 ac_missing_aux_files=""
4224 ac_first_candidate=:
4225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4227 as_found=false
4228 for as_dir in $ac_aux_dir_candidates
4230 IFS=$as_save_IFS
4231 case $as_dir in #(((
4232 '') as_dir=./ ;;
4233 */) ;;
4234 *) as_dir=$as_dir/ ;;
4235 esac
4236 as_found=:
4238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4239 ac_aux_dir_found=yes
4240 ac_install_sh=
4241 for ac_aux in $ac_aux_files
4243 # As a special case, if "install-sh" is required, that requirement
4244 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4245 # and $ac_install_sh is set appropriately for whichever one is found.
4246 if test x"$ac_aux" = x"install-sh"
4247 then
4248 if test -f "${as_dir}install-sh"; then
4249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4250 ac_install_sh="${as_dir}install-sh -c"
4251 elif test -f "${as_dir}install.sh"; then
4252 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4253 ac_install_sh="${as_dir}install.sh -c"
4254 elif test -f "${as_dir}shtool"; then
4255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4256 ac_install_sh="${as_dir}shtool install -c"
4257 else
4258 ac_aux_dir_found=no
4259 if $ac_first_candidate; then
4260 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4261 else
4262 break
4265 else
4266 if test -f "${as_dir}${ac_aux}"; then
4267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4268 else
4269 ac_aux_dir_found=no
4270 if $ac_first_candidate; then
4271 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4272 else
4273 break
4277 done
4278 if test "$ac_aux_dir_found" = yes; then
4279 ac_aux_dir="$as_dir"
4280 break
4282 ac_first_candidate=false
4284 as_found=false
4285 done
4286 IFS=$as_save_IFS
4287 if $as_found
4288 then :
4290 else $as_nop
4291 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4295 # These three variables are undocumented and unsupported,
4296 # and are intended to be withdrawn in a future Autoconf release.
4297 # They can cause serious problems if a builder's source tree is in a directory
4298 # whose full name contains unusual characters.
4299 if test -f "${ac_aux_dir}config.guess"; then
4300 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4302 if test -f "${ac_aux_dir}config.sub"; then
4303 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4305 if test -f "$ac_aux_dir/configure"; then
4306 ac_configure="$SHELL ${ac_aux_dir}configure"
4309 # Check that the precious variables saved in the cache have kept the same
4310 # value.
4311 ac_cache_corrupted=false
4312 for ac_var in $ac_precious_vars; do
4313 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4314 eval ac_new_set=\$ac_env_${ac_var}_set
4315 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4316 eval ac_new_val=\$ac_env_${ac_var}_value
4317 case $ac_old_set,$ac_new_set in
4318 set,)
4319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4320 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4321 ac_cache_corrupted=: ;;
4322 ,set)
4323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4324 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4325 ac_cache_corrupted=: ;;
4326 ,);;
4328 if test "x$ac_old_val" != "x$ac_new_val"; then
4329 # differences in whitespace do not lead to failure.
4330 ac_old_val_w=`echo x $ac_old_val`
4331 ac_new_val_w=`echo x $ac_new_val`
4332 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4334 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4335 ac_cache_corrupted=:
4336 else
4337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4338 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4339 eval $ac_var=\$ac_old_val
4341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4342 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4344 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4345 fi;;
4346 esac
4347 # Pass precious variables to config.status.
4348 if test "$ac_new_set" = set; then
4349 case $ac_new_val in
4350 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4351 *) ac_arg=$ac_var=$ac_new_val ;;
4352 esac
4353 case " $ac_configure_args " in
4354 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4355 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4356 esac
4358 done
4359 if $ac_cache_corrupted; then
4360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4361 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4363 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4364 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4365 and start over" "$LINENO" 5
4367 ## -------------------- ##
4368 ## Main body of script. ##
4369 ## -------------------- ##
4371 ac_ext=c
4372 ac_cpp='$CPP $CPPFLAGS'
4373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4379 ac_config_headers="$ac_config_headers include/config.h"
4383 libwine_version="1.0"
4386 # Check whether --enable-win16 was given.
4387 if test ${enable_win16+y}
4388 then :
4389 enableval=$enable_win16;
4392 # Check whether --enable-win64 was given.
4393 if test ${enable_win64+y}
4394 then :
4395 enableval=$enable_win64;
4398 # Check whether --enable-tests was given.
4399 if test ${enable_tests+y}
4400 then :
4401 enableval=$enable_tests;
4404 # Check whether --enable-build-id was given.
4405 if test ${enable_build_id+y}
4406 then :
4407 enableval=$enable_build_id;
4410 # Check whether --enable-maintainer-mode was given.
4411 if test ${enable_maintainer_mode+y}
4412 then :
4413 enableval=$enable_maintainer_mode;
4416 # Check whether --enable-silent-rules was given.
4417 if test ${enable_silent_rules+y}
4418 then :
4419 enableval=$enable_silent_rules;
4422 # Check whether --enable-werror was given.
4423 if test ${enable_werror+y}
4424 then :
4425 enableval=$enable_werror;
4430 # Check whether --with-alsa was given.
4431 if test ${with_alsa+y}
4432 then :
4433 withval=$with_alsa;
4437 # Check whether --with-capi was given.
4438 if test ${with_capi+y}
4439 then :
4440 withval=$with_capi;
4444 # Check whether --with-coreaudio was given.
4445 if test ${with_coreaudio+y}
4446 then :
4447 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4451 # Check whether --with-cups was given.
4452 if test ${with_cups+y}
4453 then :
4454 withval=$with_cups;
4458 # Check whether --with-dbus was given.
4459 if test ${with_dbus+y}
4460 then :
4461 withval=$with_dbus;
4465 # Check whether --with-float-abi was given.
4466 if test ${with_float_abi+y}
4467 then :
4468 withval=$with_float_abi;
4472 # Check whether --with-fontconfig was given.
4473 if test ${with_fontconfig+y}
4474 then :
4475 withval=$with_fontconfig;
4479 # Check whether --with-freetype was given.
4480 if test ${with_freetype+y}
4481 then :
4482 withval=$with_freetype;
4486 # Check whether --with-gettext was given.
4487 if test ${with_gettext+y}
4488 then :
4489 withval=$with_gettext;
4493 # Check whether --with-gettextpo was given.
4494 if test ${with_gettextpo+y}
4495 then :
4496 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4500 # Check whether --with-gphoto was given.
4501 if test ${with_gphoto+y}
4502 then :
4503 withval=$with_gphoto;
4507 # Check whether --with-gnutls was given.
4508 if test ${with_gnutls+y}
4509 then :
4510 withval=$with_gnutls;
4514 # Check whether --with-gssapi was given.
4515 if test ${with_gssapi+y}
4516 then :
4517 withval=$with_gssapi;
4521 # Check whether --with-gstreamer was given.
4522 if test ${with_gstreamer+y}
4523 then :
4524 withval=$with_gstreamer;
4528 # Check whether --with-hal was given.
4529 if test ${with_hal+y}
4530 then :
4531 withval=$with_hal;
4535 # Check whether --with-inotify was given.
4536 if test ${with_inotify+y}
4537 then :
4538 withval=$with_inotify;
4542 # Check whether --with-krb5 was given.
4543 if test ${with_krb5+y}
4544 then :
4545 withval=$with_krb5;
4549 # Check whether --with-ldap was given.
4550 if test ${with_ldap+y}
4551 then :
4552 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4556 # Check whether --with-mingw was given.
4557 if test ${with_mingw+y}
4558 then :
4559 withval=$with_mingw;
4563 # Check whether --with-netapi was given.
4564 if test ${with_netapi+y}
4565 then :
4566 withval=$with_netapi;
4570 # Check whether --with-openal was given.
4571 if test ${with_openal+y}
4572 then :
4573 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4577 # Check whether --with-opencl was given.
4578 if test ${with_opencl+y}
4579 then :
4580 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4584 # Check whether --with-opengl was given.
4585 if test ${with_opengl+y}
4586 then :
4587 withval=$with_opengl;
4591 # Check whether --with-osmesa was given.
4592 if test ${with_osmesa+y}
4593 then :
4594 withval=$with_osmesa;
4598 # Check whether --with-oss was given.
4599 if test ${with_oss+y}
4600 then :
4601 withval=$with_oss;
4605 # Check whether --with-pcap was given.
4606 if test ${with_pcap+y}
4607 then :
4608 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4612 # Check whether --with-pthread was given.
4613 if test ${with_pthread+y}
4614 then :
4615 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4619 # Check whether --with-pulse was given.
4620 if test ${with_pulse+y}
4621 then :
4622 withval=$with_pulse;
4626 # Check whether --with-quicktime was given.
4627 if test ${with_quicktime+y}
4628 then :
4629 withval=$with_quicktime;
4633 # Check whether --with-sane was given.
4634 if test ${with_sane+y}
4635 then :
4636 withval=$with_sane;
4640 # Check whether --with-sdl was given.
4641 if test ${with_sdl+y}
4642 then :
4643 withval=$with_sdl;
4647 # Check whether --with-udev was given.
4648 if test ${with_udev+y}
4649 then :
4650 withval=$with_udev;
4654 # Check whether --with-unwind was given.
4655 if test ${with_unwind+y}
4656 then :
4657 withval=$with_unwind;
4661 # Check whether --with-usb was given.
4662 if test ${with_usb+y}
4663 then :
4664 withval=$with_usb;
4668 # Check whether --with-v4l2 was given.
4669 if test ${with_v4l2+y}
4670 then :
4671 withval=$with_v4l2;
4675 # Check whether --with-vkd3d was given.
4676 if test ${with_vkd3d+y}
4677 then :
4678 withval=$with_vkd3d;
4682 # Check whether --with-vulkan was given.
4683 if test ${with_vulkan+y}
4684 then :
4685 withval=$with_vulkan;
4689 # Check whether --with-xcomposite was given.
4690 if test ${with_xcomposite+y}
4691 then :
4692 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4696 # Check whether --with-xcursor was given.
4697 if test ${with_xcursor+y}
4698 then :
4699 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4703 # Check whether --with-xfixes was given.
4704 if test ${with_xfixes+y}
4705 then :
4706 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4710 # Check whether --with-xinerama was given.
4711 if test ${with_xinerama+y}
4712 then :
4713 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4717 # Check whether --with-xinput was given.
4718 if test ${with_xinput+y}
4719 then :
4720 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4724 # Check whether --with-xinput2 was given.
4725 if test ${with_xinput2+y}
4726 then :
4727 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4731 # Check whether --with-xrandr was given.
4732 if test ${with_xrandr+y}
4733 then :
4734 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4738 # Check whether --with-xrender was given.
4739 if test ${with_xrender+y}
4740 then :
4741 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4745 # Check whether --with-xshape was given.
4746 if test ${with_xshape+y}
4747 then :
4748 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4752 # Check whether --with-xshm was given.
4753 if test ${with_xshm+y}
4754 then :
4755 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4759 # Check whether --with-xxf86vm was given.
4760 if test ${with_xxf86vm+y}
4761 then :
4762 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
4767 # Check whether --with-wine-tools was given.
4768 if test ${with_wine_tools+y}
4769 then :
4770 withval=$with_wine_tools;
4774 # Check whether --with-wine64 was given.
4775 if test ${with_wine64+y}
4776 then :
4777 withval=$with_wine64;
4784 # Make sure we can run config.sub.
4785 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4786 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4789 printf %s "checking build system type... " >&6; }
4790 if test ${ac_cv_build+y}
4791 then :
4792 printf %s "(cached) " >&6
4793 else $as_nop
4794 ac_build_alias=$build_alias
4795 test "x$ac_build_alias" = x &&
4796 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4797 test "x$ac_build_alias" = x &&
4798 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4799 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4800 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4804 printf "%s\n" "$ac_cv_build" >&6; }
4805 case $ac_cv_build in
4806 *-*-*) ;;
4807 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4808 esac
4809 build=$ac_cv_build
4810 ac_save_IFS=$IFS; IFS='-'
4811 set x $ac_cv_build
4812 shift
4813 build_cpu=$1
4814 build_vendor=$2
4815 shift; shift
4816 # Remember, the first character of IFS is used to create $*,
4817 # except with old shells:
4818 build_os=$*
4819 IFS=$ac_save_IFS
4820 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4824 printf %s "checking host system type... " >&6; }
4825 if test ${ac_cv_host+y}
4826 then :
4827 printf %s "(cached) " >&6
4828 else $as_nop
4829 if test "x$host_alias" = x; then
4830 ac_cv_host=$ac_cv_build
4831 else
4832 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4833 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4838 printf "%s\n" "$ac_cv_host" >&6; }
4839 case $ac_cv_host in
4840 *-*-*) ;;
4841 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4842 esac
4843 host=$ac_cv_host
4844 ac_save_IFS=$IFS; IFS='-'
4845 set x $ac_cv_host
4846 shift
4847 host_cpu=$1
4848 host_vendor=$2
4849 shift; shift
4850 # Remember, the first character of IFS is used to create $*,
4851 # except with old shells:
4852 host_os=$*
4853 IFS=$ac_save_IFS
4854 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4858 dlldir=\${libdir}/wine
4860 fontdir=\${datadir}/wine/fonts
4862 nlsdir=\${datadir}/wine/nls
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4868 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4869 set x ${MAKE-make}
4870 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4871 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4872 then :
4873 printf %s "(cached) " >&6
4874 else $as_nop
4875 cat >conftest.make <<\_ACEOF
4876 SHELL = /bin/sh
4877 all:
4878 @echo '@@@%%%=$(MAKE)=@@@%%%'
4879 _ACEOF
4880 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4881 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4882 *@@@%%%=?*=@@@%%%*)
4883 eval ac_cv_prog_make_${ac_make}_set=yes;;
4885 eval ac_cv_prog_make_${ac_make}_set=no;;
4886 esac
4887 rm -f conftest.make
4889 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4891 printf "%s\n" "yes" >&6; }
4892 SET_MAKE=
4893 else
4894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895 printf "%s\n" "no" >&6; }
4896 SET_MAKE="MAKE=${MAKE-make}"
4908 ac_ext=c
4909 ac_cpp='$CPP $CPPFLAGS'
4910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4913 if test -n "$ac_tool_prefix"; then
4914 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4915 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 printf %s "checking for $ac_word... " >&6; }
4918 if test ${ac_cv_prog_CC+y}
4919 then :
4920 printf %s "(cached) " >&6
4921 else $as_nop
4922 if test -n "$CC"; then
4923 ac_cv_prog_CC="$CC" # Let the user override the test.
4924 else
4925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926 for as_dir in $PATH
4928 IFS=$as_save_IFS
4929 case $as_dir in #(((
4930 '') as_dir=./ ;;
4931 */) ;;
4932 *) as_dir=$as_dir/ ;;
4933 esac
4934 for ac_exec_ext in '' $ac_executable_extensions; do
4935 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4936 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4937 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4938 break 2
4940 done
4941 done
4942 IFS=$as_save_IFS
4946 CC=$ac_cv_prog_CC
4947 if test -n "$CC"; then
4948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4949 printf "%s\n" "$CC" >&6; }
4950 else
4951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 printf "%s\n" "no" >&6; }
4957 if test -z "$ac_cv_prog_CC"; then
4958 ac_ct_CC=$CC
4959 # Extract the first word of "gcc", so it can be a program name with args.
4960 set dummy gcc; ac_word=$2
4961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4962 printf %s "checking for $ac_word... " >&6; }
4963 if test ${ac_cv_prog_ac_ct_CC+y}
4964 then :
4965 printf %s "(cached) " >&6
4966 else $as_nop
4967 if test -n "$ac_ct_CC"; then
4968 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4969 else
4970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4971 for as_dir in $PATH
4973 IFS=$as_save_IFS
4974 case $as_dir in #(((
4975 '') as_dir=./ ;;
4976 */) ;;
4977 *) as_dir=$as_dir/ ;;
4978 esac
4979 for ac_exec_ext in '' $ac_executable_extensions; do
4980 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4981 ac_cv_prog_ac_ct_CC="gcc"
4982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4983 break 2
4985 done
4986 done
4987 IFS=$as_save_IFS
4991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4992 if test -n "$ac_ct_CC"; then
4993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4994 printf "%s\n" "$ac_ct_CC" >&6; }
4995 else
4996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4997 printf "%s\n" "no" >&6; }
5000 if test "x$ac_ct_CC" = x; then
5001 CC=""
5002 else
5003 case $cross_compiling:$ac_tool_warned in
5004 yes:)
5005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5006 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5007 ac_tool_warned=yes ;;
5008 esac
5009 CC=$ac_ct_CC
5011 else
5012 CC="$ac_cv_prog_CC"
5015 if test -z "$CC"; then
5016 if test -n "$ac_tool_prefix"; then
5017 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5018 set dummy ${ac_tool_prefix}cc; ac_word=$2
5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5020 printf %s "checking for $ac_word... " >&6; }
5021 if test ${ac_cv_prog_CC+y}
5022 then :
5023 printf %s "(cached) " >&6
5024 else $as_nop
5025 if test -n "$CC"; then
5026 ac_cv_prog_CC="$CC" # Let the user override the test.
5027 else
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 for as_dir in $PATH
5031 IFS=$as_save_IFS
5032 case $as_dir in #(((
5033 '') as_dir=./ ;;
5034 */) ;;
5035 *) as_dir=$as_dir/ ;;
5036 esac
5037 for ac_exec_ext in '' $ac_executable_extensions; do
5038 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5039 ac_cv_prog_CC="${ac_tool_prefix}cc"
5040 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5041 break 2
5043 done
5044 done
5045 IFS=$as_save_IFS
5049 CC=$ac_cv_prog_CC
5050 if test -n "$CC"; then
5051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5052 printf "%s\n" "$CC" >&6; }
5053 else
5054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 printf "%s\n" "no" >&6; }
5061 if test -z "$CC"; then
5062 # Extract the first word of "cc", so it can be a program name with args.
5063 set dummy cc; ac_word=$2
5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5065 printf %s "checking for $ac_word... " >&6; }
5066 if test ${ac_cv_prog_CC+y}
5067 then :
5068 printf %s "(cached) " >&6
5069 else $as_nop
5070 if test -n "$CC"; then
5071 ac_cv_prog_CC="$CC" # Let the user override the test.
5072 else
5073 ac_prog_rejected=no
5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 for as_dir in $PATH
5077 IFS=$as_save_IFS
5078 case $as_dir in #(((
5079 '') as_dir=./ ;;
5080 */) ;;
5081 *) as_dir=$as_dir/ ;;
5082 esac
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5085 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5086 ac_prog_rejected=yes
5087 continue
5089 ac_cv_prog_CC="cc"
5090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5091 break 2
5093 done
5094 done
5095 IFS=$as_save_IFS
5097 if test $ac_prog_rejected = yes; then
5098 # We found a bogon in the path, so make sure we never use it.
5099 set dummy $ac_cv_prog_CC
5100 shift
5101 if test $# != 0; then
5102 # We chose a different compiler from the bogus one.
5103 # However, it has the same basename, so the bogon will be chosen
5104 # first if we set CC to just the basename; use the full file name.
5105 shift
5106 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5111 CC=$ac_cv_prog_CC
5112 if test -n "$CC"; then
5113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5114 printf "%s\n" "$CC" >&6; }
5115 else
5116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117 printf "%s\n" "no" >&6; }
5122 if test -z "$CC"; then
5123 if test -n "$ac_tool_prefix"; then
5124 for ac_prog in cl.exe
5126 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5127 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5129 printf %s "checking for $ac_word... " >&6; }
5130 if test ${ac_cv_prog_CC+y}
5131 then :
5132 printf %s "(cached) " >&6
5133 else $as_nop
5134 if test -n "$CC"; then
5135 ac_cv_prog_CC="$CC" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5140 IFS=$as_save_IFS
5141 case $as_dir in #(((
5142 '') as_dir=./ ;;
5143 */) ;;
5144 *) as_dir=$as_dir/ ;;
5145 esac
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5150 break 2
5152 done
5153 done
5154 IFS=$as_save_IFS
5158 CC=$ac_cv_prog_CC
5159 if test -n "$CC"; then
5160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5161 printf "%s\n" "$CC" >&6; }
5162 else
5163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 printf "%s\n" "no" >&6; }
5168 test -n "$CC" && break
5169 done
5171 if test -z "$CC"; then
5172 ac_ct_CC=$CC
5173 for ac_prog in cl.exe
5175 # Extract the first word of "$ac_prog", so it can be a program name with args.
5176 set dummy $ac_prog; ac_word=$2
5177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 printf %s "checking for $ac_word... " >&6; }
5179 if test ${ac_cv_prog_ac_ct_CC+y}
5180 then :
5181 printf %s "(cached) " >&6
5182 else $as_nop
5183 if test -n "$ac_ct_CC"; then
5184 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5185 else
5186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5187 for as_dir in $PATH
5189 IFS=$as_save_IFS
5190 case $as_dir in #(((
5191 '') as_dir=./ ;;
5192 */) ;;
5193 *) as_dir=$as_dir/ ;;
5194 esac
5195 for ac_exec_ext in '' $ac_executable_extensions; do
5196 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5197 ac_cv_prog_ac_ct_CC="$ac_prog"
5198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5199 break 2
5201 done
5202 done
5203 IFS=$as_save_IFS
5207 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5208 if test -n "$ac_ct_CC"; then
5209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5210 printf "%s\n" "$ac_ct_CC" >&6; }
5211 else
5212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 printf "%s\n" "no" >&6; }
5217 test -n "$ac_ct_CC" && break
5218 done
5220 if test "x$ac_ct_CC" = x; then
5221 CC=""
5222 else
5223 case $cross_compiling:$ac_tool_warned in
5224 yes:)
5225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5226 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5227 ac_tool_warned=yes ;;
5228 esac
5229 CC=$ac_ct_CC
5234 if test -z "$CC"; then
5235 if test -n "$ac_tool_prefix"; then
5236 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5237 set dummy ${ac_tool_prefix}clang; ac_word=$2
5238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5239 printf %s "checking for $ac_word... " >&6; }
5240 if test ${ac_cv_prog_CC+y}
5241 then :
5242 printf %s "(cached) " >&6
5243 else $as_nop
5244 if test -n "$CC"; then
5245 ac_cv_prog_CC="$CC" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5250 IFS=$as_save_IFS
5251 case $as_dir in #(((
5252 '') as_dir=./ ;;
5253 */) ;;
5254 *) as_dir=$as_dir/ ;;
5255 esac
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5258 ac_cv_prog_CC="${ac_tool_prefix}clang"
5259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5260 break 2
5262 done
5263 done
5264 IFS=$as_save_IFS
5268 CC=$ac_cv_prog_CC
5269 if test -n "$CC"; then
5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5271 printf "%s\n" "$CC" >&6; }
5272 else
5273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 printf "%s\n" "no" >&6; }
5279 if test -z "$ac_cv_prog_CC"; then
5280 ac_ct_CC=$CC
5281 # Extract the first word of "clang", so it can be a program name with args.
5282 set dummy clang; ac_word=$2
5283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5284 printf %s "checking for $ac_word... " >&6; }
5285 if test ${ac_cv_prog_ac_ct_CC+y}
5286 then :
5287 printf %s "(cached) " >&6
5288 else $as_nop
5289 if test -n "$ac_ct_CC"; then
5290 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5291 else
5292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5293 for as_dir in $PATH
5295 IFS=$as_save_IFS
5296 case $as_dir in #(((
5297 '') as_dir=./ ;;
5298 */) ;;
5299 *) as_dir=$as_dir/ ;;
5300 esac
5301 for ac_exec_ext in '' $ac_executable_extensions; do
5302 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5303 ac_cv_prog_ac_ct_CC="clang"
5304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5305 break 2
5307 done
5308 done
5309 IFS=$as_save_IFS
5313 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5314 if test -n "$ac_ct_CC"; then
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5316 printf "%s\n" "$ac_ct_CC" >&6; }
5317 else
5318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5319 printf "%s\n" "no" >&6; }
5322 if test "x$ac_ct_CC" = x; then
5323 CC=""
5324 else
5325 case $cross_compiling:$ac_tool_warned in
5326 yes:)
5327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5328 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5329 ac_tool_warned=yes ;;
5330 esac
5331 CC=$ac_ct_CC
5333 else
5334 CC="$ac_cv_prog_CC"
5340 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5341 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5342 as_fn_error $? "no acceptable C compiler found in \$PATH
5343 See \`config.log' for more details" "$LINENO" 5; }
5345 # Provide some information about the compiler.
5346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5347 set X $ac_compile
5348 ac_compiler=$2
5349 for ac_option in --version -v -V -qversion -version; do
5350 { { ac_try="$ac_compiler $ac_option >&5"
5351 case "(($ac_try" in
5352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5353 *) ac_try_echo=$ac_try;;
5354 esac
5355 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5356 printf "%s\n" "$ac_try_echo"; } >&5
5357 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5358 ac_status=$?
5359 if test -s conftest.err; then
5360 sed '10a\
5361 ... rest of stderr output deleted ...
5362 10q' conftest.err >conftest.er1
5363 cat conftest.er1 >&5
5365 rm -f conftest.er1 conftest.err
5366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5367 test $ac_status = 0; }
5368 done
5370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5371 /* end confdefs.h. */
5374 main (void)
5378 return 0;
5380 _ACEOF
5381 ac_clean_files_save=$ac_clean_files
5382 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5383 # Try to create an executable without -o first, disregard a.out.
5384 # It will help us diagnose broken compilers, and finding out an intuition
5385 # of exeext.
5386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5387 printf %s "checking whether the C compiler works... " >&6; }
5388 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5390 # The possible output files:
5391 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5393 ac_rmfiles=
5394 for ac_file in $ac_files
5396 case $ac_file in
5397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5398 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5399 esac
5400 done
5401 rm -f $ac_rmfiles
5403 if { { ac_try="$ac_link_default"
5404 case "(($ac_try" in
5405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5406 *) ac_try_echo=$ac_try;;
5407 esac
5408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5409 printf "%s\n" "$ac_try_echo"; } >&5
5410 (eval "$ac_link_default") 2>&5
5411 ac_status=$?
5412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5413 test $ac_status = 0; }
5414 then :
5415 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5416 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5417 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5418 # so that the user can short-circuit this test for compilers unknown to
5419 # Autoconf.
5420 for ac_file in $ac_files ''
5422 test -f "$ac_file" || continue
5423 case $ac_file in
5424 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5426 [ab].out )
5427 # We found the default executable, but exeext='' is most
5428 # certainly right.
5429 break;;
5430 *.* )
5431 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5432 then :; else
5433 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5435 # We set ac_cv_exeext here because the later test for it is not
5436 # safe: cross compilers may not add the suffix if given an `-o'
5437 # argument, so we may need to know it at that point already.
5438 # Even if this section looks crufty: it has the advantage of
5439 # actually working.
5440 break;;
5442 break;;
5443 esac
5444 done
5445 test "$ac_cv_exeext" = no && ac_cv_exeext=
5447 else $as_nop
5448 ac_file=''
5450 if test -z "$ac_file"
5451 then :
5452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5453 printf "%s\n" "no" >&6; }
5454 printf "%s\n" "$as_me: failed program was:" >&5
5455 sed 's/^/| /' conftest.$ac_ext >&5
5457 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5458 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5459 as_fn_error 77 "C compiler cannot create executables
5460 See \`config.log' for more details" "$LINENO" 5; }
5461 else $as_nop
5462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5463 printf "%s\n" "yes" >&6; }
5465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5466 printf %s "checking for C compiler default output file name... " >&6; }
5467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5468 printf "%s\n" "$ac_file" >&6; }
5469 ac_exeext=$ac_cv_exeext
5471 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5472 ac_clean_files=$ac_clean_files_save
5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5474 printf %s "checking for suffix of executables... " >&6; }
5475 if { { ac_try="$ac_link"
5476 case "(($ac_try" in
5477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5478 *) ac_try_echo=$ac_try;;
5479 esac
5480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5481 printf "%s\n" "$ac_try_echo"; } >&5
5482 (eval "$ac_link") 2>&5
5483 ac_status=$?
5484 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5485 test $ac_status = 0; }
5486 then :
5487 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5488 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5489 # work properly (i.e., refer to `conftest.exe'), while it won't with
5490 # `rm'.
5491 for ac_file in conftest.exe conftest conftest.*; do
5492 test -f "$ac_file" || continue
5493 case $ac_file in
5494 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5495 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5496 break;;
5497 * ) break;;
5498 esac
5499 done
5500 else $as_nop
5501 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5502 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5503 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5504 See \`config.log' for more details" "$LINENO" 5; }
5506 rm -f conftest conftest$ac_cv_exeext
5507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5508 printf "%s\n" "$ac_cv_exeext" >&6; }
5510 rm -f conftest.$ac_ext
5511 EXEEXT=$ac_cv_exeext
5512 ac_exeext=$EXEEXT
5513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5514 /* end confdefs.h. */
5515 #include <stdio.h>
5517 main (void)
5519 FILE *f = fopen ("conftest.out", "w");
5520 return ferror (f) || fclose (f) != 0;
5523 return 0;
5525 _ACEOF
5526 ac_clean_files="$ac_clean_files conftest.out"
5527 # Check that the compiler produces executables we can run. If not, either
5528 # the compiler is broken, or we cross compile.
5529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5530 printf %s "checking whether we are cross compiling... " >&6; }
5531 if test "$cross_compiling" != yes; then
5532 { { ac_try="$ac_link"
5533 case "(($ac_try" in
5534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5535 *) ac_try_echo=$ac_try;;
5536 esac
5537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5538 printf "%s\n" "$ac_try_echo"; } >&5
5539 (eval "$ac_link") 2>&5
5540 ac_status=$?
5541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5542 test $ac_status = 0; }
5543 if { ac_try='./conftest$ac_cv_exeext'
5544 { { case "(($ac_try" in
5545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5546 *) ac_try_echo=$ac_try;;
5547 esac
5548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5549 printf "%s\n" "$ac_try_echo"; } >&5
5550 (eval "$ac_try") 2>&5
5551 ac_status=$?
5552 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5553 test $ac_status = 0; }; }; then
5554 cross_compiling=no
5555 else
5556 if test "$cross_compiling" = maybe; then
5557 cross_compiling=yes
5558 else
5559 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5560 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5561 as_fn_error 77 "cannot run C compiled programs.
5562 If you meant to cross compile, use \`--host'.
5563 See \`config.log' for more details" "$LINENO" 5; }
5567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5568 printf "%s\n" "$cross_compiling" >&6; }
5570 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5571 ac_clean_files=$ac_clean_files_save
5572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5573 printf %s "checking for suffix of object files... " >&6; }
5574 if test ${ac_cv_objext+y}
5575 then :
5576 printf %s "(cached) " >&6
5577 else $as_nop
5578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5579 /* end confdefs.h. */
5582 main (void)
5586 return 0;
5588 _ACEOF
5589 rm -f conftest.o conftest.obj
5590 if { { ac_try="$ac_compile"
5591 case "(($ac_try" in
5592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5593 *) ac_try_echo=$ac_try;;
5594 esac
5595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5596 printf "%s\n" "$ac_try_echo"; } >&5
5597 (eval "$ac_compile") 2>&5
5598 ac_status=$?
5599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5600 test $ac_status = 0; }
5601 then :
5602 for ac_file in conftest.o conftest.obj conftest.*; do
5603 test -f "$ac_file" || continue;
5604 case $ac_file in
5605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5606 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5607 break;;
5608 esac
5609 done
5610 else $as_nop
5611 printf "%s\n" "$as_me: failed program was:" >&5
5612 sed 's/^/| /' conftest.$ac_ext >&5
5614 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5615 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5616 as_fn_error $? "cannot compute suffix of object files: cannot compile
5617 See \`config.log' for more details" "$LINENO" 5; }
5619 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5622 printf "%s\n" "$ac_cv_objext" >&6; }
5623 OBJEXT=$ac_cv_objext
5624 ac_objext=$OBJEXT
5625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5626 printf %s "checking whether the compiler supports GNU C... " >&6; }
5627 if test ${ac_cv_c_compiler_gnu+y}
5628 then :
5629 printf %s "(cached) " >&6
5630 else $as_nop
5631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5635 main (void)
5637 #ifndef __GNUC__
5638 choke me
5639 #endif
5642 return 0;
5644 _ACEOF
5645 if ac_fn_c_try_compile "$LINENO"
5646 then :
5647 ac_compiler_gnu=yes
5648 else $as_nop
5649 ac_compiler_gnu=no
5651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5652 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5656 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5659 if test $ac_compiler_gnu = yes; then
5660 GCC=yes
5661 else
5662 GCC=
5664 ac_test_CFLAGS=${CFLAGS+y}
5665 ac_save_CFLAGS=$CFLAGS
5666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5667 printf %s "checking whether $CC accepts -g... " >&6; }
5668 if test ${ac_cv_prog_cc_g+y}
5669 then :
5670 printf %s "(cached) " >&6
5671 else $as_nop
5672 ac_save_c_werror_flag=$ac_c_werror_flag
5673 ac_c_werror_flag=yes
5674 ac_cv_prog_cc_g=no
5675 CFLAGS="-g"
5676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5677 /* end confdefs.h. */
5680 main (void)
5684 return 0;
5686 _ACEOF
5687 if ac_fn_c_try_compile "$LINENO"
5688 then :
5689 ac_cv_prog_cc_g=yes
5690 else $as_nop
5691 CFLAGS=""
5692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5693 /* end confdefs.h. */
5696 main (void)
5700 return 0;
5702 _ACEOF
5703 if ac_fn_c_try_compile "$LINENO"
5704 then :
5706 else $as_nop
5707 ac_c_werror_flag=$ac_save_c_werror_flag
5708 CFLAGS="-g"
5709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5710 /* end confdefs.h. */
5713 main (void)
5717 return 0;
5719 _ACEOF
5720 if ac_fn_c_try_compile "$LINENO"
5721 then :
5722 ac_cv_prog_cc_g=yes
5724 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5726 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5728 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5729 ac_c_werror_flag=$ac_save_c_werror_flag
5731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5732 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5733 if test $ac_test_CFLAGS; then
5734 CFLAGS=$ac_save_CFLAGS
5735 elif test $ac_cv_prog_cc_g = yes; then
5736 if test "$GCC" = yes; then
5737 CFLAGS="-g -O2"
5738 else
5739 CFLAGS="-g"
5741 else
5742 if test "$GCC" = yes; then
5743 CFLAGS="-O2"
5744 else
5745 CFLAGS=
5748 ac_prog_cc_stdc=no
5749 if test x$ac_prog_cc_stdc = xno
5750 then :
5751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5752 printf %s "checking for $CC option to enable C11 features... " >&6; }
5753 if test ${ac_cv_prog_cc_c11+y}
5754 then :
5755 printf %s "(cached) " >&6
5756 else $as_nop
5757 ac_cv_prog_cc_c11=no
5758 ac_save_CC=$CC
5759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5760 /* end confdefs.h. */
5761 $ac_c_conftest_c11_program
5762 _ACEOF
5763 for ac_arg in '' -std=gnu11
5765 CC="$ac_save_CC $ac_arg"
5766 if ac_fn_c_try_compile "$LINENO"
5767 then :
5768 ac_cv_prog_cc_c11=$ac_arg
5770 rm -f core conftest.err conftest.$ac_objext conftest.beam
5771 test "x$ac_cv_prog_cc_c11" != "xno" && break
5772 done
5773 rm -f conftest.$ac_ext
5774 CC=$ac_save_CC
5777 if test "x$ac_cv_prog_cc_c11" = xno
5778 then :
5779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5780 printf "%s\n" "unsupported" >&6; }
5781 else $as_nop
5782 if test "x$ac_cv_prog_cc_c11" = x
5783 then :
5784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5785 printf "%s\n" "none needed" >&6; }
5786 else $as_nop
5787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5788 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5789 CC="$CC $ac_cv_prog_cc_c11"
5791 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5792 ac_prog_cc_stdc=c11
5795 if test x$ac_prog_cc_stdc = xno
5796 then :
5797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5798 printf %s "checking for $CC option to enable C99 features... " >&6; }
5799 if test ${ac_cv_prog_cc_c99+y}
5800 then :
5801 printf %s "(cached) " >&6
5802 else $as_nop
5803 ac_cv_prog_cc_c99=no
5804 ac_save_CC=$CC
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5807 $ac_c_conftest_c99_program
5808 _ACEOF
5809 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5811 CC="$ac_save_CC $ac_arg"
5812 if ac_fn_c_try_compile "$LINENO"
5813 then :
5814 ac_cv_prog_cc_c99=$ac_arg
5816 rm -f core conftest.err conftest.$ac_objext conftest.beam
5817 test "x$ac_cv_prog_cc_c99" != "xno" && break
5818 done
5819 rm -f conftest.$ac_ext
5820 CC=$ac_save_CC
5823 if test "x$ac_cv_prog_cc_c99" = xno
5824 then :
5825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5826 printf "%s\n" "unsupported" >&6; }
5827 else $as_nop
5828 if test "x$ac_cv_prog_cc_c99" = x
5829 then :
5830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5831 printf "%s\n" "none needed" >&6; }
5832 else $as_nop
5833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5834 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5835 CC="$CC $ac_cv_prog_cc_c99"
5837 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5838 ac_prog_cc_stdc=c99
5841 if test x$ac_prog_cc_stdc = xno
5842 then :
5843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5844 printf %s "checking for $CC option to enable C89 features... " >&6; }
5845 if test ${ac_cv_prog_cc_c89+y}
5846 then :
5847 printf %s "(cached) " >&6
5848 else $as_nop
5849 ac_cv_prog_cc_c89=no
5850 ac_save_CC=$CC
5851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5852 /* end confdefs.h. */
5853 $ac_c_conftest_c89_program
5854 _ACEOF
5855 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5857 CC="$ac_save_CC $ac_arg"
5858 if ac_fn_c_try_compile "$LINENO"
5859 then :
5860 ac_cv_prog_cc_c89=$ac_arg
5862 rm -f core conftest.err conftest.$ac_objext conftest.beam
5863 test "x$ac_cv_prog_cc_c89" != "xno" && break
5864 done
5865 rm -f conftest.$ac_ext
5866 CC=$ac_save_CC
5869 if test "x$ac_cv_prog_cc_c89" = xno
5870 then :
5871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5872 printf "%s\n" "unsupported" >&6; }
5873 else $as_nop
5874 if test "x$ac_cv_prog_cc_c89" = x
5875 then :
5876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5877 printf "%s\n" "none needed" >&6; }
5878 else $as_nop
5879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5880 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5881 CC="$CC $ac_cv_prog_cc_c89"
5883 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5884 ac_prog_cc_stdc=c89
5888 ac_ext=c
5889 ac_cpp='$CPP $CPPFLAGS'
5890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5900 ac_ext=cpp
5901 ac_cpp='$CXXCPP $CPPFLAGS'
5902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5905 if test -z "$CXX"; then
5906 if test -n "$CCC"; then
5907 CXX=$CCC
5908 else
5909 if test -n "$ac_tool_prefix"; then
5910 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5912 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5913 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 printf %s "checking for $ac_word... " >&6; }
5916 if test ${ac_cv_prog_CXX+y}
5917 then :
5918 printf %s "(cached) " >&6
5919 else $as_nop
5920 if test -n "$CXX"; then
5921 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5922 else
5923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5924 for as_dir in $PATH
5926 IFS=$as_save_IFS
5927 case $as_dir in #(((
5928 '') as_dir=./ ;;
5929 */) ;;
5930 *) as_dir=$as_dir/ ;;
5931 esac
5932 for ac_exec_ext in '' $ac_executable_extensions; do
5933 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5934 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5936 break 2
5938 done
5939 done
5940 IFS=$as_save_IFS
5944 CXX=$ac_cv_prog_CXX
5945 if test -n "$CXX"; then
5946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5947 printf "%s\n" "$CXX" >&6; }
5948 else
5949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5950 printf "%s\n" "no" >&6; }
5954 test -n "$CXX" && break
5955 done
5957 if test -z "$CXX"; then
5958 ac_ct_CXX=$CXX
5959 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5961 # Extract the first word of "$ac_prog", so it can be a program name with args.
5962 set dummy $ac_prog; ac_word=$2
5963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5964 printf %s "checking for $ac_word... " >&6; }
5965 if test ${ac_cv_prog_ac_ct_CXX+y}
5966 then :
5967 printf %s "(cached) " >&6
5968 else $as_nop
5969 if test -n "$ac_ct_CXX"; then
5970 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5971 else
5972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973 for as_dir in $PATH
5975 IFS=$as_save_IFS
5976 case $as_dir in #(((
5977 '') as_dir=./ ;;
5978 */) ;;
5979 *) as_dir=$as_dir/ ;;
5980 esac
5981 for ac_exec_ext in '' $ac_executable_extensions; do
5982 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5983 ac_cv_prog_ac_ct_CXX="$ac_prog"
5984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5985 break 2
5987 done
5988 done
5989 IFS=$as_save_IFS
5993 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5994 if test -n "$ac_ct_CXX"; then
5995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5996 printf "%s\n" "$ac_ct_CXX" >&6; }
5997 else
5998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5999 printf "%s\n" "no" >&6; }
6003 test -n "$ac_ct_CXX" && break
6004 done
6006 if test "x$ac_ct_CXX" = x; then
6007 CXX="g++"
6008 else
6009 case $cross_compiling:$ac_tool_warned in
6010 yes:)
6011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6012 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6013 ac_tool_warned=yes ;;
6014 esac
6015 CXX=$ac_ct_CXX
6021 # Provide some information about the compiler.
6022 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6023 set X $ac_compile
6024 ac_compiler=$2
6025 for ac_option in --version -v -V -qversion; do
6026 { { ac_try="$ac_compiler $ac_option >&5"
6027 case "(($ac_try" in
6028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6029 *) ac_try_echo=$ac_try;;
6030 esac
6031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6032 printf "%s\n" "$ac_try_echo"; } >&5
6033 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6034 ac_status=$?
6035 if test -s conftest.err; then
6036 sed '10a\
6037 ... rest of stderr output deleted ...
6038 10q' conftest.err >conftest.er1
6039 cat conftest.er1 >&5
6041 rm -f conftest.er1 conftest.err
6042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6043 test $ac_status = 0; }
6044 done
6046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6047 printf %s "checking whether the compiler supports GNU C++... " >&6; }
6048 if test ${ac_cv_cxx_compiler_gnu+y}
6049 then :
6050 printf %s "(cached) " >&6
6051 else $as_nop
6052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6053 /* end confdefs.h. */
6056 main (void)
6058 #ifndef __GNUC__
6059 choke me
6060 #endif
6063 return 0;
6065 _ACEOF
6066 if ac_fn_cxx_try_compile "$LINENO"
6067 then :
6068 ac_compiler_gnu=yes
6069 else $as_nop
6070 ac_compiler_gnu=no
6072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6073 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6077 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6080 if test $ac_compiler_gnu = yes; then
6081 GXX=yes
6082 else
6083 GXX=
6085 ac_test_CXXFLAGS=${CXXFLAGS+y}
6086 ac_save_CXXFLAGS=$CXXFLAGS
6087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6088 printf %s "checking whether $CXX accepts -g... " >&6; }
6089 if test ${ac_cv_prog_cxx_g+y}
6090 then :
6091 printf %s "(cached) " >&6
6092 else $as_nop
6093 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6094 ac_cxx_werror_flag=yes
6095 ac_cv_prog_cxx_g=no
6096 CXXFLAGS="-g"
6097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6098 /* end confdefs.h. */
6101 main (void)
6105 return 0;
6107 _ACEOF
6108 if ac_fn_cxx_try_compile "$LINENO"
6109 then :
6110 ac_cv_prog_cxx_g=yes
6111 else $as_nop
6112 CXXFLAGS=""
6113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6114 /* end confdefs.h. */
6117 main (void)
6121 return 0;
6123 _ACEOF
6124 if ac_fn_cxx_try_compile "$LINENO"
6125 then :
6127 else $as_nop
6128 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6129 CXXFLAGS="-g"
6130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6131 /* end confdefs.h. */
6134 main (void)
6138 return 0;
6140 _ACEOF
6141 if ac_fn_cxx_try_compile "$LINENO"
6142 then :
6143 ac_cv_prog_cxx_g=yes
6145 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6150 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6153 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6154 if test $ac_test_CXXFLAGS; then
6155 CXXFLAGS=$ac_save_CXXFLAGS
6156 elif test $ac_cv_prog_cxx_g = yes; then
6157 if test "$GXX" = yes; then
6158 CXXFLAGS="-g -O2"
6159 else
6160 CXXFLAGS="-g"
6162 else
6163 if test "$GXX" = yes; then
6164 CXXFLAGS="-O2"
6165 else
6166 CXXFLAGS=
6169 ac_prog_cxx_stdcxx=no
6170 if test x$ac_prog_cxx_stdcxx = xno
6171 then :
6172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6173 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6174 if test ${ac_cv_prog_cxx_11+y}
6175 then :
6176 printf %s "(cached) " >&6
6177 else $as_nop
6178 ac_cv_prog_cxx_11=no
6179 ac_save_CXX=$CXX
6180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6181 /* end confdefs.h. */
6182 $ac_cxx_conftest_cxx11_program
6183 _ACEOF
6184 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6186 CXX="$ac_save_CXX $ac_arg"
6187 if ac_fn_cxx_try_compile "$LINENO"
6188 then :
6189 ac_cv_prog_cxx_cxx11=$ac_arg
6191 rm -f core conftest.err conftest.$ac_objext conftest.beam
6192 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6193 done
6194 rm -f conftest.$ac_ext
6195 CXX=$ac_save_CXX
6198 if test "x$ac_cv_prog_cxx_cxx11" = xno
6199 then :
6200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6201 printf "%s\n" "unsupported" >&6; }
6202 else $as_nop
6203 if test "x$ac_cv_prog_cxx_cxx11" = x
6204 then :
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6206 printf "%s\n" "none needed" >&6; }
6207 else $as_nop
6208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6209 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6210 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6212 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6213 ac_prog_cxx_stdcxx=cxx11
6216 if test x$ac_prog_cxx_stdcxx = xno
6217 then :
6218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6219 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6220 if test ${ac_cv_prog_cxx_98+y}
6221 then :
6222 printf %s "(cached) " >&6
6223 else $as_nop
6224 ac_cv_prog_cxx_98=no
6225 ac_save_CXX=$CXX
6226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6227 /* end confdefs.h. */
6228 $ac_cxx_conftest_cxx98_program
6229 _ACEOF
6230 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6232 CXX="$ac_save_CXX $ac_arg"
6233 if ac_fn_cxx_try_compile "$LINENO"
6234 then :
6235 ac_cv_prog_cxx_cxx98=$ac_arg
6237 rm -f core conftest.err conftest.$ac_objext conftest.beam
6238 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6239 done
6240 rm -f conftest.$ac_ext
6241 CXX=$ac_save_CXX
6244 if test "x$ac_cv_prog_cxx_cxx98" = xno
6245 then :
6246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6247 printf "%s\n" "unsupported" >&6; }
6248 else $as_nop
6249 if test "x$ac_cv_prog_cxx_cxx98" = x
6250 then :
6251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6252 printf "%s\n" "none needed" >&6; }
6253 else $as_nop
6254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6255 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6256 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6258 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6259 ac_prog_cxx_stdcxx=cxx98
6263 ac_ext=c
6264 ac_cpp='$CPP $CPPFLAGS'
6265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6269 if test -n "$ac_tool_prefix"; then
6270 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6271 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273 printf %s "checking for $ac_word... " >&6; }
6274 if test ${ac_cv_prog_CPPBIN+y}
6275 then :
6276 printf %s "(cached) " >&6
6277 else $as_nop
6278 if test -n "$CPPBIN"; then
6279 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6280 else
6281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6282 for as_dir in $PATH
6284 IFS=$as_save_IFS
6285 case $as_dir in #(((
6286 '') as_dir=./ ;;
6287 */) ;;
6288 *) as_dir=$as_dir/ ;;
6289 esac
6290 for ac_exec_ext in '' $ac_executable_extensions; do
6291 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6292 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6294 break 2
6296 done
6297 done
6298 IFS=$as_save_IFS
6302 CPPBIN=$ac_cv_prog_CPPBIN
6303 if test -n "$CPPBIN"; then
6304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6305 printf "%s\n" "$CPPBIN" >&6; }
6306 else
6307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6308 printf "%s\n" "no" >&6; }
6313 if test -z "$ac_cv_prog_CPPBIN"; then
6314 ac_ct_CPPBIN=$CPPBIN
6315 # Extract the first word of "cpp", so it can be a program name with args.
6316 set dummy cpp; ac_word=$2
6317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6318 printf %s "checking for $ac_word... " >&6; }
6319 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6320 then :
6321 printf %s "(cached) " >&6
6322 else $as_nop
6323 if test -n "$ac_ct_CPPBIN"; then
6324 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6325 else
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 for as_dir in $PATH
6329 IFS=$as_save_IFS
6330 case $as_dir in #(((
6331 '') as_dir=./ ;;
6332 */) ;;
6333 *) as_dir=$as_dir/ ;;
6334 esac
6335 for ac_exec_ext in '' $ac_executable_extensions; do
6336 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6337 ac_cv_prog_ac_ct_CPPBIN="cpp"
6338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6339 break 2
6341 done
6342 done
6343 IFS=$as_save_IFS
6347 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6348 if test -n "$ac_ct_CPPBIN"; then
6349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6350 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6351 else
6352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6353 printf "%s\n" "no" >&6; }
6356 if test "x$ac_ct_CPPBIN" = x; then
6357 CPPBIN="cpp"
6358 else
6359 case $cross_compiling:$ac_tool_warned in
6360 yes:)
6361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6362 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6363 ac_tool_warned=yes ;;
6364 esac
6365 CPPBIN=$ac_ct_CPPBIN
6367 else
6368 CPPBIN="$ac_cv_prog_CPPBIN"
6372 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6374 if test -n "$ac_tool_prefix"; then
6375 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6376 set dummy ${ac_tool_prefix}ld; ac_word=$2
6377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6378 printf %s "checking for $ac_word... " >&6; }
6379 if test ${ac_cv_prog_LD+y}
6380 then :
6381 printf %s "(cached) " >&6
6382 else $as_nop
6383 if test -n "$LD"; then
6384 ac_cv_prog_LD="$LD" # Let the user override the test.
6385 else
6386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6387 for as_dir in $PATH
6389 IFS=$as_save_IFS
6390 case $as_dir in #(((
6391 '') as_dir=./ ;;
6392 */) ;;
6393 *) as_dir=$as_dir/ ;;
6394 esac
6395 for ac_exec_ext in '' $ac_executable_extensions; do
6396 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6397 ac_cv_prog_LD="${ac_tool_prefix}ld"
6398 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6399 break 2
6401 done
6402 done
6403 IFS=$as_save_IFS
6407 LD=$ac_cv_prog_LD
6408 if test -n "$LD"; then
6409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6410 printf "%s\n" "$LD" >&6; }
6411 else
6412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413 printf "%s\n" "no" >&6; }
6418 if test -z "$ac_cv_prog_LD"; then
6419 ac_ct_LD=$LD
6420 # Extract the first word of "ld", so it can be a program name with args.
6421 set dummy ld; ac_word=$2
6422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 printf %s "checking for $ac_word... " >&6; }
6424 if test ${ac_cv_prog_ac_ct_LD+y}
6425 then :
6426 printf %s "(cached) " >&6
6427 else $as_nop
6428 if test -n "$ac_ct_LD"; then
6429 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6430 else
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 for as_dir in $PATH
6434 IFS=$as_save_IFS
6435 case $as_dir in #(((
6436 '') as_dir=./ ;;
6437 */) ;;
6438 *) as_dir=$as_dir/ ;;
6439 esac
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6442 ac_cv_prog_ac_ct_LD="ld"
6443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6444 break 2
6446 done
6447 done
6448 IFS=$as_save_IFS
6452 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6453 if test -n "$ac_ct_LD"; then
6454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6455 printf "%s\n" "$ac_ct_LD" >&6; }
6456 else
6457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 printf "%s\n" "no" >&6; }
6461 if test "x$ac_ct_LD" = x; then
6462 LD=""
6463 else
6464 case $cross_compiling:$ac_tool_warned in
6465 yes:)
6466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6467 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6468 ac_tool_warned=yes ;;
6469 esac
6470 LD=$ac_ct_LD
6472 else
6473 LD="$ac_cv_prog_LD"
6477 case $host in
6478 *-darwin*)
6479 with_fontconfig=${with_fontconfig:-no}
6481 *-mingw32*|*-cygwin*)
6482 enable_win16=${enable_win16:-no}
6483 with_mingw=${with_mingw:-no}
6485 esac
6488 case $host in
6489 x86_64*|amd64*)
6490 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6491 then
6492 CC="$CC -m32"
6493 CXX="$CXX -m32"
6495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6496 printf %s "checking whether $CC works... " >&6; }
6497 if test ${wine_cv_cc_m32+y}
6498 then :
6499 printf %s "(cached) " >&6
6500 else $as_nop
6501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6502 /* end confdefs.h. */
6505 main (void)
6509 return 0;
6511 _ACEOF
6512 if ac_fn_c_try_link "$LINENO"
6513 then :
6514 wine_cv_cc_m32=yes
6515 else $as_nop
6516 wine_cv_cc_m32=no
6518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6519 conftest$ac_exeext conftest.$ac_ext
6521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6522 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6523 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
6524 host_cpu="i386"
6525 notice_platform="32-bit "
6526 TARGETFLAGS="$TARGETFLAGS -m32"
6527 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6528 export PKG_CONFIG_PATH
6529 enable_win16=${enable_win16:-yes}
6530 with_unwind=${with_unwind:-no}
6531 else
6532 if test "x${GCC}" = "xyes"
6533 then
6534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6535 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6536 if test ${wine_cv_builtin_ms_va_list+y}
6537 then :
6538 printf %s "(cached) " >&6
6539 else $as_nop
6540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6541 /* end confdefs.h. */
6542 #include <stdarg.h>
6544 main (void)
6546 void func(__builtin_ms_va_list *args);
6548 return 0;
6550 _ACEOF
6551 if ac_fn_c_try_compile "$LINENO"
6552 then :
6553 wine_cv_builtin_ms_va_list=yes
6554 else $as_nop
6555 wine_cv_builtin_ms_va_list=no
6557 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6560 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6561 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
6563 CC="$CC -m64"
6564 CXX="$CXX -m64"
6565 host_cpu="x86_64"
6566 notice_platform="64-bit "
6567 TARGETFLAGS="$TARGETFLAGS -m64"
6568 enable_wow64=${enable_wow64:-yes}
6569 enable_wow64win=${enable_wow64win:-yes}
6570 enable_wow64cpu=${enable_wow64cpu:-yes}
6573 arm*)
6574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6575 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6576 if test ${wine_cv_thumb2+y}
6577 then :
6578 printf %s "(cached) " >&6
6579 else $as_nop
6580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6581 /* end confdefs.h. */
6584 main (void)
6586 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6588 return 0;
6590 _ACEOF
6591 if ac_fn_c_try_link "$LINENO"
6592 then :
6593 wine_cv_thumb2=yes
6594 else $as_nop
6595 wine_cv_thumb2=no
6597 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6598 conftest$ac_exeext conftest.$ac_ext
6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6601 printf "%s\n" "$wine_cv_thumb2" >&6; }
6602 if test x"$wine_cv_thumb2" = xyes
6603 then
6604 CFLAGS="$CFLAGS -mthumb"
6605 TARGETFLAGS="$TARGETFLAGS -mthumb"
6606 else
6607 CFLAGS="$CFLAGS -marm"
6608 TARGETFLAGS="$TARGETFLAGS -marm"
6610 case $with_float_abi in
6611 soft|softfp|hard)
6612 float_abi=$with_float_abi ;;
6614 case $host_os in
6615 *eabihf)
6616 float_abi=hard ;;
6618 float_abi=softfp
6619 saved_CFLAGS=$CFLAGS
6620 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6622 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6623 if test ${wine_cv_float_abi+y}
6624 then :
6625 printf %s "(cached) " >&6
6626 else $as_nop
6627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6628 /* end confdefs.h. */
6631 main (void)
6633 asm("vmrs r2,fpscr");
6635 return 0;
6637 _ACEOF
6638 if ac_fn_c_try_link "$LINENO"
6639 then :
6640 wine_cv_float_abi=yes
6641 else $as_nop
6642 wine_cv_float_abi=no
6644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6645 conftest$ac_exeext conftest.$ac_ext
6647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6648 printf "%s\n" "$wine_cv_float_abi" >&6; }
6649 if test $wine_cv_float_abi = no
6650 then
6651 float_abi=soft
6652 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6654 CFLAGS=$saved_CFLAGS
6655 esac
6657 esac
6658 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6659 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6661 aarch64*)
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6663 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6664 if test ${wine_cv_builtin_ms_va_list+y}
6665 then :
6666 printf %s "(cached) " >&6
6667 else $as_nop
6668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6669 /* end confdefs.h. */
6670 #include <stdarg.h>
6672 main (void)
6674 void func(__builtin_ms_va_list *args);
6676 return 0;
6678 _ACEOF
6679 if ac_fn_c_try_compile "$LINENO"
6680 then :
6681 wine_cv_builtin_ms_va_list=yes
6682 else $as_nop
6683 wine_cv_builtin_ms_va_list=no
6685 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6688 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6689 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
6690 enable_wow64=${enable_wow64:-yes}
6691 enable_wow64win=${enable_wow64win:-yes}
6693 i[3456789]86*)
6694 enable_win16=${enable_win16:-yes}
6695 with_unwind=${with_unwind:-no}
6697 esac
6699 enable_win16=${enable_win16:-no}
6700 enable_win64=${enable_win64:-no}
6701 enable_wow64=${enable_wow64:-no}
6702 enable_wow64win=${enable_wow64win:-no}
6703 enable_wow64cpu=${enable_wow64cpu:-no}
6705 enable_winetest=${enable_winetest:-$enable_tests}
6707 if test "x$enable_win64" = "xyes"
6708 then
6709 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6710 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6713 case $build_os in
6714 cygwin*|mingw32*) toolsext=".exe"
6716 *) toolsext=""
6718 esac
6720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6721 printf %s "checking for the directory containing the Wine tools... " >&6; }
6722 if test ${wine_cv_toolsdir+y}
6723 then :
6724 printf %s "(cached) " >&6
6725 else $as_nop
6726 wine_cv_toolsdir="$with_wine_tools"
6727 if test -z "$with_wine_tools"; then
6728 if test "$cross_compiling" = "yes"; then
6729 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6730 elif test -n "$with_wine64"; then
6731 wine_cv_toolsdir="$with_wine64"
6735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6736 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6737 if test -z "$wine_cv_toolsdir"; then
6738 wine_makedep=tools/makedep$toolsext
6739 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6740 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6741 enable_tools=${enable_tools:-no}
6742 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6743 else
6744 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6746 toolsdir=$wine_cv_toolsdir
6748 MAKEDEP=$wine_makedep
6750 RUNTESTFLAGS="-q -P wine"
6752 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'"
6754 api_manext=3w
6757 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6758 then
6759 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6762 for ac_prog in flex
6764 # Extract the first word of "$ac_prog", so it can be a program name with args.
6765 set dummy $ac_prog; ac_word=$2
6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6767 printf %s "checking for $ac_word... " >&6; }
6768 if test ${ac_cv_prog_FLEX+y}
6769 then :
6770 printf %s "(cached) " >&6
6771 else $as_nop
6772 if test -n "$FLEX"; then
6773 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6774 else
6775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6776 for as_dir in $PATH
6778 IFS=$as_save_IFS
6779 case $as_dir in #(((
6780 '') as_dir=./ ;;
6781 */) ;;
6782 *) as_dir=$as_dir/ ;;
6783 esac
6784 for ac_exec_ext in '' $ac_executable_extensions; do
6785 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6786 ac_cv_prog_FLEX="$ac_prog"
6787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6788 break 2
6790 done
6791 done
6792 IFS=$as_save_IFS
6796 FLEX=$ac_cv_prog_FLEX
6797 if test -n "$FLEX"; then
6798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6799 printf "%s\n" "$FLEX" >&6; }
6800 else
6801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6802 printf "%s\n" "no" >&6; }
6806 test -n "$FLEX" && break
6807 done
6808 test -n "$FLEX" || FLEX="none"
6810 if test "$FLEX" = "none"
6811 then
6812 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6815 printf %s "checking whether flex is recent enough... " >&6; }
6816 if test ${wine_cv_recent_flex+y}
6817 then :
6818 printf %s "(cached) " >&6
6819 else $as_nop
6820 cat >conftest.l <<EOF
6821 %top{
6822 #include "prediluvian.h"
6826 if $FLEX -t conftest.l >/dev/null 2>&5
6827 then
6828 wine_cv_recent_flex=yes
6829 else
6830 wine_cv_recent_flex=no
6833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6834 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6835 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
6837 for ac_prog in bison
6839 # Extract the first word of "$ac_prog", so it can be a program name with args.
6840 set dummy $ac_prog; ac_word=$2
6841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6842 printf %s "checking for $ac_word... " >&6; }
6843 if test ${ac_cv_prog_BISON+y}
6844 then :
6845 printf %s "(cached) " >&6
6846 else $as_nop
6847 if test -n "$BISON"; then
6848 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6849 else
6850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6851 for as_dir in $PATH
6853 IFS=$as_save_IFS
6854 case $as_dir in #(((
6855 '') as_dir=./ ;;
6856 */) ;;
6857 *) as_dir=$as_dir/ ;;
6858 esac
6859 for ac_exec_ext in '' $ac_executable_extensions; do
6860 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6861 ac_cv_prog_BISON="$ac_prog"
6862 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6863 break 2
6865 done
6866 done
6867 IFS=$as_save_IFS
6871 BISON=$ac_cv_prog_BISON
6872 if test -n "$BISON"; then
6873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6874 printf "%s\n" "$BISON" >&6; }
6875 else
6876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6877 printf "%s\n" "no" >&6; }
6881 test -n "$BISON" && break
6882 done
6883 test -n "$BISON" || BISON="none"
6885 if test "$BISON" = "none"
6886 then
6887 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6890 printf %s "checking whether bison is recent enough... " >&6; }
6891 if test ${wine_cv_recent_bison+y}
6892 then :
6893 printf %s "(cached) " >&6
6894 else $as_nop
6895 cat >conftest.y <<EOF
6896 %define parse.error verbose
6898 empty: ;
6900 if $BISON conftest.y >/dev/null 2>&5
6901 then
6902 wine_cv_recent_bison=yes
6903 else
6904 wine_cv_recent_bison=no
6907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6908 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6909 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
6911 if test -n "$ac_tool_prefix"; then
6912 for ac_prog in ar gar
6914 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6915 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6917 printf %s "checking for $ac_word... " >&6; }
6918 if test ${ac_cv_prog_AR+y}
6919 then :
6920 printf %s "(cached) " >&6
6921 else $as_nop
6922 if test -n "$AR"; then
6923 ac_cv_prog_AR="$AR" # Let the user override the test.
6924 else
6925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6926 for as_dir in $PATH
6928 IFS=$as_save_IFS
6929 case $as_dir in #(((
6930 '') as_dir=./ ;;
6931 */) ;;
6932 *) as_dir=$as_dir/ ;;
6933 esac
6934 for ac_exec_ext in '' $ac_executable_extensions; do
6935 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6936 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6937 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6938 break 2
6940 done
6941 done
6942 IFS=$as_save_IFS
6946 AR=$ac_cv_prog_AR
6947 if test -n "$AR"; then
6948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6949 printf "%s\n" "$AR" >&6; }
6950 else
6951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6952 printf "%s\n" "no" >&6; }
6956 test -n "$AR" && break
6957 done
6959 if test -z "$AR"; then
6960 ac_ct_AR=$AR
6961 for ac_prog in ar gar
6963 # Extract the first word of "$ac_prog", so it can be a program name with args.
6964 set dummy $ac_prog; ac_word=$2
6965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6966 printf %s "checking for $ac_word... " >&6; }
6967 if test ${ac_cv_prog_ac_ct_AR+y}
6968 then :
6969 printf %s "(cached) " >&6
6970 else $as_nop
6971 if test -n "$ac_ct_AR"; then
6972 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6973 else
6974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6975 for as_dir in $PATH
6977 IFS=$as_save_IFS
6978 case $as_dir in #(((
6979 '') as_dir=./ ;;
6980 */) ;;
6981 *) as_dir=$as_dir/ ;;
6982 esac
6983 for ac_exec_ext in '' $ac_executable_extensions; do
6984 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6985 ac_cv_prog_ac_ct_AR="$ac_prog"
6986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6987 break 2
6989 done
6990 done
6991 IFS=$as_save_IFS
6995 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6996 if test -n "$ac_ct_AR"; then
6997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6998 printf "%s\n" "$ac_ct_AR" >&6; }
6999 else
7000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7001 printf "%s\n" "no" >&6; }
7005 test -n "$ac_ct_AR" && break
7006 done
7008 if test "x$ac_ct_AR" = x; then
7009 AR="ar"
7010 else
7011 case $cross_compiling:$ac_tool_warned in
7012 yes:)
7013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7014 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7015 ac_tool_warned=yes ;;
7016 esac
7017 AR=$ac_ct_AR
7021 if test -n "$ac_tool_prefix"; then
7022 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7023 set dummy ${ac_tool_prefix}strip; ac_word=$2
7024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7025 printf %s "checking for $ac_word... " >&6; }
7026 if test ${ac_cv_prog_STRIP+y}
7027 then :
7028 printf %s "(cached) " >&6
7029 else $as_nop
7030 if test -n "$STRIP"; then
7031 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7032 else
7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7034 for as_dir in $PATH
7036 IFS=$as_save_IFS
7037 case $as_dir in #(((
7038 '') as_dir=./ ;;
7039 */) ;;
7040 *) as_dir=$as_dir/ ;;
7041 esac
7042 for ac_exec_ext in '' $ac_executable_extensions; do
7043 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7044 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7046 break 2
7048 done
7049 done
7050 IFS=$as_save_IFS
7054 STRIP=$ac_cv_prog_STRIP
7055 if test -n "$STRIP"; then
7056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7057 printf "%s\n" "$STRIP" >&6; }
7058 else
7059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7060 printf "%s\n" "no" >&6; }
7065 if test -z "$ac_cv_prog_STRIP"; then
7066 ac_ct_STRIP=$STRIP
7067 # Extract the first word of "strip", so it can be a program name with args.
7068 set dummy strip; ac_word=$2
7069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070 printf %s "checking for $ac_word... " >&6; }
7071 if test ${ac_cv_prog_ac_ct_STRIP+y}
7072 then :
7073 printf %s "(cached) " >&6
7074 else $as_nop
7075 if test -n "$ac_ct_STRIP"; then
7076 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7077 else
7078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7079 for as_dir in $PATH
7081 IFS=$as_save_IFS
7082 case $as_dir in #(((
7083 '') as_dir=./ ;;
7084 */) ;;
7085 *) as_dir=$as_dir/ ;;
7086 esac
7087 for ac_exec_ext in '' $ac_executable_extensions; do
7088 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7089 ac_cv_prog_ac_ct_STRIP="strip"
7090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7091 break 2
7093 done
7094 done
7095 IFS=$as_save_IFS
7099 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7100 if test -n "$ac_ct_STRIP"; then
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7102 printf "%s\n" "$ac_ct_STRIP" >&6; }
7103 else
7104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7105 printf "%s\n" "no" >&6; }
7108 if test "x$ac_ct_STRIP" = x; then
7109 STRIP="strip"
7110 else
7111 case $cross_compiling:$ac_tool_warned in
7112 yes:)
7113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7114 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7115 ac_tool_warned=yes ;;
7116 esac
7117 STRIP=$ac_ct_STRIP
7119 else
7120 STRIP="$ac_cv_prog_STRIP"
7123 if test -n "$ac_tool_prefix"; then
7124 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7125 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7127 printf %s "checking for $ac_word... " >&6; }
7128 if test ${ac_cv_prog_RANLIB+y}
7129 then :
7130 printf %s "(cached) " >&6
7131 else $as_nop
7132 if test -n "$RANLIB"; then
7133 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7134 else
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136 for as_dir in $PATH
7138 IFS=$as_save_IFS
7139 case $as_dir in #(((
7140 '') as_dir=./ ;;
7141 */) ;;
7142 *) as_dir=$as_dir/ ;;
7143 esac
7144 for ac_exec_ext in '' $ac_executable_extensions; do
7145 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7146 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7148 break 2
7150 done
7151 done
7152 IFS=$as_save_IFS
7156 RANLIB=$ac_cv_prog_RANLIB
7157 if test -n "$RANLIB"; then
7158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7159 printf "%s\n" "$RANLIB" >&6; }
7160 else
7161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7162 printf "%s\n" "no" >&6; }
7167 if test -z "$ac_cv_prog_RANLIB"; then
7168 ac_ct_RANLIB=$RANLIB
7169 # Extract the first word of "ranlib", so it can be a program name with args.
7170 set dummy ranlib; ac_word=$2
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7172 printf %s "checking for $ac_word... " >&6; }
7173 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7174 then :
7175 printf %s "(cached) " >&6
7176 else $as_nop
7177 if test -n "$ac_ct_RANLIB"; then
7178 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7179 else
7180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7181 for as_dir in $PATH
7183 IFS=$as_save_IFS
7184 case $as_dir in #(((
7185 '') as_dir=./ ;;
7186 */) ;;
7187 *) as_dir=$as_dir/ ;;
7188 esac
7189 for ac_exec_ext in '' $ac_executable_extensions; do
7190 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7191 ac_cv_prog_ac_ct_RANLIB="ranlib"
7192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7193 break 2
7195 done
7196 done
7197 IFS=$as_save_IFS
7201 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7202 if test -n "$ac_ct_RANLIB"; then
7203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7204 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7205 else
7206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7207 printf "%s\n" "no" >&6; }
7210 if test "x$ac_ct_RANLIB" = x; then
7211 RANLIB=":"
7212 else
7213 case $cross_compiling:$ac_tool_warned in
7214 yes:)
7215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7216 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7217 ac_tool_warned=yes ;;
7218 esac
7219 RANLIB=$ac_ct_RANLIB
7221 else
7222 RANLIB="$ac_cv_prog_RANLIB"
7225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7226 printf %s "checking whether ln -s works... " >&6; }
7227 LN_S=$as_ln_s
7228 if test "$LN_S" = "ln -s"; then
7229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7230 printf "%s\n" "yes" >&6; }
7231 else
7232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7233 printf "%s\n" "no, using $LN_S" >&6; }
7236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7237 printf %s "checking for grep that handles long lines and -e... " >&6; }
7238 if test ${ac_cv_path_GREP+y}
7239 then :
7240 printf %s "(cached) " >&6
7241 else $as_nop
7242 if test -z "$GREP"; then
7243 ac_path_GREP_found=false
7244 # Loop through the user's path and test for each of PROGNAME-LIST
7245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7246 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7248 IFS=$as_save_IFS
7249 case $as_dir in #(((
7250 '') as_dir=./ ;;
7251 */) ;;
7252 *) as_dir=$as_dir/ ;;
7253 esac
7254 for ac_prog in grep ggrep
7256 for ac_exec_ext in '' $ac_executable_extensions; do
7257 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
7258 as_fn_executable_p "$ac_path_GREP" || continue
7259 # Check for GNU ac_path_GREP and select it if it is found.
7260 # Check for GNU $ac_path_GREP
7261 case `"$ac_path_GREP" --version 2>&1` in
7262 *GNU*)
7263 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7265 ac_count=0
7266 printf %s 0123456789 >"conftest.in"
7267 while :
7269 cat "conftest.in" "conftest.in" >"conftest.tmp"
7270 mv "conftest.tmp" "conftest.in"
7271 cp "conftest.in" "conftest.nl"
7272 printf "%s\n" 'GREP' >> "conftest.nl"
7273 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7274 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7275 as_fn_arith $ac_count + 1 && ac_count=$as_val
7276 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7277 # Best one so far, save it but keep looking for a better one
7278 ac_cv_path_GREP="$ac_path_GREP"
7279 ac_path_GREP_max=$ac_count
7281 # 10*(2^10) chars as input seems more than enough
7282 test $ac_count -gt 10 && break
7283 done
7284 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7285 esac
7287 $ac_path_GREP_found && break 3
7288 done
7289 done
7290 done
7291 IFS=$as_save_IFS
7292 if test -z "$ac_cv_path_GREP"; then
7293 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7295 else
7296 ac_cv_path_GREP=$GREP
7300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7301 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7302 GREP="$ac_cv_path_GREP"
7305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7306 printf %s "checking for egrep... " >&6; }
7307 if test ${ac_cv_path_EGREP+y}
7308 then :
7309 printf %s "(cached) " >&6
7310 else $as_nop
7311 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7312 then ac_cv_path_EGREP="$GREP -E"
7313 else
7314 if test -z "$EGREP"; then
7315 ac_path_EGREP_found=false
7316 # Loop through the user's path and test for each of PROGNAME-LIST
7317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7318 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7320 IFS=$as_save_IFS
7321 case $as_dir in #(((
7322 '') as_dir=./ ;;
7323 */) ;;
7324 *) as_dir=$as_dir/ ;;
7325 esac
7326 for ac_prog in egrep
7328 for ac_exec_ext in '' $ac_executable_extensions; do
7329 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7330 as_fn_executable_p "$ac_path_EGREP" || continue
7331 # Check for GNU ac_path_EGREP and select it if it is found.
7332 # Check for GNU $ac_path_EGREP
7333 case `"$ac_path_EGREP" --version 2>&1` in
7334 *GNU*)
7335 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7337 ac_count=0
7338 printf %s 0123456789 >"conftest.in"
7339 while :
7341 cat "conftest.in" "conftest.in" >"conftest.tmp"
7342 mv "conftest.tmp" "conftest.in"
7343 cp "conftest.in" "conftest.nl"
7344 printf "%s\n" 'EGREP' >> "conftest.nl"
7345 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7346 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7347 as_fn_arith $ac_count + 1 && ac_count=$as_val
7348 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7349 # Best one so far, save it but keep looking for a better one
7350 ac_cv_path_EGREP="$ac_path_EGREP"
7351 ac_path_EGREP_max=$ac_count
7353 # 10*(2^10) chars as input seems more than enough
7354 test $ac_count -gt 10 && break
7355 done
7356 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7357 esac
7359 $ac_path_EGREP_found && break 3
7360 done
7361 done
7362 done
7363 IFS=$as_save_IFS
7364 if test -z "$ac_cv_path_EGREP"; then
7365 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7367 else
7368 ac_cv_path_EGREP=$EGREP
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7374 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7375 EGREP="$ac_cv_path_EGREP"
7378 # Extract the first word of "ldconfig", so it can be a program name with args.
7379 set dummy ldconfig; ac_word=$2
7380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 printf %s "checking for $ac_word... " >&6; }
7382 if test ${ac_cv_path_LDCONFIG+y}
7383 then :
7384 printf %s "(cached) " >&6
7385 else $as_nop
7386 case $LDCONFIG in
7387 [\\/]* | ?:[\\/]*)
7388 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7392 for as_dir in /sbin /usr/sbin $PATH
7394 IFS=$as_save_IFS
7395 case $as_dir in #(((
7396 '') as_dir=./ ;;
7397 */) ;;
7398 *) as_dir=$as_dir/ ;;
7399 esac
7400 for ac_exec_ext in '' $ac_executable_extensions; do
7401 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7402 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7404 break 2
7406 done
7407 done
7408 IFS=$as_save_IFS
7410 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7412 esac
7414 LDCONFIG=$ac_cv_path_LDCONFIG
7415 if test -n "$LDCONFIG"; then
7416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7417 printf "%s\n" "$LDCONFIG" >&6; }
7418 else
7419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 printf "%s\n" "no" >&6; }
7424 for ac_prog in msgfmt
7426 # Extract the first word of "$ac_prog", so it can be a program name with args.
7427 set dummy $ac_prog; ac_word=$2
7428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7429 printf %s "checking for $ac_word... " >&6; }
7430 if test ${ac_cv_prog_MSGFMT+y}
7431 then :
7432 printf %s "(cached) " >&6
7433 else $as_nop
7434 if test -n "$MSGFMT"; then
7435 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7436 else
7437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 for as_dir in $PATH
7440 IFS=$as_save_IFS
7441 case $as_dir in #(((
7442 '') as_dir=./ ;;
7443 */) ;;
7444 *) as_dir=$as_dir/ ;;
7445 esac
7446 for ac_exec_ext in '' $ac_executable_extensions; do
7447 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7448 ac_cv_prog_MSGFMT="$ac_prog"
7449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7450 break 2
7452 done
7453 done
7454 IFS=$as_save_IFS
7458 MSGFMT=$ac_cv_prog_MSGFMT
7459 if test -n "$MSGFMT"; then
7460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7461 printf "%s\n" "$MSGFMT" >&6; }
7462 else
7463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7464 printf "%s\n" "no" >&6; }
7468 test -n "$MSGFMT" && break
7469 done
7470 test -n "$MSGFMT" || MSGFMT="false"
7472 if test ${ac_tool_prefix+y}
7473 then :
7474 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7475 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7477 printf %s "checking for $ac_word... " >&6; }
7478 if test ${ac_cv_prog_PKG_CONFIG+y}
7479 then :
7480 printf %s "(cached) " >&6
7481 else $as_nop
7482 if test -n "$PKG_CONFIG"; then
7483 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7484 else
7485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7486 for as_dir in $PATH
7488 IFS=$as_save_IFS
7489 case $as_dir in #(((
7490 '') as_dir=./ ;;
7491 */) ;;
7492 *) as_dir=$as_dir/ ;;
7493 esac
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7496 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7498 break 2
7500 done
7501 done
7502 IFS=$as_save_IFS
7506 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7507 if test -n "$PKG_CONFIG"; then
7508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7509 printf "%s\n" "$PKG_CONFIG" >&6; }
7510 else
7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 printf "%s\n" "no" >&6; }
7517 if ${ac_cv_prog_PKG_CONFIG:+false} :
7518 then :
7519 if test "x$cross_compiling" = xyes
7520 then :
7522 else $as_nop
7523 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7524 # Extract the first word of "pkg-config", so it can be a program name with args.
7525 set dummy pkg-config; ac_word=$2
7526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7527 printf %s "checking for $ac_word... " >&6; }
7528 if test ${ac_cv_prog_PKG_CONFIG+y}
7529 then :
7530 printf %s "(cached) " >&6
7531 else $as_nop
7532 if test -n "$PKG_CONFIG"; then
7533 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7534 else
7535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7536 for as_dir in $PATH
7538 IFS=$as_save_IFS
7539 case $as_dir in #(((
7540 '') as_dir=./ ;;
7541 */) ;;
7542 *) as_dir=$as_dir/ ;;
7543 esac
7544 for ac_exec_ext in '' $ac_executable_extensions; do
7545 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7546 ac_cv_prog_PKG_CONFIG="pkg-config"
7547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7548 break 2
7550 done
7551 done
7552 IFS=$as_save_IFS
7556 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7557 if test -n "$PKG_CONFIG"; then
7558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7559 printf "%s\n" "$PKG_CONFIG" >&6; }
7560 else
7561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562 printf "%s\n" "no" >&6; }
7567 else $as_nop
7568 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7571 if test "x$enable_maintainer_mode" != "xyes"
7572 then
7573 FONTFORGE=""
7574 RSVG=""
7575 CONVERT=""
7576 ICOTOOL=""
7577 else
7578 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7579 for ac_prog in fontforge
7581 # Extract the first word of "$ac_prog", so it can be a program name with args.
7582 set dummy $ac_prog; ac_word=$2
7583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7584 printf %s "checking for $ac_word... " >&6; }
7585 if test ${ac_cv_prog_FONTFORGE+y}
7586 then :
7587 printf %s "(cached) " >&6
7588 else $as_nop
7589 if test -n "$FONTFORGE"; then
7590 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7591 else
7592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7593 for as_dir in $PATH
7595 IFS=$as_save_IFS
7596 case $as_dir in #(((
7597 '') as_dir=./ ;;
7598 */) ;;
7599 *) as_dir=$as_dir/ ;;
7600 esac
7601 for ac_exec_ext in '' $ac_executable_extensions; do
7602 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7603 ac_cv_prog_FONTFORGE="$ac_prog"
7604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7605 break 2
7607 done
7608 done
7609 IFS=$as_save_IFS
7613 FONTFORGE=$ac_cv_prog_FONTFORGE
7614 if test -n "$FONTFORGE"; then
7615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7616 printf "%s\n" "$FONTFORGE" >&6; }
7617 else
7618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7619 printf "%s\n" "no" >&6; }
7623 test -n "$FONTFORGE" && break
7624 done
7625 test -n "$FONTFORGE" || FONTFORGE="false"
7627 for ac_prog in rsvg-convert rsvg
7629 # Extract the first word of "$ac_prog", so it can be a program name with args.
7630 set dummy $ac_prog; ac_word=$2
7631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7632 printf %s "checking for $ac_word... " >&6; }
7633 if test ${ac_cv_prog_RSVG+y}
7634 then :
7635 printf %s "(cached) " >&6
7636 else $as_nop
7637 if test -n "$RSVG"; then
7638 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7639 else
7640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7641 for as_dir in $PATH
7643 IFS=$as_save_IFS
7644 case $as_dir in #(((
7645 '') as_dir=./ ;;
7646 */) ;;
7647 *) as_dir=$as_dir/ ;;
7648 esac
7649 for ac_exec_ext in '' $ac_executable_extensions; do
7650 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7651 ac_cv_prog_RSVG="$ac_prog"
7652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7653 break 2
7655 done
7656 done
7657 IFS=$as_save_IFS
7661 RSVG=$ac_cv_prog_RSVG
7662 if test -n "$RSVG"; then
7663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7664 printf "%s\n" "$RSVG" >&6; }
7665 else
7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7667 printf "%s\n" "no" >&6; }
7671 test -n "$RSVG" && break
7672 done
7673 test -n "$RSVG" || RSVG="false"
7675 for ac_prog in convert
7677 # Extract the first word of "$ac_prog", so it can be a program name with args.
7678 set dummy $ac_prog; ac_word=$2
7679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7680 printf %s "checking for $ac_word... " >&6; }
7681 if test ${ac_cv_prog_CONVERT+y}
7682 then :
7683 printf %s "(cached) " >&6
7684 else $as_nop
7685 if test -n "$CONVERT"; then
7686 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7687 else
7688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7689 for as_dir in $PATH
7691 IFS=$as_save_IFS
7692 case $as_dir in #(((
7693 '') as_dir=./ ;;
7694 */) ;;
7695 *) as_dir=$as_dir/ ;;
7696 esac
7697 for ac_exec_ext in '' $ac_executable_extensions; do
7698 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7699 ac_cv_prog_CONVERT="$ac_prog"
7700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7701 break 2
7703 done
7704 done
7705 IFS=$as_save_IFS
7709 CONVERT=$ac_cv_prog_CONVERT
7710 if test -n "$CONVERT"; then
7711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7712 printf "%s\n" "$CONVERT" >&6; }
7713 else
7714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7715 printf "%s\n" "no" >&6; }
7719 test -n "$CONVERT" && break
7720 done
7721 test -n "$CONVERT" || CONVERT="false"
7723 for ac_prog in icotool
7725 # Extract the first word of "$ac_prog", so it can be a program name with args.
7726 set dummy $ac_prog; ac_word=$2
7727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7728 printf %s "checking for $ac_word... " >&6; }
7729 if test ${ac_cv_prog_ICOTOOL+y}
7730 then :
7731 printf %s "(cached) " >&6
7732 else $as_nop
7733 if test -n "$ICOTOOL"; then
7734 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7735 else
7736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7737 for as_dir in $PATH
7739 IFS=$as_save_IFS
7740 case $as_dir in #(((
7741 '') as_dir=./ ;;
7742 */) ;;
7743 *) as_dir=$as_dir/ ;;
7744 esac
7745 for ac_exec_ext in '' $ac_executable_extensions; do
7746 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7747 ac_cv_prog_ICOTOOL="$ac_prog"
7748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7749 break 2
7751 done
7752 done
7753 IFS=$as_save_IFS
7757 ICOTOOL=$ac_cv_prog_ICOTOOL
7758 if test -n "$ICOTOOL"; then
7759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7760 printf "%s\n" "$ICOTOOL" >&6; }
7761 else
7762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7763 printf "%s\n" "no" >&6; }
7767 test -n "$ICOTOOL" && break
7768 done
7769 test -n "$ICOTOOL" || ICOTOOL="false"
7771 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7772 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7774 if test "$CONVERT" = false
7775 then
7776 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7777 else
7778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7779 printf %s "checking for recent enough imagemagick... " >&6; }
7780 convert_version=`convert --version | head -n1`
7781 if test "x$convert_version" != "x"
7782 then
7783 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7784 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7785 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7786 then
7787 CONVERT=false
7790 if test "$CONVERT" = false
7791 then
7792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7793 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7794 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7795 else
7796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7797 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7801 if test "$ICOTOOL" = false
7802 then
7803 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7804 else
7805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7806 printf %s "checking for recent enough icotool... " >&6; }
7807 icotool_version=`icotool --version | head -n1`
7808 if test "x$icotool_version" != "x"
7809 then
7810 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7811 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7812 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7813 then
7814 ICOTOOL=false
7815 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7818 if test "$ICOTOOL" = false
7819 then
7820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7821 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7822 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7823 else
7824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7825 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7829 with_gettext=yes
7830 with_gettextpo=yes
7832 enable_werror=yes
7835 test "x$with_gettext" != xno || MSGFMT=false
7836 if test "$MSGFMT" != "false"
7837 then
7838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7839 printf %s "checking whether msgfmt supports contexts... " >&6; }
7840 if test ${wine_cv_msgfmt_contexts+y}
7841 then :
7842 printf %s "(cached) " >&6
7843 else $as_nop
7844 cat >conftest.po <<EOF
7845 # comment
7846 msgctxt "ctxt"
7847 msgid "id"
7848 msgstr "str"
7850 if $MSGFMT -o /dev/null conftest.po 2>&5
7851 then
7852 wine_cv_msgfmt_contexts=yes
7853 else
7854 wine_cv_msgfmt_contexts=no
7857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7858 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7859 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7861 if test "$MSGFMT" = false
7862 then :
7863 case "x$with_gettext" in
7864 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7865 xno) ;;
7866 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7867 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7868 esac
7869 enable_po=${enable_po:-no}
7873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7874 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7875 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7876 then :
7877 printf %s "(cached) " >&6
7878 else $as_nop
7879 ac_check_lib_save_LIBS=$LIBS
7880 LIBS="-li386 $LIBS"
7881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7882 /* end confdefs.h. */
7884 /* Override any GCC internal prototype to avoid an error.
7885 Use char because int might match the return type of a GCC
7886 builtin and then its argument prototype would still apply. */
7887 char i386_set_ldt ();
7889 main (void)
7891 return i386_set_ldt ();
7893 return 0;
7895 _ACEOF
7896 if ac_fn_c_try_link "$LINENO"
7897 then :
7898 ac_cv_lib_i386_i386_set_ldt=yes
7899 else $as_nop
7900 ac_cv_lib_i386_i386_set_ldt=no
7902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7903 conftest$ac_exeext conftest.$ac_ext
7904 LIBS=$ac_check_lib_save_LIBS
7906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7907 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7908 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7909 then :
7910 I386_LIBS="-li386"
7915 OPENGL_LIBS=""
7919 # Check whether --enable-largefile was given.
7920 if test ${enable_largefile+y}
7921 then :
7922 enableval=$enable_largefile;
7925 if test "$enable_largefile" != no; then
7927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7928 printf %s "checking for special C compiler options needed for large files... " >&6; }
7929 if test ${ac_cv_sys_largefile_CC+y}
7930 then :
7931 printf %s "(cached) " >&6
7932 else $as_nop
7933 ac_cv_sys_largefile_CC=no
7934 if test "$GCC" != yes; then
7935 ac_save_CC=$CC
7936 while :; do
7937 # IRIX 6.2 and later do not support large files by default,
7938 # so use the C compiler's -n32 option if that helps.
7939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7940 /* end confdefs.h. */
7941 #include <sys/types.h>
7942 /* Check that off_t can represent 2**63 - 1 correctly.
7943 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7944 since some C++ compilers masquerading as C compilers
7945 incorrectly reject 9223372036854775807. */
7946 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7947 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7948 && LARGE_OFF_T % 2147483647 == 1)
7949 ? 1 : -1];
7951 main (void)
7955 return 0;
7957 _ACEOF
7958 if ac_fn_c_try_compile "$LINENO"
7959 then :
7960 break
7962 rm -f core conftest.err conftest.$ac_objext conftest.beam
7963 CC="$CC -n32"
7964 if ac_fn_c_try_compile "$LINENO"
7965 then :
7966 ac_cv_sys_largefile_CC=' -n32'; break
7968 rm -f core conftest.err conftest.$ac_objext conftest.beam
7969 break
7970 done
7971 CC=$ac_save_CC
7972 rm -f conftest.$ac_ext
7975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7976 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7977 if test "$ac_cv_sys_largefile_CC" != no; then
7978 CC=$CC$ac_cv_sys_largefile_CC
7981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7982 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7983 if test ${ac_cv_sys_file_offset_bits+y}
7984 then :
7985 printf %s "(cached) " >&6
7986 else $as_nop
7987 while :; do
7988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7989 /* end confdefs.h. */
7990 #include <sys/types.h>
7991 /* Check that off_t can represent 2**63 - 1 correctly.
7992 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7993 since some C++ compilers masquerading as C compilers
7994 incorrectly reject 9223372036854775807. */
7995 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7996 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7997 && LARGE_OFF_T % 2147483647 == 1)
7998 ? 1 : -1];
8000 main (void)
8004 return 0;
8006 _ACEOF
8007 if ac_fn_c_try_compile "$LINENO"
8008 then :
8009 ac_cv_sys_file_offset_bits=no; break
8011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8013 /* end confdefs.h. */
8014 #define _FILE_OFFSET_BITS 64
8015 #include <sys/types.h>
8016 /* Check that off_t can represent 2**63 - 1 correctly.
8017 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8018 since some C++ compilers masquerading as C compilers
8019 incorrectly reject 9223372036854775807. */
8020 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8021 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8022 && LARGE_OFF_T % 2147483647 == 1)
8023 ? 1 : -1];
8025 main (void)
8029 return 0;
8031 _ACEOF
8032 if ac_fn_c_try_compile "$LINENO"
8033 then :
8034 ac_cv_sys_file_offset_bits=64; break
8036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8037 ac_cv_sys_file_offset_bits=unknown
8038 break
8039 done
8041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8042 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
8043 case $ac_cv_sys_file_offset_bits in #(
8044 no | unknown) ;;
8046 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
8048 esac
8049 rm -rf conftest*
8050 if test $ac_cv_sys_file_offset_bits = unknown; then
8051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8052 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
8053 if test ${ac_cv_sys_large_files+y}
8054 then :
8055 printf %s "(cached) " >&6
8056 else $as_nop
8057 while :; do
8058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8059 /* end confdefs.h. */
8060 #include <sys/types.h>
8061 /* Check that off_t can represent 2**63 - 1 correctly.
8062 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8063 since some C++ compilers masquerading as C compilers
8064 incorrectly reject 9223372036854775807. */
8065 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8066 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8067 && LARGE_OFF_T % 2147483647 == 1)
8068 ? 1 : -1];
8070 main (void)
8074 return 0;
8076 _ACEOF
8077 if ac_fn_c_try_compile "$LINENO"
8078 then :
8079 ac_cv_sys_large_files=no; break
8081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8083 /* end confdefs.h. */
8084 #define _LARGE_FILES 1
8085 #include <sys/types.h>
8086 /* Check that off_t can represent 2**63 - 1 correctly.
8087 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8088 since some C++ compilers masquerading as C compilers
8089 incorrectly reject 9223372036854775807. */
8090 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8091 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8092 && LARGE_OFF_T % 2147483647 == 1)
8093 ? 1 : -1];
8095 main (void)
8099 return 0;
8101 _ACEOF
8102 if ac_fn_c_try_compile "$LINENO"
8103 then :
8104 ac_cv_sys_large_files=1; break
8106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8107 ac_cv_sys_large_files=unknown
8108 break
8109 done
8111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8112 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
8113 case $ac_cv_sys_large_files in #(
8114 no | unknown) ;;
8116 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
8118 esac
8119 rm -rf conftest*
8124 ac_header= ac_cache=
8125 for ac_item in $ac_header_c_list
8127 if test $ac_cache; then
8128 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8129 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8130 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8132 ac_header= ac_cache=
8133 elif test $ac_header; then
8134 ac_cache=$ac_item
8135 else
8136 ac_header=$ac_item
8138 done
8147 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8148 then :
8150 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8153 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_AL_al_h" = xyes
8155 then :
8156 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
8161 then :
8162 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_CL_cl_h" = xyes
8167 then :
8168 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
8173 then :
8174 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
8179 then :
8180 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
8185 then :
8186 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_EGL_egl_h" = xyes
8191 then :
8192 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
8197 then :
8198 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
8203 then :
8204 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_OpenAL_al_h" = xyes
8209 then :
8210 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
8215 then :
8216 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile "$LINENO" "QuickTime/ImageCompression.h" "ac_cv_header_QuickTime_ImageCompression_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_QuickTime_ImageCompression_h" = xyes
8221 then :
8222 printf "%s\n" "#define HAVE_QUICKTIME_IMAGECOMPRESSION_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_Security_Security_h" = xyes
8227 then :
8228 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
8233 then :
8234 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
8239 then :
8240 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile "$LINENO" "alias.h" "ac_cv_header_alias_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_alias_h" = xyes
8245 then :
8246 printf "%s\n" "#define HAVE_ALIAS_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_arpa_inet_h" = xyes
8251 then :
8252 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_arpa_nameser_h" = xyes
8257 then :
8258 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_asm_types_h" = xyes
8263 then :
8264 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_asm_user_h" = xyes
8269 then :
8270 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_dirent_h" = xyes
8275 then :
8276 printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_elf_h" = xyes
8281 then :
8282 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_float_h" = xyes
8287 then :
8288 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_gettext_po_h" = xyes
8293 then :
8294 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_ieeefp_h" = xyes
8299 then :
8300 printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_libproc_h" = xyes
8305 then :
8306 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
8309 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
8310 if test "x$ac_cv_header_link_h" = xyes
8311 then :
8312 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
8315 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_linux_cdrom_h" = xyes
8317 then :
8318 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_linux_filter_h" = xyes
8323 then :
8324 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8329 then :
8330 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8333 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8334 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8335 then :
8336 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8339 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_linux_input_h" = xyes
8341 then :
8342 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8345 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8346 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8347 then :
8348 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8351 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default"
8352 if test "x$ac_cv_header_linux_joystick_h" = xyes
8353 then :
8354 printf "%s\n" "#define HAVE_LINUX_JOYSTICK_H 1" >>confdefs.h
8357 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8358 if test "x$ac_cv_header_linux_major_h" = xyes
8359 then :
8360 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8363 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8364 if test "x$ac_cv_header_linux_param_h" = xyes
8365 then :
8366 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8369 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8370 if test "x$ac_cv_header_linux_serial_h" = xyes
8371 then :
8372 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8375 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8376 if test "x$ac_cv_header_linux_types_h" = xyes
8377 then :
8378 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8381 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8382 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8383 then :
8384 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8387 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8388 if test "x$ac_cv_header_lwp_h" = xyes
8389 then :
8390 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8393 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8394 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8395 then :
8396 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8399 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8400 if test "x$ac_cv_header_mach_mach_h" = xyes
8401 then :
8402 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8405 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8406 if test "x$ac_cv_header_machine_cpu_h" = xyes
8407 then :
8408 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8411 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8412 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8413 then :
8414 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8417 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8418 if test "x$ac_cv_header_mntent_h" = xyes
8419 then :
8420 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8423 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8424 if test "x$ac_cv_header_netdb_h" = xyes
8425 then :
8426 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8429 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8430 if test "x$ac_cv_header_netinet_in_h" = xyes
8431 then :
8432 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8435 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8436 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8437 then :
8438 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8441 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8442 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8443 then :
8444 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8447 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8448 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8449 then :
8450 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8453 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8454 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8455 then :
8456 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8459 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8460 if test "x$ac_cv_header_port_h" = xyes
8461 then :
8462 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8465 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8466 if test "x$ac_cv_header_pthread_h" = xyes
8467 then :
8468 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8471 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8472 if test "x$ac_cv_header_pwd_h" = xyes
8473 then :
8474 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8477 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8478 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8479 then :
8480 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8483 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8484 if test "x$ac_cv_header_sched_h" = xyes
8485 then :
8486 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8489 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8490 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8491 then :
8492 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8495 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8496 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8497 then :
8498 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8501 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8502 if test "x$ac_cv_header_scsi_sg_h" = xyes
8503 then :
8504 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8507 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8508 if test "x$ac_cv_header_stdint_h" = xyes
8509 then :
8510 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8513 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8514 if test "x$ac_cv_header_sys_attr_h" = xyes
8515 then :
8516 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8519 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8520 if test "x$ac_cv_header_sys_auxv_h" = xyes
8521 then :
8522 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8525 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8526 if test "x$ac_cv_header_sys_cdio_h" = xyes
8527 then :
8528 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8531 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8532 if test "x$ac_cv_header_sys_epoll_h" = xyes
8533 then :
8534 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8537 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8538 if test "x$ac_cv_header_sys_event_h" = xyes
8539 then :
8540 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8543 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8544 if test "x$ac_cv_header_sys_filio_h" = xyes
8545 then :
8546 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8549 ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
8550 if test "x$ac_cv_header_sys_ioctl_h" = xyes
8551 then :
8552 printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
8555 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8556 if test "x$ac_cv_header_sys_ipc_h" = xyes
8557 then :
8558 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8561 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8562 if test "x$ac_cv_header_sys_link_h" = xyes
8563 then :
8564 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8567 ac_fn_c_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
8568 if test "x$ac_cv_header_sys_mman_h" = xyes
8569 then :
8570 printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
8573 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8574 if test "x$ac_cv_header_sys_modem_h" = xyes
8575 then :
8576 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8579 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8580 if test "x$ac_cv_header_sys_mtio_h" = xyes
8581 then :
8582 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8585 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8586 if test "x$ac_cv_header_sys_param_h" = xyes
8587 then :
8588 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8591 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8592 if test "x$ac_cv_header_sys_prctl_h" = xyes
8593 then :
8594 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8597 ac_fn_c_check_header_compile "$LINENO" "sys/protosw.h" "ac_cv_header_sys_protosw_h" "$ac_includes_default"
8598 if test "x$ac_cv_header_sys_protosw_h" = xyes
8599 then :
8600 printf "%s\n" "#define HAVE_SYS_PROTOSW_H 1" >>confdefs.h
8603 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8604 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8605 then :
8606 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8609 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8610 if test "x$ac_cv_header_sys_queue_h" = xyes
8611 then :
8612 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8615 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8616 if test "x$ac_cv_header_sys_random_h" = xyes
8617 then :
8618 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8621 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8622 if test "x$ac_cv_header_sys_resource_h" = xyes
8623 then :
8624 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8627 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8628 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8629 then :
8630 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8633 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8634 if test "x$ac_cv_header_sys_shm_h" = xyes
8635 then :
8636 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8639 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8640 if test "x$ac_cv_header_sys_signal_h" = xyes
8641 then :
8642 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8645 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
8646 if test "x$ac_cv_header_sys_socket_h" = xyes
8647 then :
8648 printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
8651 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8652 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8653 then :
8654 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8657 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8658 if test "x$ac_cv_header_sys_sockio_h" = xyes
8659 then :
8660 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8663 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8664 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8665 then :
8666 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8669 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8670 if test "x$ac_cv_header_sys_strtio_h" = xyes
8671 then :
8672 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8675 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8676 if test "x$ac_cv_header_sys_syscall_h" = xyes
8677 then :
8678 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8681 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8682 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8683 then :
8684 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8687 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
8688 if test "x$ac_cv_header_sys_time_h" = xyes
8689 then :
8690 printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
8693 ac_fn_c_check_header_compile "$LINENO" "sys/timeout.h" "ac_cv_header_sys_timeout_h" "$ac_includes_default"
8694 if test "x$ac_cv_header_sys_timeout_h" = xyes
8695 then :
8696 printf "%s\n" "#define HAVE_SYS_TIMEOUT_H 1" >>confdefs.h
8699 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8700 if test "x$ac_cv_header_sys_times_h" = xyes
8701 then :
8702 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8705 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8706 if test "x$ac_cv_header_sys_uio_h" = xyes
8707 then :
8708 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8711 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8712 if test "x$ac_cv_header_sys_user_h" = xyes
8713 then :
8714 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8717 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8718 if test "x$ac_cv_header_sys_utsname_h" = xyes
8719 then :
8720 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8723 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8724 if test "x$ac_cv_header_sys_vnode_h" = xyes
8725 then :
8726 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8729 ac_fn_c_check_header_compile "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default"
8730 if test "x$ac_cv_header_sys_wait_h" = xyes
8731 then :
8732 printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
8735 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8736 if test "x$ac_cv_header_syscall_h" = xyes
8737 then :
8738 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8741 ac_fn_c_check_header_compile "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
8742 if test "x$ac_cv_header_termios_h" = xyes
8743 then :
8744 printf "%s\n" "#define HAVE_TERMIOS_H 1" >>confdefs.h
8747 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
8748 if test "x$ac_cv_header_unistd_h" = xyes
8749 then :
8750 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
8753 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8754 if test "x$ac_cv_header_utime_h" = xyes
8755 then :
8756 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8759 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8760 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8761 then :
8762 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8765 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8766 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8767 then :
8768 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8772 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8773 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8774 then :
8776 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8780 if test $ac_cv_header_sys_mkdev_h = no; then
8781 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8782 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8783 then :
8785 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8791 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8792 if test ${ac_cv_header_stat_broken+y}
8793 then :
8794 printf %s "(cached) " >&6
8795 else $as_nop
8796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h. */
8798 #include <sys/types.h>
8799 #include <sys/stat.h>
8801 #if defined S_ISBLK && defined S_IFDIR
8802 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8803 #endif
8805 #if defined S_ISBLK && defined S_IFCHR
8806 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8807 #endif
8809 #if defined S_ISLNK && defined S_IFREG
8810 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8811 #endif
8813 #if defined S_ISSOCK && defined S_IFREG
8814 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8815 #endif
8817 _ACEOF
8818 if ac_fn_c_try_compile "$LINENO"
8819 then :
8820 ac_cv_header_stat_broken=no
8821 else $as_nop
8822 ac_cv_header_stat_broken=yes
8824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8827 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8828 if test $ac_cv_header_stat_broken = yes; then
8830 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8836 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8837 #ifdef HAVE_SYS_PARAM_H
8838 # include <sys/param.h>
8839 #endif
8841 if test "x$ac_cv_header_sys_conf_h" = xyes
8842 then :
8843 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8846 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8847 #ifdef HAVE_SYS_PARAM_H
8848 # include <sys/param.h>
8849 #endif
8851 if test "x$ac_cv_header_sys_mount_h" = xyes
8852 then :
8853 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8856 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8857 #ifdef HAVE_SYS_PARAM_H
8858 # include <sys/param.h>
8859 #endif
8861 if test "x$ac_cv_header_sys_statfs_h" = xyes
8862 then :
8863 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8866 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8867 #ifdef HAVE_SYS_PARAM_H
8868 # include <sys/param.h>
8869 #endif
8871 if test "x$ac_cv_header_sys_user_h" = xyes
8872 then :
8873 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8876 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8877 #ifdef HAVE_SYS_PARAM_H
8878 # include <sys/param.h>
8879 #endif
8881 if test "x$ac_cv_header_sys_vfs_h" = xyes
8882 then :
8883 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8888 saved_sysctl_h_CFLAGS=$CFLAGS
8889 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8890 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8891 #ifdef HAVE_SYS_PARAM_H
8892 # include <sys/param.h>
8893 #endif
8895 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8896 then :
8897 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8901 CFLAGS=$saved_sysctl_h_CFLAGS
8903 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8904 #ifdef HAVE_SYS_SOCKET_H
8905 # include <sys/socket.h>
8906 #endif
8907 #ifdef HAVE_SYS_SOCKETVAR_H
8908 # include <sys/socketvar.h>
8909 #endif
8910 #ifdef HAVE_NET_ROUTE_H
8911 # include <net/route.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IN_H
8914 # include <netinet/in.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IN_SYSTM_H
8917 # include <netinet/in_systm.h>
8918 #endif
8919 #ifdef HAVE_NET_IF_H
8920 # include <net/if.h>
8921 #endif
8922 #ifdef HAVE_NETINET_IP_H
8923 # include <netinet/ip.h>
8924 #endif
8926 if test "x$ac_cv_header_netinet_ip_h" = xyes
8927 then :
8928 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8931 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8932 #ifdef HAVE_SYS_SOCKET_H
8933 # include <sys/socket.h>
8934 #endif
8935 #ifdef HAVE_SYS_SOCKETVAR_H
8936 # include <sys/socketvar.h>
8937 #endif
8938 #ifdef HAVE_NET_ROUTE_H
8939 # include <net/route.h>
8940 #endif
8941 #ifdef HAVE_NETINET_IN_H
8942 # include <netinet/in.h>
8943 #endif
8944 #ifdef HAVE_NETINET_IN_SYSTM_H
8945 # include <netinet/in_systm.h>
8946 #endif
8947 #ifdef HAVE_NET_IF_H
8948 # include <net/if.h>
8949 #endif
8950 #ifdef HAVE_NETINET_IP_H
8951 # include <netinet/ip.h>
8952 #endif
8954 if test "x$ac_cv_header_net_if_h" = xyes
8955 then :
8956 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8959 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8960 #ifdef HAVE_SYS_SOCKET_H
8961 # include <sys/socket.h>
8962 #endif
8963 #ifdef HAVE_SYS_SOCKETVAR_H
8964 # include <sys/socketvar.h>
8965 #endif
8966 #ifdef HAVE_NET_ROUTE_H
8967 # include <net/route.h>
8968 #endif
8969 #ifdef HAVE_NETINET_IN_H
8970 # include <netinet/in.h>
8971 #endif
8972 #ifdef HAVE_NETINET_IN_SYSTM_H
8973 # include <netinet/in_systm.h>
8974 #endif
8975 #ifdef HAVE_NET_IF_H
8976 # include <net/if.h>
8977 #endif
8978 #ifdef HAVE_NETINET_IP_H
8979 # include <netinet/ip.h>
8980 #endif
8982 if test "x$ac_cv_header_net_if_arp_h" = xyes
8983 then :
8984 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8987 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8988 #ifdef HAVE_SYS_SOCKET_H
8989 # include <sys/socket.h>
8990 #endif
8991 #ifdef HAVE_SYS_SOCKETVAR_H
8992 # include <sys/socketvar.h>
8993 #endif
8994 #ifdef HAVE_NET_ROUTE_H
8995 # include <net/route.h>
8996 #endif
8997 #ifdef HAVE_NETINET_IN_H
8998 # include <netinet/in.h>
8999 #endif
9000 #ifdef HAVE_NETINET_IN_SYSTM_H
9001 # include <netinet/in_systm.h>
9002 #endif
9003 #ifdef HAVE_NET_IF_H
9004 # include <net/if.h>
9005 #endif
9006 #ifdef HAVE_NETINET_IP_H
9007 # include <netinet/ip.h>
9008 #endif
9010 if test "x$ac_cv_header_net_if_dl_h" = xyes
9011 then :
9012 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
9015 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
9016 #ifdef HAVE_SYS_SOCKET_H
9017 # include <sys/socket.h>
9018 #endif
9019 #ifdef HAVE_SYS_SOCKETVAR_H
9020 # include <sys/socketvar.h>
9021 #endif
9022 #ifdef HAVE_NET_ROUTE_H
9023 # include <net/route.h>
9024 #endif
9025 #ifdef HAVE_NETINET_IN_H
9026 # include <netinet/in.h>
9027 #endif
9028 #ifdef HAVE_NETINET_IN_SYSTM_H
9029 # include <netinet/in_systm.h>
9030 #endif
9031 #ifdef HAVE_NET_IF_H
9032 # include <net/if.h>
9033 #endif
9034 #ifdef HAVE_NETINET_IP_H
9035 # include <netinet/ip.h>
9036 #endif
9038 if test "x$ac_cv_header_net_if_types_h" = xyes
9039 then :
9040 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
9043 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
9044 #ifdef HAVE_SYS_SOCKET_H
9045 # include <sys/socket.h>
9046 #endif
9047 #ifdef HAVE_SYS_SOCKETVAR_H
9048 # include <sys/socketvar.h>
9049 #endif
9050 #ifdef HAVE_NET_ROUTE_H
9051 # include <net/route.h>
9052 #endif
9053 #ifdef HAVE_NETINET_IN_H
9054 # include <netinet/in.h>
9055 #endif
9056 #ifdef HAVE_NETINET_IN_SYSTM_H
9057 # include <netinet/in_systm.h>
9058 #endif
9059 #ifdef HAVE_NET_IF_H
9060 # include <net/if.h>
9061 #endif
9062 #ifdef HAVE_NETINET_IP_H
9063 # include <netinet/ip.h>
9064 #endif
9066 if test "x$ac_cv_header_net_route_h" = xyes
9067 then :
9068 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
9071 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
9072 #ifdef HAVE_SYS_SOCKET_H
9073 # include <sys/socket.h>
9074 #endif
9075 #ifdef HAVE_SYS_SOCKETVAR_H
9076 # include <sys/socketvar.h>
9077 #endif
9078 #ifdef HAVE_NET_ROUTE_H
9079 # include <net/route.h>
9080 #endif
9081 #ifdef HAVE_NETINET_IN_H
9082 # include <netinet/in.h>
9083 #endif
9084 #ifdef HAVE_NETINET_IN_SYSTM_H
9085 # include <netinet/in_systm.h>
9086 #endif
9087 #ifdef HAVE_NET_IF_H
9088 # include <net/if.h>
9089 #endif
9090 #ifdef HAVE_NETINET_IP_H
9091 # include <netinet/ip.h>
9092 #endif
9094 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
9095 then :
9096 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
9099 ac_fn_c_check_header_compile "$LINENO" "netinet/if_inarp.h" "ac_cv_header_netinet_if_inarp_h" "#include <sys/types.h>
9100 #ifdef HAVE_SYS_SOCKET_H
9101 # include <sys/socket.h>
9102 #endif
9103 #ifdef HAVE_SYS_SOCKETVAR_H
9104 # include <sys/socketvar.h>
9105 #endif
9106 #ifdef HAVE_NET_ROUTE_H
9107 # include <net/route.h>
9108 #endif
9109 #ifdef HAVE_NETINET_IN_H
9110 # include <netinet/in.h>
9111 #endif
9112 #ifdef HAVE_NETINET_IN_SYSTM_H
9113 # include <netinet/in_systm.h>
9114 #endif
9115 #ifdef HAVE_NET_IF_H
9116 # include <net/if.h>
9117 #endif
9118 #ifdef HAVE_NETINET_IP_H
9119 # include <netinet/ip.h>
9120 #endif
9122 if test "x$ac_cv_header_netinet_if_inarp_h" = xyes
9123 then :
9124 printf "%s\n" "#define HAVE_NETINET_IF_INARP_H 1" >>confdefs.h
9127 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
9128 #ifdef HAVE_SYS_SOCKET_H
9129 # include <sys/socket.h>
9130 #endif
9131 #ifdef HAVE_SYS_SOCKETVAR_H
9132 # include <sys/socketvar.h>
9133 #endif
9134 #ifdef HAVE_NET_ROUTE_H
9135 # include <net/route.h>
9136 #endif
9137 #ifdef HAVE_NETINET_IN_H
9138 # include <netinet/in.h>
9139 #endif
9140 #ifdef HAVE_NETINET_IN_SYSTM_H
9141 # include <netinet/in_systm.h>
9142 #endif
9143 #ifdef HAVE_NET_IF_H
9144 # include <net/if.h>
9145 #endif
9146 #ifdef HAVE_NETINET_IP_H
9147 # include <netinet/ip.h>
9148 #endif
9150 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
9151 then :
9152 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
9155 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
9156 #ifdef HAVE_SYS_SOCKET_H
9157 # include <sys/socket.h>
9158 #endif
9159 #ifdef HAVE_SYS_SOCKETVAR_H
9160 # include <sys/socketvar.h>
9161 #endif
9162 #ifdef HAVE_NET_ROUTE_H
9163 # include <net/route.h>
9164 #endif
9165 #ifdef HAVE_NETINET_IN_H
9166 # include <netinet/in.h>
9167 #endif
9168 #ifdef HAVE_NETINET_IN_SYSTM_H
9169 # include <netinet/in_systm.h>
9170 #endif
9171 #ifdef HAVE_NET_IF_H
9172 # include <net/if.h>
9173 #endif
9174 #ifdef HAVE_NETINET_IP_H
9175 # include <netinet/ip.h>
9176 #endif
9178 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
9179 then :
9180 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
9183 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
9184 #ifdef HAVE_SYS_SOCKET_H
9185 # include <sys/socket.h>
9186 #endif
9187 #ifdef HAVE_SYS_SOCKETVAR_H
9188 # include <sys/socketvar.h>
9189 #endif
9190 #ifdef HAVE_NET_ROUTE_H
9191 # include <net/route.h>
9192 #endif
9193 #ifdef HAVE_NETINET_IN_H
9194 # include <netinet/in.h>
9195 #endif
9196 #ifdef HAVE_NETINET_IN_SYSTM_H
9197 # include <netinet/in_systm.h>
9198 #endif
9199 #ifdef HAVE_NET_IF_H
9200 # include <net/if.h>
9201 #endif
9202 #ifdef HAVE_NETINET_IP_H
9203 # include <netinet/ip.h>
9204 #endif
9206 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
9207 then :
9208 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
9211 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
9212 #ifdef HAVE_SYS_SOCKET_H
9213 # include <sys/socket.h>
9214 #endif
9215 #ifdef HAVE_SYS_SOCKETVAR_H
9216 # include <sys/socketvar.h>
9217 #endif
9218 #ifdef HAVE_NET_ROUTE_H
9219 # include <net/route.h>
9220 #endif
9221 #ifdef HAVE_NETINET_IN_H
9222 # include <netinet/in.h>
9223 #endif
9224 #ifdef HAVE_NETINET_IN_SYSTM_H
9225 # include <netinet/in_systm.h>
9226 #endif
9227 #ifdef HAVE_NET_IF_H
9228 # include <net/if.h>
9229 #endif
9230 #ifdef HAVE_NETINET_IP_H
9231 # include <netinet/ip.h>
9232 #endif
9234 if test "x$ac_cv_header_netinet_udp_h" = xyes
9235 then :
9236 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
9239 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
9240 #ifdef HAVE_SYS_SOCKET_H
9241 # include <sys/socket.h>
9242 #endif
9243 #ifdef HAVE_SYS_SOCKETVAR_H
9244 # include <sys/socketvar.h>
9245 #endif
9246 #ifdef HAVE_NET_ROUTE_H
9247 # include <net/route.h>
9248 #endif
9249 #ifdef HAVE_NETINET_IN_H
9250 # include <netinet/in.h>
9251 #endif
9252 #ifdef HAVE_NETINET_IN_SYSTM_H
9253 # include <netinet/in_systm.h>
9254 #endif
9255 #ifdef HAVE_NET_IF_H
9256 # include <net/if.h>
9257 #endif
9258 #ifdef HAVE_NETINET_IP_H
9259 # include <netinet/ip.h>
9260 #endif
9262 if test "x$ac_cv_header_netipx_ipx_h" = xyes
9263 then :
9264 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
9267 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
9268 #ifdef HAVE_SYS_SOCKET_H
9269 # include <sys/socket.h>
9270 #endif
9271 #ifdef HAVE_SYS_SOCKETVAR_H
9272 # include <sys/socketvar.h>
9273 #endif
9274 #ifdef HAVE_NET_ROUTE_H
9275 # include <net/route.h>
9276 #endif
9277 #ifdef HAVE_NETINET_IN_H
9278 # include <netinet/in.h>
9279 #endif
9280 #ifdef HAVE_NETINET_IN_SYSTM_H
9281 # include <netinet/in_systm.h>
9282 #endif
9283 #ifdef HAVE_NET_IF_H
9284 # include <net/if.h>
9285 #endif
9286 #ifdef HAVE_NETINET_IP_H
9287 # include <netinet/ip.h>
9288 #endif
9290 if test "x$ac_cv_header_sys_un_h" = xyes
9291 then :
9292 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
9297 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_timer.h" "ac_cv_header_netinet_tcp_timer_h" "#include <sys/types.h>
9298 #ifdef HAVE_ALIAS_H
9299 # include <alias.h>
9300 #endif
9301 #ifdef HAVE_SYS_SOCKET_H
9302 # include <sys/socket.h>
9303 #endif
9304 #ifdef HAVE_SYS_SOCKETVAR_H
9305 # include <sys/socketvar.h>
9306 #endif
9307 #ifdef HAVE_SYS_TIMEOUT_H
9308 # include <sys/timeout.h>
9309 #endif
9310 #ifdef HAVE_NETINET_IN_H
9311 # include <netinet/in.h>
9312 #endif
9313 #ifdef HAVE_NETINET_IN_SYSTM_H
9314 # include <netinet/in_systm.h>
9315 #endif
9316 #ifdef HAVE_NETINET_IP_H
9317 # include <netinet/ip.h>
9318 #endif
9319 #ifdef HAVE_NETINET_IP_VAR_H
9320 # include <netinet/ip_var.h>
9321 #endif
9322 #ifdef HAVE_NETINET_IP_ICMP_H
9323 # include <netinet/ip_icmp.h>
9324 #endif
9325 #ifdef HAVE_NETINET_UDP_H
9326 # include <netinet/udp.h>
9327 #endif
9328 #ifdef HAVE_NETINET_TCP_H
9329 # include <netinet/tcp.h>
9330 #endif
9331 #ifdef HAVE_NETINET_TCP_TIMER_H
9332 #include <netinet/tcp_timer.h>
9333 #endif
9335 if test "x$ac_cv_header_netinet_tcp_timer_h" = xyes
9336 then :
9337 printf "%s\n" "#define HAVE_NETINET_TCP_TIMER_H 1" >>confdefs.h
9340 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
9341 #ifdef HAVE_ALIAS_H
9342 # include <alias.h>
9343 #endif
9344 #ifdef HAVE_SYS_SOCKET_H
9345 # include <sys/socket.h>
9346 #endif
9347 #ifdef HAVE_SYS_SOCKETVAR_H
9348 # include <sys/socketvar.h>
9349 #endif
9350 #ifdef HAVE_SYS_TIMEOUT_H
9351 # include <sys/timeout.h>
9352 #endif
9353 #ifdef HAVE_NETINET_IN_H
9354 # include <netinet/in.h>
9355 #endif
9356 #ifdef HAVE_NETINET_IN_SYSTM_H
9357 # include <netinet/in_systm.h>
9358 #endif
9359 #ifdef HAVE_NETINET_IP_H
9360 # include <netinet/ip.h>
9361 #endif
9362 #ifdef HAVE_NETINET_IP_VAR_H
9363 # include <netinet/ip_var.h>
9364 #endif
9365 #ifdef HAVE_NETINET_IP_ICMP_H
9366 # include <netinet/ip_icmp.h>
9367 #endif
9368 #ifdef HAVE_NETINET_UDP_H
9369 # include <netinet/udp.h>
9370 #endif
9371 #ifdef HAVE_NETINET_TCP_H
9372 # include <netinet/tcp.h>
9373 #endif
9374 #ifdef HAVE_NETINET_TCP_TIMER_H
9375 #include <netinet/tcp_timer.h>
9376 #endif
9378 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
9379 then :
9380 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
9383 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
9384 #ifdef HAVE_ALIAS_H
9385 # include <alias.h>
9386 #endif
9387 #ifdef HAVE_SYS_SOCKET_H
9388 # include <sys/socket.h>
9389 #endif
9390 #ifdef HAVE_SYS_SOCKETVAR_H
9391 # include <sys/socketvar.h>
9392 #endif
9393 #ifdef HAVE_SYS_TIMEOUT_H
9394 # include <sys/timeout.h>
9395 #endif
9396 #ifdef HAVE_NETINET_IN_H
9397 # include <netinet/in.h>
9398 #endif
9399 #ifdef HAVE_NETINET_IN_SYSTM_H
9400 # include <netinet/in_systm.h>
9401 #endif
9402 #ifdef HAVE_NETINET_IP_H
9403 # include <netinet/ip.h>
9404 #endif
9405 #ifdef HAVE_NETINET_IP_VAR_H
9406 # include <netinet/ip_var.h>
9407 #endif
9408 #ifdef HAVE_NETINET_IP_ICMP_H
9409 # include <netinet/ip_icmp.h>
9410 #endif
9411 #ifdef HAVE_NETINET_UDP_H
9412 # include <netinet/udp.h>
9413 #endif
9414 #ifdef HAVE_NETINET_TCP_H
9415 # include <netinet/tcp.h>
9416 #endif
9417 #ifdef HAVE_NETINET_TCP_TIMER_H
9418 #include <netinet/tcp_timer.h>
9419 #endif
9421 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
9422 then :
9423 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
9426 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
9427 #ifdef HAVE_ALIAS_H
9428 # include <alias.h>
9429 #endif
9430 #ifdef HAVE_SYS_SOCKET_H
9431 # include <sys/socket.h>
9432 #endif
9433 #ifdef HAVE_SYS_SOCKETVAR_H
9434 # include <sys/socketvar.h>
9435 #endif
9436 #ifdef HAVE_SYS_TIMEOUT_H
9437 # include <sys/timeout.h>
9438 #endif
9439 #ifdef HAVE_NETINET_IN_H
9440 # include <netinet/in.h>
9441 #endif
9442 #ifdef HAVE_NETINET_IN_SYSTM_H
9443 # include <netinet/in_systm.h>
9444 #endif
9445 #ifdef HAVE_NETINET_IP_H
9446 # include <netinet/ip.h>
9447 #endif
9448 #ifdef HAVE_NETINET_IP_VAR_H
9449 # include <netinet/ip_var.h>
9450 #endif
9451 #ifdef HAVE_NETINET_IP_ICMP_H
9452 # include <netinet/ip_icmp.h>
9453 #endif
9454 #ifdef HAVE_NETINET_UDP_H
9455 # include <netinet/udp.h>
9456 #endif
9457 #ifdef HAVE_NETINET_TCP_H
9458 # include <netinet/tcp.h>
9459 #endif
9460 #ifdef HAVE_NETINET_TCP_TIMER_H
9461 #include <netinet/tcp_timer.h>
9462 #endif
9464 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9465 then :
9466 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9471 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9472 #ifdef HAVE_ASM_TYPES_H
9473 # include <asm/types.h>
9474 #endif
9475 #ifdef HAVE_SYS_SOCKET_H
9476 # include <sys/socket.h>
9477 #endif
9478 #ifdef HAVE_LINUX_TYPES_H
9479 # include <linux/types.h>
9480 #endif
9482 if test "x$ac_cv_header_linux_ipx_h" = xyes
9483 then :
9484 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9487 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9488 #ifdef HAVE_ASM_TYPES_H
9489 # include <asm/types.h>
9490 #endif
9491 #ifdef HAVE_SYS_SOCKET_H
9492 # include <sys/socket.h>
9493 #endif
9494 #ifdef HAVE_LINUX_TYPES_H
9495 # include <linux/types.h>
9496 #endif
9498 if test "x$ac_cv_header_linux_irda_h" = xyes
9499 then :
9500 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9503 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9504 #ifdef HAVE_ASM_TYPES_H
9505 # include <asm/types.h>
9506 #endif
9507 #ifdef HAVE_SYS_SOCKET_H
9508 # include <sys/socket.h>
9509 #endif
9510 #ifdef HAVE_LINUX_TYPES_H
9511 # include <linux/types.h>
9512 #endif
9514 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9515 then :
9516 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9521 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9522 #ifdef HAVE_SYS_SOCKET_H
9523 # include <sys/socket.h>
9524 #endif
9525 #ifdef HAVE_NETINET_IN_H
9526 # include <netinet/in.h>
9527 #endif
9528 #ifdef HAVE_ARPA_NAMESER_H
9529 # include <arpa/nameser.h>
9530 #endif
9532 if test "x$ac_cv_header_resolv_h" = xyes
9533 then :
9534 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9539 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9541 if test "x$ac_cv_header_ifaddrs_h" = xyes
9542 then :
9543 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9548 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9550 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9551 then :
9552 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9557 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9558 #ifdef HAVE_SYS_UCONTEXT_H
9559 #include <sys/ucontext.h>
9560 #endif
9562 if test "x$ac_cv_header_sys_thr_h" = xyes
9563 then :
9564 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9569 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9570 #include <pthread.h>
9571 #endif
9573 if test "x$ac_cv_header_pthread_np_h" = xyes
9574 then :
9575 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9580 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
9581 #include <sys/time.h>
9582 #endif
9583 #include <sys/types.h>
9584 #ifdef HAVE_ASM_TYPES_H
9585 #include <asm/types.h>
9586 #endif
9588 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9589 then :
9590 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9595 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9596 #include <sys/param.h>
9597 #endif
9598 #ifdef HAVE_SYS_QUEUE_H
9599 #include <sys/queue.h>
9600 #endif
9601 #ifdef HAVE_SYS_SOCKET_H
9602 #include <sys/socket.h>
9603 #endif
9605 if test "x$ac_cv_header_libprocstat_h" = xyes
9606 then :
9607 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9613 DLLFLAGS=""
9615 LDDLLFLAGS=""
9617 LDEXECFLAGS=""
9619 EXTRACFLAGS=""
9621 UNIXDLLFLAGS="-fPIC"
9623 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9625 TOP_INSTALL_LIB=""
9627 TOP_INSTALL_DEV=""
9629 WINELOADER_LDFLAGS=""
9631 WINEPRELOADER_LDFLAGS=""
9633 LIBEXT="so"
9634 # Extract the first word of "ldd", so it can be a program name with args.
9635 set dummy ldd; ac_word=$2
9636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9637 printf %s "checking for $ac_word... " >&6; }
9638 if test ${ac_cv_path_LDD+y}
9639 then :
9640 printf %s "(cached) " >&6
9641 else $as_nop
9642 case $LDD in
9643 [\\/]* | ?:[\\/]*)
9644 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9648 as_dummy="/sbin:/usr/sbin:$PATH"
9649 for as_dir in $as_dummy
9651 IFS=$as_save_IFS
9652 case $as_dir in #(((
9653 '') as_dir=./ ;;
9654 */) ;;
9655 *) as_dir=$as_dir/ ;;
9656 esac
9657 for ac_exec_ext in '' $ac_executable_extensions; do
9658 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9659 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9661 break 2
9663 done
9664 done
9665 IFS=$as_save_IFS
9667 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9669 esac
9671 LDD=$ac_cv_path_LDD
9672 if test -n "$LDD"; then
9673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9674 printf "%s\n" "$LDD" >&6; }
9675 else
9676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9677 printf "%s\n" "no" >&6; }
9681 if test -n "$ac_tool_prefix"; then
9682 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9683 set dummy ${ac_tool_prefix}otool; ac_word=$2
9684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9685 printf %s "checking for $ac_word... " >&6; }
9686 if test ${ac_cv_prog_OTOOL+y}
9687 then :
9688 printf %s "(cached) " >&6
9689 else $as_nop
9690 if test -n "$OTOOL"; then
9691 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9692 else
9693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9694 for as_dir in $PATH
9696 IFS=$as_save_IFS
9697 case $as_dir in #(((
9698 '') as_dir=./ ;;
9699 */) ;;
9700 *) as_dir=$as_dir/ ;;
9701 esac
9702 for ac_exec_ext in '' $ac_executable_extensions; do
9703 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9704 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9706 break 2
9708 done
9709 done
9710 IFS=$as_save_IFS
9714 OTOOL=$ac_cv_prog_OTOOL
9715 if test -n "$OTOOL"; then
9716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9717 printf "%s\n" "$OTOOL" >&6; }
9718 else
9719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9720 printf "%s\n" "no" >&6; }
9725 if test -z "$ac_cv_prog_OTOOL"; then
9726 ac_ct_OTOOL=$OTOOL
9727 # Extract the first word of "otool", so it can be a program name with args.
9728 set dummy otool; ac_word=$2
9729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9730 printf %s "checking for $ac_word... " >&6; }
9731 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9732 then :
9733 printf %s "(cached) " >&6
9734 else $as_nop
9735 if test -n "$ac_ct_OTOOL"; then
9736 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9737 else
9738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9739 for as_dir in $PATH
9741 IFS=$as_save_IFS
9742 case $as_dir in #(((
9743 '') as_dir=./ ;;
9744 */) ;;
9745 *) as_dir=$as_dir/ ;;
9746 esac
9747 for ac_exec_ext in '' $ac_executable_extensions; do
9748 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9749 ac_cv_prog_ac_ct_OTOOL="otool"
9750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9751 break 2
9753 done
9754 done
9755 IFS=$as_save_IFS
9759 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9760 if test -n "$ac_ct_OTOOL"; then
9761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9762 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9763 else
9764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9765 printf "%s\n" "no" >&6; }
9768 if test "x$ac_ct_OTOOL" = x; then
9769 OTOOL="otool"
9770 else
9771 case $cross_compiling:$ac_tool_warned in
9772 yes:)
9773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9774 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9775 ac_tool_warned=yes ;;
9776 esac
9777 OTOOL=$ac_ct_OTOOL
9779 else
9780 OTOOL="$ac_cv_prog_OTOOL"
9783 if test -n "$ac_tool_prefix"; then
9784 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9785 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9787 printf %s "checking for $ac_word... " >&6; }
9788 if test ${ac_cv_prog_READELF+y}
9789 then :
9790 printf %s "(cached) " >&6
9791 else $as_nop
9792 if test -n "$READELF"; then
9793 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9794 else
9795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9796 for as_dir in $PATH
9798 IFS=$as_save_IFS
9799 case $as_dir in #(((
9800 '') as_dir=./ ;;
9801 */) ;;
9802 *) as_dir=$as_dir/ ;;
9803 esac
9804 for ac_exec_ext in '' $ac_executable_extensions; do
9805 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9806 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9808 break 2
9810 done
9811 done
9812 IFS=$as_save_IFS
9816 READELF=$ac_cv_prog_READELF
9817 if test -n "$READELF"; then
9818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9819 printf "%s\n" "$READELF" >&6; }
9820 else
9821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9822 printf "%s\n" "no" >&6; }
9827 if test -z "$ac_cv_prog_READELF"; then
9828 ac_ct_READELF=$READELF
9829 # Extract the first word of "readelf", so it can be a program name with args.
9830 set dummy readelf; ac_word=$2
9831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9832 printf %s "checking for $ac_word... " >&6; }
9833 if test ${ac_cv_prog_ac_ct_READELF+y}
9834 then :
9835 printf %s "(cached) " >&6
9836 else $as_nop
9837 if test -n "$ac_ct_READELF"; then
9838 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9839 else
9840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9841 for as_dir in $PATH
9843 IFS=$as_save_IFS
9844 case $as_dir in #(((
9845 '') as_dir=./ ;;
9846 */) ;;
9847 *) as_dir=$as_dir/ ;;
9848 esac
9849 for ac_exec_ext in '' $ac_executable_extensions; do
9850 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9851 ac_cv_prog_ac_ct_READELF="readelf"
9852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9853 break 2
9855 done
9856 done
9857 IFS=$as_save_IFS
9861 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9862 if test -n "$ac_ct_READELF"; then
9863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9864 printf "%s\n" "$ac_ct_READELF" >&6; }
9865 else
9866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9867 printf "%s\n" "no" >&6; }
9870 if test "x$ac_ct_READELF" = x; then
9871 READELF="true"
9872 else
9873 case $cross_compiling:$ac_tool_warned in
9874 yes:)
9875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9876 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9877 ac_tool_warned=yes ;;
9878 esac
9879 READELF=$ac_ct_READELF
9881 else
9882 READELF="$ac_cv_prog_READELF"
9885 wine_rules="all:"
9886 SUBDIRS=""
9888 DISABLED_SUBDIRS=""
9890 CONFIGURE_TARGETS=""
9893 wine_fn_append_file ()
9895 as_fn_append $1 " \\$as_nl $2"
9898 wine_fn_append_rule ()
9900 as_fn_append wine_rules "$as_nl$1"
9903 wine_fn_config_makefile ()
9905 wine_fn_append_file SUBDIRS $1
9906 if eval test \"x\$"$2"\" = x"no"
9907 then :
9908 wine_fn_append_file DISABLED_SUBDIRS $1
9912 wine_fn_config_symlink ()
9914 ac_links=$@
9915 wine_fn_append_rule \
9916 "$ac_links:
9917 @./config.status \$@"
9918 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9921 wine_binary="wine"
9922 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9923 WINELOADER_PROGRAMS="$wine_binary"
9925 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9927 case $host_os in
9928 cygwin*|mingw32*)
9929 if test -n "$ac_tool_prefix"; then
9930 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9931 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9933 printf %s "checking for $ac_word... " >&6; }
9934 if test ${ac_cv_prog_DLLTOOL+y}
9935 then :
9936 printf %s "(cached) " >&6
9937 else $as_nop
9938 if test -n "$DLLTOOL"; then
9939 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9940 else
9941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9942 for as_dir in $PATH
9944 IFS=$as_save_IFS
9945 case $as_dir in #(((
9946 '') as_dir=./ ;;
9947 */) ;;
9948 *) as_dir=$as_dir/ ;;
9949 esac
9950 for ac_exec_ext in '' $ac_executable_extensions; do
9951 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9952 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9954 break 2
9956 done
9957 done
9958 IFS=$as_save_IFS
9962 DLLTOOL=$ac_cv_prog_DLLTOOL
9963 if test -n "$DLLTOOL"; then
9964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9965 printf "%s\n" "$DLLTOOL" >&6; }
9966 else
9967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9968 printf "%s\n" "no" >&6; }
9973 if test -z "$ac_cv_prog_DLLTOOL"; then
9974 ac_ct_DLLTOOL=$DLLTOOL
9975 # Extract the first word of "dlltool", so it can be a program name with args.
9976 set dummy dlltool; ac_word=$2
9977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9978 printf %s "checking for $ac_word... " >&6; }
9979 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9980 then :
9981 printf %s "(cached) " >&6
9982 else $as_nop
9983 if test -n "$ac_ct_DLLTOOL"; then
9984 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9985 else
9986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9987 for as_dir in $PATH
9989 IFS=$as_save_IFS
9990 case $as_dir in #(((
9991 '') as_dir=./ ;;
9992 */) ;;
9993 *) as_dir=$as_dir/ ;;
9994 esac
9995 for ac_exec_ext in '' $ac_executable_extensions; do
9996 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9997 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9999 break 2
10001 done
10002 done
10003 IFS=$as_save_IFS
10007 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
10008 if test -n "$ac_ct_DLLTOOL"; then
10009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
10010 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
10011 else
10012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10013 printf "%s\n" "no" >&6; }
10016 if test "x$ac_ct_DLLTOOL" = x; then
10017 DLLTOOL="false"
10018 else
10019 case $cross_compiling:$ac_tool_warned in
10020 yes:)
10021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10022 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10023 ac_tool_warned=yes ;;
10024 esac
10025 DLLTOOL=$ac_ct_DLLTOOL
10027 else
10028 DLLTOOL="$ac_cv_prog_DLLTOOL"
10031 LIBEXT="dll"
10032 EXTRACFLAGS="-D__WINE_PE_BUILD"
10033 case $host_cpu in
10034 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
10035 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
10036 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
10037 then :
10038 printf %s "(cached) " >&6
10039 else $as_nop
10040 ac_wine_try_cflags_saved=$CFLAGS
10041 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
10042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10044 int main(int argc, char **argv) { return 0; }
10045 _ACEOF
10046 if ac_fn_c_try_link "$LINENO"
10047 then :
10048 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
10049 else $as_nop
10050 ac_cv_cflags__Wl___disable_stdcall_fixup=no
10052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10053 conftest$ac_exeext conftest.$ac_ext
10054 CFLAGS=$ac_wine_try_cflags_saved
10056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
10057 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
10058 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
10059 then :
10060 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
10061 fi ;;
10062 esac
10063 enable_mountmgr_sys=${enable_mountmgr_sys:-no}
10064 enable_loader=${enable_loader:-no}
10065 enable_server=${enable_server:-no}
10066 with_x=${with_x:-no}
10067 with_pthread=${with_pthread:-no}
10070 darwin*|macosx*)
10071 ac_ext=m
10072 ac_cpp='$OBJCPP $CPPFLAGS'
10073 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10074 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10075 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10077 ac_ext=m
10078 ac_cpp='$OBJCPP $CPPFLAGS'
10079 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10080 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10081 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10082 if test -n "$ac_tool_prefix"; then
10083 for ac_prog in gcc objcc objc cc CC clang
10085 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10086 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10088 printf %s "checking for $ac_word... " >&6; }
10089 if test ${ac_cv_prog_OBJC+y}
10090 then :
10091 printf %s "(cached) " >&6
10092 else $as_nop
10093 if test -n "$OBJC"; then
10094 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
10095 else
10096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10097 for as_dir in $PATH
10099 IFS=$as_save_IFS
10100 case $as_dir in #(((
10101 '') as_dir=./ ;;
10102 */) ;;
10103 *) as_dir=$as_dir/ ;;
10104 esac
10105 for ac_exec_ext in '' $ac_executable_extensions; do
10106 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10107 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
10108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10109 break 2
10111 done
10112 done
10113 IFS=$as_save_IFS
10117 OBJC=$ac_cv_prog_OBJC
10118 if test -n "$OBJC"; then
10119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
10120 printf "%s\n" "$OBJC" >&6; }
10121 else
10122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10123 printf "%s\n" "no" >&6; }
10127 test -n "$OBJC" && break
10128 done
10130 if test -z "$OBJC"; then
10131 ac_ct_OBJC=$OBJC
10132 for ac_prog in gcc objcc objc cc CC clang
10134 # Extract the first word of "$ac_prog", so it can be a program name with args.
10135 set dummy $ac_prog; ac_word=$2
10136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10137 printf %s "checking for $ac_word... " >&6; }
10138 if test ${ac_cv_prog_ac_ct_OBJC+y}
10139 then :
10140 printf %s "(cached) " >&6
10141 else $as_nop
10142 if test -n "$ac_ct_OBJC"; then
10143 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
10144 else
10145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10146 for as_dir in $PATH
10148 IFS=$as_save_IFS
10149 case $as_dir in #(((
10150 '') as_dir=./ ;;
10151 */) ;;
10152 *) as_dir=$as_dir/ ;;
10153 esac
10154 for ac_exec_ext in '' $ac_executable_extensions; do
10155 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10156 ac_cv_prog_ac_ct_OBJC="$ac_prog"
10157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10158 break 2
10160 done
10161 done
10162 IFS=$as_save_IFS
10166 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
10167 if test -n "$ac_ct_OBJC"; then
10168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
10169 printf "%s\n" "$ac_ct_OBJC" >&6; }
10170 else
10171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10172 printf "%s\n" "no" >&6; }
10176 test -n "$ac_ct_OBJC" && break
10177 done
10179 if test "x$ac_ct_OBJC" = x; then
10180 OBJC="gcc"
10181 else
10182 case $cross_compiling:$ac_tool_warned in
10183 yes:)
10184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10185 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10186 ac_tool_warned=yes ;;
10187 esac
10188 OBJC=$ac_ct_OBJC
10192 # Provide some information about the compiler.
10193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
10194 set X $ac_compile
10195 ac_compiler=$2
10196 for ac_option in --version -v -V -qversion; do
10197 { { ac_try="$ac_compiler $ac_option >&5"
10198 case "(($ac_try" in
10199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10200 *) ac_try_echo=$ac_try;;
10201 esac
10202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10203 printf "%s\n" "$ac_try_echo"; } >&5
10204 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10205 ac_status=$?
10206 if test -s conftest.err; then
10207 sed '10a\
10208 ... rest of stderr output deleted ...
10209 10q' conftest.err >conftest.er1
10210 cat conftest.er1 >&5
10212 rm -f conftest.er1 conftest.err
10213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10214 test $ac_status = 0; }
10215 done
10217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
10218 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
10219 if test ${ac_cv_objc_compiler_gnu+y}
10220 then :
10221 printf %s "(cached) " >&6
10222 else $as_nop
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10227 main (void)
10229 #ifndef __GNUC__
10230 choke me
10231 #endif
10234 return 0;
10236 _ACEOF
10237 if ac_fn_objc_try_compile "$LINENO"
10238 then :
10239 ac_compiler_gnu=yes
10240 else $as_nop
10241 ac_compiler_gnu=no
10243 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10244 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
10247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
10248 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
10249 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10251 if test $ac_compiler_gnu = yes; then
10252 GOBJC=yes
10253 else
10254 GOBJC=
10256 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
10257 ac_save_OBJCFLAGS=$OBJCFLAGS
10258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
10259 printf %s "checking whether $OBJC accepts -g... " >&6; }
10260 if test ${ac_cv_prog_objc_g+y}
10261 then :
10262 printf %s "(cached) " >&6
10263 else $as_nop
10264 ac_save_objc_werror_flag=$ac_objc_werror_flag
10265 ac_objc_werror_flag=yes
10266 ac_cv_prog_objc_g=no
10267 OBJCFLAGS="-g"
10268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10269 /* end confdefs.h. */
10272 main (void)
10276 return 0;
10278 _ACEOF
10279 if ac_fn_objc_try_compile "$LINENO"
10280 then :
10281 ac_cv_prog_objc_g=yes
10282 else $as_nop
10283 OBJCFLAGS=""
10284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10285 /* end confdefs.h. */
10288 main (void)
10292 return 0;
10294 _ACEOF
10295 if ac_fn_objc_try_compile "$LINENO"
10296 then :
10298 else $as_nop
10299 ac_objc_werror_flag=$ac_save_objc_werror_flag
10300 OBJCFLAGS="-g"
10301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10302 /* end confdefs.h. */
10305 main (void)
10309 return 0;
10311 _ACEOF
10312 if ac_fn_objc_try_compile "$LINENO"
10313 then :
10314 ac_cv_prog_objc_g=yes
10316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10321 ac_objc_werror_flag=$ac_save_objc_werror_flag
10323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
10324 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
10325 if test $ac_test_OBJCFLAGS; then
10326 OBJCFLAGS=$ac_save_OBJCFLAGS
10327 elif test $ac_cv_prog_objc_g = yes; then
10328 if test "$GOBJC" = yes; then
10329 OBJCFLAGS="-g -O2"
10330 else
10331 OBJCFLAGS="-g"
10333 else
10334 if test "$GOBJC" = yes; then
10335 OBJCFLAGS="-O2"
10336 else
10337 OBJCFLAGS=
10340 ac_ext=m
10341 ac_cpp='$OBJCPP $CPPFLAGS'
10342 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10343 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10344 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10347 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
10348 if test "x$ac_cv_header_Metal_Metal_h" = xyes
10349 then :
10350 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
10354 ac_ext=c
10355 ac_cpp='$CPP $CPPFLAGS'
10356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10360 LIBEXT="dylib"
10361 DLLFLAGS="$DLLFLAGS -fPIC"
10362 LDDLLFLAGS="-fPIC"
10363 COREFOUNDATION_LIBS="-framework CoreFoundation"
10365 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
10367 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
10369 CORESERVICES_LIBS="-framework CoreServices"
10371 APPKIT_LIBS="-framework AppKit"
10373 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
10376 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
10378 wine_can_build_preloader=yes
10379 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"
10380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
10381 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
10382 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
10383 then :
10384 printf %s "(cached) " >&6
10385 else $as_nop
10386 ac_wine_try_cflags_saved=$CFLAGS
10387 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
10388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10390 int main(int argc, char **argv) { return 0; }
10391 _ACEOF
10392 if ac_fn_c_try_link "$LINENO"
10393 then :
10394 ac_cv_cflags__Wl__no_new_main__e__main=yes
10395 else $as_nop
10396 ac_cv_cflags__Wl__no_new_main__e__main=no
10398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10399 conftest$ac_exeext conftest.$ac_ext
10400 CFLAGS=$ac_wine_try_cflags_saved
10402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
10403 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
10404 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
10405 then :
10406 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
10407 { 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
10408 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10409 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10410 then :
10411 printf %s "(cached) " >&6
10412 else $as_nop
10413 ac_wine_try_cflags_saved=$CFLAGS
10414 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10416 /* end confdefs.h. */
10417 int main(int argc, char **argv) { return 0; }
10418 _ACEOF
10419 if ac_fn_c_try_link "$LINENO"
10420 then :
10421 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10422 else $as_nop
10423 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10426 conftest$ac_exeext conftest.$ac_ext
10427 CFLAGS=$ac_wine_try_cflags_saved
10429 { 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
10430 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10431 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10432 then :
10433 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10434 else $as_nop
10435 wine_can_build_preloader=no
10437 else $as_nop
10438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
10439 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
10440 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
10441 then :
10442 printf %s "(cached) " >&6
10443 else $as_nop
10444 ac_wine_try_cflags_saved=$CFLAGS
10445 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
10446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10447 /* end confdefs.h. */
10448 int main(int argc, char **argv) { return 0; }
10449 _ACEOF
10450 if ac_fn_c_try_link "$LINENO"
10451 then :
10452 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
10453 else $as_nop
10454 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
10456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10457 conftest$ac_exeext conftest.$ac_ext
10458 CFLAGS=$ac_wine_try_cflags_saved
10460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
10461 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
10462 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
10463 then :
10464 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
10465 else $as_nop
10466 wine_can_build_preloader=no
10469 if test "$wine_can_build_preloader" = "yes"
10470 then
10471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
10472 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
10473 if test ${ac_cv_cflags__Wl__no_pie+y}
10474 then :
10475 printf %s "(cached) " >&6
10476 else $as_nop
10477 ac_wine_try_cflags_saved=$CFLAGS
10478 CFLAGS="$CFLAGS -Wl,-no_pie"
10479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10480 /* end confdefs.h. */
10481 int main(int argc, char **argv) { return 0; }
10482 _ACEOF
10483 if ac_fn_c_try_link "$LINENO"
10484 then :
10485 ac_cv_cflags__Wl__no_pie=yes
10486 else $as_nop
10487 ac_cv_cflags__Wl__no_pie=no
10489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10490 conftest$ac_exeext conftest.$ac_ext
10491 CFLAGS=$ac_wine_try_cflags_saved
10493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
10494 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
10495 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
10496 then :
10497 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
10499 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
10500 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
10501 else
10502 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10505 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10506 then
10507 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10510 if test "$ac_cv_header_Security_Security_h" = "yes"
10511 then
10512 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10515 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10516 then
10517 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10519 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10521 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10522 then
10523 OPENAL_LIBS="-framework OpenAL"
10526 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10528 ac_cv_lib_openal=yes
10530 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10531 then
10532 OPENCL_LIBS="-framework OpenCL"
10534 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10536 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10537 then
10538 ac_save_LIBS="$LIBS"
10539 LIBS="$LIBS $IOKIT_LIBS"
10540 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10541 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10542 then :
10543 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10547 LIBS="$ac_save_LIBS"
10550 if test "x$with_quicktime" != "xno"
10551 then
10552 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
10553 then
10554 ac_save_LIBS="$LIBS"
10555 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
10556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
10557 printf %s "checking for the QuickTime framework... " >&6; }
10558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10559 /* end confdefs.h. */
10560 #include <QuickTime/ImageCompression.h>
10562 main (void)
10564 CodecManagerVersion(NULL);
10566 return 0;
10568 _ACEOF
10569 if ac_fn_c_try_link "$LINENO"
10570 then :
10571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10572 printf "%s\n" "yes" >&6; }
10573 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
10575 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
10576 else $as_nop
10577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10578 printf "%s\n" "no" >&6; }
10579 ac_cv_header_QuickTime_ImageCompression_h=no
10581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10582 conftest$ac_exeext conftest.$ac_ext
10583 LIBS="$ac_save_LIBS"
10586 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
10587 then :
10588 case "x$with_quicktime" in
10589 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
10590 xno) ;;
10591 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
10592 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
10593 esac
10597 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10598 then
10599 CARBON_LIBS="-framework Carbon"
10602 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10603 then
10604 METAL_LIBS="-framework Metal -framework QuartzCore"
10608 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10609 then
10610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10611 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10612 ac_ext=m
10613 ac_cpp='$OBJCPP $CPPFLAGS'
10614 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10615 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10616 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10619 /* end confdefs.h. */
10620 #include <Metal/Metal.h>
10622 main (void)
10624 id<MTLDevice> device; device.registryID;
10626 return 0;
10628 _ACEOF
10629 if ac_fn_objc_try_compile "$LINENO"
10630 then :
10631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10632 printf "%s\n" "yes" >&6; }
10634 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10636 else $as_nop
10637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10638 printf "%s\n" "no" >&6; }
10640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10641 ac_ext=c
10642 ac_cpp='$CPP $CPPFLAGS'
10643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10649 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10650 then
10651 ac_save_LIBS="$LIBS"
10652 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10653 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10654 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10655 then :
10656 enable_winemac_drv=${enable_winemac_drv:-yes}
10659 LIBS="$ac_save_LIBS"
10662 UNIXLDFLAGS="-dynamiclib -install_name @loader_path/\$(UNIXLIB)"
10663 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10665 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10667 WINELOADER_DEPENDS="wine_info.plist"
10669 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10672 linux-android*)
10674 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10676 DLLFLAGS="$DLLFLAGS -fPIC"
10677 LDDLLFLAGS="-fPIC"
10678 LDEXECFLAGS="-Wl,-pie"
10679 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10681 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10682 if test ${ac_cv_cflags__Wl__z_defs+y}
10683 then :
10684 printf %s "(cached) " >&6
10685 else $as_nop
10686 ac_wine_try_cflags_saved=$CFLAGS
10687 CFLAGS="$CFLAGS -Wl,-z,defs"
10688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10689 /* end confdefs.h. */
10690 int main(int argc, char **argv) { return 0; }
10691 _ACEOF
10692 if ac_fn_c_try_link "$LINENO"
10693 then :
10694 ac_cv_cflags__Wl__z_defs=yes
10695 else $as_nop
10696 ac_cv_cflags__Wl__z_defs=no
10698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10699 conftest$ac_exeext conftest.$ac_ext
10700 CFLAGS=$ac_wine_try_cflags_saved
10702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10703 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10704 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10705 then :
10706 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10709 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10710 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10711 then :
10712 printf %s "(cached) " >&6
10713 else $as_nop
10714 ac_wine_try_cflags_saved=$CFLAGS
10715 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10718 int main(int argc, char **argv) { return 0; }
10719 _ACEOF
10720 if ac_fn_c_try_link "$LINENO"
10721 then :
10722 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10723 else $as_nop
10724 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10727 conftest$ac_exeext conftest.$ac_ext
10728 CFLAGS=$ac_wine_try_cflags_saved
10730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10731 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10732 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10733 then :
10734 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10736 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10739 printf %s "checking for -lEGL... " >&6; }
10740 if test ${ac_cv_lib_soname_EGL+y}
10741 then :
10742 printf %s "(cached) " >&6
10743 else $as_nop
10744 ac_check_soname_save_LIBS=$LIBS
10745 LIBS="-lEGL $LIBS"
10746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10747 /* end confdefs.h. */
10749 /* Override any GCC internal prototype to avoid an error.
10750 Use char because int might match the return type of a GCC
10751 builtin and then its argument prototype would still apply. */
10752 char eglGetProcAddress ();
10754 main (void)
10756 return eglGetProcAddress ();
10758 return 0;
10760 _ACEOF
10761 if ac_fn_c_try_link "$LINENO"
10762 then :
10763 case "$LIBEXT" in
10764 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10765 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'` ;;
10766 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10767 if ${ac_cv_lib_soname_EGL:+false} :
10768 then :
10769 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10770 fi ;;
10771 esac
10772 else $as_nop
10773 ac_cv_lib_soname_EGL=
10775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10776 conftest$ac_exeext conftest.$ac_ext
10777 LIBS=$ac_check_soname_save_LIBS
10779 if ${ac_cv_lib_soname_EGL:+false} :
10780 then :
10781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10782 printf "%s\n" "not found" >&6; }
10784 else $as_nop
10785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10786 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10788 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10793 printf %s "checking for -lGLESv2... " >&6; }
10794 if test ${ac_cv_lib_soname_GLESv2+y}
10795 then :
10796 printf %s "(cached) " >&6
10797 else $as_nop
10798 ac_check_soname_save_LIBS=$LIBS
10799 LIBS="-lGLESv2 $LIBS"
10800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10801 /* end confdefs.h. */
10803 /* Override any GCC internal prototype to avoid an error.
10804 Use char because int might match the return type of a GCC
10805 builtin and then its argument prototype would still apply. */
10806 char glFlush ();
10808 main (void)
10810 return glFlush ();
10812 return 0;
10814 _ACEOF
10815 if ac_fn_c_try_link "$LINENO"
10816 then :
10817 case "$LIBEXT" in
10818 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10819 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'` ;;
10820 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10821 if ${ac_cv_lib_soname_GLESv2:+false} :
10822 then :
10823 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10824 fi ;;
10825 esac
10826 else $as_nop
10827 ac_cv_lib_soname_GLESv2=
10829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10830 conftest$ac_exeext conftest.$ac_ext
10831 LIBS=$ac_check_soname_save_LIBS
10833 if ${ac_cv_lib_soname_GLESv2:+false} :
10834 then :
10835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10836 printf "%s\n" "not found" >&6; }
10838 else $as_nop
10839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10840 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10842 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10847 if test "x$exec_prefix" = xNONE
10848 then
10849 case $host_cpu in
10850 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10851 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10852 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10853 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10854 esac
10860 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10862 case $host_cpu in
10863 *i[3456789]86*)
10864 DLLFLAGS="$DLLFLAGS -fno-PIC"
10865 LDDLLFLAGS="-fno-PIC"
10866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10867 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10868 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10869 then :
10870 printf %s "(cached) " >&6
10871 else $as_nop
10872 ac_wine_try_cflags_saved=$CFLAGS
10873 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h. */
10876 int main(int argc, char **argv) { return 0; }
10877 _ACEOF
10878 if ac_fn_c_try_link "$LINENO"
10879 then :
10880 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10881 else $as_nop
10882 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10885 conftest$ac_exeext conftest.$ac_ext
10886 CFLAGS=$ac_wine_try_cflags_saved
10888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10889 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10890 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10891 then :
10892 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10896 DLLFLAGS="$DLLFLAGS -fPIC"
10897 LDDLLFLAGS="-fPIC" ;;
10898 esac
10899 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10901 echo '{ global: *; };' >conftest.map
10902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10903 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10904 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10905 then :
10906 printf %s "(cached) " >&6
10907 else $as_nop
10908 ac_wine_try_cflags_saved=$CFLAGS
10909 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10911 /* end confdefs.h. */
10912 int main(int argc, char **argv) { return 0; }
10913 _ACEOF
10914 if ac_fn_c_try_link "$LINENO"
10915 then :
10916 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10917 else $as_nop
10918 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10921 conftest$ac_exeext conftest.$ac_ext
10922 CFLAGS=$ac_wine_try_cflags_saved
10924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10925 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10926 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10927 then :
10928 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10930 rm -f conftest.map
10932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10933 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10934 if test ${ac_cv_cflags__Wl__z_defs+y}
10935 then :
10936 printf %s "(cached) " >&6
10937 else $as_nop
10938 ac_wine_try_cflags_saved=$CFLAGS
10939 CFLAGS="$CFLAGS -Wl,-z,defs"
10940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10942 int main(int argc, char **argv) { return 0; }
10943 _ACEOF
10944 if ac_fn_c_try_link "$LINENO"
10945 then :
10946 ac_cv_cflags__Wl__z_defs=yes
10947 else $as_nop
10948 ac_cv_cflags__Wl__z_defs=no
10950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10951 conftest$ac_exeext conftest.$ac_ext
10952 CFLAGS=$ac_wine_try_cflags_saved
10954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10955 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10956 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10957 then :
10958 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10961 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10962 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10963 then :
10964 printf %s "(cached) " >&6
10965 else $as_nop
10966 ac_wine_try_cflags_saved=$CFLAGS
10967 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10969 /* end confdefs.h. */
10970 int main(int argc, char **argv) { return 0; }
10971 _ACEOF
10972 if ac_fn_c_try_link "$LINENO"
10973 then :
10974 ac_cv_cflags__Wl___export_dynamic=yes
10975 else $as_nop
10976 ac_cv_cflags__Wl___export_dynamic=no
10978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10979 conftest$ac_exeext conftest.$ac_ext
10980 CFLAGS=$ac_wine_try_cflags_saved
10982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10983 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10984 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10985 then :
10986 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10988 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10990 case $host_cpu in
10991 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10993 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10994 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10995 then :
10996 printf %s "(cached) " >&6
10997 else $as_nop
10998 ac_wine_try_cflags_saved=$CFLAGS
10999 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
11000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11001 /* end confdefs.h. */
11002 int main(int argc, char **argv) { return 0; }
11003 _ACEOF
11004 if ac_fn_c_try_link "$LINENO"
11005 then :
11006 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
11007 else $as_nop
11008 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
11010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11011 conftest$ac_exeext conftest.$ac_ext
11012 CFLAGS=$ac_wine_try_cflags_saved
11014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
11015 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
11016 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
11017 then :
11018 case $host_os in
11019 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
11020 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
11021 esac
11022 else $as_nop
11023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
11024 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
11025 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
11026 then :
11027 printf %s "(cached) " >&6
11028 else $as_nop
11029 ac_wine_try_cflags_saved=$CFLAGS
11030 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
11031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11033 int main(int argc, char **argv) { return 0; }
11034 _ACEOF
11035 if ac_fn_c_try_link "$LINENO"
11036 then :
11037 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
11038 else $as_nop
11039 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
11041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11042 conftest$ac_exeext conftest.$ac_ext
11043 CFLAGS=$ac_wine_try_cflags_saved
11045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
11046 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
11047 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
11048 then :
11049 case $host_os in
11050 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
11051 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
11052 esac
11054 # Extract the first word of "prelink", so it can be a program name with args.
11055 set dummy prelink; ac_word=$2
11056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11057 printf %s "checking for $ac_word... " >&6; }
11058 if test ${ac_cv_path_PRELINK+y}
11059 then :
11060 printf %s "(cached) " >&6
11061 else $as_nop
11062 case $PRELINK in
11063 [\\/]* | ?:[\\/]*)
11064 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
11067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11068 for as_dir in /sbin /usr/sbin $PATH
11070 IFS=$as_save_IFS
11071 case $as_dir in #(((
11072 '') as_dir=./ ;;
11073 */) ;;
11074 *) as_dir=$as_dir/ ;;
11075 esac
11076 for ac_exec_ext in '' $ac_executable_extensions; do
11077 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11078 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
11079 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11080 break 2
11082 done
11083 done
11084 IFS=$as_save_IFS
11086 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
11088 esac
11090 PRELINK=$ac_cv_path_PRELINK
11091 if test -n "$PRELINK"; then
11092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
11093 printf "%s\n" "$PRELINK" >&6; }
11094 else
11095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11096 printf "%s\n" "no" >&6; }
11100 if test "x$PRELINK" = xfalse
11101 then
11102 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
11105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
11106 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
11107 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
11108 then :
11109 printf %s "(cached) " >&6
11110 else $as_nop
11111 ac_wine_try_cflags_saved=$CFLAGS
11112 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
11113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11115 int main(int argc, char **argv) { return 0; }
11116 _ACEOF
11117 if ac_fn_c_try_link "$LINENO"
11118 then :
11119 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
11120 else $as_nop
11121 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
11123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11124 conftest$ac_exeext conftest.$ac_ext
11125 CFLAGS=$ac_wine_try_cflags_saved
11127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
11128 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
11129 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
11130 then :
11131 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
11134 esac
11135 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
11137 LIBWINE_DEPENDS="wine.map"
11139 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
11141 esac
11143 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
11144 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
11145 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
11146 enable_winemac_drv=${enable_winemac_drv:-no}
11147 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
11150 if test "x$with_mingw" != xno
11151 then
11152 case "x$with_mingw" in
11153 x|xyes) case "$host_cpu" in
11154 aarch64*)
11155 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
11156 arm*)
11157 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
11158 i[3456789]86*)
11159 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
11160 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
11161 mingw32-gcc clang" ;;
11162 x86_64)
11163 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
11164 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
11166 ac_prefix_list="" ;;
11167 esac
11168 for ac_prog in $ac_prefix_list
11170 # Extract the first word of "$ac_prog", so it can be a program name with args.
11171 set dummy $ac_prog; ac_word=$2
11172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11173 printf %s "checking for $ac_word... " >&6; }
11174 if test ${ac_cv_prog_CROSSCC+y}
11175 then :
11176 printf %s "(cached) " >&6
11177 else $as_nop
11178 if test -n "$CROSSCC"; then
11179 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
11180 else
11181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11182 for as_dir in $PATH
11184 IFS=$as_save_IFS
11185 case $as_dir in #(((
11186 '') as_dir=./ ;;
11187 */) ;;
11188 *) as_dir=$as_dir/ ;;
11189 esac
11190 for ac_exec_ext in '' $ac_executable_extensions; do
11191 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11192 ac_cv_prog_CROSSCC="$ac_prog"
11193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11194 break 2
11196 done
11197 done
11198 IFS=$as_save_IFS
11202 CROSSCC=$ac_cv_prog_CROSSCC
11203 if test -n "$CROSSCC"; then
11204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
11205 printf "%s\n" "$CROSSCC" >&6; }
11206 else
11207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11208 printf "%s\n" "no" >&6; }
11212 test -n "$CROSSCC" && break
11213 done
11214 test -n "$CROSSCC" || CROSSCC="false"
11216 *) CROSSCC=$with_mingw ;;
11217 esac
11218 if test "$CROSSCC" != "false"
11219 then
11220 ac_save_CC="$CC"
11221 saved_CFLAGS=$CFLAGS
11222 saved_LDFLAGS=$LDFLAGS
11223 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
11225 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
11229 CC="$CROSSCC"
11230 CFLAGS=$CROSSCFLAGS
11231 LDFLAGS=$CROSSLDFLAGS
11232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
11233 printf %s "checking whether $CROSSCC works... " >&6; }
11234 if test ${wine_cv_crosscc+y}
11235 then :
11236 printf %s "(cached) " >&6
11237 else $as_nop
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11242 main (void)
11246 return 0;
11248 _ACEOF
11249 if ac_fn_c_try_compile "$LINENO"
11250 then :
11251 wine_cv_crosscc=yes
11252 else $as_nop
11253 wine_cv_crosscc=no
11255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
11258 printf "%s\n" "$wine_cv_crosscc" >&6; }
11259 if test $wine_cv_crosscc = yes
11260 then
11261 set x $CROSSCC
11262 shift
11263 while test $# -ge 1
11265 case "$1" in
11266 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
11267 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
11268 esac
11269 shift
11270 done
11272 llvm_target=$CROSSTARGET
11273 llvm_cflags="-fuse-ld=lld"
11274 if test -z "$llvm_target"
11275 then
11276 case $host_cpu in
11277 *i[3456789]86*) llvm_target=i686-windows ;;
11278 *) llvm_target=$host_cpu-windows ;;
11279 esac
11281 case $llvm_target in
11282 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
11283 esac
11284 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
11285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
11286 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
11287 if eval test \${$as_ac_var+y}
11288 then :
11289 printf %s "(cached) " >&6
11290 else $as_nop
11291 ac_wine_try_cflags_saved=$CFLAGS
11292 ac_wine_try_cflags_saved_cc=$CC
11293 ac_wine_try_cflags_saved_exeext=$ac_exeext
11294 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
11295 CC="$CROSSCC"
11296 ac_exeext=".exe"
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11299 int __cdecl mainCRTStartup(void) { return 0; }
11300 _ACEOF
11301 if ac_fn_c_try_link "$LINENO"
11302 then :
11303 eval "$as_ac_var=yes"
11304 else $as_nop
11305 eval "$as_ac_var=no"
11307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11308 conftest$ac_exeext conftest.$ac_ext
11309 CFLAGS=$ac_wine_try_cflags_saved
11310 CC=$ac_wine_try_cflags_saved_cc
11311 ac_exeext=$ac_wine_try_cflags_saved_exeext
11313 eval ac_res=\$$as_ac_var
11314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11315 printf "%s\n" "$ac_res" >&6; }
11316 if eval test \"x\$"$as_ac_var"\" = x"yes"
11317 then :
11318 CROSSTARGET=$llvm_target
11319 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
11320 DELAYLOADFLAG="-Wl,-delayload,"
11322 CFLAGS="$CFLAGS $llvm_cflags"
11325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
11326 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
11327 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
11328 then :
11329 printf %s "(cached) " >&6
11330 else $as_nop
11331 ac_wine_try_cflags_saved=$CFLAGS
11332 ac_wine_try_cflags_saved_cc=$CC
11333 ac_wine_try_cflags_saved_exeext=$ac_exeext
11334 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
11335 CC="$CROSSCC"
11336 ac_exeext=".exe"
11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11339 int __cdecl mainCRTStartup(void) { return 0; }
11340 _ACEOF
11341 if ac_fn_c_try_link "$LINENO"
11342 then :
11343 ac_cv_crosscflags__fno_strict_aliasing=yes
11344 else $as_nop
11345 ac_cv_crosscflags__fno_strict_aliasing=no
11347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11348 conftest$ac_exeext conftest.$ac_ext
11349 CFLAGS=$ac_wine_try_cflags_saved
11350 CC=$ac_wine_try_cflags_saved_cc
11351 ac_exeext=$ac_wine_try_cflags_saved_exeext
11353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
11354 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
11355 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
11356 then :
11357 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
11359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
11360 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
11361 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
11362 then :
11363 printf %s "(cached) " >&6
11364 else $as_nop
11365 ac_wine_try_cflags_saved=$CFLAGS
11366 ac_wine_try_cflags_saved_cc=$CC
11367 ac_wine_try_cflags_saved_exeext=$ac_exeext
11368 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11369 CC="$CROSSCC"
11370 ac_exeext=".exe"
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11373 int __cdecl mainCRTStartup(void) { return 0; }
11374 _ACEOF
11375 if ac_fn_c_try_link "$LINENO"
11376 then :
11377 ac_cv_crosscflags__Werror_unknown_warning_option=yes
11378 else $as_nop
11379 ac_cv_crosscflags__Werror_unknown_warning_option=no
11381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11382 conftest$ac_exeext conftest.$ac_ext
11383 CFLAGS=$ac_wine_try_cflags_saved
11384 CC=$ac_wine_try_cflags_saved_cc
11385 ac_exeext=$ac_wine_try_cflags_saved_exeext
11387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
11388 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
11389 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
11390 then :
11391 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
11394 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
11395 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
11396 then :
11397 printf %s "(cached) " >&6
11398 else $as_nop
11399 ac_wine_try_cflags_saved=$CFLAGS
11400 ac_wine_try_cflags_saved_cc=$CC
11401 ac_wine_try_cflags_saved_exeext=$ac_exeext
11402 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11403 CC="$CROSSCC"
11404 ac_exeext=".exe"
11405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11407 int __cdecl mainCRTStartup(void) { return 0; }
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"
11410 then :
11411 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
11412 else $as_nop
11413 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
11415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11416 conftest$ac_exeext conftest.$ac_ext
11417 CFLAGS=$ac_wine_try_cflags_saved
11418 CC=$ac_wine_try_cflags_saved_cc
11419 ac_exeext=$ac_wine_try_cflags_saved_exeext
11421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
11422 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
11423 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
11424 then :
11425 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
11428 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
11429 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
11430 then :
11431 printf %s "(cached) " >&6
11432 else $as_nop
11433 ac_wine_try_cflags_saved=$CFLAGS
11434 ac_wine_try_cflags_saved_cc=$CC
11435 ac_wine_try_cflags_saved_exeext=$ac_exeext
11436 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11437 CC="$CROSSCC"
11438 ac_exeext=".exe"
11439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11440 /* end confdefs.h. */
11441 int __cdecl mainCRTStartup(void) { return 0; }
11442 _ACEOF
11443 if ac_fn_c_try_link "$LINENO"
11444 then :
11445 ac_cv_crosscflags__Wdeclaration_after_statement=yes
11446 else $as_nop
11447 ac_cv_crosscflags__Wdeclaration_after_statement=no
11449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11450 conftest$ac_exeext conftest.$ac_ext
11451 CFLAGS=$ac_wine_try_cflags_saved
11452 CC=$ac_wine_try_cflags_saved_cc
11453 ac_exeext=$ac_wine_try_cflags_saved_exeext
11455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
11456 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
11457 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
11458 then :
11459 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
11461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
11462 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
11463 if test ${ac_cv_crosscflags__Wempty_body+y}
11464 then :
11465 printf %s "(cached) " >&6
11466 else $as_nop
11467 ac_wine_try_cflags_saved=$CFLAGS
11468 ac_wine_try_cflags_saved_cc=$CC
11469 ac_wine_try_cflags_saved_exeext=$ac_exeext
11470 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11471 CC="$CROSSCC"
11472 ac_exeext=".exe"
11473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11474 /* end confdefs.h. */
11475 int __cdecl mainCRTStartup(void) { return 0; }
11476 _ACEOF
11477 if ac_fn_c_try_link "$LINENO"
11478 then :
11479 ac_cv_crosscflags__Wempty_body=yes
11480 else $as_nop
11481 ac_cv_crosscflags__Wempty_body=no
11483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11484 conftest$ac_exeext conftest.$ac_ext
11485 CFLAGS=$ac_wine_try_cflags_saved
11486 CC=$ac_wine_try_cflags_saved_cc
11487 ac_exeext=$ac_wine_try_cflags_saved_exeext
11489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
11490 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
11491 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
11492 then :
11493 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
11495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
11496 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
11497 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
11498 then :
11499 printf %s "(cached) " >&6
11500 else $as_nop
11501 ac_wine_try_cflags_saved=$CFLAGS
11502 ac_wine_try_cflags_saved_cc=$CC
11503 ac_wine_try_cflags_saved_exeext=$ac_exeext
11504 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11505 CC="$CROSSCC"
11506 ac_exeext=".exe"
11507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11509 int __cdecl mainCRTStartup(void) { return 0; }
11510 _ACEOF
11511 if ac_fn_c_try_link "$LINENO"
11512 then :
11513 ac_cv_crosscflags__Wignored_qualifiers=yes
11514 else $as_nop
11515 ac_cv_crosscflags__Wignored_qualifiers=no
11517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11518 conftest$ac_exeext conftest.$ac_ext
11519 CFLAGS=$ac_wine_try_cflags_saved
11520 CC=$ac_wine_try_cflags_saved_cc
11521 ac_exeext=$ac_wine_try_cflags_saved_exeext
11523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11524 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11525 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11526 then :
11527 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11530 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11531 if test ${ac_cv_crosscflags__Winit_self+y}
11532 then :
11533 printf %s "(cached) " >&6
11534 else $as_nop
11535 ac_wine_try_cflags_saved=$CFLAGS
11536 ac_wine_try_cflags_saved_cc=$CC
11537 ac_wine_try_cflags_saved_exeext=$ac_exeext
11538 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11539 CC="$CROSSCC"
11540 ac_exeext=".exe"
11541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11542 /* end confdefs.h. */
11543 int __cdecl mainCRTStartup(void) { return 0; }
11544 _ACEOF
11545 if ac_fn_c_try_link "$LINENO"
11546 then :
11547 ac_cv_crosscflags__Winit_self=yes
11548 else $as_nop
11549 ac_cv_crosscflags__Winit_self=no
11551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11552 conftest$ac_exeext conftest.$ac_ext
11553 CFLAGS=$ac_wine_try_cflags_saved
11554 CC=$ac_wine_try_cflags_saved_cc
11555 ac_exeext=$ac_wine_try_cflags_saved_exeext
11557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11558 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11559 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11560 then :
11561 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11564 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11565 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11566 then :
11567 printf %s "(cached) " >&6
11568 else $as_nop
11569 ac_wine_try_cflags_saved=$CFLAGS
11570 ac_wine_try_cflags_saved_cc=$CC
11571 ac_wine_try_cflags_saved_exeext=$ac_exeext
11572 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11573 CC="$CROSSCC"
11574 ac_exeext=".exe"
11575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11576 /* end confdefs.h. */
11577 int __cdecl mainCRTStartup(void) { return 0; }
11578 _ACEOF
11579 if ac_fn_c_try_link "$LINENO"
11580 then :
11581 ac_cv_crosscflags__Wpacked_not_aligned=yes
11582 else $as_nop
11583 ac_cv_crosscflags__Wpacked_not_aligned=no
11585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11586 conftest$ac_exeext conftest.$ac_ext
11587 CFLAGS=$ac_wine_try_cflags_saved
11588 CC=$ac_wine_try_cflags_saved_cc
11589 ac_exeext=$ac_wine_try_cflags_saved_exeext
11591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11592 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11593 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11594 then :
11595 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11598 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11599 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11600 then :
11601 printf %s "(cached) " >&6
11602 else $as_nop
11603 ac_wine_try_cflags_saved=$CFLAGS
11604 ac_wine_try_cflags_saved_cc=$CC
11605 ac_wine_try_cflags_saved_exeext=$ac_exeext
11606 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11607 CC="$CROSSCC"
11608 ac_exeext=".exe"
11609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11610 /* end confdefs.h. */
11611 int __cdecl mainCRTStartup(void) { return 0; }
11612 _ACEOF
11613 if ac_fn_c_try_link "$LINENO"
11614 then :
11615 ac_cv_crosscflags__Wpragma_pack=yes
11616 else $as_nop
11617 ac_cv_crosscflags__Wpragma_pack=no
11619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11620 conftest$ac_exeext conftest.$ac_ext
11621 CFLAGS=$ac_wine_try_cflags_saved
11622 CC=$ac_wine_try_cflags_saved_cc
11623 ac_exeext=$ac_wine_try_cflags_saved_exeext
11625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11626 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11627 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11628 then :
11629 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11632 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11633 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11634 then :
11635 printf %s "(cached) " >&6
11636 else $as_nop
11637 ac_wine_try_cflags_saved=$CFLAGS
11638 ac_wine_try_cflags_saved_cc=$CC
11639 ac_wine_try_cflags_saved_exeext=$ac_exeext
11640 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11641 CC="$CROSSCC"
11642 ac_exeext=".exe"
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11645 int __cdecl mainCRTStartup(void) { return 0; }
11646 _ACEOF
11647 if ac_fn_c_try_link "$LINENO"
11648 then :
11649 ac_cv_crosscflags__Wshift_overflow_2=yes
11650 else $as_nop
11651 ac_cv_crosscflags__Wshift_overflow_2=no
11653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11654 conftest$ac_exeext conftest.$ac_ext
11655 CFLAGS=$ac_wine_try_cflags_saved
11656 CC=$ac_wine_try_cflags_saved_cc
11657 ac_exeext=$ac_wine_try_cflags_saved_exeext
11659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11660 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11661 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11662 then :
11663 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11666 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11667 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11668 then :
11669 printf %s "(cached) " >&6
11670 else $as_nop
11671 ac_wine_try_cflags_saved=$CFLAGS
11672 ac_wine_try_cflags_saved_cc=$CC
11673 ac_wine_try_cflags_saved_exeext=$ac_exeext
11674 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11675 CC="$CROSSCC"
11676 ac_exeext=".exe"
11677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11679 int __cdecl mainCRTStartup(void) { return 0; }
11680 _ACEOF
11681 if ac_fn_c_try_link "$LINENO"
11682 then :
11683 ac_cv_crosscflags__Wstrict_prototypes=yes
11684 else $as_nop
11685 ac_cv_crosscflags__Wstrict_prototypes=no
11687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11688 conftest$ac_exeext conftest.$ac_ext
11689 CFLAGS=$ac_wine_try_cflags_saved
11690 CC=$ac_wine_try_cflags_saved_cc
11691 ac_exeext=$ac_wine_try_cflags_saved_exeext
11693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11694 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11695 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11696 then :
11697 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11700 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11701 if test ${ac_cv_crosscflags__Wtype_limits+y}
11702 then :
11703 printf %s "(cached) " >&6
11704 else $as_nop
11705 ac_wine_try_cflags_saved=$CFLAGS
11706 ac_wine_try_cflags_saved_cc=$CC
11707 ac_wine_try_cflags_saved_exeext=$ac_exeext
11708 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11709 CC="$CROSSCC"
11710 ac_exeext=".exe"
11711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11712 /* end confdefs.h. */
11713 int __cdecl mainCRTStartup(void) { return 0; }
11714 _ACEOF
11715 if ac_fn_c_try_link "$LINENO"
11716 then :
11717 ac_cv_crosscflags__Wtype_limits=yes
11718 else $as_nop
11719 ac_cv_crosscflags__Wtype_limits=no
11721 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11722 conftest$ac_exeext conftest.$ac_ext
11723 CFLAGS=$ac_wine_try_cflags_saved
11724 CC=$ac_wine_try_cflags_saved_cc
11725 ac_exeext=$ac_wine_try_cflags_saved_exeext
11727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11728 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11729 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11730 then :
11731 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11734 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11735 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11736 then :
11737 printf %s "(cached) " >&6
11738 else $as_nop
11739 ac_wine_try_cflags_saved=$CFLAGS
11740 ac_wine_try_cflags_saved_cc=$CC
11741 ac_wine_try_cflags_saved_exeext=$ac_exeext
11742 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11743 CC="$CROSSCC"
11744 ac_exeext=".exe"
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11747 int __cdecl mainCRTStartup(void) { return 0; }
11748 _ACEOF
11749 if ac_fn_c_try_link "$LINENO"
11750 then :
11751 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11752 else $as_nop
11753 ac_cv_crosscflags__Wunused_but_set_parameter=no
11755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11756 conftest$ac_exeext conftest.$ac_ext
11757 CFLAGS=$ac_wine_try_cflags_saved
11758 CC=$ac_wine_try_cflags_saved_cc
11759 ac_exeext=$ac_wine_try_cflags_saved_exeext
11761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11762 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11763 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11764 then :
11765 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11768 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11769 if test ${ac_cv_crosscflags__Wvla+y}
11770 then :
11771 printf %s "(cached) " >&6
11772 else $as_nop
11773 ac_wine_try_cflags_saved=$CFLAGS
11774 ac_wine_try_cflags_saved_cc=$CC
11775 ac_wine_try_cflags_saved_exeext=$ac_exeext
11776 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11777 CC="$CROSSCC"
11778 ac_exeext=".exe"
11779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11780 /* end confdefs.h. */
11781 int __cdecl mainCRTStartup(void) { return 0; }
11782 _ACEOF
11783 if ac_fn_c_try_link "$LINENO"
11784 then :
11785 ac_cv_crosscflags__Wvla=yes
11786 else $as_nop
11787 ac_cv_crosscflags__Wvla=no
11789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11790 conftest$ac_exeext conftest.$ac_ext
11791 CFLAGS=$ac_wine_try_cflags_saved
11792 CC=$ac_wine_try_cflags_saved_cc
11793 ac_exeext=$ac_wine_try_cflags_saved_exeext
11795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11796 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11797 if test "x$ac_cv_crosscflags__Wvla" = xyes
11798 then :
11799 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11802 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11803 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11804 then :
11805 printf %s "(cached) " >&6
11806 else $as_nop
11807 ac_wine_try_cflags_saved=$CFLAGS
11808 ac_wine_try_cflags_saved_cc=$CC
11809 ac_wine_try_cflags_saved_exeext=$ac_exeext
11810 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11811 CC="$CROSSCC"
11812 ac_exeext=".exe"
11813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11815 int __cdecl mainCRTStartup(void) { return 0; }
11816 _ACEOF
11817 if ac_fn_c_try_link "$LINENO"
11818 then :
11819 ac_cv_crosscflags__Wwrite_strings=yes
11820 else $as_nop
11821 ac_cv_crosscflags__Wwrite_strings=no
11823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11824 conftest$ac_exeext conftest.$ac_ext
11825 CFLAGS=$ac_wine_try_cflags_saved
11826 CC=$ac_wine_try_cflags_saved_cc
11827 ac_exeext=$ac_wine_try_cflags_saved_exeext
11829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11830 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11831 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11832 then :
11833 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11836 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11837 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11838 then :
11839 printf %s "(cached) " >&6
11840 else $as_nop
11841 ac_wine_try_cflags_saved=$CFLAGS
11842 ac_wine_try_cflags_saved_cc=$CC
11843 ac_wine_try_cflags_saved_exeext=$ac_exeext
11844 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11845 CC="$CROSSCC"
11846 ac_exeext=".exe"
11847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11849 int __cdecl mainCRTStartup(void) { return 0; }
11850 _ACEOF
11851 if ac_fn_c_try_link "$LINENO"
11852 then :
11853 ac_cv_crosscflags__Wpointer_arith=yes
11854 else $as_nop
11855 ac_cv_crosscflags__Wpointer_arith=no
11857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11858 conftest$ac_exeext conftest.$ac_ext
11859 CFLAGS=$ac_wine_try_cflags_saved
11860 CC=$ac_wine_try_cflags_saved_cc
11861 ac_exeext=$ac_wine_try_cflags_saved_exeext
11863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11864 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11865 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11866 then :
11867 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11870 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11871 if test ${ac_cv_crosscflags__Wlogical_op+y}
11872 then :
11873 printf %s "(cached) " >&6
11874 else $as_nop
11875 ac_wine_try_cflags_saved=$CFLAGS
11876 ac_wine_try_cflags_saved_cc=$CC
11877 ac_wine_try_cflags_saved_exeext=$ac_exeext
11878 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11879 CC="$CROSSCC"
11880 ac_exeext=".exe"
11881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11883 int __cdecl mainCRTStartup(void) { return 0; }
11884 _ACEOF
11885 if ac_fn_c_try_link "$LINENO"
11886 then :
11887 ac_cv_crosscflags__Wlogical_op=yes
11888 else $as_nop
11889 ac_cv_crosscflags__Wlogical_op=no
11891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11892 conftest$ac_exeext conftest.$ac_ext
11893 CFLAGS=$ac_wine_try_cflags_saved
11894 CC=$ac_wine_try_cflags_saved_cc
11895 ac_exeext=$ac_wine_try_cflags_saved_exeext
11897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11898 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11899 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11900 then :
11901 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11904 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11905 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11906 then :
11907 printf %s "(cached) " >&6
11908 else $as_nop
11909 ac_wine_try_cflags_saved=$CFLAGS
11910 ac_wine_try_cflags_saved_cc=$CC
11911 ac_wine_try_cflags_saved_exeext=$ac_exeext
11912 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11913 CC="$CROSSCC"
11914 ac_exeext=".exe"
11915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916 /* end confdefs.h. */
11917 int __cdecl mainCRTStartup(void) { return 0; }
11918 _ACEOF
11919 if ac_fn_c_try_link "$LINENO"
11920 then :
11921 ac_cv_crosscflags__Wabsolute_value=yes
11922 else $as_nop
11923 ac_cv_crosscflags__Wabsolute_value=no
11925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11926 conftest$ac_exeext conftest.$ac_ext
11927 CFLAGS=$ac_wine_try_cflags_saved
11928 CC=$ac_wine_try_cflags_saved_cc
11929 ac_exeext=$ac_wine_try_cflags_saved_exeext
11931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11932 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11933 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11934 then :
11935 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11938 case $host_cpu in
11939 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11940 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11941 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11942 then :
11943 printf %s "(cached) " >&6
11944 else $as_nop
11945 ac_wine_try_cflags_saved=$CFLAGS
11946 ac_wine_try_cflags_saved_cc=$CC
11947 ac_wine_try_cflags_saved_exeext=$ac_exeext
11948 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11949 CC="$CROSSCC"
11950 ac_exeext=".exe"
11951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11953 int __cdecl mainCRTStartup(void) { return 0; }
11954 _ACEOF
11955 if ac_fn_c_try_link "$LINENO"
11956 then :
11957 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11958 else $as_nop
11959 ac_cv_crosscflags__fno_omit_frame_pointer=no
11961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11962 conftest$ac_exeext conftest.$ac_ext
11963 CFLAGS=$ac_wine_try_cflags_saved
11964 CC=$ac_wine_try_cflags_saved_cc
11965 ac_exeext=$ac_wine_try_cflags_saved_exeext
11967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11968 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11969 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11970 then :
11971 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11972 fi ;;
11973 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11974 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11975 if test ${ac_cv_crosscflags__Wno_format+y}
11976 then :
11977 printf %s "(cached) " >&6
11978 else $as_nop
11979 ac_wine_try_cflags_saved=$CFLAGS
11980 ac_wine_try_cflags_saved_cc=$CC
11981 ac_wine_try_cflags_saved_exeext=$ac_exeext
11982 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11983 CC="$CROSSCC"
11984 ac_exeext=".exe"
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11987 int __cdecl mainCRTStartup(void) { return 0; }
11988 _ACEOF
11989 if ac_fn_c_try_link "$LINENO"
11990 then :
11991 ac_cv_crosscflags__Wno_format=yes
11992 else $as_nop
11993 ac_cv_crosscflags__Wno_format=no
11995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11996 conftest$ac_exeext conftest.$ac_ext
11997 CFLAGS=$ac_wine_try_cflags_saved
11998 CC=$ac_wine_try_cflags_saved_cc
11999 ac_exeext=$ac_wine_try_cflags_saved_exeext
12001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
12002 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
12003 if test "x$ac_cv_crosscflags__Wno_format" = xyes
12004 then :
12005 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
12007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
12008 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
12009 if test ${ac_cv_crosscflags__Wformat_overflow+y}
12010 then :
12011 printf %s "(cached) " >&6
12012 else $as_nop
12013 ac_wine_try_cflags_saved=$CFLAGS
12014 ac_wine_try_cflags_saved_cc=$CC
12015 ac_wine_try_cflags_saved_exeext=$ac_exeext
12016 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
12017 CC="$CROSSCC"
12018 ac_exeext=".exe"
12019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12021 int __cdecl mainCRTStartup(void) { return 0; }
12022 _ACEOF
12023 if ac_fn_c_try_link "$LINENO"
12024 then :
12025 ac_cv_crosscflags__Wformat_overflow=yes
12026 else $as_nop
12027 ac_cv_crosscflags__Wformat_overflow=no
12029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12030 conftest$ac_exeext conftest.$ac_ext
12031 CFLAGS=$ac_wine_try_cflags_saved
12032 CC=$ac_wine_try_cflags_saved_cc
12033 ac_exeext=$ac_wine_try_cflags_saved_exeext
12035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
12036 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
12037 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
12038 then :
12039 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
12041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
12042 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
12043 if test ${ac_cv_crosscflags__Wnonnull+y}
12044 then :
12045 printf %s "(cached) " >&6
12046 else $as_nop
12047 ac_wine_try_cflags_saved=$CFLAGS
12048 ac_wine_try_cflags_saved_cc=$CC
12049 ac_wine_try_cflags_saved_exeext=$ac_exeext
12050 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
12051 CC="$CROSSCC"
12052 ac_exeext=".exe"
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12055 int __cdecl mainCRTStartup(void) { return 0; }
12056 _ACEOF
12057 if ac_fn_c_try_link "$LINENO"
12058 then :
12059 ac_cv_crosscflags__Wnonnull=yes
12060 else $as_nop
12061 ac_cv_crosscflags__Wnonnull=no
12063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12064 conftest$ac_exeext conftest.$ac_ext
12065 CFLAGS=$ac_wine_try_cflags_saved
12066 CC=$ac_wine_try_cflags_saved_cc
12067 ac_exeext=$ac_wine_try_cflags_saved_exeext
12069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
12070 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
12071 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
12072 then :
12073 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
12075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
12076 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
12077 if test ${ac_cv_crosscflags__mcx16+y}
12078 then :
12079 printf %s "(cached) " >&6
12080 else $as_nop
12081 ac_wine_try_cflags_saved=$CFLAGS
12082 ac_wine_try_cflags_saved_cc=$CC
12083 ac_wine_try_cflags_saved_exeext=$ac_exeext
12084 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
12085 CC="$CROSSCC"
12086 ac_exeext=".exe"
12087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12089 int __cdecl mainCRTStartup(void) { return 0; }
12090 _ACEOF
12091 if ac_fn_c_try_link "$LINENO"
12092 then :
12093 ac_cv_crosscflags__mcx16=yes
12094 else $as_nop
12095 ac_cv_crosscflags__mcx16=no
12097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12098 conftest$ac_exeext conftest.$ac_ext
12099 CFLAGS=$ac_wine_try_cflags_saved
12100 CC=$ac_wine_try_cflags_saved_cc
12101 ac_exeext=$ac_wine_try_cflags_saved_exeext
12103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
12104 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
12105 if test "x$ac_cv_crosscflags__mcx16" = xyes
12106 then :
12107 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
12108 fi ;;
12109 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
12110 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
12111 if test ${ac_cv_crosscflags__Wno_format+y}
12112 then :
12113 printf %s "(cached) " >&6
12114 else $as_nop
12115 ac_wine_try_cflags_saved=$CFLAGS
12116 ac_wine_try_cflags_saved_cc=$CC
12117 ac_wine_try_cflags_saved_exeext=$ac_exeext
12118 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
12119 CC="$CROSSCC"
12120 ac_exeext=".exe"
12121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12122 /* end confdefs.h. */
12123 int __cdecl mainCRTStartup(void) { return 0; }
12124 _ACEOF
12125 if ac_fn_c_try_link "$LINENO"
12126 then :
12127 ac_cv_crosscflags__Wno_format=yes
12128 else $as_nop
12129 ac_cv_crosscflags__Wno_format=no
12131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12132 conftest$ac_exeext conftest.$ac_ext
12133 CFLAGS=$ac_wine_try_cflags_saved
12134 CC=$ac_wine_try_cflags_saved_cc
12135 ac_exeext=$ac_wine_try_cflags_saved_exeext
12137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
12138 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
12139 if test "x$ac_cv_crosscflags__Wno_format" = xyes
12140 then :
12141 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
12142 fi ;;
12143 esac
12146 if test -z "$CROSSDEBUG"
12147 then
12148 for ac_flag in $CROSSCFLAGS; do
12149 case $ac_flag in
12150 -gdwarf*) CROSSDEBUG=dwarf ;;
12151 -gcodeview) CROSSDEBUG=pdb ;;
12152 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
12153 esac
12154 done
12157 ac_debug_format_seen=""
12158 for ac_flag in $CROSSCFLAGS; do
12159 case $ac_flag in
12160 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
12161 esac
12162 done
12163 if test "x$ac_debug_format_seen" = x
12164 then
12165 case $CROSSDEBUG in
12166 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
12167 printf %s "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
12168 if test ${ac_cv_crosscflags__gdwarf_2+y}
12169 then :
12170 printf %s "(cached) " >&6
12171 else $as_nop
12172 ac_wine_try_cflags_saved=$CFLAGS
12173 ac_wine_try_cflags_saved_cc=$CC
12174 ac_wine_try_cflags_saved_exeext=$ac_exeext
12175 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
12176 CC="$CROSSCC"
12177 ac_exeext=".exe"
12178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12179 /* end confdefs.h. */
12180 int __cdecl mainCRTStartup(void) { return 0; }
12181 _ACEOF
12182 if ac_fn_c_try_link "$LINENO"
12183 then :
12184 ac_cv_crosscflags__gdwarf_2=yes
12185 else $as_nop
12186 ac_cv_crosscflags__gdwarf_2=no
12188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12189 conftest$ac_exeext conftest.$ac_ext
12190 CFLAGS=$ac_wine_try_cflags_saved
12191 CC=$ac_wine_try_cflags_saved_cc
12192 ac_exeext=$ac_wine_try_cflags_saved_exeext
12194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
12195 printf "%s\n" "$ac_cv_crosscflags__gdwarf_2" >&6; }
12196 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes
12197 then :
12198 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
12200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
12201 printf %s "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
12202 if test ${ac_cv_crosscflags__gstrict_dwarf+y}
12203 then :
12204 printf %s "(cached) " >&6
12205 else $as_nop
12206 ac_wine_try_cflags_saved=$CFLAGS
12207 ac_wine_try_cflags_saved_cc=$CC
12208 ac_wine_try_cflags_saved_exeext=$ac_exeext
12209 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
12210 CC="$CROSSCC"
12211 ac_exeext=".exe"
12212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12213 /* end confdefs.h. */
12214 int __cdecl mainCRTStartup(void) { return 0; }
12215 _ACEOF
12216 if ac_fn_c_try_link "$LINENO"
12217 then :
12218 ac_cv_crosscflags__gstrict_dwarf=yes
12219 else $as_nop
12220 ac_cv_crosscflags__gstrict_dwarf=no
12222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12223 conftest$ac_exeext conftest.$ac_ext
12224 CFLAGS=$ac_wine_try_cflags_saved
12225 CC=$ac_wine_try_cflags_saved_cc
12226 ac_exeext=$ac_wine_try_cflags_saved_exeext
12228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
12229 printf "%s\n" "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
12230 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes
12231 then :
12232 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
12233 fi ;;
12234 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
12235 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
12236 if test ${ac_cv_crosscflags__gcodeview+y}
12237 then :
12238 printf %s "(cached) " >&6
12239 else $as_nop
12240 ac_wine_try_cflags_saved=$CFLAGS
12241 ac_wine_try_cflags_saved_cc=$CC
12242 ac_wine_try_cflags_saved_exeext=$ac_exeext
12243 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
12244 CC="$CROSSCC"
12245 ac_exeext=".exe"
12246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12247 /* end confdefs.h. */
12248 int __cdecl mainCRTStartup(void) { return 0; }
12249 _ACEOF
12250 if ac_fn_c_try_link "$LINENO"
12251 then :
12252 ac_cv_crosscflags__gcodeview=yes
12253 else $as_nop
12254 ac_cv_crosscflags__gcodeview=no
12256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12257 conftest$ac_exeext conftest.$ac_ext
12258 CFLAGS=$ac_wine_try_cflags_saved
12259 CC=$ac_wine_try_cflags_saved_cc
12260 ac_exeext=$ac_wine_try_cflags_saved_exeext
12262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
12263 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
12264 if test "x$ac_cv_crosscflags__gcodeview" = xyes
12265 then :
12266 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
12267 fi ;;
12268 esac
12271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
12272 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
12273 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
12274 then :
12275 printf %s "(cached) " >&6
12276 else $as_nop
12277 ac_wine_try_cflags_saved=$CFLAGS
12278 ac_wine_try_cflags_saved_cc=$CC
12279 ac_wine_try_cflags_saved_exeext=$ac_exeext
12280 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
12281 CC="$CROSSCC"
12282 ac_exeext=".exe"
12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12285 int __cdecl mainCRTStartup(void) { return 0; }
12286 _ACEOF
12287 if ac_fn_c_try_link "$LINENO"
12288 then :
12289 ac_cv_crosscflags__fexcess_precision_standard=yes
12290 else $as_nop
12291 ac_cv_crosscflags__fexcess_precision_standard=no
12293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12294 conftest$ac_exeext conftest.$ac_ext
12295 CFLAGS=$ac_wine_try_cflags_saved
12296 CC=$ac_wine_try_cflags_saved_cc
12297 ac_exeext=$ac_wine_try_cflags_saved_exeext
12299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
12300 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
12301 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
12302 then :
12303 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
12307 if test "x$enable_werror" = "xyes"
12308 then
12309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
12310 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
12311 if test ${ac_cv_crosscflags__Werror+y}
12312 then :
12313 printf %s "(cached) " >&6
12314 else $as_nop
12315 ac_wine_try_cflags_saved=$CFLAGS
12316 ac_wine_try_cflags_saved_cc=$CC
12317 ac_wine_try_cflags_saved_exeext=$ac_exeext
12318 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
12319 CC="$CROSSCC"
12320 ac_exeext=".exe"
12321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12323 int __cdecl mainCRTStartup(void) { return 0; }
12324 _ACEOF
12325 if ac_fn_c_try_link "$LINENO"
12326 then :
12327 ac_cv_crosscflags__Werror=yes
12328 else $as_nop
12329 ac_cv_crosscflags__Werror=no
12331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12332 conftest$ac_exeext conftest.$ac_ext
12333 CFLAGS=$ac_wine_try_cflags_saved
12334 CC=$ac_wine_try_cflags_saved_cc
12335 ac_exeext=$ac_wine_try_cflags_saved_exeext
12337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
12338 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
12339 if test "x$ac_cv_crosscflags__Werror" = xyes
12340 then :
12341 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
12344 if test "x$enable_build_id" = "xyes"
12345 then
12346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
12347 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
12348 if test ${ac_cv_crosscflags__Wl___build_id+y}
12349 then :
12350 printf %s "(cached) " >&6
12351 else $as_nop
12352 ac_wine_try_cflags_saved=$CFLAGS
12353 ac_wine_try_cflags_saved_cc=$CC
12354 ac_wine_try_cflags_saved_exeext=$ac_exeext
12355 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
12356 CC="$CROSSCC"
12357 ac_exeext=".exe"
12358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12359 /* end confdefs.h. */
12360 int __cdecl mainCRTStartup(void) { return 0; }
12361 _ACEOF
12362 if ac_fn_c_try_link "$LINENO"
12363 then :
12364 ac_cv_crosscflags__Wl___build_id=yes
12365 else $as_nop
12366 ac_cv_crosscflags__Wl___build_id=no
12368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12369 conftest$ac_exeext conftest.$ac_ext
12370 CFLAGS=$ac_wine_try_cflags_saved
12371 CC=$ac_wine_try_cflags_saved_cc
12372 ac_exeext=$ac_wine_try_cflags_saved_exeext
12374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
12375 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
12376 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
12377 then :
12378 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
12379 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
12383 CFLAGS=$saved_CFLAGS
12384 LDFLAGS=$saved_LDFLAGS
12385 CC="$ac_save_CC"
12388 if test "x$CROSSTARGET" = "x"
12389 then :
12390 case "x$with_mingw" in
12391 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
12392 xno) ;;
12393 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
12394 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12395 esac
12400 if ${FAUDIO_PE_CFLAGS:+false} :
12401 then :
12402 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
12403 else $as_nop
12404 enable_faudio=no
12406 if ${FAUDIO_PE_LIBS:+false} :
12407 then :
12408 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
12409 else $as_nop
12410 enable_faudio=no
12412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
12413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
12415 if ${GSM_PE_CFLAGS:+false} :
12416 then :
12417 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
12418 else $as_nop
12419 enable_gsm=no
12421 if ${GSM_PE_LIBS:+false} :
12422 then :
12423 GSM_PE_LIBS=gsm
12424 else $as_nop
12425 enable_gsm=no
12427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
12428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
12430 if ${JPEG_PE_CFLAGS:+false} :
12431 then :
12432 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
12433 else $as_nop
12434 enable_jpeg=no
12436 if ${JPEG_PE_LIBS:+false} :
12437 then :
12438 JPEG_PE_LIBS=jpeg
12439 else $as_nop
12440 enable_jpeg=no
12442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
12443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
12445 if ${JXR_PE_CFLAGS:+false} :
12446 then :
12447 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
12448 else $as_nop
12449 enable_jxr=no
12451 if ${JXR_PE_LIBS:+false} :
12452 then :
12453 JXR_PE_LIBS=jxr
12454 else $as_nop
12455 enable_jxr=no
12457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
12458 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
12460 if ${LCMS2_PE_CFLAGS:+false} :
12461 then :
12462 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
12463 else $as_nop
12464 enable_lcms2=no
12466 if ${LCMS2_PE_LIBS:+false} :
12467 then :
12468 LCMS2_PE_LIBS=lcms2
12469 else $as_nop
12470 enable_lcms2=no
12472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
12473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
12475 if ${MPG123_PE_CFLAGS:+false} :
12476 then :
12477 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
12478 else $as_nop
12479 enable_mpg123=no
12481 if ${MPG123_PE_LIBS:+false} :
12482 then :
12483 MPG123_PE_LIBS=mpg123
12484 else $as_nop
12485 enable_mpg123=no
12487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
12488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
12490 if ${PNG_PE_CFLAGS:+false} :
12491 then :
12492 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
12493 else $as_nop
12494 enable_png=no
12496 if ${PNG_PE_LIBS:+false} :
12497 then :
12498 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
12499 else $as_nop
12500 enable_png=no
12502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
12503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
12505 if ${TIFF_PE_CFLAGS:+false} :
12506 then :
12507 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
12508 else $as_nop
12509 enable_tiff=no
12511 if ${TIFF_PE_LIBS:+false} :
12512 then :
12513 TIFF_PE_LIBS=tiff
12514 else $as_nop
12515 enable_tiff=no
12517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
12518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
12520 if ${XML2_PE_CFLAGS:+false} :
12521 then :
12522 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
12523 else $as_nop
12524 enable_libxml2=no
12526 if ${XML2_PE_LIBS:+false} :
12527 then :
12528 XML2_PE_LIBS=xml2
12529 else $as_nop
12530 enable_libxml2=no
12532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxml2 cflags: $XML2_PE_CFLAGS" >&5
12533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxml2 libs: $XML2_PE_LIBS" >&5
12535 if ${XSLT_PE_CFLAGS:+false} :
12536 then :
12537 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
12538 else $as_nop
12539 enable_libxslt=no
12541 if ${XSLT_PE_LIBS:+false} :
12542 then :
12543 XSLT_PE_LIBS=xslt
12544 else $as_nop
12545 enable_libxslt=no
12547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_PE_CFLAGS" >&5
12548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_PE_LIBS" >&5
12550 if ${ZLIB_PE_CFLAGS:+false} :
12551 then :
12552 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
12553 else $as_nop
12554 enable_zlib=no
12556 if ${ZLIB_PE_LIBS:+false} :
12557 then :
12558 ZLIB_PE_LIBS=z
12559 else $as_nop
12560 enable_zlib=no
12562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
12563 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
12567 if test "$ac_cv_header_pthread_h" = "yes"
12568 then
12569 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
12570 if test "x$ac_cv_func_pthread_create" = xyes
12571 then :
12573 else $as_nop
12574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
12575 printf %s "checking for pthread_create in -lpthread... " >&6; }
12576 if test ${ac_cv_lib_pthread_pthread_create+y}
12577 then :
12578 printf %s "(cached) " >&6
12579 else $as_nop
12580 ac_check_lib_save_LIBS=$LIBS
12581 LIBS="-lpthread $LIBS"
12582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12583 /* end confdefs.h. */
12585 /* Override any GCC internal prototype to avoid an error.
12586 Use char because int might match the return type of a GCC
12587 builtin and then its argument prototype would still apply. */
12588 char pthread_create ();
12590 main (void)
12592 return pthread_create ();
12594 return 0;
12596 _ACEOF
12597 if ac_fn_c_try_link "$LINENO"
12598 then :
12599 ac_cv_lib_pthread_pthread_create=yes
12600 else $as_nop
12601 ac_cv_lib_pthread_pthread_create=no
12603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12604 conftest$ac_exeext conftest.$ac_ext
12605 LIBS=$ac_check_lib_save_LIBS
12607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
12608 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
12609 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
12610 then :
12611 PTHREAD_LIBS="-lpthread"
12618 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
12619 then :
12620 case "x$with_pthread" in
12621 xno) ;;
12622 *) as_fn_error $? "pthread ${notice_platform}development files not found.
12623 Wine cannot support threads without libpthread.
12624 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
12625 esac
12630 ac_ext=c
12631 ac_cpp='$CPP $CPPFLAGS'
12632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
12636 printf %s "checking how to run the C preprocessor... " >&6; }
12637 # On Suns, sometimes $CPP names a directory.
12638 if test -n "$CPP" && test -d "$CPP"; then
12639 CPP=
12641 if test -z "$CPP"; then
12642 if test ${ac_cv_prog_CPP+y}
12643 then :
12644 printf %s "(cached) " >&6
12645 else $as_nop
12646 # Double quotes because $CC needs to be expanded
12647 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
12649 ac_preproc_ok=false
12650 for ac_c_preproc_warn_flag in '' yes
12652 # Use a header file that comes with gcc, so configuring glibc
12653 # with a fresh cross-compiler works.
12654 # On the NeXT, cc -E runs the code through the compiler's parser,
12655 # not just through cpp. "Syntax error" is here to catch this case.
12656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12657 /* end confdefs.h. */
12658 #include <limits.h>
12659 Syntax error
12660 _ACEOF
12661 if ac_fn_c_try_cpp "$LINENO"
12662 then :
12664 else $as_nop
12665 # Broken: fails on valid input.
12666 continue
12668 rm -f conftest.err conftest.i conftest.$ac_ext
12670 # OK, works on sane cases. Now check whether nonexistent headers
12671 # can be detected and how.
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12674 #include <ac_nonexistent.h>
12675 _ACEOF
12676 if ac_fn_c_try_cpp "$LINENO"
12677 then :
12678 # Broken: success on invalid input.
12679 continue
12680 else $as_nop
12681 # Passes both tests.
12682 ac_preproc_ok=:
12683 break
12685 rm -f conftest.err conftest.i conftest.$ac_ext
12687 done
12688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12689 rm -f conftest.i conftest.err conftest.$ac_ext
12690 if $ac_preproc_ok
12691 then :
12692 break
12695 done
12696 ac_cv_prog_CPP=$CPP
12699 CPP=$ac_cv_prog_CPP
12700 else
12701 ac_cv_prog_CPP=$CPP
12703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
12704 printf "%s\n" "$CPP" >&6; }
12705 ac_preproc_ok=false
12706 for ac_c_preproc_warn_flag in '' yes
12708 # Use a header file that comes with gcc, so configuring glibc
12709 # with a fresh cross-compiler works.
12710 # On the NeXT, cc -E runs the code through the compiler's parser,
12711 # not just through cpp. "Syntax error" is here to catch this case.
12712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12713 /* end confdefs.h. */
12714 #include <limits.h>
12715 Syntax error
12716 _ACEOF
12717 if ac_fn_c_try_cpp "$LINENO"
12718 then :
12720 else $as_nop
12721 # Broken: fails on valid input.
12722 continue
12724 rm -f conftest.err conftest.i conftest.$ac_ext
12726 # OK, works on sane cases. Now check whether nonexistent headers
12727 # can be detected and how.
12728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12729 /* end confdefs.h. */
12730 #include <ac_nonexistent.h>
12731 _ACEOF
12732 if ac_fn_c_try_cpp "$LINENO"
12733 then :
12734 # Broken: success on invalid input.
12735 continue
12736 else $as_nop
12737 # Passes both tests.
12738 ac_preproc_ok=:
12739 break
12741 rm -f conftest.err conftest.i conftest.$ac_ext
12743 done
12744 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12745 rm -f conftest.i conftest.err conftest.$ac_ext
12746 if $ac_preproc_ok
12747 then :
12749 else $as_nop
12750 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12751 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
12752 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
12753 See \`config.log' for more details" "$LINENO" 5; }
12756 ac_ext=c
12757 ac_cpp='$CPP $CPPFLAGS'
12758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
12764 printf %s "checking for X... " >&6; }
12767 # Check whether --with-x was given.
12768 if test ${with_x+y}
12769 then :
12770 withval=$with_x;
12773 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12774 if test "x$with_x" = xno; then
12775 # The user explicitly disabled X.
12776 have_x=disabled
12777 else
12778 case $x_includes,$x_libraries in #(
12779 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
12780 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
12781 then :
12782 printf %s "(cached) " >&6
12783 else $as_nop
12784 # One or both of the vars are not set, and there is no cached value.
12785 ac_x_includes=no
12786 ac_x_libraries=no
12787 # Do we need to do anything special at all?
12788 ac_save_LIBS=$LIBS
12789 LIBS="-lX11 $LIBS"
12790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12791 /* end confdefs.h. */
12792 #include <X11/Xlib.h>
12794 main (void)
12796 XrmInitialize ()
12798 return 0;
12800 _ACEOF
12801 if ac_fn_c_try_link "$LINENO"
12802 then :
12803 # We can compile and link X programs with no special options.
12804 ac_x_includes=
12805 ac_x_libraries=
12807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12808 conftest$ac_exeext conftest.$ac_ext
12809 LIBS="$ac_save_LIBS"
12810 # If that didn't work, only try xmkmf and file system searches
12811 # for native compilation.
12812 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
12813 then :
12814 rm -f -r conftest.dir
12815 if mkdir conftest.dir; then
12816 cd conftest.dir
12817 cat >Imakefile <<'_ACEOF'
12818 incroot:
12819 @echo incroot='${INCROOT}'
12820 usrlibdir:
12821 @echo usrlibdir='${USRLIBDIR}'
12822 libdir:
12823 @echo libdir='${LIBDIR}'
12824 _ACEOF
12825 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
12826 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12827 for ac_var in incroot usrlibdir libdir; do
12828 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
12829 done
12830 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12831 for ac_extension in a so sl dylib la dll; do
12832 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
12833 test -f "$ac_im_libdir/libX11.$ac_extension"; then
12834 ac_im_usrlibdir=$ac_im_libdir; break
12836 done
12837 # Screen out bogus values from the imake configuration. They are
12838 # bogus both because they are the default anyway, and because
12839 # using them would break gcc on systems where it needs fixed includes.
12840 case $ac_im_incroot in
12841 /usr/include) ac_x_includes= ;;
12842 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
12843 esac
12844 case $ac_im_usrlibdir in
12845 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
12846 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
12847 esac
12849 cd ..
12850 rm -f -r conftest.dir
12853 # Standard set of common directories for X headers.
12854 # Check X11 before X11Rn because it is often a symlink to the current release.
12855 ac_x_header_dirs='
12856 /usr/X11/include
12857 /usr/X11R7/include
12858 /usr/X11R6/include
12859 /usr/X11R5/include
12860 /usr/X11R4/include
12862 /usr/include/X11
12863 /usr/include/X11R7
12864 /usr/include/X11R6
12865 /usr/include/X11R5
12866 /usr/include/X11R4
12868 /usr/local/X11/include
12869 /usr/local/X11R7/include
12870 /usr/local/X11R6/include
12871 /usr/local/X11R5/include
12872 /usr/local/X11R4/include
12874 /usr/local/include/X11
12875 /usr/local/include/X11R7
12876 /usr/local/include/X11R6
12877 /usr/local/include/X11R5
12878 /usr/local/include/X11R4
12880 /opt/X11/include
12882 /usr/X386/include
12883 /usr/x386/include
12884 /usr/XFree86/include/X11
12886 /usr/include
12887 /usr/local/include
12888 /usr/unsupported/include
12889 /usr/athena/include
12890 /usr/local/x11r5/include
12891 /usr/lpp/Xamples/include
12893 /usr/openwin/include
12894 /usr/openwin/share/include'
12896 if test "$ac_x_includes" = no; then
12897 # Guess where to find include files, by looking for Xlib.h.
12898 # First, try using that file with no special directory specified.
12899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12900 /* end confdefs.h. */
12901 #include <X11/Xlib.h>
12902 _ACEOF
12903 if ac_fn_c_try_cpp "$LINENO"
12904 then :
12905 # We can compile using X headers with no special include directory.
12906 ac_x_includes=
12907 else $as_nop
12908 for ac_dir in $ac_x_header_dirs; do
12909 if test -r "$ac_dir/X11/Xlib.h"; then
12910 ac_x_includes=$ac_dir
12911 break
12913 done
12915 rm -f conftest.err conftest.i conftest.$ac_ext
12916 fi # $ac_x_includes = no
12918 if test "$ac_x_libraries" = no; then
12919 # Check for the libraries.
12920 # See if we find them without any special options.
12921 # Don't add to $LIBS permanently.
12922 ac_save_LIBS=$LIBS
12923 LIBS="-lX11 $LIBS"
12924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12926 #include <X11/Xlib.h>
12928 main (void)
12930 XrmInitialize ()
12932 return 0;
12934 _ACEOF
12935 if ac_fn_c_try_link "$LINENO"
12936 then :
12937 LIBS=$ac_save_LIBS
12938 # We can link X programs with no special library path.
12939 ac_x_libraries=
12940 else $as_nop
12941 LIBS=$ac_save_LIBS
12942 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
12944 # Don't even attempt the hair of trying to link an X program!
12945 for ac_extension in a so sl dylib la dll; do
12946 if test -r "$ac_dir/libX11.$ac_extension"; then
12947 ac_x_libraries=$ac_dir
12948 break 2
12950 done
12951 done
12953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12954 conftest$ac_exeext conftest.$ac_ext
12955 fi # $ac_x_libraries = no
12958 # Record the results.
12959 case $ac_x_includes,$ac_x_libraries in #(
12960 no,* | *,no | *\'*) :
12961 # Didn't find X, or a directory has "'" in its name.
12962 ac_cv_have_x="have_x=no" ;; #(
12963 *) :
12964 # Record where we found X for the cache.
12965 ac_cv_have_x="have_x=yes\
12966 ac_x_includes='$ac_x_includes'\
12967 ac_x_libraries='$ac_x_libraries'" ;;
12968 esac
12970 ;; #(
12971 *) have_x=yes;;
12972 esac
12973 eval "$ac_cv_have_x"
12974 fi # $with_x != no
12976 if test "$have_x" != yes; then
12977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
12978 printf "%s\n" "$have_x" >&6; }
12979 no_x=yes
12980 else
12981 # If each of the values was on the command line, it overrides each guess.
12982 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
12983 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
12984 # Update the cache value to reflect the command line values.
12985 ac_cv_have_x="have_x=yes\
12986 ac_x_includes='$x_includes'\
12987 ac_x_libraries='$x_libraries'"
12988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
12989 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
12992 if test "$no_x" = yes; then
12993 # Not all programs may use this symbol, but it does not hurt to define it.
12995 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
12997 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12998 else
12999 if test -n "$x_includes"; then
13000 X_CFLAGS="$X_CFLAGS -I$x_includes"
13003 # It would also be nice to do this for all -L options, not just this one.
13004 if test -n "$x_libraries"; then
13005 X_LIBS="$X_LIBS -L$x_libraries"
13006 # For Solaris; some versions of Sun CC require a space after -R and
13007 # others require no space. Words are not sufficient . . . .
13008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13009 printf %s "checking whether -R must be followed by a space... " >&6; }
13010 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13011 ac_xsave_c_werror_flag=$ac_c_werror_flag
13012 ac_c_werror_flag=yes
13013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13014 /* end confdefs.h. */
13017 main (void)
13021 return 0;
13023 _ACEOF
13024 if ac_fn_c_try_link "$LINENO"
13025 then :
13026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13027 printf "%s\n" "no" >&6; }
13028 X_LIBS="$X_LIBS -R$x_libraries"
13029 else $as_nop
13030 LIBS="$ac_xsave_LIBS -R $x_libraries"
13031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13032 /* end confdefs.h. */
13035 main (void)
13039 return 0;
13041 _ACEOF
13042 if ac_fn_c_try_link "$LINENO"
13043 then :
13044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13045 printf "%s\n" "yes" >&6; }
13046 X_LIBS="$X_LIBS -R $x_libraries"
13047 else $as_nop
13048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13049 printf "%s\n" "neither works" >&6; }
13051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13052 conftest$ac_exeext conftest.$ac_ext
13054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13055 conftest$ac_exeext conftest.$ac_ext
13056 ac_c_werror_flag=$ac_xsave_c_werror_flag
13057 LIBS=$ac_xsave_LIBS
13060 # Check for system-dependent libraries X programs must link with.
13061 # Do this before checking for the system-independent R6 libraries
13062 # (-lICE), since we may need -lsocket or whatever for X linking.
13064 if test "$ISC" = yes; then
13065 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13066 else
13067 # Martyn Johnson says this is needed for Ultrix, if the X
13068 # libraries were built with DECnet support. And Karl Berry says
13069 # the Alpha needs dnet_stub (dnet does not exist).
13070 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13072 /* end confdefs.h. */
13074 /* Override any GCC internal prototype to avoid an error.
13075 Use char because int might match the return type of a GCC
13076 builtin and then its argument prototype would still apply. */
13077 char XOpenDisplay ();
13079 main (void)
13081 return XOpenDisplay ();
13083 return 0;
13085 _ACEOF
13086 if ac_fn_c_try_link "$LINENO"
13087 then :
13089 else $as_nop
13090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13091 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13092 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13093 then :
13094 printf %s "(cached) " >&6
13095 else $as_nop
13096 ac_check_lib_save_LIBS=$LIBS
13097 LIBS="-ldnet $LIBS"
13098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13099 /* end confdefs.h. */
13101 /* Override any GCC internal prototype to avoid an error.
13102 Use char because int might match the return type of a GCC
13103 builtin and then its argument prototype would still apply. */
13104 char dnet_ntoa ();
13106 main (void)
13108 return dnet_ntoa ();
13110 return 0;
13112 _ACEOF
13113 if ac_fn_c_try_link "$LINENO"
13114 then :
13115 ac_cv_lib_dnet_dnet_ntoa=yes
13116 else $as_nop
13117 ac_cv_lib_dnet_dnet_ntoa=no
13119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13120 conftest$ac_exeext conftest.$ac_ext
13121 LIBS=$ac_check_lib_save_LIBS
13123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13124 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13125 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13126 then :
13127 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13130 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13132 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13133 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13134 then :
13135 printf %s "(cached) " >&6
13136 else $as_nop
13137 ac_check_lib_save_LIBS=$LIBS
13138 LIBS="-ldnet_stub $LIBS"
13139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13140 /* end confdefs.h. */
13142 /* Override any GCC internal prototype to avoid an error.
13143 Use char because int might match the return type of a GCC
13144 builtin and then its argument prototype would still apply. */
13145 char dnet_ntoa ();
13147 main (void)
13149 return dnet_ntoa ();
13151 return 0;
13153 _ACEOF
13154 if ac_fn_c_try_link "$LINENO"
13155 then :
13156 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13157 else $as_nop
13158 ac_cv_lib_dnet_stub_dnet_ntoa=no
13160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13161 conftest$ac_exeext conftest.$ac_ext
13162 LIBS=$ac_check_lib_save_LIBS
13164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13165 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13166 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13167 then :
13168 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13173 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13174 conftest$ac_exeext conftest.$ac_ext
13175 LIBS="$ac_xsave_LIBS"
13177 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13178 # to get the SysV transport functions.
13179 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13180 # needs -lnsl.
13181 # The nsl library prevents programs from opening the X display
13182 # on Irix 5.2, according to T.E. Dickey.
13183 # The functions gethostbyname, getservbyname, and inet_addr are
13184 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13185 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13186 if test "x$ac_cv_func_gethostbyname" = xyes
13187 then :
13191 if test $ac_cv_func_gethostbyname = no; then
13192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13193 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13194 if test ${ac_cv_lib_nsl_gethostbyname+y}
13195 then :
13196 printf %s "(cached) " >&6
13197 else $as_nop
13198 ac_check_lib_save_LIBS=$LIBS
13199 LIBS="-lnsl $LIBS"
13200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13201 /* end confdefs.h. */
13203 /* Override any GCC internal prototype to avoid an error.
13204 Use char because int might match the return type of a GCC
13205 builtin and then its argument prototype would still apply. */
13206 char gethostbyname ();
13208 main (void)
13210 return gethostbyname ();
13212 return 0;
13214 _ACEOF
13215 if ac_fn_c_try_link "$LINENO"
13216 then :
13217 ac_cv_lib_nsl_gethostbyname=yes
13218 else $as_nop
13219 ac_cv_lib_nsl_gethostbyname=no
13221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13222 conftest$ac_exeext conftest.$ac_ext
13223 LIBS=$ac_check_lib_save_LIBS
13225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13226 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13227 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13228 then :
13229 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13232 if test $ac_cv_lib_nsl_gethostbyname = no; then
13233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13234 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13235 if test ${ac_cv_lib_bsd_gethostbyname+y}
13236 then :
13237 printf %s "(cached) " >&6
13238 else $as_nop
13239 ac_check_lib_save_LIBS=$LIBS
13240 LIBS="-lbsd $LIBS"
13241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13242 /* end confdefs.h. */
13244 /* Override any GCC internal prototype to avoid an error.
13245 Use char because int might match the return type of a GCC
13246 builtin and then its argument prototype would still apply. */
13247 char gethostbyname ();
13249 main (void)
13251 return gethostbyname ();
13253 return 0;
13255 _ACEOF
13256 if ac_fn_c_try_link "$LINENO"
13257 then :
13258 ac_cv_lib_bsd_gethostbyname=yes
13259 else $as_nop
13260 ac_cv_lib_bsd_gethostbyname=no
13262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13263 conftest$ac_exeext conftest.$ac_ext
13264 LIBS=$ac_check_lib_save_LIBS
13266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13267 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13268 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13269 then :
13270 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13276 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13277 # socket/setsockopt and other routines are undefined under SCO ODT
13278 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13279 # on later versions), says Simon Leinen: it contains gethostby*
13280 # variants that don't use the name server (or something). -lsocket
13281 # must be given before -lnsl if both are needed. We assume that
13282 # if connect needs -lnsl, so does gethostbyname.
13283 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13284 if test "x$ac_cv_func_connect" = xyes
13285 then :
13289 if test $ac_cv_func_connect = no; then
13290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13291 printf %s "checking for connect in -lsocket... " >&6; }
13292 if test ${ac_cv_lib_socket_connect+y}
13293 then :
13294 printf %s "(cached) " >&6
13295 else $as_nop
13296 ac_check_lib_save_LIBS=$LIBS
13297 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13301 /* Override any GCC internal prototype to avoid an error.
13302 Use char because int might match the return type of a GCC
13303 builtin and then its argument prototype would still apply. */
13304 char connect ();
13306 main (void)
13308 return connect ();
13310 return 0;
13312 _ACEOF
13313 if ac_fn_c_try_link "$LINENO"
13314 then :
13315 ac_cv_lib_socket_connect=yes
13316 else $as_nop
13317 ac_cv_lib_socket_connect=no
13319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13320 conftest$ac_exeext conftest.$ac_ext
13321 LIBS=$ac_check_lib_save_LIBS
13323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13324 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
13325 if test "x$ac_cv_lib_socket_connect" = xyes
13326 then :
13327 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
13332 # Guillermo Gomez says -lposix is necessary on A/UX.
13333 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
13334 if test "x$ac_cv_func_remove" = xyes
13335 then :
13339 if test $ac_cv_func_remove = no; then
13340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
13341 printf %s "checking for remove in -lposix... " >&6; }
13342 if test ${ac_cv_lib_posix_remove+y}
13343 then :
13344 printf %s "(cached) " >&6
13345 else $as_nop
13346 ac_check_lib_save_LIBS=$LIBS
13347 LIBS="-lposix $LIBS"
13348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13349 /* end confdefs.h. */
13351 /* Override any GCC internal prototype to avoid an error.
13352 Use char because int might match the return type of a GCC
13353 builtin and then its argument prototype would still apply. */
13354 char remove ();
13356 main (void)
13358 return remove ();
13360 return 0;
13362 _ACEOF
13363 if ac_fn_c_try_link "$LINENO"
13364 then :
13365 ac_cv_lib_posix_remove=yes
13366 else $as_nop
13367 ac_cv_lib_posix_remove=no
13369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13370 conftest$ac_exeext conftest.$ac_ext
13371 LIBS=$ac_check_lib_save_LIBS
13373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
13374 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
13375 if test "x$ac_cv_lib_posix_remove" = xyes
13376 then :
13377 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
13382 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13383 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
13384 if test "x$ac_cv_func_shmat" = xyes
13385 then :
13389 if test $ac_cv_func_shmat = no; then
13390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
13391 printf %s "checking for shmat in -lipc... " >&6; }
13392 if test ${ac_cv_lib_ipc_shmat+y}
13393 then :
13394 printf %s "(cached) " >&6
13395 else $as_nop
13396 ac_check_lib_save_LIBS=$LIBS
13397 LIBS="-lipc $LIBS"
13398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13399 /* end confdefs.h. */
13401 /* Override any GCC internal prototype to avoid an error.
13402 Use char because int might match the return type of a GCC
13403 builtin and then its argument prototype would still apply. */
13404 char shmat ();
13406 main (void)
13408 return shmat ();
13410 return 0;
13412 _ACEOF
13413 if ac_fn_c_try_link "$LINENO"
13414 then :
13415 ac_cv_lib_ipc_shmat=yes
13416 else $as_nop
13417 ac_cv_lib_ipc_shmat=no
13419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13420 conftest$ac_exeext conftest.$ac_ext
13421 LIBS=$ac_check_lib_save_LIBS
13423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
13424 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
13425 if test "x$ac_cv_lib_ipc_shmat" = xyes
13426 then :
13427 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13433 # Check for libraries that X11R6 Xt/Xaw programs need.
13434 ac_save_LDFLAGS=$LDFLAGS
13435 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
13436 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13437 # check for ICE first), but we must link in the order -lSM -lICE or
13438 # we get undefined symbols. So assume we have SM if we have ICE.
13439 # These have to be linked with before -lX11, unlike the other
13440 # libraries we check for below, so use a different variable.
13441 # John Interrante, Karl Berry
13442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
13443 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
13444 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
13445 then :
13446 printf %s "(cached) " >&6
13447 else $as_nop
13448 ac_check_lib_save_LIBS=$LIBS
13449 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13451 /* end confdefs.h. */
13453 /* Override any GCC internal prototype to avoid an error.
13454 Use char because int might match the return type of a GCC
13455 builtin and then its argument prototype would still apply. */
13456 char IceConnectionNumber ();
13458 main (void)
13460 return IceConnectionNumber ();
13462 return 0;
13464 _ACEOF
13465 if ac_fn_c_try_link "$LINENO"
13466 then :
13467 ac_cv_lib_ICE_IceConnectionNumber=yes
13468 else $as_nop
13469 ac_cv_lib_ICE_IceConnectionNumber=no
13471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13472 conftest$ac_exeext conftest.$ac_ext
13473 LIBS=$ac_check_lib_save_LIBS
13475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
13476 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
13477 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
13478 then :
13479 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13482 LDFLAGS=$ac_save_LDFLAGS
13487 if test "$have_x" = "yes"
13488 then
13489 ac_save_CPPFLAGS="$CPPFLAGS"
13490 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
13492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
13493 printf %s "checking for -lX11... " >&6; }
13494 if test ${ac_cv_lib_soname_X11+y}
13495 then :
13496 printf %s "(cached) " >&6
13497 else $as_nop
13498 ac_check_soname_save_LIBS=$LIBS
13499 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
13500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13501 /* end confdefs.h. */
13503 /* Override any GCC internal prototype to avoid an error.
13504 Use char because int might match the return type of a GCC
13505 builtin and then its argument prototype would still apply. */
13506 char XCreateWindow ();
13508 main (void)
13510 return XCreateWindow ();
13512 return 0;
13514 _ACEOF
13515 if ac_fn_c_try_link "$LINENO"
13516 then :
13517 case "$LIBEXT" in
13518 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13519 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'` ;;
13520 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13521 if ${ac_cv_lib_soname_X11:+false} :
13522 then :
13523 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13524 fi ;;
13525 esac
13526 else $as_nop
13527 ac_cv_lib_soname_X11=
13529 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13530 conftest$ac_exeext conftest.$ac_ext
13531 LIBS=$ac_check_soname_save_LIBS
13533 if ${ac_cv_lib_soname_X11:+false} :
13534 then :
13535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13536 printf "%s\n" "not found" >&6; }
13538 else $as_nop
13539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
13540 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
13542 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
13546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
13547 printf %s "checking for -lXext... " >&6; }
13548 if test ${ac_cv_lib_soname_Xext+y}
13549 then :
13550 printf %s "(cached) " >&6
13551 else $as_nop
13552 ac_check_soname_save_LIBS=$LIBS
13553 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
13554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13557 /* Override any GCC internal prototype to avoid an error.
13558 Use char because int might match the return type of a GCC
13559 builtin and then its argument prototype would still apply. */
13560 char XextCreateExtension ();
13562 main (void)
13564 return XextCreateExtension ();
13566 return 0;
13568 _ACEOF
13569 if ac_fn_c_try_link "$LINENO"
13570 then :
13571 case "$LIBEXT" in
13572 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13573 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'` ;;
13574 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13575 if ${ac_cv_lib_soname_Xext:+false} :
13576 then :
13577 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13578 fi ;;
13579 esac
13580 else $as_nop
13581 ac_cv_lib_soname_Xext=
13583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13584 conftest$ac_exeext conftest.$ac_ext
13585 LIBS=$ac_check_soname_save_LIBS
13587 if ${ac_cv_lib_soname_Xext:+false} :
13588 then :
13589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13590 printf "%s\n" "not found" >&6; }
13592 else $as_nop
13593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
13594 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
13596 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
13598 X_LIBS="$X_LIBS -lXext"
13600 X_LIBS="$X_LIBS -lX11"
13602 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
13603 # include <X11/Xlib.h>
13604 #endif
13605 #ifdef HAVE_X11_XUTIL_H
13606 # include <X11/Xutil.h>
13607 #endif
13609 if test "x$ac_cv_header_X11_Xlib_h" = xyes
13610 then :
13611 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
13614 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
13615 # include <X11/Xlib.h>
13616 #endif
13617 #ifdef HAVE_X11_XUTIL_H
13618 # include <X11/Xutil.h>
13619 #endif
13621 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
13622 then :
13623 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
13626 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
13627 # include <X11/Xlib.h>
13628 #endif
13629 #ifdef HAVE_X11_XUTIL_H
13630 # include <X11/Xutil.h>
13631 #endif
13633 if test "x$ac_cv_header_X11_Xutil_h" = xyes
13634 then :
13635 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
13638 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
13639 # include <X11/Xlib.h>
13640 #endif
13641 #ifdef HAVE_X11_XUTIL_H
13642 # include <X11/Xutil.h>
13643 #endif
13645 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
13646 then :
13647 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
13650 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
13651 # include <X11/Xlib.h>
13652 #endif
13653 #ifdef HAVE_X11_XUTIL_H
13654 # include <X11/Xutil.h>
13655 #endif
13657 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
13658 then :
13659 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
13662 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
13663 # include <X11/Xlib.h>
13664 #endif
13665 #ifdef HAVE_X11_XUTIL_H
13666 # include <X11/Xutil.h>
13667 #endif
13669 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
13670 then :
13671 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
13674 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
13675 # include <X11/Xlib.h>
13676 #endif
13677 #ifdef HAVE_X11_XUTIL_H
13678 # include <X11/Xutil.h>
13679 #endif
13681 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
13682 then :
13683 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
13686 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
13687 # include <X11/Xlib.h>
13688 #endif
13689 #ifdef HAVE_X11_XUTIL_H
13690 # include <X11/Xutil.h>
13691 #endif
13693 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
13694 then :
13695 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
13698 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
13699 # include <X11/Xlib.h>
13700 #endif
13701 #ifdef HAVE_X11_XUTIL_H
13702 # include <X11/Xutil.h>
13703 #endif
13705 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
13706 then :
13707 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
13710 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
13711 # include <X11/Xlib.h>
13712 #endif
13713 #ifdef HAVE_X11_XUTIL_H
13714 # include <X11/Xutil.h>
13715 #endif
13717 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
13718 then :
13719 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
13722 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
13723 # include <X11/Xlib.h>
13724 #endif
13725 #ifdef HAVE_X11_XUTIL_H
13726 # include <X11/Xutil.h>
13727 #endif
13729 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
13730 then :
13731 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
13734 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
13735 # include <X11/Xlib.h>
13736 #endif
13737 #ifdef HAVE_X11_XUTIL_H
13738 # include <X11/Xutil.h>
13739 #endif
13741 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
13742 then :
13743 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
13746 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
13747 # include <X11/Xlib.h>
13748 #endif
13749 #ifdef HAVE_X11_XUTIL_H
13750 # include <X11/Xutil.h>
13751 #endif
13753 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
13754 then :
13755 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
13758 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
13759 # include <X11/Xlib.h>
13760 #endif
13761 #ifdef HAVE_X11_XUTIL_H
13762 # include <X11/Xutil.h>
13763 #endif
13765 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
13766 then :
13767 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
13770 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
13771 # include <X11/Xlib.h>
13772 #endif
13773 #ifdef HAVE_X11_XUTIL_H
13774 # include <X11/Xutil.h>
13775 #endif
13777 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
13778 then :
13779 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
13784 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
13785 then
13786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
13787 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
13788 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
13789 then :
13790 printf %s "(cached) " >&6
13791 else $as_nop
13792 ac_check_lib_save_LIBS=$LIBS
13793 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
13794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13795 /* end confdefs.h. */
13797 /* Override any GCC internal prototype to avoid an error.
13798 Use char because int might match the return type of a GCC
13799 builtin and then its argument prototype would still apply. */
13800 char XkbQueryExtension ();
13802 main (void)
13804 return XkbQueryExtension ();
13806 return 0;
13808 _ACEOF
13809 if ac_fn_c_try_link "$LINENO"
13810 then :
13811 ac_cv_lib_X11_XkbQueryExtension=yes
13812 else $as_nop
13813 ac_cv_lib_X11_XkbQueryExtension=no
13815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13816 conftest$ac_exeext conftest.$ac_ext
13817 LIBS=$ac_check_lib_save_LIBS
13819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
13820 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
13821 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
13822 then :
13824 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
13830 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
13831 then
13832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
13833 printf %s "checking for -lXcursor... " >&6; }
13834 if test ${ac_cv_lib_soname_Xcursor+y}
13835 then :
13836 printf %s "(cached) " >&6
13837 else $as_nop
13838 ac_check_soname_save_LIBS=$LIBS
13839 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
13840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13843 /* Override any GCC internal prototype to avoid an error.
13844 Use char because int might match the return type of a GCC
13845 builtin and then its argument prototype would still apply. */
13846 char XcursorImageLoadCursor ();
13848 main (void)
13850 return XcursorImageLoadCursor ();
13852 return 0;
13854 _ACEOF
13855 if ac_fn_c_try_link "$LINENO"
13856 then :
13857 case "$LIBEXT" in
13858 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13859 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'` ;;
13860 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13861 if ${ac_cv_lib_soname_Xcursor:+false} :
13862 then :
13863 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13864 fi ;;
13865 esac
13866 else $as_nop
13867 ac_cv_lib_soname_Xcursor=
13869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13870 conftest$ac_exeext conftest.$ac_ext
13871 LIBS=$ac_check_soname_save_LIBS
13873 if ${ac_cv_lib_soname_Xcursor:+false} :
13874 then :
13875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13876 printf "%s\n" "not found" >&6; }
13878 else $as_nop
13879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
13880 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
13882 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
13887 if test "x$ac_cv_lib_soname_Xcursor" = "x"
13888 then :
13889 case "x$with_xcursor" in
13890 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
13891 xno) ;;
13892 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
13893 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
13894 esac
13898 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
13899 then
13900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
13901 printf %s "checking for -lXi... " >&6; }
13902 if test ${ac_cv_lib_soname_Xi+y}
13903 then :
13904 printf %s "(cached) " >&6
13905 else $as_nop
13906 ac_check_soname_save_LIBS=$LIBS
13907 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
13908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13909 /* end confdefs.h. */
13911 /* Override any GCC internal prototype to avoid an error.
13912 Use char because int might match the return type of a GCC
13913 builtin and then its argument prototype would still apply. */
13914 char XOpenDevice ();
13916 main (void)
13918 return XOpenDevice ();
13920 return 0;
13922 _ACEOF
13923 if ac_fn_c_try_link "$LINENO"
13924 then :
13925 case "$LIBEXT" in
13926 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13927 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'` ;;
13928 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13929 if ${ac_cv_lib_soname_Xi:+false} :
13930 then :
13931 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13932 fi ;;
13933 esac
13934 else $as_nop
13935 ac_cv_lib_soname_Xi=
13937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13938 conftest$ac_exeext conftest.$ac_ext
13939 LIBS=$ac_check_soname_save_LIBS
13941 if ${ac_cv_lib_soname_Xi:+false} :
13942 then :
13943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13944 printf "%s\n" "not found" >&6; }
13946 else $as_nop
13947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
13948 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
13950 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
13955 if test "x$ac_cv_lib_soname_Xi" = "x"
13956 then :
13957 case "x$with_xinput" in
13958 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
13959 xno) ;;
13960 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
13961 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
13962 esac
13966 if test "x$ac_cv_lib_soname_Xi" != x
13967 then
13968 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
13969 then :
13970 case "x$with_xinput2" in
13971 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
13972 xno) ;;
13973 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
13974 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
13975 esac
13980 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
13981 then
13982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
13983 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
13984 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
13985 then :
13986 printf %s "(cached) " >&6
13987 else $as_nop
13988 ac_check_lib_save_LIBS=$LIBS
13989 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
13990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13991 /* end confdefs.h. */
13993 /* Override any GCC internal prototype to avoid an error.
13994 Use char because int might match the return type of a GCC
13995 builtin and then its argument prototype would still apply. */
13996 char XShmQueryExtension ();
13998 main (void)
14000 return XShmQueryExtension ();
14002 return 0;
14004 _ACEOF
14005 if ac_fn_c_try_link "$LINENO"
14006 then :
14007 ac_cv_lib_Xext_XShmQueryExtension=yes
14008 else $as_nop
14009 ac_cv_lib_Xext_XShmQueryExtension=no
14011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14012 conftest$ac_exeext conftest.$ac_ext
14013 LIBS=$ac_check_lib_save_LIBS
14015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14016 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14017 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14018 then :
14020 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14025 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14026 then :
14027 case "x$with_xshm" in
14028 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14029 xno) ;;
14030 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14031 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14032 esac
14036 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14037 then
14038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14039 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14040 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14041 then :
14042 printf %s "(cached) " >&6
14043 else $as_nop
14044 ac_check_lib_save_LIBS=$LIBS
14045 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14049 /* Override any GCC internal prototype to avoid an error.
14050 Use char because int might match the return type of a GCC
14051 builtin and then its argument prototype would still apply. */
14052 char XShapeQueryExtension ();
14054 main (void)
14056 return XShapeQueryExtension ();
14058 return 0;
14060 _ACEOF
14061 if ac_fn_c_try_link "$LINENO"
14062 then :
14063 ac_cv_lib_Xext_XShapeQueryExtension=yes
14064 else $as_nop
14065 ac_cv_lib_Xext_XShapeQueryExtension=no
14067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14068 conftest$ac_exeext conftest.$ac_ext
14069 LIBS=$ac_check_lib_save_LIBS
14071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14072 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14073 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14074 then :
14076 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14081 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14082 then :
14083 case "x$with_xshape" in
14084 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14085 xno) ;;
14086 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14087 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14088 esac
14092 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14093 then
14094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14095 printf %s "checking for -lXxf86vm... " >&6; }
14096 if test ${ac_cv_lib_soname_Xxf86vm+y}
14097 then :
14098 printf %s "(cached) " >&6
14099 else $as_nop
14100 ac_check_soname_save_LIBS=$LIBS
14101 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14103 /* end confdefs.h. */
14105 /* Override any GCC internal prototype to avoid an error.
14106 Use char because int might match the return type of a GCC
14107 builtin and then its argument prototype would still apply. */
14108 char XF86VidModeQueryExtension ();
14110 main (void)
14112 return XF86VidModeQueryExtension ();
14114 return 0;
14116 _ACEOF
14117 if ac_fn_c_try_link "$LINENO"
14118 then :
14119 case "$LIBEXT" in
14120 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14121 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'` ;;
14122 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14123 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14124 then :
14125 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14126 fi ;;
14127 esac
14128 else $as_nop
14129 ac_cv_lib_soname_Xxf86vm=
14131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14132 conftest$ac_exeext conftest.$ac_ext
14133 LIBS=$ac_check_soname_save_LIBS
14135 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14136 then :
14137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14138 printf "%s\n" "not found" >&6; }
14140 else $as_nop
14141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14142 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14144 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14149 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14150 then :
14151 case "x$with_xxf86vm" in
14152 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14153 xno) ;;
14154 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14155 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14156 esac
14160 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14161 then
14162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14163 printf %s "checking for -lXrender... " >&6; }
14164 if test ${ac_cv_lib_soname_Xrender+y}
14165 then :
14166 printf %s "(cached) " >&6
14167 else $as_nop
14168 ac_check_soname_save_LIBS=$LIBS
14169 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14171 /* end confdefs.h. */
14173 /* Override any GCC internal prototype to avoid an error.
14174 Use char because int might match the return type of a GCC
14175 builtin and then its argument prototype would still apply. */
14176 char XRenderQueryExtension ();
14178 main (void)
14180 return XRenderQueryExtension ();
14182 return 0;
14184 _ACEOF
14185 if ac_fn_c_try_link "$LINENO"
14186 then :
14187 case "$LIBEXT" in
14188 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14189 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'` ;;
14190 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14191 if ${ac_cv_lib_soname_Xrender:+false} :
14192 then :
14193 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14194 fi ;;
14195 esac
14196 else $as_nop
14197 ac_cv_lib_soname_Xrender=
14199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14200 conftest$ac_exeext conftest.$ac_ext
14201 LIBS=$ac_check_soname_save_LIBS
14203 if ${ac_cv_lib_soname_Xrender:+false} :
14204 then :
14205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14206 printf "%s\n" "not found" >&6; }
14208 else $as_nop
14209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14210 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14212 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14215 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14216 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14217 then :
14218 printf %s "(cached) " >&6
14219 else $as_nop
14220 ac_check_lib_save_LIBS=$LIBS
14221 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14225 /* Override any GCC internal prototype to avoid an error.
14226 Use char because int might match the return type of a GCC
14227 builtin and then its argument prototype would still apply. */
14228 char XRenderSetPictureTransform ();
14230 main (void)
14232 return XRenderSetPictureTransform ();
14234 return 0;
14236 _ACEOF
14237 if ac_fn_c_try_link "$LINENO"
14238 then :
14239 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14240 else $as_nop
14241 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14244 conftest$ac_exeext conftest.$ac_ext
14245 LIBS=$ac_check_lib_save_LIBS
14247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14248 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14249 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14250 then :
14252 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14257 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14258 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14259 then :
14260 printf %s "(cached) " >&6
14261 else $as_nop
14262 ac_check_lib_save_LIBS=$LIBS
14263 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14265 /* end confdefs.h. */
14267 /* Override any GCC internal prototype to avoid an error.
14268 Use char because int might match the return type of a GCC
14269 builtin and then its argument prototype would still apply. */
14270 char XRenderCreateLinearGradient ();
14272 main (void)
14274 return XRenderCreateLinearGradient ();
14276 return 0;
14278 _ACEOF
14279 if ac_fn_c_try_link "$LINENO"
14280 then :
14281 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14282 else $as_nop
14283 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14286 conftest$ac_exeext conftest.$ac_ext
14287 LIBS=$ac_check_lib_save_LIBS
14289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14290 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14291 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14292 then :
14294 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14301 if test "x$ac_cv_lib_soname_Xrender" = "x"
14302 then :
14303 case "x$with_xrender" in
14304 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14305 xno) ;;
14306 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14307 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14308 esac
14312 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14313 then
14314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14316 #include <X11/Xlib.h>
14317 #include <X11/extensions/Xrandr.h>
14319 main (void)
14321 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14323 return 0;
14325 _ACEOF
14326 if ac_fn_c_try_compile "$LINENO"
14327 then :
14328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14329 printf %s "checking for -lXrandr... " >&6; }
14330 if test ${ac_cv_lib_soname_Xrandr+y}
14331 then :
14332 printf %s "(cached) " >&6
14333 else $as_nop
14334 ac_check_soname_save_LIBS=$LIBS
14335 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14339 /* Override any GCC internal prototype to avoid an error.
14340 Use char because int might match the return type of a GCC
14341 builtin and then its argument prototype would still apply. */
14342 char XRRQueryExtension ();
14344 main (void)
14346 return XRRQueryExtension ();
14348 return 0;
14350 _ACEOF
14351 if ac_fn_c_try_link "$LINENO"
14352 then :
14353 case "$LIBEXT" in
14354 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14355 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'` ;;
14356 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14357 if ${ac_cv_lib_soname_Xrandr:+false} :
14358 then :
14359 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14360 fi ;;
14361 esac
14362 else $as_nop
14363 ac_cv_lib_soname_Xrandr=
14365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14366 conftest$ac_exeext conftest.$ac_ext
14367 LIBS=$ac_check_soname_save_LIBS
14369 if ${ac_cv_lib_soname_Xrandr:+false} :
14370 then :
14371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14372 printf "%s\n" "not found" >&6; }
14374 else $as_nop
14375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
14376 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
14378 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
14380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14382 #include <X11/Xlib.h>
14383 #include <X11/extensions/Xrandr.h>
14385 main (void)
14387 static typeof(XRRGetProviderResources) *f; if (f) return 0;
14389 return 0;
14391 _ACEOF
14392 if ac_fn_c_try_compile "$LINENO"
14393 then :
14395 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
14397 else $as_nop
14398 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
14400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14405 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14406 then :
14407 case "x$with_xrandr" in
14408 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
14409 xno) ;;
14410 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
14411 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
14412 esac
14416 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
14417 then
14418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14419 /* end confdefs.h. */
14420 #include <X11/Xlib.h>
14421 #include <X11/extensions/Xfixes.h>
14423 main (void)
14425 static typeof(XFixesQueryVersion) * func; if (func) return 0;
14427 return 0;
14429 _ACEOF
14430 if ac_fn_c_try_compile "$LINENO"
14431 then :
14432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
14433 printf %s "checking for -lXfixes... " >&6; }
14434 if test ${ac_cv_lib_soname_Xfixes+y}
14435 then :
14436 printf %s "(cached) " >&6
14437 else $as_nop
14438 ac_check_soname_save_LIBS=$LIBS
14439 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
14440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14441 /* end confdefs.h. */
14443 /* Override any GCC internal prototype to avoid an error.
14444 Use char because int might match the return type of a GCC
14445 builtin and then its argument prototype would still apply. */
14446 char XFixesQueryVersion ();
14448 main (void)
14450 return XFixesQueryVersion ();
14452 return 0;
14454 _ACEOF
14455 if ac_fn_c_try_link "$LINENO"
14456 then :
14457 case "$LIBEXT" in
14458 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14459 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'` ;;
14460 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14461 if ${ac_cv_lib_soname_Xfixes:+false} :
14462 then :
14463 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14464 fi ;;
14465 esac
14466 else $as_nop
14467 ac_cv_lib_soname_Xfixes=
14469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14470 conftest$ac_exeext conftest.$ac_ext
14471 LIBS=$ac_check_soname_save_LIBS
14473 if ${ac_cv_lib_soname_Xfixes:+false} :
14474 then :
14475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14476 printf "%s\n" "not found" >&6; }
14478 else $as_nop
14479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
14480 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
14482 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
14487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14489 if test "x$ac_cv_lib_soname_Xfixes" = "x"
14490 then :
14491 case "x$with_xfixes" in
14492 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
14493 xno) ;;
14494 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
14495 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
14496 esac
14500 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
14501 then
14502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14503 /* end confdefs.h. */
14504 #include <X11/Xlib.h>
14505 #include <X11/extensions/Xinerama.h>
14507 main (void)
14509 static typeof(XineramaQueryScreens) * func; if (func) return 0;
14511 return 0;
14513 _ACEOF
14514 if ac_fn_c_try_compile "$LINENO"
14515 then :
14516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
14517 printf %s "checking for -lXinerama... " >&6; }
14518 if test ${ac_cv_lib_soname_Xinerama+y}
14519 then :
14520 printf %s "(cached) " >&6
14521 else $as_nop
14522 ac_check_soname_save_LIBS=$LIBS
14523 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
14524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14525 /* end confdefs.h. */
14527 /* Override any GCC internal prototype to avoid an error.
14528 Use char because int might match the return type of a GCC
14529 builtin and then its argument prototype would still apply. */
14530 char XineramaQueryScreens ();
14532 main (void)
14534 return XineramaQueryScreens ();
14536 return 0;
14538 _ACEOF
14539 if ac_fn_c_try_link "$LINENO"
14540 then :
14541 case "$LIBEXT" in
14542 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14543 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'` ;;
14544 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14545 if ${ac_cv_lib_soname_Xinerama:+false} :
14546 then :
14547 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14548 fi ;;
14549 esac
14550 else $as_nop
14551 ac_cv_lib_soname_Xinerama=
14553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14554 conftest$ac_exeext conftest.$ac_ext
14555 LIBS=$ac_check_soname_save_LIBS
14557 if ${ac_cv_lib_soname_Xinerama:+false} :
14558 then :
14559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14560 printf "%s\n" "not found" >&6; }
14562 else $as_nop
14563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
14564 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
14566 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
14571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14573 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14574 then :
14575 case "x$with_xinerama" in
14576 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
14577 xno) ;;
14578 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
14579 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
14580 esac
14584 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
14585 then
14586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
14587 printf %s "checking for -lXcomposite... " >&6; }
14588 if test ${ac_cv_lib_soname_Xcomposite+y}
14589 then :
14590 printf %s "(cached) " >&6
14591 else $as_nop
14592 ac_check_soname_save_LIBS=$LIBS
14593 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
14594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14595 /* end confdefs.h. */
14597 /* Override any GCC internal prototype to avoid an error.
14598 Use char because int might match the return type of a GCC
14599 builtin and then its argument prototype would still apply. */
14600 char XCompositeRedirectWindow ();
14602 main (void)
14604 return XCompositeRedirectWindow ();
14606 return 0;
14608 _ACEOF
14609 if ac_fn_c_try_link "$LINENO"
14610 then :
14611 case "$LIBEXT" in
14612 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14613 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'` ;;
14614 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14615 if ${ac_cv_lib_soname_Xcomposite:+false} :
14616 then :
14617 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14618 fi ;;
14619 esac
14620 else $as_nop
14621 ac_cv_lib_soname_Xcomposite=
14623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14624 conftest$ac_exeext conftest.$ac_ext
14625 LIBS=$ac_check_soname_save_LIBS
14627 if ${ac_cv_lib_soname_Xcomposite:+false} :
14628 then :
14629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14630 printf "%s\n" "not found" >&6; }
14632 else $as_nop
14633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
14634 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
14636 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
14641 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
14642 then :
14643 case "x$with_xcomposite" in
14644 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
14645 xno) ;;
14646 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
14647 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
14648 esac
14652 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
14653 #include <X11/Xlib.h>
14654 #endif
14656 if test "x$ac_cv_member_XICCallback_callback" = xyes
14657 then :
14659 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
14663 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
14664 #include <X11/Xlib.h>
14665 #endif
14667 if test "x$ac_cv_member_XEvent_xcookie" = xyes
14668 then :
14670 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
14677 opengl_msg=""
14678 if test "x$with_opengl" != "xno"
14679 then
14680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
14681 printf %s "checking for -lGL... " >&6; }
14682 if test ${ac_cv_lib_soname_GL+y}
14683 then :
14684 printf %s "(cached) " >&6
14685 else $as_nop
14686 ac_check_soname_save_LIBS=$LIBS
14687 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
14688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14689 /* end confdefs.h. */
14691 /* Override any GCC internal prototype to avoid an error.
14692 Use char because int might match the return type of a GCC
14693 builtin and then its argument prototype would still apply. */
14694 char glXCreateContext ();
14696 main (void)
14698 return glXCreateContext ();
14700 return 0;
14702 _ACEOF
14703 if ac_fn_c_try_link "$LINENO"
14704 then :
14705 case "$LIBEXT" in
14706 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14707 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'` ;;
14708 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14709 if ${ac_cv_lib_soname_GL:+false} :
14710 then :
14711 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14712 fi ;;
14713 esac
14714 else $as_nop
14715 ac_cv_lib_soname_GL=
14717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14718 conftest$ac_exeext conftest.$ac_ext
14719 LIBS=$ac_check_soname_save_LIBS
14721 if ${ac_cv_lib_soname_GL:+false} :
14722 then :
14723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14724 printf "%s\n" "not found" >&6; }
14725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
14726 printf %s "checking for -lGL... " >&6; }
14727 if test ${ac_cv_lib_soname_GL+y}
14728 then :
14729 printf %s "(cached) " >&6
14730 else $as_nop
14731 ac_check_soname_save_LIBS=$LIBS
14732 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"
14733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14734 /* end confdefs.h. */
14736 /* Override any GCC internal prototype to avoid an error.
14737 Use char because int might match the return type of a GCC
14738 builtin and then its argument prototype would still apply. */
14739 char glXCreateContext ();
14741 main (void)
14743 return glXCreateContext ();
14745 return 0;
14747 _ACEOF
14748 if ac_fn_c_try_link "$LINENO"
14749 then :
14750 case "$LIBEXT" in
14751 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14752 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'` ;;
14753 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14754 if ${ac_cv_lib_soname_GL:+false} :
14755 then :
14756 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14757 fi ;;
14758 esac
14759 else $as_nop
14760 ac_cv_lib_soname_GL=
14762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14763 conftest$ac_exeext conftest.$ac_ext
14764 LIBS=$ac_check_soname_save_LIBS
14766 if ${ac_cv_lib_soname_GL:+false} :
14767 then :
14768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14769 printf "%s\n" "not found" >&6; }
14770 if test -f /usr/X11R6/lib/libGL.a
14771 then
14772 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
14773 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
14774 else
14775 opengl_msg="No OpenGL library found on this system."
14777 else $as_nop
14778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
14779 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
14781 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
14783 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"
14785 else $as_nop
14786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
14787 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
14789 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
14791 OPENGL_LIBS="-lGL"
14793 if test "x$with_osmesa" != "xno"
14794 then
14795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
14796 printf %s "checking for -lOSMesa... " >&6; }
14797 if test ${ac_cv_lib_soname_OSMesa+y}
14798 then :
14799 printf %s "(cached) " >&6
14800 else $as_nop
14801 ac_check_soname_save_LIBS=$LIBS
14802 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
14803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14804 /* end confdefs.h. */
14806 /* Override any GCC internal prototype to avoid an error.
14807 Use char because int might match the return type of a GCC
14808 builtin and then its argument prototype would still apply. */
14809 char OSMesaGetProcAddress ();
14811 main (void)
14813 return OSMesaGetProcAddress ();
14815 return 0;
14817 _ACEOF
14818 if ac_fn_c_try_link "$LINENO"
14819 then :
14820 case "$LIBEXT" in
14821 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14822 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'` ;;
14823 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14824 if ${ac_cv_lib_soname_OSMesa:+false} :
14825 then :
14826 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14827 fi ;;
14828 esac
14829 else $as_nop
14830 ac_cv_lib_soname_OSMesa=
14832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14833 conftest$ac_exeext conftest.$ac_ext
14834 LIBS=$ac_check_soname_save_LIBS
14836 if ${ac_cv_lib_soname_OSMesa:+false} :
14837 then :
14838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14839 printf "%s\n" "not found" >&6; }
14841 else $as_nop
14842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
14843 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
14845 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
14849 if test "x$ac_cv_lib_soname_OSMesa" = "x"
14850 then :
14851 case "x$with_osmesa" in
14852 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
14853 xno) ;;
14854 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
14855 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
14856 esac
14861 if test -n "$opengl_msg"
14862 then :
14863 case "x$with_opengl" in
14864 x) as_fn_append wine_warnings "|$opengl_msg
14865 OpenGL and Direct3D won't be supported." ;;
14866 xno) ;;
14867 *) as_fn_error $? "$opengl_msg
14868 OpenGL and Direct3D won't be supported.
14869 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
14870 esac
14874 CPPFLAGS="$ac_save_CPPFLAGS"
14875 else
14876 X_CFLAGS=""
14877 X_LIBS=""
14880 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
14881 then
14882 if test "x$X_LIBS" = "x"
14883 then :
14884 case "x$with_x" in
14885 xno) ;;
14886 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
14887 without X support, which probably isn't what you want. You will need
14888 to install ${notice_platform}development packages of Xlib at the very least.
14889 Use the --without-x option if you really want this." "$LINENO" 5 ;;
14890 esac
14891 enable_winex11_drv=${enable_winex11_drv:-no}
14893 else
14894 if test "x$X_LIBS" = "x"
14895 then :
14896 case "x$with_x" in
14897 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
14898 xno) ;;
14899 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
14900 This is an error since --with-x was requested." "$LINENO" 5 ;;
14901 esac
14902 enable_winex11_drv=${enable_winex11_drv:-no}
14906 if test "$ac_cv_header_CL_cl_h" = "yes"
14907 then
14908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
14909 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
14910 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
14911 then :
14912 printf %s "(cached) " >&6
14913 else $as_nop
14914 ac_check_lib_save_LIBS=$LIBS
14915 LIBS="-lOpenCL $LIBS"
14916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14917 /* end confdefs.h. */
14919 /* Override any GCC internal prototype to avoid an error.
14920 Use char because int might match the return type of a GCC
14921 builtin and then its argument prototype would still apply. */
14922 char clGetPlatformInfo ();
14924 main (void)
14926 return clGetPlatformInfo ();
14928 return 0;
14930 _ACEOF
14931 if ac_fn_c_try_link "$LINENO"
14932 then :
14933 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
14934 else $as_nop
14935 ac_cv_lib_OpenCL_clGetPlatformInfo=no
14937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14938 conftest$ac_exeext conftest.$ac_ext
14939 LIBS=$ac_check_lib_save_LIBS
14941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
14942 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
14943 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
14944 then :
14945 OPENCL_LIBS="-lOpenCL"
14950 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
14951 then :
14952 case "x$with_opencl" in
14953 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
14954 xno) ;;
14955 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
14956 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
14957 esac
14958 enable_opencl=${enable_opencl:-no}
14961 if test "$ac_cv_header_pcap_pcap_h" = "yes"
14962 then
14963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
14964 printf %s "checking for pcap_create in -lpcap... " >&6; }
14965 if test ${ac_cv_lib_pcap_pcap_create+y}
14966 then :
14967 printf %s "(cached) " >&6
14968 else $as_nop
14969 ac_check_lib_save_LIBS=$LIBS
14970 LIBS="-lpcap $LIBS"
14971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972 /* end confdefs.h. */
14974 /* Override any GCC internal prototype to avoid an error.
14975 Use char because int might match the return type of a GCC
14976 builtin and then its argument prototype would still apply. */
14977 char pcap_create ();
14979 main (void)
14981 return pcap_create ();
14983 return 0;
14985 _ACEOF
14986 if ac_fn_c_try_link "$LINENO"
14987 then :
14988 ac_cv_lib_pcap_pcap_create=yes
14989 else $as_nop
14990 ac_cv_lib_pcap_pcap_create=no
14992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14993 conftest$ac_exeext conftest.$ac_ext
14994 LIBS=$ac_check_lib_save_LIBS
14996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
14997 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
14998 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
14999 then :
15000 PCAP_LIBS="-lpcap"
15005 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15006 then :
15007 case "x$with_pcap" in
15008 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15009 xno) ;;
15010 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15011 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15012 esac
15013 enable_wpcap=${enable_wpcap:-no}
15016 if test "x$with_inotify" != "xno"
15017 then
15018 if ${INOTIFY_CFLAGS:+false} :
15019 then :
15020 if test ${PKG_CONFIG+y}
15021 then :
15022 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15026 if ${INOTIFY_LIBS:+false} :
15027 then :
15028 if test ${PKG_CONFIG+y}
15029 then :
15030 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15037 ac_save_CPPFLAGS=$CPPFLAGS
15038 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15039 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15040 if test "x$ac_cv_header_sys_inotify_h" = xyes
15041 then :
15042 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15047 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15048 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15049 then :
15050 printf %s "(cached) " >&6
15051 else $as_nop
15052 ac_check_lib_save_LIBS=$LIBS
15053 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15057 /* Override any GCC internal prototype to avoid an error.
15058 Use char because int might match the return type of a GCC
15059 builtin and then its argument prototype would still apply. */
15060 char inotify_add_watch ();
15062 main (void)
15064 return inotify_add_watch ();
15066 return 0;
15068 _ACEOF
15069 if ac_fn_c_try_link "$LINENO"
15070 then :
15071 ac_cv_lib_inotify_inotify_add_watch=yes
15072 else $as_nop
15073 ac_cv_lib_inotify_inotify_add_watch=no
15075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15076 conftest$ac_exeext conftest.$ac_ext
15077 LIBS=$ac_check_lib_save_LIBS
15079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15080 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15081 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15082 then :
15084 else $as_nop
15085 INOTIFY_LIBS=""
15088 CPPFLAGS=$ac_save_CPPFLAGS
15091 if test "$ac_cv_header_sys_inotify_h" != "yes"
15092 then :
15093 case "x$with_inotify" in
15094 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15095 xno) ;;
15096 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15097 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15098 esac
15102 if test "x$with_dbus" != "xno"
15103 then
15104 if ${DBUS_CFLAGS:+false} :
15105 then :
15106 if test ${PKG_CONFIG+y}
15107 then :
15108 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15112 if ${DBUS_LIBS:+false} :
15113 then :
15114 if test ${PKG_CONFIG+y}
15115 then :
15116 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15121 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15123 ac_save_CPPFLAGS=$CPPFLAGS
15124 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15125 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15126 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15127 then :
15128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15129 printf %s "checking for -ldbus-1... " >&6; }
15130 if test ${ac_cv_lib_soname_dbus_1+y}
15131 then :
15132 printf %s "(cached) " >&6
15133 else $as_nop
15134 ac_check_soname_save_LIBS=$LIBS
15135 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15137 /* end confdefs.h. */
15139 /* Override any GCC internal prototype to avoid an error.
15140 Use char because int might match the return type of a GCC
15141 builtin and then its argument prototype would still apply. */
15142 char dbus_connection_close ();
15144 main (void)
15146 return dbus_connection_close ();
15148 return 0;
15150 _ACEOF
15151 if ac_fn_c_try_link "$LINENO"
15152 then :
15153 case "$LIBEXT" in
15154 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15155 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'` ;;
15156 *) 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'`
15157 if ${ac_cv_lib_soname_dbus_1:+false} :
15158 then :
15159 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15160 fi ;;
15161 esac
15162 else $as_nop
15163 ac_cv_lib_soname_dbus_1=
15165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15166 conftest$ac_exeext conftest.$ac_ext
15167 LIBS=$ac_check_soname_save_LIBS
15169 if ${ac_cv_lib_soname_dbus_1:+false} :
15170 then :
15171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15172 printf "%s\n" "not found" >&6; }
15173 DBUS_CFLAGS=""
15174 else $as_nop
15175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15176 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15178 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15182 else $as_nop
15183 DBUS_CFLAGS=""
15186 CPPFLAGS=$ac_save_CPPFLAGS
15189 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
15190 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15191 then :
15192 case "x$with_dbus" in
15193 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15194 xno) ;;
15195 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15196 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15197 esac
15201 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
15202 then
15203 if ${HAL_CFLAGS:+false} :
15204 then :
15205 if test ${PKG_CONFIG+y}
15206 then :
15207 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
15211 if ${HAL_LIBS:+false} :
15212 then :
15213 if test ${PKG_CONFIG+y}
15214 then :
15215 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
15219 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
15220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
15221 printf "%s\n" "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
15222 ac_save_CPPFLAGS=$CPPFLAGS
15223 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
15224 ac_fn_c_check_header_compile "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
15225 if test "x$ac_cv_header_hal_libhal_h" = xyes
15226 then :
15227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
15228 printf %s "checking for -lhal... " >&6; }
15229 if test ${ac_cv_lib_soname_hal+y}
15230 then :
15231 printf %s "(cached) " >&6
15232 else $as_nop
15233 ac_check_soname_save_LIBS=$LIBS
15234 LIBS="-lhal $HAL_LIBS $LIBS"
15235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15236 /* end confdefs.h. */
15238 /* Override any GCC internal prototype to avoid an error.
15239 Use char because int might match the return type of a GCC
15240 builtin and then its argument prototype would still apply. */
15241 char libhal_ctx_new ();
15243 main (void)
15245 return libhal_ctx_new ();
15247 return 0;
15249 _ACEOF
15250 if ac_fn_c_try_link "$LINENO"
15251 then :
15252 case "$LIBEXT" in
15253 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15254 dylib) ac_cv_lib_soname_hal=`$OTOOL -L conftest$ac_exeext | grep "libhal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15255 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15256 if ${ac_cv_lib_soname_hal:+false} :
15257 then :
15258 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15259 fi ;;
15260 esac
15261 else $as_nop
15262 ac_cv_lib_soname_hal=
15264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15265 conftest$ac_exeext conftest.$ac_ext
15266 LIBS=$ac_check_soname_save_LIBS
15268 if ${ac_cv_lib_soname_hal:+false} :
15269 then :
15270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15271 printf "%s\n" "not found" >&6; }
15272 HAL_CFLAGS=""
15273 else $as_nop
15274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
15275 printf "%s\n" "$ac_cv_lib_soname_hal" >&6; }
15277 printf "%s\n" "#define SONAME_LIBHAL \"$ac_cv_lib_soname_hal\"" >>confdefs.h
15281 else $as_nop
15282 HAL_CFLAGS=""
15285 CPPFLAGS=$ac_save_CPPFLAGS
15287 if test "x$ac_cv_lib_soname_hal" = "x" -a \
15288 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15289 then :
15290 case "x$with_hal" in
15291 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
15292 xno) ;;
15293 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
15294 This is an error since --with-hal was requested." "$LINENO" 5 ;;
15295 esac
15300 if test "x$with_gnutls" != "xno"
15301 then
15302 if ${GNUTLS_CFLAGS:+false} :
15303 then :
15304 if test ${PKG_CONFIG+y}
15305 then :
15306 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
15310 if ${GNUTLS_LIBS:+false} :
15311 then :
15312 if test ${PKG_CONFIG+y}
15313 then :
15314 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15318 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15321 ac_save_CPPFLAGS=$CPPFLAGS
15322 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15323 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15324 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15325 then :
15326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15327 /* end confdefs.h. */
15328 #include <gnutls/gnutls.h>
15329 #include <gnutls/crypto.h>
15331 main (void)
15333 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15335 return 0;
15337 _ACEOF
15338 if ac_fn_c_try_compile "$LINENO"
15339 then :
15340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
15341 printf %s "checking for -lgnutls... " >&6; }
15342 if test ${ac_cv_lib_soname_gnutls+y}
15343 then :
15344 printf %s "(cached) " >&6
15345 else $as_nop
15346 ac_check_soname_save_LIBS=$LIBS
15347 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
15348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h. */
15351 /* Override any GCC internal prototype to avoid an error.
15352 Use char because int might match the return type of a GCC
15353 builtin and then its argument prototype would still apply. */
15354 char gnutls_global_init ();
15356 main (void)
15358 return gnutls_global_init ();
15360 return 0;
15362 _ACEOF
15363 if ac_fn_c_try_link "$LINENO"
15364 then :
15365 case "$LIBEXT" in
15366 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15367 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'` ;;
15368 *) 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'`
15369 if ${ac_cv_lib_soname_gnutls:+false} :
15370 then :
15371 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'`
15372 fi ;;
15373 esac
15374 else $as_nop
15375 ac_cv_lib_soname_gnutls=
15377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15378 conftest$ac_exeext conftest.$ac_ext
15379 LIBS=$ac_check_soname_save_LIBS
15381 if ${ac_cv_lib_soname_gnutls:+false} :
15382 then :
15383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15384 printf "%s\n" "not found" >&6; }
15385 GNUTLS_CFLAGS=""
15386 else $as_nop
15387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
15388 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
15390 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
15394 ac_wine_check_funcs_save_LIBS="$LIBS"
15395 LIBS="$LIBS $GNUTLS_LIBS"
15397 for ac_func in gnutls_cipher_init
15398 do :
15399 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
15400 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
15401 then :
15402 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
15404 else $as_nop
15405 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
15408 done
15409 LIBS="$ac_wine_check_funcs_save_LIBS"
15411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15412 else $as_nop
15413 GNUTLS_CFLAGS=""
15416 CPPFLAGS=$ac_save_CPPFLAGS
15419 if test "x$ac_cv_lib_soname_gnutls" = "x"
15420 then :
15421 case "x$with_gnutls" in
15422 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
15423 xno) ;;
15424 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
15425 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
15426 esac
15430 if test "x$with_sane" != "xno"
15431 then
15432 if ${SANE_CFLAGS:+false} :
15433 then :
15434 if test ${PKG_CONFIG+y}
15435 then :
15436 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
15439 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
15440 if ${SANE_LIBS:+false} :
15441 then :
15442 if test ${PKG_CONFIG+y}
15443 then :
15444 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
15447 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
15449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
15450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
15451 ac_save_CPPFLAGS=$CPPFLAGS
15452 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
15453 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
15454 if test "x$ac_cv_header_sane_sane_h" = xyes
15455 then :
15456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
15457 printf %s "checking for sane_init in -lsane... " >&6; }
15458 if test ${ac_cv_lib_sane_sane_init+y}
15459 then :
15460 printf %s "(cached) " >&6
15461 else $as_nop
15462 ac_check_lib_save_LIBS=$LIBS
15463 LIBS="-lsane $SANE_LIBS $LIBS"
15464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15465 /* end confdefs.h. */
15467 /* Override any GCC internal prototype to avoid an error.
15468 Use char because int might match the return type of a GCC
15469 builtin and then its argument prototype would still apply. */
15470 char sane_init ();
15472 main (void)
15474 return sane_init ();
15476 return 0;
15478 _ACEOF
15479 if ac_fn_c_try_link "$LINENO"
15480 then :
15481 ac_cv_lib_sane_sane_init=yes
15482 else $as_nop
15483 ac_cv_lib_sane_sane_init=no
15485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15486 conftest$ac_exeext conftest.$ac_ext
15487 LIBS=$ac_check_lib_save_LIBS
15489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
15490 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
15491 if test "x$ac_cv_lib_sane_sane_init" = xyes
15492 then :
15498 CPPFLAGS=$ac_save_CPPFLAGS
15501 if test "$ac_cv_lib_sane_sane_init" != "yes"
15502 then :
15503 case "x$with_sane" in
15504 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
15505 xno) ;;
15506 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
15507 This is an error since --with-sane was requested." "$LINENO" 5 ;;
15508 esac
15509 enable_sane_ds=${enable_sane_ds:-no}
15512 if test "x$with_usb" != "xno"
15513 then
15514 if ${USB_CFLAGS:+false} :
15515 then :
15516 if test ${PKG_CONFIG+y}
15517 then :
15518 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
15522 if ${USB_LIBS:+false} :
15523 then :
15524 if test ${PKG_CONFIG+y}
15525 then :
15526 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
15530 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
15531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
15532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
15533 ac_save_CPPFLAGS=$CPPFLAGS
15534 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
15535 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
15536 if test "x$ac_cv_header_libusb_h" = xyes
15537 then :
15538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
15539 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
15540 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
15541 then :
15542 printf %s "(cached) " >&6
15543 else $as_nop
15544 ac_check_lib_save_LIBS=$LIBS
15545 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
15546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15547 /* end confdefs.h. */
15549 /* Override any GCC internal prototype to avoid an error.
15550 Use char because int might match the return type of a GCC
15551 builtin and then its argument prototype would still apply. */
15552 char libusb_interrupt_event_handler ();
15554 main (void)
15556 return libusb_interrupt_event_handler ();
15558 return 0;
15560 _ACEOF
15561 if ac_fn_c_try_link "$LINENO"
15562 then :
15563 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
15564 else $as_nop
15565 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
15567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15568 conftest$ac_exeext conftest.$ac_ext
15569 LIBS=$ac_check_lib_save_LIBS
15571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
15572 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
15573 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
15574 then :
15576 else $as_nop
15577 USB_LIBS=""
15580 else $as_nop
15581 USB_LIBS=""
15584 CPPFLAGS=$ac_save_CPPFLAGS
15587 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
15588 then :
15589 case "x$with_usb" in
15590 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
15591 xno) ;;
15592 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
15593 This is an error since --with-usb was requested." "$LINENO" 5 ;;
15594 esac
15595 enable_wineusb_sys=${enable_wineusb_sys:-no}
15598 if test "x$with_v4l2" != "xno"
15599 then
15600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
15601 printf %s "checking for -lv4l2... " >&6; }
15602 if test ${ac_cv_lib_soname_v4l2+y}
15603 then :
15604 printf %s "(cached) " >&6
15605 else $as_nop
15606 ac_check_soname_save_LIBS=$LIBS
15607 LIBS="-lv4l2 $LIBS"
15608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15609 /* end confdefs.h. */
15611 /* Override any GCC internal prototype to avoid an error.
15612 Use char because int might match the return type of a GCC
15613 builtin and then its argument prototype would still apply. */
15614 char v4l2_open ();
15616 main (void)
15618 return v4l2_open ();
15620 return 0;
15622 _ACEOF
15623 if ac_fn_c_try_link "$LINENO"
15624 then :
15625 case "$LIBEXT" in
15626 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15627 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'` ;;
15628 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15629 if ${ac_cv_lib_soname_v4l2:+false} :
15630 then :
15631 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15632 fi ;;
15633 esac
15634 else $as_nop
15635 ac_cv_lib_soname_v4l2=
15637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15638 conftest$ac_exeext conftest.$ac_ext
15639 LIBS=$ac_check_soname_save_LIBS
15641 if ${ac_cv_lib_soname_v4l2:+false} :
15642 then :
15643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15644 printf "%s\n" "not found" >&6; }
15646 else $as_nop
15647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
15648 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
15650 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
15655 if test "x$ac_cv_lib_soname_v4l2" = "x"
15656 then :
15657 case "x$with_v4l2" in
15658 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
15659 xno) ;;
15660 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
15661 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
15662 esac
15666 if test "x$with_gphoto" != "xno"
15667 then
15668 if ${GPHOTO2_CFLAGS:+false} :
15669 then :
15670 if test ${PKG_CONFIG+y}
15671 then :
15672 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
15675 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
15676 if ${GPHOTO2_LIBS:+false} :
15677 then :
15678 if test ${PKG_CONFIG+y}
15679 then :
15680 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
15683 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
15684 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
15685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
15686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
15687 ac_save_CPPFLAGS=$CPPFLAGS
15688 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
15689 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
15690 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
15691 then :
15692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
15693 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
15694 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
15695 then :
15696 printf %s "(cached) " >&6
15697 else $as_nop
15698 ac_check_lib_save_LIBS=$LIBS
15699 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
15700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15701 /* end confdefs.h. */
15703 /* Override any GCC internal prototype to avoid an error.
15704 Use char because int might match the return type of a GCC
15705 builtin and then its argument prototype would still apply. */
15706 char gp_camera_new ();
15708 main (void)
15710 return gp_camera_new ();
15712 return 0;
15714 _ACEOF
15715 if ac_fn_c_try_link "$LINENO"
15716 then :
15717 ac_cv_lib_gphoto2_gp_camera_new=yes
15718 else $as_nop
15719 ac_cv_lib_gphoto2_gp_camera_new=no
15721 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15722 conftest$ac_exeext conftest.$ac_ext
15723 LIBS=$ac_check_lib_save_LIBS
15725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
15726 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
15727 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
15728 then :
15734 CPPFLAGS=$ac_save_CPPFLAGS
15736 if ${GPHOTO2_PORT_CFLAGS:+false} :
15737 then :
15738 if test ${PKG_CONFIG+y}
15739 then :
15740 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
15743 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
15744 if ${GPHOTO2_PORT_LIBS:+false} :
15745 then :
15746 if test ${PKG_CONFIG+y}
15747 then :
15748 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
15751 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
15752 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
15753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
15754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
15755 ac_save_CPPFLAGS=$CPPFLAGS
15756 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
15757 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
15758 if test "x$ac_cv_header_gphoto2_port_h" = xyes
15759 then :
15760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
15761 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
15762 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
15763 then :
15764 printf %s "(cached) " >&6
15765 else $as_nop
15766 ac_check_lib_save_LIBS=$LIBS
15767 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
15768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15769 /* end confdefs.h. */
15771 /* Override any GCC internal prototype to avoid an error.
15772 Use char because int might match the return type of a GCC
15773 builtin and then its argument prototype would still apply. */
15774 char gp_port_info_list_new ();
15776 main (void)
15778 return gp_port_info_list_new ();
15780 return 0;
15782 _ACEOF
15783 if ac_fn_c_try_link "$LINENO"
15784 then :
15785 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
15786 else $as_nop
15787 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
15789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15790 conftest$ac_exeext conftest.$ac_ext
15791 LIBS=$ac_check_lib_save_LIBS
15793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
15794 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
15795 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
15796 then :
15798 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
15800 else $as_nop
15801 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
15804 else $as_nop
15805 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
15808 CPPFLAGS=$ac_save_CPPFLAGS
15811 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
15812 then :
15813 case "x$with_gphoto" in
15814 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
15815 xno) ;;
15816 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
15817 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
15818 esac
15819 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
15821 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
15822 then :
15823 case "x$with_gphoto" in
15824 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
15825 xno) ;;
15826 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
15827 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
15828 esac
15833 if test "$ac_cv_header_resolv_h" = "yes"
15834 then
15835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
15836 printf %s "checking for resolver library... " >&6; }
15837 if test ${ac_cv_have_resolv+y}
15838 then :
15839 printf %s "(cached) " >&6
15840 else $as_nop
15841 ac_save_LIBS="$LIBS"
15842 for lib in '' -lresolv
15844 LIBS="$lib $ac_save_LIBS"
15845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15846 /* end confdefs.h. */
15847 #ifdef HAVE_NETINET_IN_H
15848 #include <netinet/in.h>
15849 #endif
15850 #include <resolv.h>
15852 main (void)
15854 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
15856 return 0;
15858 _ACEOF
15859 if ac_fn_c_try_link "$LINENO"
15860 then :
15861 ac_cv_have_resolv=${lib:-"none required"}
15862 else $as_nop
15863 ac_cv_have_resolv="not found"
15865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15866 conftest$ac_exeext conftest.$ac_ext
15867 test "x$ac_cv_have_resolv" = "xnot found" || break
15868 done
15869 LIBS="$ac_save_LIBS"
15871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
15872 printf "%s\n" "$ac_cv_have_resolv" >&6; }
15874 case "$ac_cv_have_resolv" in
15875 "not found") ;;
15876 "none required")
15878 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
15881 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
15883 RESOLV_LIBS=$ac_cv_have_resolv
15885 esac
15887 if test "x$ac_cv_have_resolv" != "xnot found"
15888 then
15889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
15890 printf %s "checking for res_getservers... " >&6; }
15891 if test ${ac_cv_have_res_getservers+y}
15892 then :
15893 printf %s "(cached) " >&6
15894 else $as_nop
15895 ac_save_LIBS="$LIBS"
15896 LIBS="$RESOLV_LIBS $LIBS"
15897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15898 /* end confdefs.h. */
15899 #include <resolv.h>
15901 main (void)
15903 res_getservers(NULL, NULL, 0);
15905 return 0;
15907 _ACEOF
15908 if ac_fn_c_try_link "$LINENO"
15909 then :
15910 ac_cv_have_res_getservers=yes
15911 else $as_nop
15912 ac_cv_have_res_getservers=no
15914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15915 conftest$ac_exeext conftest.$ac_ext
15916 LIBS="$ac_save_LIBS"
15918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
15919 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
15920 if test "$ac_cv_have_res_getservers" = "yes"
15921 then
15923 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
15929 if test "x$with_freetype" != "xno"
15930 then
15931 if ${FREETYPE_CFLAGS:+false} :
15932 then :
15933 if test ${PKG_CONFIG+y}
15934 then :
15935 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
15938 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
15939 if ${FREETYPE_LIBS:+false} :
15940 then :
15941 if test ${PKG_CONFIG+y}
15942 then :
15943 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
15946 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
15947 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
15948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
15949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
15950 ac_save_CPPFLAGS=$CPPFLAGS
15951 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
15952 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
15953 if test "x$ac_cv_header_ft2build_h" = xyes
15954 then :
15955 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
15959 if test "$ac_cv_header_ft2build_h" = "yes"
15960 then
15961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
15962 printf %s "checking for -lfreetype... " >&6; }
15963 if test ${ac_cv_lib_soname_freetype+y}
15964 then :
15965 printf %s "(cached) " >&6
15966 else $as_nop
15967 ac_check_soname_save_LIBS=$LIBS
15968 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
15969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15970 /* end confdefs.h. */
15972 /* Override any GCC internal prototype to avoid an error.
15973 Use char because int might match the return type of a GCC
15974 builtin and then its argument prototype would still apply. */
15975 char FT_Init_FreeType ();
15977 main (void)
15979 return FT_Init_FreeType ();
15981 return 0;
15983 _ACEOF
15984 if ac_fn_c_try_link "$LINENO"
15985 then :
15986 case "$LIBEXT" in
15987 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15988 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'` ;;
15989 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15990 if ${ac_cv_lib_soname_freetype:+false} :
15991 then :
15992 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15993 fi ;;
15994 esac
15995 else $as_nop
15996 ac_cv_lib_soname_freetype=
15998 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15999 conftest$ac_exeext conftest.$ac_ext
16000 LIBS=$ac_check_soname_save_LIBS
16002 if ${ac_cv_lib_soname_freetype:+false} :
16003 then :
16004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16005 printf "%s\n" "not found" >&6; }
16006 FREETYPE_LIBS=""
16007 else $as_nop
16008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16009 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16011 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16014 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16016 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16017 #include FT_MODULE_H
16019 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16020 then :
16022 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16028 else
16029 FREETYPE_CFLAGS=""
16030 FREETYPE_LIBS=""
16032 CPPFLAGS=$ac_save_CPPFLAGS
16035 if test "x$ac_cv_lib_soname_freetype" = x
16036 then :
16037 case "x$with_freetype" in
16038 xno) ;;
16039 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16040 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16041 esac
16042 enable_fonts=${enable_fonts:-no}
16045 ac_wine_check_funcs_save_LIBS="$LIBS"
16046 LIBS="$LIBS $PTHREAD_LIBS"
16047 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16048 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16049 then :
16050 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16054 LIBS="$ac_wine_check_funcs_save_LIBS"
16056 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16057 then
16058 if test "$ac_cv_header_gettext_po_h" = "yes"
16059 then
16060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16061 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16062 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16063 then :
16064 printf %s "(cached) " >&6
16065 else $as_nop
16066 ac_check_lib_save_LIBS=$LIBS
16067 LIBS="-lgettextpo $LIBS"
16068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16069 /* end confdefs.h. */
16071 /* Override any GCC internal prototype to avoid an error.
16072 Use char because int might match the return type of a GCC
16073 builtin and then its argument prototype would still apply. */
16074 char po_message_msgctxt ();
16076 main (void)
16078 return po_message_msgctxt ();
16080 return 0;
16082 _ACEOF
16083 if ac_fn_c_try_link "$LINENO"
16084 then :
16085 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16086 else $as_nop
16087 ac_cv_lib_gettextpo_po_message_msgctxt=no
16089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16090 conftest$ac_exeext conftest.$ac_ext
16091 LIBS=$ac_check_lib_save_LIBS
16093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16094 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16095 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16096 then :
16098 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16100 GETTEXTPO_LIBS="-lgettextpo"
16105 if test "x$GETTEXTPO_LIBS" = "x"
16106 then :
16107 case "x$with_gettextpo" in
16108 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16109 xno) ;;
16110 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16111 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16112 esac
16115 if test "$srcdir" != .
16116 then :
16117 case "x$with_gettextpo" in
16118 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16119 xno) ;;
16120 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16121 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16122 esac
16127 if test "x$with_pulse" != "xno";
16128 then
16129 if ${PULSE_CFLAGS:+false} :
16130 then :
16131 if test ${PKG_CONFIG+y}
16132 then :
16133 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16137 if ${PULSE_LIBS:+false} :
16138 then :
16139 if test ${PKG_CONFIG+y}
16140 then :
16141 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16148 ac_save_CPPFLAGS=$CPPFLAGS
16149 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16150 for ac_header in pulse/pulseaudio.h
16151 do :
16152 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16153 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16154 then :
16155 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16157 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16158 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16159 then :
16160 printf %s "(cached) " >&6
16161 else $as_nop
16162 ac_check_lib_save_LIBS=$LIBS
16163 LIBS="-lpulse $PULSE_LIBS $LIBS"
16164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16165 /* end confdefs.h. */
16167 /* Override any GCC internal prototype to avoid an error.
16168 Use char because int might match the return type of a GCC
16169 builtin and then its argument prototype would still apply. */
16170 char pa_stream_is_corked ();
16172 main (void)
16174 return pa_stream_is_corked ();
16176 return 0;
16178 _ACEOF
16179 if ac_fn_c_try_link "$LINENO"
16180 then :
16181 ac_cv_lib_pulse_pa_stream_is_corked=yes
16182 else $as_nop
16183 ac_cv_lib_pulse_pa_stream_is_corked=no
16185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16186 conftest$ac_exeext conftest.$ac_ext
16187 LIBS=$ac_check_lib_save_LIBS
16189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16190 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16191 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16192 then :
16194 else $as_nop
16195 PULSE_LIBS=""
16198 else $as_nop
16199 PULSE_LIBS=""
16202 done
16203 CPPFLAGS=$ac_save_CPPFLAGS
16206 if test -z "$PULSE_LIBS"
16207 then :
16208 case "x$with_pulse" in
16209 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16210 xno) ;;
16211 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16212 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16213 esac
16214 enable_winepulse_drv=${enable_winepulse_drv:-no}
16217 if test "x$with_gstreamer" != "xno"
16218 then
16219 if ${GSTREAMER_CFLAGS:+false} :
16220 then :
16221 if test ${PKG_CONFIG+y}
16222 then :
16223 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16227 if ${GSTREAMER_LIBS:+false} :
16228 then :
16229 if test ${PKG_CONFIG+y}
16230 then :
16231 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16238 ac_save_CPPFLAGS=$CPPFLAGS
16239 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16240 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16241 if test "x$ac_cv_header_gst_gst_h" = xyes
16242 then :
16243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16244 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16246 /* end confdefs.h. */
16247 #include <gst/gst.h>
16249 main (void)
16251 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16253 return 0;
16255 _ACEOF
16256 if ac_fn_c_try_compile "$LINENO"
16257 then :
16258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16259 printf "%s\n" "yes" >&6; }
16260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16261 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16262 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16263 then :
16264 printf %s "(cached) " >&6
16265 else $as_nop
16266 ac_check_lib_save_LIBS=$LIBS
16267 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16269 /* end confdefs.h. */
16271 /* Override any GCC internal prototype to avoid an error.
16272 Use char because int might match the return type of a GCC
16273 builtin and then its argument prototype would still apply. */
16274 char gst_pad_new ();
16276 main (void)
16278 return gst_pad_new ();
16280 return 0;
16282 _ACEOF
16283 if ac_fn_c_try_link "$LINENO"
16284 then :
16285 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16286 else $as_nop
16287 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16290 conftest$ac_exeext conftest.$ac_ext
16291 LIBS=$ac_check_lib_save_LIBS
16293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16294 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16295 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16296 then :
16300 else $as_nop
16301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16302 printf "%s\n" "no" >&6; }
16303 ac_glib2_broken=yes
16304 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
16306 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16309 CPPFLAGS=$ac_save_CPPFLAGS
16312 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
16313 then
16314 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
16315 then :
16316 case "x$with_gstreamer" in
16317 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
16318 xno) ;;
16319 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
16320 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
16321 esac
16325 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
16327 ALSA_LIBS=""
16329 if test "x$with_alsa" != "xno"
16330 then
16331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
16332 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
16333 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
16334 then :
16335 printf %s "(cached) " >&6
16336 else $as_nop
16337 ac_check_lib_save_LIBS=$LIBS
16338 LIBS="-lasound $LIBS"
16339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16340 /* end confdefs.h. */
16342 /* Override any GCC internal prototype to avoid an error.
16343 Use char because int might match the return type of a GCC
16344 builtin and then its argument prototype would still apply. */
16345 char snd_pcm_hw_params_get_access_mask ();
16347 main (void)
16349 return snd_pcm_hw_params_get_access_mask ();
16351 return 0;
16353 _ACEOF
16354 if ac_fn_c_try_link "$LINENO"
16355 then :
16356 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
16357 else $as_nop
16358 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
16360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16361 conftest$ac_exeext conftest.$ac_ext
16362 LIBS=$ac_check_lib_save_LIBS
16364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
16365 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
16366 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
16367 then :
16368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16369 /* end confdefs.h. */
16370 #include <alsa/asoundlib.h>
16372 main (void)
16374 snd_pcm_hw_params_get_access_mask(NULL, NULL)
16376 return 0;
16378 _ACEOF
16379 if ac_fn_c_try_compile "$LINENO"
16380 then :
16381 ALSA_LIBS="-lasound"
16383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16387 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
16389 if test "x$with_oss" != xno
16390 then
16391 ac_save_CPPFLAGS="$CPPFLAGS"
16392 if test -f /etc/oss.conf
16393 then
16394 . /etc/oss.conf
16396 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
16397 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
16398 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
16399 if test "x$ac_cv_header_sys_soundcard_h" = xyes
16400 then :
16401 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
16403 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
16404 then :
16406 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
16408 OSS4_CFLAGS="$ac_oss_incl"
16410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
16411 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
16412 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
16413 then :
16414 printf %s "(cached) " >&6
16415 else $as_nop
16416 ac_check_lib_save_LIBS=$LIBS
16417 LIBS="-lossaudio $LIBS"
16418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16421 /* Override any GCC internal prototype to avoid an error.
16422 Use char because int might match the return type of a GCC
16423 builtin and then its argument prototype would still apply. */
16424 char _oss_ioctl ();
16426 main (void)
16428 return _oss_ioctl ();
16430 return 0;
16432 _ACEOF
16433 if ac_fn_c_try_link "$LINENO"
16434 then :
16435 ac_cv_lib_ossaudio__oss_ioctl=yes
16436 else $as_nop
16437 ac_cv_lib_ossaudio__oss_ioctl=no
16439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16440 conftest$ac_exeext conftest.$ac_ext
16441 LIBS=$ac_check_lib_save_LIBS
16443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
16444 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
16445 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
16446 then :
16447 OSS4_LIBS="-lossaudio"
16455 CPPFLAGS="$ac_save_CPPFLAGS"
16457 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
16458 then :
16459 case "x$with_oss" in
16460 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
16461 xno) ;;
16462 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
16463 This is an error since --with-oss was requested." "$LINENO" 5 ;;
16464 esac
16465 enable_wineoss_drv=${enable_wineoss_drv:-no}
16468 if test "x$with_udev" != "xno"
16469 then
16470 if ${UDEV_CFLAGS:+false} :
16471 then :
16472 if test ${PKG_CONFIG+y}
16473 then :
16474 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
16478 if ${UDEV_LIBS:+false} :
16479 then :
16480 if test ${PKG_CONFIG+y}
16481 then :
16482 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
16486 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
16487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
16488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
16489 ac_save_CPPFLAGS=$CPPFLAGS
16490 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
16491 for ac_header in libudev.h
16492 do :
16493 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
16494 if test "x$ac_cv_header_libudev_h" = xyes
16495 then :
16496 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
16497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
16498 printf %s "checking for udev_new in -ludev... " >&6; }
16499 if test ${ac_cv_lib_udev_udev_new+y}
16500 then :
16501 printf %s "(cached) " >&6
16502 else $as_nop
16503 ac_check_lib_save_LIBS=$LIBS
16504 LIBS="-ludev $UDEV_LIBS $LIBS"
16505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16506 /* end confdefs.h. */
16508 /* Override any GCC internal prototype to avoid an error.
16509 Use char because int might match the return type of a GCC
16510 builtin and then its argument prototype would still apply. */
16511 char udev_new ();
16513 main (void)
16515 return udev_new ();
16517 return 0;
16519 _ACEOF
16520 if ac_fn_c_try_link "$LINENO"
16521 then :
16522 ac_cv_lib_udev_udev_new=yes
16523 else $as_nop
16524 ac_cv_lib_udev_udev_new=no
16526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16527 conftest$ac_exeext conftest.$ac_ext
16528 LIBS=$ac_check_lib_save_LIBS
16530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
16531 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
16532 if test "x$ac_cv_lib_udev_udev_new" = xyes
16533 then :
16535 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
16537 else $as_nop
16538 UDEV_LIBS=""
16541 else $as_nop
16542 UDEV_LIBS=""
16545 done
16546 CPPFLAGS=$ac_save_CPPFLAGS
16549 if test "x$UDEV_LIBS" = "x"
16550 then :
16551 case "x$with_udev" in
16552 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
16553 xno) ;;
16554 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
16555 This is an error since --with-udev was requested." "$LINENO" 5 ;;
16556 esac
16560 if test "x$with_unwind" != xno
16561 then
16562 if ${UNWIND_CFLAGS:+false} :
16563 then :
16564 if test ${PKG_CONFIG+y}
16565 then :
16566 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
16570 if ${UNWIND_LIBS:+false} :
16571 then :
16572 if test ${PKG_CONFIG+y}
16573 then :
16574 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
16578 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
16579 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
16580 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
16581 ac_save_CPPFLAGS=$CPPFLAGS
16582 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
16583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
16584 printf %s "checking for unw_step... " >&6; }
16585 if test ${wine_cv_have_unw_step+y}
16586 then :
16587 printf %s "(cached) " >&6
16588 else $as_nop
16589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16590 /* end confdefs.h. */
16591 #define UNW_LOCAL_ONLY
16592 #include <libunwind.h>
16594 main (void)
16596 unw_cursor_t cursor; unw_step( &cursor );
16598 return 0;
16600 _ACEOF
16601 if ac_fn_c_try_link "$LINENO"
16602 then :
16603 wine_cv_have_unw_step="yes"
16604 else $as_nop
16605 wine_cv_have_unw_step="no"
16607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16608 conftest$ac_exeext conftest.$ac_ext
16610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
16611 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
16612 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
16613 then
16614 save_libs=$LIBS
16615 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
16616 LIBS="$UNWIND_LIBS $LIBS"
16617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
16618 printf %s "checking for unw_step in libunwind... " >&6; }
16619 if test ${wine_cv_have_libunwind_unw_step+y}
16620 then :
16621 printf %s "(cached) " >&6
16622 else $as_nop
16623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16624 /* end confdefs.h. */
16625 #define UNW_LOCAL_ONLY
16626 #include <libunwind.h>
16628 main (void)
16630 unw_cursor_t cursor; unw_step( &cursor );
16632 return 0;
16634 _ACEOF
16635 if ac_fn_c_try_link "$LINENO"
16636 then :
16637 wine_cv_have_libunwind_unw_step="yes"
16638 else $as_nop
16639 wine_cv_have_libunwind_unw_step="no"
16641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16642 conftest$ac_exeext conftest.$ac_ext
16644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
16645 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
16646 LIBS=$save_libs
16648 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
16649 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
16650 then
16652 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
16655 CPPFLAGS=$ac_save_CPPFLAGS
16658 case $host in
16659 aarch64*|*-darwin*)
16660 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
16661 then :
16662 case "x$with_unwind" in
16663 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
16664 xno) ;;
16665 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
16666 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
16667 esac
16669 fi ;;
16670 esac
16672 if test "x$with_sdl" != "xno"
16673 then
16674 if ${SDL2_CFLAGS:+false} :
16675 then :
16676 if test ${PKG_CONFIG+y}
16677 then :
16678 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
16682 if ${SDL2_LIBS:+false} :
16683 then :
16684 if test ${PKG_CONFIG+y}
16685 then :
16686 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
16690 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
16691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
16692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
16693 ac_save_CPPFLAGS=$CPPFLAGS
16694 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
16695 for ac_header in SDL.h
16696 do :
16697 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
16698 if test "x$ac_cv_header_SDL_h" = xyes
16699 then :
16700 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
16701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
16702 printf %s "checking for -lSDL2... " >&6; }
16703 if test ${ac_cv_lib_soname_SDL2+y}
16704 then :
16705 printf %s "(cached) " >&6
16706 else $as_nop
16707 ac_check_soname_save_LIBS=$LIBS
16708 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
16709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16710 /* end confdefs.h. */
16712 /* Override any GCC internal prototype to avoid an error.
16713 Use char because int might match the return type of a GCC
16714 builtin and then its argument prototype would still apply. */
16715 char SDL_Init ();
16717 main (void)
16719 return SDL_Init ();
16721 return 0;
16723 _ACEOF
16724 if ac_fn_c_try_link "$LINENO"
16725 then :
16726 case "$LIBEXT" in
16727 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16728 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'` ;;
16729 *) 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'`
16730 if ${ac_cv_lib_soname_SDL2:+false} :
16731 then :
16732 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16733 fi ;;
16734 esac
16735 else $as_nop
16736 ac_cv_lib_soname_SDL2=
16738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16739 conftest$ac_exeext conftest.$ac_ext
16740 LIBS=$ac_check_soname_save_LIBS
16742 if ${ac_cv_lib_soname_SDL2:+false} :
16743 then :
16744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16745 printf "%s\n" "not found" >&6; }
16747 else $as_nop
16748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
16749 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
16751 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
16757 done
16758 CPPFLAGS=$ac_save_CPPFLAGS
16761 if test "x$ac_cv_lib_soname_SDL2" = "x"
16762 then :
16763 case "x$with_sdl" in
16764 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
16765 xno) ;;
16766 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
16767 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
16768 esac
16772 if test "x$with_capi" != "xno"
16773 then
16774 if ${CAPI20_CFLAGS:+false} :
16775 then :
16776 if test ${PKG_CONFIG+y}
16777 then :
16778 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
16782 if ${CAPI20_LIBS:+false} :
16783 then :
16784 if test ${PKG_CONFIG+y}
16785 then :
16786 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
16791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
16792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
16793 ac_save_CPPFLAGS=$CPPFLAGS
16794 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
16795 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
16797 if test "x$ac_cv_header_capi20_h" = xyes
16798 then :
16799 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
16802 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
16804 if test "x$ac_cv_header_linux_capi_h" = xyes
16805 then :
16806 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
16810 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
16811 then
16812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
16813 printf %s "checking for capi20_register in -lcapi20... " >&6; }
16814 if test ${ac_cv_lib_capi20_capi20_register+y}
16815 then :
16816 printf %s "(cached) " >&6
16817 else $as_nop
16818 ac_check_lib_save_LIBS=$LIBS
16819 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
16820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16821 /* end confdefs.h. */
16823 /* Override any GCC internal prototype to avoid an error.
16824 Use char because int might match the return type of a GCC
16825 builtin and then its argument prototype would still apply. */
16826 char capi20_register ();
16828 main (void)
16830 return capi20_register ();
16832 return 0;
16834 _ACEOF
16835 if ac_fn_c_try_link "$LINENO"
16836 then :
16837 ac_cv_lib_capi20_capi20_register=yes
16838 else $as_nop
16839 ac_cv_lib_capi20_capi20_register=no
16841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16842 conftest$ac_exeext conftest.$ac_ext
16843 LIBS=$ac_check_lib_save_LIBS
16845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
16846 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
16847 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
16848 then :
16850 else $as_nop
16851 CAPI20_LIBS=""
16855 CPPFLAGS=$ac_save_CPPFLAGS
16858 if test "x$ac_cv_lib_capi20_capi20_register" = "x"
16859 then :
16860 case "x$with_capi" in
16861 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
16862 xno) ;;
16863 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
16864 This is an error since --with-capi was requested." "$LINENO" 5 ;;
16865 esac
16866 enable_capi2032=${enable_capi2032:-no}
16869 if test "x$with_cups" != "xno"
16870 then
16871 if ${CUPS_CFLAGS:+false} :
16872 then :
16873 if test ${PKG_CONFIG+y}
16874 then :
16875 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
16878 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
16879 if ${CUPS_LIBS:+false} :
16880 then :
16881 if test ${PKG_CONFIG+y}
16882 then :
16883 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
16886 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
16887 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
16888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
16889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
16890 ac_save_CPPFLAGS=$CPPFLAGS
16891 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
16892 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
16893 if test "x$ac_cv_header_cups_cups_h" = xyes
16894 then :
16895 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
16898 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
16899 if test "x$ac_cv_header_cups_ppd_h" = xyes
16900 then :
16901 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
16905 if test "$ac_cv_header_cups_cups_h" = "yes"
16906 then
16907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
16908 printf %s "checking for -lcups... " >&6; }
16909 if test ${ac_cv_lib_soname_cups+y}
16910 then :
16911 printf %s "(cached) " >&6
16912 else $as_nop
16913 ac_check_soname_save_LIBS=$LIBS
16914 LIBS="-lcups $CUPS_LIBS $LIBS"
16915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16916 /* end confdefs.h. */
16918 /* Override any GCC internal prototype to avoid an error.
16919 Use char because int might match the return type of a GCC
16920 builtin and then its argument prototype would still apply. */
16921 char cupsGetDefault ();
16923 main (void)
16925 return cupsGetDefault ();
16927 return 0;
16929 _ACEOF
16930 if ac_fn_c_try_link "$LINENO"
16931 then :
16932 case "$LIBEXT" in
16933 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16934 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'` ;;
16935 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16936 if ${ac_cv_lib_soname_cups:+false} :
16937 then :
16938 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16939 fi ;;
16940 esac
16941 else $as_nop
16942 ac_cv_lib_soname_cups=
16944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16945 conftest$ac_exeext conftest.$ac_ext
16946 LIBS=$ac_check_soname_save_LIBS
16948 if ${ac_cv_lib_soname_cups:+false} :
16949 then :
16950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16951 printf "%s\n" "not found" >&6; }
16952 CUPS_LIBS=""
16953 else $as_nop
16954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
16955 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
16957 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
16961 else
16962 CUPS_CFLAGS=""
16963 CUPS_LIBS=""
16965 CPPFLAGS=$ac_save_CPPFLAGS
16968 if test "x$ac_cv_lib_soname_cups" = "x"
16969 then :
16970 case "x$with_cups" in
16971 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
16972 xno) ;;
16973 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
16974 This is an error since --with-cups was requested." "$LINENO" 5 ;;
16975 esac
16979 if test "x$with_fontconfig" != "xno"
16980 then
16981 if ${FONTCONFIG_CFLAGS:+false} :
16982 then :
16983 if test ${PKG_CONFIG+y}
16984 then :
16985 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
16988 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
16989 if ${FONTCONFIG_LIBS:+false} :
16990 then :
16991 if test ${PKG_CONFIG+y}
16992 then :
16993 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
16996 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
16998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
16999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17000 ac_save_CPPFLAGS=$CPPFLAGS
17001 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17002 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17003 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17004 then :
17005 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17009 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17010 then
17011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17012 printf %s "checking for -lfontconfig... " >&6; }
17013 if test ${ac_cv_lib_soname_fontconfig+y}
17014 then :
17015 printf %s "(cached) " >&6
17016 else $as_nop
17017 ac_check_soname_save_LIBS=$LIBS
17018 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17022 /* Override any GCC internal prototype to avoid an error.
17023 Use char because int might match the return type of a GCC
17024 builtin and then its argument prototype would still apply. */
17025 char FcInit ();
17027 main (void)
17029 return FcInit ();
17031 return 0;
17033 _ACEOF
17034 if ac_fn_c_try_link "$LINENO"
17035 then :
17036 case "$LIBEXT" in
17037 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17038 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'` ;;
17039 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17040 if ${ac_cv_lib_soname_fontconfig:+false} :
17041 then :
17042 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17043 fi ;;
17044 esac
17045 else $as_nop
17046 ac_cv_lib_soname_fontconfig=
17048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17049 conftest$ac_exeext conftest.$ac_ext
17050 LIBS=$ac_check_soname_save_LIBS
17052 if ${ac_cv_lib_soname_fontconfig:+false} :
17053 then :
17054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17055 printf "%s\n" "not found" >&6; }
17056 FONTCONFIG_CFLAGS=""
17057 else $as_nop
17058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17059 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17061 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17065 else
17066 FONTCONFIG_CFLAGS=""
17068 CPPFLAGS=$ac_save_CPPFLAGS
17071 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17072 then :
17073 case "x$with_fontconfig" in
17074 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17075 xno) ;;
17076 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17077 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17078 esac
17082 if test "x$with_krb5" != "xno"
17083 then
17084 if ${KRB5_CFLAGS:+false} :
17085 then :
17086 if test ${PKG_CONFIG+y}
17087 then :
17088 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17091 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17092 if ${KRB5_LIBS:+false} :
17093 then :
17094 if test ${PKG_CONFIG+y}
17095 then :
17096 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17099 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17103 ac_save_CPPFLAGS=$CPPFLAGS
17104 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17105 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17106 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17107 then :
17108 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17112 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17113 then
17114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17115 printf %s "checking for -lkrb5... " >&6; }
17116 if test ${ac_cv_lib_soname_krb5+y}
17117 then :
17118 printf %s "(cached) " >&6
17119 else $as_nop
17120 ac_check_soname_save_LIBS=$LIBS
17121 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17125 /* Override any GCC internal prototype to avoid an error.
17126 Use char because int might match the return type of a GCC
17127 builtin and then its argument prototype would still apply. */
17128 char krb5_is_config_principal ();
17130 main (void)
17132 return krb5_is_config_principal ();
17134 return 0;
17136 _ACEOF
17137 if ac_fn_c_try_link "$LINENO"
17138 then :
17139 case "$LIBEXT" in
17140 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17141 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'` ;;
17142 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17143 if ${ac_cv_lib_soname_krb5:+false} :
17144 then :
17145 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17146 fi ;;
17147 esac
17148 else $as_nop
17149 ac_cv_lib_soname_krb5=
17151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17152 conftest$ac_exeext conftest.$ac_ext
17153 LIBS=$ac_check_soname_save_LIBS
17155 if ${ac_cv_lib_soname_krb5:+false} :
17156 then :
17157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17158 printf "%s\n" "not found" >&6; }
17159 KRB5_CFLAGS=""
17160 else $as_nop
17161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17162 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17164 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17168 else
17169 KRB5_CFLAGS=""
17171 CPPFLAGS=$ac_save_CPPFLAGS
17174 if test "x$ac_cv_lib_soname_krb5" = "x"
17175 then :
17176 case "x$with_krb5" in
17177 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17178 xno) ;;
17179 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17180 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17181 esac
17184 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17186 if test "x$with_gssapi" != "xno"
17187 then
17188 if ${GSSAPI_CFLAGS:+false} :
17189 then :
17190 if test ${PKG_CONFIG+y}
17191 then :
17192 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17195 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17196 if ${GSSAPI_LIBS:+false} :
17197 then :
17198 if test ${PKG_CONFIG+y}
17199 then :
17200 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17203 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17207 ac_save_CPPFLAGS=$CPPFLAGS
17208 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17209 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17210 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17211 then :
17212 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17215 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17216 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17217 then :
17218 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17222 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17223 then
17224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17225 printf %s "checking for -lgssapi_krb5... " >&6; }
17226 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17227 then :
17228 printf %s "(cached) " >&6
17229 else $as_nop
17230 ac_check_soname_save_LIBS=$LIBS
17231 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17235 /* Override any GCC internal prototype to avoid an error.
17236 Use char because int might match the return type of a GCC
17237 builtin and then its argument prototype would still apply. */
17238 char gss_init_sec_context ();
17240 main (void)
17242 return gss_init_sec_context ();
17244 return 0;
17246 _ACEOF
17247 if ac_fn_c_try_link "$LINENO"
17248 then :
17249 case "$LIBEXT" in
17250 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17251 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'` ;;
17252 *) 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'`
17253 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17254 then :
17255 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17256 fi ;;
17257 esac
17258 else $as_nop
17259 ac_cv_lib_soname_gssapi_krb5=
17261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17262 conftest$ac_exeext conftest.$ac_ext
17263 LIBS=$ac_check_soname_save_LIBS
17265 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17266 then :
17267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17268 printf "%s\n" "not found" >&6; }
17269 GSSAPI_CFLAGS=""
17270 else $as_nop
17271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
17272 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
17274 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
17278 else
17279 GSSAPI_CFLAGS=""
17281 CPPFLAGS=$ac_save_CPPFLAGS
17284 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
17285 then :
17286 case "x$with_gssapi" in
17287 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
17288 xno) ;;
17289 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
17290 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
17291 esac
17295 if test "$ac_cv_header_AL_al_h" = "yes"
17296 then
17297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
17298 printf %s "checking for -lopenal... " >&6; }
17299 if test ${ac_cv_lib_soname_openal+y}
17300 then :
17301 printf %s "(cached) " >&6
17302 else $as_nop
17303 ac_check_soname_save_LIBS=$LIBS
17304 LIBS="-lopenal $LIBS"
17305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17308 /* Override any GCC internal prototype to avoid an error.
17309 Use char because int might match the return type of a GCC
17310 builtin and then its argument prototype would still apply. */
17311 char alGetSource3i ();
17313 main (void)
17315 return alGetSource3i ();
17317 return 0;
17319 _ACEOF
17320 if ac_fn_c_try_link "$LINENO"
17321 then :
17322 case "$LIBEXT" in
17323 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17324 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'` ;;
17325 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17326 if ${ac_cv_lib_soname_openal:+false} :
17327 then :
17328 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17329 fi ;;
17330 esac
17331 else $as_nop
17332 ac_cv_lib_soname_openal=
17334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17335 conftest$ac_exeext conftest.$ac_ext
17336 LIBS=$ac_check_soname_save_LIBS
17338 if ${ac_cv_lib_soname_openal:+false} :
17339 then :
17340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17341 printf "%s\n" "not found" >&6; }
17343 else $as_nop
17344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
17345 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
17347 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
17349 OPENAL_LIBS="-lopenal"
17351 ac_cv_lib_openal=yes
17353 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
17357 if test "x$ac_cv_lib_openal" != xyes
17358 then :
17359 case "x$with_openal" in
17360 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
17361 xno) ;;
17362 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
17363 This is an error since --with-openal was requested." "$LINENO" 5 ;;
17364 esac
17365 enable_openal32=${enable_openal32:-no}
17368 if test "$ac_cv_header_libprocstat_h" = "yes"
17369 then
17370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
17371 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
17372 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
17373 then :
17374 printf %s "(cached) " >&6
17375 else $as_nop
17376 ac_check_lib_save_LIBS=$LIBS
17377 LIBS="-lprocstat $LIBS"
17378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17379 /* end confdefs.h. */
17381 /* Override any GCC internal prototype to avoid an error.
17382 Use char because int might match the return type of a GCC
17383 builtin and then its argument prototype would still apply. */
17384 char procstat_open_sysctl ();
17386 main (void)
17388 return procstat_open_sysctl ();
17390 return 0;
17392 _ACEOF
17393 if ac_fn_c_try_link "$LINENO"
17394 then :
17395 ac_cv_lib_procstat_procstat_open_sysctl=yes
17396 else $as_nop
17397 ac_cv_lib_procstat_procstat_open_sysctl=no
17399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17400 conftest$ac_exeext conftest.$ac_ext
17401 LIBS=$ac_check_lib_save_LIBS
17403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
17404 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
17405 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
17406 then :
17408 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
17410 PROCSTAT_LIBS="-lprocstat"
17416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
17417 printf %s "checking for -lodbc... " >&6; }
17418 if test ${ac_cv_lib_soname_odbc+y}
17419 then :
17420 printf %s "(cached) " >&6
17421 else $as_nop
17422 ac_check_soname_save_LIBS=$LIBS
17423 LIBS="-lodbc $LIBS"
17424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17427 /* Override any GCC internal prototype to avoid an error.
17428 Use char because int might match the return type of a GCC
17429 builtin and then its argument prototype would still apply. */
17430 char SQLConnect ();
17432 main (void)
17434 return SQLConnect ();
17436 return 0;
17438 _ACEOF
17439 if ac_fn_c_try_link "$LINENO"
17440 then :
17441 case "$LIBEXT" in
17442 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17443 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'` ;;
17444 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17445 if ${ac_cv_lib_soname_odbc:+false} :
17446 then :
17447 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17448 fi ;;
17449 esac
17450 else $as_nop
17451 ac_cv_lib_soname_odbc=
17453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17454 conftest$ac_exeext conftest.$ac_ext
17455 LIBS=$ac_check_soname_save_LIBS
17457 if ${ac_cv_lib_soname_odbc:+false} :
17458 then :
17459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17460 printf "%s\n" "not found" >&6; }
17461 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
17463 else $as_nop
17464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
17465 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
17467 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
17472 if test "x$with_netapi" != "xno"
17473 then
17474 if ${NETAPI_CFLAGS:+false} :
17475 then :
17476 if test ${PKG_CONFIG+y}
17477 then :
17478 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
17482 if ${NETAPI_LIBS:+false} :
17483 then :
17484 if test ${PKG_CONFIG+y}
17485 then :
17486 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
17491 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
17492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
17493 ac_save_CPPFLAGS=$CPPFLAGS
17494 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
17495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
17496 printf %s "checking for -lnetapi... " >&6; }
17497 if test ${ac_cv_lib_soname_netapi+y}
17498 then :
17499 printf %s "(cached) " >&6
17500 else $as_nop
17501 ac_check_soname_save_LIBS=$LIBS
17502 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
17503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17504 /* end confdefs.h. */
17506 /* Override any GCC internal prototype to avoid an error.
17507 Use char because int might match the return type of a GCC
17508 builtin and then its argument prototype would still apply. */
17509 char libnetapi_init ();
17511 main (void)
17513 return libnetapi_init ();
17515 return 0;
17517 _ACEOF
17518 if ac_fn_c_try_link "$LINENO"
17519 then :
17520 case "$LIBEXT" in
17521 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17522 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'` ;;
17523 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17524 if ${ac_cv_lib_soname_netapi:+false} :
17525 then :
17526 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17527 fi ;;
17528 esac
17529 else $as_nop
17530 ac_cv_lib_soname_netapi=
17532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17533 conftest$ac_exeext conftest.$ac_ext
17534 LIBS=$ac_check_soname_save_LIBS
17536 if ${ac_cv_lib_soname_netapi:+false} :
17537 then :
17538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17539 printf "%s\n" "not found" >&6; }
17540 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
17542 else $as_nop
17543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
17544 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
17546 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
17550 CPPFLAGS=$ac_save_CPPFLAGS
17554 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
17555 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
17556 then
17557 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
17560 if test "x$with_vulkan" != "xno"
17561 then
17562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
17563 printf %s "checking for -lvulkan... " >&6; }
17564 if test ${ac_cv_lib_soname_vulkan+y}
17565 then :
17566 printf %s "(cached) " >&6
17567 else $as_nop
17568 ac_check_soname_save_LIBS=$LIBS
17569 LIBS="-lvulkan $LIBS"
17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17573 /* Override any GCC internal prototype to avoid an error.
17574 Use char because int might match the return type of a GCC
17575 builtin and then its argument prototype would still apply. */
17576 char vkGetInstanceProcAddr ();
17578 main (void)
17580 return vkGetInstanceProcAddr ();
17582 return 0;
17584 _ACEOF
17585 if ac_fn_c_try_link "$LINENO"
17586 then :
17587 case "$LIBEXT" in
17588 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17589 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'` ;;
17590 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17591 if ${ac_cv_lib_soname_vulkan:+false} :
17592 then :
17593 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17594 fi ;;
17595 esac
17596 else $as_nop
17597 ac_cv_lib_soname_vulkan=
17599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17600 conftest$ac_exeext conftest.$ac_ext
17601 LIBS=$ac_check_soname_save_LIBS
17603 if ${ac_cv_lib_soname_vulkan:+false} :
17604 then :
17605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17606 printf "%s\n" "not found" >&6; }
17608 else $as_nop
17609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
17610 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
17612 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
17616 if test "x$ac_cv_lib_soname_vulkan" = "x"
17617 then
17618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
17619 printf %s "checking for -lMoltenVK... " >&6; }
17620 if test ${ac_cv_lib_soname_MoltenVK+y}
17621 then :
17622 printf %s "(cached) " >&6
17623 else $as_nop
17624 ac_check_soname_save_LIBS=$LIBS
17625 LIBS="-lMoltenVK $LIBS"
17626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17627 /* end confdefs.h. */
17629 /* Override any GCC internal prototype to avoid an error.
17630 Use char because int might match the return type of a GCC
17631 builtin and then its argument prototype would still apply. */
17632 char vkGetInstanceProcAddr ();
17634 main (void)
17636 return vkGetInstanceProcAddr ();
17638 return 0;
17640 _ACEOF
17641 if ac_fn_c_try_link "$LINENO"
17642 then :
17643 case "$LIBEXT" in
17644 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17645 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'` ;;
17646 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17647 if ${ac_cv_lib_soname_MoltenVK:+false} :
17648 then :
17649 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17650 fi ;;
17651 esac
17652 else $as_nop
17653 ac_cv_lib_soname_MoltenVK=
17655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17656 conftest$ac_exeext conftest.$ac_ext
17657 LIBS=$ac_check_soname_save_LIBS
17659 if ${ac_cv_lib_soname_MoltenVK:+false} :
17660 then :
17661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17662 printf "%s\n" "not found" >&6; }
17664 else $as_nop
17665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
17666 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
17668 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
17674 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
17675 then :
17676 case "x$with_vulkan" in
17677 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
17678 xno) ;;
17679 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
17680 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
17681 esac
17685 if test "x$with_vkd3d" != "xno"
17686 then
17687 if ${VKD3D_CFLAGS:+false} :
17688 then :
17689 if test ${PKG_CONFIG+y}
17690 then :
17691 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
17695 if ${VKD3D_LIBS:+false} :
17696 then :
17697 if test ${PKG_CONFIG+y}
17698 then :
17699 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
17704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
17705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
17706 ac_save_CPPFLAGS=$CPPFLAGS
17707 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
17708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
17709 printf %s "checking for -lvkd3d... " >&6; }
17710 if test ${ac_cv_lib_soname_vkd3d+y}
17711 then :
17712 printf %s "(cached) " >&6
17713 else $as_nop
17714 ac_check_soname_save_LIBS=$LIBS
17715 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
17716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17717 /* end confdefs.h. */
17719 /* Override any GCC internal prototype to avoid an error.
17720 Use char because int might match the return type of a GCC
17721 builtin and then its argument prototype would still apply. */
17722 char vkd3d_serialize_versioned_root_signature ();
17724 main (void)
17726 return vkd3d_serialize_versioned_root_signature ();
17728 return 0;
17730 _ACEOF
17731 if ac_fn_c_try_link "$LINENO"
17732 then :
17733 case "$LIBEXT" in
17734 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17735 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'` ;;
17736 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17737 if ${ac_cv_lib_soname_vkd3d:+false} :
17738 then :
17739 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17740 fi ;;
17741 esac
17742 else $as_nop
17743 ac_cv_lib_soname_vkd3d=
17745 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17746 conftest$ac_exeext conftest.$ac_ext
17747 LIBS=$ac_check_soname_save_LIBS
17749 if ${ac_cv_lib_soname_vkd3d:+false} :
17750 then :
17751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17752 printf "%s\n" "not found" >&6; }
17754 else $as_nop
17755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
17756 printf "%s\n" "$ac_cv_lib_soname_vkd3d" >&6; }
17758 printf "%s\n" "#define SONAME_LIBVKD3D \"$ac_cv_lib_soname_vkd3d\"" >>confdefs.h
17762 CPPFLAGS=$ac_save_CPPFLAGS
17764 if ${VKD3D_SHADER_CFLAGS:+false} :
17765 then :
17766 if test ${PKG_CONFIG+y}
17767 then :
17768 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
17772 if ${VKD3D_SHADER_LIBS:+false} :
17773 then :
17774 if test ${PKG_CONFIG+y}
17775 then :
17776 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
17781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
17782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
17783 ac_save_CPPFLAGS=$CPPFLAGS
17784 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
17785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
17786 printf %s "checking for -lvkd3d-shader... " >&6; }
17787 if test ${ac_cv_lib_soname_vkd3d_shader+y}
17788 then :
17789 printf %s "(cached) " >&6
17790 else $as_nop
17791 ac_check_soname_save_LIBS=$LIBS
17792 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17796 /* Override any GCC internal prototype to avoid an error.
17797 Use char because int might match the return type of a GCC
17798 builtin and then its argument prototype would still apply. */
17799 char vkd3d_shader_compile ();
17801 main (void)
17803 return vkd3d_shader_compile ();
17805 return 0;
17807 _ACEOF
17808 if ac_fn_c_try_link "$LINENO"
17809 then :
17810 case "$LIBEXT" in
17811 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17812 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'` ;;
17813 *) 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'`
17814 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
17815 then :
17816 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17817 fi ;;
17818 esac
17819 else $as_nop
17820 ac_cv_lib_soname_vkd3d_shader=
17822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17823 conftest$ac_exeext conftest.$ac_ext
17824 LIBS=$ac_check_soname_save_LIBS
17826 if ${ac_cv_lib_soname_vkd3d_shader:+false} :
17827 then :
17828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17829 printf "%s\n" "not found" >&6; }
17831 else $as_nop
17832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
17833 printf "%s\n" "$ac_cv_lib_soname_vkd3d_shader" >&6; }
17835 printf "%s\n" "#define SONAME_LIBVKD3D_SHADER \"$ac_cv_lib_soname_vkd3d_shader\"" >>confdefs.h
17839 CPPFLAGS=$ac_save_CPPFLAGS
17842 if test "x$ac_cv_lib_soname_vkd3d" = "x"
17843 then :
17844 case "x$with_vkd3d" in
17845 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17846 xno) ;;
17847 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17848 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17849 esac
17852 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17855 if test "x${GCC}" = "xyes"
17856 then
17857 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
17859 saved_CFLAGS=$CFLAGS
17860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17861 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17862 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
17863 then :
17864 printf %s "(cached) " >&6
17865 else $as_nop
17866 ac_wine_try_cflags_saved=$CFLAGS
17867 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17869 /* end confdefs.h. */
17870 int main(int argc, char **argv) { return 0; }
17871 _ACEOF
17872 if ac_fn_c_try_link "$LINENO"
17873 then :
17874 ac_cv_cflags__Werror_unknown_warning_option=yes
17875 else $as_nop
17876 ac_cv_cflags__Werror_unknown_warning_option=no
17878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17879 conftest$ac_exeext conftest.$ac_ext
17880 CFLAGS=$ac_wine_try_cflags_saved
17882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17883 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17884 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
17885 then :
17886 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17889 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17890 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
17891 then :
17892 printf %s "(cached) " >&6
17893 else $as_nop
17894 ac_wine_try_cflags_saved=$CFLAGS
17895 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h. */
17898 int main(int argc, char **argv) { return 0; }
17899 _ACEOF
17900 if ac_fn_c_try_link "$LINENO"
17901 then :
17902 ac_cv_cflags__Werror_unused_command_line_argument=yes
17903 else $as_nop
17904 ac_cv_cflags__Werror_unused_command_line_argument=no
17906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17907 conftest$ac_exeext conftest.$ac_ext
17908 CFLAGS=$ac_wine_try_cflags_saved
17910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17911 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17912 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
17913 then :
17914 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17917 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17918 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
17919 then :
17920 printf %s "(cached) " >&6
17921 else $as_nop
17922 ac_wine_try_cflags_saved=$CFLAGS
17923 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17925 /* end confdefs.h. */
17926 int main(int argc, char **argv) { return 0; }
17927 _ACEOF
17928 if ac_fn_c_try_link "$LINENO"
17929 then :
17930 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17931 else $as_nop
17932 ac_cv_cflags__Werror_ignored_optimization_argument=no
17934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17935 conftest$ac_exeext conftest.$ac_ext
17936 CFLAGS=$ac_wine_try_cflags_saved
17938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17939 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17940 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
17941 then :
17942 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17945 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
17946 if test ${ac_cv_cflags__fcf_protection_none+y}
17947 then :
17948 printf %s "(cached) " >&6
17949 else $as_nop
17950 ac_wine_try_cflags_saved=$CFLAGS
17951 CFLAGS="$CFLAGS -fcf-protection=none"
17952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h. */
17954 int main(int argc, char **argv) { return 0; }
17955 _ACEOF
17956 if ac_fn_c_try_link "$LINENO"
17957 then :
17958 ac_cv_cflags__fcf_protection_none=yes
17959 else $as_nop
17960 ac_cv_cflags__fcf_protection_none=no
17962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17963 conftest$ac_exeext conftest.$ac_ext
17964 CFLAGS=$ac_wine_try_cflags_saved
17966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17967 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
17968 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
17969 then :
17970 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17973 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
17974 if test ${ac_cv_cflags__fno_stack_protector+y}
17975 then :
17976 printf %s "(cached) " >&6
17977 else $as_nop
17978 ac_wine_try_cflags_saved=$CFLAGS
17979 CFLAGS="$CFLAGS -fno-stack-protector"
17980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17981 /* end confdefs.h. */
17982 int main(int argc, char **argv) { return 0; }
17983 _ACEOF
17984 if ac_fn_c_try_link "$LINENO"
17985 then :
17986 ac_cv_cflags__fno_stack_protector=yes
17987 else $as_nop
17988 ac_cv_cflags__fno_stack_protector=no
17990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17991 conftest$ac_exeext conftest.$ac_ext
17992 CFLAGS=$ac_wine_try_cflags_saved
17994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17995 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
17996 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
17997 then :
17998 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18001 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18002 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18003 then :
18004 printf %s "(cached) " >&6
18005 else $as_nop
18006 ac_wine_try_cflags_saved=$CFLAGS
18007 CFLAGS="$CFLAGS -fno-strict-aliasing"
18008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18009 /* end confdefs.h. */
18010 int main(int argc, char **argv) { return 0; }
18011 _ACEOF
18012 if ac_fn_c_try_link "$LINENO"
18013 then :
18014 ac_cv_cflags__fno_strict_aliasing=yes
18015 else $as_nop
18016 ac_cv_cflags__fno_strict_aliasing=no
18018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18019 conftest$ac_exeext conftest.$ac_ext
18020 CFLAGS=$ac_wine_try_cflags_saved
18022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18023 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18024 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18025 then :
18026 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18029 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18030 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18031 then :
18032 printf %s "(cached) " >&6
18033 else $as_nop
18034 ac_wine_try_cflags_saved=$CFLAGS
18035 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18037 /* end confdefs.h. */
18038 int main(int argc, char **argv) { return 0; }
18039 _ACEOF
18040 if ac_fn_c_try_link "$LINENO"
18041 then :
18042 ac_cv_cflags__Wdeclaration_after_statement=yes
18043 else $as_nop
18044 ac_cv_cflags__Wdeclaration_after_statement=no
18046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18047 conftest$ac_exeext conftest.$ac_ext
18048 CFLAGS=$ac_wine_try_cflags_saved
18050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18051 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18052 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18053 then :
18054 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18057 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18058 if test ${ac_cv_cflags__Wempty_body+y}
18059 then :
18060 printf %s "(cached) " >&6
18061 else $as_nop
18062 ac_wine_try_cflags_saved=$CFLAGS
18063 CFLAGS="$CFLAGS -Wempty-body"
18064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18065 /* end confdefs.h. */
18066 int main(int argc, char **argv) { return 0; }
18067 _ACEOF
18068 if ac_fn_c_try_link "$LINENO"
18069 then :
18070 ac_cv_cflags__Wempty_body=yes
18071 else $as_nop
18072 ac_cv_cflags__Wempty_body=no
18074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18075 conftest$ac_exeext conftest.$ac_ext
18076 CFLAGS=$ac_wine_try_cflags_saved
18078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18079 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18080 if test "x$ac_cv_cflags__Wempty_body" = xyes
18081 then :
18082 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18085 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18086 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18087 then :
18088 printf %s "(cached) " >&6
18089 else $as_nop
18090 ac_wine_try_cflags_saved=$CFLAGS
18091 CFLAGS="$CFLAGS -Wignored-qualifiers"
18092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18093 /* end confdefs.h. */
18094 int main(int argc, char **argv) { return 0; }
18095 _ACEOF
18096 if ac_fn_c_try_link "$LINENO"
18097 then :
18098 ac_cv_cflags__Wignored_qualifiers=yes
18099 else $as_nop
18100 ac_cv_cflags__Wignored_qualifiers=no
18102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18103 conftest$ac_exeext conftest.$ac_ext
18104 CFLAGS=$ac_wine_try_cflags_saved
18106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18107 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18108 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18109 then :
18110 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18113 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18114 if test ${ac_cv_cflags__Winit_self+y}
18115 then :
18116 printf %s "(cached) " >&6
18117 else $as_nop
18118 ac_wine_try_cflags_saved=$CFLAGS
18119 CFLAGS="$CFLAGS -Winit-self"
18120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18121 /* end confdefs.h. */
18122 int main(int argc, char **argv) { return 0; }
18123 _ACEOF
18124 if ac_fn_c_try_link "$LINENO"
18125 then :
18126 ac_cv_cflags__Winit_self=yes
18127 else $as_nop
18128 ac_cv_cflags__Winit_self=no
18130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18131 conftest$ac_exeext conftest.$ac_ext
18132 CFLAGS=$ac_wine_try_cflags_saved
18134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18135 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18136 if test "x$ac_cv_cflags__Winit_self" = xyes
18137 then :
18138 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18141 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18142 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18143 then :
18144 printf %s "(cached) " >&6
18145 else $as_nop
18146 ac_wine_try_cflags_saved=$CFLAGS
18147 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18149 /* end confdefs.h. */
18150 int main(int argc, char **argv) { return 0; }
18151 _ACEOF
18152 if ac_fn_c_try_link "$LINENO"
18153 then :
18154 ac_cv_cflags__Wpacked_not_aligned=yes
18155 else $as_nop
18156 ac_cv_cflags__Wpacked_not_aligned=no
18158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18159 conftest$ac_exeext conftest.$ac_ext
18160 CFLAGS=$ac_wine_try_cflags_saved
18162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18163 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18164 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18165 then :
18166 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18169 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18170 if test ${ac_cv_cflags__Wpragma_pack+y}
18171 then :
18172 printf %s "(cached) " >&6
18173 else $as_nop
18174 ac_wine_try_cflags_saved=$CFLAGS
18175 CFLAGS="$CFLAGS -Wpragma-pack"
18176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18177 /* end confdefs.h. */
18178 int main(int argc, char **argv) { return 0; }
18179 _ACEOF
18180 if ac_fn_c_try_link "$LINENO"
18181 then :
18182 ac_cv_cflags__Wpragma_pack=yes
18183 else $as_nop
18184 ac_cv_cflags__Wpragma_pack=no
18186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18187 conftest$ac_exeext conftest.$ac_ext
18188 CFLAGS=$ac_wine_try_cflags_saved
18190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18191 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18192 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18193 then :
18194 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18197 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18198 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18199 then :
18200 printf %s "(cached) " >&6
18201 else $as_nop
18202 ac_wine_try_cflags_saved=$CFLAGS
18203 CFLAGS="$CFLAGS -Wshift-overflow=2"
18204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18205 /* end confdefs.h. */
18206 int main(int argc, char **argv) { return 0; }
18207 _ACEOF
18208 if ac_fn_c_try_link "$LINENO"
18209 then :
18210 ac_cv_cflags__Wshift_overflow_2=yes
18211 else $as_nop
18212 ac_cv_cflags__Wshift_overflow_2=no
18214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18215 conftest$ac_exeext conftest.$ac_ext
18216 CFLAGS=$ac_wine_try_cflags_saved
18218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18219 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18220 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18221 then :
18222 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18225 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18226 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18227 then :
18228 printf %s "(cached) " >&6
18229 else $as_nop
18230 ac_wine_try_cflags_saved=$CFLAGS
18231 CFLAGS="$CFLAGS -Wstrict-prototypes"
18232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18233 /* end confdefs.h. */
18234 int main(int argc, char **argv) { return 0; }
18235 _ACEOF
18236 if ac_fn_c_try_link "$LINENO"
18237 then :
18238 ac_cv_cflags__Wstrict_prototypes=yes
18239 else $as_nop
18240 ac_cv_cflags__Wstrict_prototypes=no
18242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18243 conftest$ac_exeext conftest.$ac_ext
18244 CFLAGS=$ac_wine_try_cflags_saved
18246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18247 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18248 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18249 then :
18250 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18253 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18254 if test ${ac_cv_cflags__Wtype_limits+y}
18255 then :
18256 printf %s "(cached) " >&6
18257 else $as_nop
18258 ac_wine_try_cflags_saved=$CFLAGS
18259 CFLAGS="$CFLAGS -Wtype-limits"
18260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18261 /* end confdefs.h. */
18262 int main(int argc, char **argv) { return 0; }
18263 _ACEOF
18264 if ac_fn_c_try_link "$LINENO"
18265 then :
18266 ac_cv_cflags__Wtype_limits=yes
18267 else $as_nop
18268 ac_cv_cflags__Wtype_limits=no
18270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18271 conftest$ac_exeext conftest.$ac_ext
18272 CFLAGS=$ac_wine_try_cflags_saved
18274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18275 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18276 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18277 then :
18278 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18281 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18282 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18283 then :
18284 printf %s "(cached) " >&6
18285 else $as_nop
18286 ac_wine_try_cflags_saved=$CFLAGS
18287 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18289 /* end confdefs.h. */
18290 int main(int argc, char **argv) { return 0; }
18291 _ACEOF
18292 if ac_fn_c_try_link "$LINENO"
18293 then :
18294 ac_cv_cflags__Wunused_but_set_parameter=yes
18295 else $as_nop
18296 ac_cv_cflags__Wunused_but_set_parameter=no
18298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18299 conftest$ac_exeext conftest.$ac_ext
18300 CFLAGS=$ac_wine_try_cflags_saved
18302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18303 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18304 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18305 then :
18306 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18309 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18310 if test ${ac_cv_cflags__Wvla+y}
18311 then :
18312 printf %s "(cached) " >&6
18313 else $as_nop
18314 ac_wine_try_cflags_saved=$CFLAGS
18315 CFLAGS="$CFLAGS -Wvla"
18316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18317 /* end confdefs.h. */
18318 int main(int argc, char **argv) { return 0; }
18319 _ACEOF
18320 if ac_fn_c_try_link "$LINENO"
18321 then :
18322 ac_cv_cflags__Wvla=yes
18323 else $as_nop
18324 ac_cv_cflags__Wvla=no
18326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18327 conftest$ac_exeext conftest.$ac_ext
18328 CFLAGS=$ac_wine_try_cflags_saved
18330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18331 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18332 if test "x$ac_cv_cflags__Wvla" = xyes
18333 then :
18334 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18337 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18338 if test ${ac_cv_cflags__Wwrite_strings+y}
18339 then :
18340 printf %s "(cached) " >&6
18341 else $as_nop
18342 ac_wine_try_cflags_saved=$CFLAGS
18343 CFLAGS="$CFLAGS -Wwrite-strings"
18344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18345 /* end confdefs.h. */
18346 int main(int argc, char **argv) { return 0; }
18347 _ACEOF
18348 if ac_fn_c_try_link "$LINENO"
18349 then :
18350 ac_cv_cflags__Wwrite_strings=yes
18351 else $as_nop
18352 ac_cv_cflags__Wwrite_strings=no
18354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18355 conftest$ac_exeext conftest.$ac_ext
18356 CFLAGS=$ac_wine_try_cflags_saved
18358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18359 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18360 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18361 then :
18362 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18365 if test -z "$CROSSTARGET"
18366 then
18367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18368 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18369 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18370 then :
18371 printf %s "(cached) " >&6
18372 else $as_nop
18373 ac_wine_try_cflags_saved=$CFLAGS
18374 CFLAGS="$CFLAGS -fexcess-precision=standard"
18375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h. */
18377 int main(int argc, char **argv) { return 0; }
18378 _ACEOF
18379 if ac_fn_c_try_link "$LINENO"
18380 then :
18381 ac_cv_cflags__fexcess_precision_standard=yes
18382 else $as_nop
18383 ac_cv_cflags__fexcess_precision_standard=no
18385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18386 conftest$ac_exeext conftest.$ac_ext
18387 CFLAGS=$ac_wine_try_cflags_saved
18389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18390 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18391 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18392 then :
18393 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
18398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18399 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18400 if test ${ac_cv_cflags__Wpointer_arith+y}
18401 then :
18402 printf %s "(cached) " >&6
18403 else $as_nop
18404 ac_wine_try_cflags_saved=$CFLAGS
18405 CFLAGS="$CFLAGS -Wpointer-arith"
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18408 int main(int argc, char **argv) { return 0; }
18409 _ACEOF
18410 if ac_fn_c_try_link "$LINENO"
18411 then :
18412 ac_cv_cflags__Wpointer_arith=yes
18413 else $as_nop
18414 ac_cv_cflags__Wpointer_arith=no
18416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18417 conftest$ac_exeext conftest.$ac_ext
18418 CFLAGS=$ac_wine_try_cflags_saved
18420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18421 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18422 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18423 then :
18424 saved_string_h_CFLAGS=$CFLAGS
18425 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18427 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18428 if test ${ac_cv_c_string_h_warnings+y}
18429 then :
18430 printf %s "(cached) " >&6
18431 else $as_nop
18432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18433 /* end confdefs.h. */
18434 #include <string.h>
18436 main (void)
18440 return 0;
18442 _ACEOF
18443 if ac_fn_c_try_compile "$LINENO"
18444 then :
18445 ac_cv_c_string_h_warnings=no
18446 else $as_nop
18447 ac_cv_c_string_h_warnings=yes
18449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18452 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18453 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18454 CFLAGS=$saved_string_h_CFLAGS
18457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18458 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18459 if test ${ac_cv_cflags__Wlogical_op+y}
18460 then :
18461 printf %s "(cached) " >&6
18462 else $as_nop
18463 ac_wine_try_cflags_saved=$CFLAGS
18464 CFLAGS="$CFLAGS -Wlogical-op"
18465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18466 /* end confdefs.h. */
18467 int main(int argc, char **argv) { return 0; }
18468 _ACEOF
18469 if ac_fn_c_try_link "$LINENO"
18470 then :
18471 ac_cv_cflags__Wlogical_op=yes
18472 else $as_nop
18473 ac_cv_cflags__Wlogical_op=no
18475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18476 conftest$ac_exeext conftest.$ac_ext
18477 CFLAGS=$ac_wine_try_cflags_saved
18479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18480 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18481 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18482 then :
18483 saved_string_h_CFLAGS=$CFLAGS
18484 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18486 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18487 if test ${ac_cv_c_logicalop_noisy+y}
18488 then :
18489 printf %s "(cached) " >&6
18490 else $as_nop
18491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18492 /* end confdefs.h. */
18493 #include <string.h>
18494 char*f(const char *h,char n) {return strchr(h,n);}
18496 main (void)
18500 return 0;
18502 _ACEOF
18503 if ac_fn_c_try_compile "$LINENO"
18504 then :
18505 ac_cv_c_logicalop_noisy=no
18506 else $as_nop
18507 ac_cv_c_logicalop_noisy=yes
18509 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18512 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18513 CFLAGS=$saved_string_h_CFLAGS
18514 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
18517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
18518 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
18519 if test ${wine_cv_64bit_compare_swap+y}
18520 then :
18521 printf %s "(cached) " >&6
18522 else $as_nop
18523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18525 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18526 #error no
18527 #endif
18529 main (void)
18533 return 0;
18535 _ACEOF
18536 if ac_fn_c_try_compile "$LINENO"
18537 then :
18538 wine_cv_64bit_compare_swap="none needed"
18539 else $as_nop
18540 case $host_cpu in
18541 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
18542 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
18543 *) wine_cv_64bit_compare_swap="unknown" ;;
18544 esac
18545 if test "x$wine_cv_64bit_compare_swap" != xunknown
18546 then
18547 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
18548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18549 /* end confdefs.h. */
18550 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18551 #error no
18552 #endif
18554 main (void)
18558 return 0;
18560 _ACEOF
18561 if ac_fn_c_try_compile "$LINENO"
18562 then :
18564 else $as_nop
18565 wine_cv_64bit_compare_swap="unknown"
18567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18568 CFLAGS=$saved_CFLAGS
18571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
18574 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
18575 case "$wine_cv_64bit_compare_swap" in
18576 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
18577 "none needed") ;;
18578 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
18579 esac
18581 ac_debug_format_seen=""
18582 for ac_flag in $CFLAGS; do
18583 case $ac_flag in
18584 -gdwarf*) ac_debug_format_seen=yes ;;
18585 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
18586 esac
18587 done
18588 if test "x$ac_debug_format_seen" = xdefault
18589 then
18590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
18591 printf %s "checking whether the compiler supports -gdwarf-2... " >&6; }
18592 if test ${ac_cv_cflags__gdwarf_2+y}
18593 then :
18594 printf %s "(cached) " >&6
18595 else $as_nop
18596 ac_wine_try_cflags_saved=$CFLAGS
18597 CFLAGS="$CFLAGS -gdwarf-2"
18598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18599 /* end confdefs.h. */
18600 int main(int argc, char **argv) { return 0; }
18601 _ACEOF
18602 if ac_fn_c_try_link "$LINENO"
18603 then :
18604 ac_cv_cflags__gdwarf_2=yes
18605 else $as_nop
18606 ac_cv_cflags__gdwarf_2=no
18608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18609 conftest$ac_exeext conftest.$ac_ext
18610 CFLAGS=$ac_wine_try_cflags_saved
18612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
18613 printf "%s\n" "$ac_cv_cflags__gdwarf_2" >&6; }
18614 if test "x$ac_cv_cflags__gdwarf_2" = xyes
18615 then :
18616 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
18618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
18619 printf %s "checking whether the compiler supports -gstrict-dwarf... " >&6; }
18620 if test ${ac_cv_cflags__gstrict_dwarf+y}
18621 then :
18622 printf %s "(cached) " >&6
18623 else $as_nop
18624 ac_wine_try_cflags_saved=$CFLAGS
18625 CFLAGS="$CFLAGS -gstrict-dwarf"
18626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18627 /* end confdefs.h. */
18628 int main(int argc, char **argv) { return 0; }
18629 _ACEOF
18630 if ac_fn_c_try_link "$LINENO"
18631 then :
18632 ac_cv_cflags__gstrict_dwarf=yes
18633 else $as_nop
18634 ac_cv_cflags__gstrict_dwarf=no
18636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18637 conftest$ac_exeext conftest.$ac_ext
18638 CFLAGS=$ac_wine_try_cflags_saved
18640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
18641 printf "%s\n" "$ac_cv_cflags__gstrict_dwarf" >&6; }
18642 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
18643 then :
18644 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
18648 MSVCRTFLAGS=""
18650 case $host_os in
18651 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
18652 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
18653 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
18654 then :
18655 printf %s "(cached) " >&6
18656 else $as_nop
18657 ac_wine_try_cflags_saved=$CFLAGS
18658 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 int main(int argc, char **argv) { return 0; }
18662 _ACEOF
18663 if ac_fn_c_try_link "$LINENO"
18664 then :
18665 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
18666 else $as_nop
18667 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
18669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18670 conftest$ac_exeext conftest.$ac_ext
18671 CFLAGS=$ac_wine_try_cflags_saved
18673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
18674 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
18675 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
18676 then :
18677 DELAYLOADFLAG="-Wl,-delayload,"
18679 fi ;;
18680 *) MSVCRTFLAGS="-D_WIN32"
18681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
18682 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
18683 if test ${ac_cv_cflags__fno_builtin+y}
18684 then :
18685 printf %s "(cached) " >&6
18686 else $as_nop
18687 ac_wine_try_cflags_saved=$CFLAGS
18688 CFLAGS="$CFLAGS -fno-builtin"
18689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18690 /* end confdefs.h. */
18691 int main(int argc, char **argv) { return 0; }
18692 _ACEOF
18693 if ac_fn_c_try_link "$LINENO"
18694 then :
18695 ac_cv_cflags__fno_builtin=yes
18696 else $as_nop
18697 ac_cv_cflags__fno_builtin=no
18699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18700 conftest$ac_exeext conftest.$ac_ext
18701 CFLAGS=$ac_wine_try_cflags_saved
18703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
18704 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
18705 if test "x$ac_cv_cflags__fno_builtin" = xyes
18706 then :
18707 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
18709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
18710 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
18711 if test ${ac_cv_cflags__fshort_wchar+y}
18712 then :
18713 printf %s "(cached) " >&6
18714 else $as_nop
18715 ac_wine_try_cflags_saved=$CFLAGS
18716 CFLAGS="$CFLAGS -fshort-wchar"
18717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18718 /* end confdefs.h. */
18719 int main(int argc, char **argv) { return 0; }
18720 _ACEOF
18721 if ac_fn_c_try_link "$LINENO"
18722 then :
18723 ac_cv_cflags__fshort_wchar=yes
18724 else $as_nop
18725 ac_cv_cflags__fshort_wchar=no
18727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18728 conftest$ac_exeext conftest.$ac_ext
18729 CFLAGS=$ac_wine_try_cflags_saved
18731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
18732 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
18733 if test "x$ac_cv_cflags__fshort_wchar" = xyes
18734 then :
18735 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
18736 fi ;;
18737 esac
18739 case $host_cpu in
18740 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
18741 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
18742 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
18743 then :
18744 printf %s "(cached) " >&6
18745 else $as_nop
18746 ac_wine_try_cflags_saved=$CFLAGS
18747 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
18748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18749 /* end confdefs.h. */
18750 int main(int argc, char **argv) { return 0; }
18751 _ACEOF
18752 if ac_fn_c_try_link "$LINENO"
18753 then :
18754 ac_cv_cflags__fno_omit_frame_pointer=yes
18755 else $as_nop
18756 ac_cv_cflags__fno_omit_frame_pointer=no
18758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18759 conftest$ac_exeext conftest.$ac_ext
18760 CFLAGS=$ac_wine_try_cflags_saved
18762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
18763 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
18764 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
18765 then :
18766 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
18767 fi ;;
18768 *x86_64*)
18769 case $host_os in
18770 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
18771 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
18772 if test ${ac_cv_cflags__Wno_format+y}
18773 then :
18774 printf %s "(cached) " >&6
18775 else $as_nop
18776 ac_wine_try_cflags_saved=$CFLAGS
18777 CFLAGS="$CFLAGS -Wno-format"
18778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18779 /* end confdefs.h. */
18780 int main(int argc, char **argv) { return 0; }
18781 _ACEOF
18782 if ac_fn_c_try_link "$LINENO"
18783 then :
18784 ac_cv_cflags__Wno_format=yes
18785 else $as_nop
18786 ac_cv_cflags__Wno_format=no
18788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18789 conftest$ac_exeext conftest.$ac_ext
18790 CFLAGS=$ac_wine_try_cflags_saved
18792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
18793 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
18794 if test "x$ac_cv_cflags__Wno_format" = xyes
18795 then :
18796 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
18797 fi ;;
18798 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
18799 printf %s "checking whether the compiler supports -mabi=ms... " >&6; }
18800 if test ${ac_cv_cflags__mabi_ms+y}
18801 then :
18802 printf %s "(cached) " >&6
18803 else $as_nop
18804 ac_wine_try_cflags_saved=$CFLAGS
18805 CFLAGS="$CFLAGS -mabi=ms"
18806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18807 /* end confdefs.h. */
18808 int main(int argc, char **argv) { return 0; }
18809 _ACEOF
18810 if ac_fn_c_try_link "$LINENO"
18811 then :
18812 ac_cv_cflags__mabi_ms=yes
18813 else $as_nop
18814 ac_cv_cflags__mabi_ms=no
18816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18817 conftest$ac_exeext conftest.$ac_ext
18818 CFLAGS=$ac_wine_try_cflags_saved
18820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
18821 printf "%s\n" "$ac_cv_cflags__mabi_ms" >&6; }
18822 if test "x$ac_cv_cflags__mabi_ms" = xyes
18823 then :
18824 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
18825 fi ;;
18826 esac ;;
18827 esac
18829 CFLAGS=$saved_CFLAGS
18831 if test "x$enable_werror" = "xyes"
18832 then
18833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
18834 printf %s "checking whether the compiler supports -Werror... " >&6; }
18835 if test ${ac_cv_cflags__Werror+y}
18836 then :
18837 printf %s "(cached) " >&6
18838 else $as_nop
18839 ac_wine_try_cflags_saved=$CFLAGS
18840 CFLAGS="$CFLAGS -Werror"
18841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h. */
18843 int main(int argc, char **argv) { return 0; }
18844 _ACEOF
18845 if ac_fn_c_try_link "$LINENO"
18846 then :
18847 ac_cv_cflags__Werror=yes
18848 else $as_nop
18849 ac_cv_cflags__Werror=no
18851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18852 conftest$ac_exeext conftest.$ac_ext
18853 CFLAGS=$ac_wine_try_cflags_saved
18855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
18856 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
18857 if test "x$ac_cv_cflags__Werror" = xyes
18858 then :
18859 EXTRACFLAGS="$EXTRACFLAGS -Werror"
18862 if test "x$enable_build_id" = "xyes"
18863 then
18864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
18865 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
18866 if test ${ac_cv_cflags__Wl___build_id+y}
18867 then :
18868 printf %s "(cached) " >&6
18869 else $as_nop
18870 ac_wine_try_cflags_saved=$CFLAGS
18871 CFLAGS="$CFLAGS -Wl,--build-id"
18872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18873 /* end confdefs.h. */
18874 int main(int argc, char **argv) { return 0; }
18875 _ACEOF
18876 if ac_fn_c_try_link "$LINENO"
18877 then :
18878 ac_cv_cflags__Wl___build_id=yes
18879 else $as_nop
18880 ac_cv_cflags__Wl___build_id=no
18882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18883 conftest$ac_exeext conftest.$ac_ext
18884 CFLAGS=$ac_wine_try_cflags_saved
18886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
18887 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
18888 if test "x$ac_cv_cflags__Wl___build_id" = xyes
18889 then :
18890 CFLAGS="$CFLAGS -Wl,--build-id"
18891 LDFLAGS="$LDFLAGS -Wl,--build-id"
18897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
18898 printf %s "checking for the need to disable Fortify... " >&6; }
18899 if test ${ac_cv_c_fortify_enabled+y}
18900 then :
18901 printf %s "(cached) " >&6
18902 else $as_nop
18903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18904 /* end confdefs.h. */
18905 #include <string.h>
18907 main (void)
18909 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
18910 #error Fortify enabled
18911 #endif
18913 return 0;
18915 _ACEOF
18916 if ac_fn_c_try_compile "$LINENO"
18917 then :
18918 ac_cv_c_fortify_enabled=no
18919 else $as_nop
18920 ac_cv_c_fortify_enabled=yes
18922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
18925 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
18926 if test "$ac_cv_c_fortify_enabled" = yes
18927 then
18928 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
18932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
18933 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
18934 if test ${ac_cv_c_cfi_support+y}
18935 then :
18936 printf %s "(cached) " >&6
18937 else $as_nop
18938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h. */
18940 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
18942 main (void)
18946 return 0;
18948 _ACEOF
18949 if ac_fn_c_try_compile "$LINENO"
18950 then :
18951 ac_cv_c_cfi_support="yes"
18952 else $as_nop
18953 ac_cv_c_cfi_support="no"
18955 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18958 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
18959 if test "$ac_cv_c_cfi_support" = "yes"
18960 then
18961 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18962 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18963 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
18964 else
18965 if test "x$enable_win64" = "xyes"
18966 then
18967 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18972 case $host_os in
18973 linux*)
18974 case $host_cpu in
18975 *i[3456789]86*|x86_64*|*aarch64*|arm*)
18976 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18977 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18979 esac
18981 esac
18984 ac_save_CFLAGS="$CFLAGS"
18985 CFLAGS="$CFLAGS $BUILTINFLAG"
18986 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
18987 if test "x$ac_cv_func_epoll_create" = xyes
18988 then :
18989 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
18992 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
18993 if test "x$ac_cv_func_fstatfs" = xyes
18994 then :
18995 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
18998 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
18999 if test "x$ac_cv_func_futimens" = xyes
19000 then :
19001 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19004 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19005 if test "x$ac_cv_func_futimes" = xyes
19006 then :
19007 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19010 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19011 if test "x$ac_cv_func_futimesat" = xyes
19012 then :
19013 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19016 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19017 if test "x$ac_cv_func_getattrlist" = xyes
19018 then :
19019 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19022 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19023 if test "x$ac_cv_func_getauxval" = xyes
19024 then :
19025 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19028 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19029 if test "x$ac_cv_func_getifaddrs" = xyes
19030 then :
19031 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19034 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19035 if test "x$ac_cv_func_getrandom" = xyes
19036 then :
19037 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19040 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19041 if test "x$ac_cv_func_kqueue" = xyes
19042 then :
19043 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19046 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19047 if test "x$ac_cv_func_mach_continuous_time" = xyes
19048 then :
19049 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19052 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19053 if test "x$ac_cv_func_pipe2" = xyes
19054 then :
19055 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19058 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19059 if test "x$ac_cv_func_port_create" = xyes
19060 then :
19061 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19064 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19065 if test "x$ac_cv_func_posix_fadvise" = xyes
19066 then :
19067 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19070 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19071 if test "x$ac_cv_func_posix_fallocate" = xyes
19072 then :
19073 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19076 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19077 if test "x$ac_cv_func_prctl" = xyes
19078 then :
19079 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19082 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19083 if test "x$ac_cv_func_proc_pidinfo" = xyes
19084 then :
19085 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19088 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19089 if test "x$ac_cv_func_setproctitle" = xyes
19090 then :
19091 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19094 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19095 if test "x$ac_cv_func_setprogname" = xyes
19096 then :
19097 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19100 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19101 if test "x$ac_cv_func_sigprocmask" = xyes
19102 then :
19103 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19106 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19107 if test "x$ac_cv_func_sysinfo" = xyes
19108 then :
19109 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19112 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19113 if test "x$ac_cv_func_tcdrain" = xyes
19114 then :
19115 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19118 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19119 if test "x$ac_cv_func_thr_kill2" = xyes
19120 then :
19121 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19125 CFLAGS="$ac_save_CFLAGS"
19127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19128 printf %s "checking for library containing dlopen... " >&6; }
19129 if test ${ac_cv_search_dlopen+y}
19130 then :
19131 printf %s "(cached) " >&6
19132 else $as_nop
19133 ac_func_search_save_LIBS=$LIBS
19134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19135 /* end confdefs.h. */
19137 /* Override any GCC internal prototype to avoid an error.
19138 Use char because int might match the return type of a GCC
19139 builtin and then its argument prototype would still apply. */
19140 char dlopen ();
19142 main (void)
19144 return dlopen ();
19146 return 0;
19148 _ACEOF
19149 for ac_lib in '' dl
19151 if test -z "$ac_lib"; then
19152 ac_res="none required"
19153 else
19154 ac_res=-l$ac_lib
19155 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19157 if ac_fn_c_try_link "$LINENO"
19158 then :
19159 ac_cv_search_dlopen=$ac_res
19161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19162 conftest$ac_exeext
19163 if test ${ac_cv_search_dlopen+y}
19164 then :
19165 break
19167 done
19168 if test ${ac_cv_search_dlopen+y}
19169 then :
19171 else $as_nop
19172 ac_cv_search_dlopen=no
19174 rm conftest.$ac_ext
19175 LIBS=$ac_func_search_save_LIBS
19177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19178 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19179 ac_res=$ac_cv_search_dlopen
19180 if test "$ac_res" != no
19181 then :
19182 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19186 ac_wine_check_funcs_save_LIBS="$LIBS"
19187 LIBS="$LIBS $DL_LIBS"
19188 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19189 if test "x$ac_cv_func_dlinfo" = xyes
19190 then :
19191 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19195 LIBS="$ac_wine_check_funcs_save_LIBS"
19197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19198 printf %s "checking for library containing gethostbyname... " >&6; }
19199 if test ${ac_cv_search_gethostbyname+y}
19200 then :
19201 printf %s "(cached) " >&6
19202 else $as_nop
19203 ac_func_search_save_LIBS=$LIBS
19204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19205 /* end confdefs.h. */
19207 /* Override any GCC internal prototype to avoid an error.
19208 Use char because int might match the return type of a GCC
19209 builtin and then its argument prototype would still apply. */
19210 char gethostbyname ();
19212 main (void)
19214 return gethostbyname ();
19216 return 0;
19218 _ACEOF
19219 for ac_lib in '' nsl
19221 if test -z "$ac_lib"; then
19222 ac_res="none required"
19223 else
19224 ac_res=-l$ac_lib
19225 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19227 if ac_fn_c_try_link "$LINENO"
19228 then :
19229 ac_cv_search_gethostbyname=$ac_res
19231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19232 conftest$ac_exeext
19233 if test ${ac_cv_search_gethostbyname+y}
19234 then :
19235 break
19237 done
19238 if test ${ac_cv_search_gethostbyname+y}
19239 then :
19241 else $as_nop
19242 ac_cv_search_gethostbyname=no
19244 rm conftest.$ac_ext
19245 LIBS=$ac_func_search_save_LIBS
19247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19248 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19249 ac_res=$ac_cv_search_gethostbyname
19250 if test "$ac_res" != no
19251 then :
19252 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19258 printf %s "checking for library containing connect... " >&6; }
19259 if test ${ac_cv_search_connect+y}
19260 then :
19261 printf %s "(cached) " >&6
19262 else $as_nop
19263 ac_func_search_save_LIBS=$LIBS
19264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19265 /* end confdefs.h. */
19267 /* Override any GCC internal prototype to avoid an error.
19268 Use char because int might match the return type of a GCC
19269 builtin and then its argument prototype would still apply. */
19270 char connect ();
19272 main (void)
19274 return connect ();
19276 return 0;
19278 _ACEOF
19279 for ac_lib in '' socket
19281 if test -z "$ac_lib"; then
19282 ac_res="none required"
19283 else
19284 ac_res=-l$ac_lib
19285 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19287 if ac_fn_c_try_link "$LINENO"
19288 then :
19289 ac_cv_search_connect=$ac_res
19291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19292 conftest$ac_exeext
19293 if test ${ac_cv_search_connect+y}
19294 then :
19295 break
19297 done
19298 if test ${ac_cv_search_connect+y}
19299 then :
19301 else $as_nop
19302 ac_cv_search_connect=no
19304 rm conftest.$ac_ext
19305 LIBS=$ac_func_search_save_LIBS
19307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19308 printf "%s\n" "$ac_cv_search_connect" >&6; }
19309 ac_res=$ac_cv_search_connect
19310 if test "$ac_res" != no
19311 then :
19312 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19318 printf %s "checking for library containing inet_aton... " >&6; }
19319 if test ${ac_cv_search_inet_aton+y}
19320 then :
19321 printf %s "(cached) " >&6
19322 else $as_nop
19323 ac_func_search_save_LIBS=$LIBS
19324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19325 /* end confdefs.h. */
19327 /* Override any GCC internal prototype to avoid an error.
19328 Use char because int might match the return type of a GCC
19329 builtin and then its argument prototype would still apply. */
19330 char inet_aton ();
19332 main (void)
19334 return inet_aton ();
19336 return 0;
19338 _ACEOF
19339 for ac_lib in '' resolv
19341 if test -z "$ac_lib"; then
19342 ac_res="none required"
19343 else
19344 ac_res=-l$ac_lib
19345 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19347 if ac_fn_c_try_link "$LINENO"
19348 then :
19349 ac_cv_search_inet_aton=$ac_res
19351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19352 conftest$ac_exeext
19353 if test ${ac_cv_search_inet_aton+y}
19354 then :
19355 break
19357 done
19358 if test ${ac_cv_search_inet_aton+y}
19359 then :
19361 else $as_nop
19362 ac_cv_search_inet_aton=no
19364 rm conftest.$ac_ext
19365 LIBS=$ac_func_search_save_LIBS
19367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19368 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19369 ac_res=$ac_cv_search_inet_aton
19370 if test "$ac_res" != no
19371 then :
19372 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19377 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19378 if test "x$ac_cv_func_getaddrinfo" = xyes
19379 then :
19380 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19385 case $host_os in
19386 darwin*|macosx*) ;;
19387 *) ac_save_LIBS=$LIBS
19388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19389 printf %s "checking for library containing clock_gettime... " >&6; }
19390 if test ${ac_cv_search_clock_gettime+y}
19391 then :
19392 printf %s "(cached) " >&6
19393 else $as_nop
19394 ac_func_search_save_LIBS=$LIBS
19395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19396 /* end confdefs.h. */
19398 /* Override any GCC internal prototype to avoid an error.
19399 Use char because int might match the return type of a GCC
19400 builtin and then its argument prototype would still apply. */
19401 char clock_gettime ();
19403 main (void)
19405 return clock_gettime ();
19407 return 0;
19409 _ACEOF
19410 for ac_lib in '' rt
19412 if test -z "$ac_lib"; then
19413 ac_res="none required"
19414 else
19415 ac_res=-l$ac_lib
19416 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19418 if ac_fn_c_try_link "$LINENO"
19419 then :
19420 ac_cv_search_clock_gettime=$ac_res
19422 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19423 conftest$ac_exeext
19424 if test ${ac_cv_search_clock_gettime+y}
19425 then :
19426 break
19428 done
19429 if test ${ac_cv_search_clock_gettime+y}
19430 then :
19432 else $as_nop
19433 ac_cv_search_clock_gettime=no
19435 rm conftest.$ac_ext
19436 LIBS=$ac_func_search_save_LIBS
19438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19439 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19440 ac_res=$ac_cv_search_clock_gettime
19441 if test "$ac_res" != no
19442 then :
19443 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19445 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19447 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19451 LIBS=$ac_save_LIBS
19453 esac
19455 if test "x$with_ldap" != "xno"
19456 then
19457 if ${LDAP_CFLAGS:+false} :
19458 then :
19459 if test ${PKG_CONFIG+y}
19460 then :
19461 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
19465 if ${LDAP_LIBS:+false} :
19466 then :
19467 if test ${PKG_CONFIG+y}
19468 then :
19469 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
19473 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
19474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
19475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
19476 ac_save_CPPFLAGS=$CPPFLAGS
19477 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
19478 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
19479 if test "x$ac_cv_header_ldap_h" = xyes
19480 then :
19481 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
19484 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
19485 if test "x$ac_cv_header_lber_h" = xyes
19486 then :
19487 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
19491 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
19492 then
19493 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
19495 if test "x$ac_cv_type_LDAPSortKey" = xyes
19496 then :
19497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
19498 printf %s "checking for ldap_initialize in -lldap_r... " >&6; }
19499 if test ${ac_cv_lib_ldap_r_ldap_initialize+y}
19500 then :
19501 printf %s "(cached) " >&6
19502 else $as_nop
19503 ac_check_lib_save_LIBS=$LIBS
19504 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
19505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506 /* end confdefs.h. */
19508 /* Override any GCC internal prototype to avoid an error.
19509 Use char because int might match the return type of a GCC
19510 builtin and then its argument prototype would still apply. */
19511 char ldap_initialize ();
19513 main (void)
19515 return ldap_initialize ();
19517 return 0;
19519 _ACEOF
19520 if ac_fn_c_try_link "$LINENO"
19521 then :
19522 ac_cv_lib_ldap_r_ldap_initialize=yes
19523 else $as_nop
19524 ac_cv_lib_ldap_r_ldap_initialize=no
19526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19527 conftest$ac_exeext conftest.$ac_ext
19528 LIBS=$ac_check_lib_save_LIBS
19530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
19531 printf "%s\n" "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
19532 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
19533 then :
19534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
19535 printf %s "checking for ber_init in -llber... " >&6; }
19536 if test ${ac_cv_lib_lber_ber_init+y}
19537 then :
19538 printf %s "(cached) " >&6
19539 else $as_nop
19540 ac_check_lib_save_LIBS=$LIBS
19541 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
19542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19543 /* end confdefs.h. */
19545 /* Override any GCC internal prototype to avoid an error.
19546 Use char because int might match the return type of a GCC
19547 builtin and then its argument prototype would still apply. */
19548 char ber_init ();
19550 main (void)
19552 return ber_init ();
19554 return 0;
19556 _ACEOF
19557 if ac_fn_c_try_link "$LINENO"
19558 then :
19559 ac_cv_lib_lber_ber_init=yes
19560 else $as_nop
19561 ac_cv_lib_lber_ber_init=no
19563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19564 conftest$ac_exeext conftest.$ac_ext
19565 LIBS=$ac_check_lib_save_LIBS
19567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
19568 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
19569 if test "x$ac_cv_lib_lber_ber_init" = xyes
19570 then :
19572 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
19574 else $as_nop
19575 LDAP_LIBS=""
19578 else $as_nop
19579 LDAP_LIBS=""
19582 else $as_nop
19583 LDAP_LIBS=""
19586 ac_wine_check_funcs_save_LIBS="$LIBS"
19587 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
19588 ac_fn_c_check_func "$LINENO" "ldap_count_references" "ac_cv_func_ldap_count_references"
19589 if test "x$ac_cv_func_ldap_count_references" = xyes
19590 then :
19591 printf "%s\n" "#define HAVE_LDAP_COUNT_REFERENCES 1" >>confdefs.h
19594 ac_fn_c_check_func "$LINENO" "ldap_first_reference" "ac_cv_func_ldap_first_reference"
19595 if test "x$ac_cv_func_ldap_first_reference" = xyes
19596 then :
19597 printf "%s\n" "#define HAVE_LDAP_FIRST_REFERENCE 1" >>confdefs.h
19600 ac_fn_c_check_func "$LINENO" "ldap_next_reference" "ac_cv_func_ldap_next_reference"
19601 if test "x$ac_cv_func_ldap_next_reference" = xyes
19602 then :
19603 printf "%s\n" "#define HAVE_LDAP_NEXT_REFERENCE 1" >>confdefs.h
19606 ac_fn_c_check_func "$LINENO" "ldap_parse_reference" "ac_cv_func_ldap_parse_reference"
19607 if test "x$ac_cv_func_ldap_parse_reference" = xyes
19608 then :
19609 printf "%s\n" "#define HAVE_LDAP_PARSE_REFERENCE 1" >>confdefs.h
19612 ac_fn_c_check_func "$LINENO" "ldap_parse_sort_control" "ac_cv_func_ldap_parse_sort_control"
19613 if test "x$ac_cv_func_ldap_parse_sort_control" = xyes
19614 then :
19615 printf "%s\n" "#define HAVE_LDAP_PARSE_SORT_CONTROL 1" >>confdefs.h
19618 ac_fn_c_check_func "$LINENO" "ldap_parse_sortresponse_control" "ac_cv_func_ldap_parse_sortresponse_control"
19619 if test "x$ac_cv_func_ldap_parse_sortresponse_control" = xyes
19620 then :
19621 printf "%s\n" "#define HAVE_LDAP_PARSE_SORTRESPONSE_CONTROL 1" >>confdefs.h
19624 ac_fn_c_check_func "$LINENO" "ldap_parse_vlv_control" "ac_cv_func_ldap_parse_vlv_control"
19625 if test "x$ac_cv_func_ldap_parse_vlv_control" = xyes
19626 then :
19627 printf "%s\n" "#define HAVE_LDAP_PARSE_VLV_CONTROL 1" >>confdefs.h
19630 ac_fn_c_check_func "$LINENO" "ldap_parse_vlvresponse_control" "ac_cv_func_ldap_parse_vlvresponse_control"
19631 if test "x$ac_cv_func_ldap_parse_vlvresponse_control" = xyes
19632 then :
19633 printf "%s\n" "#define HAVE_LDAP_PARSE_VLVRESPONSE_CONTROL 1" >>confdefs.h
19637 LIBS="$ac_wine_check_funcs_save_LIBS"
19638 else
19639 LDAP_LIBS=""
19641 CPPFLAGS=$ac_save_CPPFLAGS
19644 if test "x$LDAP_LIBS" = "x"
19645 then :
19646 case "x$with_ldap" in
19647 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
19648 xno) ;;
19649 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
19650 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
19651 esac
19655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
19656 printf %s "checking for sched_setaffinity... " >&6; }
19657 if test ${wine_cv_have_sched_setaffinity+y}
19658 then :
19659 printf %s "(cached) " >&6
19660 else $as_nop
19661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19662 /* end confdefs.h. */
19663 #include <sched.h>
19665 main (void)
19667 sched_setaffinity(0, 0, 0);
19669 return 0;
19671 _ACEOF
19672 if ac_fn_c_try_link "$LINENO"
19673 then :
19674 wine_cv_have_sched_setaffinity=yes
19675 else $as_nop
19676 wine_cv_have_sched_setaffinity=no
19678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19679 conftest$ac_exeext conftest.$ac_ext
19681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
19682 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
19683 if test "$wine_cv_have_sched_setaffinity" = "yes"
19684 then
19686 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
19691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
19692 printf %s "checking for inline... " >&6; }
19693 if test ${ac_cv_c_inline+y}
19694 then :
19695 printf %s "(cached) " >&6
19696 else $as_nop
19697 ac_cv_c_inline=no
19698 for ac_kw in inline __inline__ __inline; do
19699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19700 /* end confdefs.h. */
19701 #ifndef __cplusplus
19702 typedef int foo_t;
19703 static $ac_kw foo_t static_foo (void) {return 0; }
19704 $ac_kw foo_t foo (void) {return 0; }
19705 #endif
19707 _ACEOF
19708 if ac_fn_c_try_compile "$LINENO"
19709 then :
19710 ac_cv_c_inline=$ac_kw
19712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19713 test "$ac_cv_c_inline" != no && break
19714 done
19717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
19718 printf "%s\n" "$ac_cv_c_inline" >&6; }
19720 case $ac_cv_c_inline in
19721 inline | yes) ;;
19723 case $ac_cv_c_inline in
19724 no) ac_val=;;
19725 *) ac_val=$ac_cv_c_inline;;
19726 esac
19727 cat >>confdefs.h <<_ACEOF
19728 #ifndef __cplusplus
19729 #define inline $ac_val
19730 #endif
19731 _ACEOF
19733 esac
19735 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
19736 #include <signal.h>
19738 if test "x$ac_cv_type_sigset_t" = xyes
19739 then :
19741 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
19746 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
19748 if test "x$ac_cv_type_request_sense" = xyes
19749 then :
19751 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
19757 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
19758 #ifdef HAVE_SYS_SOCKET_H
19759 #include <sys/socket.h>
19760 #endif
19761 #ifdef HAVE_SYS_SOCKETVAR_H
19762 #include <sys/socketvar.h>
19763 #endif
19764 #ifdef HAVE_NET_ROUTE_H
19765 #include <net/route.h>
19766 #endif
19767 #ifdef HAVE_NETINET_IN_H
19768 #include <netinet/in.h>
19769 #endif
19770 #ifdef HAVE_NETINET_IN_SYSTM_H
19771 #include <netinet/in_systm.h>
19772 #endif
19773 #ifdef HAVE_NETINET_IP_H
19774 #include <netinet/ip.h>
19775 #endif
19776 #ifdef HAVE_NETINET_IN_PCB_H
19777 #include <netinet/in_pcb.h>
19778 #endif
19780 if test "x$ac_cv_type_struct_xinpgen" = xyes
19781 then :
19783 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
19789 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
19790 #include <linux/input.h>
19791 #endif
19793 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
19794 then :
19796 printf "%s\n" "#define HAVE_STRUCT_FF_EFFECT_DIRECTION 1" >>confdefs.h
19802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
19803 printf %s "checking for sigaddset... " >&6; }
19804 if test ${wine_cv_have_sigaddset+y}
19805 then :
19806 printf %s "(cached) " >&6
19807 else $as_nop
19808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19809 /* end confdefs.h. */
19810 #include <signal.h>
19812 main (void)
19814 sigset_t set; sigaddset(&set,SIGTERM);
19816 return 0;
19818 _ACEOF
19819 if ac_fn_c_try_link "$LINENO"
19820 then :
19821 wine_cv_have_sigaddset=yes
19822 else $as_nop
19823 wine_cv_have_sigaddset=no
19825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19826 conftest$ac_exeext conftest.$ac_ext
19828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
19829 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
19830 if test "$wine_cv_have_sigaddset" = "yes"
19831 then
19833 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
19838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
19839 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
19840 if test ${wine_cv_linux_gethostbyname_r_6+y}
19841 then :
19842 printf %s "(cached) " >&6
19843 else $as_nop
19844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19845 /* end confdefs.h. */
19846 #include <netdb.h>
19848 main (void)
19851 char *name=0;
19852 struct hostent he;
19853 struct hostent *result;
19854 char *buf=0;
19855 int bufsize=0;
19856 int errnr;
19857 char *addr=0;
19858 int addrlen=0;
19859 int addrtype=0;
19860 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
19861 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
19864 return 0;
19866 _ACEOF
19867 if ac_fn_c_try_link "$LINENO"
19868 then :
19869 wine_cv_linux_gethostbyname_r_6=yes
19870 else $as_nop
19871 wine_cv_linux_gethostbyname_r_6=no
19874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19875 conftest$ac_exeext conftest.$ac_ext
19878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
19879 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
19880 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
19881 then
19883 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
19887 if test "$ac_cv_header_linux_joystick_h" = "yes"
19888 then
19889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
19890 printf %s "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
19891 if test ${wine_cv_linux_joystick_22_api+y}
19892 then :
19893 printf %s "(cached) " >&6
19894 else $as_nop
19895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19896 /* end confdefs.h. */
19898 #include <sys/ioctl.h>
19899 #include <sys/types.h>
19900 #include <linux/joystick.h>
19902 struct js_event blub;
19903 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
19904 #error "no 2.2 header"
19905 #endif
19908 main (void)
19910 /*empty*/
19912 return 0;
19914 _ACEOF
19915 if ac_fn_c_try_compile "$LINENO"
19916 then :
19917 wine_cv_linux_joystick_22_api=yes
19918 else $as_nop
19919 wine_cv_linux_joystick_22_api=no
19921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
19925 printf "%s\n" "$wine_cv_linux_joystick_22_api" >&6; }
19926 if test "$wine_cv_linux_joystick_22_api" = "yes"
19927 then
19929 printf "%s\n" "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
19934 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
19935 #ifdef HAVE_SYS_SOCKET_H
19936 # include <sys/socket.h>
19937 #endif
19938 #ifdef HAVE_SYS_UN_H
19939 # include <sys/un.h>
19940 #endif
19942 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
19943 then :
19945 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
19949 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19950 #ifdef HAVE_SYS_SOCKET_H
19951 # include <sys/socket.h>
19952 #endif
19953 #ifdef HAVE_SYS_UN_H
19954 # include <sys/un.h>
19955 #endif
19957 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
19958 then :
19960 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
19966 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19967 #ifdef HAVE_SCSI_SG_H
19968 #include <scsi/sg.h>
19969 #endif
19971 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
19972 then :
19974 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
19978 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>
19979 #ifdef HAVE_SCSI_SG_H
19980 #include <scsi/sg.h>
19981 #endif
19983 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
19984 then :
19986 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
19992 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19994 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
19995 then :
19997 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20003 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20004 #ifdef HAVE_SYS_MTIO_H
20005 #include <sys/mtio.h>
20006 #endif
20008 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20009 then :
20011 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20015 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20016 #ifdef HAVE_SYS_MTIO_H
20017 #include <sys/mtio.h>
20018 #endif
20020 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20021 then :
20023 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20027 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20028 #ifdef HAVE_SYS_MTIO_H
20029 #include <sys/mtio.h>
20030 #endif
20032 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20033 then :
20035 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20041 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20042 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20043 then :
20045 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20049 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20050 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20051 then :
20053 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20057 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20058 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20059 then :
20061 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20065 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20066 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20067 then :
20069 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20073 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20074 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20075 then :
20077 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20081 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20082 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20083 then :
20085 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20089 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20090 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20091 then :
20093 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20097 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20098 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20099 then :
20101 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20105 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20106 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20107 then :
20109 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20113 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20114 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20115 then :
20117 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20121 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20122 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20123 then :
20125 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20131 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
20132 #include <sys/types.h>
20133 #endif
20134 #ifdef HAVE_NETINET_IN_H
20135 #include <netinet/in.h>
20136 #endif
20138 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20139 then :
20141 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20147 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
20148 #include <sys/types.h>
20149 #endif
20150 #ifdef HAVE_NETINET_IN_H
20151 #include <netinet/in.h>
20152 #endif
20153 #ifdef HAVE_RESOLV_H
20154 #include <resolv.h>
20155 #endif
20157 if test "x$ac_cv_type_struct___res_state" = xyes
20158 then :
20160 printf "%s\n" "#define HAVE_STRUCT___RES_STATE 1" >>confdefs.h
20166 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
20167 #include <resolv.h>
20168 #endif
20170 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20171 then :
20173 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20179 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
20180 #include <sys/types.h>
20181 #endif
20182 #ifdef HAVE_NETINET_IN_H
20183 #include <netinet/in.h>
20184 #endif
20185 #ifdef HAVE_NETINET_IP_H
20186 #include <netinet/ip.h>
20187 #endif
20188 #ifdef HAVE_NETINET_IP_ICMP_H
20189 #include <netinet/ip_icmp.h>
20190 #endif
20191 #ifdef HAVE_NETINET_ICMP_VAR_H
20192 #include <netinet/icmp_var.h>
20193 #endif
20195 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
20196 then :
20198 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1" >>confdefs.h
20204 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
20205 #include <sys/types.h>
20206 #endif
20207 #ifdef HAVE_ALIAS_H
20208 #include <alias.h>
20209 #endif
20210 #ifdef HAVE_SYS_SOCKET_H
20211 #include <sys/socket.h>
20212 #endif
20213 #ifdef HAVE_SYS_SOCKETVAR_H
20214 #include <sys/socketvar.h>
20215 #endif
20216 #ifdef HAVE_SYS_TIMEOUT_H
20217 #include <sys/timeout.h>
20218 #endif
20219 #ifdef HAVE_NETINET_IN_H
20220 #include <netinet/in.h>
20221 #endif
20222 #ifdef HAVE_NETINET_IN_SYSTM_H
20223 #include <netinet/in_systm.h>
20224 #endif
20225 #ifdef HAVE_NETINET_IP_H
20226 #include <netinet/ip.h>
20227 #endif
20228 #ifdef HAVE_NETINET_IP_VAR_H
20229 #include <netinet/ip_var.h>
20230 #endif
20231 #ifdef HAVE_NETINET_IP_ICMP_H
20232 #include <netinet/ip_icmp.h>
20233 #endif
20234 #ifdef HAVE_NETINET_ICMP_VAR_H
20235 #include <netinet/icmp_var.h>
20236 #endif
20238 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
20239 then :
20241 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1" >>confdefs.h
20247 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20248 #include <netinet/in.h>
20249 #endif
20251 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20252 then :
20254 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20260 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
20261 #include <sys/types.h>
20262 #endif
20263 #ifdef HAVE_SYS_SOCKETVAR_H
20264 #include <sys/socketvar.h>
20265 #endif
20266 #ifdef HAVE_NETINET_IN_H
20267 #include <netinet/in.h>
20268 #endif
20269 #ifdef HAVE_NETINET_IP_VAR_H
20270 #include <netinet/ip_var.h>
20271 #endif
20273 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20274 then :
20276 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20282 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
20283 #include <netinet/ip_var.h>
20284 #endif
20286 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20287 then :
20289 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20295 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
20296 #include <sys/types.h>
20297 #endif
20298 #ifdef HAVE_SYS_SOCKETVAR_H
20299 #include <sys/socketvar.h>
20300 #endif
20301 #ifdef HAVE_NETINET_IN_H
20302 #include <netinet/in.h>
20303 #endif
20304 #ifdef HAVE_NETINET_TCP_H
20305 #include <netinet/tcp.h>
20306 #endif
20307 #ifdef HAVE_NETINET_TCP_VAR_H
20308 #include <netinet/tcp_var.h>
20309 #endif
20311 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20312 then :
20314 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20320 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
20321 #include <netinet/tcp_var.h>
20322 #endif
20324 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20325 then :
20327 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20333 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
20334 #include <sys/types.h>
20335 #endif
20336 #ifdef HAVE_NETINET_IN_H
20337 #include <netinet/in.h>
20338 #endif
20339 #ifdef HAVE_NETINET_IP_VAR_H
20340 #include <netinet/ip_var.h>
20341 #endif
20342 #ifdef HAVE_NETINET_UDP_H
20343 #include <netinet/udp.h>
20344 #endif
20345 #ifdef HAVE_NETINET_UDP_VAR_H
20346 #include <netinet/udp_var.h>
20347 #endif
20349 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20350 then :
20352 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20358 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
20359 #include <sys/types.h>
20360 #endif
20361 #ifdef HAVE_NET_IF_H
20362 # include <net/if.h>
20363 #endif
20365 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20366 then :
20368 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20374 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20375 # include <sys/sysinfo.h>
20376 #endif
20378 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20379 then :
20381 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20385 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20386 # include <sys/sysinfo.h>
20387 #endif
20389 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20390 then :
20392 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20398 ac_save_LIBS="$LIBS"
20399 LIBS="$LIBS -lm"
20400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
20401 printf %s "checking for isfinite... " >&6; }
20402 if test ${ac_cv_have_isfinite+y}
20403 then :
20404 printf %s "(cached) " >&6
20405 else $as_nop
20406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20407 /* end confdefs.h. */
20408 #include <math.h>
20410 main (void)
20412 float f = 0.0; return isfinite(f)
20414 return 0;
20416 _ACEOF
20417 if ac_fn_c_try_link "$LINENO"
20418 then :
20419 ac_cv_have_isfinite="yes"
20420 else $as_nop
20421 ac_cv_have_isfinite="no"
20423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20424 conftest$ac_exeext conftest.$ac_ext
20426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
20427 printf "%s\n" "$ac_cv_have_isfinite" >&6; }
20428 if test "$ac_cv_have_isfinite" = "yes"
20429 then
20431 printf "%s\n" "#define HAVE_ISFINITE 1" >>confdefs.h
20435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
20436 printf %s "checking for isinf... " >&6; }
20437 if test ${ac_cv_have_isinf+y}
20438 then :
20439 printf %s "(cached) " >&6
20440 else $as_nop
20441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20442 /* end confdefs.h. */
20443 #include <math.h>
20445 main (void)
20447 float f = 0.0; return isinf(f)
20449 return 0;
20451 _ACEOF
20452 if ac_fn_c_try_link "$LINENO"
20453 then :
20454 ac_cv_have_isinf="yes"
20455 else $as_nop
20456 ac_cv_have_isinf="no"
20458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20459 conftest$ac_exeext conftest.$ac_ext
20461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
20462 printf "%s\n" "$ac_cv_have_isinf" >&6; }
20463 if test "$ac_cv_have_isinf" = "yes"
20464 then
20466 printf "%s\n" "#define HAVE_ISINF 1" >>confdefs.h
20470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
20471 printf %s "checking for isnan... " >&6; }
20472 if test ${ac_cv_have_isnan+y}
20473 then :
20474 printf %s "(cached) " >&6
20475 else $as_nop
20476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20477 /* end confdefs.h. */
20478 #include <math.h>
20480 main (void)
20482 float f = 0.0; return isnan(f)
20484 return 0;
20486 _ACEOF
20487 if ac_fn_c_try_link "$LINENO"
20488 then :
20489 ac_cv_have_isnan="yes"
20490 else $as_nop
20491 ac_cv_have_isnan="no"
20493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20494 conftest$ac_exeext conftest.$ac_ext
20496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
20497 printf "%s\n" "$ac_cv_have_isnan" >&6; }
20498 if test "$ac_cv_have_isnan" = "yes"
20499 then
20501 printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h
20505 LIBS="$ac_save_LIBS"
20507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20508 printf %s "checking for __builtin_popcount... " >&6; }
20509 if test ${ac_cv_have___builtin_popcount+y}
20510 then :
20511 printf %s "(cached) " >&6
20512 else $as_nop
20513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20514 /* end confdefs.h. */
20517 main (void)
20519 return __builtin_popcount(1)
20521 return 0;
20523 _ACEOF
20524 if ac_fn_c_try_link "$LINENO"
20525 then :
20526 ac_cv_have___builtin_popcount="yes"
20527 else $as_nop
20528 ac_cv_have___builtin_popcount="no"
20530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20531 conftest$ac_exeext conftest.$ac_ext
20533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20534 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20535 if test "$ac_cv_have___builtin_popcount" = "yes"
20536 then
20538 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20543 printf %s "checking for __clear_cache... " >&6; }
20544 if test ${ac_cv_have___clear_cache+y}
20545 then :
20546 printf %s "(cached) " >&6
20547 else $as_nop
20548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20549 /* end confdefs.h. */
20552 main (void)
20554 __clear_cache((void*)0, (void*)0); return 0;
20556 return 0;
20558 _ACEOF
20559 if ac_fn_c_try_link "$LINENO"
20560 then :
20561 ac_cv_have___clear_cache="yes"
20562 else $as_nop
20563 ac_cv_have___clear_cache="no"
20565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20566 conftest$ac_exeext conftest.$ac_ext
20568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20569 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20570 if test "$ac_cv_have___clear_cache" = "yes"
20571 then
20573 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20578 case $host_cpu in
20579 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20580 printf %s "checking whether we need to define __i386__... " >&6; }
20581 if test ${ac_cv_cpp_def___i386__+y}
20582 then :
20583 printf %s "(cached) " >&6
20584 else $as_nop
20585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20586 /* end confdefs.h. */
20587 #ifndef __i386__
20589 #endif
20590 _ACEOF
20591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20592 $EGREP "yes" >/dev/null 2>&1
20593 then :
20594 ac_cv_cpp_def___i386__=yes
20595 else $as_nop
20596 ac_cv_cpp_def___i386__=no
20598 rm -rf conftest*
20601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20602 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20603 if test "x$ac_cv_cpp_def___i386__" = xyes
20604 then :
20605 CFLAGS="$CFLAGS -D__i386__"
20606 LINTFLAGS="$LINTFLAGS -D__i386__"
20607 fi ;;
20608 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20609 printf %s "checking whether we need to define __x86_64__... " >&6; }
20610 if test ${ac_cv_cpp_def___x86_64__+y}
20611 then :
20612 printf %s "(cached) " >&6
20613 else $as_nop
20614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20615 /* end confdefs.h. */
20616 #ifndef __x86_64__
20618 #endif
20619 _ACEOF
20620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20621 $EGREP "yes" >/dev/null 2>&1
20622 then :
20623 ac_cv_cpp_def___x86_64__=yes
20624 else $as_nop
20625 ac_cv_cpp_def___x86_64__=no
20627 rm -rf conftest*
20630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20631 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20632 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20633 then :
20634 CFLAGS="$CFLAGS -D__x86_64__"
20635 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20636 fi ;;
20637 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20638 printf %s "checking whether we need to define __sparc64__... " >&6; }
20639 if test ${ac_cv_cpp_def___sparc64__+y}
20640 then :
20641 printf %s "(cached) " >&6
20642 else $as_nop
20643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20644 /* end confdefs.h. */
20645 #ifndef __sparc64__
20647 #endif
20648 _ACEOF
20649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20650 $EGREP "yes" >/dev/null 2>&1
20651 then :
20652 ac_cv_cpp_def___sparc64__=yes
20653 else $as_nop
20654 ac_cv_cpp_def___sparc64__=no
20656 rm -rf conftest*
20659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20660 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20661 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20662 then :
20663 CFLAGS="$CFLAGS -D__sparc64__"
20664 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20665 fi ;;
20666 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20667 printf %s "checking whether we need to define __sparc__... " >&6; }
20668 if test ${ac_cv_cpp_def___sparc__+y}
20669 then :
20670 printf %s "(cached) " >&6
20671 else $as_nop
20672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20673 /* end confdefs.h. */
20674 #ifndef __sparc__
20676 #endif
20677 _ACEOF
20678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20679 $EGREP "yes" >/dev/null 2>&1
20680 then :
20681 ac_cv_cpp_def___sparc__=yes
20682 else $as_nop
20683 ac_cv_cpp_def___sparc__=no
20685 rm -rf conftest*
20688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20689 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20690 if test "x$ac_cv_cpp_def___sparc__" = xyes
20691 then :
20692 CFLAGS="$CFLAGS -D__sparc__"
20693 LINTFLAGS="$LINTFLAGS -D__sparc__"
20694 fi ;;
20695 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20696 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20697 if test ${ac_cv_cpp_def___powerpc64__+y}
20698 then :
20699 printf %s "(cached) " >&6
20700 else $as_nop
20701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20702 /* end confdefs.h. */
20703 #ifndef __powerpc64__
20705 #endif
20706 _ACEOF
20707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20708 $EGREP "yes" >/dev/null 2>&1
20709 then :
20710 ac_cv_cpp_def___powerpc64__=yes
20711 else $as_nop
20712 ac_cv_cpp_def___powerpc64__=no
20714 rm -rf conftest*
20717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20718 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20719 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20720 then :
20721 CFLAGS="$CFLAGS -D__powerpc64__"
20722 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20723 fi ;;
20724 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20725 printf %s "checking whether we need to define __powerpc__... " >&6; }
20726 if test ${ac_cv_cpp_def___powerpc__+y}
20727 then :
20728 printf %s "(cached) " >&6
20729 else $as_nop
20730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20731 /* end confdefs.h. */
20732 #ifndef __powerpc__
20734 #endif
20735 _ACEOF
20736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20737 $EGREP "yes" >/dev/null 2>&1
20738 then :
20739 ac_cv_cpp_def___powerpc__=yes
20740 else $as_nop
20741 ac_cv_cpp_def___powerpc__=no
20743 rm -rf conftest*
20746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20747 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20748 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20749 then :
20750 CFLAGS="$CFLAGS -D__powerpc__"
20751 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20752 fi ;;
20753 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20754 printf %s "checking whether we need to define __aarch64__... " >&6; }
20755 if test ${ac_cv_cpp_def___aarch64__+y}
20756 then :
20757 printf %s "(cached) " >&6
20758 else $as_nop
20759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20760 /* end confdefs.h. */
20761 #ifndef __aarch64__
20763 #endif
20764 _ACEOF
20765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20766 $EGREP "yes" >/dev/null 2>&1
20767 then :
20768 ac_cv_cpp_def___aarch64__=yes
20769 else $as_nop
20770 ac_cv_cpp_def___aarch64__=no
20772 rm -rf conftest*
20775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20776 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20777 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20778 then :
20779 CFLAGS="$CFLAGS -D__aarch64__"
20780 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20781 fi ;;
20782 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20783 printf %s "checking whether we need to define __arm__... " >&6; }
20784 if test ${ac_cv_cpp_def___arm__+y}
20785 then :
20786 printf %s "(cached) " >&6
20787 else $as_nop
20788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20789 /* end confdefs.h. */
20790 #ifndef __arm__
20792 #endif
20793 _ACEOF
20794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20795 $EGREP "yes" >/dev/null 2>&1
20796 then :
20797 ac_cv_cpp_def___arm__=yes
20798 else $as_nop
20799 ac_cv_cpp_def___arm__=no
20801 rm -rf conftest*
20804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20805 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20806 if test "x$ac_cv_cpp_def___arm__" = xyes
20807 then :
20808 CFLAGS="$CFLAGS -D__arm__"
20809 LINTFLAGS="$LINTFLAGS -D__arm__"
20810 fi ;;
20811 esac
20813 case $host_vendor in
20814 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20815 printf %s "checking whether we need to define __sun__... " >&6; }
20816 if test ${ac_cv_cpp_def___sun__+y}
20817 then :
20818 printf %s "(cached) " >&6
20819 else $as_nop
20820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20821 /* end confdefs.h. */
20822 #ifndef __sun__
20824 #endif
20825 _ACEOF
20826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20827 $EGREP "yes" >/dev/null 2>&1
20828 then :
20829 ac_cv_cpp_def___sun__=yes
20830 else $as_nop
20831 ac_cv_cpp_def___sun__=no
20833 rm -rf conftest*
20836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20837 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20838 if test "x$ac_cv_cpp_def___sun__" = xyes
20839 then :
20840 CFLAGS="$CFLAGS -D__sun__"
20841 LINTFLAGS="$LINTFLAGS -D__sun__"
20842 fi ;;
20843 esac
20849 ac_config_commands="$ac_config_commands include/stamp-h"
20851 printf %s "creating Makefile rules..." >&6
20853 makedep_flags=""
20854 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20856 wine_srcdir=
20857 test "$srcdir" = . || wine_srcdir="$srcdir/"
20859 ac_config_links="$ac_config_links wine:tools/winewrapper"
20860 wine_fn_config_symlink wine
20861 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20862 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20863 wine_fn_config_symlink wine64
20866 wine_fn_config_makefile dlls/acledit enable_acledit
20867 wine_fn_config_makefile dlls/aclui enable_aclui
20868 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20869 wine_fn_config_makefile dlls/activeds enable_activeds
20870 wine_fn_config_makefile dlls/activeds/tests enable_tests
20871 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20872 wine_fn_config_makefile dlls/adsldp enable_adsldp
20873 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20874 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20875 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20876 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20877 wine_fn_config_makefile dlls/advpack enable_advpack
20878 wine_fn_config_makefile dlls/advpack/tests enable_tests
20879 wine_fn_config_makefile dlls/amsi enable_amsi
20880 wine_fn_config_makefile dlls/amstream enable_amstream
20881 wine_fn_config_makefile dlls/amstream/tests enable_tests
20882 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20883 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20884 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20885 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20886 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20887 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20888 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20889 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20890 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20891 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20892 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20893 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20894 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20895 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20896 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20897 wine_fn_config_makefile dlls/api-ms-win-core-console-l3-2-0 enable_api_ms_win_core_console_l3_2_0
20898 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20899 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20900 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20901 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20902 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20903 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20904 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20905 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20906 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20907 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20908 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20909 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20910 wine_fn_config_makefile dlls/api-ms-win-core-featurestaging-l1-1-0 enable_api_ms_win_core_featurestaging_l1_1_0
20911 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20912 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20913 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20914 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20915 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20916 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20917 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20918 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20919 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20920 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20921 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20922 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20923 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20924 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20925 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20926 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20927 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20928 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20929 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20930 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20931 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20932 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20933 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20934 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20935 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20936 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-5 enable_api_ms_win_core_kernel32_legacy_l1_1_5
20937 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20938 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20939 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20940 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20941 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20942 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20943 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20944 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20945 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20946 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20947 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20948 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20949 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20950 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20951 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20952 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20953 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20954 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20955 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20956 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20957 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20958 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20959 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20960 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20961 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20962 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20963 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20964 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20965 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20966 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20967 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20968 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20969 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20970 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20971 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20972 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20973 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20974 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-l1-1-0 enable_api_ms_win_core_processtopology_l1_1_0
20975 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20976 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20977 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20978 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20979 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20980 wine_fn_config_makefile dlls/api-ms-win-core-psm-appnotify-l1-1-0 enable_api_ms_win_core_psm_appnotify_l1_1_0
20981 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20982 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20983 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-1 enable_api_ms_win_core_realtime_l1_1_1
20984 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20985 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20986 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20987 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20988 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20989 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20990 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20991 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20992 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20993 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20994 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20995 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20996 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20997 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20998 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20999 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
21000 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
21001 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
21002 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
21003 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
21004 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
21005 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
21006 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
21007 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
21008 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
21009 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
21010 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
21011 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
21012 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
21013 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
21014 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
21015 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
21016 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
21017 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
21018 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
21019 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
21020 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
21021 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
21022 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
21023 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
21024 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
21025 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
21026 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
21027 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
21028 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
21029 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
21030 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
21031 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
21032 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
21033 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
21034 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
21035 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
21036 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
21037 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
21038 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
21039 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
21040 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
21041 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
21042 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
21043 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
21044 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
21045 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
21046 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
21047 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
21048 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
21049 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
21050 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
21051 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
21052 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
21053 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
21054 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
21055 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
21056 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
21057 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
21058 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
21059 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
21060 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
21061 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
21062 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
21063 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
21064 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
21065 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
21066 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
21067 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
21068 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
21069 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
21070 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
21071 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
21072 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
21073 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
21074 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
21075 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
21076 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
21077 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
21078 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
21079 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
21080 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
21081 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
21082 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
21083 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
21084 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
21085 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
21086 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
21087 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
21088 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
21089 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
21090 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
21091 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
21092 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
21093 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
21094 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
21095 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
21096 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
21097 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
21098 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
21099 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
21100 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
21101 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
21102 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
21103 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
21104 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
21105 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
21106 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
21107 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
21108 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
21109 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
21110 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
21111 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
21112 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
21113 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
21114 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
21115 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
21116 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
21117 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
21118 wine_fn_config_makefile dlls/apphelp enable_apphelp
21119 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21120 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21121 wine_fn_config_makefile dlls/atl enable_atl
21122 wine_fn_config_makefile dlls/atl/tests enable_tests
21123 wine_fn_config_makefile dlls/atl100 enable_atl100
21124 wine_fn_config_makefile dlls/atl100/tests enable_tests
21125 wine_fn_config_makefile dlls/atl110 enable_atl110
21126 wine_fn_config_makefile dlls/atl80 enable_atl80
21127 wine_fn_config_makefile dlls/atl80/tests enable_tests
21128 wine_fn_config_makefile dlls/atl90 enable_atl90
21129 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21130 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21131 wine_fn_config_makefile dlls/atmlib enable_atmlib
21132 wine_fn_config_makefile dlls/authz enable_authz
21133 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21134 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21135 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21136 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21137 wine_fn_config_makefile dlls/avrt enable_avrt
21138 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21139 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21140 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21141 wine_fn_config_makefile dlls/browseui enable_browseui
21142 wine_fn_config_makefile dlls/browseui/tests enable_tests
21143 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21144 wine_fn_config_makefile dlls/cabinet enable_cabinet
21145 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21146 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21147 wine_fn_config_makefile dlls/cards enable_cards
21148 wine_fn_config_makefile dlls/cdosys enable_cdosys
21149 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21150 wine_fn_config_makefile dlls/clusapi enable_clusapi
21151 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21152 wine_fn_config_makefile dlls/combase enable_combase
21153 wine_fn_config_makefile dlls/combase/tests enable_tests
21154 wine_fn_config_makefile dlls/comcat enable_comcat
21155 wine_fn_config_makefile dlls/comcat/tests enable_tests
21156 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21157 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21158 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21159 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21160 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21161 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21162 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21163 wine_fn_config_makefile dlls/compstui enable_compstui
21164 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21165 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21166 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21167 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21168 wine_fn_config_makefile dlls/connect enable_connect
21169 wine_fn_config_makefile dlls/credui enable_credui
21170 wine_fn_config_makefile dlls/credui/tests enable_tests
21171 wine_fn_config_makefile dlls/crtdll enable_crtdll
21172 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21173 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21174 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21175 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21176 wine_fn_config_makefile dlls/cryptext enable_cryptext
21177 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21178 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21179 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21180 wine_fn_config_makefile dlls/cryptui enable_cryptui
21181 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21182 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21183 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21184 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21185 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21186 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21187 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21188 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21189 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21190 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21191 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21192 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21193 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21194 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21195 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21196 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21197 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21198 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21199 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21200 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21201 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21202 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21203 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21204 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21205 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21206 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21207 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21208 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21209 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21210 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21211 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21212 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21213 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21214 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21215 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21216 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21217 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21218 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21219 wine_fn_config_makefile dlls/d3dim enable_d3dim
21220 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21221 wine_fn_config_makefile dlls/d3drm enable_d3drm
21222 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21223 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21224 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21225 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21226 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21227 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21228 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21229 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21230 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21231 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21232 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21233 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21234 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21235 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21236 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21237 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21238 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21239 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21240 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21241 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21242 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21243 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21244 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21245 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21246 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21247 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21248 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21249 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21250 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21251 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21252 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21253 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21254 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21255 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21256 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21257 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21258 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21259 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21260 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21261 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21262 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21263 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21264 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21265 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21266 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21267 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21268 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21269 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21270 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21271 wine_fn_config_makefile dlls/davclnt enable_davclnt
21272 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21273 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21274 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21275 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21276 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21277 wine_fn_config_makefile dlls/dcomp enable_dcomp
21278 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21279 wine_fn_config_makefile dlls/ddraw enable_ddraw
21280 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21281 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21282 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21283 wine_fn_config_makefile dlls/devenum enable_devenum
21284 wine_fn_config_makefile dlls/devenum/tests enable_tests
21285 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21286 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21287 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21288 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21289 wine_fn_config_makefile dlls/difxapi enable_difxapi
21290 wine_fn_config_makefile dlls/dinput enable_dinput
21291 wine_fn_config_makefile dlls/dinput/tests enable_tests
21292 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21293 wine_fn_config_makefile dlls/dinput8/tests enable_tests
21294 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21295 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21296 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21297 wine_fn_config_makefile dlls/dispex enable_dispex
21298 wine_fn_config_makefile dlls/dispex/tests enable_tests
21299 wine_fn_config_makefile dlls/display.drv16 enable_win16
21300 wine_fn_config_makefile dlls/dmband enable_dmband
21301 wine_fn_config_makefile dlls/dmband/tests enable_tests
21302 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21303 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21304 wine_fn_config_makefile dlls/dmime enable_dmime
21305 wine_fn_config_makefile dlls/dmime/tests enable_tests
21306 wine_fn_config_makefile dlls/dmloader enable_dmloader
21307 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21308 wine_fn_config_makefile dlls/dmscript enable_dmscript
21309 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21310 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21311 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21312 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21313 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21314 wine_fn_config_makefile dlls/dmusic enable_dmusic
21315 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21316 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21317 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21318 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21319 wine_fn_config_makefile dlls/dplay enable_dplay
21320 wine_fn_config_makefile dlls/dplayx enable_dplayx
21321 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21322 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21323 wine_fn_config_makefile dlls/dpnet enable_dpnet
21324 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21325 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21326 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21327 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21328 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21329 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21330 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21331 wine_fn_config_makefile dlls/drmclien enable_drmclien
21332 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21333 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21334 wine_fn_config_makefile dlls/dsound enable_dsound
21335 wine_fn_config_makefile dlls/dsound/tests enable_tests
21336 wine_fn_config_makefile dlls/dsquery enable_dsquery
21337 wine_fn_config_makefile dlls/dssenh enable_dssenh
21338 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21339 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21340 wine_fn_config_makefile dlls/dswave enable_dswave
21341 wine_fn_config_makefile dlls/dswave/tests enable_tests
21342 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21343 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21344 wine_fn_config_makefile dlls/dwrite enable_dwrite
21345 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21346 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21347 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21348 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21349 wine_fn_config_makefile dlls/dxgi enable_dxgi
21350 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21351 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21352 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21353 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21354 wine_fn_config_makefile dlls/esent enable_esent
21355 wine_fn_config_makefile dlls/evr enable_evr
21356 wine_fn_config_makefile dlls/evr/tests enable_tests
21357 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21358 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21359 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
21360 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
21361 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
21362 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
21363 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
21364 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
21365 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
21366 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
21367 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
21368 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
21369 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
21370 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
21371 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
21372 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
21373 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
21374 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
21375 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
21376 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
21377 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
21378 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
21379 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
21380 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
21381 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
21382 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
21383 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
21384 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
21385 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
21386 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
21387 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
21388 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
21389 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
21390 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
21391 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
21392 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
21393 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
21394 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
21395 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
21396 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
21397 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
21398 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
21399 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
21400 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
21401 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
21402 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
21403 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
21404 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
21405 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
21406 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
21407 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
21408 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
21409 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
21410 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
21411 wine_fn_config_makefile dlls/faultrep enable_faultrep
21412 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21413 wine_fn_config_makefile dlls/feclient enable_feclient
21414 wine_fn_config_makefile dlls/fltlib enable_fltlib
21415 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21416 wine_fn_config_makefile dlls/fntcache enable_fntcache
21417 wine_fn_config_makefile dlls/fontsub enable_fontsub
21418 wine_fn_config_makefile dlls/fusion enable_fusion
21419 wine_fn_config_makefile dlls/fusion/tests enable_tests
21420 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21421 wine_fn_config_makefile dlls/gameux enable_gameux
21422 wine_fn_config_makefile dlls/gameux/tests enable_tests
21423 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21424 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21425 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21426 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21427 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21428 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21429 wine_fn_config_makefile dlls/glu32 enable_glu32
21430 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21431 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21432 wine_fn_config_makefile dlls/hal enable_hal
21433 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21434 wine_fn_config_makefile dlls/hid enable_hid
21435 wine_fn_config_makefile dlls/hid/tests enable_tests
21436 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21437 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21438 wine_fn_config_makefile dlls/hlink enable_hlink
21439 wine_fn_config_makefile dlls/hlink/tests enable_tests
21440 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21441 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21442 wine_fn_config_makefile dlls/http.sys enable_http_sys
21443 wine_fn_config_makefile dlls/httpapi enable_httpapi
21444 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21445 wine_fn_config_makefile dlls/iccvid enable_iccvid
21446 wine_fn_config_makefile dlls/icmp enable_icmp
21447 wine_fn_config_makefile dlls/ieframe enable_ieframe
21448 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21449 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21450 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21451 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21452 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21453 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21454 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21455 wine_fn_config_makefile dlls/imm32 enable_imm32
21456 wine_fn_config_makefile dlls/imm32/tests enable_tests
21457 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21458 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21459 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21460 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21461 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21462 wine_fn_config_makefile dlls/infosoft enable_infosoft
21463 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21464 wine_fn_config_makefile dlls/initpki enable_initpki
21465 wine_fn_config_makefile dlls/inkobj enable_inkobj
21466 wine_fn_config_makefile dlls/inseng enable_inseng
21467 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21468 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21469 wine_fn_config_makefile dlls/iprop enable_iprop
21470 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21471 wine_fn_config_makefile dlls/itircl enable_itircl
21472 wine_fn_config_makefile dlls/itss enable_itss
21473 wine_fn_config_makefile dlls/itss/tests enable_tests
21474 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21475 wine_fn_config_makefile dlls/jscript enable_jscript
21476 wine_fn_config_makefile dlls/jscript/tests enable_tests
21477 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21478 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21479 wine_fn_config_makefile dlls/kerberos enable_kerberos
21480 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21481 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21482 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21483 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21484 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21485 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21486 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21487 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21488 wine_fn_config_makefile dlls/ksuser enable_ksuser
21489 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21490 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21491 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21492 wine_fn_config_makefile dlls/loadperf enable_loadperf
21493 wine_fn_config_makefile dlls/localspl enable_localspl
21494 wine_fn_config_makefile dlls/localspl/tests enable_tests
21495 wine_fn_config_makefile dlls/localui enable_localui
21496 wine_fn_config_makefile dlls/localui/tests enable_tests
21497 wine_fn_config_makefile dlls/lz32 enable_lz32
21498 wine_fn_config_makefile dlls/lz32/tests enable_tests
21499 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21500 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21501 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21502 wine_fn_config_makefile dlls/mapistub enable_mapistub
21503 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21504 wine_fn_config_makefile dlls/mcicda enable_mcicda
21505 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21506 wine_fn_config_makefile dlls/mciseq enable_mciseq
21507 wine_fn_config_makefile dlls/mciwave enable_mciwave
21508 wine_fn_config_makefile dlls/mf enable_mf
21509 wine_fn_config_makefile dlls/mf/tests enable_tests
21510 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21511 wine_fn_config_makefile dlls/mferror enable_mferror
21512 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21513 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21514 wine_fn_config_makefile dlls/mfplat enable_mfplat
21515 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21516 wine_fn_config_makefile dlls/mfplay enable_mfplay
21517 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21518 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21519 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21520 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21521 wine_fn_config_makefile dlls/midimap enable_midimap
21522 wine_fn_config_makefile dlls/mlang enable_mlang
21523 wine_fn_config_makefile dlls/mlang/tests enable_tests
21524 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21525 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21526 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21527 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21528 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21529 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21530 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21531 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21532 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21533 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21534 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21535 wine_fn_config_makefile dlls/mpr enable_mpr
21536 wine_fn_config_makefile dlls/mpr/tests enable_tests
21537 wine_fn_config_makefile dlls/mprapi enable_mprapi
21538 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21539 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21540 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21541 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21542 wine_fn_config_makefile dlls/msado15 enable_msado15
21543 wine_fn_config_makefile dlls/msado15/tests enable_tests
21544 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21545 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21546 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21547 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21548 wine_fn_config_makefile dlls/mscms enable_mscms
21549 wine_fn_config_makefile dlls/mscms/tests enable_tests
21550 wine_fn_config_makefile dlls/mscoree enable_mscoree
21551 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21552 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21553 wine_fn_config_makefile dlls/msctf enable_msctf
21554 wine_fn_config_makefile dlls/msctf/tests enable_tests
21555 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21556 wine_fn_config_makefile dlls/msctfp enable_msctfp
21557 wine_fn_config_makefile dlls/msdaps enable_msdaps
21558 wine_fn_config_makefile dlls/msdasql enable_msdasql
21559 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21560 wine_fn_config_makefile dlls/msdelta enable_msdelta
21561 wine_fn_config_makefile dlls/msdmo enable_msdmo
21562 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21563 wine_fn_config_makefile dlls/msdrm enable_msdrm
21564 wine_fn_config_makefile dlls/msftedit enable_msftedit
21565 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21566 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21567 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21568 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21569 wine_fn_config_makefile dlls/mshtml enable_mshtml
21570 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21571 wine_fn_config_makefile dlls/msi enable_msi
21572 wine_fn_config_makefile dlls/msi/tests enable_tests
21573 wine_fn_config_makefile dlls/msident enable_msident
21574 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21575 wine_fn_config_makefile dlls/msimsg enable_msimsg
21576 wine_fn_config_makefile dlls/msimtf enable_msimtf
21577 wine_fn_config_makefile dlls/msisip enable_msisip
21578 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21579 wine_fn_config_makefile dlls/msls31 enable_msls31
21580 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21581 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21582 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21583 wine_fn_config_makefile dlls/msports enable_msports
21584 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21585 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21586 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21587 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21588 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21589 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21590 wine_fn_config_makefile dlls/mstask enable_mstask
21591 wine_fn_config_makefile dlls/mstask/tests enable_tests
21592 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21593 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21594 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21595 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21596 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21597 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21598 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21599 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21600 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21601 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21602 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21603 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21604 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21605 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21606 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21607 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21608 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21609 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21610 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21611 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21612 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21613 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21614 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21615 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21616 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21617 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21618 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21619 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21620 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21621 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21622 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21623 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21624 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21625 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21626 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21627 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21628 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21629 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21630 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21631 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21632 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21633 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21634 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21635 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21636 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21637 wine_fn_config_makefile dlls/mswsock enable_mswsock
21638 wine_fn_config_makefile dlls/msxml enable_msxml
21639 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21640 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21641 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21642 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21643 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21644 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21645 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21646 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21647 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21648 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21649 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21650 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21651 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21652 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21653 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21654 wine_fn_config_makefile dlls/netprofm enable_netprofm
21655 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21656 wine_fn_config_makefile dlls/netutils enable_netutils
21657 wine_fn_config_makefile dlls/newdev enable_newdev
21658 wine_fn_config_makefile dlls/ninput enable_ninput
21659 wine_fn_config_makefile dlls/ninput/tests enable_tests
21660 wine_fn_config_makefile dlls/normaliz enable_normaliz
21661 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21662 wine_fn_config_makefile dlls/npptools enable_npptools
21663 wine_fn_config_makefile dlls/nsi enable_nsi
21664 wine_fn_config_makefile dlls/nsi/tests enable_tests
21665 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21666 wine_fn_config_makefile dlls/ntdll enable_ntdll
21667 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21668 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21669 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21670 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21671 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21672 wine_fn_config_makefile dlls/ntprint enable_ntprint
21673 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21674 wine_fn_config_makefile dlls/objsel enable_objsel
21675 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21676 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21677 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21678 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21679 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21680 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21681 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21682 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21683 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21684 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21685 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21686 wine_fn_config_makefile dlls/ole32 enable_ole32
21687 wine_fn_config_makefile dlls/ole32/tests enable_tests
21688 wine_fn_config_makefile dlls/oleacc enable_oleacc
21689 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21690 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21691 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21692 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21693 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21694 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21695 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21696 wine_fn_config_makefile dlls/oledlg enable_oledlg
21697 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21698 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21699 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21700 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21701 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21702 wine_fn_config_makefile dlls/opcservices enable_opcservices
21703 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21704 wine_fn_config_makefile dlls/openal32 enable_openal32
21705 wine_fn_config_makefile dlls/opencl enable_opencl
21706 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21707 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21708 wine_fn_config_makefile dlls/packager enable_packager
21709 wine_fn_config_makefile dlls/packager/tests enable_tests
21710 wine_fn_config_makefile dlls/pdh enable_pdh
21711 wine_fn_config_makefile dlls/pdh/tests enable_tests
21712 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21713 wine_fn_config_makefile dlls/pidgen enable_pidgen
21714 wine_fn_config_makefile dlls/powrprof enable_powrprof
21715 wine_fn_config_makefile dlls/printui enable_printui
21716 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21717 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21718 wine_fn_config_makefile dlls/propsys enable_propsys
21719 wine_fn_config_makefile dlls/propsys/tests enable_tests
21720 wine_fn_config_makefile dlls/psapi enable_psapi
21721 wine_fn_config_makefile dlls/psapi/tests enable_tests
21722 wine_fn_config_makefile dlls/pstorec enable_pstorec
21723 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21724 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21725 wine_fn_config_makefile dlls/qasf enable_qasf
21726 wine_fn_config_makefile dlls/qasf/tests enable_tests
21727 wine_fn_config_makefile dlls/qcap enable_qcap
21728 wine_fn_config_makefile dlls/qcap/tests enable_tests
21729 wine_fn_config_makefile dlls/qdvd enable_qdvd
21730 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21731 wine_fn_config_makefile dlls/qedit enable_qedit
21732 wine_fn_config_makefile dlls/qedit/tests enable_tests
21733 wine_fn_config_makefile dlls/qmgr enable_qmgr
21734 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21735 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21736 wine_fn_config_makefile dlls/quartz enable_quartz
21737 wine_fn_config_makefile dlls/quartz/tests enable_tests
21738 wine_fn_config_makefile dlls/query enable_query
21739 wine_fn_config_makefile dlls/qwave enable_qwave
21740 wine_fn_config_makefile dlls/qwave/tests enable_tests
21741 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21742 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21743 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21744 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21745 wine_fn_config_makefile dlls/regapi enable_regapi
21746 wine_fn_config_makefile dlls/resutils enable_resutils
21747 wine_fn_config_makefile dlls/riched20 enable_riched20
21748 wine_fn_config_makefile dlls/riched20/tests enable_tests
21749 wine_fn_config_makefile dlls/riched32 enable_riched32
21750 wine_fn_config_makefile dlls/riched32/tests enable_tests
21751 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21752 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21753 wine_fn_config_makefile dlls/rsabase enable_rsabase
21754 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21755 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21756 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21757 wine_fn_config_makefile dlls/rtutils enable_rtutils
21758 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21759 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21760 wine_fn_config_makefile dlls/samlib enable_samlib
21761 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21762 wine_fn_config_makefile dlls/sapi enable_sapi
21763 wine_fn_config_makefile dlls/sapi/tests enable_tests
21764 wine_fn_config_makefile dlls/sas enable_sas
21765 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21766 wine_fn_config_makefile dlls/sccbase enable_sccbase
21767 wine_fn_config_makefile dlls/schannel enable_schannel
21768 wine_fn_config_makefile dlls/schannel/tests enable_tests
21769 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21770 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21771 wine_fn_config_makefile dlls/scrobj enable_scrobj
21772 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21773 wine_fn_config_makefile dlls/scrrun enable_scrrun
21774 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21775 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21776 wine_fn_config_makefile dlls/sechost enable_sechost
21777 wine_fn_config_makefile dlls/secur32 enable_secur32
21778 wine_fn_config_makefile dlls/secur32/tests enable_tests
21779 wine_fn_config_makefile dlls/security enable_security
21780 wine_fn_config_makefile dlls/sensapi enable_sensapi
21781 wine_fn_config_makefile dlls/serialui enable_serialui
21782 wine_fn_config_makefile dlls/serialui/tests enable_tests
21783 wine_fn_config_makefile dlls/setupapi enable_setupapi
21784 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21785 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21786 wine_fn_config_makefile dlls/sfc enable_sfc
21787 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21788 wine_fn_config_makefile dlls/shcore enable_shcore
21789 wine_fn_config_makefile dlls/shcore/tests enable_tests
21790 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21791 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21792 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21793 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21794 wine_fn_config_makefile dlls/shell32 enable_shell32
21795 wine_fn_config_makefile dlls/shell32/tests enable_tests
21796 wine_fn_config_makefile dlls/shfolder enable_shfolder
21797 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21798 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21799 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21800 wine_fn_config_makefile dlls/slc enable_slc
21801 wine_fn_config_makefile dlls/slc/tests enable_tests
21802 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21803 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21804 wine_fn_config_makefile dlls/softpub enable_softpub
21805 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21806 wine_fn_config_makefile dlls/spoolss enable_spoolss
21807 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21808 wine_fn_config_makefile dlls/sppc enable_sppc
21809 wine_fn_config_makefile dlls/srclient enable_srclient
21810 wine_fn_config_makefile dlls/srvcli enable_srvcli
21811 wine_fn_config_makefile dlls/sspicli enable_sspicli
21812 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21813 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21814 wine_fn_config_makefile dlls/sti enable_sti
21815 wine_fn_config_makefile dlls/sti/tests enable_tests
21816 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21817 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21818 wine_fn_config_makefile dlls/strmbase enable_strmbase
21819 wine_fn_config_makefile dlls/strmdll enable_strmdll
21820 wine_fn_config_makefile dlls/svrapi enable_svrapi
21821 wine_fn_config_makefile dlls/sxs enable_sxs
21822 wine_fn_config_makefile dlls/sxs/tests enable_tests
21823 wine_fn_config_makefile dlls/system.drv16 enable_win16
21824 wine_fn_config_makefile dlls/t2embed enable_t2embed
21825 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21826 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21827 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21828 wine_fn_config_makefile dlls/taskschd enable_taskschd
21829 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21830 wine_fn_config_makefile dlls/tbs enable_tbs
21831 wine_fn_config_makefile dlls/tdh enable_tdh
21832 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21833 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21834 wine_fn_config_makefile dlls/traffic enable_traffic
21835 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21836 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21837 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21838 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21839 wine_fn_config_makefile dlls/tzres enable_tzres
21840 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21841 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21842 wine_fn_config_makefile dlls/uianimation enable_uianimation
21843 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21844 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21845 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21846 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21847 wine_fn_config_makefile dlls/unicows enable_unicows
21848 wine_fn_config_makefile dlls/updspapi enable_updspapi
21849 wine_fn_config_makefile dlls/url enable_url
21850 wine_fn_config_makefile dlls/urlmon enable_urlmon
21851 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21852 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21853 wine_fn_config_makefile dlls/user.exe16 enable_win16
21854 wine_fn_config_makefile dlls/user32 enable_user32
21855 wine_fn_config_makefile dlls/user32/tests enable_tests
21856 wine_fn_config_makefile dlls/userenv enable_userenv
21857 wine_fn_config_makefile dlls/userenv/tests enable_tests
21858 wine_fn_config_makefile dlls/usp10 enable_usp10
21859 wine_fn_config_makefile dlls/usp10/tests enable_tests
21860 wine_fn_config_makefile dlls/utildll enable_utildll
21861 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21862 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21863 wine_fn_config_makefile dlls/vbscript enable_vbscript
21864 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21865 wine_fn_config_makefile dlls/vcomp enable_vcomp
21866 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21867 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21868 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21869 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21870 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21871 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21872 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21873 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21874 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21875 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21876 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21877 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21878 wine_fn_config_makefile dlls/version enable_version
21879 wine_fn_config_makefile dlls/version/tests enable_tests
21880 wine_fn_config_makefile dlls/vga enable_vga
21881 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21882 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21883 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21884 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21885 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21886 wine_fn_config_makefile dlls/vssapi enable_vssapi
21887 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21888 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21889 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21890 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21891 wine_fn_config_makefile dlls/w32skrnl enable_win16
21892 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21893 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21894 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21895 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21896 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21897 wine_fn_config_makefile dlls/wdscore enable_wdscore
21898 wine_fn_config_makefile dlls/webservices enable_webservices
21899 wine_fn_config_makefile dlls/webservices/tests enable_tests
21900 wine_fn_config_makefile dlls/websocket enable_websocket
21901 wine_fn_config_makefile dlls/wer enable_wer
21902 wine_fn_config_makefile dlls/wer/tests enable_tests
21903 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21904 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21905 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21906 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21907 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21908 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21909 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21910 wine_fn_config_makefile dlls/win32u enable_win32u
21911 wine_fn_config_makefile dlls/win32u/tests enable_tests
21912 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21913 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21914 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21915 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21916 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21917 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21918 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21919 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21920 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21921 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21922 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21923 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21924 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21925 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21926 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21927 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21928 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21929 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21930 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21931 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21932 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21933 wine_fn_config_makefile dlls/wined3d enable_wined3d
21934 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21935 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21936 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21937 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21938 wine_fn_config_makefile dlls/winemapi enable_winemapi
21939 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21940 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21941 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21942 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21943 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21944 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21945 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21946 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21947 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21948 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21949 wine_fn_config_makefile dlls/wing32 enable_wing32
21950 wine_fn_config_makefile dlls/winhttp enable_winhttp
21951 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21952 wine_fn_config_makefile dlls/wininet enable_wininet
21953 wine_fn_config_makefile dlls/wininet/tests enable_tests
21954 wine_fn_config_makefile dlls/winmm enable_winmm
21955 wine_fn_config_makefile dlls/winmm/tests enable_tests
21956 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21957 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21958 wine_fn_config_makefile dlls/winscard enable_winscard
21959 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21960 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21961 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21962 wine_fn_config_makefile dlls/winsta enable_winsta
21963 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21964 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21965 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21966 wine_fn_config_makefile dlls/wintrust enable_wintrust
21967 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21968 wine_fn_config_makefile dlls/winusb enable_winusb
21969 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21970 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21971 wine_fn_config_makefile dlls/wlanui enable_wlanui
21972 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21973 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21974 wine_fn_config_makefile dlls/wmasf enable_wmasf
21975 wine_fn_config_makefile dlls/wmi enable_wmi
21976 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21977 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21978 wine_fn_config_makefile dlls/wmp enable_wmp
21979 wine_fn_config_makefile dlls/wmp/tests enable_tests
21980 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21981 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21982 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21983 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21984 wine_fn_config_makefile dlls/wow32 enable_win16
21985 wine_fn_config_makefile dlls/wow64 enable_wow64
21986 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21987 wine_fn_config_makefile dlls/wow64win enable_wow64win
21988 wine_fn_config_makefile dlls/wpc enable_wpc
21989 wine_fn_config_makefile dlls/wpc/tests enable_tests
21990 wine_fn_config_makefile dlls/wpcap enable_wpcap
21991 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21992 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21993 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21994 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21995 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21996 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21997 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21998 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21999 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22000 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22001 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22002 wine_fn_config_makefile dlls/wuapi enable_wuapi
22003 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22004 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22005 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22006 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22007 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22008 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22009 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22010 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22011 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22012 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22013 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22014 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22015 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22016 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22017 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22018 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22019 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22020 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22021 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22022 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22023 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22024 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22025 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22026 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22027 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22028 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22029 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22030 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22031 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22032 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22033 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22034 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22035 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22036 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22037 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22038 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22039 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22040 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22041 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22042 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22043 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22044 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22045 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22046 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22047 wine_fn_config_makefile dlls/xmllite enable_xmllite
22048 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22049 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22050 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22051 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22052 wine_fn_config_makefile fonts enable_fonts
22053 wine_fn_config_makefile include enable_include
22054 wine_fn_config_makefile libs/adsiid enable_adsiid
22055 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22056 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22057 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22058 wine_fn_config_makefile libs/dxguid enable_dxguid
22059 wine_fn_config_makefile libs/faudio enable_faudio
22060 wine_fn_config_makefile libs/gsm enable_gsm
22061 wine_fn_config_makefile libs/jpeg enable_jpeg
22062 wine_fn_config_makefile libs/jxr enable_jxr
22063 wine_fn_config_makefile libs/lcms2 enable_lcms2
22064 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22065 wine_fn_config_makefile libs/mpg123 enable_mpg123
22066 wine_fn_config_makefile libs/png enable_png
22067 wine_fn_config_makefile libs/strmiids enable_strmiids
22068 wine_fn_config_makefile libs/tiff enable_tiff
22069 wine_fn_config_makefile libs/uuid enable_uuid
22070 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22071 wine_fn_config_makefile libs/wine enable_wine
22072 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22073 wine_fn_config_makefile libs/xml2 enable_xml2
22074 wine_fn_config_makefile libs/xslt enable_xslt
22075 wine_fn_config_makefile libs/zlib enable_zlib
22076 wine_fn_config_makefile loader enable_loader
22077 wine_fn_config_makefile nls enable_nls
22078 wine_fn_config_makefile po enable_po
22079 wine_fn_config_makefile programs/arp enable_arp
22080 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22081 wine_fn_config_makefile programs/attrib enable_attrib
22082 wine_fn_config_makefile programs/cabarc enable_cabarc
22083 wine_fn_config_makefile programs/cacls enable_cacls
22084 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22085 wine_fn_config_makefile programs/clock enable_clock
22086 wine_fn_config_makefile programs/cmd enable_cmd
22087 wine_fn_config_makefile programs/cmd/tests enable_tests
22088 wine_fn_config_makefile programs/conhost enable_conhost
22089 wine_fn_config_makefile programs/conhost/tests enable_tests
22090 wine_fn_config_makefile programs/control enable_control
22091 wine_fn_config_makefile programs/cscript enable_cscript
22092 wine_fn_config_makefile programs/dism enable_dism
22093 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22094 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22095 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22096 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22097 wine_fn_config_makefile programs/eject enable_eject
22098 wine_fn_config_makefile programs/expand enable_expand
22099 wine_fn_config_makefile programs/explorer enable_explorer
22100 wine_fn_config_makefile programs/extrac32 enable_extrac32
22101 wine_fn_config_makefile programs/fc enable_fc
22102 wine_fn_config_makefile programs/find enable_find
22103 wine_fn_config_makefile programs/find/tests enable_tests
22104 wine_fn_config_makefile programs/findstr enable_findstr
22105 wine_fn_config_makefile programs/fsutil enable_fsutil
22106 wine_fn_config_makefile programs/fsutil/tests enable_tests
22107 wine_fn_config_makefile programs/hh enable_hh
22108 wine_fn_config_makefile programs/hostname enable_hostname
22109 wine_fn_config_makefile programs/icacls enable_icacls
22110 wine_fn_config_makefile programs/icinfo enable_icinfo
22111 wine_fn_config_makefile programs/iexplore enable_iexplore
22112 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22113 wine_fn_config_makefile programs/lodctr enable_lodctr
22114 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22115 wine_fn_config_makefile programs/mshta enable_mshta
22116 wine_fn_config_makefile programs/msidb enable_msidb
22117 wine_fn_config_makefile programs/msiexec enable_msiexec
22118 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22119 wine_fn_config_makefile programs/net enable_net
22120 wine_fn_config_makefile programs/netsh enable_netsh
22121 wine_fn_config_makefile programs/netstat enable_netstat
22122 wine_fn_config_makefile programs/ngen enable_ngen
22123 wine_fn_config_makefile programs/notepad enable_notepad
22124 wine_fn_config_makefile programs/oleview enable_oleview
22125 wine_fn_config_makefile programs/ping enable_ping
22126 wine_fn_config_makefile programs/plugplay enable_plugplay
22127 wine_fn_config_makefile programs/powershell enable_powershell
22128 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22129 wine_fn_config_makefile programs/progman enable_progman
22130 wine_fn_config_makefile programs/reg enable_reg
22131 wine_fn_config_makefile programs/reg/tests enable_tests
22132 wine_fn_config_makefile programs/regasm enable_regasm
22133 wine_fn_config_makefile programs/regedit enable_regedit
22134 wine_fn_config_makefile programs/regedit/tests enable_tests
22135 wine_fn_config_makefile programs/regini enable_regini
22136 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22137 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22138 wine_fn_config_makefile programs/robocopy enable_robocopy
22139 wine_fn_config_makefile programs/rpcss enable_rpcss
22140 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22141 wine_fn_config_makefile programs/rundll32 enable_rundll32
22142 wine_fn_config_makefile programs/sc enable_sc
22143 wine_fn_config_makefile programs/schtasks enable_schtasks
22144 wine_fn_config_makefile programs/schtasks/tests enable_tests
22145 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22146 wine_fn_config_makefile programs/secedit enable_secedit
22147 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22148 wine_fn_config_makefile programs/services enable_services
22149 wine_fn_config_makefile programs/services/tests enable_tests
22150 wine_fn_config_makefile programs/shutdown enable_shutdown
22151 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22152 wine_fn_config_makefile programs/start enable_start
22153 wine_fn_config_makefile programs/subst enable_subst
22154 wine_fn_config_makefile programs/svchost enable_svchost
22155 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22156 wine_fn_config_makefile programs/taskkill enable_taskkill
22157 wine_fn_config_makefile programs/tasklist enable_tasklist
22158 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22159 wine_fn_config_makefile programs/termsv enable_termsv
22160 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22161 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22162 wine_fn_config_makefile programs/view enable_view
22163 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22164 wine_fn_config_makefile programs/where enable_where
22165 wine_fn_config_makefile programs/whoami enable_whoami
22166 wine_fn_config_makefile programs/wineboot enable_wineboot
22167 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22168 wine_fn_config_makefile programs/winecfg enable_winecfg
22169 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22170 wine_fn_config_makefile programs/winedbg enable_winedbg
22171 wine_fn_config_makefile programs/winedevice enable_winedevice
22172 wine_fn_config_makefile programs/winefile enable_winefile
22173 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22174 wine_fn_config_makefile programs/winemine enable_winemine
22175 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22176 wine_fn_config_makefile programs/winepath enable_winepath
22177 wine_fn_config_makefile programs/winetest enable_winetest
22178 wine_fn_config_makefile programs/winevdm enable_win16
22179 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22180 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22181 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22182 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22183 wine_fn_config_makefile programs/winver enable_winver
22184 wine_fn_config_makefile programs/wmic enable_wmic
22185 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22186 wine_fn_config_makefile programs/wordpad enable_wordpad
22187 wine_fn_config_makefile programs/write enable_write
22188 wine_fn_config_makefile programs/wscript enable_wscript
22189 wine_fn_config_makefile programs/wscript/tests enable_tests
22190 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22191 wine_fn_config_makefile programs/wusa enable_wusa
22192 wine_fn_config_makefile programs/xcopy enable_xcopy
22193 wine_fn_config_makefile programs/xcopy/tests enable_tests
22194 wine_fn_config_makefile server enable_server
22195 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22196 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22197 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22198 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22199 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22200 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22201 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22202 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22203 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22206 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22207 wine_fn_append_file CONFIGURE_TARGETS "tags"
22208 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22209 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22210 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22211 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22212 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22213 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22215 if test "x$enable_tools" != xno
22216 then
22217 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22218 ac_config_commands="$ac_config_commands tools/makedep"
22222 ac_config_commands="$ac_config_commands Makefile"
22226 SHELL=/bin/sh
22229 wine_fn_append_rule "all: wine
22230 @echo \"Wine build complete.\"
22231 .INIT: Makefile
22232 .MAKEFILEDEPS:
22233 all: Makefile
22234 Makefile: config.status \$(MAKEDEP)
22235 @./config.status Makefile
22236 depend: \$(MAKEDEP)
22237 \$(MAKEDEP)$makedep_flags"
22240 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22241 @./config.status --recheck
22242 include/config.h: include/stamp-h
22243 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22244 @./config.status include/config.h include/stamp-h"
22246 if test "x$enable_maintainer_mode" = xyes
22247 then
22248 wine_fn_append_rule "configure: configure.ac aclocal.m4
22249 autoconf --warnings=all
22250 include/config.h.in: include/stamp-h.in
22251 include/stamp-h.in: configure.ac aclocal.m4
22252 autoheader --warnings=all
22253 @echo timestamp > \$@"
22256 if test "x$enable_tools" != xno
22257 then
22258 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22259 @./config.status tools/makedep
22260 Makefile: tools/makedep$ac_exeext"
22261 else
22262 wine_fn_append_rule "\$(MAKEDEP):
22263 @echo \"You need to run make in $toolsdir first\" && false"
22267 if test -n "$with_wine64"
22268 then
22269 case "$with_wine64" in
22270 /*) reldir="" ;;
22271 *) reldir="../" ;;
22272 esac
22273 rm -f fonts server 2>/dev/null
22274 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22275 loader/wine64 loader/wine64-preloader:
22276 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22277 $with_wine64/loader/wine:
22278 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22279 $with_wine64/loader/wine-preloader:
22280 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22281 clean::
22282 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22283 else
22284 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22285 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22286 fonts \
22287 loader/wine.inf \
22288 nls \
22289 programs/msidb/msidb \
22290 programs/msiexec/msiexec \
22291 programs/notepad/notepad \
22292 programs/regedit/regedit \
22293 programs/regsvr32/regsvr32 \
22294 programs/wineboot/wineboot \
22295 programs/winecfg/winecfg \
22296 programs/wineconsole/wineconsole \
22297 programs/winedbg/winedbg \
22298 programs/winefile/winefile \
22299 programs/winemine/winemine \
22300 programs/winepath/winepath \
22301 server/wineserver"
22303 case $host_os in
22304 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22305 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22306 esac
22310 wine_fn_append_rule "distclean:: clean
22311 rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man\$(api_manext)"
22314 wine_fn_append_rule "install-manpages:: manpages
22315 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"
22318 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22319 @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)
22320 programs/winetest/build.rc: dummy
22321 @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)
22322 programs/winetest/build.nfo:
22323 @-\$(CC) -v 2>\$@
22324 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
22325 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22326 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22329 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22331 wine_fn_append_rule "TAGS etags:
22332 rm -f TAGS
22333 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22334 tags ctags:
22335 rm -f tags
22336 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22337 dummy:
22338 .PHONY: depend dummy install-manpages"
22340 printf "%s\n" " done" >&6
22341 cat >confcache <<\_ACEOF
22342 # This file is a shell script that caches the results of configure
22343 # tests run on this system so they can be shared between configure
22344 # scripts and configure runs, see configure's option --config-cache.
22345 # It is not useful on other systems. If it contains results you don't
22346 # want to keep, you may remove or edit it.
22348 # config.status only pays attention to the cache file if you give it
22349 # the --recheck option to rerun configure.
22351 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22352 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22353 # following values.
22355 _ACEOF
22357 # The following way of writing the cache mishandles newlines in values,
22358 # but we know of no workaround that is simple, portable, and efficient.
22359 # So, we kill variables containing newlines.
22360 # Ultrix sh set writes to stderr and can't be redirected directly,
22361 # and sets the high bit in the cache file unless we assign to the vars.
22363 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22364 eval ac_val=\$$ac_var
22365 case $ac_val in #(
22366 *${as_nl}*)
22367 case $ac_var in #(
22368 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22369 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22370 esac
22371 case $ac_var in #(
22372 _ | IFS | as_nl) ;; #(
22373 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22374 *) { eval $ac_var=; unset $ac_var;} ;;
22375 esac ;;
22376 esac
22377 done
22379 (set) 2>&1 |
22380 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22381 *${as_nl}ac_space=\ *)
22382 # `set' does not quote correctly, so add quotes: double-quote
22383 # substitution turns \\\\ into \\, and sed turns \\ into \.
22384 sed -n \
22385 "s/'/'\\\\''/g;
22386 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22387 ;; #(
22389 # `set' quotes correctly as required by POSIX, so do not add quotes.
22390 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22392 esac |
22393 sort
22395 sed '
22396 /^ac_cv_env_/b end
22397 t clear
22398 :clear
22399 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22400 t end
22401 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22402 :end' >>confcache
22403 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22404 if test -w "$cache_file"; then
22405 if test "x$cache_file" != "x/dev/null"; then
22406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22407 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22408 if test ! -f "$cache_file" || test -h "$cache_file"; then
22409 cat confcache >"$cache_file"
22410 else
22411 case $cache_file in #(
22412 */* | ?:*)
22413 mv -f confcache "$cache_file"$$ &&
22414 mv -f "$cache_file"$$ "$cache_file" ;; #(
22416 mv -f confcache "$cache_file" ;;
22417 esac
22420 else
22421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22422 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22425 rm -f confcache
22427 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22428 # Let make expand exec_prefix.
22429 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22431 DEFS=-DHAVE_CONFIG_H
22433 ac_libobjs=
22434 ac_ltlibobjs=
22436 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22437 # 1. Remove the extension, and $U if already installed.
22438 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22439 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22440 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22441 # will be set to the directory where LIBOBJS objects are built.
22442 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22443 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22444 done
22445 LIBOBJS=$ac_libobjs
22447 LTLIBOBJS=$ac_ltlibobjs
22451 : "${CONFIG_STATUS=./config.status}"
22452 ac_write_fail=0
22453 ac_clean_files_save=$ac_clean_files
22454 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22456 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22457 as_write_fail=0
22458 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22459 #! $SHELL
22460 # Generated by $as_me.
22461 # Run this file to recreate the current configuration.
22462 # Compiler output produced by configure, useful for debugging
22463 # configure, is in config.log if it exists.
22465 debug=false
22466 ac_cs_recheck=false
22467 ac_cs_silent=false
22469 SHELL=\${CONFIG_SHELL-$SHELL}
22470 export SHELL
22471 _ASEOF
22472 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22473 ## -------------------- ##
22474 ## M4sh Initialization. ##
22475 ## -------------------- ##
22477 # Be more Bourne compatible
22478 DUALCASE=1; export DUALCASE # for MKS sh
22479 as_nop=:
22480 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22481 then :
22482 emulate sh
22483 NULLCMD=:
22484 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22485 # is contrary to our usage. Disable this feature.
22486 alias -g '${1+"$@"}'='"$@"'
22487 setopt NO_GLOB_SUBST
22488 else $as_nop
22489 case `(set -o) 2>/dev/null` in #(
22490 *posix*) :
22491 set -o posix ;; #(
22492 *) :
22494 esac
22499 # Reset variables that may have inherited troublesome values from
22500 # the environment.
22502 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22503 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22504 # side effect of setting IFS to empty, thus disabling word splitting.)
22505 # Quoting is to prevent editors from complaining about space-tab.
22506 as_nl='
22508 export as_nl
22509 IFS=" "" $as_nl"
22511 PS1='$ '
22512 PS2='> '
22513 PS4='+ '
22515 # Ensure predictable behavior from utilities with locale-dependent output.
22516 LC_ALL=C
22517 export LC_ALL
22518 LANGUAGE=C
22519 export LANGUAGE
22521 # We cannot yet rely on "unset" to work, but we need these variables
22522 # to be unset--not just set to an empty or harmless value--now, to
22523 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22524 # also avoids known problems related to "unset" and subshell syntax
22525 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22526 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22527 do eval test \${$as_var+y} \
22528 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22529 done
22531 # Ensure that fds 0, 1, and 2 are open.
22532 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22533 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22534 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22536 # The user is always right.
22537 if ${PATH_SEPARATOR+false} :; then
22538 PATH_SEPARATOR=:
22539 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22540 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22541 PATH_SEPARATOR=';'
22546 # Find who we are. Look in the path if we contain no directory separator.
22547 as_myself=
22548 case $0 in #((
22549 *[\\/]* ) as_myself=$0 ;;
22550 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22551 for as_dir in $PATH
22553 IFS=$as_save_IFS
22554 case $as_dir in #(((
22555 '') as_dir=./ ;;
22556 */) ;;
22557 *) as_dir=$as_dir/ ;;
22558 esac
22559 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22560 done
22561 IFS=$as_save_IFS
22564 esac
22565 # We did not find ourselves, most probably we were run as `sh COMMAND'
22566 # in which case we are not to be found in the path.
22567 if test "x$as_myself" = x; then
22568 as_myself=$0
22570 if test ! -f "$as_myself"; then
22571 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22572 exit 1
22577 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22578 # ----------------------------------------
22579 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22580 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22581 # script with STATUS, using 1 if that was 0.
22582 as_fn_error ()
22584 as_status=$1; test $as_status -eq 0 && as_status=1
22585 if test "$4"; then
22586 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22589 printf "%s\n" "$as_me: error: $2" >&2
22590 as_fn_exit $as_status
22591 } # as_fn_error
22595 # as_fn_set_status STATUS
22596 # -----------------------
22597 # Set $? to STATUS, without forking.
22598 as_fn_set_status ()
22600 return $1
22601 } # as_fn_set_status
22603 # as_fn_exit STATUS
22604 # -----------------
22605 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22606 as_fn_exit ()
22608 set +e
22609 as_fn_set_status $1
22610 exit $1
22611 } # as_fn_exit
22613 # as_fn_unset VAR
22614 # ---------------
22615 # Portably unset VAR.
22616 as_fn_unset ()
22618 { eval $1=; unset $1;}
22620 as_unset=as_fn_unset
22622 # as_fn_append VAR VALUE
22623 # ----------------------
22624 # Append the text in VALUE to the end of the definition contained in VAR. Take
22625 # advantage of any shell optimizations that allow amortized linear growth over
22626 # repeated appends, instead of the typical quadratic growth present in naive
22627 # implementations.
22628 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22629 then :
22630 eval 'as_fn_append ()
22632 eval $1+=\$2
22634 else $as_nop
22635 as_fn_append ()
22637 eval $1=\$$1\$2
22639 fi # as_fn_append
22641 # as_fn_arith ARG...
22642 # ------------------
22643 # Perform arithmetic evaluation on the ARGs, and store the result in the
22644 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22645 # must be portable across $(()) and expr.
22646 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22647 then :
22648 eval 'as_fn_arith ()
22650 as_val=$(( $* ))
22652 else $as_nop
22653 as_fn_arith ()
22655 as_val=`expr "$@" || test $? -eq 1`
22657 fi # as_fn_arith
22660 if expr a : '\(a\)' >/dev/null 2>&1 &&
22661 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22662 as_expr=expr
22663 else
22664 as_expr=false
22667 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22668 as_basename=basename
22669 else
22670 as_basename=false
22673 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22674 as_dirname=dirname
22675 else
22676 as_dirname=false
22679 as_me=`$as_basename -- "$0" ||
22680 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22681 X"$0" : 'X\(//\)$' \| \
22682 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22683 printf "%s\n" X/"$0" |
22684 sed '/^.*\/\([^/][^/]*\)\/*$/{
22685 s//\1/
22688 /^X\/\(\/\/\)$/{
22689 s//\1/
22692 /^X\/\(\/\).*/{
22693 s//\1/
22696 s/.*/./; q'`
22698 # Avoid depending upon Character Ranges.
22699 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22700 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22701 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22702 as_cr_digits='0123456789'
22703 as_cr_alnum=$as_cr_Letters$as_cr_digits
22706 # Determine whether it's possible to make 'echo' print without a newline.
22707 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22708 # for compatibility with existing Makefiles.
22709 ECHO_C= ECHO_N= ECHO_T=
22710 case `echo -n x` in #(((((
22711 -n*)
22712 case `echo 'xy\c'` in
22713 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22714 xy) ECHO_C='\c';;
22715 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22716 ECHO_T=' ';;
22717 esac;;
22719 ECHO_N='-n';;
22720 esac
22722 # For backward compatibility with old third-party macros, we provide
22723 # the shell variables $as_echo and $as_echo_n. New code should use
22724 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22725 as_echo='printf %s\n'
22726 as_echo_n='printf %s'
22728 rm -f conf$$ conf$$.exe conf$$.file
22729 if test -d conf$$.dir; then
22730 rm -f conf$$.dir/conf$$.file
22731 else
22732 rm -f conf$$.dir
22733 mkdir conf$$.dir 2>/dev/null
22735 if (echo >conf$$.file) 2>/dev/null; then
22736 if ln -s conf$$.file conf$$ 2>/dev/null; then
22737 as_ln_s='ln -s'
22738 # ... but there are two gotchas:
22739 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22740 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22741 # In both cases, we have to default to `cp -pR'.
22742 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22743 as_ln_s='cp -pR'
22744 elif ln conf$$.file conf$$ 2>/dev/null; then
22745 as_ln_s=ln
22746 else
22747 as_ln_s='cp -pR'
22749 else
22750 as_ln_s='cp -pR'
22752 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22753 rmdir conf$$.dir 2>/dev/null
22756 # as_fn_mkdir_p
22757 # -------------
22758 # Create "$as_dir" as a directory, including parents if necessary.
22759 as_fn_mkdir_p ()
22762 case $as_dir in #(
22763 -*) as_dir=./$as_dir;;
22764 esac
22765 test -d "$as_dir" || eval $as_mkdir_p || {
22766 as_dirs=
22767 while :; do
22768 case $as_dir in #(
22769 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22770 *) as_qdir=$as_dir;;
22771 esac
22772 as_dirs="'$as_qdir' $as_dirs"
22773 as_dir=`$as_dirname -- "$as_dir" ||
22774 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22775 X"$as_dir" : 'X\(//\)[^/]' \| \
22776 X"$as_dir" : 'X\(//\)$' \| \
22777 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22778 printf "%s\n" X"$as_dir" |
22779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22780 s//\1/
22783 /^X\(\/\/\)[^/].*/{
22784 s//\1/
22787 /^X\(\/\/\)$/{
22788 s//\1/
22791 /^X\(\/\).*/{
22792 s//\1/
22795 s/.*/./; q'`
22796 test -d "$as_dir" && break
22797 done
22798 test -z "$as_dirs" || eval "mkdir $as_dirs"
22799 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22802 } # as_fn_mkdir_p
22803 if mkdir -p . 2>/dev/null; then
22804 as_mkdir_p='mkdir -p "$as_dir"'
22805 else
22806 test -d ./-p && rmdir ./-p
22807 as_mkdir_p=false
22811 # as_fn_executable_p FILE
22812 # -----------------------
22813 # Test if FILE is an executable regular file.
22814 as_fn_executable_p ()
22816 test -f "$1" && test -x "$1"
22817 } # as_fn_executable_p
22818 as_test_x='test -x'
22819 as_executable_p=as_fn_executable_p
22821 # Sed expression to map a string onto a valid CPP name.
22822 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22824 # Sed expression to map a string onto a valid variable name.
22825 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22828 exec 6>&1
22829 ## ----------------------------------- ##
22830 ## Main body of $CONFIG_STATUS script. ##
22831 ## ----------------------------------- ##
22832 _ASEOF
22833 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22836 # Save the log message, to keep $0 and so on meaningful, and to
22837 # report actual input values of CONFIG_FILES etc. instead of their
22838 # values after options handling.
22839 ac_log="
22840 This file was extended by Wine $as_me 6.21, which was
22841 generated by GNU Autoconf 2.71. Invocation command line was
22843 CONFIG_FILES = $CONFIG_FILES
22844 CONFIG_HEADERS = $CONFIG_HEADERS
22845 CONFIG_LINKS = $CONFIG_LINKS
22846 CONFIG_COMMANDS = $CONFIG_COMMANDS
22847 $ $0 $@
22849 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22852 _ACEOF
22855 case $ac_config_headers in *"
22856 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22857 esac
22860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22861 # Files that config.status was made for.
22862 config_headers="$ac_config_headers"
22863 config_links="$ac_config_links"
22864 config_commands="$ac_config_commands"
22866 _ACEOF
22868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22869 ac_cs_usage="\
22870 \`$as_me' instantiates files and other configuration actions
22871 from templates according to the current configuration. Unless the files
22872 and actions are specified as TAGs, all are instantiated by default.
22874 Usage: $0 [OPTION]... [TAG]...
22876 -h, --help print this help, then exit
22877 -V, --version print version number and configuration settings, then exit
22878 --config print configuration, then exit
22879 -q, --quiet, --silent
22880 do not print progress messages
22881 -d, --debug don't remove temporary files
22882 --recheck update $as_me by reconfiguring in the same conditions
22883 --header=FILE[:TEMPLATE]
22884 instantiate the configuration header FILE
22886 Configuration headers:
22887 $config_headers
22889 Configuration links:
22890 $config_links
22892 Configuration commands:
22893 $config_commands
22895 Report bugs to <wine-devel@winehq.org>.
22896 Wine home page: <https://www.winehq.org>."
22898 _ACEOF
22899 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22900 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22902 ac_cs_config='$ac_cs_config_escaped'
22903 ac_cs_version="\\
22904 Wine config.status 6.21
22905 configured by $0, generated by GNU Autoconf 2.71,
22906 with options \\"\$ac_cs_config\\"
22908 Copyright (C) 2021 Free Software Foundation, Inc.
22909 This config.status script is free software; the Free Software Foundation
22910 gives unlimited permission to copy, distribute and modify it."
22912 ac_pwd='$ac_pwd'
22913 srcdir='$srcdir'
22914 test -n "\$AWK" || AWK=awk
22915 _ACEOF
22917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22918 # The default lists apply if the user does not specify any file.
22919 ac_need_defaults=:
22920 while test $# != 0
22922 case $1 in
22923 --*=?*)
22924 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22925 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22926 ac_shift=:
22928 --*=)
22929 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22930 ac_optarg=
22931 ac_shift=:
22934 ac_option=$1
22935 ac_optarg=$2
22936 ac_shift=shift
22938 esac
22940 case $ac_option in
22941 # Handling of the options.
22942 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22943 ac_cs_recheck=: ;;
22944 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22945 printf "%s\n" "$ac_cs_version"; exit ;;
22946 --config | --confi | --conf | --con | --co | --c )
22947 printf "%s\n" "$ac_cs_config"; exit ;;
22948 --debug | --debu | --deb | --de | --d | -d )
22949 debug=: ;;
22950 --header | --heade | --head | --hea )
22951 $ac_shift
22952 case $ac_optarg in
22953 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22954 esac
22955 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22956 ac_need_defaults=false;;
22957 --he | --h)
22958 # Conflict between --help and --header
22959 as_fn_error $? "ambiguous option: \`$1'
22960 Try \`$0 --help' for more information.";;
22961 --help | --hel | -h )
22962 printf "%s\n" "$ac_cs_usage"; exit ;;
22963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22964 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22965 ac_cs_silent=: ;;
22967 # This is an error.
22968 -*) as_fn_error $? "unrecognized option: \`$1'
22969 Try \`$0 --help' for more information." ;;
22971 *) as_fn_append ac_config_targets " $1"
22972 ac_need_defaults=false ;;
22974 esac
22975 shift
22976 done
22978 ac_configure_extra_args=
22980 if $ac_cs_silent; then
22981 exec 6>/dev/null
22982 ac_configure_extra_args="$ac_configure_extra_args --silent"
22985 _ACEOF
22986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22987 if \$ac_cs_recheck; then
22988 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22989 shift
22990 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22991 CONFIG_SHELL='$SHELL'
22992 export CONFIG_SHELL
22993 exec "\$@"
22996 _ACEOF
22997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22998 exec 5>>config.log
23000 echo
23001 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23002 ## Running $as_me. ##
23003 _ASBOX
23004 printf "%s\n" "$ac_log"
23005 } >&5
23007 _ACEOF
23008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23010 # INIT-COMMANDS
23012 wine_fn_output_makedep ()
23014 as_dir=tools; as_fn_mkdir_p
23015 $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
23017 wine_fn_output_makefile ()
23019 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23020 # This Makefile understands the following targets:
23022 # all (default): build wine
23023 # clean: remove all intermediate files
23024 # distclean: also remove all files created by configure
23025 # test: run tests
23026 # testclean: clean test results to force running all tests again
23027 # install-lib: install libraries needed to run applications
23028 # install-dev: install development environment
23029 # install: install everything
23030 # uninstall: uninstall everything
23031 # ctags: create a tags file for vim and others.
23032 # etags: create a TAGS file for Emacs.
23033 # manpages: compile manpages for Wine API
23034 # htmlpages: compile html pages for Wine API
23035 # sgmlpages: compile sgml source for the Wine API Guide
23036 # xmlpages: compile xml source for the Wine API Guide
23038 SHELL = $SHELL
23039 PATH_SEPARATOR = $PATH_SEPARATOR
23040 PACKAGE_NAME = $PACKAGE_NAME
23041 PACKAGE_TARNAME = $PACKAGE_TARNAME
23042 PACKAGE_VERSION = $PACKAGE_VERSION
23043 PACKAGE_STRING = $PACKAGE_STRING
23044 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23045 PACKAGE_URL = $PACKAGE_URL
23046 exec_prefix = $exec_prefix
23047 prefix = $prefix
23048 program_transform_name = $program_transform_name
23049 bindir = $bindir
23050 sbindir = $sbindir
23051 libexecdir = $libexecdir
23052 datarootdir = $datarootdir
23053 datadir = $datadir
23054 sysconfdir = $sysconfdir
23055 sharedstatedir = $sharedstatedir
23056 localstatedir = $localstatedir
23057 runstatedir = $runstatedir
23058 includedir = $includedir
23059 oldincludedir = $oldincludedir
23060 docdir = $docdir
23061 infodir = $infodir
23062 htmldir = $htmldir
23063 dvidir = $dvidir
23064 pdfdir = $pdfdir
23065 psdir = $psdir
23066 libdir = $libdir
23067 localedir = $localedir
23068 mandir = $mandir
23069 DEFS = $DEFS
23070 ECHO_C = $ECHO_C
23071 ECHO_N = $ECHO_N
23072 ECHO_T = $ECHO_T
23073 LIBS = $LIBS
23074 build_alias = $build_alias
23075 host_alias = $host_alias
23076 target_alias = $target_alias
23077 build = $build
23078 build_cpu = $build_cpu
23079 build_vendor = $build_vendor
23080 build_os = $build_os
23081 host = $host
23082 host_cpu = $host_cpu
23083 host_vendor = $host_vendor
23084 host_os = $host_os
23085 dlldir = $dlldir
23086 fontdir = $fontdir
23087 nlsdir = $nlsdir
23088 srcdir = $srcdir
23089 SET_MAKE = $SET_MAKE
23090 CC = $CC
23091 CFLAGS = $CFLAGS
23092 LDFLAGS = $LDFLAGS
23093 CPPFLAGS = $CPPFLAGS
23094 ac_ct_CC = $ac_ct_CC
23095 EXEEXT = $EXEEXT
23096 OBJEXT = $OBJEXT
23097 CXX = $CXX
23098 CXXFLAGS = $CXXFLAGS
23099 ac_ct_CXX = $ac_ct_CXX
23100 CPPBIN = $CPPBIN
23101 LD = $LD
23102 TARGETFLAGS = $TARGETFLAGS
23103 toolsext = $toolsext
23104 toolsdir = $toolsdir
23105 MAKEDEP = $MAKEDEP
23106 RUNTESTFLAGS = $RUNTESTFLAGS
23107 SED_CMD = $SED_CMD
23108 api_manext = $api_manext
23109 FLEX = $FLEX
23110 BISON = $BISON
23111 AR = $AR
23112 ac_ct_AR = $ac_ct_AR
23113 STRIP = $STRIP
23114 RANLIB = $RANLIB
23115 LN_S = $LN_S
23116 GREP = $GREP
23117 EGREP = $EGREP
23118 LDCONFIG = $LDCONFIG
23119 MSGFMT = $MSGFMT
23120 PKG_CONFIG = $PKG_CONFIG
23121 FONTFORGE = $FONTFORGE
23122 RSVG = $RSVG
23123 CONVERT = $CONVERT
23124 ICOTOOL = $ICOTOOL
23125 I386_LIBS = $I386_LIBS
23126 OPENGL_LIBS = $OPENGL_LIBS
23127 DLLFLAGS = $DLLFLAGS
23128 LDDLLFLAGS = $LDDLLFLAGS
23129 LDEXECFLAGS = $LDEXECFLAGS
23130 EXTRACFLAGS = $EXTRACFLAGS
23131 UNIXDLLFLAGS = $UNIXDLLFLAGS
23132 UNIXLDFLAGS = $UNIXLDFLAGS
23133 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23134 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23135 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23136 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23137 LDD = $LDD
23138 OTOOL = $OTOOL
23139 READELF = $READELF
23140 SUBDIRS = $SUBDIRS
23141 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23142 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23143 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23144 DLLTOOL = $DLLTOOL
23145 OBJC = $OBJC
23146 OBJCFLAGS = $OBJCFLAGS
23147 ac_ct_OBJC = $ac_ct_OBJC
23148 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23149 IOKIT_LIBS = $IOKIT_LIBS
23150 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23151 CORESERVICES_LIBS = $CORESERVICES_LIBS
23152 APPKIT_LIBS = $APPKIT_LIBS
23153 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23154 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23155 SECURITY_LIBS = $SECURITY_LIBS
23156 COREAUDIO_LIBS = $COREAUDIO_LIBS
23157 OPENAL_LIBS = $OPENAL_LIBS
23158 OPENCL_LIBS = $OPENCL_LIBS
23159 QUICKTIME_LIBS = $QUICKTIME_LIBS
23160 CARBON_LIBS = $CARBON_LIBS
23161 METAL_LIBS = $METAL_LIBS
23162 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23163 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23164 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23165 PRELINK = $PRELINK
23166 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23167 CROSSTARGET = $CROSSTARGET
23168 CROSSCC = $CROSSCC
23169 CROSSCFLAGS = $CROSSCFLAGS
23170 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23171 CROSSLDFLAGS = $CROSSLDFLAGS
23172 DELAYLOADFLAG = $DELAYLOADFLAG
23173 CROSSDEBUG = $CROSSDEBUG
23174 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23175 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23176 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23177 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23178 GSM_PE_LIBS = $GSM_PE_LIBS
23179 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23180 JPEG_PE_LIBS = $JPEG_PE_LIBS
23181 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23182 JXR_PE_LIBS = $JXR_PE_LIBS
23183 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23184 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23185 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23186 MPG123_PE_LIBS = $MPG123_PE_LIBS
23187 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23188 PNG_PE_LIBS = $PNG_PE_LIBS
23189 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23190 TIFF_PE_LIBS = $TIFF_PE_LIBS
23191 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23192 XML2_PE_LIBS = $XML2_PE_LIBS
23193 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23194 XSLT_PE_LIBS = $XSLT_PE_LIBS
23195 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23196 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23197 PTHREAD_LIBS = $PTHREAD_LIBS
23198 XMKMF = $XMKMF
23199 CPP = $CPP
23200 X_CFLAGS = $X_CFLAGS
23201 X_PRE_LIBS = $X_PRE_LIBS
23202 X_LIBS = $X_LIBS
23203 X_EXTRA_LIBS = $X_EXTRA_LIBS
23204 PCAP_LIBS = $PCAP_LIBS
23205 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23206 INOTIFY_LIBS = $INOTIFY_LIBS
23207 DBUS_CFLAGS = $DBUS_CFLAGS
23208 DBUS_LIBS = $DBUS_LIBS
23209 HAL_CFLAGS = $HAL_CFLAGS
23210 HAL_LIBS = $HAL_LIBS
23211 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23212 GNUTLS_LIBS = $GNUTLS_LIBS
23213 SANE_CFLAGS = $SANE_CFLAGS
23214 SANE_LIBS = $SANE_LIBS
23215 USB_CFLAGS = $USB_CFLAGS
23216 USB_LIBS = $USB_LIBS
23217 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23218 GPHOTO2_LIBS = $GPHOTO2_LIBS
23219 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23220 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23221 RESOLV_LIBS = $RESOLV_LIBS
23222 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23223 FREETYPE_LIBS = $FREETYPE_LIBS
23224 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23225 PULSE_CFLAGS = $PULSE_CFLAGS
23226 PULSE_LIBS = $PULSE_LIBS
23227 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23228 GSTREAMER_LIBS = $GSTREAMER_LIBS
23229 ALSA_LIBS = $ALSA_LIBS
23230 OSS4_CFLAGS = $OSS4_CFLAGS
23231 OSS4_LIBS = $OSS4_LIBS
23232 UDEV_CFLAGS = $UDEV_CFLAGS
23233 UDEV_LIBS = $UDEV_LIBS
23234 UNWIND_CFLAGS = $UNWIND_CFLAGS
23235 UNWIND_LIBS = $UNWIND_LIBS
23236 SDL2_CFLAGS = $SDL2_CFLAGS
23237 SDL2_LIBS = $SDL2_LIBS
23238 CAPI20_CFLAGS = $CAPI20_CFLAGS
23239 CAPI20_LIBS = $CAPI20_LIBS
23240 CUPS_CFLAGS = $CUPS_CFLAGS
23241 CUPS_LIBS = $CUPS_LIBS
23242 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23243 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23244 KRB5_CFLAGS = $KRB5_CFLAGS
23245 KRB5_LIBS = $KRB5_LIBS
23246 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23247 GSSAPI_LIBS = $GSSAPI_LIBS
23248 PROCSTAT_LIBS = $PROCSTAT_LIBS
23249 NETAPI_CFLAGS = $NETAPI_CFLAGS
23250 NETAPI_LIBS = $NETAPI_LIBS
23251 VKD3D_CFLAGS = $VKD3D_CFLAGS
23252 VKD3D_LIBS = $VKD3D_LIBS
23253 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
23254 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
23255 MSVCRTFLAGS = $MSVCRTFLAGS
23256 RT_LIBS = $RT_LIBS
23257 LDAP_CFLAGS = $LDAP_CFLAGS
23258 LDAP_LIBS = $LDAP_LIBS
23259 TAGSFLAGS = $TAGSFLAGS
23260 LIBOBJS = $LIBOBJS
23261 LTLIBOBJS = $LTLIBOBJS
23262 $SET_MAKE
23263 $wine_rules
23264 _WINE_EOF
23265 as_fn_error $? "could not create Makefile" "$LINENO" 5
23268 _ACEOF
23270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23272 # Handling of arguments.
23273 for ac_config_target in $ac_config_targets
23275 case $ac_config_target in
23276 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23277 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23278 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23279 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23280 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23281 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23283 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23284 esac
23285 done
23288 # If the user did not use the arguments to specify the items to instantiate,
23289 # then the envvar interface is used. Set only those that are not.
23290 # We use the long form for the default assignment because of an extremely
23291 # bizarre bug on SunOS 4.1.3.
23292 if $ac_need_defaults; then
23293 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23294 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23295 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23298 # Have a temporary directory for convenience. Make it in the build tree
23299 # simply because there is no reason against having it here, and in addition,
23300 # creating and moving files from /tmp can sometimes cause problems.
23301 # Hook for its removal unless debugging.
23302 # Note that there is a small window in which the directory will not be cleaned:
23303 # after its creation but before its name has been assigned to `$tmp'.
23304 $debug ||
23306 tmp= ac_tmp=
23307 trap 'exit_status=$?
23308 : "${ac_tmp:=$tmp}"
23309 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23311 trap 'as_fn_exit 1' 1 2 13 15
23313 # Create a (secure) tmp directory for tmp files.
23316 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23317 test -d "$tmp"
23318 } ||
23320 tmp=./conf$$-$RANDOM
23321 (umask 077 && mkdir "$tmp")
23322 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23323 ac_tmp=$tmp
23325 # Set up the scripts for CONFIG_HEADERS section.
23326 # No need to generate them if there are no CONFIG_HEADERS.
23327 # This happens for instance with `./config.status Makefile'.
23328 if test -n "$CONFIG_HEADERS"; then
23329 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23330 BEGIN {
23331 _ACEOF
23333 # Transform confdefs.h into an awk script `defines.awk', embedded as
23334 # here-document in config.status, that substitutes the proper values into
23335 # config.h.in to produce config.h.
23337 # Create a delimiter string that does not exist in confdefs.h, to ease
23338 # handling of long lines.
23339 ac_delim='%!_!# '
23340 for ac_last_try in false false :; do
23341 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23342 if test -z "$ac_tt"; then
23343 break
23344 elif $ac_last_try; then
23345 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23346 else
23347 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23349 done
23351 # For the awk script, D is an array of macro values keyed by name,
23352 # likewise P contains macro parameters if any. Preserve backslash
23353 # newline sequences.
23355 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23356 sed -n '
23357 s/.\{148\}/&'"$ac_delim"'/g
23358 t rset
23359 :rset
23360 s/^[ ]*#[ ]*define[ ][ ]*/ /
23361 t def
23363 :def
23364 s/\\$//
23365 t bsnl
23366 s/["\\]/\\&/g
23367 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23368 D["\1"]=" \3"/p
23369 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23371 :bsnl
23372 s/["\\]/\\&/g
23373 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23374 D["\1"]=" \3\\\\\\n"\\/p
23375 t cont
23376 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23377 t cont
23379 :cont
23381 s/.\{148\}/&'"$ac_delim"'/g
23382 t clear
23383 :clear
23384 s/\\$//
23385 t bsnlc
23386 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23388 :bsnlc
23389 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23390 b cont
23391 ' <confdefs.h | sed '
23392 s/'"$ac_delim"'/"\\\
23393 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23396 for (key in D) D_is_set[key] = 1
23397 FS = "\a"
23399 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23400 line = \$ 0
23401 split(line, arg, " ")
23402 if (arg[1] == "#") {
23403 defundef = arg[2]
23404 mac1 = arg[3]
23405 } else {
23406 defundef = substr(arg[1], 2)
23407 mac1 = arg[2]
23409 split(mac1, mac2, "(") #)
23410 macro = mac2[1]
23411 prefix = substr(line, 1, index(line, defundef) - 1)
23412 if (D_is_set[macro]) {
23413 # Preserve the white space surrounding the "#".
23414 print prefix "define", macro P[macro] D[macro]
23415 next
23416 } else {
23417 # Replace #undef with comments. This is necessary, for example,
23418 # in the case of _POSIX_SOURCE, which is predefined and required
23419 # on some systems where configure will not decide to define it.
23420 if (defundef == "undef") {
23421 print "/*", prefix defundef, macro, "*/"
23422 next
23426 { print }
23427 _ACAWK
23428 _ACEOF
23429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23430 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23431 fi # test -n "$CONFIG_HEADERS"
23434 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23435 shift
23436 for ac_tag
23438 case $ac_tag in
23439 :[FHLC]) ac_mode=$ac_tag; continue;;
23440 esac
23441 case $ac_mode$ac_tag in
23442 :[FHL]*:*);;
23443 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23444 :[FH]-) ac_tag=-:-;;
23445 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23446 esac
23447 ac_save_IFS=$IFS
23448 IFS=:
23449 set x $ac_tag
23450 IFS=$ac_save_IFS
23451 shift
23452 ac_file=$1
23453 shift
23455 case $ac_mode in
23456 :L) ac_source=$1;;
23457 :[FH])
23458 ac_file_inputs=
23459 for ac_f
23461 case $ac_f in
23462 -) ac_f="$ac_tmp/stdin";;
23463 *) # Look for the file first in the build tree, then in the source tree
23464 # (if the path is not absolute). The absolute path cannot be DOS-style,
23465 # because $ac_f cannot contain `:'.
23466 test -f "$ac_f" ||
23467 case $ac_f in
23468 [\\/$]*) false;;
23469 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23470 esac ||
23471 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23472 esac
23473 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23474 as_fn_append ac_file_inputs " '$ac_f'"
23475 done
23477 # Let's still pretend it is `configure' which instantiates (i.e., don't
23478 # use $as_me), people would be surprised to read:
23479 # /* config.h. Generated by config.status. */
23480 configure_input='Generated from '`
23481 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23482 `' by configure.'
23483 if test x"$ac_file" != x-; then
23484 configure_input="$ac_file. $configure_input"
23485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23486 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23488 # Neutralize special characters interpreted by sed in replacement strings.
23489 case $configure_input in #(
23490 *\&* | *\|* | *\\* )
23491 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23492 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23493 *) ac_sed_conf_input=$configure_input;;
23494 esac
23496 case $ac_tag in
23497 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23498 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23499 esac
23501 esac
23503 ac_dir=`$as_dirname -- "$ac_file" ||
23504 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23505 X"$ac_file" : 'X\(//\)[^/]' \| \
23506 X"$ac_file" : 'X\(//\)$' \| \
23507 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23508 printf "%s\n" X"$ac_file" |
23509 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23510 s//\1/
23513 /^X\(\/\/\)[^/].*/{
23514 s//\1/
23517 /^X\(\/\/\)$/{
23518 s//\1/
23521 /^X\(\/\).*/{
23522 s//\1/
23525 s/.*/./; q'`
23526 as_dir="$ac_dir"; as_fn_mkdir_p
23527 ac_builddir=.
23529 case "$ac_dir" in
23530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23532 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23533 # A ".." for each directory in $ac_dir_suffix.
23534 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23535 case $ac_top_builddir_sub in
23536 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23537 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23538 esac ;;
23539 esac
23540 ac_abs_top_builddir=$ac_pwd
23541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23542 # for backward compatibility:
23543 ac_top_builddir=$ac_top_build_prefix
23545 case $srcdir in
23546 .) # We are building in place.
23547 ac_srcdir=.
23548 ac_top_srcdir=$ac_top_builddir_sub
23549 ac_abs_top_srcdir=$ac_pwd ;;
23550 [\\/]* | ?:[\\/]* ) # Absolute name.
23551 ac_srcdir=$srcdir$ac_dir_suffix;
23552 ac_top_srcdir=$srcdir
23553 ac_abs_top_srcdir=$srcdir ;;
23554 *) # Relative name.
23555 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23556 ac_top_srcdir=$ac_top_build_prefix$srcdir
23557 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23558 esac
23559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23562 case $ac_mode in
23566 # CONFIG_HEADER
23568 if test x"$ac_file" != x-; then
23570 printf "%s\n" "/* $configure_input */" >&1 \
23571 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23572 } >"$ac_tmp/config.h" \
23573 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23574 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23576 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23577 else
23578 rm -f "$ac_file"
23579 mv "$ac_tmp/config.h" "$ac_file" \
23580 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23582 else
23583 printf "%s\n" "/* $configure_input */" >&1 \
23584 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23585 || as_fn_error $? "could not create -" "$LINENO" 5
23590 # CONFIG_LINK
23593 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23595 else
23596 # Prefer the file from the source tree if names are identical.
23597 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23598 ac_source=$srcdir/$ac_source
23601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23602 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23604 if test ! -r "$ac_source"; then
23605 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23607 rm -f "$ac_file"
23609 # Try a relative symlink, then a hard link, then a copy.
23610 case $ac_source in
23611 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23612 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23613 esac
23614 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23615 ln "$ac_source" "$ac_file" 2>/dev/null ||
23616 cp -p "$ac_source" "$ac_file" ||
23617 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23620 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23621 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23623 esac
23626 case $ac_file$ac_mode in
23627 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23628 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23629 "Makefile":C) wine_fn_output_makefile Makefile ;;
23631 esac
23632 done # for ac_tag
23635 as_fn_exit 0
23636 _ACEOF
23637 ac_clean_files=$ac_clean_files_save
23639 test $ac_write_fail = 0 ||
23640 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23643 # configure is writing to config.log, and then calls config.status.
23644 # config.status does its own redirection, appending to config.log.
23645 # Unfortunately, on DOS this fails, as config.log is still kept open
23646 # by configure, so config.status won't be able to write to it; its
23647 # output is simply discarded. So we exec the FD to /dev/null,
23648 # effectively closing config.log, so it can be properly (re)opened and
23649 # appended to by config.status. When coming back to configure, we
23650 # need to make the FD available again.
23651 if test "$no_create" != yes; then
23652 ac_cs_success=:
23653 ac_config_status_args=
23654 test "$silent" = yes &&
23655 ac_config_status_args="$ac_config_status_args --quiet"
23656 exec 5>/dev/null
23657 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23658 exec 5>>config.log
23659 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23660 # would make configure fail if this is the last instruction.
23661 $ac_cs_success || as_fn_exit 1
23663 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23665 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23669 if test "$no_create" = "yes"
23670 then
23671 exit 0
23674 ac_save_IFS="$IFS"
23675 if test "x$wine_notices" != x; then
23676 echo >&6
23677 IFS="|"
23678 for msg in $wine_notices; do
23679 IFS="$ac_save_IFS"
23680 if ${msg:+false} :
23681 then :
23683 else $as_nop
23684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23685 printf "%s\n" "$as_me: $msg" >&6;}
23687 done
23689 IFS="|"
23690 for msg in $wine_warnings; do
23691 IFS="$ac_save_IFS"
23692 if ${msg:+false} :
23693 then :
23695 else $as_nop
23696 echo >&2
23697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23698 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23700 done
23701 IFS="$ac_save_IFS"
23703 printf "%s\n" "
23704 $as_me: Finished. Do '${ac_make}' to compile Wine.
23705 " >&6