win32u: Don't report cloned monitors in EnumDisplayMonitors().
[wine.git] / configure
blob4b679394357a57e2cb7f44955416fb76315980d4
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.11.
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='7.11'
615 PACKAGE_STRING='Wine 7.11'
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 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCAP_LIBS
704 X_EXTRA_LIBS
705 X_LIBS
706 X_PRE_LIBS
707 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 ZLIB_PE_LIBS
712 ZLIB_PE_CFLAGS
713 XSLT_PE_LIBS
714 XSLT_PE_CFLAGS
715 XML2_PE_LIBS
716 XML2_PE_CFLAGS
717 VKD3D_PE_LIBS
718 VKD3D_PE_CFLAGS
719 TIFF_PE_LIBS
720 TIFF_PE_CFLAGS
721 PNG_PE_LIBS
722 PNG_PE_CFLAGS
723 MPG123_PE_LIBS
724 MPG123_PE_CFLAGS
725 LCMS2_PE_LIBS
726 LCMS2_PE_CFLAGS
727 JXR_PE_LIBS
728 JXR_PE_CFLAGS
729 JPEG_PE_LIBS
730 JPEG_PE_CFLAGS
731 GSM_PE_LIBS
732 GSM_PE_CFLAGS
733 FAUDIO_PE_LIBS
734 FAUDIO_PE_CFLAGS
735 MINGW_PKG_CONFIG
736 EXCESS_PRECISION_CFLAGS
737 CROSSDEBUG
738 DELAYLOADFLAG
739 CROSSLDFLAGS
740 EXTRACROSSCFLAGS
741 CROSSCFLAGS
742 CROSSCC
743 CROSSTARGET
744 LIBWINE_DEPENDS
745 PRELINK
746 WINELOADER_DEPENDS
747 LIBWINE_LDFLAGS
748 LIBWINE_SHAREDLIB
749 METAL_LIBS
750 CARBON_LIBS
751 OPENCL_LIBS
752 OPENAL_LIBS
753 COREAUDIO_LIBS
754 SECURITY_LIBS
755 DISKARBITRATION_LIBS
756 SYSTEMCONFIGURATION_LIBS
757 APPKIT_LIBS
758 CORESERVICES_LIBS
759 APPLICATIONSERVICES_LIBS
760 IOKIT_LIBS
761 COREFOUNDATION_LIBS
762 ac_ct_OBJC
763 OBJCFLAGS
764 OBJC
765 DLLTOOL
766 WINELOADER_PROGRAMS
767 CONFIGURE_TARGETS
768 DISABLED_SUBDIRS
769 SUBDIRS
770 READELF
771 OTOOL
773 WINEPRELOADER_LDFLAGS
774 WINELOADER_LDFLAGS
775 TOP_INSTALL_DEV
776 TOP_INSTALL_LIB
777 UNIXLDFLAGS
778 UNIXDLLFLAGS
779 EXTRACFLAGS
780 LDEXECFLAGS
781 LDDLLFLAGS
782 DLLFLAGS
783 OPENGL_LIBS
784 I386_LIBS
785 ICOTOOL
786 CONVERT
787 RSVG
788 FONTFORGE
789 PKG_CONFIG
790 MSGFMT
791 LDCONFIG
792 EGREP
793 GREP
794 LN_S
795 RANLIB
796 STRIP
797 ac_ct_AR
799 BISON
800 FLEX
801 SED_CMD
802 RUNTESTFLAGS
803 MAKEDEP
804 toolsdir
805 toolsext
806 TARGETFLAGS
808 CPPBIN
809 ac_ct_CXX
810 CXXFLAGS
812 OBJEXT
813 EXEEXT
814 ac_ct_CC
815 CPPFLAGS
816 LDFLAGS
817 CFLAGS
819 SET_MAKE
820 srcdir
821 nlsdir
822 fontdir
823 dlldir
824 host_os
825 host_vendor
826 host_cpu
827 host
828 build_os
829 build_vendor
830 build_cpu
831 build
832 system_dllpath
833 target_alias
834 host_alias
835 build_alias
836 LIBS
837 ECHO_T
838 ECHO_N
839 ECHO_C
840 DEFS
841 mandir
842 localedir
843 libdir
844 psdir
845 pdfdir
846 dvidir
847 htmldir
848 infodir
849 docdir
850 oldincludedir
851 includedir
852 runstatedir
853 localstatedir
854 sharedstatedir
855 sysconfdir
856 datadir
857 datarootdir
858 libexecdir
859 sbindir
860 bindir
861 program_transform_name
862 prefix
863 exec_prefix
864 PACKAGE_URL
865 PACKAGE_BUGREPORT
866 PACKAGE_STRING
867 PACKAGE_VERSION
868 PACKAGE_TARNAME
869 PACKAGE_NAME
870 PATH_SEPARATOR
871 SHELL'
872 ac_subst_files=''
873 ac_user_opts='
874 enable_option_checking
875 enable_win16
876 enable_win64
877 enable_tests
878 enable_build_id
879 enable_maintainer_mode
880 enable_silent_rules
881 enable_werror
882 with_alsa
883 with_capi
884 with_coreaudio
885 with_cups
886 with_dbus
887 with_float_abi
888 with_fontconfig
889 with_freetype
890 with_gettext
891 with_gettextpo
892 with_gphoto
893 with_gnutls
894 with_gssapi
895 with_gstreamer
896 with_inotify
897 with_krb5
898 with_ldap
899 with_mingw
900 with_netapi
901 with_openal
902 with_opencl
903 with_opengl
904 with_osmesa
905 with_oss
906 with_pcap
907 with_pthread
908 with_pulse
909 with_sane
910 with_sdl
911 with_udev
912 with_unwind
913 with_usb
914 with_v4l2
915 with_vulkan
916 with_xcomposite
917 with_xcursor
918 with_xfixes
919 with_xinerama
920 with_xinput
921 with_xinput2
922 with_xrandr
923 with_xrender
924 with_xshape
925 with_xshm
926 with_xxf86vm
927 with_system_dllpath
928 with_wine_tools
929 with_wine64
930 enable_largefile
931 with_x
932 enable_acledit
933 enable_aclui
934 enable_activeds_tlb
935 enable_activeds
936 enable_actxprxy
937 enable_adsldp
938 enable_adsldpc
939 enable_advapi32
940 enable_advpack
941 enable_amsi
942 enable_amstream
943 enable_apisetschema
944 enable_apphelp
945 enable_appwiz_cpl
946 enable_atl
947 enable_atl100
948 enable_atl110
949 enable_atl80
950 enable_atl90
951 enable_atlthunk
952 enable_atmlib
953 enable_authz
954 enable_avicap32
955 enable_avifil32
956 enable_avrt
957 enable_bcrypt
958 enable_bluetoothapis
959 enable_browseui
960 enable_bthprops_cpl
961 enable_cabinet
962 enable_capi2032
963 enable_cards
964 enable_cdosys
965 enable_cfgmgr32
966 enable_clusapi
967 enable_cng_sys
968 enable_combase
969 enable_comcat
970 enable_comctl32
971 enable_comdlg32
972 enable_compstui
973 enable_comsvcs
974 enable_concrt140
975 enable_connect
976 enable_credui
977 enable_crtdll
978 enable_crypt32
979 enable_cryptdlg
980 enable_cryptdll
981 enable_cryptext
982 enable_cryptnet
983 enable_cryptsp
984 enable_cryptui
985 enable_ctapi32
986 enable_ctl3d32
987 enable_d2d1
988 enable_d3d10
989 enable_d3d10_1
990 enable_d3d10core
991 enable_d3d11
992 enable_d3d12
993 enable_d3d8
994 enable_d3d8thk
995 enable_d3d9
996 enable_d3dcompiler_33
997 enable_d3dcompiler_34
998 enable_d3dcompiler_35
999 enable_d3dcompiler_36
1000 enable_d3dcompiler_37
1001 enable_d3dcompiler_38
1002 enable_d3dcompiler_39
1003 enable_d3dcompiler_40
1004 enable_d3dcompiler_41
1005 enable_d3dcompiler_42
1006 enable_d3dcompiler_43
1007 enable_d3dcompiler_46
1008 enable_d3dcompiler_47
1009 enable_d3dim
1010 enable_d3dim700
1011 enable_d3drm
1012 enable_d3dx10_33
1013 enable_d3dx10_34
1014 enable_d3dx10_35
1015 enable_d3dx10_36
1016 enable_d3dx10_37
1017 enable_d3dx10_38
1018 enable_d3dx10_39
1019 enable_d3dx10_40
1020 enable_d3dx10_41
1021 enable_d3dx10_42
1022 enable_d3dx10_43
1023 enable_d3dx11_42
1024 enable_d3dx11_43
1025 enable_d3dx9_24
1026 enable_d3dx9_25
1027 enable_d3dx9_26
1028 enable_d3dx9_27
1029 enable_d3dx9_28
1030 enable_d3dx9_29
1031 enable_d3dx9_30
1032 enable_d3dx9_31
1033 enable_d3dx9_32
1034 enable_d3dx9_33
1035 enable_d3dx9_34
1036 enable_d3dx9_35
1037 enable_d3dx9_36
1038 enable_d3dx9_37
1039 enable_d3dx9_38
1040 enable_d3dx9_39
1041 enable_d3dx9_40
1042 enable_d3dx9_41
1043 enable_d3dx9_42
1044 enable_d3dx9_43
1045 enable_d3dxof
1046 enable_davclnt
1047 enable_dbgeng
1048 enable_dbghelp
1049 enable_dciman32
1050 enable_dcomp
1051 enable_ddraw
1052 enable_ddrawex
1053 enable_devenum
1054 enable_dhcpcsvc
1055 enable_dhcpcsvc6
1056 enable_dhtmled_ocx
1057 enable_diasymreader
1058 enable_difxapi
1059 enable_dinput
1060 enable_dinput8
1061 enable_directmanipulation
1062 enable_dispex
1063 enable_dmband
1064 enable_dmcompos
1065 enable_dmime
1066 enable_dmloader
1067 enable_dmscript
1068 enable_dmstyle
1069 enable_dmsynth
1070 enable_dmusic
1071 enable_dmusic32
1072 enable_dnsapi
1073 enable_dplay
1074 enable_dplayx
1075 enable_dpnaddr
1076 enable_dpnet
1077 enable_dpnhpast
1078 enable_dpnhupnp
1079 enable_dpnlobby
1080 enable_dpvoice
1081 enable_dpwsockx
1082 enable_drmclien
1083 enable_dsdmo
1084 enable_dsound
1085 enable_dsquery
1086 enable_dssenh
1087 enable_dsuiext
1088 enable_dswave
1089 enable_dwmapi
1090 enable_dwrite
1091 enable_dx8vb
1092 enable_dxdiagn
1093 enable_dxgi
1094 enable_dxtrans
1095 enable_dxva2
1096 enable_esent
1097 enable_evr
1098 enable_explorerframe
1099 enable_faultrep
1100 enable_feclient
1101 enable_fltlib
1102 enable_fltmgr_sys
1103 enable_fntcache
1104 enable_fontsub
1105 enable_fusion
1106 enable_fwpuclnt
1107 enable_gameux
1108 enable_gamingtcui
1109 enable_gdi32
1110 enable_gdiplus
1111 enable_glu32
1112 enable_gphoto2_ds
1113 enable_gpkcsp
1114 enable_hal
1115 enable_hhctrl_ocx
1116 enable_hid
1117 enable_hidclass_sys
1118 enable_hidparse_sys
1119 enable_hlink
1120 enable_hnetcfg
1121 enable_http_sys
1122 enable_httpapi
1123 enable_ia2comproxy
1124 enable_iccvid
1125 enable_icmp
1126 enable_ieframe
1127 enable_ieproxy
1128 enable_imaadp32_acm
1129 enable_imagehlp
1130 enable_imm32
1131 enable_inetcomm
1132 enable_inetcpl_cpl
1133 enable_inetmib1
1134 enable_infosoft
1135 enable_initpki
1136 enable_inkobj
1137 enable_inseng
1138 enable_iphlpapi
1139 enable_iprop
1140 enable_irprops_cpl
1141 enable_itircl
1142 enable_itss
1143 enable_joy_cpl
1144 enable_jscript
1145 enable_jsproxy
1146 enable_kerberos
1147 enable_kernel32
1148 enable_kernelbase
1149 enable_ksecdd_sys
1150 enable_ksproxy_ax
1151 enable_ksuser
1152 enable_ktmw32
1153 enable_l3codeca_acm
1154 enable_light_msstyles
1155 enable_loadperf
1156 enable_localspl
1157 enable_localui
1158 enable_lz32
1159 enable_mapi32
1160 enable_mapistub
1161 enable_mciavi32
1162 enable_mcicda
1163 enable_mciqtz32
1164 enable_mciseq
1165 enable_mciwave
1166 enable_mf
1167 enable_mf3216
1168 enable_mferror
1169 enable_mfmediaengine
1170 enable_mfplat
1171 enable_mfplay
1172 enable_mfreadwrite
1173 enable_mgmtapi
1174 enable_midimap
1175 enable_mlang
1176 enable_mmcndmgr
1177 enable_mmdevapi
1178 enable_mountmgr_sys
1179 enable_mp3dmod
1180 enable_mpr
1181 enable_mprapi
1182 enable_msacm32_drv
1183 enable_msacm32
1184 enable_msado15
1185 enable_msadp32_acm
1186 enable_msasn1
1187 enable_mscat32
1188 enable_mscms
1189 enable_mscoree
1190 enable_mscorwks
1191 enable_msctf
1192 enable_msctfmonitor
1193 enable_msctfp
1194 enable_msdaps
1195 enable_msdasql
1196 enable_msdelta
1197 enable_msdmo
1198 enable_msdrm
1199 enable_msftedit
1200 enable_msg711_acm
1201 enable_msgsm32_acm
1202 enable_mshtml_tlb
1203 enable_mshtml
1204 enable_msi
1205 enable_msident
1206 enable_msimg32
1207 enable_msimsg
1208 enable_msimtf
1209 enable_msisip
1210 enable_msisys_ocx
1211 enable_msls31
1212 enable_msnet32
1213 enable_mspatcha
1214 enable_msports
1215 enable_msrle32
1216 enable_msscript_ocx
1217 enable_mssign32
1218 enable_mssip32
1219 enable_mstask
1220 enable_msv1_0
1221 enable_msvcirt
1222 enable_msvcm80
1223 enable_msvcm90
1224 enable_msvcp100
1225 enable_msvcp110
1226 enable_msvcp120
1227 enable_msvcp120_app
1228 enable_msvcp140
1229 enable_msvcp140_1
1230 enable_msvcp140_atomic_wait
1231 enable_msvcp60
1232 enable_msvcp70
1233 enable_msvcp71
1234 enable_msvcp80
1235 enable_msvcp90
1236 enable_msvcp_win
1237 enable_msvcr100
1238 enable_msvcr110
1239 enable_msvcr120
1240 enable_msvcr120_app
1241 enable_msvcr70
1242 enable_msvcr71
1243 enable_msvcr80
1244 enable_msvcr90
1245 enable_msvcrt
1246 enable_msvcrt20
1247 enable_msvcrt40
1248 enable_msvcrtd
1249 enable_msvfw32
1250 enable_msvidc32
1251 enable_mswsock
1252 enable_msxml
1253 enable_msxml2
1254 enable_msxml3
1255 enable_msxml4
1256 enable_msxml6
1257 enable_mtxdm
1258 enable_ncrypt
1259 enable_nddeapi
1260 enable_ndis_sys
1261 enable_netapi32
1262 enable_netcfgx
1263 enable_netio_sys
1264 enable_netprofm
1265 enable_netutils
1266 enable_newdev
1267 enable_ninput
1268 enable_normaliz
1269 enable_npmshtml
1270 enable_npptools
1271 enable_nsi
1272 enable_nsiproxy_sys
1273 enable_ntdll
1274 enable_ntdsapi
1275 enable_ntoskrnl_exe
1276 enable_ntprint
1277 enable_objsel
1278 enable_odbc32
1279 enable_odbcbcp
1280 enable_odbccp32
1281 enable_odbccu32
1282 enable_ole32
1283 enable_oleacc
1284 enable_oleaut32
1285 enable_olecli32
1286 enable_oledb32
1287 enable_oledlg
1288 enable_olepro32
1289 enable_olesvr32
1290 enable_olethk32
1291 enable_opcservices
1292 enable_openal32
1293 enable_opencl
1294 enable_opengl32
1295 enable_packager
1296 enable_pdh
1297 enable_photometadatahandler
1298 enable_pidgen
1299 enable_powrprof
1300 enable_printui
1301 enable_prntvpt
1302 enable_propsys
1303 enable_psapi
1304 enable_pstorec
1305 enable_pwrshplugin
1306 enable_qasf
1307 enable_qcap
1308 enable_qdvd
1309 enable_qedit
1310 enable_qmgr
1311 enable_qmgrprxy
1312 enable_quartz
1313 enable_query
1314 enable_qwave
1315 enable_rasapi32
1316 enable_rasdlg
1317 enable_regapi
1318 enable_resutils
1319 enable_riched20
1320 enable_riched32
1321 enable_rpcrt4
1322 enable_rsabase
1323 enable_rsaenh
1324 enable_rstrtmgr
1325 enable_rtutils
1326 enable_rtworkq
1327 enable_samlib
1328 enable_sane_ds
1329 enable_sapi
1330 enable_sas
1331 enable_scarddlg
1332 enable_sccbase
1333 enable_schannel
1334 enable_schedsvc
1335 enable_scrobj
1336 enable_scrrun
1337 enable_scsiport_sys
1338 enable_sechost
1339 enable_secur32
1340 enable_security
1341 enable_sensapi
1342 enable_serialui
1343 enable_setupapi
1344 enable_sfc
1345 enable_sfc_os
1346 enable_shcore
1347 enable_shdoclc
1348 enable_shdocvw
1349 enable_shell32
1350 enable_shfolder
1351 enable_shlwapi
1352 enable_slbcsp
1353 enable_slc
1354 enable_snmpapi
1355 enable_softpub
1356 enable_spoolss
1357 enable_sppc
1358 enable_srclient
1359 enable_srvcli
1360 enable_sspicli
1361 enable_stdole2_tlb
1362 enable_stdole32_tlb
1363 enable_sti
1364 enable_strmdll
1365 enable_svrapi
1366 enable_sxs
1367 enable_t2embed
1368 enable_tapi32
1369 enable_taskschd
1370 enable_tbs
1371 enable_tdh
1372 enable_tdi_sys
1373 enable_traffic
1374 enable_twain_32
1375 enable_tzres
1376 enable_ucrtbase
1377 enable_uianimation
1378 enable_uiautomationcore
1379 enable_uiribbon
1380 enable_unicows
1381 enable_updspapi
1382 enable_url
1383 enable_urlmon
1384 enable_usbd_sys
1385 enable_user32
1386 enable_userenv
1387 enable_usp10
1388 enable_utildll
1389 enable_uxtheme
1390 enable_vbscript
1391 enable_vcomp
1392 enable_vcomp100
1393 enable_vcomp110
1394 enable_vcomp120
1395 enable_vcomp140
1396 enable_vcomp90
1397 enable_vcruntime140
1398 enable_vcruntime140_1
1399 enable_vdmdbg
1400 enable_version
1401 enable_vga
1402 enable_virtdisk
1403 enable_vssapi
1404 enable_vulkan_1
1405 enable_wbemdisp
1406 enable_wbemprox
1407 enable_wdscore
1408 enable_webservices
1409 enable_websocket
1410 enable_wer
1411 enable_wevtapi
1412 enable_wevtsvc
1413 enable_wiaservc
1414 enable_wimgapi
1415 enable_win32u
1416 enable_windows_devices_enumeration
1417 enable_windows_gaming_input
1418 enable_windows_globalization
1419 enable_windows_media_devices
1420 enable_windows_media_speech
1421 enable_windows_networking
1422 enable_windowscodecs
1423 enable_windowscodecsext
1424 enable_winealsa_drv
1425 enable_wineandroid_drv
1426 enable_winebus_sys
1427 enable_winecoreaudio_drv
1428 enable_winecrt0
1429 enable_wined3d
1430 enable_winegstreamer
1431 enable_winehid_sys
1432 enable_winemac_drv
1433 enable_winemapi
1434 enable_wineoss_drv
1435 enable_wineps_drv
1436 enable_winepulse_drv
1437 enable_wineusb_sys
1438 enable_winevulkan
1439 enable_winex11_drv
1440 enable_winexinput_sys
1441 enable_wing32
1442 enable_winhttp
1443 enable_wininet
1444 enable_winmm
1445 enable_winnls32
1446 enable_winscard
1447 enable_winspool_drv
1448 enable_winsta
1449 enable_wintab32
1450 enable_wintrust
1451 enable_wintypes
1452 enable_winusb
1453 enable_wlanapi
1454 enable_wlanui
1455 enable_wldap32
1456 enable_wmasf
1457 enable_wmi
1458 enable_wmiutils
1459 enable_wmp
1460 enable_wmphoto
1461 enable_wmvcore
1462 enable_wnaspi32
1463 enable_wow64
1464 enable_wow64cpu
1465 enable_wow64win
1466 enable_wpc
1467 enable_wpcap
1468 enable_ws2_32
1469 enable_wsdapi
1470 enable_wshom_ocx
1471 enable_wsnmp32
1472 enable_wsock32
1473 enable_wtsapi32
1474 enable_wuapi
1475 enable_wuaueng
1476 enable_x3daudio1_0
1477 enable_x3daudio1_1
1478 enable_x3daudio1_2
1479 enable_x3daudio1_3
1480 enable_x3daudio1_4
1481 enable_x3daudio1_5
1482 enable_x3daudio1_6
1483 enable_x3daudio1_7
1484 enable_xactengine2_0
1485 enable_xactengine2_4
1486 enable_xactengine2_7
1487 enable_xactengine2_9
1488 enable_xactengine3_0
1489 enable_xactengine3_1
1490 enable_xactengine3_2
1491 enable_xactengine3_3
1492 enable_xactengine3_4
1493 enable_xactengine3_5
1494 enable_xactengine3_6
1495 enable_xactengine3_7
1496 enable_xapofx1_1
1497 enable_xapofx1_2
1498 enable_xapofx1_3
1499 enable_xapofx1_4
1500 enable_xapofx1_5
1501 enable_xaudio2_0
1502 enable_xaudio2_1
1503 enable_xaudio2_2
1504 enable_xaudio2_3
1505 enable_xaudio2_4
1506 enable_xaudio2_5
1507 enable_xaudio2_6
1508 enable_xaudio2_7
1509 enable_xaudio2_8
1510 enable_xaudio2_9
1511 enable_xinput1_1
1512 enable_xinput1_2
1513 enable_xinput1_3
1514 enable_xinput1_4
1515 enable_xinput9_1_0
1516 enable_xmllite
1517 enable_xolehlp
1518 enable_xpsprint
1519 enable_xpssvcs
1520 enable_fonts
1521 enable_include
1522 enable_adsiid
1523 enable_dmoguids
1524 enable_dxerr8
1525 enable_dxerr9
1526 enable_dxguid
1527 enable_faudio
1528 enable_gsm
1529 enable_jpeg
1530 enable_jxr
1531 enable_lcms2
1532 enable_mfuuid
1533 enable_mpg123
1534 enable_png
1535 enable_strmbase
1536 enable_strmiids
1537 enable_tiff
1538 enable_uuid
1539 enable_vkd3d
1540 enable_wbemuuid
1541 enable_wine
1542 enable_wmcodecdspuuid
1543 enable_xml2
1544 enable_xslt
1545 enable_zlib
1546 enable_loader
1547 enable_nls
1548 enable_po
1549 enable_arp
1550 enable_aspnet_regiis
1551 enable_attrib
1552 enable_cabarc
1553 enable_cacls
1554 enable_chcp_com
1555 enable_clock
1556 enable_cmd
1557 enable_conhost
1558 enable_control
1559 enable_cscript
1560 enable_dism
1561 enable_dllhost
1562 enable_dplaysvr
1563 enable_dpnsvr
1564 enable_dpvsetup
1565 enable_dxdiag
1566 enable_eject
1567 enable_expand
1568 enable_explorer
1569 enable_extrac32
1570 enable_fc
1571 enable_find
1572 enable_findstr
1573 enable_fsutil
1574 enable_hh
1575 enable_hostname
1576 enable_icacls
1577 enable_icinfo
1578 enable_iexplore
1579 enable_ipconfig
1580 enable_lodctr
1581 enable_mofcomp
1582 enable_mshta
1583 enable_msidb
1584 enable_msiexec
1585 enable_msinfo32
1586 enable_net
1587 enable_netsh
1588 enable_netstat
1589 enable_ngen
1590 enable_notepad
1591 enable_oleview
1592 enable_ping
1593 enable_plugplay
1594 enable_powershell
1595 enable_presentationfontcache
1596 enable_progman
1597 enable_reg
1598 enable_regasm
1599 enable_regedit
1600 enable_regini
1601 enable_regsvcs
1602 enable_regsvr32
1603 enable_robocopy
1604 enable_rpcss
1605 enable_rundll32
1606 enable_sc
1607 enable_schtasks
1608 enable_sdbinst
1609 enable_secedit
1610 enable_servicemodelreg
1611 enable_services
1612 enable_shutdown
1613 enable_spoolsv
1614 enable_start
1615 enable_subst
1616 enable_svchost
1617 enable_systeminfo
1618 enable_taskkill
1619 enable_tasklist
1620 enable_taskmgr
1621 enable_termsv
1622 enable_uninstaller
1623 enable_unlodctr
1624 enable_view
1625 enable_wevtutil
1626 enable_where
1627 enable_whoami
1628 enable_wineboot
1629 enable_winebrowser
1630 enable_winecfg
1631 enable_wineconsole
1632 enable_winedbg
1633 enable_winedevice
1634 enable_winefile
1635 enable_winemenubuilder
1636 enable_winemine
1637 enable_winemsibuilder
1638 enable_winepath
1639 enable_winetest
1640 enable_winhlp32
1641 enable_winmgmt
1642 enable_winver
1643 enable_wmic
1644 enable_wmplayer
1645 enable_wordpad
1646 enable_write
1647 enable_wscript
1648 enable_wuauserv
1649 enable_wusa
1650 enable_xcopy
1651 enable_server
1652 enable_tools
1653 enable_sfnt2fon
1654 enable_widl
1655 enable_winebuild
1656 enable_winedump
1657 enable_winegcc
1658 enable_winemaker
1659 enable_wmc
1660 enable_wrc
1662 ac_precious_vars='build_alias
1663 host_alias
1664 target_alias
1666 CFLAGS
1667 LDFLAGS
1668 LIBS
1669 CPPFLAGS
1671 CXXFLAGS
1673 OBJC
1674 OBJCFLAGS
1675 FAUDIO_PE_CFLAGS
1676 FAUDIO_PE_LIBS
1677 GSM_PE_CFLAGS
1678 GSM_PE_LIBS
1679 JPEG_PE_CFLAGS
1680 JPEG_PE_LIBS
1681 JXR_PE_CFLAGS
1682 JXR_PE_LIBS
1683 LCMS2_PE_CFLAGS
1684 LCMS2_PE_LIBS
1685 MPG123_PE_CFLAGS
1686 MPG123_PE_LIBS
1687 PNG_PE_CFLAGS
1688 PNG_PE_LIBS
1689 TIFF_PE_CFLAGS
1690 TIFF_PE_LIBS
1691 VKD3D_PE_CFLAGS
1692 VKD3D_PE_LIBS
1693 XML2_PE_CFLAGS
1694 XML2_PE_LIBS
1695 XSLT_PE_CFLAGS
1696 XSLT_PE_LIBS
1697 ZLIB_PE_CFLAGS
1698 ZLIB_PE_LIBS
1699 XMKMF
1701 INOTIFY_CFLAGS
1702 INOTIFY_LIBS
1703 DBUS_CFLAGS
1704 DBUS_LIBS
1705 GNUTLS_CFLAGS
1706 GNUTLS_LIBS
1707 SANE_CFLAGS
1708 SANE_LIBS
1709 USB_CFLAGS
1710 USB_LIBS
1711 GPHOTO2_CFLAGS
1712 GPHOTO2_LIBS
1713 GPHOTO2_PORT_CFLAGS
1714 GPHOTO2_PORT_LIBS
1715 FREETYPE_CFLAGS
1716 FREETYPE_LIBS
1717 PULSE_CFLAGS
1718 PULSE_LIBS
1719 GSTREAMER_CFLAGS
1720 GSTREAMER_LIBS
1721 UDEV_CFLAGS
1722 UDEV_LIBS
1723 UNWIND_CFLAGS
1724 UNWIND_LIBS
1725 SDL2_CFLAGS
1726 SDL2_LIBS
1727 CAPI20_CFLAGS
1728 CAPI20_LIBS
1729 CUPS_CFLAGS
1730 CUPS_LIBS
1731 FONTCONFIG_CFLAGS
1732 FONTCONFIG_LIBS
1733 KRB5_CFLAGS
1734 KRB5_LIBS
1735 GSSAPI_CFLAGS
1736 GSSAPI_LIBS
1737 NETAPI_CFLAGS
1738 NETAPI_LIBS
1739 LDAP_CFLAGS
1740 LDAP_LIBS'
1743 # Initialize some variables set by options.
1744 ac_init_help=
1745 ac_init_version=false
1746 ac_unrecognized_opts=
1747 ac_unrecognized_sep=
1748 # The variables have the same names as the options, with
1749 # dashes changed to underlines.
1750 cache_file=/dev/null
1751 exec_prefix=NONE
1752 no_create=
1753 no_recursion=
1754 prefix=NONE
1755 program_prefix=NONE
1756 program_suffix=NONE
1757 program_transform_name=s,x,x,
1758 silent=
1759 site=
1760 srcdir=
1761 verbose=
1762 x_includes=NONE
1763 x_libraries=NONE
1765 # Installation directory options.
1766 # These are left unexpanded so users can "make install exec_prefix=/foo"
1767 # and all the variables that are supposed to be based on exec_prefix
1768 # by default will actually change.
1769 # Use braces instead of parens because sh, perl, etc. also accept them.
1770 # (The list follows the same order as the GNU Coding Standards.)
1771 bindir='${exec_prefix}/bin'
1772 sbindir='${exec_prefix}/sbin'
1773 libexecdir='${exec_prefix}/libexec'
1774 datarootdir='${prefix}/share'
1775 datadir='${datarootdir}'
1776 sysconfdir='${prefix}/etc'
1777 sharedstatedir='${prefix}/com'
1778 localstatedir='${prefix}/var'
1779 runstatedir='${localstatedir}/run'
1780 includedir='${prefix}/include'
1781 oldincludedir='/usr/include'
1782 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1783 infodir='${datarootdir}/info'
1784 htmldir='${docdir}'
1785 dvidir='${docdir}'
1786 pdfdir='${docdir}'
1787 psdir='${docdir}'
1788 libdir='${exec_prefix}/lib'
1789 localedir='${datarootdir}/locale'
1790 mandir='${datarootdir}/man'
1792 ac_prev=
1793 ac_dashdash=
1794 for ac_option
1796 # If the previous option needs an argument, assign it.
1797 if test -n "$ac_prev"; then
1798 eval $ac_prev=\$ac_option
1799 ac_prev=
1800 continue
1803 case $ac_option in
1804 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1805 *=) ac_optarg= ;;
1806 *) ac_optarg=yes ;;
1807 esac
1809 case $ac_dashdash$ac_option in
1811 ac_dashdash=yes ;;
1813 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1814 ac_prev=bindir ;;
1815 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1816 bindir=$ac_optarg ;;
1818 -build | --build | --buil | --bui | --bu)
1819 ac_prev=build_alias ;;
1820 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1821 build_alias=$ac_optarg ;;
1823 -cache-file | --cache-file | --cache-fil | --cache-fi \
1824 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1825 ac_prev=cache_file ;;
1826 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1827 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1828 cache_file=$ac_optarg ;;
1830 --config-cache | -C)
1831 cache_file=config.cache ;;
1833 -datadir | --datadir | --datadi | --datad)
1834 ac_prev=datadir ;;
1835 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1836 datadir=$ac_optarg ;;
1838 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1839 | --dataroo | --dataro | --datar)
1840 ac_prev=datarootdir ;;
1841 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1842 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1843 datarootdir=$ac_optarg ;;
1845 -disable-* | --disable-*)
1846 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1847 # Reject names that are not valid shell variable names.
1848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1849 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1850 ac_useropt_orig=$ac_useropt
1851 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1852 case $ac_user_opts in
1854 "enable_$ac_useropt"
1855 "*) ;;
1856 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1857 ac_unrecognized_sep=', ';;
1858 esac
1859 eval enable_$ac_useropt=no ;;
1861 -docdir | --docdir | --docdi | --doc | --do)
1862 ac_prev=docdir ;;
1863 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1864 docdir=$ac_optarg ;;
1866 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1867 ac_prev=dvidir ;;
1868 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1869 dvidir=$ac_optarg ;;
1871 -enable-* | --enable-*)
1872 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1873 # Reject names that are not valid shell variable names.
1874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1875 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1876 ac_useropt_orig=$ac_useropt
1877 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1878 case $ac_user_opts in
1880 "enable_$ac_useropt"
1881 "*) ;;
1882 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1883 ac_unrecognized_sep=', ';;
1884 esac
1885 eval enable_$ac_useropt=\$ac_optarg ;;
1887 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1888 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1889 | --exec | --exe | --ex)
1890 ac_prev=exec_prefix ;;
1891 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1892 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1893 | --exec=* | --exe=* | --ex=*)
1894 exec_prefix=$ac_optarg ;;
1896 -gas | --gas | --ga | --g)
1897 # Obsolete; use --with-gas.
1898 with_gas=yes ;;
1900 -help | --help | --hel | --he | -h)
1901 ac_init_help=long ;;
1902 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1903 ac_init_help=recursive ;;
1904 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1905 ac_init_help=short ;;
1907 -host | --host | --hos | --ho)
1908 ac_prev=host_alias ;;
1909 -host=* | --host=* | --hos=* | --ho=*)
1910 host_alias=$ac_optarg ;;
1912 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1913 ac_prev=htmldir ;;
1914 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1915 | --ht=*)
1916 htmldir=$ac_optarg ;;
1918 -includedir | --includedir | --includedi | --included | --include \
1919 | --includ | --inclu | --incl | --inc)
1920 ac_prev=includedir ;;
1921 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1922 | --includ=* | --inclu=* | --incl=* | --inc=*)
1923 includedir=$ac_optarg ;;
1925 -infodir | --infodir | --infodi | --infod | --info | --inf)
1926 ac_prev=infodir ;;
1927 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1928 infodir=$ac_optarg ;;
1930 -libdir | --libdir | --libdi | --libd)
1931 ac_prev=libdir ;;
1932 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1933 libdir=$ac_optarg ;;
1935 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1936 | --libexe | --libex | --libe)
1937 ac_prev=libexecdir ;;
1938 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1939 | --libexe=* | --libex=* | --libe=*)
1940 libexecdir=$ac_optarg ;;
1942 -localedir | --localedir | --localedi | --localed | --locale)
1943 ac_prev=localedir ;;
1944 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1945 localedir=$ac_optarg ;;
1947 -localstatedir | --localstatedir | --localstatedi | --localstated \
1948 | --localstate | --localstat | --localsta | --localst | --locals)
1949 ac_prev=localstatedir ;;
1950 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1951 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1952 localstatedir=$ac_optarg ;;
1954 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1955 ac_prev=mandir ;;
1956 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1957 mandir=$ac_optarg ;;
1959 -nfp | --nfp | --nf)
1960 # Obsolete; use --without-fp.
1961 with_fp=no ;;
1963 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1964 | --no-cr | --no-c | -n)
1965 no_create=yes ;;
1967 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1968 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1969 no_recursion=yes ;;
1971 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1972 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1973 | --oldin | --oldi | --old | --ol | --o)
1974 ac_prev=oldincludedir ;;
1975 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1976 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1977 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1978 oldincludedir=$ac_optarg ;;
1980 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1981 ac_prev=prefix ;;
1982 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1983 prefix=$ac_optarg ;;
1985 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1986 | --program-pre | --program-pr | --program-p)
1987 ac_prev=program_prefix ;;
1988 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1989 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1990 program_prefix=$ac_optarg ;;
1992 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1993 | --program-suf | --program-su | --program-s)
1994 ac_prev=program_suffix ;;
1995 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1996 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1997 program_suffix=$ac_optarg ;;
1999 -program-transform-name | --program-transform-name \
2000 | --program-transform-nam | --program-transform-na \
2001 | --program-transform-n | --program-transform- \
2002 | --program-transform | --program-transfor \
2003 | --program-transfo | --program-transf \
2004 | --program-trans | --program-tran \
2005 | --progr-tra | --program-tr | --program-t)
2006 ac_prev=program_transform_name ;;
2007 -program-transform-name=* | --program-transform-name=* \
2008 | --program-transform-nam=* | --program-transform-na=* \
2009 | --program-transform-n=* | --program-transform-=* \
2010 | --program-transform=* | --program-transfor=* \
2011 | --program-transfo=* | --program-transf=* \
2012 | --program-trans=* | --program-tran=* \
2013 | --progr-tra=* | --program-tr=* | --program-t=*)
2014 program_transform_name=$ac_optarg ;;
2016 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2017 ac_prev=pdfdir ;;
2018 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2019 pdfdir=$ac_optarg ;;
2021 -psdir | --psdir | --psdi | --psd | --ps)
2022 ac_prev=psdir ;;
2023 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2024 psdir=$ac_optarg ;;
2026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2027 | -silent | --silent | --silen | --sile | --sil)
2028 silent=yes ;;
2030 -runstatedir | --runstatedir | --runstatedi | --runstated \
2031 | --runstate | --runstat | --runsta | --runst | --runs \
2032 | --run | --ru | --r)
2033 ac_prev=runstatedir ;;
2034 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2035 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2036 | --run=* | --ru=* | --r=*)
2037 runstatedir=$ac_optarg ;;
2039 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2040 ac_prev=sbindir ;;
2041 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2042 | --sbi=* | --sb=*)
2043 sbindir=$ac_optarg ;;
2045 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2046 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2047 | --sharedst | --shareds | --shared | --share | --shar \
2048 | --sha | --sh)
2049 ac_prev=sharedstatedir ;;
2050 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2051 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2052 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2053 | --sha=* | --sh=*)
2054 sharedstatedir=$ac_optarg ;;
2056 -site | --site | --sit)
2057 ac_prev=site ;;
2058 -site=* | --site=* | --sit=*)
2059 site=$ac_optarg ;;
2061 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2062 ac_prev=srcdir ;;
2063 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2064 srcdir=$ac_optarg ;;
2066 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2067 | --syscon | --sysco | --sysc | --sys | --sy)
2068 ac_prev=sysconfdir ;;
2069 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2070 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2071 sysconfdir=$ac_optarg ;;
2073 -target | --target | --targe | --targ | --tar | --ta | --t)
2074 ac_prev=target_alias ;;
2075 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2076 target_alias=$ac_optarg ;;
2078 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2079 verbose=yes ;;
2081 -version | --version | --versio | --versi | --vers | -V)
2082 ac_init_version=: ;;
2084 -with-* | --with-*)
2085 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2086 # Reject names that are not valid shell variable names.
2087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2088 as_fn_error $? "invalid package name: \`$ac_useropt'"
2089 ac_useropt_orig=$ac_useropt
2090 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2091 case $ac_user_opts in
2093 "with_$ac_useropt"
2094 "*) ;;
2095 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2096 ac_unrecognized_sep=', ';;
2097 esac
2098 eval with_$ac_useropt=\$ac_optarg ;;
2100 -without-* | --without-*)
2101 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2102 # Reject names that are not valid shell variable names.
2103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2104 as_fn_error $? "invalid package name: \`$ac_useropt'"
2105 ac_useropt_orig=$ac_useropt
2106 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2107 case $ac_user_opts in
2109 "with_$ac_useropt"
2110 "*) ;;
2111 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2112 ac_unrecognized_sep=', ';;
2113 esac
2114 eval with_$ac_useropt=no ;;
2116 --x)
2117 # Obsolete; use --with-x.
2118 with_x=yes ;;
2120 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2121 | --x-incl | --x-inc | --x-in | --x-i)
2122 ac_prev=x_includes ;;
2123 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2124 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2125 x_includes=$ac_optarg ;;
2127 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2128 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2129 ac_prev=x_libraries ;;
2130 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2131 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2132 x_libraries=$ac_optarg ;;
2134 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2135 Try \`$0 --help' for more information"
2138 *=*)
2139 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2140 # Reject names that are not valid shell variable names.
2141 case $ac_envvar in #(
2142 '' | [0-9]* | *[!_$as_cr_alnum]* )
2143 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2144 esac
2145 eval $ac_envvar=\$ac_optarg
2146 export $ac_envvar ;;
2149 # FIXME: should be removed in autoconf 3.0.
2150 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2151 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2152 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2153 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2156 esac
2157 done
2159 if test -n "$ac_prev"; then
2160 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2161 as_fn_error $? "missing argument to $ac_option"
2164 if test -n "$ac_unrecognized_opts"; then
2165 case $enable_option_checking in
2166 no) ;;
2167 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2168 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2169 esac
2172 # Check all directory arguments for consistency.
2173 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2174 datadir sysconfdir sharedstatedir localstatedir includedir \
2175 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2176 libdir localedir mandir runstatedir
2178 eval ac_val=\$$ac_var
2179 # Remove trailing slashes.
2180 case $ac_val in
2181 */ )
2182 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2183 eval $ac_var=\$ac_val;;
2184 esac
2185 # Be sure to have absolute directory names.
2186 case $ac_val in
2187 [\\/$]* | ?:[\\/]* ) continue;;
2188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2189 esac
2190 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2191 done
2193 # There might be people who depend on the old broken behavior: `$host'
2194 # used to hold the argument of --host etc.
2195 # FIXME: To remove some day.
2196 build=$build_alias
2197 host=$host_alias
2198 target=$target_alias
2200 # FIXME: To remove some day.
2201 if test "x$host_alias" != x; then
2202 if test "x$build_alias" = x; then
2203 cross_compiling=maybe
2204 elif test "x$build_alias" != "x$host_alias"; then
2205 cross_compiling=yes
2209 ac_tool_prefix=
2210 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2212 test "$silent" = yes && exec 6>/dev/null
2215 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2216 ac_ls_di=`ls -di .` &&
2217 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2218 as_fn_error $? "working directory cannot be determined"
2219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2220 as_fn_error $? "pwd does not report name of working directory"
2223 # Find the source files, if location was not specified.
2224 if test -z "$srcdir"; then
2225 ac_srcdir_defaulted=yes
2226 # Try the directory containing this script, then the parent directory.
2227 ac_confdir=`$as_dirname -- "$as_myself" ||
2228 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2229 X"$as_myself" : 'X\(//\)[^/]' \| \
2230 X"$as_myself" : 'X\(//\)$' \| \
2231 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2232 printf "%s\n" X"$as_myself" |
2233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2234 s//\1/
2237 /^X\(\/\/\)[^/].*/{
2238 s//\1/
2241 /^X\(\/\/\)$/{
2242 s//\1/
2245 /^X\(\/\).*/{
2246 s//\1/
2249 s/.*/./; q'`
2250 srcdir=$ac_confdir
2251 if test ! -r "$srcdir/$ac_unique_file"; then
2252 srcdir=..
2254 else
2255 ac_srcdir_defaulted=no
2257 if test ! -r "$srcdir/$ac_unique_file"; then
2258 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2259 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2261 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2262 ac_abs_confdir=`(
2263 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2264 pwd)`
2265 # When building in place, set srcdir=.
2266 if test "$ac_abs_confdir" = "$ac_pwd"; then
2267 srcdir=.
2269 # Remove unnecessary trailing slashes from srcdir.
2270 # Double slashes in file names in object file debugging info
2271 # mess up M-x gdb in Emacs.
2272 case $srcdir in
2273 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2274 esac
2275 for ac_var in $ac_precious_vars; do
2276 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2277 eval ac_env_${ac_var}_value=\$${ac_var}
2278 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2279 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2280 done
2283 # Report the --help message.
2285 if test "$ac_init_help" = "long"; then
2286 # Omit some internal or obsolete options to make the list less imposing.
2287 # This message is too long to be a string in the A/UX 3.1 sh.
2288 cat <<_ACEOF
2289 \`configure' configures Wine 7.11 to adapt to many kinds of systems.
2291 Usage: $0 [OPTION]... [VAR=VALUE]...
2293 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2294 VAR=VALUE. See below for descriptions of some of the useful variables.
2296 Defaults for the options are specified in brackets.
2298 Configuration:
2299 -h, --help display this help and exit
2300 --help=short display options specific to this package
2301 --help=recursive display the short help of all the included packages
2302 -V, --version display version information and exit
2303 -q, --quiet, --silent do not print \`checking ...' messages
2304 --cache-file=FILE cache test results in FILE [disabled]
2305 -C, --config-cache alias for \`--cache-file=config.cache'
2306 -n, --no-create do not create output files
2307 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2309 Installation directories:
2310 --prefix=PREFIX install architecture-independent files in PREFIX
2311 [$ac_default_prefix]
2312 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2313 [PREFIX]
2315 By default, \`make install' will install all the files in
2316 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2317 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2318 for instance \`--prefix=\$HOME'.
2320 For better control, use the options below.
2322 Fine tuning of the installation directories:
2323 --bindir=DIR user executables [EPREFIX/bin]
2324 --sbindir=DIR system admin executables [EPREFIX/sbin]
2325 --libexecdir=DIR program executables [EPREFIX/libexec]
2326 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2327 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2328 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2329 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2330 --libdir=DIR object code libraries [EPREFIX/lib]
2331 --includedir=DIR C header files [PREFIX/include]
2332 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2333 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2334 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2335 --infodir=DIR info documentation [DATAROOTDIR/info]
2336 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2337 --mandir=DIR man documentation [DATAROOTDIR/man]
2338 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2339 --htmldir=DIR html documentation [DOCDIR]
2340 --dvidir=DIR dvi documentation [DOCDIR]
2341 --pdfdir=DIR pdf documentation [DOCDIR]
2342 --psdir=DIR ps documentation [DOCDIR]
2343 _ACEOF
2345 cat <<\_ACEOF
2347 X features:
2348 --x-includes=DIR X include files are in DIR
2349 --x-libraries=DIR X library files are in DIR
2351 System types:
2352 --build=BUILD configure for building on BUILD [guessed]
2353 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2354 _ACEOF
2357 if test -n "$ac_init_help"; then
2358 case $ac_init_help in
2359 short | recursive ) echo "Configuration of Wine 7.11:";;
2360 esac
2361 cat <<\_ACEOF
2363 Optional Features:
2364 --disable-option-checking ignore unrecognized --enable/--with options
2365 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2366 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2367 --disable-win16 do not include Win16 support
2368 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2369 binaries)
2370 --disable-tests do not build the regression tests
2371 --enable-build-id include .buildid section in output objects
2372 --enable-maintainer-mode
2373 enable maintainer-specific build rules
2374 --enable-silent-rules use silent build rules (override: "make V=1")
2375 --enable-werror treat compilation warnings as errors
2376 --disable-largefile omit support for large files
2378 Optional Packages:
2379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2381 --without-alsa do not use the Alsa sound support
2382 --without-capi do not use CAPI (ISDN support)
2383 --without-coreaudio do not use the CoreAudio sound support
2384 --without-cups do not use CUPS
2385 --without-dbus do not use DBus (dynamic device support)
2386 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2387 --without-fontconfig do not use fontconfig
2388 --without-freetype do not use the FreeType library
2389 --without-gettext do not use gettext
2390 --with-gettextpo use the GetTextPO library to rebuild po files
2391 --without-gphoto do not use gphoto (Digital Camera support)
2392 --without-gnutls do not use GnuTLS (schannel support)
2393 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2394 --without-gstreamer do not use GStreamer (codecs support)
2395 --without-inotify do not use inotify (filesystem change notifications)
2396 --without-krb5 do not use krb5 (Kerberos)
2397 --without-ldap do not use LDAP
2398 --without-mingw do not use the MinGW cross-compiler
2399 --without-netapi do not use the Samba NetAPI library
2400 --without-openal do not use OpenAL
2401 --without-opencl do not use OpenCL
2402 --without-opengl do not use OpenGL
2403 --without-osmesa do not use the OSMesa library
2404 --without-oss do not use the OSS sound support
2405 --without-pcap do not use the Packet Capture library
2406 --without-pthread do not use the pthread library
2407 --without-pulse do not use PulseAudio sound support
2408 --without-sane do not use SANE (scanner support)
2409 --without-sdl do not use SDL
2410 --without-udev do not use udev (plug and play support)
2411 --without-unwind do not use the libunwind library (exception
2412 handling)
2413 --without-usb do not use the libusb library
2414 --without-v4l2 do not use v4l2 (video capture)
2415 --without-vulkan do not use Vulkan
2416 --without-xcomposite do not use the Xcomposite extension
2417 --without-xcursor do not use the Xcursor extension
2418 --without-xfixes do not use Xfixes for clipboard change notifications
2419 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2420 --without-xinput do not use the Xinput extension
2421 --without-xinput2 do not use the Xinput 2 extension
2422 --without-xrandr do not use Xrandr (multi-monitor support)
2423 --without-xrender do not use the Xrender extension
2424 --without-xshape do not use the Xshape extension
2425 --without-xshm do not use XShm (shared memory extension)
2426 --without-xxf86vm do not use XFree video mode extension
2427 --with-system-dllpath=PATH
2428 load external PE dependencies from colon-separated
2429 path PATH
2430 --with-wine-tools=DIR use Wine tools from directory DIR
2431 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2432 --with-x use the X Window System
2434 Some influential environment variables:
2435 CC C compiler command
2436 CFLAGS C compiler flags
2437 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2438 nonstandard directory <lib dir>
2439 LIBS libraries to pass to the linker, e.g. -l<library>
2440 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2441 you have headers in a nonstandard directory <include dir>
2442 CXX C++ compiler command
2443 CXXFLAGS C++ compiler flags
2444 OBJC Objective C compiler command
2445 OBJCFLAGS Objective C compiler flags
2446 FAUDIO_PE_CFLAGS
2447 C compiler flags for the PE faudio, overriding the bundled
2448 version
2449 FAUDIO_PE_LIBS
2450 Linker flags for the PE faudio, overriding the bundled version
2451 GSM_PE_CFLAGS
2452 C compiler flags for the PE gsm, overriding the bundled version
2453 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2454 JPEG_PE_CFLAGS
2455 C compiler flags for the PE jpeg, overriding the bundled version
2456 JPEG_PE_LIBS
2457 Linker flags for the PE jpeg, overriding the bundled version
2458 JXR_PE_CFLAGS
2459 C compiler flags for the PE jxr, overriding the bundled version
2460 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2461 LCMS2_PE_CFLAGS
2462 C compiler flags for the PE lcms2, overriding the bundled
2463 version
2464 LCMS2_PE_LIBS
2465 Linker flags for the PE lcms2, overriding the bundled version
2466 MPG123_PE_CFLAGS
2467 C compiler flags for the PE mpg123, overriding the bundled
2468 version
2469 MPG123_PE_LIBS
2470 Linker flags for the PE mpg123, overriding the bundled version
2471 PNG_PE_CFLAGS
2472 C compiler flags for the PE png, overriding the bundled version
2473 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2474 TIFF_PE_CFLAGS
2475 C compiler flags for the PE tiff, overriding the bundled version
2476 TIFF_PE_LIBS
2477 Linker flags for the PE tiff, overriding the bundled version
2478 VKD3D_PE_CFLAGS
2479 C compiler flags for the PE vkd3d, overriding the bundled
2480 version
2481 VKD3D_PE_LIBS
2482 Linker flags for the PE vkd3d, overriding the bundled version
2483 XML2_PE_CFLAGS
2484 C compiler flags for the PE xml2, overriding the bundled version
2485 XML2_PE_LIBS
2486 Linker flags for the PE xml2, overriding the bundled version
2487 XSLT_PE_CFLAGS
2488 C compiler flags for the PE xslt, overriding the bundled version
2489 XSLT_PE_LIBS
2490 Linker flags for the PE xslt, overriding the bundled version
2491 ZLIB_PE_CFLAGS
2492 C compiler flags for the PE zlib, overriding the bundled version
2493 ZLIB_PE_LIBS
2494 Linker flags for the PE zlib, overriding the bundled version
2495 XMKMF Path to xmkmf, Makefile generator for X Window System
2496 CPP C preprocessor
2497 INOTIFY_CFLAGS
2498 C compiler flags for libinotify, overriding pkg-config
2499 INOTIFY_LIBS
2500 Linker flags for libinotify, overriding pkg-config
2501 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2502 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2503 GNUTLS_CFLAGS
2504 C compiler flags for gnutls, overriding pkg-config
2505 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2506 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2507 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2508 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2509 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2510 GPHOTO2_CFLAGS
2511 C compiler flags for libgphoto2, overriding pkg-config
2512 GPHOTO2_LIBS
2513 Linker flags for libgphoto2, overriding pkg-config
2514 GPHOTO2_PORT_CFLAGS
2515 C compiler flags for libgphoto2_port, overriding pkg-config
2516 GPHOTO2_PORT_LIBS
2517 Linker flags for libgphoto2_port, overriding pkg-config
2518 FREETYPE_CFLAGS
2519 C compiler flags for freetype2, overriding pkg-config
2520 FREETYPE_LIBS
2521 Linker flags for freetype2, overriding pkg-config
2522 PULSE_CFLAGS
2523 C compiler flags for libpulse, overriding pkg-config
2524 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2525 GSTREAMER_CFLAGS
2526 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2527 gstreamer-audio-1.0, overriding pkg-config
2528 GSTREAMER_LIBS
2529 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2530 gstreamer-audio-1.0, overriding pkg-config
2531 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2532 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2533 UNWIND_CFLAGS
2534 C compiler flags for libunwind, overriding pkg-config
2535 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2536 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2537 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2538 CAPI20_CFLAGS
2539 C compiler flags for capi20, overriding pkg-config
2540 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2541 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2542 CUPS_LIBS Linker flags for cups, overriding pkg-config
2543 FONTCONFIG_CFLAGS
2544 C compiler flags for fontconfig, overriding pkg-config
2545 FONTCONFIG_LIBS
2546 Linker flags for fontconfig, overriding pkg-config
2547 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2548 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2549 GSSAPI_CFLAGS
2550 C compiler flags for krb5-gssapi, overriding pkg-config
2551 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2552 NETAPI_CFLAGS
2553 C compiler flags for netapi, overriding pkg-config
2554 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2555 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2556 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2558 Use these variables to override the choices made by `configure' or to help
2559 it to find libraries and programs with nonstandard names/locations.
2561 Report bugs to <wine-devel@winehq.org>.
2562 Wine home page: <https://www.winehq.org>.
2563 _ACEOF
2564 ac_status=$?
2567 if test "$ac_init_help" = "recursive"; then
2568 # If there are subdirs, report their specific --help.
2569 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2570 test -d "$ac_dir" ||
2571 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2572 continue
2573 ac_builddir=.
2575 case "$ac_dir" in
2576 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2578 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2579 # A ".." for each directory in $ac_dir_suffix.
2580 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2581 case $ac_top_builddir_sub in
2582 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2583 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2584 esac ;;
2585 esac
2586 ac_abs_top_builddir=$ac_pwd
2587 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2588 # for backward compatibility:
2589 ac_top_builddir=$ac_top_build_prefix
2591 case $srcdir in
2592 .) # We are building in place.
2593 ac_srcdir=.
2594 ac_top_srcdir=$ac_top_builddir_sub
2595 ac_abs_top_srcdir=$ac_pwd ;;
2596 [\\/]* | ?:[\\/]* ) # Absolute name.
2597 ac_srcdir=$srcdir$ac_dir_suffix;
2598 ac_top_srcdir=$srcdir
2599 ac_abs_top_srcdir=$srcdir ;;
2600 *) # Relative name.
2601 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2602 ac_top_srcdir=$ac_top_build_prefix$srcdir
2603 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2604 esac
2605 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2607 cd "$ac_dir" || { ac_status=$?; continue; }
2608 # Check for configure.gnu first; this name is used for a wrapper for
2609 # Metaconfig's "Configure" on case-insensitive file systems.
2610 if test -f "$ac_srcdir/configure.gnu"; then
2611 echo &&
2612 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2613 elif test -f "$ac_srcdir/configure"; then
2614 echo &&
2615 $SHELL "$ac_srcdir/configure" --help=recursive
2616 else
2617 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2618 fi || ac_status=$?
2619 cd "$ac_pwd" || { ac_status=$?; break; }
2620 done
2623 test -n "$ac_init_help" && exit $ac_status
2624 if $ac_init_version; then
2625 cat <<\_ACEOF
2626 Wine configure 7.11
2627 generated by GNU Autoconf 2.71
2629 Copyright (C) 2021 Free Software Foundation, Inc.
2630 This configure script is free software; the Free Software Foundation
2631 gives unlimited permission to copy, distribute and modify it.
2632 _ACEOF
2633 exit
2636 ## ------------------------ ##
2637 ## Autoconf initialization. ##
2638 ## ------------------------ ##
2640 # ac_fn_c_try_compile LINENO
2641 # --------------------------
2642 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2643 ac_fn_c_try_compile ()
2645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2646 rm -f conftest.$ac_objext conftest.beam
2647 if { { ac_try="$ac_compile"
2648 case "(($ac_try" in
2649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2650 *) ac_try_echo=$ac_try;;
2651 esac
2652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2653 printf "%s\n" "$ac_try_echo"; } >&5
2654 (eval "$ac_compile") 2>conftest.err
2655 ac_status=$?
2656 if test -s conftest.err; then
2657 grep -v '^ *+' conftest.err >conftest.er1
2658 cat conftest.er1 >&5
2659 mv -f conftest.er1 conftest.err
2661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2662 test $ac_status = 0; } && {
2663 test -z "$ac_c_werror_flag" ||
2664 test ! -s conftest.err
2665 } && test -s conftest.$ac_objext
2666 then :
2667 ac_retval=0
2668 else $as_nop
2669 printf "%s\n" "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2672 ac_retval=1
2674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2675 as_fn_set_status $ac_retval
2677 } # ac_fn_c_try_compile
2679 # ac_fn_cxx_try_compile LINENO
2680 # ----------------------------
2681 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2682 ac_fn_cxx_try_compile ()
2684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2685 rm -f conftest.$ac_objext conftest.beam
2686 if { { ac_try="$ac_compile"
2687 case "(($ac_try" in
2688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2689 *) ac_try_echo=$ac_try;;
2690 esac
2691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2692 printf "%s\n" "$ac_try_echo"; } >&5
2693 (eval "$ac_compile") 2>conftest.err
2694 ac_status=$?
2695 if test -s conftest.err; then
2696 grep -v '^ *+' conftest.err >conftest.er1
2697 cat conftest.er1 >&5
2698 mv -f conftest.er1 conftest.err
2700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2701 test $ac_status = 0; } && {
2702 test -z "$ac_cxx_werror_flag" ||
2703 test ! -s conftest.err
2704 } && test -s conftest.$ac_objext
2705 then :
2706 ac_retval=0
2707 else $as_nop
2708 printf "%s\n" "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2711 ac_retval=1
2713 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2714 as_fn_set_status $ac_retval
2716 } # ac_fn_cxx_try_compile
2718 # ac_fn_c_try_link LINENO
2719 # -----------------------
2720 # Try to link conftest.$ac_ext, and return whether this succeeded.
2721 ac_fn_c_try_link ()
2723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2724 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2725 if { { ac_try="$ac_link"
2726 case "(($ac_try" in
2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2729 esac
2730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2731 printf "%s\n" "$ac_try_echo"; } >&5
2732 (eval "$ac_link") 2>conftest.err
2733 ac_status=$?
2734 if test -s conftest.err; then
2735 grep -v '^ *+' conftest.err >conftest.er1
2736 cat conftest.er1 >&5
2737 mv -f conftest.er1 conftest.err
2739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740 test $ac_status = 0; } && {
2741 test -z "$ac_c_werror_flag" ||
2742 test ! -s conftest.err
2743 } && test -s conftest$ac_exeext && {
2744 test "$cross_compiling" = yes ||
2745 test -x conftest$ac_exeext
2747 then :
2748 ac_retval=0
2749 else $as_nop
2750 printf "%s\n" "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2753 ac_retval=1
2755 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2756 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2757 # interfere with the next link command; also delete a directory that is
2758 # left behind by Apple's compiler. We do this before executing the actions.
2759 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2761 as_fn_set_status $ac_retval
2763 } # ac_fn_c_try_link
2765 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2766 # -------------------------------------------------------
2767 # Tests whether HEADER exists and can be compiled using the include files in
2768 # INCLUDES, setting the cache variable VAR accordingly.
2769 ac_fn_c_check_header_compile ()
2771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2773 printf %s "checking for $2... " >&6; }
2774 if eval test \${$3+y}
2775 then :
2776 printf %s "(cached) " >&6
2777 else $as_nop
2778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h. */
2781 #include <$2>
2782 _ACEOF
2783 if ac_fn_c_try_compile "$LINENO"
2784 then :
2785 eval "$3=yes"
2786 else $as_nop
2787 eval "$3=no"
2789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2791 eval ac_res=\$$3
2792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2793 printf "%s\n" "$ac_res" >&6; }
2794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2796 } # ac_fn_c_check_header_compile
2798 # ac_fn_objc_try_compile LINENO
2799 # -----------------------------
2800 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2801 ac_fn_objc_try_compile ()
2803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2804 rm -f conftest.$ac_objext conftest.beam
2805 if { { ac_try="$ac_compile"
2806 case "(($ac_try" in
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2809 esac
2810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2811 printf "%s\n" "$ac_try_echo"; } >&5
2812 (eval "$ac_compile") 2>conftest.err
2813 ac_status=$?
2814 if test -s conftest.err; then
2815 grep -v '^ *+' conftest.err >conftest.er1
2816 cat conftest.er1 >&5
2817 mv -f conftest.er1 conftest.err
2819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2820 test $ac_status = 0; } && {
2821 test -z "$ac_objc_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext
2824 then :
2825 ac_retval=0
2826 else $as_nop
2827 printf "%s\n" "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2830 ac_retval=1
2832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2833 as_fn_set_status $ac_retval
2835 } # ac_fn_objc_try_compile
2837 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2838 # ----------------------------------------------------------
2839 # Tests whether HEADER exists and can be compiled using the include files in
2840 # INCLUDES, setting the cache variable VAR accordingly.
2841 ac_fn_objc_check_header_compile ()
2843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2845 printf %s "checking for $2... " >&6; }
2846 if eval test \${$3+y}
2847 then :
2848 printf %s "(cached) " >&6
2849 else $as_nop
2850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2851 /* end confdefs.h. */
2853 #include <$2>
2854 _ACEOF
2855 if ac_fn_objc_try_compile "$LINENO"
2856 then :
2857 eval "$3=yes"
2858 else $as_nop
2859 eval "$3=no"
2861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2863 eval ac_res=\$$3
2864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2865 printf "%s\n" "$ac_res" >&6; }
2866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2868 } # ac_fn_objc_check_header_compile
2870 # ac_fn_c_check_func LINENO FUNC VAR
2871 # ----------------------------------
2872 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2873 ac_fn_c_check_func ()
2875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2877 printf %s "checking for $2... " >&6; }
2878 if eval test \${$3+y}
2879 then :
2880 printf %s "(cached) " >&6
2881 else $as_nop
2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2886 #define $2 innocuous_$2
2888 /* System header to define __stub macros and hopefully few prototypes,
2889 which can conflict with char $2 (); below. */
2891 #include <limits.h>
2892 #undef $2
2894 /* Override any GCC internal prototype to avoid an error.
2895 Use char because int might match the return type of a GCC
2896 builtin and then its argument prototype would still apply. */
2897 #ifdef __cplusplus
2898 extern "C"
2899 #endif
2900 char $2 ();
2901 /* The GNU C library defines this for functions which it implements
2902 to always fail with ENOSYS. Some functions are actually named
2903 something starting with __ and the normal name is an alias. */
2904 #if defined __stub_$2 || defined __stub___$2
2905 choke me
2906 #endif
2909 main (void)
2911 return $2 ();
2913 return 0;
2915 _ACEOF
2916 if ac_fn_c_try_link "$LINENO"
2917 then :
2918 eval "$3=yes"
2919 else $as_nop
2920 eval "$3=no"
2922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2923 conftest$ac_exeext conftest.$ac_ext
2925 eval ac_res=\$$3
2926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2927 printf "%s\n" "$ac_res" >&6; }
2928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2930 } # ac_fn_c_check_func
2932 # ac_fn_c_try_cpp LINENO
2933 # ----------------------
2934 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2935 ac_fn_c_try_cpp ()
2937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2938 if { { ac_try="$ac_cpp conftest.$ac_ext"
2939 case "(($ac_try" in
2940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941 *) ac_try_echo=$ac_try;;
2942 esac
2943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2944 printf "%s\n" "$ac_try_echo"; } >&5
2945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2946 ac_status=$?
2947 if test -s conftest.err; then
2948 grep -v '^ *+' conftest.err >conftest.er1
2949 cat conftest.er1 >&5
2950 mv -f conftest.er1 conftest.err
2952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953 test $ac_status = 0; } > conftest.i && {
2954 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2955 test ! -s conftest.err
2957 then :
2958 ac_retval=0
2959 else $as_nop
2960 printf "%s\n" "$as_me: failed program was:" >&5
2961 sed 's/^/| /' conftest.$ac_ext >&5
2963 ac_retval=1
2965 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2966 as_fn_set_status $ac_retval
2968 } # ac_fn_c_try_cpp
2970 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2971 # ----------------------------------------------------
2972 # Tries to find if the field MEMBER exists in type AGGR, after including
2973 # INCLUDES, setting cache variable VAR accordingly.
2974 ac_fn_c_check_member ()
2976 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2978 printf %s "checking for $2.$3... " >&6; }
2979 if eval test \${$4+y}
2980 then :
2981 printf %s "(cached) " >&6
2982 else $as_nop
2983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2984 /* end confdefs.h. */
2987 main (void)
2989 static $2 ac_aggr;
2990 if (ac_aggr.$3)
2991 return 0;
2993 return 0;
2995 _ACEOF
2996 if ac_fn_c_try_compile "$LINENO"
2997 then :
2998 eval "$4=yes"
2999 else $as_nop
3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h. */
3004 main (void)
3006 static $2 ac_aggr;
3007 if (sizeof ac_aggr.$3)
3008 return 0;
3010 return 0;
3012 _ACEOF
3013 if ac_fn_c_try_compile "$LINENO"
3014 then :
3015 eval "$4=yes"
3016 else $as_nop
3017 eval "$4=no"
3019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3021 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3023 eval ac_res=\$$4
3024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3025 printf "%s\n" "$ac_res" >&6; }
3026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3028 } # ac_fn_c_check_member
3030 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3031 # -------------------------------------------
3032 # Tests whether TYPE exists after having included INCLUDES, setting cache
3033 # variable VAR accordingly.
3034 ac_fn_c_check_type ()
3036 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3038 printf %s "checking for $2... " >&6; }
3039 if eval test \${$3+y}
3040 then :
3041 printf %s "(cached) " >&6
3042 else $as_nop
3043 eval "$3=no"
3044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3048 main (void)
3050 if (sizeof ($2))
3051 return 0;
3053 return 0;
3055 _ACEOF
3056 if ac_fn_c_try_compile "$LINENO"
3057 then :
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3062 main (void)
3064 if (sizeof (($2)))
3065 return 0;
3067 return 0;
3069 _ACEOF
3070 if ac_fn_c_try_compile "$LINENO"
3071 then :
3073 else $as_nop
3074 eval "$3=yes"
3076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3080 eval ac_res=\$$3
3081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3082 printf "%s\n" "$ac_res" >&6; }
3083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3085 } # ac_fn_c_check_type
3086 ac_configure_args_raw=
3087 for ac_arg
3089 case $ac_arg in
3090 *\'*)
3091 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3092 esac
3093 as_fn_append ac_configure_args_raw " '$ac_arg'"
3094 done
3096 case $ac_configure_args_raw in
3097 *$as_nl*)
3098 ac_safe_unquote= ;;
3100 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3101 ac_unsafe_a="$ac_unsafe_z#~"
3102 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3103 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3104 esac
3106 cat >config.log <<_ACEOF
3107 This file contains any messages produced by compilers while
3108 running configure, to aid debugging if configure makes a mistake.
3110 It was created by Wine $as_me 7.11, which was
3111 generated by GNU Autoconf 2.71. Invocation command line was
3113 $ $0$ac_configure_args_raw
3115 _ACEOF
3116 exec 5>>config.log
3118 cat <<_ASUNAME
3119 ## --------- ##
3120 ## Platform. ##
3121 ## --------- ##
3123 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3124 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3125 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3126 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3127 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3129 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3130 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3132 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3133 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3134 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3135 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3136 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3137 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3138 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3140 _ASUNAME
3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3143 for as_dir in $PATH
3145 IFS=$as_save_IFS
3146 case $as_dir in #(((
3147 '') as_dir=./ ;;
3148 */) ;;
3149 *) as_dir=$as_dir/ ;;
3150 esac
3151 printf "%s\n" "PATH: $as_dir"
3152 done
3153 IFS=$as_save_IFS
3155 } >&5
3157 cat >&5 <<_ACEOF
3160 ## ----------- ##
3161 ## Core tests. ##
3162 ## ----------- ##
3164 _ACEOF
3167 # Keep a trace of the command line.
3168 # Strip out --no-create and --no-recursion so they do not pile up.
3169 # Strip out --silent because we don't want to record it for future runs.
3170 # Also quote any args containing shell meta-characters.
3171 # Make two passes to allow for proper duplicate-argument suppression.
3172 ac_configure_args=
3173 ac_configure_args0=
3174 ac_configure_args1=
3175 ac_must_keep_next=false
3176 for ac_pass in 1 2
3178 for ac_arg
3180 case $ac_arg in
3181 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3183 | -silent | --silent | --silen | --sile | --sil)
3184 continue ;;
3185 *\'*)
3186 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3187 esac
3188 case $ac_pass in
3189 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3191 as_fn_append ac_configure_args1 " '$ac_arg'"
3192 if test $ac_must_keep_next = true; then
3193 ac_must_keep_next=false # Got value, back to normal.
3194 else
3195 case $ac_arg in
3196 *=* | --config-cache | -C | -disable-* | --disable-* \
3197 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3198 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3199 | -with-* | --with-* | -without-* | --without-* | --x)
3200 case "$ac_configure_args0 " in
3201 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3202 esac
3204 -* ) ac_must_keep_next=true ;;
3205 esac
3207 as_fn_append ac_configure_args " '$ac_arg'"
3209 esac
3210 done
3211 done
3212 { ac_configure_args0=; unset ac_configure_args0;}
3213 { ac_configure_args1=; unset ac_configure_args1;}
3215 # When interrupted or exit'd, cleanup temporary files, and complete
3216 # config.log. We remove comments because anyway the quotes in there
3217 # would cause problems or look ugly.
3218 # WARNING: Use '\'' to represent an apostrophe within the trap.
3219 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3220 trap 'exit_status=$?
3221 # Sanitize IFS.
3222 IFS=" "" $as_nl"
3223 # Save into config.log some information that might help in debugging.
3225 echo
3227 printf "%s\n" "## ---------------- ##
3228 ## Cache variables. ##
3229 ## ---------------- ##"
3230 echo
3231 # The following way of writing the cache mishandles newlines in values,
3233 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3234 eval ac_val=\$$ac_var
3235 case $ac_val in #(
3236 *${as_nl}*)
3237 case $ac_var in #(
3238 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3239 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3240 esac
3241 case $ac_var in #(
3242 _ | IFS | as_nl) ;; #(
3243 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3244 *) { eval $ac_var=; unset $ac_var;} ;;
3245 esac ;;
3246 esac
3247 done
3248 (set) 2>&1 |
3249 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3250 *${as_nl}ac_space=\ *)
3251 sed -n \
3252 "s/'\''/'\''\\\\'\'''\''/g;
3253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3254 ;; #(
3256 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3258 esac |
3259 sort
3261 echo
3263 printf "%s\n" "## ----------------- ##
3264 ## Output variables. ##
3265 ## ----------------- ##"
3266 echo
3267 for ac_var in $ac_subst_vars
3269 eval ac_val=\$$ac_var
3270 case $ac_val in
3271 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3272 esac
3273 printf "%s\n" "$ac_var='\''$ac_val'\''"
3274 done | sort
3275 echo
3277 if test -n "$ac_subst_files"; then
3278 printf "%s\n" "## ------------------- ##
3279 ## File substitutions. ##
3280 ## ------------------- ##"
3281 echo
3282 for ac_var in $ac_subst_files
3284 eval ac_val=\$$ac_var
3285 case $ac_val in
3286 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3287 esac
3288 printf "%s\n" "$ac_var='\''$ac_val'\''"
3289 done | sort
3290 echo
3293 if test -s confdefs.h; then
3294 printf "%s\n" "## ----------- ##
3295 ## confdefs.h. ##
3296 ## ----------- ##"
3297 echo
3298 cat confdefs.h
3299 echo
3301 test "$ac_signal" != 0 &&
3302 printf "%s\n" "$as_me: caught signal $ac_signal"
3303 printf "%s\n" "$as_me: exit $exit_status"
3304 } >&5
3305 rm -f core *.core core.conftest.* &&
3306 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3307 exit $exit_status
3309 for ac_signal in 1 2 13 15; do
3310 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3311 done
3312 ac_signal=0
3314 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3315 rm -f -r conftest* confdefs.h
3317 printf "%s\n" "/* confdefs.h */" > confdefs.h
3319 # Predefined preprocessor variables.
3321 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3323 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3325 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3327 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3329 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3331 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3334 # Let the site file select an alternate cache file if it wants to.
3335 # Prefer an explicitly selected file to automatically selected ones.
3336 if test -n "$CONFIG_SITE"; then
3337 ac_site_files="$CONFIG_SITE"
3338 elif test "x$prefix" != xNONE; then
3339 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3340 else
3341 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3344 for ac_site_file in $ac_site_files
3346 case $ac_site_file in #(
3347 */*) :
3348 ;; #(
3349 *) :
3350 ac_site_file=./$ac_site_file ;;
3351 esac
3352 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3354 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3355 sed 's/^/| /' "$ac_site_file" >&5
3356 . "$ac_site_file" \
3357 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3359 as_fn_error $? "failed to load site script $ac_site_file
3360 See \`config.log' for more details" "$LINENO" 5; }
3362 done
3364 if test -r "$cache_file"; then
3365 # Some versions of bash will fail to source /dev/null (special files
3366 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3367 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3369 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3370 case $cache_file in
3371 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3372 *) . "./$cache_file";;
3373 esac
3375 else
3376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3377 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3378 >$cache_file
3381 # Test code for whether the C compiler supports C89 (global declarations)
3382 ac_c_conftest_c89_globals='
3383 /* Does the compiler advertise C89 conformance?
3384 Do not test the value of __STDC__, because some compilers set it to 0
3385 while being otherwise adequately conformant. */
3386 #if !defined __STDC__
3387 # error "Compiler does not advertise C89 conformance"
3388 #endif
3390 #include <stddef.h>
3391 #include <stdarg.h>
3392 struct stat;
3393 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3394 struct buf { int x; };
3395 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3396 static char *e (p, i)
3397 char **p;
3398 int i;
3400 return p[i];
3402 static char *f (char * (*g) (char **, int), char **p, ...)
3404 char *s;
3405 va_list v;
3406 va_start (v,p);
3407 s = g (p, va_arg (v,int));
3408 va_end (v);
3409 return s;
3412 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3413 function prototypes and stuff, but not \xHH hex character constants.
3414 These do not provoke an error unfortunately, instead are silently treated
3415 as an "x". The following induces an error, until -std is added to get
3416 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3417 array size at least. It is necessary to write \x00 == 0 to get something
3418 that is true only with -std. */
3419 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3421 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3422 inside strings and character constants. */
3423 #define FOO(x) '\''x'\''
3424 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3426 int test (int i, double x);
3427 struct s1 {int (*f) (int a);};
3428 struct s2 {int (*f) (double a);};
3429 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3430 int, int);'
3432 # Test code for whether the C compiler supports C89 (body of main).
3433 ac_c_conftest_c89_main='
3434 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3437 # Test code for whether the C compiler supports C99 (global declarations)
3438 ac_c_conftest_c99_globals='
3439 // Does the compiler advertise C99 conformance?
3440 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3441 # error "Compiler does not advertise C99 conformance"
3442 #endif
3444 #include <stdbool.h>
3445 extern int puts (const char *);
3446 extern int printf (const char *, ...);
3447 extern int dprintf (int, const char *, ...);
3448 extern void *malloc (size_t);
3450 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3451 // dprintf is used instead of fprintf to avoid needing to declare
3452 // FILE and stderr.
3453 #define debug(...) dprintf (2, __VA_ARGS__)
3454 #define showlist(...) puts (#__VA_ARGS__)
3455 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3456 static void
3457 test_varargs_macros (void)
3459 int x = 1234;
3460 int y = 5678;
3461 debug ("Flag");
3462 debug ("X = %d\n", x);
3463 showlist (The first, second, and third items.);
3464 report (x>y, "x is %d but y is %d", x, y);
3467 // Check long long types.
3468 #define BIG64 18446744073709551615ull
3469 #define BIG32 4294967295ul
3470 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3471 #if !BIG_OK
3472 #error "your preprocessor is broken"
3473 #endif
3474 #if BIG_OK
3475 #else
3476 #error "your preprocessor is broken"
3477 #endif
3478 static long long int bignum = -9223372036854775807LL;
3479 static unsigned long long int ubignum = BIG64;
3481 struct incomplete_array
3483 int datasize;
3484 double data[];
3487 struct named_init {
3488 int number;
3489 const wchar_t *name;
3490 double average;
3493 typedef const char *ccp;
3495 static inline int
3496 test_restrict (ccp restrict text)
3498 // See if C++-style comments work.
3499 // Iterate through items via the restricted pointer.
3500 // Also check for declarations in for loops.
3501 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3502 continue;
3503 return 0;
3506 // Check varargs and va_copy.
3507 static bool
3508 test_varargs (const char *format, ...)
3510 va_list args;
3511 va_start (args, format);
3512 va_list args_copy;
3513 va_copy (args_copy, args);
3515 const char *str = "";
3516 int number = 0;
3517 float fnumber = 0;
3519 while (*format)
3521 switch (*format++)
3523 case '\''s'\'': // string
3524 str = va_arg (args_copy, const char *);
3525 break;
3526 case '\''d'\'': // int
3527 number = va_arg (args_copy, int);
3528 break;
3529 case '\''f'\'': // float
3530 fnumber = va_arg (args_copy, double);
3531 break;
3532 default:
3533 break;
3536 va_end (args_copy);
3537 va_end (args);
3539 return *str && number && fnumber;
3543 # Test code for whether the C compiler supports C99 (body of main).
3544 ac_c_conftest_c99_main='
3545 // Check bool.
3546 _Bool success = false;
3547 success |= (argc != 0);
3549 // Check restrict.
3550 if (test_restrict ("String literal") == 0)
3551 success = true;
3552 char *restrict newvar = "Another string";
3554 // Check varargs.
3555 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3556 test_varargs_macros ();
3558 // Check flexible array members.
3559 struct incomplete_array *ia =
3560 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3561 ia->datasize = 10;
3562 for (int i = 0; i < ia->datasize; ++i)
3563 ia->data[i] = i * 1.234;
3565 // Check named initializers.
3566 struct named_init ni = {
3567 .number = 34,
3568 .name = L"Test wide string",
3569 .average = 543.34343,
3572 ni.number = 58;
3574 int dynamic_array[ni.number];
3575 dynamic_array[0] = argv[0][0];
3576 dynamic_array[ni.number - 1] = 543;
3578 // work around unused variable warnings
3579 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3580 || dynamic_array[ni.number - 1] != 543);
3583 # Test code for whether the C compiler supports C11 (global declarations)
3584 ac_c_conftest_c11_globals='
3585 // Does the compiler advertise C11 conformance?
3586 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3587 # error "Compiler does not advertise C11 conformance"
3588 #endif
3590 // Check _Alignas.
3591 char _Alignas (double) aligned_as_double;
3592 char _Alignas (0) no_special_alignment;
3593 extern char aligned_as_int;
3594 char _Alignas (0) _Alignas (int) aligned_as_int;
3596 // Check _Alignof.
3597 enum
3599 int_alignment = _Alignof (int),
3600 int_array_alignment = _Alignof (int[100]),
3601 char_alignment = _Alignof (char)
3603 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3605 // Check _Noreturn.
3606 int _Noreturn does_not_return (void) { for (;;) continue; }
3608 // Check _Static_assert.
3609 struct test_static_assert
3611 int x;
3612 _Static_assert (sizeof (int) <= sizeof (long int),
3613 "_Static_assert does not work in struct");
3614 long int y;
3617 // Check UTF-8 literals.
3618 #define u8 syntax error!
3619 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3621 // Check duplicate typedefs.
3622 typedef long *long_ptr;
3623 typedef long int *long_ptr;
3624 typedef long_ptr long_ptr;
3626 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3627 struct anonymous
3629 union {
3630 struct { int i; int j; };
3631 struct { int k; long int l; } w;
3633 int m;
3634 } v1;
3637 # Test code for whether the C compiler supports C11 (body of main).
3638 ac_c_conftest_c11_main='
3639 _Static_assert ((offsetof (struct anonymous, i)
3640 == offsetof (struct anonymous, w.k)),
3641 "Anonymous union alignment botch");
3642 v1.i = 2;
3643 v1.w.k = 5;
3644 ok |= v1.i != 5;
3647 # Test code for whether the C compiler supports C11 (complete).
3648 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3649 ${ac_c_conftest_c99_globals}
3650 ${ac_c_conftest_c11_globals}
3653 main (int argc, char **argv)
3655 int ok = 0;
3656 ${ac_c_conftest_c89_main}
3657 ${ac_c_conftest_c99_main}
3658 ${ac_c_conftest_c11_main}
3659 return ok;
3663 # Test code for whether the C compiler supports C99 (complete).
3664 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3665 ${ac_c_conftest_c99_globals}
3668 main (int argc, char **argv)
3670 int ok = 0;
3671 ${ac_c_conftest_c89_main}
3672 ${ac_c_conftest_c99_main}
3673 return ok;
3677 # Test code for whether the C compiler supports C89 (complete).
3678 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3681 main (int argc, char **argv)
3683 int ok = 0;
3684 ${ac_c_conftest_c89_main}
3685 return ok;
3689 # Test code for whether the C++ compiler supports C++98 (global declarations)
3690 ac_cxx_conftest_cxx98_globals='
3691 // Does the compiler advertise C++98 conformance?
3692 #if !defined __cplusplus || __cplusplus < 199711L
3693 # error "Compiler does not advertise C++98 conformance"
3694 #endif
3696 // These inclusions are to reject old compilers that
3697 // lack the unsuffixed header files.
3698 #include <cstdlib>
3699 #include <exception>
3701 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3702 extern void assert (int);
3703 namespace std {
3704 extern int strcmp (const char *, const char *);
3707 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3708 using std::exception;
3709 using std::strcmp;
3711 namespace {
3713 void test_exception_syntax()
3715 try {
3716 throw "test";
3717 } catch (const char *s) {
3718 // Extra parentheses suppress a warning when building autoconf itself,
3719 // due to lint rules shared with more typical C programs.
3720 assert (!(strcmp) (s, "test"));
3724 template <typename T> struct test_template
3726 T const val;
3727 explicit test_template(T t) : val(t) {}
3728 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3731 } // anonymous namespace
3734 # Test code for whether the C++ compiler supports C++98 (body of main)
3735 ac_cxx_conftest_cxx98_main='
3736 assert (argc);
3737 assert (! argv[0]);
3739 test_exception_syntax ();
3740 test_template<double> tt (2.0);
3741 assert (tt.add (4) == 6.0);
3742 assert (true && !false);
3746 # Test code for whether the C++ compiler supports C++11 (global declarations)
3747 ac_cxx_conftest_cxx11_globals='
3748 // Does the compiler advertise C++ 2011 conformance?
3749 #if !defined __cplusplus || __cplusplus < 201103L
3750 # error "Compiler does not advertise C++11 conformance"
3751 #endif
3753 namespace cxx11test
3755 constexpr int get_val() { return 20; }
3757 struct testinit
3759 int i;
3760 double d;
3763 class delegate
3765 public:
3766 delegate(int n) : n(n) {}
3767 delegate(): delegate(2354) {}
3769 virtual int getval() { return this->n; };
3770 protected:
3771 int n;
3774 class overridden : public delegate
3776 public:
3777 overridden(int n): delegate(n) {}
3778 virtual int getval() override final { return this->n * 2; }
3781 class nocopy
3783 public:
3784 nocopy(int i): i(i) {}
3785 nocopy() = default;
3786 nocopy(const nocopy&) = delete;
3787 nocopy & operator=(const nocopy&) = delete;
3788 private:
3789 int i;
3792 // for testing lambda expressions
3793 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3795 return f(v);
3798 // for testing variadic templates and trailing return types
3799 template <typename V> auto sum(V first) -> V
3801 return first;
3803 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3805 return first + sum(rest...);
3810 # Test code for whether the C++ compiler supports C++11 (body of main)
3811 ac_cxx_conftest_cxx11_main='
3813 // Test auto and decltype
3814 auto a1 = 6538;
3815 auto a2 = 48573953.4;
3816 auto a3 = "String literal";
3818 int total = 0;
3819 for (auto i = a3; *i; ++i) { total += *i; }
3821 decltype(a2) a4 = 34895.034;
3824 // Test constexpr
3825 short sa[cxx11test::get_val()] = { 0 };
3828 // Test initializer lists
3829 cxx11test::testinit il = { 4323, 435234.23544 };
3832 // Test range-based for
3833 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3834 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3835 for (auto &x : array) { x += 23; }
3838 // Test lambda expressions
3839 using cxx11test::eval;
3840 assert (eval ([](int x) { return x*2; }, 21) == 42);
3841 double d = 2.0;
3842 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3843 assert (d == 5.0);
3844 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3845 assert (d == 5.0);
3848 // Test use of variadic templates
3849 using cxx11test::sum;
3850 auto a = sum(1);
3851 auto b = sum(1, 2);
3852 auto c = sum(1.0, 2.0, 3.0);
3855 // Test constructor delegation
3856 cxx11test::delegate d1;
3857 cxx11test::delegate d2();
3858 cxx11test::delegate d3(45);
3861 // Test override and final
3862 cxx11test::overridden o1(55464);
3865 // Test nullptr
3866 char *c = nullptr;
3869 // Test template brackets
3870 test_template<::test_template<int>> v(test_template<int>(12));
3873 // Unicode literals
3874 char const *utf8 = u8"UTF-8 string \u2500";
3875 char16_t const *utf16 = u"UTF-8 string \u2500";
3876 char32_t const *utf32 = U"UTF-32 string \u2500";
3880 # Test code for whether the C compiler supports C++11 (complete).
3881 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3882 ${ac_cxx_conftest_cxx11_globals}
3885 main (int argc, char **argv)
3887 int ok = 0;
3888 ${ac_cxx_conftest_cxx98_main}
3889 ${ac_cxx_conftest_cxx11_main}
3890 return ok;
3894 # Test code for whether the C compiler supports C++98 (complete).
3895 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3897 main (int argc, char **argv)
3899 int ok = 0;
3900 ${ac_cxx_conftest_cxx98_main}
3901 return ok;
3905 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3906 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3907 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3908 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3909 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3910 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3911 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3912 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3913 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3915 # Auxiliary files required by this configure script.
3916 ac_aux_files="config.guess config.sub"
3918 # Locations in which to look for auxiliary files.
3919 ac_aux_dir_candidates="${srcdir}/tools"
3921 # Search for a directory containing all of the required auxiliary files,
3922 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3923 # If we don't find one directory that contains all the files we need,
3924 # we report the set of missing files from the *first* directory in
3925 # $ac_aux_dir_candidates and give up.
3926 ac_missing_aux_files=""
3927 ac_first_candidate=:
3928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930 as_found=false
3931 for as_dir in $ac_aux_dir_candidates
3933 IFS=$as_save_IFS
3934 case $as_dir in #(((
3935 '') as_dir=./ ;;
3936 */) ;;
3937 *) as_dir=$as_dir/ ;;
3938 esac
3939 as_found=:
3941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3942 ac_aux_dir_found=yes
3943 ac_install_sh=
3944 for ac_aux in $ac_aux_files
3946 # As a special case, if "install-sh" is required, that requirement
3947 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3948 # and $ac_install_sh is set appropriately for whichever one is found.
3949 if test x"$ac_aux" = x"install-sh"
3950 then
3951 if test -f "${as_dir}install-sh"; then
3952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3953 ac_install_sh="${as_dir}install-sh -c"
3954 elif test -f "${as_dir}install.sh"; then
3955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3956 ac_install_sh="${as_dir}install.sh -c"
3957 elif test -f "${as_dir}shtool"; then
3958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3959 ac_install_sh="${as_dir}shtool install -c"
3960 else
3961 ac_aux_dir_found=no
3962 if $ac_first_candidate; then
3963 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3964 else
3965 break
3968 else
3969 if test -f "${as_dir}${ac_aux}"; then
3970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3971 else
3972 ac_aux_dir_found=no
3973 if $ac_first_candidate; then
3974 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3975 else
3976 break
3980 done
3981 if test "$ac_aux_dir_found" = yes; then
3982 ac_aux_dir="$as_dir"
3983 break
3985 ac_first_candidate=false
3987 as_found=false
3988 done
3989 IFS=$as_save_IFS
3990 if $as_found
3991 then :
3993 else $as_nop
3994 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3998 # These three variables are undocumented and unsupported,
3999 # and are intended to be withdrawn in a future Autoconf release.
4000 # They can cause serious problems if a builder's source tree is in a directory
4001 # whose full name contains unusual characters.
4002 if test -f "${ac_aux_dir}config.guess"; then
4003 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4005 if test -f "${ac_aux_dir}config.sub"; then
4006 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4008 if test -f "$ac_aux_dir/configure"; then
4009 ac_configure="$SHELL ${ac_aux_dir}configure"
4012 # Check that the precious variables saved in the cache have kept the same
4013 # value.
4014 ac_cache_corrupted=false
4015 for ac_var in $ac_precious_vars; do
4016 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4017 eval ac_new_set=\$ac_env_${ac_var}_set
4018 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4019 eval ac_new_val=\$ac_env_${ac_var}_value
4020 case $ac_old_set,$ac_new_set in
4021 set,)
4022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4023 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4024 ac_cache_corrupted=: ;;
4025 ,set)
4026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4027 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4028 ac_cache_corrupted=: ;;
4029 ,);;
4031 if test "x$ac_old_val" != "x$ac_new_val"; then
4032 # differences in whitespace do not lead to failure.
4033 ac_old_val_w=`echo x $ac_old_val`
4034 ac_new_val_w=`echo x $ac_new_val`
4035 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4037 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4038 ac_cache_corrupted=:
4039 else
4040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4041 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4042 eval $ac_var=\$ac_old_val
4044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4045 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4047 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4048 fi;;
4049 esac
4050 # Pass precious variables to config.status.
4051 if test "$ac_new_set" = set; then
4052 case $ac_new_val in
4053 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4054 *) ac_arg=$ac_var=$ac_new_val ;;
4055 esac
4056 case " $ac_configure_args " in
4057 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4058 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4059 esac
4061 done
4062 if $ac_cache_corrupted; then
4063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4064 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4066 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4067 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4068 and start over" "$LINENO" 5
4070 ## -------------------- ##
4071 ## Main body of script. ##
4072 ## -------------------- ##
4074 ac_ext=c
4075 ac_cpp='$CPP $CPPFLAGS'
4076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4082 ac_config_headers="$ac_config_headers include/config.h"
4086 libwine_version="1.0"
4089 # Check whether --enable-win16 was given.
4090 if test ${enable_win16+y}
4091 then :
4092 enableval=$enable_win16;
4095 # Check whether --enable-win64 was given.
4096 if test ${enable_win64+y}
4097 then :
4098 enableval=$enable_win64;
4101 # Check whether --enable-tests was given.
4102 if test ${enable_tests+y}
4103 then :
4104 enableval=$enable_tests;
4107 # Check whether --enable-build-id was given.
4108 if test ${enable_build_id+y}
4109 then :
4110 enableval=$enable_build_id;
4113 # Check whether --enable-maintainer-mode was given.
4114 if test ${enable_maintainer_mode+y}
4115 then :
4116 enableval=$enable_maintainer_mode;
4119 # Check whether --enable-silent-rules was given.
4120 if test ${enable_silent_rules+y}
4121 then :
4122 enableval=$enable_silent_rules;
4125 # Check whether --enable-werror was given.
4126 if test ${enable_werror+y}
4127 then :
4128 enableval=$enable_werror;
4133 # Check whether --with-alsa was given.
4134 if test ${with_alsa+y}
4135 then :
4136 withval=$with_alsa;
4140 # Check whether --with-capi was given.
4141 if test ${with_capi+y}
4142 then :
4143 withval=$with_capi;
4147 # Check whether --with-coreaudio was given.
4148 if test ${with_coreaudio+y}
4149 then :
4150 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4154 # Check whether --with-cups was given.
4155 if test ${with_cups+y}
4156 then :
4157 withval=$with_cups;
4161 # Check whether --with-dbus was given.
4162 if test ${with_dbus+y}
4163 then :
4164 withval=$with_dbus;
4168 # Check whether --with-float-abi was given.
4169 if test ${with_float_abi+y}
4170 then :
4171 withval=$with_float_abi;
4175 # Check whether --with-fontconfig was given.
4176 if test ${with_fontconfig+y}
4177 then :
4178 withval=$with_fontconfig;
4182 # Check whether --with-freetype was given.
4183 if test ${with_freetype+y}
4184 then :
4185 withval=$with_freetype;
4189 # Check whether --with-gettext was given.
4190 if test ${with_gettext+y}
4191 then :
4192 withval=$with_gettext;
4196 # Check whether --with-gettextpo was given.
4197 if test ${with_gettextpo+y}
4198 then :
4199 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4203 # Check whether --with-gphoto was given.
4204 if test ${with_gphoto+y}
4205 then :
4206 withval=$with_gphoto;
4210 # Check whether --with-gnutls was given.
4211 if test ${with_gnutls+y}
4212 then :
4213 withval=$with_gnutls;
4217 # Check whether --with-gssapi was given.
4218 if test ${with_gssapi+y}
4219 then :
4220 withval=$with_gssapi;
4224 # Check whether --with-gstreamer was given.
4225 if test ${with_gstreamer+y}
4226 then :
4227 withval=$with_gstreamer;
4231 # Check whether --with-inotify was given.
4232 if test ${with_inotify+y}
4233 then :
4234 withval=$with_inotify;
4238 # Check whether --with-krb5 was given.
4239 if test ${with_krb5+y}
4240 then :
4241 withval=$with_krb5;
4245 # Check whether --with-ldap was given.
4246 if test ${with_ldap+y}
4247 then :
4248 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4252 # Check whether --with-mingw was given.
4253 if test ${with_mingw+y}
4254 then :
4255 withval=$with_mingw;
4259 # Check whether --with-netapi was given.
4260 if test ${with_netapi+y}
4261 then :
4262 withval=$with_netapi;
4266 # Check whether --with-openal was given.
4267 if test ${with_openal+y}
4268 then :
4269 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4273 # Check whether --with-opencl was given.
4274 if test ${with_opencl+y}
4275 then :
4276 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4280 # Check whether --with-opengl was given.
4281 if test ${with_opengl+y}
4282 then :
4283 withval=$with_opengl;
4287 # Check whether --with-osmesa was given.
4288 if test ${with_osmesa+y}
4289 then :
4290 withval=$with_osmesa;
4294 # Check whether --with-oss was given.
4295 if test ${with_oss+y}
4296 then :
4297 withval=$with_oss;
4301 # Check whether --with-pcap was given.
4302 if test ${with_pcap+y}
4303 then :
4304 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4308 # Check whether --with-pthread was given.
4309 if test ${with_pthread+y}
4310 then :
4311 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4315 # Check whether --with-pulse was given.
4316 if test ${with_pulse+y}
4317 then :
4318 withval=$with_pulse;
4322 # Check whether --with-sane was given.
4323 if test ${with_sane+y}
4324 then :
4325 withval=$with_sane;
4329 # Check whether --with-sdl was given.
4330 if test ${with_sdl+y}
4331 then :
4332 withval=$with_sdl;
4336 # Check whether --with-udev was given.
4337 if test ${with_udev+y}
4338 then :
4339 withval=$with_udev;
4343 # Check whether --with-unwind was given.
4344 if test ${with_unwind+y}
4345 then :
4346 withval=$with_unwind;
4350 # Check whether --with-usb was given.
4351 if test ${with_usb+y}
4352 then :
4353 withval=$with_usb;
4357 # Check whether --with-v4l2 was given.
4358 if test ${with_v4l2+y}
4359 then :
4360 withval=$with_v4l2;
4364 # Check whether --with-vulkan was given.
4365 if test ${with_vulkan+y}
4366 then :
4367 withval=$with_vulkan;
4371 # Check whether --with-xcomposite was given.
4372 if test ${with_xcomposite+y}
4373 then :
4374 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4378 # Check whether --with-xcursor was given.
4379 if test ${with_xcursor+y}
4380 then :
4381 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4385 # Check whether --with-xfixes was given.
4386 if test ${with_xfixes+y}
4387 then :
4388 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4392 # Check whether --with-xinerama was given.
4393 if test ${with_xinerama+y}
4394 then :
4395 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4399 # Check whether --with-xinput was given.
4400 if test ${with_xinput+y}
4401 then :
4402 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4406 # Check whether --with-xinput2 was given.
4407 if test ${with_xinput2+y}
4408 then :
4409 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4413 # Check whether --with-xrandr was given.
4414 if test ${with_xrandr+y}
4415 then :
4416 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4420 # Check whether --with-xrender was given.
4421 if test ${with_xrender+y}
4422 then :
4423 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4427 # Check whether --with-xshape was given.
4428 if test ${with_xshape+y}
4429 then :
4430 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4434 # Check whether --with-xshm was given.
4435 if test ${with_xshm+y}
4436 then :
4437 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4441 # Check whether --with-xxf86vm was given.
4442 if test ${with_xxf86vm+y}
4443 then :
4444 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
4449 # Check whether --with-system-dllpath was given.
4450 if test ${with_system_dllpath+y}
4451 then :
4452 withval=$with_system_dllpath; system_dllpath=$withval
4457 # Check whether --with-wine-tools was given.
4458 if test ${with_wine_tools+y}
4459 then :
4460 withval=$with_wine_tools;
4464 # Check whether --with-wine64 was given.
4465 if test ${with_wine64+y}
4466 then :
4467 withval=$with_wine64;
4474 # Make sure we can run config.sub.
4475 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4476 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4479 printf %s "checking build system type... " >&6; }
4480 if test ${ac_cv_build+y}
4481 then :
4482 printf %s "(cached) " >&6
4483 else $as_nop
4484 ac_build_alias=$build_alias
4485 test "x$ac_build_alias" = x &&
4486 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4487 test "x$ac_build_alias" = x &&
4488 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4489 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4490 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4494 printf "%s\n" "$ac_cv_build" >&6; }
4495 case $ac_cv_build in
4496 *-*-*) ;;
4497 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4498 esac
4499 build=$ac_cv_build
4500 ac_save_IFS=$IFS; IFS='-'
4501 set x $ac_cv_build
4502 shift
4503 build_cpu=$1
4504 build_vendor=$2
4505 shift; shift
4506 # Remember, the first character of IFS is used to create $*,
4507 # except with old shells:
4508 build_os=$*
4509 IFS=$ac_save_IFS
4510 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4514 printf %s "checking host system type... " >&6; }
4515 if test ${ac_cv_host+y}
4516 then :
4517 printf %s "(cached) " >&6
4518 else $as_nop
4519 if test "x$host_alias" = x; then
4520 ac_cv_host=$ac_cv_build
4521 else
4522 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4523 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4528 printf "%s\n" "$ac_cv_host" >&6; }
4529 case $ac_cv_host in
4530 *-*-*) ;;
4531 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4532 esac
4533 host=$ac_cv_host
4534 ac_save_IFS=$IFS; IFS='-'
4535 set x $ac_cv_host
4536 shift
4537 host_cpu=$1
4538 host_vendor=$2
4539 shift; shift
4540 # Remember, the first character of IFS is used to create $*,
4541 # except with old shells:
4542 host_os=$*
4543 IFS=$ac_save_IFS
4544 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4548 dlldir=\${libdir}/wine
4550 fontdir=\${datadir}/wine/fonts
4552 nlsdir=\${datadir}/wine/nls
4557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4558 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4559 set x ${MAKE-make}
4560 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4561 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4562 then :
4563 printf %s "(cached) " >&6
4564 else $as_nop
4565 cat >conftest.make <<\_ACEOF
4566 SHELL = /bin/sh
4567 all:
4568 @echo '@@@%%%=$(MAKE)=@@@%%%'
4569 _ACEOF
4570 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4571 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4572 *@@@%%%=?*=@@@%%%*)
4573 eval ac_cv_prog_make_${ac_make}_set=yes;;
4575 eval ac_cv_prog_make_${ac_make}_set=no;;
4576 esac
4577 rm -f conftest.make
4579 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4581 printf "%s\n" "yes" >&6; }
4582 SET_MAKE=
4583 else
4584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4585 printf "%s\n" "no" >&6; }
4586 SET_MAKE="MAKE=${MAKE-make}"
4598 ac_ext=c
4599 ac_cpp='$CPP $CPPFLAGS'
4600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4603 if test -n "$ac_tool_prefix"; then
4604 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4605 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 printf %s "checking for $ac_word... " >&6; }
4608 if test ${ac_cv_prog_CC+y}
4609 then :
4610 printf %s "(cached) " >&6
4611 else $as_nop
4612 if test -n "$CC"; then
4613 ac_cv_prog_CC="$CC" # Let the user override the test.
4614 else
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 for as_dir in $PATH
4618 IFS=$as_save_IFS
4619 case $as_dir in #(((
4620 '') as_dir=./ ;;
4621 */) ;;
4622 *) as_dir=$as_dir/ ;;
4623 esac
4624 for ac_exec_ext in '' $ac_executable_extensions; do
4625 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4626 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4628 break 2
4630 done
4631 done
4632 IFS=$as_save_IFS
4636 CC=$ac_cv_prog_CC
4637 if test -n "$CC"; then
4638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4639 printf "%s\n" "$CC" >&6; }
4640 else
4641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 printf "%s\n" "no" >&6; }
4647 if test -z "$ac_cv_prog_CC"; then
4648 ac_ct_CC=$CC
4649 # Extract the first word of "gcc", so it can be a program name with args.
4650 set dummy gcc; ac_word=$2
4651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 printf %s "checking for $ac_word... " >&6; }
4653 if test ${ac_cv_prog_ac_ct_CC+y}
4654 then :
4655 printf %s "(cached) " >&6
4656 else $as_nop
4657 if test -n "$ac_ct_CC"; then
4658 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4659 else
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661 for as_dir in $PATH
4663 IFS=$as_save_IFS
4664 case $as_dir in #(((
4665 '') as_dir=./ ;;
4666 */) ;;
4667 *) as_dir=$as_dir/ ;;
4668 esac
4669 for ac_exec_ext in '' $ac_executable_extensions; do
4670 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4671 ac_cv_prog_ac_ct_CC="gcc"
4672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4673 break 2
4675 done
4676 done
4677 IFS=$as_save_IFS
4681 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4682 if test -n "$ac_ct_CC"; then
4683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4684 printf "%s\n" "$ac_ct_CC" >&6; }
4685 else
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 printf "%s\n" "no" >&6; }
4690 if test "x$ac_ct_CC" = x; then
4691 CC=""
4692 else
4693 case $cross_compiling:$ac_tool_warned in
4694 yes:)
4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4696 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4697 ac_tool_warned=yes ;;
4698 esac
4699 CC=$ac_ct_CC
4701 else
4702 CC="$ac_cv_prog_CC"
4705 if test -z "$CC"; then
4706 if test -n "$ac_tool_prefix"; then
4707 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4708 set dummy ${ac_tool_prefix}cc; ac_word=$2
4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4710 printf %s "checking for $ac_word... " >&6; }
4711 if test ${ac_cv_prog_CC+y}
4712 then :
4713 printf %s "(cached) " >&6
4714 else $as_nop
4715 if test -n "$CC"; then
4716 ac_cv_prog_CC="$CC" # Let the user override the test.
4717 else
4718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4719 for as_dir in $PATH
4721 IFS=$as_save_IFS
4722 case $as_dir in #(((
4723 '') as_dir=./ ;;
4724 */) ;;
4725 *) as_dir=$as_dir/ ;;
4726 esac
4727 for ac_exec_ext in '' $ac_executable_extensions; do
4728 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4729 ac_cv_prog_CC="${ac_tool_prefix}cc"
4730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4731 break 2
4733 done
4734 done
4735 IFS=$as_save_IFS
4739 CC=$ac_cv_prog_CC
4740 if test -n "$CC"; then
4741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4742 printf "%s\n" "$CC" >&6; }
4743 else
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 printf "%s\n" "no" >&6; }
4751 if test -z "$CC"; then
4752 # Extract the first word of "cc", so it can be a program name with args.
4753 set dummy cc; ac_word=$2
4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4755 printf %s "checking for $ac_word... " >&6; }
4756 if test ${ac_cv_prog_CC+y}
4757 then :
4758 printf %s "(cached) " >&6
4759 else $as_nop
4760 if test -n "$CC"; then
4761 ac_cv_prog_CC="$CC" # Let the user override the test.
4762 else
4763 ac_prog_rejected=no
4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4765 for as_dir in $PATH
4767 IFS=$as_save_IFS
4768 case $as_dir in #(((
4769 '') as_dir=./ ;;
4770 */) ;;
4771 *) as_dir=$as_dir/ ;;
4772 esac
4773 for ac_exec_ext in '' $ac_executable_extensions; do
4774 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4775 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4776 ac_prog_rejected=yes
4777 continue
4779 ac_cv_prog_CC="cc"
4780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4781 break 2
4783 done
4784 done
4785 IFS=$as_save_IFS
4787 if test $ac_prog_rejected = yes; then
4788 # We found a bogon in the path, so make sure we never use it.
4789 set dummy $ac_cv_prog_CC
4790 shift
4791 if test $# != 0; then
4792 # We chose a different compiler from the bogus one.
4793 # However, it has the same basename, so the bogon will be chosen
4794 # first if we set CC to just the basename; use the full file name.
4795 shift
4796 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4801 CC=$ac_cv_prog_CC
4802 if test -n "$CC"; then
4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4804 printf "%s\n" "$CC" >&6; }
4805 else
4806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4807 printf "%s\n" "no" >&6; }
4812 if test -z "$CC"; then
4813 if test -n "$ac_tool_prefix"; then
4814 for ac_prog in cl.exe
4816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4817 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4819 printf %s "checking for $ac_word... " >&6; }
4820 if test ${ac_cv_prog_CC+y}
4821 then :
4822 printf %s "(cached) " >&6
4823 else $as_nop
4824 if test -n "$CC"; then
4825 ac_cv_prog_CC="$CC" # Let the user override the test.
4826 else
4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 for as_dir in $PATH
4830 IFS=$as_save_IFS
4831 case $as_dir in #(((
4832 '') as_dir=./ ;;
4833 */) ;;
4834 *) as_dir=$as_dir/ ;;
4835 esac
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4838 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4840 break 2
4842 done
4843 done
4844 IFS=$as_save_IFS
4848 CC=$ac_cv_prog_CC
4849 if test -n "$CC"; then
4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4851 printf "%s\n" "$CC" >&6; }
4852 else
4853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 printf "%s\n" "no" >&6; }
4858 test -n "$CC" && break
4859 done
4861 if test -z "$CC"; then
4862 ac_ct_CC=$CC
4863 for ac_prog in cl.exe
4865 # Extract the first word of "$ac_prog", so it can be a program name with args.
4866 set dummy $ac_prog; ac_word=$2
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 printf %s "checking for $ac_word... " >&6; }
4869 if test ${ac_cv_prog_ac_ct_CC+y}
4870 then :
4871 printf %s "(cached) " >&6
4872 else $as_nop
4873 if test -n "$ac_ct_CC"; then
4874 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4875 else
4876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4877 for as_dir in $PATH
4879 IFS=$as_save_IFS
4880 case $as_dir in #(((
4881 '') as_dir=./ ;;
4882 */) ;;
4883 *) as_dir=$as_dir/ ;;
4884 esac
4885 for ac_exec_ext in '' $ac_executable_extensions; do
4886 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_ac_ct_CC="$ac_prog"
4888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4889 break 2
4891 done
4892 done
4893 IFS=$as_save_IFS
4897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4898 if test -n "$ac_ct_CC"; then
4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4900 printf "%s\n" "$ac_ct_CC" >&6; }
4901 else
4902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 printf "%s\n" "no" >&6; }
4907 test -n "$ac_ct_CC" && break
4908 done
4910 if test "x$ac_ct_CC" = x; then
4911 CC=""
4912 else
4913 case $cross_compiling:$ac_tool_warned in
4914 yes:)
4915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4916 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4917 ac_tool_warned=yes ;;
4918 esac
4919 CC=$ac_ct_CC
4924 if test -z "$CC"; then
4925 if test -n "$ac_tool_prefix"; then
4926 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4927 set dummy ${ac_tool_prefix}clang; ac_word=$2
4928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 printf %s "checking for $ac_word... " >&6; }
4930 if test ${ac_cv_prog_CC+y}
4931 then :
4932 printf %s "(cached) " >&6
4933 else $as_nop
4934 if test -n "$CC"; then
4935 ac_cv_prog_CC="$CC" # Let the user override the test.
4936 else
4937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4938 for as_dir in $PATH
4940 IFS=$as_save_IFS
4941 case $as_dir in #(((
4942 '') as_dir=./ ;;
4943 */) ;;
4944 *) as_dir=$as_dir/ ;;
4945 esac
4946 for ac_exec_ext in '' $ac_executable_extensions; do
4947 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_CC="${ac_tool_prefix}clang"
4949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4950 break 2
4952 done
4953 done
4954 IFS=$as_save_IFS
4958 CC=$ac_cv_prog_CC
4959 if test -n "$CC"; then
4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4961 printf "%s\n" "$CC" >&6; }
4962 else
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 printf "%s\n" "no" >&6; }
4969 if test -z "$ac_cv_prog_CC"; then
4970 ac_ct_CC=$CC
4971 # Extract the first word of "clang", so it can be a program name with args.
4972 set dummy clang; ac_word=$2
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 printf %s "checking for $ac_word... " >&6; }
4975 if test ${ac_cv_prog_ac_ct_CC+y}
4976 then :
4977 printf %s "(cached) " >&6
4978 else $as_nop
4979 if test -n "$ac_ct_CC"; then
4980 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4981 else
4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 for as_dir in $PATH
4985 IFS=$as_save_IFS
4986 case $as_dir in #(((
4987 '') as_dir=./ ;;
4988 */) ;;
4989 *) as_dir=$as_dir/ ;;
4990 esac
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_ac_ct_CC="clang"
4994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5004 if test -n "$ac_ct_CC"; then
5005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5006 printf "%s\n" "$ac_ct_CC" >&6; }
5007 else
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 printf "%s\n" "no" >&6; }
5012 if test "x$ac_ct_CC" = x; then
5013 CC=""
5014 else
5015 case $cross_compiling:$ac_tool_warned in
5016 yes:)
5017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5020 esac
5021 CC=$ac_ct_CC
5023 else
5024 CC="$ac_cv_prog_CC"
5030 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5031 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5032 as_fn_error $? "no acceptable C compiler found in \$PATH
5033 See \`config.log' for more details" "$LINENO" 5; }
5035 # Provide some information about the compiler.
5036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5037 set X $ac_compile
5038 ac_compiler=$2
5039 for ac_option in --version -v -V -qversion -version; do
5040 { { ac_try="$ac_compiler $ac_option >&5"
5041 case "(($ac_try" in
5042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5043 *) ac_try_echo=$ac_try;;
5044 esac
5045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5046 printf "%s\n" "$ac_try_echo"; } >&5
5047 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5048 ac_status=$?
5049 if test -s conftest.err; then
5050 sed '10a\
5051 ... rest of stderr output deleted ...
5052 10q' conftest.err >conftest.er1
5053 cat conftest.er1 >&5
5055 rm -f conftest.er1 conftest.err
5056 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5057 test $ac_status = 0; }
5058 done
5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5064 main (void)
5068 return 0;
5070 _ACEOF
5071 ac_clean_files_save=$ac_clean_files
5072 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5073 # Try to create an executable without -o first, disregard a.out.
5074 # It will help us diagnose broken compilers, and finding out an intuition
5075 # of exeext.
5076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5077 printf %s "checking whether the C compiler works... " >&6; }
5078 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5080 # The possible output files:
5081 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5083 ac_rmfiles=
5084 for ac_file in $ac_files
5086 case $ac_file in
5087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5088 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5089 esac
5090 done
5091 rm -f $ac_rmfiles
5093 if { { ac_try="$ac_link_default"
5094 case "(($ac_try" in
5095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5096 *) ac_try_echo=$ac_try;;
5097 esac
5098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5099 printf "%s\n" "$ac_try_echo"; } >&5
5100 (eval "$ac_link_default") 2>&5
5101 ac_status=$?
5102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5103 test $ac_status = 0; }
5104 then :
5105 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5106 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5107 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5108 # so that the user can short-circuit this test for compilers unknown to
5109 # Autoconf.
5110 for ac_file in $ac_files ''
5112 test -f "$ac_file" || continue
5113 case $ac_file in
5114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5116 [ab].out )
5117 # We found the default executable, but exeext='' is most
5118 # certainly right.
5119 break;;
5120 *.* )
5121 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5122 then :; else
5123 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5125 # We set ac_cv_exeext here because the later test for it is not
5126 # safe: cross compilers may not add the suffix if given an `-o'
5127 # argument, so we may need to know it at that point already.
5128 # Even if this section looks crufty: it has the advantage of
5129 # actually working.
5130 break;;
5132 break;;
5133 esac
5134 done
5135 test "$ac_cv_exeext" = no && ac_cv_exeext=
5137 else $as_nop
5138 ac_file=''
5140 if test -z "$ac_file"
5141 then :
5142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 printf "%s\n" "no" >&6; }
5144 printf "%s\n" "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5147 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5148 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5149 as_fn_error 77 "C compiler cannot create executables
5150 See \`config.log' for more details" "$LINENO" 5; }
5151 else $as_nop
5152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5153 printf "%s\n" "yes" >&6; }
5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5156 printf %s "checking for C compiler default output file name... " >&6; }
5157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5158 printf "%s\n" "$ac_file" >&6; }
5159 ac_exeext=$ac_cv_exeext
5161 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5162 ac_clean_files=$ac_clean_files_save
5163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5164 printf %s "checking for suffix of executables... " >&6; }
5165 if { { ac_try="$ac_link"
5166 case "(($ac_try" in
5167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5168 *) ac_try_echo=$ac_try;;
5169 esac
5170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5171 printf "%s\n" "$ac_try_echo"; } >&5
5172 (eval "$ac_link") 2>&5
5173 ac_status=$?
5174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5175 test $ac_status = 0; }
5176 then :
5177 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5178 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5179 # work properly (i.e., refer to `conftest.exe'), while it won't with
5180 # `rm'.
5181 for ac_file in conftest.exe conftest conftest.*; do
5182 test -f "$ac_file" || continue
5183 case $ac_file in
5184 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5185 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5186 break;;
5187 * ) break;;
5188 esac
5189 done
5190 else $as_nop
5191 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5192 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5193 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5194 See \`config.log' for more details" "$LINENO" 5; }
5196 rm -f conftest conftest$ac_cv_exeext
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5198 printf "%s\n" "$ac_cv_exeext" >&6; }
5200 rm -f conftest.$ac_ext
5201 EXEEXT=$ac_cv_exeext
5202 ac_exeext=$EXEEXT
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5205 #include <stdio.h>
5207 main (void)
5209 FILE *f = fopen ("conftest.out", "w");
5210 return ferror (f) || fclose (f) != 0;
5213 return 0;
5215 _ACEOF
5216 ac_clean_files="$ac_clean_files conftest.out"
5217 # Check that the compiler produces executables we can run. If not, either
5218 # the compiler is broken, or we cross compile.
5219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5220 printf %s "checking whether we are cross compiling... " >&6; }
5221 if test "$cross_compiling" != yes; then
5222 { { ac_try="$ac_link"
5223 case "(($ac_try" in
5224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5225 *) ac_try_echo=$ac_try;;
5226 esac
5227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5228 printf "%s\n" "$ac_try_echo"; } >&5
5229 (eval "$ac_link") 2>&5
5230 ac_status=$?
5231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5232 test $ac_status = 0; }
5233 if { ac_try='./conftest$ac_cv_exeext'
5234 { { case "(($ac_try" in
5235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5236 *) ac_try_echo=$ac_try;;
5237 esac
5238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5239 printf "%s\n" "$ac_try_echo"; } >&5
5240 (eval "$ac_try") 2>&5
5241 ac_status=$?
5242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5243 test $ac_status = 0; }; }; then
5244 cross_compiling=no
5245 else
5246 if test "$cross_compiling" = maybe; then
5247 cross_compiling=yes
5248 else
5249 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5250 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5251 as_fn_error 77 "cannot run C compiled programs.
5252 If you meant to cross compile, use \`--host'.
5253 See \`config.log' for more details" "$LINENO" 5; }
5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5258 printf "%s\n" "$cross_compiling" >&6; }
5260 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5261 ac_clean_files=$ac_clean_files_save
5262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5263 printf %s "checking for suffix of object files... " >&6; }
5264 if test ${ac_cv_objext+y}
5265 then :
5266 printf %s "(cached) " >&6
5267 else $as_nop
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5272 main (void)
5276 return 0;
5278 _ACEOF
5279 rm -f conftest.o conftest.obj
5280 if { { ac_try="$ac_compile"
5281 case "(($ac_try" in
5282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5283 *) ac_try_echo=$ac_try;;
5284 esac
5285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5286 printf "%s\n" "$ac_try_echo"; } >&5
5287 (eval "$ac_compile") 2>&5
5288 ac_status=$?
5289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5290 test $ac_status = 0; }
5291 then :
5292 for ac_file in conftest.o conftest.obj conftest.*; do
5293 test -f "$ac_file" || continue;
5294 case $ac_file in
5295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5296 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5297 break;;
5298 esac
5299 done
5300 else $as_nop
5301 printf "%s\n" "$as_me: failed program was:" >&5
5302 sed 's/^/| /' conftest.$ac_ext >&5
5304 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5305 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5306 as_fn_error $? "cannot compute suffix of object files: cannot compile
5307 See \`config.log' for more details" "$LINENO" 5; }
5309 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5312 printf "%s\n" "$ac_cv_objext" >&6; }
5313 OBJEXT=$ac_cv_objext
5314 ac_objext=$OBJEXT
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5316 printf %s "checking whether the compiler supports GNU C... " >&6; }
5317 if test ${ac_cv_c_compiler_gnu+y}
5318 then :
5319 printf %s "(cached) " >&6
5320 else $as_nop
5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5325 main (void)
5327 #ifndef __GNUC__
5328 choke me
5329 #endif
5332 return 0;
5334 _ACEOF
5335 if ac_fn_c_try_compile "$LINENO"
5336 then :
5337 ac_compiler_gnu=yes
5338 else $as_nop
5339 ac_compiler_gnu=no
5341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5342 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5346 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5349 if test $ac_compiler_gnu = yes; then
5350 GCC=yes
5351 else
5352 GCC=
5354 ac_test_CFLAGS=${CFLAGS+y}
5355 ac_save_CFLAGS=$CFLAGS
5356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5357 printf %s "checking whether $CC accepts -g... " >&6; }
5358 if test ${ac_cv_prog_cc_g+y}
5359 then :
5360 printf %s "(cached) " >&6
5361 else $as_nop
5362 ac_save_c_werror_flag=$ac_c_werror_flag
5363 ac_c_werror_flag=yes
5364 ac_cv_prog_cc_g=no
5365 CFLAGS="-g"
5366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5367 /* end confdefs.h. */
5370 main (void)
5374 return 0;
5376 _ACEOF
5377 if ac_fn_c_try_compile "$LINENO"
5378 then :
5379 ac_cv_prog_cc_g=yes
5380 else $as_nop
5381 CFLAGS=""
5382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5383 /* end confdefs.h. */
5386 main (void)
5390 return 0;
5392 _ACEOF
5393 if ac_fn_c_try_compile "$LINENO"
5394 then :
5396 else $as_nop
5397 ac_c_werror_flag=$ac_save_c_werror_flag
5398 CFLAGS="-g"
5399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5403 main (void)
5407 return 0;
5409 _ACEOF
5410 if ac_fn_c_try_compile "$LINENO"
5411 then :
5412 ac_cv_prog_cc_g=yes
5414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5419 ac_c_werror_flag=$ac_save_c_werror_flag
5421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5422 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5423 if test $ac_test_CFLAGS; then
5424 CFLAGS=$ac_save_CFLAGS
5425 elif test $ac_cv_prog_cc_g = yes; then
5426 if test "$GCC" = yes; then
5427 CFLAGS="-g -O2"
5428 else
5429 CFLAGS="-g"
5431 else
5432 if test "$GCC" = yes; then
5433 CFLAGS="-O2"
5434 else
5435 CFLAGS=
5438 ac_prog_cc_stdc=no
5439 if test x$ac_prog_cc_stdc = xno
5440 then :
5441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5442 printf %s "checking for $CC option to enable C11 features... " >&6; }
5443 if test ${ac_cv_prog_cc_c11+y}
5444 then :
5445 printf %s "(cached) " >&6
5446 else $as_nop
5447 ac_cv_prog_cc_c11=no
5448 ac_save_CC=$CC
5449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5450 /* end confdefs.h. */
5451 $ac_c_conftest_c11_program
5452 _ACEOF
5453 for ac_arg in '' -std=gnu11
5455 CC="$ac_save_CC $ac_arg"
5456 if ac_fn_c_try_compile "$LINENO"
5457 then :
5458 ac_cv_prog_cc_c11=$ac_arg
5460 rm -f core conftest.err conftest.$ac_objext conftest.beam
5461 test "x$ac_cv_prog_cc_c11" != "xno" && break
5462 done
5463 rm -f conftest.$ac_ext
5464 CC=$ac_save_CC
5467 if test "x$ac_cv_prog_cc_c11" = xno
5468 then :
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5470 printf "%s\n" "unsupported" >&6; }
5471 else $as_nop
5472 if test "x$ac_cv_prog_cc_c11" = x
5473 then :
5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5475 printf "%s\n" "none needed" >&6; }
5476 else $as_nop
5477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5478 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5479 CC="$CC $ac_cv_prog_cc_c11"
5481 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5482 ac_prog_cc_stdc=c11
5485 if test x$ac_prog_cc_stdc = xno
5486 then :
5487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5488 printf %s "checking for $CC option to enable C99 features... " >&6; }
5489 if test ${ac_cv_prog_cc_c99+y}
5490 then :
5491 printf %s "(cached) " >&6
5492 else $as_nop
5493 ac_cv_prog_cc_c99=no
5494 ac_save_CC=$CC
5495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5497 $ac_c_conftest_c99_program
5498 _ACEOF
5499 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5501 CC="$ac_save_CC $ac_arg"
5502 if ac_fn_c_try_compile "$LINENO"
5503 then :
5504 ac_cv_prog_cc_c99=$ac_arg
5506 rm -f core conftest.err conftest.$ac_objext conftest.beam
5507 test "x$ac_cv_prog_cc_c99" != "xno" && break
5508 done
5509 rm -f conftest.$ac_ext
5510 CC=$ac_save_CC
5513 if test "x$ac_cv_prog_cc_c99" = xno
5514 then :
5515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5516 printf "%s\n" "unsupported" >&6; }
5517 else $as_nop
5518 if test "x$ac_cv_prog_cc_c99" = x
5519 then :
5520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5521 printf "%s\n" "none needed" >&6; }
5522 else $as_nop
5523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5524 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5525 CC="$CC $ac_cv_prog_cc_c99"
5527 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5528 ac_prog_cc_stdc=c99
5531 if test x$ac_prog_cc_stdc = xno
5532 then :
5533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5534 printf %s "checking for $CC option to enable C89 features... " >&6; }
5535 if test ${ac_cv_prog_cc_c89+y}
5536 then :
5537 printf %s "(cached) " >&6
5538 else $as_nop
5539 ac_cv_prog_cc_c89=no
5540 ac_save_CC=$CC
5541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5542 /* end confdefs.h. */
5543 $ac_c_conftest_c89_program
5544 _ACEOF
5545 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5547 CC="$ac_save_CC $ac_arg"
5548 if ac_fn_c_try_compile "$LINENO"
5549 then :
5550 ac_cv_prog_cc_c89=$ac_arg
5552 rm -f core conftest.err conftest.$ac_objext conftest.beam
5553 test "x$ac_cv_prog_cc_c89" != "xno" && break
5554 done
5555 rm -f conftest.$ac_ext
5556 CC=$ac_save_CC
5559 if test "x$ac_cv_prog_cc_c89" = xno
5560 then :
5561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5562 printf "%s\n" "unsupported" >&6; }
5563 else $as_nop
5564 if test "x$ac_cv_prog_cc_c89" = x
5565 then :
5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5567 printf "%s\n" "none needed" >&6; }
5568 else $as_nop
5569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5570 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5571 CC="$CC $ac_cv_prog_cc_c89"
5573 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5574 ac_prog_cc_stdc=c89
5578 ac_ext=c
5579 ac_cpp='$CPP $CPPFLAGS'
5580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5590 ac_ext=cpp
5591 ac_cpp='$CXXCPP $CPPFLAGS'
5592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5595 if test -z "$CXX"; then
5596 if test -n "$CCC"; then
5597 CXX=$CCC
5598 else
5599 if test -n "$ac_tool_prefix"; then
5600 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5605 printf %s "checking for $ac_word... " >&6; }
5606 if test ${ac_cv_prog_CXX+y}
5607 then :
5608 printf %s "(cached) " >&6
5609 else $as_nop
5610 if test -n "$CXX"; then
5611 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5612 else
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 for as_dir in $PATH
5616 IFS=$as_save_IFS
5617 case $as_dir in #(((
5618 '') as_dir=./ ;;
5619 */) ;;
5620 *) as_dir=$as_dir/ ;;
5621 esac
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5624 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5626 break 2
5628 done
5629 done
5630 IFS=$as_save_IFS
5634 CXX=$ac_cv_prog_CXX
5635 if test -n "$CXX"; then
5636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5637 printf "%s\n" "$CXX" >&6; }
5638 else
5639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 printf "%s\n" "no" >&6; }
5644 test -n "$CXX" && break
5645 done
5647 if test -z "$CXX"; then
5648 ac_ct_CXX=$CXX
5649 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5651 # Extract the first word of "$ac_prog", so it can be a program name with args.
5652 set dummy $ac_prog; ac_word=$2
5653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5654 printf %s "checking for $ac_word... " >&6; }
5655 if test ${ac_cv_prog_ac_ct_CXX+y}
5656 then :
5657 printf %s "(cached) " >&6
5658 else $as_nop
5659 if test -n "$ac_ct_CXX"; then
5660 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5661 else
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5663 for as_dir in $PATH
5665 IFS=$as_save_IFS
5666 case $as_dir in #(((
5667 '') as_dir=./ ;;
5668 */) ;;
5669 *) as_dir=$as_dir/ ;;
5670 esac
5671 for ac_exec_ext in '' $ac_executable_extensions; do
5672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5673 ac_cv_prog_ac_ct_CXX="$ac_prog"
5674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5675 break 2
5677 done
5678 done
5679 IFS=$as_save_IFS
5683 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5684 if test -n "$ac_ct_CXX"; then
5685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5686 printf "%s\n" "$ac_ct_CXX" >&6; }
5687 else
5688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689 printf "%s\n" "no" >&6; }
5693 test -n "$ac_ct_CXX" && break
5694 done
5696 if test "x$ac_ct_CXX" = x; then
5697 CXX="g++"
5698 else
5699 case $cross_compiling:$ac_tool_warned in
5700 yes:)
5701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5702 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5703 ac_tool_warned=yes ;;
5704 esac
5705 CXX=$ac_ct_CXX
5711 # Provide some information about the compiler.
5712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5713 set X $ac_compile
5714 ac_compiler=$2
5715 for ac_option in --version -v -V -qversion; do
5716 { { ac_try="$ac_compiler $ac_option >&5"
5717 case "(($ac_try" in
5718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5719 *) ac_try_echo=$ac_try;;
5720 esac
5721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5722 printf "%s\n" "$ac_try_echo"; } >&5
5723 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5724 ac_status=$?
5725 if test -s conftest.err; then
5726 sed '10a\
5727 ... rest of stderr output deleted ...
5728 10q' conftest.err >conftest.er1
5729 cat conftest.er1 >&5
5731 rm -f conftest.er1 conftest.err
5732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5733 test $ac_status = 0; }
5734 done
5736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5737 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5738 if test ${ac_cv_cxx_compiler_gnu+y}
5739 then :
5740 printf %s "(cached) " >&6
5741 else $as_nop
5742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5743 /* end confdefs.h. */
5746 main (void)
5748 #ifndef __GNUC__
5749 choke me
5750 #endif
5753 return 0;
5755 _ACEOF
5756 if ac_fn_cxx_try_compile "$LINENO"
5757 then :
5758 ac_compiler_gnu=yes
5759 else $as_nop
5760 ac_compiler_gnu=no
5762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5763 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5767 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5770 if test $ac_compiler_gnu = yes; then
5771 GXX=yes
5772 else
5773 GXX=
5775 ac_test_CXXFLAGS=${CXXFLAGS+y}
5776 ac_save_CXXFLAGS=$CXXFLAGS
5777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5778 printf %s "checking whether $CXX accepts -g... " >&6; }
5779 if test ${ac_cv_prog_cxx_g+y}
5780 then :
5781 printf %s "(cached) " >&6
5782 else $as_nop
5783 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5784 ac_cxx_werror_flag=yes
5785 ac_cv_prog_cxx_g=no
5786 CXXFLAGS="-g"
5787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5788 /* end confdefs.h. */
5791 main (void)
5795 return 0;
5797 _ACEOF
5798 if ac_fn_cxx_try_compile "$LINENO"
5799 then :
5800 ac_cv_prog_cxx_g=yes
5801 else $as_nop
5802 CXXFLAGS=""
5803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h. */
5807 main (void)
5811 return 0;
5813 _ACEOF
5814 if ac_fn_cxx_try_compile "$LINENO"
5815 then :
5817 else $as_nop
5818 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5819 CXXFLAGS="-g"
5820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5821 /* end confdefs.h. */
5824 main (void)
5828 return 0;
5830 _ACEOF
5831 if ac_fn_cxx_try_compile "$LINENO"
5832 then :
5833 ac_cv_prog_cxx_g=yes
5835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5840 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5843 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5844 if test $ac_test_CXXFLAGS; then
5845 CXXFLAGS=$ac_save_CXXFLAGS
5846 elif test $ac_cv_prog_cxx_g = yes; then
5847 if test "$GXX" = yes; then
5848 CXXFLAGS="-g -O2"
5849 else
5850 CXXFLAGS="-g"
5852 else
5853 if test "$GXX" = yes; then
5854 CXXFLAGS="-O2"
5855 else
5856 CXXFLAGS=
5859 ac_prog_cxx_stdcxx=no
5860 if test x$ac_prog_cxx_stdcxx = xno
5861 then :
5862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5863 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5864 if test ${ac_cv_prog_cxx_11+y}
5865 then :
5866 printf %s "(cached) " >&6
5867 else $as_nop
5868 ac_cv_prog_cxx_11=no
5869 ac_save_CXX=$CXX
5870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5871 /* end confdefs.h. */
5872 $ac_cxx_conftest_cxx11_program
5873 _ACEOF
5874 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5876 CXX="$ac_save_CXX $ac_arg"
5877 if ac_fn_cxx_try_compile "$LINENO"
5878 then :
5879 ac_cv_prog_cxx_cxx11=$ac_arg
5881 rm -f core conftest.err conftest.$ac_objext conftest.beam
5882 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5883 done
5884 rm -f conftest.$ac_ext
5885 CXX=$ac_save_CXX
5888 if test "x$ac_cv_prog_cxx_cxx11" = xno
5889 then :
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5891 printf "%s\n" "unsupported" >&6; }
5892 else $as_nop
5893 if test "x$ac_cv_prog_cxx_cxx11" = x
5894 then :
5895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5896 printf "%s\n" "none needed" >&6; }
5897 else $as_nop
5898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5899 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5900 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5902 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5903 ac_prog_cxx_stdcxx=cxx11
5906 if test x$ac_prog_cxx_stdcxx = xno
5907 then :
5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5909 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5910 if test ${ac_cv_prog_cxx_98+y}
5911 then :
5912 printf %s "(cached) " >&6
5913 else $as_nop
5914 ac_cv_prog_cxx_98=no
5915 ac_save_CXX=$CXX
5916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5917 /* end confdefs.h. */
5918 $ac_cxx_conftest_cxx98_program
5919 _ACEOF
5920 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5922 CXX="$ac_save_CXX $ac_arg"
5923 if ac_fn_cxx_try_compile "$LINENO"
5924 then :
5925 ac_cv_prog_cxx_cxx98=$ac_arg
5927 rm -f core conftest.err conftest.$ac_objext conftest.beam
5928 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5929 done
5930 rm -f conftest.$ac_ext
5931 CXX=$ac_save_CXX
5934 if test "x$ac_cv_prog_cxx_cxx98" = xno
5935 then :
5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5937 printf "%s\n" "unsupported" >&6; }
5938 else $as_nop
5939 if test "x$ac_cv_prog_cxx_cxx98" = x
5940 then :
5941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5942 printf "%s\n" "none needed" >&6; }
5943 else $as_nop
5944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5945 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5946 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5948 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5949 ac_prog_cxx_stdcxx=cxx98
5953 ac_ext=c
5954 ac_cpp='$CPP $CPPFLAGS'
5955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5959 if test -n "$ac_tool_prefix"; then
5960 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5961 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 printf %s "checking for $ac_word... " >&6; }
5964 if test ${ac_cv_prog_CPPBIN+y}
5965 then :
5966 printf %s "(cached) " >&6
5967 else $as_nop
5968 if test -n "$CPPBIN"; then
5969 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5970 else
5971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972 for as_dir in $PATH
5974 IFS=$as_save_IFS
5975 case $as_dir in #(((
5976 '') as_dir=./ ;;
5977 */) ;;
5978 *) as_dir=$as_dir/ ;;
5979 esac
5980 for ac_exec_ext in '' $ac_executable_extensions; do
5981 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5982 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5984 break 2
5986 done
5987 done
5988 IFS=$as_save_IFS
5992 CPPBIN=$ac_cv_prog_CPPBIN
5993 if test -n "$CPPBIN"; then
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5995 printf "%s\n" "$CPPBIN" >&6; }
5996 else
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998 printf "%s\n" "no" >&6; }
6003 if test -z "$ac_cv_prog_CPPBIN"; then
6004 ac_ct_CPPBIN=$CPPBIN
6005 # Extract the first word of "cpp", so it can be a program name with args.
6006 set dummy cpp; ac_word=$2
6007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6008 printf %s "checking for $ac_word... " >&6; }
6009 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6010 then :
6011 printf %s "(cached) " >&6
6012 else $as_nop
6013 if test -n "$ac_ct_CPPBIN"; then
6014 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6015 else
6016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6017 for as_dir in $PATH
6019 IFS=$as_save_IFS
6020 case $as_dir in #(((
6021 '') as_dir=./ ;;
6022 */) ;;
6023 *) as_dir=$as_dir/ ;;
6024 esac
6025 for ac_exec_ext in '' $ac_executable_extensions; do
6026 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6027 ac_cv_prog_ac_ct_CPPBIN="cpp"
6028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6029 break 2
6031 done
6032 done
6033 IFS=$as_save_IFS
6037 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6038 if test -n "$ac_ct_CPPBIN"; then
6039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6040 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6041 else
6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 printf "%s\n" "no" >&6; }
6046 if test "x$ac_ct_CPPBIN" = x; then
6047 CPPBIN="cpp"
6048 else
6049 case $cross_compiling:$ac_tool_warned in
6050 yes:)
6051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6052 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6053 ac_tool_warned=yes ;;
6054 esac
6055 CPPBIN=$ac_ct_CPPBIN
6057 else
6058 CPPBIN="$ac_cv_prog_CPPBIN"
6062 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6064 if test -n "$ac_tool_prefix"; then
6065 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6066 set dummy ${ac_tool_prefix}ld; ac_word=$2
6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6068 printf %s "checking for $ac_word... " >&6; }
6069 if test ${ac_cv_prog_LD+y}
6070 then :
6071 printf %s "(cached) " >&6
6072 else $as_nop
6073 if test -n "$LD"; then
6074 ac_cv_prog_LD="$LD" # Let the user override the test.
6075 else
6076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077 for as_dir in $PATH
6079 IFS=$as_save_IFS
6080 case $as_dir in #(((
6081 '') as_dir=./ ;;
6082 */) ;;
6083 *) as_dir=$as_dir/ ;;
6084 esac
6085 for ac_exec_ext in '' $ac_executable_extensions; do
6086 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6087 ac_cv_prog_LD="${ac_tool_prefix}ld"
6088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6089 break 2
6091 done
6092 done
6093 IFS=$as_save_IFS
6097 LD=$ac_cv_prog_LD
6098 if test -n "$LD"; then
6099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6100 printf "%s\n" "$LD" >&6; }
6101 else
6102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103 printf "%s\n" "no" >&6; }
6108 if test -z "$ac_cv_prog_LD"; then
6109 ac_ct_LD=$LD
6110 # Extract the first word of "ld", so it can be a program name with args.
6111 set dummy ld; ac_word=$2
6112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6113 printf %s "checking for $ac_word... " >&6; }
6114 if test ${ac_cv_prog_ac_ct_LD+y}
6115 then :
6116 printf %s "(cached) " >&6
6117 else $as_nop
6118 if test -n "$ac_ct_LD"; then
6119 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6120 else
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 for as_dir in $PATH
6124 IFS=$as_save_IFS
6125 case $as_dir in #(((
6126 '') as_dir=./ ;;
6127 */) ;;
6128 *) as_dir=$as_dir/ ;;
6129 esac
6130 for ac_exec_ext in '' $ac_executable_extensions; do
6131 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6132 ac_cv_prog_ac_ct_LD="ld"
6133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6134 break 2
6136 done
6137 done
6138 IFS=$as_save_IFS
6142 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6143 if test -n "$ac_ct_LD"; then
6144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6145 printf "%s\n" "$ac_ct_LD" >&6; }
6146 else
6147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6148 printf "%s\n" "no" >&6; }
6151 if test "x$ac_ct_LD" = x; then
6152 LD=""
6153 else
6154 case $cross_compiling:$ac_tool_warned in
6155 yes:)
6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6157 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6158 ac_tool_warned=yes ;;
6159 esac
6160 LD=$ac_ct_LD
6162 else
6163 LD="$ac_cv_prog_LD"
6167 case $host in
6168 *-darwin*)
6169 with_fontconfig=${with_fontconfig:-no}
6171 *-mingw32*|*-cygwin*)
6172 enable_win16=${enable_win16:-no}
6173 with_mingw=${with_mingw:-no}
6175 esac
6178 case $host in
6179 x86_64*|amd64*)
6180 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6181 then
6182 CC="$CC -m32"
6183 CXX="$CXX -m32"
6185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6186 printf %s "checking whether $CC works... " >&6; }
6187 if test ${wine_cv_cc_m32+y}
6188 then :
6189 printf %s "(cached) " >&6
6190 else $as_nop
6191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6192 /* end confdefs.h. */
6195 main (void)
6199 return 0;
6201 _ACEOF
6202 if ac_fn_c_try_link "$LINENO"
6203 then :
6204 wine_cv_cc_m32=yes
6205 else $as_nop
6206 wine_cv_cc_m32=no
6208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6209 conftest$ac_exeext conftest.$ac_ext
6211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6212 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6213 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
6214 host_cpu="i386"
6215 notice_platform="32-bit "
6216 TARGETFLAGS="$TARGETFLAGS -m32"
6217 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6218 export PKG_CONFIG_PATH
6219 enable_win16=${enable_win16:-yes}
6220 with_unwind=${with_unwind:-no}
6221 else
6222 if test "x${GCC}" = "xyes"
6223 then
6224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6225 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6226 if test ${wine_cv_builtin_ms_va_list+y}
6227 then :
6228 printf %s "(cached) " >&6
6229 else $as_nop
6230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6231 /* end confdefs.h. */
6232 #include <stdarg.h>
6234 main (void)
6236 void func(__builtin_ms_va_list *args);
6238 return 0;
6240 _ACEOF
6241 if ac_fn_c_try_compile "$LINENO"
6242 then :
6243 wine_cv_builtin_ms_va_list=yes
6244 else $as_nop
6245 wine_cv_builtin_ms_va_list=no
6247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6250 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6251 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
6253 CC="$CC -m64"
6254 CXX="$CXX -m64"
6255 host_cpu="x86_64"
6256 notice_platform="64-bit "
6257 TARGETFLAGS="$TARGETFLAGS -m64"
6258 enable_wow64=${enable_wow64:-yes}
6259 enable_wow64win=${enable_wow64win:-yes}
6260 enable_wow64cpu=${enable_wow64cpu:-yes}
6263 arm*)
6264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6265 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6266 if test ${wine_cv_thumb2+y}
6267 then :
6268 printf %s "(cached) " >&6
6269 else $as_nop
6270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6271 /* end confdefs.h. */
6274 main (void)
6276 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6278 return 0;
6280 _ACEOF
6281 if ac_fn_c_try_link "$LINENO"
6282 then :
6283 wine_cv_thumb2=yes
6284 else $as_nop
6285 wine_cv_thumb2=no
6287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6288 conftest$ac_exeext conftest.$ac_ext
6290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6291 printf "%s\n" "$wine_cv_thumb2" >&6; }
6292 if test x"$wine_cv_thumb2" = xyes
6293 then
6294 CFLAGS="$CFLAGS -mthumb"
6295 TARGETFLAGS="$TARGETFLAGS -mthumb"
6296 else
6297 CFLAGS="$CFLAGS -marm"
6298 TARGETFLAGS="$TARGETFLAGS -marm"
6300 case $with_float_abi in
6301 soft|softfp|hard)
6302 float_abi=$with_float_abi ;;
6304 case $host_os in
6305 *eabihf)
6306 float_abi=hard ;;
6308 float_abi=softfp
6309 saved_CFLAGS=$CFLAGS
6310 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6312 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6313 if test ${wine_cv_float_abi+y}
6314 then :
6315 printf %s "(cached) " >&6
6316 else $as_nop
6317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6321 main (void)
6323 asm("vmrs r2,fpscr");
6325 return 0;
6327 _ACEOF
6328 if ac_fn_c_try_link "$LINENO"
6329 then :
6330 wine_cv_float_abi=yes
6331 else $as_nop
6332 wine_cv_float_abi=no
6334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6335 conftest$ac_exeext conftest.$ac_ext
6337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6338 printf "%s\n" "$wine_cv_float_abi" >&6; }
6339 if test $wine_cv_float_abi = no
6340 then
6341 float_abi=soft
6342 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6344 CFLAGS=$saved_CFLAGS
6345 esac
6347 esac
6348 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6349 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6351 aarch64*)
6352 enable_wow64=${enable_wow64:-yes}
6353 enable_wow64win=${enable_wow64win:-yes}
6355 i[3456789]86*)
6356 enable_win16=${enable_win16:-yes}
6357 with_unwind=${with_unwind:-no}
6359 esac
6361 enable_win16=${enable_win16:-no}
6362 enable_win64=${enable_win64:-no}
6363 enable_wow64=${enable_wow64:-no}
6364 enable_wow64win=${enable_wow64win:-no}
6365 enable_wow64cpu=${enable_wow64cpu:-no}
6367 enable_winetest=${enable_winetest:-$enable_tests}
6369 if test "x$enable_win64" = "xyes"
6370 then
6371 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6372 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6375 case $build_os in
6376 cygwin*|mingw32*) toolsext=".exe"
6378 *) toolsext=""
6380 esac
6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6383 printf %s "checking for the directory containing the Wine tools... " >&6; }
6384 if test ${wine_cv_toolsdir+y}
6385 then :
6386 printf %s "(cached) " >&6
6387 else $as_nop
6388 wine_cv_toolsdir="$with_wine_tools"
6389 if test -z "$with_wine_tools"; then
6390 if test "$cross_compiling" = "yes"; then
6391 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6392 elif test -n "$with_wine64"; then
6393 wine_cv_toolsdir="$with_wine64"
6397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6398 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6399 if test -z "$wine_cv_toolsdir"; then
6400 wine_makedep=tools/makedep$toolsext
6401 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6402 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6403 enable_tools=${enable_tools:-no}
6404 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6405 else
6406 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6408 toolsdir=$wine_cv_toolsdir
6410 MAKEDEP=$wine_makedep
6412 RUNTESTFLAGS="-q -P wine"
6414 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'"
6417 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6418 then
6419 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6422 for ac_prog in flex
6424 # Extract the first word of "$ac_prog", so it can be a program name with args.
6425 set dummy $ac_prog; ac_word=$2
6426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 printf %s "checking for $ac_word... " >&6; }
6428 if test ${ac_cv_prog_FLEX+y}
6429 then :
6430 printf %s "(cached) " >&6
6431 else $as_nop
6432 if test -n "$FLEX"; then
6433 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6438 IFS=$as_save_IFS
6439 case $as_dir in #(((
6440 '') as_dir=./ ;;
6441 */) ;;
6442 *) as_dir=$as_dir/ ;;
6443 esac
6444 for ac_exec_ext in '' $ac_executable_extensions; do
6445 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6446 ac_cv_prog_FLEX="$ac_prog"
6447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6448 break 2
6450 done
6451 done
6452 IFS=$as_save_IFS
6456 FLEX=$ac_cv_prog_FLEX
6457 if test -n "$FLEX"; then
6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6459 printf "%s\n" "$FLEX" >&6; }
6460 else
6461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6462 printf "%s\n" "no" >&6; }
6466 test -n "$FLEX" && break
6467 done
6468 test -n "$FLEX" || FLEX="none"
6470 if test "$FLEX" = "none"
6471 then
6472 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6475 printf %s "checking whether flex is recent enough... " >&6; }
6476 if test ${wine_cv_recent_flex+y}
6477 then :
6478 printf %s "(cached) " >&6
6479 else $as_nop
6480 cat >conftest.l <<EOF
6481 %top{
6482 #include "prediluvian.h"
6486 if $FLEX -t conftest.l >/dev/null 2>&5
6487 then
6488 wine_cv_recent_flex=yes
6489 else
6490 wine_cv_recent_flex=no
6493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6494 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6495 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
6497 for ac_prog in bison
6499 # Extract the first word of "$ac_prog", so it can be a program name with args.
6500 set dummy $ac_prog; ac_word=$2
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 printf %s "checking for $ac_word... " >&6; }
6503 if test ${ac_cv_prog_BISON+y}
6504 then :
6505 printf %s "(cached) " >&6
6506 else $as_nop
6507 if test -n "$BISON"; then
6508 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6509 else
6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 for as_dir in $PATH
6513 IFS=$as_save_IFS
6514 case $as_dir in #(((
6515 '') as_dir=./ ;;
6516 */) ;;
6517 *) as_dir=$as_dir/ ;;
6518 esac
6519 for ac_exec_ext in '' $ac_executable_extensions; do
6520 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6521 ac_cv_prog_BISON="$ac_prog"
6522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6523 break 2
6525 done
6526 done
6527 IFS=$as_save_IFS
6531 BISON=$ac_cv_prog_BISON
6532 if test -n "$BISON"; then
6533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6534 printf "%s\n" "$BISON" >&6; }
6535 else
6536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537 printf "%s\n" "no" >&6; }
6541 test -n "$BISON" && break
6542 done
6543 test -n "$BISON" || BISON="none"
6545 if test "$BISON" = "none"
6546 then
6547 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6550 printf %s "checking whether bison is recent enough... " >&6; }
6551 if test ${wine_cv_recent_bison+y}
6552 then :
6553 printf %s "(cached) " >&6
6554 else $as_nop
6555 cat >conftest.y <<EOF
6556 %define parse.error verbose
6558 empty: ;
6560 if $BISON conftest.y >/dev/null 2>&5
6561 then
6562 wine_cv_recent_bison=yes
6563 else
6564 wine_cv_recent_bison=no
6567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6568 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6569 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
6571 if test -n "$ac_tool_prefix"; then
6572 for ac_prog in ar gar
6574 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6575 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577 printf %s "checking for $ac_word... " >&6; }
6578 if test ${ac_cv_prog_AR+y}
6579 then :
6580 printf %s "(cached) " >&6
6581 else $as_nop
6582 if test -n "$AR"; then
6583 ac_cv_prog_AR="$AR" # Let the user override the test.
6584 else
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 for as_dir in $PATH
6588 IFS=$as_save_IFS
6589 case $as_dir in #(((
6590 '') as_dir=./ ;;
6591 */) ;;
6592 *) as_dir=$as_dir/ ;;
6593 esac
6594 for ac_exec_ext in '' $ac_executable_extensions; do
6595 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6596 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6598 break 2
6600 done
6601 done
6602 IFS=$as_save_IFS
6606 AR=$ac_cv_prog_AR
6607 if test -n "$AR"; then
6608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6609 printf "%s\n" "$AR" >&6; }
6610 else
6611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612 printf "%s\n" "no" >&6; }
6616 test -n "$AR" && break
6617 done
6619 if test -z "$AR"; then
6620 ac_ct_AR=$AR
6621 for ac_prog in ar gar
6623 # Extract the first word of "$ac_prog", so it can be a program name with args.
6624 set dummy $ac_prog; ac_word=$2
6625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626 printf %s "checking for $ac_word... " >&6; }
6627 if test ${ac_cv_prog_ac_ct_AR+y}
6628 then :
6629 printf %s "(cached) " >&6
6630 else $as_nop
6631 if test -n "$ac_ct_AR"; then
6632 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6633 else
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 for as_dir in $PATH
6637 IFS=$as_save_IFS
6638 case $as_dir in #(((
6639 '') as_dir=./ ;;
6640 */) ;;
6641 *) as_dir=$as_dir/ ;;
6642 esac
6643 for ac_exec_ext in '' $ac_executable_extensions; do
6644 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6645 ac_cv_prog_ac_ct_AR="$ac_prog"
6646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6647 break 2
6649 done
6650 done
6651 IFS=$as_save_IFS
6655 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6656 if test -n "$ac_ct_AR"; then
6657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6658 printf "%s\n" "$ac_ct_AR" >&6; }
6659 else
6660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 printf "%s\n" "no" >&6; }
6665 test -n "$ac_ct_AR" && break
6666 done
6668 if test "x$ac_ct_AR" = x; then
6669 AR="ar"
6670 else
6671 case $cross_compiling:$ac_tool_warned in
6672 yes:)
6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6674 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6675 ac_tool_warned=yes ;;
6676 esac
6677 AR=$ac_ct_AR
6681 if test -n "$ac_tool_prefix"; then
6682 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6683 set dummy ${ac_tool_prefix}strip; ac_word=$2
6684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 printf %s "checking for $ac_word... " >&6; }
6686 if test ${ac_cv_prog_STRIP+y}
6687 then :
6688 printf %s "(cached) " >&6
6689 else $as_nop
6690 if test -n "$STRIP"; then
6691 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6692 else
6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6694 for as_dir in $PATH
6696 IFS=$as_save_IFS
6697 case $as_dir in #(((
6698 '') as_dir=./ ;;
6699 */) ;;
6700 *) as_dir=$as_dir/ ;;
6701 esac
6702 for ac_exec_ext in '' $ac_executable_extensions; do
6703 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6704 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6706 break 2
6708 done
6709 done
6710 IFS=$as_save_IFS
6714 STRIP=$ac_cv_prog_STRIP
6715 if test -n "$STRIP"; then
6716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6717 printf "%s\n" "$STRIP" >&6; }
6718 else
6719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 printf "%s\n" "no" >&6; }
6725 if test -z "$ac_cv_prog_STRIP"; then
6726 ac_ct_STRIP=$STRIP
6727 # Extract the first word of "strip", so it can be a program name with args.
6728 set dummy strip; ac_word=$2
6729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6730 printf %s "checking for $ac_word... " >&6; }
6731 if test ${ac_cv_prog_ac_ct_STRIP+y}
6732 then :
6733 printf %s "(cached) " >&6
6734 else $as_nop
6735 if test -n "$ac_ct_STRIP"; then
6736 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6737 else
6738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739 for as_dir in $PATH
6741 IFS=$as_save_IFS
6742 case $as_dir in #(((
6743 '') as_dir=./ ;;
6744 */) ;;
6745 *) as_dir=$as_dir/ ;;
6746 esac
6747 for ac_exec_ext in '' $ac_executable_extensions; do
6748 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6749 ac_cv_prog_ac_ct_STRIP="strip"
6750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6751 break 2
6753 done
6754 done
6755 IFS=$as_save_IFS
6759 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6760 if test -n "$ac_ct_STRIP"; then
6761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6762 printf "%s\n" "$ac_ct_STRIP" >&6; }
6763 else
6764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6765 printf "%s\n" "no" >&6; }
6768 if test "x$ac_ct_STRIP" = x; then
6769 STRIP="strip"
6770 else
6771 case $cross_compiling:$ac_tool_warned in
6772 yes:)
6773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6774 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6775 ac_tool_warned=yes ;;
6776 esac
6777 STRIP=$ac_ct_STRIP
6779 else
6780 STRIP="$ac_cv_prog_STRIP"
6783 if test -n "$ac_tool_prefix"; then
6784 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6785 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6787 printf %s "checking for $ac_word... " >&6; }
6788 if test ${ac_cv_prog_RANLIB+y}
6789 then :
6790 printf %s "(cached) " >&6
6791 else $as_nop
6792 if test -n "$RANLIB"; then
6793 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6794 else
6795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6796 for as_dir in $PATH
6798 IFS=$as_save_IFS
6799 case $as_dir in #(((
6800 '') as_dir=./ ;;
6801 */) ;;
6802 *) as_dir=$as_dir/ ;;
6803 esac
6804 for ac_exec_ext in '' $ac_executable_extensions; do
6805 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6806 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6808 break 2
6810 done
6811 done
6812 IFS=$as_save_IFS
6816 RANLIB=$ac_cv_prog_RANLIB
6817 if test -n "$RANLIB"; then
6818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6819 printf "%s\n" "$RANLIB" >&6; }
6820 else
6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 printf "%s\n" "no" >&6; }
6827 if test -z "$ac_cv_prog_RANLIB"; then
6828 ac_ct_RANLIB=$RANLIB
6829 # Extract the first word of "ranlib", so it can be a program name with args.
6830 set dummy ranlib; ac_word=$2
6831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6832 printf %s "checking for $ac_word... " >&6; }
6833 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6834 then :
6835 printf %s "(cached) " >&6
6836 else $as_nop
6837 if test -n "$ac_ct_RANLIB"; then
6838 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6839 else
6840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6841 for as_dir in $PATH
6843 IFS=$as_save_IFS
6844 case $as_dir in #(((
6845 '') as_dir=./ ;;
6846 */) ;;
6847 *) as_dir=$as_dir/ ;;
6848 esac
6849 for ac_exec_ext in '' $ac_executable_extensions; do
6850 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6851 ac_cv_prog_ac_ct_RANLIB="ranlib"
6852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6853 break 2
6855 done
6856 done
6857 IFS=$as_save_IFS
6861 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6862 if test -n "$ac_ct_RANLIB"; then
6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6864 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6865 else
6866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867 printf "%s\n" "no" >&6; }
6870 if test "x$ac_ct_RANLIB" = x; then
6871 RANLIB=":"
6872 else
6873 case $cross_compiling:$ac_tool_warned in
6874 yes:)
6875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6876 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6877 ac_tool_warned=yes ;;
6878 esac
6879 RANLIB=$ac_ct_RANLIB
6881 else
6882 RANLIB="$ac_cv_prog_RANLIB"
6885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6886 printf %s "checking whether ln -s works... " >&6; }
6887 LN_S=$as_ln_s
6888 if test "$LN_S" = "ln -s"; then
6889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6890 printf "%s\n" "yes" >&6; }
6891 else
6892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6893 printf "%s\n" "no, using $LN_S" >&6; }
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6897 printf %s "checking for grep that handles long lines and -e... " >&6; }
6898 if test ${ac_cv_path_GREP+y}
6899 then :
6900 printf %s "(cached) " >&6
6901 else $as_nop
6902 if test -z "$GREP"; then
6903 ac_path_GREP_found=false
6904 # Loop through the user's path and test for each of PROGNAME-LIST
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6908 IFS=$as_save_IFS
6909 case $as_dir in #(((
6910 '') as_dir=./ ;;
6911 */) ;;
6912 *) as_dir=$as_dir/ ;;
6913 esac
6914 for ac_prog in grep ggrep
6916 for ac_exec_ext in '' $ac_executable_extensions; do
6917 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6918 as_fn_executable_p "$ac_path_GREP" || continue
6919 # Check for GNU ac_path_GREP and select it if it is found.
6920 # Check for GNU $ac_path_GREP
6921 case `"$ac_path_GREP" --version 2>&1` in
6922 *GNU*)
6923 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6925 ac_count=0
6926 printf %s 0123456789 >"conftest.in"
6927 while :
6929 cat "conftest.in" "conftest.in" >"conftest.tmp"
6930 mv "conftest.tmp" "conftest.in"
6931 cp "conftest.in" "conftest.nl"
6932 printf "%s\n" 'GREP' >> "conftest.nl"
6933 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6934 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6935 as_fn_arith $ac_count + 1 && ac_count=$as_val
6936 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6937 # Best one so far, save it but keep looking for a better one
6938 ac_cv_path_GREP="$ac_path_GREP"
6939 ac_path_GREP_max=$ac_count
6941 # 10*(2^10) chars as input seems more than enough
6942 test $ac_count -gt 10 && break
6943 done
6944 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6945 esac
6947 $ac_path_GREP_found && break 3
6948 done
6949 done
6950 done
6951 IFS=$as_save_IFS
6952 if test -z "$ac_cv_path_GREP"; then
6953 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6955 else
6956 ac_cv_path_GREP=$GREP
6960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6961 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6962 GREP="$ac_cv_path_GREP"
6965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6966 printf %s "checking for egrep... " >&6; }
6967 if test ${ac_cv_path_EGREP+y}
6968 then :
6969 printf %s "(cached) " >&6
6970 else $as_nop
6971 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6972 then ac_cv_path_EGREP="$GREP -E"
6973 else
6974 if test -z "$EGREP"; then
6975 ac_path_EGREP_found=false
6976 # Loop through the user's path and test for each of PROGNAME-LIST
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6980 IFS=$as_save_IFS
6981 case $as_dir in #(((
6982 '') as_dir=./ ;;
6983 */) ;;
6984 *) as_dir=$as_dir/ ;;
6985 esac
6986 for ac_prog in egrep
6988 for ac_exec_ext in '' $ac_executable_extensions; do
6989 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6990 as_fn_executable_p "$ac_path_EGREP" || continue
6991 # Check for GNU ac_path_EGREP and select it if it is found.
6992 # Check for GNU $ac_path_EGREP
6993 case `"$ac_path_EGREP" --version 2>&1` in
6994 *GNU*)
6995 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6997 ac_count=0
6998 printf %s 0123456789 >"conftest.in"
6999 while :
7001 cat "conftest.in" "conftest.in" >"conftest.tmp"
7002 mv "conftest.tmp" "conftest.in"
7003 cp "conftest.in" "conftest.nl"
7004 printf "%s\n" 'EGREP' >> "conftest.nl"
7005 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7006 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7007 as_fn_arith $ac_count + 1 && ac_count=$as_val
7008 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7009 # Best one so far, save it but keep looking for a better one
7010 ac_cv_path_EGREP="$ac_path_EGREP"
7011 ac_path_EGREP_max=$ac_count
7013 # 10*(2^10) chars as input seems more than enough
7014 test $ac_count -gt 10 && break
7015 done
7016 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7017 esac
7019 $ac_path_EGREP_found && break 3
7020 done
7021 done
7022 done
7023 IFS=$as_save_IFS
7024 if test -z "$ac_cv_path_EGREP"; then
7025 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7027 else
7028 ac_cv_path_EGREP=$EGREP
7033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7034 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7035 EGREP="$ac_cv_path_EGREP"
7038 # Extract the first word of "ldconfig", so it can be a program name with args.
7039 set dummy ldconfig; ac_word=$2
7040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7041 printf %s "checking for $ac_word... " >&6; }
7042 if test ${ac_cv_path_LDCONFIG+y}
7043 then :
7044 printf %s "(cached) " >&6
7045 else $as_nop
7046 case $LDCONFIG in
7047 [\\/]* | ?:[\\/]*)
7048 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7052 for as_dir in /sbin /usr/sbin $PATH
7054 IFS=$as_save_IFS
7055 case $as_dir in #(((
7056 '') as_dir=./ ;;
7057 */) ;;
7058 *) as_dir=$as_dir/ ;;
7059 esac
7060 for ac_exec_ext in '' $ac_executable_extensions; do
7061 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7062 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7064 break 2
7066 done
7067 done
7068 IFS=$as_save_IFS
7070 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7072 esac
7074 LDCONFIG=$ac_cv_path_LDCONFIG
7075 if test -n "$LDCONFIG"; then
7076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7077 printf "%s\n" "$LDCONFIG" >&6; }
7078 else
7079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7080 printf "%s\n" "no" >&6; }
7084 for ac_prog in msgfmt
7086 # Extract the first word of "$ac_prog", so it can be a program name with args.
7087 set dummy $ac_prog; ac_word=$2
7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 printf %s "checking for $ac_word... " >&6; }
7090 if test ${ac_cv_prog_MSGFMT+y}
7091 then :
7092 printf %s "(cached) " >&6
7093 else $as_nop
7094 if test -n "$MSGFMT"; then
7095 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7096 else
7097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7098 for as_dir in $PATH
7100 IFS=$as_save_IFS
7101 case $as_dir in #(((
7102 '') as_dir=./ ;;
7103 */) ;;
7104 *) as_dir=$as_dir/ ;;
7105 esac
7106 for ac_exec_ext in '' $ac_executable_extensions; do
7107 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7108 ac_cv_prog_MSGFMT="$ac_prog"
7109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7110 break 2
7112 done
7113 done
7114 IFS=$as_save_IFS
7118 MSGFMT=$ac_cv_prog_MSGFMT
7119 if test -n "$MSGFMT"; then
7120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7121 printf "%s\n" "$MSGFMT" >&6; }
7122 else
7123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 printf "%s\n" "no" >&6; }
7128 test -n "$MSGFMT" && break
7129 done
7130 test -n "$MSGFMT" || MSGFMT="false"
7132 if test ${ac_tool_prefix+y}
7133 then :
7134 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7135 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 printf %s "checking for $ac_word... " >&6; }
7138 if test ${ac_cv_prog_PKG_CONFIG+y}
7139 then :
7140 printf %s "(cached) " >&6
7141 else $as_nop
7142 if test -n "$PKG_CONFIG"; then
7143 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7144 else
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7146 for as_dir in $PATH
7148 IFS=$as_save_IFS
7149 case $as_dir in #(((
7150 '') as_dir=./ ;;
7151 */) ;;
7152 *) as_dir=$as_dir/ ;;
7153 esac
7154 for ac_exec_ext in '' $ac_executable_extensions; do
7155 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7156 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7158 break 2
7160 done
7161 done
7162 IFS=$as_save_IFS
7166 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7167 if test -n "$PKG_CONFIG"; then
7168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7169 printf "%s\n" "$PKG_CONFIG" >&6; }
7170 else
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172 printf "%s\n" "no" >&6; }
7177 if ${ac_cv_prog_PKG_CONFIG:+false} :
7178 then :
7179 if test "x$cross_compiling" = xyes
7180 then :
7182 else $as_nop
7183 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7184 # Extract the first word of "pkg-config", so it can be a program name with args.
7185 set dummy pkg-config; ac_word=$2
7186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7187 printf %s "checking for $ac_word... " >&6; }
7188 if test ${ac_cv_prog_PKG_CONFIG+y}
7189 then :
7190 printf %s "(cached) " >&6
7191 else $as_nop
7192 if test -n "$PKG_CONFIG"; then
7193 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7194 else
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7196 for as_dir in $PATH
7198 IFS=$as_save_IFS
7199 case $as_dir in #(((
7200 '') as_dir=./ ;;
7201 */) ;;
7202 *) as_dir=$as_dir/ ;;
7203 esac
7204 for ac_exec_ext in '' $ac_executable_extensions; do
7205 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7206 ac_cv_prog_PKG_CONFIG="pkg-config"
7207 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7208 break 2
7210 done
7211 done
7212 IFS=$as_save_IFS
7216 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7217 if test -n "$PKG_CONFIG"; then
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7219 printf "%s\n" "$PKG_CONFIG" >&6; }
7220 else
7221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7222 printf "%s\n" "no" >&6; }
7227 else $as_nop
7228 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7231 if test "x$enable_maintainer_mode" != "xyes"
7232 then
7233 FONTFORGE=""
7234 RSVG=""
7235 CONVERT=""
7236 ICOTOOL=""
7237 else
7238 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7239 for ac_prog in fontforge
7241 # Extract the first word of "$ac_prog", so it can be a program name with args.
7242 set dummy $ac_prog; ac_word=$2
7243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7244 printf %s "checking for $ac_word... " >&6; }
7245 if test ${ac_cv_prog_FONTFORGE+y}
7246 then :
7247 printf %s "(cached) " >&6
7248 else $as_nop
7249 if test -n "$FONTFORGE"; then
7250 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7251 else
7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7253 for as_dir in $PATH
7255 IFS=$as_save_IFS
7256 case $as_dir in #(((
7257 '') as_dir=./ ;;
7258 */) ;;
7259 *) as_dir=$as_dir/ ;;
7260 esac
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7263 ac_cv_prog_FONTFORGE="$ac_prog"
7264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7265 break 2
7267 done
7268 done
7269 IFS=$as_save_IFS
7273 FONTFORGE=$ac_cv_prog_FONTFORGE
7274 if test -n "$FONTFORGE"; then
7275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7276 printf "%s\n" "$FONTFORGE" >&6; }
7277 else
7278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 printf "%s\n" "no" >&6; }
7283 test -n "$FONTFORGE" && break
7284 done
7285 test -n "$FONTFORGE" || FONTFORGE="false"
7287 for ac_prog in rsvg-convert rsvg
7289 # Extract the first word of "$ac_prog", so it can be a program name with args.
7290 set dummy $ac_prog; ac_word=$2
7291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7292 printf %s "checking for $ac_word... " >&6; }
7293 if test ${ac_cv_prog_RSVG+y}
7294 then :
7295 printf %s "(cached) " >&6
7296 else $as_nop
7297 if test -n "$RSVG"; then
7298 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7299 else
7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301 for as_dir in $PATH
7303 IFS=$as_save_IFS
7304 case $as_dir in #(((
7305 '') as_dir=./ ;;
7306 */) ;;
7307 *) as_dir=$as_dir/ ;;
7308 esac
7309 for ac_exec_ext in '' $ac_executable_extensions; do
7310 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7311 ac_cv_prog_RSVG="$ac_prog"
7312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7313 break 2
7315 done
7316 done
7317 IFS=$as_save_IFS
7321 RSVG=$ac_cv_prog_RSVG
7322 if test -n "$RSVG"; then
7323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7324 printf "%s\n" "$RSVG" >&6; }
7325 else
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7327 printf "%s\n" "no" >&6; }
7331 test -n "$RSVG" && break
7332 done
7333 test -n "$RSVG" || RSVG="false"
7335 for ac_prog in convert
7337 # Extract the first word of "$ac_prog", so it can be a program name with args.
7338 set dummy $ac_prog; ac_word=$2
7339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340 printf %s "checking for $ac_word... " >&6; }
7341 if test ${ac_cv_prog_CONVERT+y}
7342 then :
7343 printf %s "(cached) " >&6
7344 else $as_nop
7345 if test -n "$CONVERT"; then
7346 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7347 else
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 for as_dir in $PATH
7351 IFS=$as_save_IFS
7352 case $as_dir in #(((
7353 '') as_dir=./ ;;
7354 */) ;;
7355 *) as_dir=$as_dir/ ;;
7356 esac
7357 for ac_exec_ext in '' $ac_executable_extensions; do
7358 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7359 ac_cv_prog_CONVERT="$ac_prog"
7360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7361 break 2
7363 done
7364 done
7365 IFS=$as_save_IFS
7369 CONVERT=$ac_cv_prog_CONVERT
7370 if test -n "$CONVERT"; then
7371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7372 printf "%s\n" "$CONVERT" >&6; }
7373 else
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375 printf "%s\n" "no" >&6; }
7379 test -n "$CONVERT" && break
7380 done
7381 test -n "$CONVERT" || CONVERT="false"
7383 for ac_prog in icotool
7385 # Extract the first word of "$ac_prog", so it can be a program name with args.
7386 set dummy $ac_prog; ac_word=$2
7387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7388 printf %s "checking for $ac_word... " >&6; }
7389 if test ${ac_cv_prog_ICOTOOL+y}
7390 then :
7391 printf %s "(cached) " >&6
7392 else $as_nop
7393 if test -n "$ICOTOOL"; then
7394 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7395 else
7396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7397 for as_dir in $PATH
7399 IFS=$as_save_IFS
7400 case $as_dir in #(((
7401 '') as_dir=./ ;;
7402 */) ;;
7403 *) as_dir=$as_dir/ ;;
7404 esac
7405 for ac_exec_ext in '' $ac_executable_extensions; do
7406 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7407 ac_cv_prog_ICOTOOL="$ac_prog"
7408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7409 break 2
7411 done
7412 done
7413 IFS=$as_save_IFS
7417 ICOTOOL=$ac_cv_prog_ICOTOOL
7418 if test -n "$ICOTOOL"; then
7419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7420 printf "%s\n" "$ICOTOOL" >&6; }
7421 else
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423 printf "%s\n" "no" >&6; }
7427 test -n "$ICOTOOL" && break
7428 done
7429 test -n "$ICOTOOL" || ICOTOOL="false"
7431 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7432 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7434 if test "$CONVERT" = false
7435 then
7436 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7437 else
7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7439 printf %s "checking for recent enough imagemagick... " >&6; }
7440 convert_version=`convert --version | head -n1`
7441 if test "x$convert_version" != "x"
7442 then
7443 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7444 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7445 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7446 then
7447 CONVERT=false
7450 if test "$CONVERT" = false
7451 then
7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7453 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7454 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7455 else
7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7457 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7461 if test "$ICOTOOL" = false
7462 then
7463 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7464 else
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7466 printf %s "checking for recent enough icotool... " >&6; }
7467 icotool_version=`icotool --version | head -n1`
7468 if test "x$icotool_version" != "x"
7469 then
7470 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7471 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7472 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7473 then
7474 ICOTOOL=false
7475 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7478 if test "$ICOTOOL" = false
7479 then
7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7481 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7482 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7483 else
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7485 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7489 with_gettext=yes
7490 with_gettextpo=yes
7492 enable_werror=yes
7495 test "x$with_gettext" != xno || MSGFMT=false
7496 if test "$MSGFMT" != "false"
7497 then
7498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7499 printf %s "checking whether msgfmt supports contexts... " >&6; }
7500 if test ${wine_cv_msgfmt_contexts+y}
7501 then :
7502 printf %s "(cached) " >&6
7503 else $as_nop
7504 cat >conftest.po <<EOF
7505 # comment
7506 msgctxt "ctxt"
7507 msgid "id"
7508 msgstr "str"
7510 if $MSGFMT -o /dev/null conftest.po 2>&5
7511 then
7512 wine_cv_msgfmt_contexts=yes
7513 else
7514 wine_cv_msgfmt_contexts=no
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7518 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7519 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7521 if test "$MSGFMT" = false
7522 then :
7523 case "x$with_gettext" in
7524 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7525 xno) ;;
7526 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7527 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7528 esac
7529 enable_po=${enable_po:-no}
7533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7534 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7535 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7536 then :
7537 printf %s "(cached) " >&6
7538 else $as_nop
7539 ac_check_lib_save_LIBS=$LIBS
7540 LIBS="-li386 $LIBS"
7541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h. */
7544 /* Override any GCC internal prototype to avoid an error.
7545 Use char because int might match the return type of a GCC
7546 builtin and then its argument prototype would still apply. */
7547 char i386_set_ldt ();
7549 main (void)
7551 return i386_set_ldt ();
7553 return 0;
7555 _ACEOF
7556 if ac_fn_c_try_link "$LINENO"
7557 then :
7558 ac_cv_lib_i386_i386_set_ldt=yes
7559 else $as_nop
7560 ac_cv_lib_i386_i386_set_ldt=no
7562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7563 conftest$ac_exeext conftest.$ac_ext
7564 LIBS=$ac_check_lib_save_LIBS
7566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7567 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7568 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7569 then :
7570 I386_LIBS="-li386"
7575 OPENGL_LIBS=""
7579 # Check whether --enable-largefile was given.
7580 if test ${enable_largefile+y}
7581 then :
7582 enableval=$enable_largefile;
7585 if test "$enable_largefile" != no; then
7587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7588 printf %s "checking for special C compiler options needed for large files... " >&6; }
7589 if test ${ac_cv_sys_largefile_CC+y}
7590 then :
7591 printf %s "(cached) " >&6
7592 else $as_nop
7593 ac_cv_sys_largefile_CC=no
7594 if test "$GCC" != yes; then
7595 ac_save_CC=$CC
7596 while :; do
7597 # IRIX 6.2 and later do not support large files by default,
7598 # so use the C compiler's -n32 option if that helps.
7599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7600 /* end confdefs.h. */
7601 #include <sys/types.h>
7602 /* Check that off_t can represent 2**63 - 1 correctly.
7603 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7604 since some C++ compilers masquerading as C compilers
7605 incorrectly reject 9223372036854775807. */
7606 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7607 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7608 && LARGE_OFF_T % 2147483647 == 1)
7609 ? 1 : -1];
7611 main (void)
7615 return 0;
7617 _ACEOF
7618 if ac_fn_c_try_compile "$LINENO"
7619 then :
7620 break
7622 rm -f core conftest.err conftest.$ac_objext conftest.beam
7623 CC="$CC -n32"
7624 if ac_fn_c_try_compile "$LINENO"
7625 then :
7626 ac_cv_sys_largefile_CC=' -n32'; break
7628 rm -f core conftest.err conftest.$ac_objext conftest.beam
7629 break
7630 done
7631 CC=$ac_save_CC
7632 rm -f conftest.$ac_ext
7635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7636 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7637 if test "$ac_cv_sys_largefile_CC" != no; then
7638 CC=$CC$ac_cv_sys_largefile_CC
7641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7642 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7643 if test ${ac_cv_sys_file_offset_bits+y}
7644 then :
7645 printf %s "(cached) " >&6
7646 else $as_nop
7647 while :; do
7648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7649 /* end confdefs.h. */
7650 #include <sys/types.h>
7651 /* Check that off_t can represent 2**63 - 1 correctly.
7652 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7653 since some C++ compilers masquerading as C compilers
7654 incorrectly reject 9223372036854775807. */
7655 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7656 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7657 && LARGE_OFF_T % 2147483647 == 1)
7658 ? 1 : -1];
7660 main (void)
7664 return 0;
7666 _ACEOF
7667 if ac_fn_c_try_compile "$LINENO"
7668 then :
7669 ac_cv_sys_file_offset_bits=no; break
7671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7674 #define _FILE_OFFSET_BITS 64
7675 #include <sys/types.h>
7676 /* Check that off_t can represent 2**63 - 1 correctly.
7677 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7678 since some C++ compilers masquerading as C compilers
7679 incorrectly reject 9223372036854775807. */
7680 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7681 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7682 && LARGE_OFF_T % 2147483647 == 1)
7683 ? 1 : -1];
7685 main (void)
7689 return 0;
7691 _ACEOF
7692 if ac_fn_c_try_compile "$LINENO"
7693 then :
7694 ac_cv_sys_file_offset_bits=64; break
7696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7697 ac_cv_sys_file_offset_bits=unknown
7698 break
7699 done
7701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7702 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7703 case $ac_cv_sys_file_offset_bits in #(
7704 no | unknown) ;;
7706 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7708 esac
7709 rm -rf conftest*
7710 if test $ac_cv_sys_file_offset_bits = unknown; then
7711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7712 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7713 if test ${ac_cv_sys_large_files+y}
7714 then :
7715 printf %s "(cached) " >&6
7716 else $as_nop
7717 while :; do
7718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7719 /* end confdefs.h. */
7720 #include <sys/types.h>
7721 /* Check that off_t can represent 2**63 - 1 correctly.
7722 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7723 since some C++ compilers masquerading as C compilers
7724 incorrectly reject 9223372036854775807. */
7725 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7726 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7727 && LARGE_OFF_T % 2147483647 == 1)
7728 ? 1 : -1];
7730 main (void)
7734 return 0;
7736 _ACEOF
7737 if ac_fn_c_try_compile "$LINENO"
7738 then :
7739 ac_cv_sys_large_files=no; break
7741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7743 /* end confdefs.h. */
7744 #define _LARGE_FILES 1
7745 #include <sys/types.h>
7746 /* Check that off_t can represent 2**63 - 1 correctly.
7747 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7748 since some C++ compilers masquerading as C compilers
7749 incorrectly reject 9223372036854775807. */
7750 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7751 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7752 && LARGE_OFF_T % 2147483647 == 1)
7753 ? 1 : -1];
7755 main (void)
7759 return 0;
7761 _ACEOF
7762 if ac_fn_c_try_compile "$LINENO"
7763 then :
7764 ac_cv_sys_large_files=1; break
7766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7767 ac_cv_sys_large_files=unknown
7768 break
7769 done
7771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7772 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7773 case $ac_cv_sys_large_files in #(
7774 no | unknown) ;;
7776 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7778 esac
7779 rm -rf conftest*
7784 ac_header= ac_cache=
7785 for ac_item in $ac_header_c_list
7787 if test $ac_cache; then
7788 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7789 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7790 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7792 ac_header= ac_cache=
7793 elif test $ac_header; then
7794 ac_cache=$ac_item
7795 else
7796 ac_header=$ac_item
7798 done
7807 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7808 then :
7810 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7813 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7814 if test "x$ac_cv_header_AL_al_h" = xyes
7815 then :
7816 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7819 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7820 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7821 then :
7822 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7825 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7826 if test "x$ac_cv_header_CL_cl_h" = xyes
7827 then :
7828 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7831 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7832 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7833 then :
7834 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7837 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7838 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7839 then :
7840 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7843 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7844 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7845 then :
7846 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7849 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7850 if test "x$ac_cv_header_EGL_egl_h" = xyes
7851 then :
7852 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7855 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7856 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7857 then :
7858 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7861 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7862 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7863 then :
7864 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7867 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7869 then :
7870 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7875 then :
7876 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_Security_Security_h" = xyes
7881 then :
7882 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7887 then :
7888 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7893 then :
7894 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_arpa_inet_h" = xyes
7899 then :
7900 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7905 then :
7906 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_asm_types_h" = xyes
7911 then :
7912 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_asm_user_h" = xyes
7917 then :
7918 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_elf_h" = xyes
7923 then :
7924 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_float_h" = xyes
7929 then :
7930 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_gettext_po_h" = xyes
7935 then :
7936 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_libproc_h" = xyes
7941 then :
7942 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_link_h" = xyes
7947 then :
7948 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7953 then :
7954 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_linux_filter_h" = xyes
7959 then :
7960 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7965 then :
7966 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7971 then :
7972 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_linux_input_h" = xyes
7977 then :
7978 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7983 then :
7984 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_linux_major_h" = xyes
7989 then :
7990 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_linux_param_h" = xyes
7995 then :
7996 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_linux_serial_h" = xyes
8001 then :
8002 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_linux_types_h" = xyes
8007 then :
8008 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8013 then :
8014 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_lwp_h" = xyes
8019 then :
8020 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8025 then :
8026 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_mach_mach_h" = xyes
8031 then :
8032 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_machine_cpu_h" = xyes
8037 then :
8038 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8043 then :
8044 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_mntent_h" = xyes
8049 then :
8050 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_netdb_h" = xyes
8055 then :
8056 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_netinet_in_h" = xyes
8061 then :
8062 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8067 then :
8068 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8073 then :
8074 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8079 then :
8080 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8085 then :
8086 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_port_h" = xyes
8091 then :
8092 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_pthread_h" = xyes
8097 then :
8098 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_pwd_h" = xyes
8103 then :
8104 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8109 then :
8110 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_sched_h" = xyes
8115 then :
8116 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8121 then :
8122 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8127 then :
8128 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_scsi_sg_h" = xyes
8133 then :
8134 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_stdint_h" = xyes
8139 then :
8140 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_attr_h" = xyes
8145 then :
8146 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_auxv_h" = xyes
8151 then :
8152 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_cdio_h" = xyes
8157 then :
8158 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_epoll_h" = xyes
8163 then :
8164 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_event_h" = xyes
8169 then :
8170 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_filio_h" = xyes
8175 then :
8176 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_ipc_h" = xyes
8181 then :
8182 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_link_h" = xyes
8187 then :
8188 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_modem_h" = xyes
8193 then :
8194 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_mtio_h" = xyes
8199 then :
8200 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_param_h" = xyes
8205 then :
8206 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_prctl_h" = xyes
8211 then :
8212 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8217 then :
8218 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_queue_h" = xyes
8223 then :
8224 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_random_h" = xyes
8229 then :
8230 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_resource_h" = xyes
8235 then :
8236 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8241 then :
8242 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_shm_h" = xyes
8247 then :
8248 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_signal_h" = xyes
8253 then :
8254 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8259 then :
8260 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_sockio_h" = xyes
8265 then :
8266 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8271 then :
8272 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_strtio_h" = xyes
8277 then :
8278 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_sys_syscall_h" = xyes
8283 then :
8284 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8289 then :
8290 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_sys_times_h" = xyes
8295 then :
8296 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_sys_uio_h" = xyes
8301 then :
8302 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_sys_user_h" = xyes
8307 then :
8308 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8311 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8312 if test "x$ac_cv_header_sys_utsname_h" = xyes
8313 then :
8314 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8317 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8318 if test "x$ac_cv_header_sys_vnode_h" = xyes
8319 then :
8320 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8323 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8324 if test "x$ac_cv_header_syscall_h" = xyes
8325 then :
8326 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8329 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8330 if test "x$ac_cv_header_utime_h" = xyes
8331 then :
8332 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8335 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8337 then :
8338 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8341 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8342 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8343 then :
8344 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8348 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8349 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8350 then :
8352 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8356 if test $ac_cv_header_sys_mkdev_h = no; then
8357 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8358 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8359 then :
8361 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8367 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8368 if test ${ac_cv_header_stat_broken+y}
8369 then :
8370 printf %s "(cached) " >&6
8371 else $as_nop
8372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8373 /* end confdefs.h. */
8374 #include <sys/types.h>
8375 #include <sys/stat.h>
8377 #if defined S_ISBLK && defined S_IFDIR
8378 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8379 #endif
8381 #if defined S_ISBLK && defined S_IFCHR
8382 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8383 #endif
8385 #if defined S_ISLNK && defined S_IFREG
8386 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8387 #endif
8389 #if defined S_ISSOCK && defined S_IFREG
8390 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8391 #endif
8393 _ACEOF
8394 if ac_fn_c_try_compile "$LINENO"
8395 then :
8396 ac_cv_header_stat_broken=no
8397 else $as_nop
8398 ac_cv_header_stat_broken=yes
8400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8403 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8404 if test $ac_cv_header_stat_broken = yes; then
8406 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8412 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8413 #ifdef HAVE_SYS_PARAM_H
8414 # include <sys/param.h>
8415 #endif
8417 if test "x$ac_cv_header_sys_conf_h" = xyes
8418 then :
8419 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8422 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8423 #ifdef HAVE_SYS_PARAM_H
8424 # include <sys/param.h>
8425 #endif
8427 if test "x$ac_cv_header_sys_mount_h" = xyes
8428 then :
8429 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8432 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8433 #ifdef HAVE_SYS_PARAM_H
8434 # include <sys/param.h>
8435 #endif
8437 if test "x$ac_cv_header_sys_statfs_h" = xyes
8438 then :
8439 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8442 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8443 #ifdef HAVE_SYS_PARAM_H
8444 # include <sys/param.h>
8445 #endif
8447 if test "x$ac_cv_header_sys_user_h" = xyes
8448 then :
8449 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8452 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8453 #ifdef HAVE_SYS_PARAM_H
8454 # include <sys/param.h>
8455 #endif
8457 if test "x$ac_cv_header_sys_vfs_h" = xyes
8458 then :
8459 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8464 saved_sysctl_h_CFLAGS=$CFLAGS
8465 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8466 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8467 #ifdef HAVE_SYS_PARAM_H
8468 # include <sys/param.h>
8469 #endif
8471 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8472 then :
8473 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8477 CFLAGS=$saved_sysctl_h_CFLAGS
8479 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8480 #include <sys/socket.h>
8481 #ifdef HAVE_SYS_SOCKETVAR_H
8482 # include <sys/socketvar.h>
8483 #endif
8484 #ifdef HAVE_NET_ROUTE_H
8485 # include <net/route.h>
8486 #endif
8487 #ifdef HAVE_NETINET_IN_H
8488 # include <netinet/in.h>
8489 #endif
8490 #ifdef HAVE_NETINET_IN_SYSTM_H
8491 # include <netinet/in_systm.h>
8492 #endif
8493 #ifdef HAVE_NET_IF_H
8494 # include <net/if.h>
8495 #endif
8496 #ifdef HAVE_NETINET_IP_H
8497 # include <netinet/ip.h>
8498 #endif
8500 if test "x$ac_cv_header_netinet_ip_h" = xyes
8501 then :
8502 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8505 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8506 #include <sys/socket.h>
8507 #ifdef HAVE_SYS_SOCKETVAR_H
8508 # include <sys/socketvar.h>
8509 #endif
8510 #ifdef HAVE_NET_ROUTE_H
8511 # include <net/route.h>
8512 #endif
8513 #ifdef HAVE_NETINET_IN_H
8514 # include <netinet/in.h>
8515 #endif
8516 #ifdef HAVE_NETINET_IN_SYSTM_H
8517 # include <netinet/in_systm.h>
8518 #endif
8519 #ifdef HAVE_NET_IF_H
8520 # include <net/if.h>
8521 #endif
8522 #ifdef HAVE_NETINET_IP_H
8523 # include <netinet/ip.h>
8524 #endif
8526 if test "x$ac_cv_header_net_if_h" = xyes
8527 then :
8528 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8531 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8532 #include <sys/socket.h>
8533 #ifdef HAVE_SYS_SOCKETVAR_H
8534 # include <sys/socketvar.h>
8535 #endif
8536 #ifdef HAVE_NET_ROUTE_H
8537 # include <net/route.h>
8538 #endif
8539 #ifdef HAVE_NETINET_IN_H
8540 # include <netinet/in.h>
8541 #endif
8542 #ifdef HAVE_NETINET_IN_SYSTM_H
8543 # include <netinet/in_systm.h>
8544 #endif
8545 #ifdef HAVE_NET_IF_H
8546 # include <net/if.h>
8547 #endif
8548 #ifdef HAVE_NETINET_IP_H
8549 # include <netinet/ip.h>
8550 #endif
8552 if test "x$ac_cv_header_net_if_arp_h" = xyes
8553 then :
8554 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8557 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8558 #include <sys/socket.h>
8559 #ifdef HAVE_SYS_SOCKETVAR_H
8560 # include <sys/socketvar.h>
8561 #endif
8562 #ifdef HAVE_NET_ROUTE_H
8563 # include <net/route.h>
8564 #endif
8565 #ifdef HAVE_NETINET_IN_H
8566 # include <netinet/in.h>
8567 #endif
8568 #ifdef HAVE_NETINET_IN_SYSTM_H
8569 # include <netinet/in_systm.h>
8570 #endif
8571 #ifdef HAVE_NET_IF_H
8572 # include <net/if.h>
8573 #endif
8574 #ifdef HAVE_NETINET_IP_H
8575 # include <netinet/ip.h>
8576 #endif
8578 if test "x$ac_cv_header_net_if_dl_h" = xyes
8579 then :
8580 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8583 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8584 #include <sys/socket.h>
8585 #ifdef HAVE_SYS_SOCKETVAR_H
8586 # include <sys/socketvar.h>
8587 #endif
8588 #ifdef HAVE_NET_ROUTE_H
8589 # include <net/route.h>
8590 #endif
8591 #ifdef HAVE_NETINET_IN_H
8592 # include <netinet/in.h>
8593 #endif
8594 #ifdef HAVE_NETINET_IN_SYSTM_H
8595 # include <netinet/in_systm.h>
8596 #endif
8597 #ifdef HAVE_NET_IF_H
8598 # include <net/if.h>
8599 #endif
8600 #ifdef HAVE_NETINET_IP_H
8601 # include <netinet/ip.h>
8602 #endif
8604 if test "x$ac_cv_header_net_if_types_h" = xyes
8605 then :
8606 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8609 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8610 #include <sys/socket.h>
8611 #ifdef HAVE_SYS_SOCKETVAR_H
8612 # include <sys/socketvar.h>
8613 #endif
8614 #ifdef HAVE_NET_ROUTE_H
8615 # include <net/route.h>
8616 #endif
8617 #ifdef HAVE_NETINET_IN_H
8618 # include <netinet/in.h>
8619 #endif
8620 #ifdef HAVE_NETINET_IN_SYSTM_H
8621 # include <netinet/in_systm.h>
8622 #endif
8623 #ifdef HAVE_NET_IF_H
8624 # include <net/if.h>
8625 #endif
8626 #ifdef HAVE_NETINET_IP_H
8627 # include <netinet/ip.h>
8628 #endif
8630 if test "x$ac_cv_header_net_route_h" = xyes
8631 then :
8632 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8635 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8636 #include <sys/socket.h>
8637 #ifdef HAVE_SYS_SOCKETVAR_H
8638 # include <sys/socketvar.h>
8639 #endif
8640 #ifdef HAVE_NET_ROUTE_H
8641 # include <net/route.h>
8642 #endif
8643 #ifdef HAVE_NETINET_IN_H
8644 # include <netinet/in.h>
8645 #endif
8646 #ifdef HAVE_NETINET_IN_SYSTM_H
8647 # include <netinet/in_systm.h>
8648 #endif
8649 #ifdef HAVE_NET_IF_H
8650 # include <net/if.h>
8651 #endif
8652 #ifdef HAVE_NETINET_IP_H
8653 # include <netinet/ip.h>
8654 #endif
8656 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8657 then :
8658 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8661 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8662 #include <sys/socket.h>
8663 #ifdef HAVE_SYS_SOCKETVAR_H
8664 # include <sys/socketvar.h>
8665 #endif
8666 #ifdef HAVE_NET_ROUTE_H
8667 # include <net/route.h>
8668 #endif
8669 #ifdef HAVE_NETINET_IN_H
8670 # include <netinet/in.h>
8671 #endif
8672 #ifdef HAVE_NETINET_IN_SYSTM_H
8673 # include <netinet/in_systm.h>
8674 #endif
8675 #ifdef HAVE_NET_IF_H
8676 # include <net/if.h>
8677 #endif
8678 #ifdef HAVE_NETINET_IP_H
8679 # include <netinet/ip.h>
8680 #endif
8682 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8683 then :
8684 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8687 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8688 #include <sys/socket.h>
8689 #ifdef HAVE_SYS_SOCKETVAR_H
8690 # include <sys/socketvar.h>
8691 #endif
8692 #ifdef HAVE_NET_ROUTE_H
8693 # include <net/route.h>
8694 #endif
8695 #ifdef HAVE_NETINET_IN_H
8696 # include <netinet/in.h>
8697 #endif
8698 #ifdef HAVE_NETINET_IN_SYSTM_H
8699 # include <netinet/in_systm.h>
8700 #endif
8701 #ifdef HAVE_NET_IF_H
8702 # include <net/if.h>
8703 #endif
8704 #ifdef HAVE_NETINET_IP_H
8705 # include <netinet/ip.h>
8706 #endif
8708 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8709 then :
8710 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8713 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8714 #include <sys/socket.h>
8715 #ifdef HAVE_SYS_SOCKETVAR_H
8716 # include <sys/socketvar.h>
8717 #endif
8718 #ifdef HAVE_NET_ROUTE_H
8719 # include <net/route.h>
8720 #endif
8721 #ifdef HAVE_NETINET_IN_H
8722 # include <netinet/in.h>
8723 #endif
8724 #ifdef HAVE_NETINET_IN_SYSTM_H
8725 # include <netinet/in_systm.h>
8726 #endif
8727 #ifdef HAVE_NET_IF_H
8728 # include <net/if.h>
8729 #endif
8730 #ifdef HAVE_NETINET_IP_H
8731 # include <netinet/ip.h>
8732 #endif
8734 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8735 then :
8736 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8739 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8740 #include <sys/socket.h>
8741 #ifdef HAVE_SYS_SOCKETVAR_H
8742 # include <sys/socketvar.h>
8743 #endif
8744 #ifdef HAVE_NET_ROUTE_H
8745 # include <net/route.h>
8746 #endif
8747 #ifdef HAVE_NETINET_IN_H
8748 # include <netinet/in.h>
8749 #endif
8750 #ifdef HAVE_NETINET_IN_SYSTM_H
8751 # include <netinet/in_systm.h>
8752 #endif
8753 #ifdef HAVE_NET_IF_H
8754 # include <net/if.h>
8755 #endif
8756 #ifdef HAVE_NETINET_IP_H
8757 # include <netinet/ip.h>
8758 #endif
8760 if test "x$ac_cv_header_netinet_udp_h" = xyes
8761 then :
8762 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8765 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8766 #include <sys/socket.h>
8767 #ifdef HAVE_SYS_SOCKETVAR_H
8768 # include <sys/socketvar.h>
8769 #endif
8770 #ifdef HAVE_NET_ROUTE_H
8771 # include <net/route.h>
8772 #endif
8773 #ifdef HAVE_NETINET_IN_H
8774 # include <netinet/in.h>
8775 #endif
8776 #ifdef HAVE_NETINET_IN_SYSTM_H
8777 # include <netinet/in_systm.h>
8778 #endif
8779 #ifdef HAVE_NET_IF_H
8780 # include <net/if.h>
8781 #endif
8782 #ifdef HAVE_NETINET_IP_H
8783 # include <netinet/ip.h>
8784 #endif
8786 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8787 then :
8788 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8791 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8792 #include <sys/socket.h>
8793 #ifdef HAVE_SYS_SOCKETVAR_H
8794 # include <sys/socketvar.h>
8795 #endif
8796 #ifdef HAVE_NET_ROUTE_H
8797 # include <net/route.h>
8798 #endif
8799 #ifdef HAVE_NETINET_IN_H
8800 # include <netinet/in.h>
8801 #endif
8802 #ifdef HAVE_NETINET_IN_SYSTM_H
8803 # include <netinet/in_systm.h>
8804 #endif
8805 #ifdef HAVE_NET_IF_H
8806 # include <net/if.h>
8807 #endif
8808 #ifdef HAVE_NETINET_IP_H
8809 # include <netinet/ip.h>
8810 #endif
8812 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8813 then :
8814 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8817 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8818 #include <sys/socket.h>
8819 #ifdef HAVE_SYS_SOCKETVAR_H
8820 # include <sys/socketvar.h>
8821 #endif
8822 #ifdef HAVE_NET_ROUTE_H
8823 # include <net/route.h>
8824 #endif
8825 #ifdef HAVE_NETINET_IN_H
8826 # include <netinet/in.h>
8827 #endif
8828 #ifdef HAVE_NETINET_IN_SYSTM_H
8829 # include <netinet/in_systm.h>
8830 #endif
8831 #ifdef HAVE_NET_IF_H
8832 # include <net/if.h>
8833 #endif
8834 #ifdef HAVE_NETINET_IP_H
8835 # include <netinet/ip.h>
8836 #endif
8838 if test "x$ac_cv_header_sys_un_h" = xyes
8839 then :
8840 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8845 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8846 #include <sys/socket.h>
8847 #ifdef HAVE_SYS_SOCKETVAR_H
8848 # include <sys/socketvar.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IN_H
8851 # include <netinet/in.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IN_SYSTM_H
8854 # include <netinet/in_systm.h>
8855 #endif
8856 #ifdef HAVE_NETINET_IP_H
8857 # include <netinet/ip.h>
8858 #endif
8859 #ifdef HAVE_NETINET_IP_VAR_H
8860 # include <netinet/ip_var.h>
8861 #endif
8862 #ifdef HAVE_NETINET_IP_ICMP_H
8863 # include <netinet/ip_icmp.h>
8864 #endif
8865 #ifdef HAVE_NETINET_UDP_H
8866 # include <netinet/udp.h>
8867 #endif
8868 #ifdef HAVE_NETINET_TCP_H
8869 # include <netinet/tcp.h>
8870 #endif
8872 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8873 then :
8874 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8877 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8878 #include <sys/socket.h>
8879 #ifdef HAVE_SYS_SOCKETVAR_H
8880 # include <sys/socketvar.h>
8881 #endif
8882 #ifdef HAVE_NETINET_IN_H
8883 # include <netinet/in.h>
8884 #endif
8885 #ifdef HAVE_NETINET_IN_SYSTM_H
8886 # include <netinet/in_systm.h>
8887 #endif
8888 #ifdef HAVE_NETINET_IP_H
8889 # include <netinet/ip.h>
8890 #endif
8891 #ifdef HAVE_NETINET_IP_VAR_H
8892 # include <netinet/ip_var.h>
8893 #endif
8894 #ifdef HAVE_NETINET_IP_ICMP_H
8895 # include <netinet/ip_icmp.h>
8896 #endif
8897 #ifdef HAVE_NETINET_UDP_H
8898 # include <netinet/udp.h>
8899 #endif
8900 #ifdef HAVE_NETINET_TCP_H
8901 # include <netinet/tcp.h>
8902 #endif
8904 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8905 then :
8906 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8909 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8910 #include <sys/socket.h>
8911 #ifdef HAVE_SYS_SOCKETVAR_H
8912 # include <sys/socketvar.h>
8913 #endif
8914 #ifdef HAVE_NETINET_IN_H
8915 # include <netinet/in.h>
8916 #endif
8917 #ifdef HAVE_NETINET_IN_SYSTM_H
8918 # include <netinet/in_systm.h>
8919 #endif
8920 #ifdef HAVE_NETINET_IP_H
8921 # include <netinet/ip.h>
8922 #endif
8923 #ifdef HAVE_NETINET_IP_VAR_H
8924 # include <netinet/ip_var.h>
8925 #endif
8926 #ifdef HAVE_NETINET_IP_ICMP_H
8927 # include <netinet/ip_icmp.h>
8928 #endif
8929 #ifdef HAVE_NETINET_UDP_H
8930 # include <netinet/udp.h>
8931 #endif
8932 #ifdef HAVE_NETINET_TCP_H
8933 # include <netinet/tcp.h>
8934 #endif
8936 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8937 then :
8938 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8941 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8942 #include <sys/socket.h>
8943 #ifdef HAVE_SYS_SOCKETVAR_H
8944 # include <sys/socketvar.h>
8945 #endif
8946 #ifdef HAVE_NETINET_IN_H
8947 # include <netinet/in.h>
8948 #endif
8949 #ifdef HAVE_NETINET_IN_SYSTM_H
8950 # include <netinet/in_systm.h>
8951 #endif
8952 #ifdef HAVE_NETINET_IP_H
8953 # include <netinet/ip.h>
8954 #endif
8955 #ifdef HAVE_NETINET_IP_VAR_H
8956 # include <netinet/ip_var.h>
8957 #endif
8958 #ifdef HAVE_NETINET_IP_ICMP_H
8959 # include <netinet/ip_icmp.h>
8960 #endif
8961 #ifdef HAVE_NETINET_UDP_H
8962 # include <netinet/udp.h>
8963 #endif
8964 #ifdef HAVE_NETINET_TCP_H
8965 # include <netinet/tcp.h>
8966 #endif
8968 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8969 then :
8970 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8975 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8976 #include <sys/socket.h>
8977 #ifdef HAVE_ASM_TYPES_H
8978 # include <asm/types.h>
8979 #endif
8980 #ifdef HAVE_LINUX_TYPES_H
8981 # include <linux/types.h>
8982 #endif
8984 if test "x$ac_cv_header_linux_ipx_h" = xyes
8985 then :
8986 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8989 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8990 #include <sys/socket.h>
8991 #ifdef HAVE_ASM_TYPES_H
8992 # include <asm/types.h>
8993 #endif
8994 #ifdef HAVE_LINUX_TYPES_H
8995 # include <linux/types.h>
8996 #endif
8998 if test "x$ac_cv_header_linux_irda_h" = xyes
8999 then :
9000 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9003 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9004 #include <sys/socket.h>
9005 #ifdef HAVE_ASM_TYPES_H
9006 # include <asm/types.h>
9007 #endif
9008 #ifdef HAVE_LINUX_TYPES_H
9009 # include <linux/types.h>
9010 #endif
9012 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9013 then :
9014 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9019 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9020 #include <sys/socket.h>
9021 #ifdef HAVE_NETINET_IN_H
9022 # include <netinet/in.h>
9023 #endif
9024 #ifdef HAVE_ARPA_NAMESER_H
9025 # include <arpa/nameser.h>
9026 #endif
9028 if test "x$ac_cv_header_resolv_h" = xyes
9029 then :
9030 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9035 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9037 if test "x$ac_cv_header_ifaddrs_h" = xyes
9038 then :
9039 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9044 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9046 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9047 then :
9048 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9053 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9054 #ifdef HAVE_SYS_UCONTEXT_H
9055 #include <sys/ucontext.h>
9056 #endif
9058 if test "x$ac_cv_header_sys_thr_h" = xyes
9059 then :
9060 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9065 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9066 #include <pthread.h>
9067 #endif
9069 if test "x$ac_cv_header_pthread_np_h" = xyes
9070 then :
9071 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9076 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9077 #include <sys/types.h>
9078 #ifdef HAVE_ASM_TYPES_H
9079 #include <asm/types.h>
9080 #endif
9082 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9083 then :
9084 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9089 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9090 #include <sys/param.h>
9091 #endif
9092 #include <sys/socket.h>
9093 #ifdef HAVE_SYS_QUEUE_H
9094 #include <sys/queue.h>
9095 #endif
9097 if test "x$ac_cv_header_libprocstat_h" = xyes
9098 then :
9099 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9105 DLLFLAGS=""
9107 LDDLLFLAGS=""
9109 LDEXECFLAGS=""
9111 EXTRACFLAGS=""
9113 UNIXDLLFLAGS="-fPIC"
9115 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9117 TOP_INSTALL_LIB=""
9119 TOP_INSTALL_DEV=""
9121 WINELOADER_LDFLAGS=""
9123 WINEPRELOADER_LDFLAGS=""
9125 LIBEXT="so"
9126 # Extract the first word of "ldd", so it can be a program name with args.
9127 set dummy ldd; ac_word=$2
9128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9129 printf %s "checking for $ac_word... " >&6; }
9130 if test ${ac_cv_path_LDD+y}
9131 then :
9132 printf %s "(cached) " >&6
9133 else $as_nop
9134 case $LDD in
9135 [\\/]* | ?:[\\/]*)
9136 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9140 as_dummy="/sbin:/usr/sbin:$PATH"
9141 for as_dir in $as_dummy
9143 IFS=$as_save_IFS
9144 case $as_dir in #(((
9145 '') as_dir=./ ;;
9146 */) ;;
9147 *) as_dir=$as_dir/ ;;
9148 esac
9149 for ac_exec_ext in '' $ac_executable_extensions; do
9150 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9151 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9153 break 2
9155 done
9156 done
9157 IFS=$as_save_IFS
9159 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9161 esac
9163 LDD=$ac_cv_path_LDD
9164 if test -n "$LDD"; then
9165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9166 printf "%s\n" "$LDD" >&6; }
9167 else
9168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9169 printf "%s\n" "no" >&6; }
9173 if test -n "$ac_tool_prefix"; then
9174 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9175 set dummy ${ac_tool_prefix}otool; ac_word=$2
9176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9177 printf %s "checking for $ac_word... " >&6; }
9178 if test ${ac_cv_prog_OTOOL+y}
9179 then :
9180 printf %s "(cached) " >&6
9181 else $as_nop
9182 if test -n "$OTOOL"; then
9183 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9184 else
9185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9186 for as_dir in $PATH
9188 IFS=$as_save_IFS
9189 case $as_dir in #(((
9190 '') as_dir=./ ;;
9191 */) ;;
9192 *) as_dir=$as_dir/ ;;
9193 esac
9194 for ac_exec_ext in '' $ac_executable_extensions; do
9195 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9196 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9198 break 2
9200 done
9201 done
9202 IFS=$as_save_IFS
9206 OTOOL=$ac_cv_prog_OTOOL
9207 if test -n "$OTOOL"; then
9208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9209 printf "%s\n" "$OTOOL" >&6; }
9210 else
9211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9212 printf "%s\n" "no" >&6; }
9217 if test -z "$ac_cv_prog_OTOOL"; then
9218 ac_ct_OTOOL=$OTOOL
9219 # Extract the first word of "otool", so it can be a program name with args.
9220 set dummy otool; ac_word=$2
9221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9222 printf %s "checking for $ac_word... " >&6; }
9223 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9224 then :
9225 printf %s "(cached) " >&6
9226 else $as_nop
9227 if test -n "$ac_ct_OTOOL"; then
9228 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9229 else
9230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9231 for as_dir in $PATH
9233 IFS=$as_save_IFS
9234 case $as_dir in #(((
9235 '') as_dir=./ ;;
9236 */) ;;
9237 *) as_dir=$as_dir/ ;;
9238 esac
9239 for ac_exec_ext in '' $ac_executable_extensions; do
9240 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9241 ac_cv_prog_ac_ct_OTOOL="otool"
9242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9243 break 2
9245 done
9246 done
9247 IFS=$as_save_IFS
9251 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9252 if test -n "$ac_ct_OTOOL"; then
9253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9254 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9255 else
9256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9257 printf "%s\n" "no" >&6; }
9260 if test "x$ac_ct_OTOOL" = x; then
9261 OTOOL="otool"
9262 else
9263 case $cross_compiling:$ac_tool_warned in
9264 yes:)
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9266 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9267 ac_tool_warned=yes ;;
9268 esac
9269 OTOOL=$ac_ct_OTOOL
9271 else
9272 OTOOL="$ac_cv_prog_OTOOL"
9275 if test -n "$ac_tool_prefix"; then
9276 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9277 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9279 printf %s "checking for $ac_word... " >&6; }
9280 if test ${ac_cv_prog_READELF+y}
9281 then :
9282 printf %s "(cached) " >&6
9283 else $as_nop
9284 if test -n "$READELF"; then
9285 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9286 else
9287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9288 for as_dir in $PATH
9290 IFS=$as_save_IFS
9291 case $as_dir in #(((
9292 '') as_dir=./ ;;
9293 */) ;;
9294 *) as_dir=$as_dir/ ;;
9295 esac
9296 for ac_exec_ext in '' $ac_executable_extensions; do
9297 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9298 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9300 break 2
9302 done
9303 done
9304 IFS=$as_save_IFS
9308 READELF=$ac_cv_prog_READELF
9309 if test -n "$READELF"; then
9310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9311 printf "%s\n" "$READELF" >&6; }
9312 else
9313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9314 printf "%s\n" "no" >&6; }
9319 if test -z "$ac_cv_prog_READELF"; then
9320 ac_ct_READELF=$READELF
9321 # Extract the first word of "readelf", so it can be a program name with args.
9322 set dummy readelf; ac_word=$2
9323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9324 printf %s "checking for $ac_word... " >&6; }
9325 if test ${ac_cv_prog_ac_ct_READELF+y}
9326 then :
9327 printf %s "(cached) " >&6
9328 else $as_nop
9329 if test -n "$ac_ct_READELF"; then
9330 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9331 else
9332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9333 for as_dir in $PATH
9335 IFS=$as_save_IFS
9336 case $as_dir in #(((
9337 '') as_dir=./ ;;
9338 */) ;;
9339 *) as_dir=$as_dir/ ;;
9340 esac
9341 for ac_exec_ext in '' $ac_executable_extensions; do
9342 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9343 ac_cv_prog_ac_ct_READELF="readelf"
9344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9345 break 2
9347 done
9348 done
9349 IFS=$as_save_IFS
9353 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9354 if test -n "$ac_ct_READELF"; then
9355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9356 printf "%s\n" "$ac_ct_READELF" >&6; }
9357 else
9358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9359 printf "%s\n" "no" >&6; }
9362 if test "x$ac_ct_READELF" = x; then
9363 READELF="true"
9364 else
9365 case $cross_compiling:$ac_tool_warned in
9366 yes:)
9367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9368 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9369 ac_tool_warned=yes ;;
9370 esac
9371 READELF=$ac_ct_READELF
9373 else
9374 READELF="$ac_cv_prog_READELF"
9377 wine_rules="all:"
9378 SUBDIRS=""
9380 DISABLED_SUBDIRS=""
9382 CONFIGURE_TARGETS=""
9385 wine_fn_append_file ()
9387 as_fn_append $1 " \\$as_nl $2"
9390 wine_fn_append_rule ()
9392 as_fn_append wine_rules "$as_nl$1"
9395 wine_fn_config_makefile ()
9397 wine_fn_append_file SUBDIRS $1
9398 if eval test \"x\$"$2"\" = x"no"
9399 then :
9400 wine_fn_append_file DISABLED_SUBDIRS $1
9404 wine_fn_config_symlink ()
9406 ac_links=$@
9407 wine_fn_append_rule \
9408 "$ac_links:
9409 @./config.status \$@"
9410 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9413 wine_binary="wine"
9414 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9415 WINELOADER_PROGRAMS="$wine_binary"
9417 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9419 case $host_os in
9420 cygwin*|mingw32*)
9421 if test -n "$ac_tool_prefix"; then
9422 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9423 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9425 printf %s "checking for $ac_word... " >&6; }
9426 if test ${ac_cv_prog_DLLTOOL+y}
9427 then :
9428 printf %s "(cached) " >&6
9429 else $as_nop
9430 if test -n "$DLLTOOL"; then
9431 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9432 else
9433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9434 for as_dir in $PATH
9436 IFS=$as_save_IFS
9437 case $as_dir in #(((
9438 '') as_dir=./ ;;
9439 */) ;;
9440 *) as_dir=$as_dir/ ;;
9441 esac
9442 for ac_exec_ext in '' $ac_executable_extensions; do
9443 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9444 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9446 break 2
9448 done
9449 done
9450 IFS=$as_save_IFS
9454 DLLTOOL=$ac_cv_prog_DLLTOOL
9455 if test -n "$DLLTOOL"; then
9456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9457 printf "%s\n" "$DLLTOOL" >&6; }
9458 else
9459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9460 printf "%s\n" "no" >&6; }
9465 if test -z "$ac_cv_prog_DLLTOOL"; then
9466 ac_ct_DLLTOOL=$DLLTOOL
9467 # Extract the first word of "dlltool", so it can be a program name with args.
9468 set dummy dlltool; ac_word=$2
9469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9470 printf %s "checking for $ac_word... " >&6; }
9471 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9472 then :
9473 printf %s "(cached) " >&6
9474 else $as_nop
9475 if test -n "$ac_ct_DLLTOOL"; then
9476 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9477 else
9478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9479 for as_dir in $PATH
9481 IFS=$as_save_IFS
9482 case $as_dir in #(((
9483 '') as_dir=./ ;;
9484 */) ;;
9485 *) as_dir=$as_dir/ ;;
9486 esac
9487 for ac_exec_ext in '' $ac_executable_extensions; do
9488 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9489 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9490 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9491 break 2
9493 done
9494 done
9495 IFS=$as_save_IFS
9499 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9500 if test -n "$ac_ct_DLLTOOL"; then
9501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9502 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9503 else
9504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9505 printf "%s\n" "no" >&6; }
9508 if test "x$ac_ct_DLLTOOL" = x; then
9509 DLLTOOL="false"
9510 else
9511 case $cross_compiling:$ac_tool_warned in
9512 yes:)
9513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9514 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9515 ac_tool_warned=yes ;;
9516 esac
9517 DLLTOOL=$ac_ct_DLLTOOL
9519 else
9520 DLLTOOL="$ac_cv_prog_DLLTOOL"
9523 LIBEXT="dll"
9524 EXTRACFLAGS="-D__WINE_PE_BUILD"
9525 case $host_cpu in
9526 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9527 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9528 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9529 then :
9530 printf %s "(cached) " >&6
9531 else $as_nop
9532 ac_wine_try_cflags_saved=$CFLAGS
9533 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9536 int main(int argc, char **argv) { return 0; }
9537 _ACEOF
9538 if ac_fn_c_try_link "$LINENO"
9539 then :
9540 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9541 else $as_nop
9542 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9545 conftest$ac_exeext conftest.$ac_ext
9546 CFLAGS=$ac_wine_try_cflags_saved
9548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9549 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9550 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9551 then :
9552 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9553 fi ;;
9554 esac
9555 enable_loader=${enable_loader:-no}
9556 enable_server=${enable_server:-no}
9557 with_x=${with_x:-no}
9558 with_pthread=${with_pthread:-no}
9561 darwin*|macosx*)
9562 ac_ext=m
9563 ac_cpp='$OBJCPP $CPPFLAGS'
9564 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9565 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9566 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9568 ac_ext=m
9569 ac_cpp='$OBJCPP $CPPFLAGS'
9570 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9571 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9572 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9573 if test -n "$ac_tool_prefix"; then
9574 for ac_prog in gcc objcc objc cc CC clang
9576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9577 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9579 printf %s "checking for $ac_word... " >&6; }
9580 if test ${ac_cv_prog_OBJC+y}
9581 then :
9582 printf %s "(cached) " >&6
9583 else $as_nop
9584 if test -n "$OBJC"; then
9585 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9586 else
9587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9588 for as_dir in $PATH
9590 IFS=$as_save_IFS
9591 case $as_dir in #(((
9592 '') as_dir=./ ;;
9593 */) ;;
9594 *) as_dir=$as_dir/ ;;
9595 esac
9596 for ac_exec_ext in '' $ac_executable_extensions; do
9597 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9598 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9600 break 2
9602 done
9603 done
9604 IFS=$as_save_IFS
9608 OBJC=$ac_cv_prog_OBJC
9609 if test -n "$OBJC"; then
9610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9611 printf "%s\n" "$OBJC" >&6; }
9612 else
9613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9614 printf "%s\n" "no" >&6; }
9618 test -n "$OBJC" && break
9619 done
9621 if test -z "$OBJC"; then
9622 ac_ct_OBJC=$OBJC
9623 for ac_prog in gcc objcc objc cc CC clang
9625 # Extract the first word of "$ac_prog", so it can be a program name with args.
9626 set dummy $ac_prog; ac_word=$2
9627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9628 printf %s "checking for $ac_word... " >&6; }
9629 if test ${ac_cv_prog_ac_ct_OBJC+y}
9630 then :
9631 printf %s "(cached) " >&6
9632 else $as_nop
9633 if test -n "$ac_ct_OBJC"; then
9634 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9635 else
9636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9637 for as_dir in $PATH
9639 IFS=$as_save_IFS
9640 case $as_dir in #(((
9641 '') as_dir=./ ;;
9642 */) ;;
9643 *) as_dir=$as_dir/ ;;
9644 esac
9645 for ac_exec_ext in '' $ac_executable_extensions; do
9646 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9647 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9649 break 2
9651 done
9652 done
9653 IFS=$as_save_IFS
9657 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9658 if test -n "$ac_ct_OBJC"; then
9659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9660 printf "%s\n" "$ac_ct_OBJC" >&6; }
9661 else
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9663 printf "%s\n" "no" >&6; }
9667 test -n "$ac_ct_OBJC" && break
9668 done
9670 if test "x$ac_ct_OBJC" = x; then
9671 OBJC="gcc"
9672 else
9673 case $cross_compiling:$ac_tool_warned in
9674 yes:)
9675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9676 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9677 ac_tool_warned=yes ;;
9678 esac
9679 OBJC=$ac_ct_OBJC
9683 # Provide some information about the compiler.
9684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9685 set X $ac_compile
9686 ac_compiler=$2
9687 for ac_option in --version -v -V -qversion; do
9688 { { ac_try="$ac_compiler $ac_option >&5"
9689 case "(($ac_try" in
9690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9691 *) ac_try_echo=$ac_try;;
9692 esac
9693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9694 printf "%s\n" "$ac_try_echo"; } >&5
9695 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9696 ac_status=$?
9697 if test -s conftest.err; then
9698 sed '10a\
9699 ... rest of stderr output deleted ...
9700 10q' conftest.err >conftest.er1
9701 cat conftest.er1 >&5
9703 rm -f conftest.er1 conftest.err
9704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9705 test $ac_status = 0; }
9706 done
9708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9709 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9710 if test ${ac_cv_objc_compiler_gnu+y}
9711 then :
9712 printf %s "(cached) " >&6
9713 else $as_nop
9714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9715 /* end confdefs.h. */
9718 main (void)
9720 #ifndef __GNUC__
9721 choke me
9722 #endif
9725 return 0;
9727 _ACEOF
9728 if ac_fn_objc_try_compile "$LINENO"
9729 then :
9730 ac_compiler_gnu=yes
9731 else $as_nop
9732 ac_compiler_gnu=no
9734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9735 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9739 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9740 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9742 if test $ac_compiler_gnu = yes; then
9743 GOBJC=yes
9744 else
9745 GOBJC=
9747 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9748 ac_save_OBJCFLAGS=$OBJCFLAGS
9749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9750 printf %s "checking whether $OBJC accepts -g... " >&6; }
9751 if test ${ac_cv_prog_objc_g+y}
9752 then :
9753 printf %s "(cached) " >&6
9754 else $as_nop
9755 ac_save_objc_werror_flag=$ac_objc_werror_flag
9756 ac_objc_werror_flag=yes
9757 ac_cv_prog_objc_g=no
9758 OBJCFLAGS="-g"
9759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9760 /* end confdefs.h. */
9763 main (void)
9767 return 0;
9769 _ACEOF
9770 if ac_fn_objc_try_compile "$LINENO"
9771 then :
9772 ac_cv_prog_objc_g=yes
9773 else $as_nop
9774 OBJCFLAGS=""
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9779 main (void)
9783 return 0;
9785 _ACEOF
9786 if ac_fn_objc_try_compile "$LINENO"
9787 then :
9789 else $as_nop
9790 ac_objc_werror_flag=$ac_save_objc_werror_flag
9791 OBJCFLAGS="-g"
9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9796 main (void)
9800 return 0;
9802 _ACEOF
9803 if ac_fn_objc_try_compile "$LINENO"
9804 then :
9805 ac_cv_prog_objc_g=yes
9807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9812 ac_objc_werror_flag=$ac_save_objc_werror_flag
9814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9815 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9816 if test $ac_test_OBJCFLAGS; then
9817 OBJCFLAGS=$ac_save_OBJCFLAGS
9818 elif test $ac_cv_prog_objc_g = yes; then
9819 if test "$GOBJC" = yes; then
9820 OBJCFLAGS="-g -O2"
9821 else
9822 OBJCFLAGS="-g"
9824 else
9825 if test "$GOBJC" = yes; then
9826 OBJCFLAGS="-O2"
9827 else
9828 OBJCFLAGS=
9831 ac_ext=m
9832 ac_cpp='$OBJCPP $CPPFLAGS'
9833 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9834 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9835 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9838 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9839 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9840 then :
9841 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9845 ac_ext=c
9846 ac_cpp='$CPP $CPPFLAGS'
9847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9851 LIBEXT="dylib"
9852 DLLFLAGS="$DLLFLAGS -fPIC"
9853 LDDLLFLAGS="-fPIC"
9854 COREFOUNDATION_LIBS="-framework CoreFoundation"
9856 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9858 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9860 CORESERVICES_LIBS="-framework CoreServices"
9862 APPKIT_LIBS="-framework AppKit"
9864 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9867 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9869 wine_can_build_preloader=yes
9870 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"
9871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9872 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9873 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9874 then :
9875 printf %s "(cached) " >&6
9876 else $as_nop
9877 ac_wine_try_cflags_saved=$CFLAGS
9878 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9881 int main(int argc, char **argv) { return 0; }
9882 _ACEOF
9883 if ac_fn_c_try_link "$LINENO"
9884 then :
9885 ac_cv_cflags__Wl__no_new_main__e__main=yes
9886 else $as_nop
9887 ac_cv_cflags__Wl__no_new_main__e__main=no
9889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9890 conftest$ac_exeext conftest.$ac_ext
9891 CFLAGS=$ac_wine_try_cflags_saved
9893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9894 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9895 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9896 then :
9897 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9898 { 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
9899 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9900 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9901 then :
9902 printf %s "(cached) " >&6
9903 else $as_nop
9904 ac_wine_try_cflags_saved=$CFLAGS
9905 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9907 /* end confdefs.h. */
9908 int main(int argc, char **argv) { return 0; }
9909 _ACEOF
9910 if ac_fn_c_try_link "$LINENO"
9911 then :
9912 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9913 else $as_nop
9914 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9917 conftest$ac_exeext conftest.$ac_ext
9918 CFLAGS=$ac_wine_try_cflags_saved
9920 { 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
9921 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9922 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9923 then :
9924 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9925 else $as_nop
9926 wine_can_build_preloader=no
9928 else $as_nop
9929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9930 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9931 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9932 then :
9933 printf %s "(cached) " >&6
9934 else $as_nop
9935 ac_wine_try_cflags_saved=$CFLAGS
9936 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9938 /* end confdefs.h. */
9939 int main(int argc, char **argv) { return 0; }
9940 _ACEOF
9941 if ac_fn_c_try_link "$LINENO"
9942 then :
9943 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9944 else $as_nop
9945 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9948 conftest$ac_exeext conftest.$ac_ext
9949 CFLAGS=$ac_wine_try_cflags_saved
9951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9952 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9953 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9954 then :
9955 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9956 else $as_nop
9957 wine_can_build_preloader=no
9960 if test "$wine_can_build_preloader" = "yes"
9961 then
9962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9963 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9964 if test ${ac_cv_cflags__Wl__no_pie+y}
9965 then :
9966 printf %s "(cached) " >&6
9967 else $as_nop
9968 ac_wine_try_cflags_saved=$CFLAGS
9969 CFLAGS="$CFLAGS -Wl,-no_pie"
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9972 int main(int argc, char **argv) { return 0; }
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"
9975 then :
9976 ac_cv_cflags__Wl__no_pie=yes
9977 else $as_nop
9978 ac_cv_cflags__Wl__no_pie=no
9980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9981 conftest$ac_exeext conftest.$ac_ext
9982 CFLAGS=$ac_wine_try_cflags_saved
9984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9985 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9986 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9987 then :
9988 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9990 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
9991 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9992 else
9993 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9996 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9997 then
9998 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10001 if test "$ac_cv_header_Security_Security_h" = "yes"
10002 then
10003 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10006 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10007 then
10008 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10010 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10012 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10013 then
10014 OPENAL_LIBS="-framework OpenAL"
10017 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10019 ac_cv_lib_openal=yes
10021 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10022 then
10023 OPENCL_LIBS="-framework OpenCL"
10025 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10027 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10028 then
10029 ac_save_LIBS="$LIBS"
10030 LIBS="$LIBS $IOKIT_LIBS"
10031 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10032 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10033 then :
10034 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10038 LIBS="$ac_save_LIBS"
10041 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10042 then
10043 CARBON_LIBS="-framework Carbon"
10046 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10047 then
10048 METAL_LIBS="-framework Metal"
10052 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10053 then
10054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10055 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10056 ac_ext=m
10057 ac_cpp='$OBJCPP $CPPFLAGS'
10058 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10059 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10060 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10064 #include <Metal/Metal.h>
10066 main (void)
10068 id<MTLDevice> device; device.registryID;
10070 return 0;
10072 _ACEOF
10073 if ac_fn_objc_try_compile "$LINENO"
10074 then :
10075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10076 printf "%s\n" "yes" >&6; }
10078 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10080 else $as_nop
10081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10082 printf "%s\n" "no" >&6; }
10084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10085 ac_ext=c
10086 ac_cpp='$CPP $CPPFLAGS'
10087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10093 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10094 then
10095 ac_save_LIBS="$LIBS"
10096 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10097 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10098 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10099 then :
10100 enable_winemac_drv=${enable_winemac_drv:-yes}
10103 LIBS="$ac_save_LIBS"
10106 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10107 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10109 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10111 WINELOADER_DEPENDS="wine_info.plist"
10113 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10116 linux-android*)
10118 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10120 DLLFLAGS="$DLLFLAGS -fPIC"
10121 LDDLLFLAGS="-fPIC"
10122 LDEXECFLAGS="-Wl,-pie"
10123 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10125 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10126 if test ${ac_cv_cflags__Wl__z_defs+y}
10127 then :
10128 printf %s "(cached) " >&6
10129 else $as_nop
10130 ac_wine_try_cflags_saved=$CFLAGS
10131 CFLAGS="$CFLAGS -Wl,-z,defs"
10132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10133 /* end confdefs.h. */
10134 int main(int argc, char **argv) { return 0; }
10135 _ACEOF
10136 if ac_fn_c_try_link "$LINENO"
10137 then :
10138 ac_cv_cflags__Wl__z_defs=yes
10139 else $as_nop
10140 ac_cv_cflags__Wl__z_defs=no
10142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10143 conftest$ac_exeext conftest.$ac_ext
10144 CFLAGS=$ac_wine_try_cflags_saved
10146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10147 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10148 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10149 then :
10150 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10153 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10154 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10155 then :
10156 printf %s "(cached) " >&6
10157 else $as_nop
10158 ac_wine_try_cflags_saved=$CFLAGS
10159 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10161 /* end confdefs.h. */
10162 int main(int argc, char **argv) { return 0; }
10163 _ACEOF
10164 if ac_fn_c_try_link "$LINENO"
10165 then :
10166 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10167 else $as_nop
10168 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10171 conftest$ac_exeext conftest.$ac_ext
10172 CFLAGS=$ac_wine_try_cflags_saved
10174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10175 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10176 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10177 then :
10178 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10180 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10183 printf %s "checking for -lEGL... " >&6; }
10184 if test ${ac_cv_lib_soname_EGL+y}
10185 then :
10186 printf %s "(cached) " >&6
10187 else $as_nop
10188 ac_check_soname_save_LIBS=$LIBS
10189 LIBS="-lEGL $LIBS"
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10193 /* Override any GCC internal prototype to avoid an error.
10194 Use char because int might match the return type of a GCC
10195 builtin and then its argument prototype would still apply. */
10196 char eglGetProcAddress ();
10198 main (void)
10200 return eglGetProcAddress ();
10202 return 0;
10204 _ACEOF
10205 if ac_fn_c_try_link "$LINENO"
10206 then :
10207 case "$LIBEXT" in
10208 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10209 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'` ;;
10210 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10211 if ${ac_cv_lib_soname_EGL:+false} :
10212 then :
10213 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10214 fi ;;
10215 esac
10216 else $as_nop
10217 ac_cv_lib_soname_EGL=
10219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10220 conftest$ac_exeext conftest.$ac_ext
10221 LIBS=$ac_check_soname_save_LIBS
10223 if ${ac_cv_lib_soname_EGL:+false} :
10224 then :
10225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10226 printf "%s\n" "not found" >&6; }
10228 else $as_nop
10229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10230 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10232 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10237 printf %s "checking for -lGLESv2... " >&6; }
10238 if test ${ac_cv_lib_soname_GLESv2+y}
10239 then :
10240 printf %s "(cached) " >&6
10241 else $as_nop
10242 ac_check_soname_save_LIBS=$LIBS
10243 LIBS="-lGLESv2 $LIBS"
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10247 /* Override any GCC internal prototype to avoid an error.
10248 Use char because int might match the return type of a GCC
10249 builtin and then its argument prototype would still apply. */
10250 char glFlush ();
10252 main (void)
10254 return glFlush ();
10256 return 0;
10258 _ACEOF
10259 if ac_fn_c_try_link "$LINENO"
10260 then :
10261 case "$LIBEXT" in
10262 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10263 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'` ;;
10264 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10265 if ${ac_cv_lib_soname_GLESv2:+false} :
10266 then :
10267 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10268 fi ;;
10269 esac
10270 else $as_nop
10271 ac_cv_lib_soname_GLESv2=
10273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10274 conftest$ac_exeext conftest.$ac_ext
10275 LIBS=$ac_check_soname_save_LIBS
10277 if ${ac_cv_lib_soname_GLESv2:+false} :
10278 then :
10279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10280 printf "%s\n" "not found" >&6; }
10282 else $as_nop
10283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10284 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10286 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10291 if test "x$exec_prefix" = xNONE
10292 then
10293 case $host_cpu in
10294 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10295 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10296 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10297 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10298 esac
10304 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10306 test "$ac_cv_sys_file_offset_bits" = 64 &&
10307 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10309 case $host_cpu in
10310 *i[3456789]86*)
10311 DLLFLAGS="$DLLFLAGS -fno-PIC"
10312 LDDLLFLAGS="-fno-PIC"
10313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10314 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10315 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10316 then :
10317 printf %s "(cached) " >&6
10318 else $as_nop
10319 ac_wine_try_cflags_saved=$CFLAGS
10320 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10323 int main(int argc, char **argv) { return 0; }
10324 _ACEOF
10325 if ac_fn_c_try_link "$LINENO"
10326 then :
10327 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10328 else $as_nop
10329 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10332 conftest$ac_exeext conftest.$ac_ext
10333 CFLAGS=$ac_wine_try_cflags_saved
10335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10336 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10337 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10338 then :
10339 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10343 DLLFLAGS="$DLLFLAGS -fPIC"
10344 LDDLLFLAGS="-fPIC" ;;
10345 esac
10346 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10348 echo '{ global: *; };' >conftest.map
10349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10350 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10351 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10352 then :
10353 printf %s "(cached) " >&6
10354 else $as_nop
10355 ac_wine_try_cflags_saved=$CFLAGS
10356 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10359 int main(int argc, char **argv) { return 0; }
10360 _ACEOF
10361 if ac_fn_c_try_link "$LINENO"
10362 then :
10363 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10364 else $as_nop
10365 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10368 conftest$ac_exeext conftest.$ac_ext
10369 CFLAGS=$ac_wine_try_cflags_saved
10371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10372 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10373 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10374 then :
10375 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10377 rm -f conftest.map
10379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10380 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10381 if test ${ac_cv_cflags__Wl__z_defs+y}
10382 then :
10383 printf %s "(cached) " >&6
10384 else $as_nop
10385 ac_wine_try_cflags_saved=$CFLAGS
10386 CFLAGS="$CFLAGS -Wl,-z,defs"
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10389 int main(int argc, char **argv) { return 0; }
10390 _ACEOF
10391 if ac_fn_c_try_link "$LINENO"
10392 then :
10393 ac_cv_cflags__Wl__z_defs=yes
10394 else $as_nop
10395 ac_cv_cflags__Wl__z_defs=no
10397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10398 conftest$ac_exeext conftest.$ac_ext
10399 CFLAGS=$ac_wine_try_cflags_saved
10401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10402 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10403 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10404 then :
10405 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10408 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10409 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10410 then :
10411 printf %s "(cached) " >&6
10412 else $as_nop
10413 ac_wine_try_cflags_saved=$CFLAGS
10414 CFLAGS="$CFLAGS -Wl,--export-dynamic"
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___export_dynamic=yes
10422 else $as_nop
10423 ac_cv_cflags__Wl___export_dynamic=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___export_dynamic" >&5
10430 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10431 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10432 then :
10433 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10435 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10437 case $host_cpu in
10438 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10440 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10441 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10442 then :
10443 printf %s "(cached) " >&6
10444 else $as_nop
10445 ac_wine_try_cflags_saved=$CFLAGS
10446 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10448 /* end confdefs.h. */
10449 int main(int argc, char **argv) { return 0; }
10450 _ACEOF
10451 if ac_fn_c_try_link "$LINENO"
10452 then :
10453 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10454 else $as_nop
10455 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10458 conftest$ac_exeext conftest.$ac_ext
10459 CFLAGS=$ac_wine_try_cflags_saved
10461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10462 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10463 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10464 then :
10465 case $host_os in
10466 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10467 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10468 esac
10469 else $as_nop
10470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10471 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10472 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10473 then :
10474 printf %s "(cached) " >&6
10475 else $as_nop
10476 ac_wine_try_cflags_saved=$CFLAGS
10477 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10480 int main(int argc, char **argv) { return 0; }
10481 _ACEOF
10482 if ac_fn_c_try_link "$LINENO"
10483 then :
10484 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10485 else $as_nop
10486 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10489 conftest$ac_exeext conftest.$ac_ext
10490 CFLAGS=$ac_wine_try_cflags_saved
10492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10493 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10494 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10495 then :
10496 case $host_os in
10497 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10498 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10499 esac
10501 # Extract the first word of "prelink", so it can be a program name with args.
10502 set dummy prelink; ac_word=$2
10503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10504 printf %s "checking for $ac_word... " >&6; }
10505 if test ${ac_cv_path_PRELINK+y}
10506 then :
10507 printf %s "(cached) " >&6
10508 else $as_nop
10509 case $PRELINK in
10510 [\\/]* | ?:[\\/]*)
10511 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10515 for as_dir in /sbin /usr/sbin $PATH
10517 IFS=$as_save_IFS
10518 case $as_dir in #(((
10519 '') as_dir=./ ;;
10520 */) ;;
10521 *) as_dir=$as_dir/ ;;
10522 esac
10523 for ac_exec_ext in '' $ac_executable_extensions; do
10524 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10525 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10526 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10527 break 2
10529 done
10530 done
10531 IFS=$as_save_IFS
10533 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10535 esac
10537 PRELINK=$ac_cv_path_PRELINK
10538 if test -n "$PRELINK"; then
10539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10540 printf "%s\n" "$PRELINK" >&6; }
10541 else
10542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10543 printf "%s\n" "no" >&6; }
10547 if test "x$PRELINK" = xfalse
10548 then
10549 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10553 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10554 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10555 then :
10556 printf %s "(cached) " >&6
10557 else $as_nop
10558 ac_wine_try_cflags_saved=$CFLAGS
10559 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10562 int main(int argc, char **argv) { return 0; }
10563 _ACEOF
10564 if ac_fn_c_try_link "$LINENO"
10565 then :
10566 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10567 else $as_nop
10568 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10571 conftest$ac_exeext conftest.$ac_ext
10572 CFLAGS=$ac_wine_try_cflags_saved
10574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10575 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10576 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10577 then :
10578 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10581 esac
10582 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10584 LIBWINE_DEPENDS="wine.map"
10586 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10588 esac
10590 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10591 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10592 enable_winemac_drv=${enable_winemac_drv:-no}
10595 if test "x$with_mingw" != xno
10596 then
10597 case "x$with_mingw" in
10598 x|xyes) case "$host_cpu" in
10599 aarch64*)
10600 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10601 arm*)
10602 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10603 i[3456789]86*)
10604 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
10605 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10606 mingw32-gcc clang" ;;
10607 x86_64)
10608 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
10609 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10611 ac_prefix_list="" ;;
10612 esac
10613 for ac_prog in $ac_prefix_list
10615 # Extract the first word of "$ac_prog", so it can be a program name with args.
10616 set dummy $ac_prog; ac_word=$2
10617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10618 printf %s "checking for $ac_word... " >&6; }
10619 if test ${ac_cv_prog_CROSSCC+y}
10620 then :
10621 printf %s "(cached) " >&6
10622 else $as_nop
10623 if test -n "$CROSSCC"; then
10624 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10625 else
10626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10627 for as_dir in $PATH
10629 IFS=$as_save_IFS
10630 case $as_dir in #(((
10631 '') as_dir=./ ;;
10632 */) ;;
10633 *) as_dir=$as_dir/ ;;
10634 esac
10635 for ac_exec_ext in '' $ac_executable_extensions; do
10636 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10637 ac_cv_prog_CROSSCC="$ac_prog"
10638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10639 break 2
10641 done
10642 done
10643 IFS=$as_save_IFS
10647 CROSSCC=$ac_cv_prog_CROSSCC
10648 if test -n "$CROSSCC"; then
10649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10650 printf "%s\n" "$CROSSCC" >&6; }
10651 else
10652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10653 printf "%s\n" "no" >&6; }
10657 test -n "$CROSSCC" && break
10658 done
10659 test -n "$CROSSCC" || CROSSCC="false"
10661 *) CROSSCC=$with_mingw ;;
10662 esac
10663 if test "$CROSSCC" != "false"
10664 then
10665 ac_save_CC="$CC"
10666 saved_CFLAGS=$CFLAGS
10667 saved_LDFLAGS=$LDFLAGS
10668 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10670 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10674 CC="$CROSSCC"
10675 CFLAGS=$CROSSCFLAGS
10676 LDFLAGS=$CROSSLDFLAGS
10677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10678 printf %s "checking whether $CROSSCC works... " >&6; }
10679 if test ${wine_cv_crosscc+y}
10680 then :
10681 printf %s "(cached) " >&6
10682 else $as_nop
10683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10684 /* end confdefs.h. */
10687 main (void)
10691 return 0;
10693 _ACEOF
10694 if ac_fn_c_try_compile "$LINENO"
10695 then :
10696 wine_cv_crosscc=yes
10697 else $as_nop
10698 wine_cv_crosscc=no
10700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10703 printf "%s\n" "$wine_cv_crosscc" >&6; }
10704 if test $wine_cv_crosscc = yes
10705 then
10706 set x $CROSSCC
10707 shift
10708 while test $# -ge 1
10710 case "$1" in
10711 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10712 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10713 esac
10714 shift
10715 done
10717 llvm_target=$CROSSTARGET
10718 llvm_cflags="-fuse-ld=lld"
10719 if test -z "$llvm_target"
10720 then
10721 case $host_cpu in
10722 *i[3456789]86*) llvm_target=i686-windows ;;
10723 *) llvm_target=$host_cpu-windows ;;
10724 esac
10726 case $llvm_target in
10727 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10728 esac
10729 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10731 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10732 if eval test \${$as_ac_var+y}
10733 then :
10734 printf %s "(cached) " >&6
10735 else $as_nop
10736 ac_wine_try_cflags_saved=$CFLAGS
10737 ac_wine_try_cflags_saved_cc=$CC
10738 ac_wine_try_cflags_saved_exeext=$ac_exeext
10739 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10740 CC="$CROSSCC"
10741 ac_exeext=".exe"
10742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10743 /* end confdefs.h. */
10744 int __cdecl mainCRTStartup(void) { return 0; }
10745 _ACEOF
10746 if ac_fn_c_try_link "$LINENO"
10747 then :
10748 eval "$as_ac_var=yes"
10749 else $as_nop
10750 eval "$as_ac_var=no"
10752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10753 conftest$ac_exeext conftest.$ac_ext
10754 CFLAGS=$ac_wine_try_cflags_saved
10755 CC=$ac_wine_try_cflags_saved_cc
10756 ac_exeext=$ac_wine_try_cflags_saved_exeext
10758 eval ac_res=\$$as_ac_var
10759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10760 printf "%s\n" "$ac_res" >&6; }
10761 if eval test \"x\$"$as_ac_var"\" = x"yes"
10762 then :
10763 CROSSTARGET=$llvm_target
10764 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10765 DELAYLOADFLAG="-Wl,-delayload,"
10767 CFLAGS="$CFLAGS $llvm_cflags"
10770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CROSSCC option to enable C99 features" >&5
10771 printf %s "checking for $CROSSCC option to enable C99 features... " >&6; }
10772 if test ${wine_cv_crosscc_c99+y}
10773 then :
10774 printf %s "(cached) " >&6
10775 else $as_nop
10776 wine_cv_crosscc_c99=no
10777 for arg in '' '-std=gnu99'
10779 CC="$CROSSCC $arg"
10780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10781 /* end confdefs.h. */
10782 $ac_c_conftest_c99_program
10783 _ACEOF
10784 if ac_fn_c_try_compile "$LINENO"
10785 then :
10786 wine_cv_crosscc_c99=$arg
10787 else $as_nop
10788 wine_cv_crosscc_c99=no
10790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10791 test "x$wine_cv_crosscc_c99" != xno && break
10792 done
10795 case "x$wine_cv_crosscc_c99" in
10796 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10797 printf "%s\n" "none needed" >&6; } ;;
10798 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10799 printf "%s\n" "unsupported" >&6; } ;;
10800 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc_c99" >&5
10801 printf "%s\n" "$wine_cv_crosscc_c99" >&6; }
10802 CROSSCC="$CROSSCC $wine_cv_crosscc_c99" ;;
10803 esac
10805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10806 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10807 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10808 then :
10809 printf %s "(cached) " >&6
10810 else $as_nop
10811 ac_wine_try_cflags_saved=$CFLAGS
10812 ac_wine_try_cflags_saved_cc=$CC
10813 ac_wine_try_cflags_saved_exeext=$ac_exeext
10814 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10815 CC="$CROSSCC"
10816 ac_exeext=".exe"
10817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10818 /* end confdefs.h. */
10819 int __cdecl mainCRTStartup(void) { return 0; }
10820 _ACEOF
10821 if ac_fn_c_try_link "$LINENO"
10822 then :
10823 ac_cv_crosscflags__fno_strict_aliasing=yes
10824 else $as_nop
10825 ac_cv_crosscflags__fno_strict_aliasing=no
10827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10828 conftest$ac_exeext conftest.$ac_ext
10829 CFLAGS=$ac_wine_try_cflags_saved
10830 CC=$ac_wine_try_cflags_saved_cc
10831 ac_exeext=$ac_wine_try_cflags_saved_exeext
10833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10834 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10835 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10836 then :
10837 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10840 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10841 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
10842 then :
10843 printf %s "(cached) " >&6
10844 else $as_nop
10845 ac_wine_try_cflags_saved=$CFLAGS
10846 ac_wine_try_cflags_saved_cc=$CC
10847 ac_wine_try_cflags_saved_exeext=$ac_exeext
10848 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10849 CC="$CROSSCC"
10850 ac_exeext=".exe"
10851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10852 /* end confdefs.h. */
10853 int __cdecl mainCRTStartup(void) { return 0; }
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"
10856 then :
10857 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10858 else $as_nop
10859 ac_cv_crosscflags__Werror_unknown_warning_option=no
10861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10862 conftest$ac_exeext conftest.$ac_ext
10863 CFLAGS=$ac_wine_try_cflags_saved
10864 CC=$ac_wine_try_cflags_saved_cc
10865 ac_exeext=$ac_wine_try_cflags_saved_exeext
10867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10868 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10869 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10870 then :
10871 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10874 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10875 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10876 then :
10877 printf %s "(cached) " >&6
10878 else $as_nop
10879 ac_wine_try_cflags_saved=$CFLAGS
10880 ac_wine_try_cflags_saved_cc=$CC
10881 ac_wine_try_cflags_saved_exeext=$ac_exeext
10882 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10883 CC="$CROSSCC"
10884 ac_exeext=".exe"
10885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10886 /* end confdefs.h. */
10887 int __cdecl mainCRTStartup(void) { return 0; }
10888 _ACEOF
10889 if ac_fn_c_try_link "$LINENO"
10890 then :
10891 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10892 else $as_nop
10893 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10896 conftest$ac_exeext conftest.$ac_ext
10897 CFLAGS=$ac_wine_try_cflags_saved
10898 CC=$ac_wine_try_cflags_saved_cc
10899 ac_exeext=$ac_wine_try_cflags_saved_exeext
10901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10902 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10903 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10904 then :
10905 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10908 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10909 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
10910 then :
10911 printf %s "(cached) " >&6
10912 else $as_nop
10913 ac_wine_try_cflags_saved=$CFLAGS
10914 ac_wine_try_cflags_saved_cc=$CC
10915 ac_wine_try_cflags_saved_exeext=$ac_exeext
10916 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10917 CC="$CROSSCC"
10918 ac_exeext=".exe"
10919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10920 /* end confdefs.h. */
10921 int __cdecl mainCRTStartup(void) { return 0; }
10922 _ACEOF
10923 if ac_fn_c_try_link "$LINENO"
10924 then :
10925 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10926 else $as_nop
10927 ac_cv_crosscflags__Wdeclaration_after_statement=no
10929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10930 conftest$ac_exeext conftest.$ac_ext
10931 CFLAGS=$ac_wine_try_cflags_saved
10932 CC=$ac_wine_try_cflags_saved_cc
10933 ac_exeext=$ac_wine_try_cflags_saved_exeext
10935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10936 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10937 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10938 then :
10939 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10942 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10943 if test ${ac_cv_crosscflags__Wempty_body+y}
10944 then :
10945 printf %s "(cached) " >&6
10946 else $as_nop
10947 ac_wine_try_cflags_saved=$CFLAGS
10948 ac_wine_try_cflags_saved_cc=$CC
10949 ac_wine_try_cflags_saved_exeext=$ac_exeext
10950 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10951 CC="$CROSSCC"
10952 ac_exeext=".exe"
10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10955 int __cdecl mainCRTStartup(void) { return 0; }
10956 _ACEOF
10957 if ac_fn_c_try_link "$LINENO"
10958 then :
10959 ac_cv_crosscflags__Wempty_body=yes
10960 else $as_nop
10961 ac_cv_crosscflags__Wempty_body=no
10963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10964 conftest$ac_exeext conftest.$ac_ext
10965 CFLAGS=$ac_wine_try_cflags_saved
10966 CC=$ac_wine_try_cflags_saved_cc
10967 ac_exeext=$ac_wine_try_cflags_saved_exeext
10969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10970 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
10971 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
10972 then :
10973 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10976 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10977 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
10978 then :
10979 printf %s "(cached) " >&6
10980 else $as_nop
10981 ac_wine_try_cflags_saved=$CFLAGS
10982 ac_wine_try_cflags_saved_cc=$CC
10983 ac_wine_try_cflags_saved_exeext=$ac_exeext
10984 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10985 CC="$CROSSCC"
10986 ac_exeext=".exe"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10989 int __cdecl mainCRTStartup(void) { return 0; }
10990 _ACEOF
10991 if ac_fn_c_try_link "$LINENO"
10992 then :
10993 ac_cv_crosscflags__Wignored_qualifiers=yes
10994 else $as_nop
10995 ac_cv_crosscflags__Wignored_qualifiers=no
10997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10998 conftest$ac_exeext conftest.$ac_ext
10999 CFLAGS=$ac_wine_try_cflags_saved
11000 CC=$ac_wine_try_cflags_saved_cc
11001 ac_exeext=$ac_wine_try_cflags_saved_exeext
11003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11004 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11005 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11006 then :
11007 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11010 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11011 if test ${ac_cv_crosscflags__Winit_self+y}
11012 then :
11013 printf %s "(cached) " >&6
11014 else $as_nop
11015 ac_wine_try_cflags_saved=$CFLAGS
11016 ac_wine_try_cflags_saved_cc=$CC
11017 ac_wine_try_cflags_saved_exeext=$ac_exeext
11018 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11019 CC="$CROSSCC"
11020 ac_exeext=".exe"
11021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11023 int __cdecl mainCRTStartup(void) { return 0; }
11024 _ACEOF
11025 if ac_fn_c_try_link "$LINENO"
11026 then :
11027 ac_cv_crosscflags__Winit_self=yes
11028 else $as_nop
11029 ac_cv_crosscflags__Winit_self=no
11031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11032 conftest$ac_exeext conftest.$ac_ext
11033 CFLAGS=$ac_wine_try_cflags_saved
11034 CC=$ac_wine_try_cflags_saved_cc
11035 ac_exeext=$ac_wine_try_cflags_saved_exeext
11037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11038 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11039 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11040 then :
11041 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11044 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11045 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11046 then :
11047 printf %s "(cached) " >&6
11048 else $as_nop
11049 ac_wine_try_cflags_saved=$CFLAGS
11050 ac_wine_try_cflags_saved_cc=$CC
11051 ac_wine_try_cflags_saved_exeext=$ac_exeext
11052 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11053 CC="$CROSSCC"
11054 ac_exeext=".exe"
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11057 int __cdecl mainCRTStartup(void) { return 0; }
11058 _ACEOF
11059 if ac_fn_c_try_link "$LINENO"
11060 then :
11061 ac_cv_crosscflags__Wpacked_not_aligned=yes
11062 else $as_nop
11063 ac_cv_crosscflags__Wpacked_not_aligned=no
11065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11066 conftest$ac_exeext conftest.$ac_ext
11067 CFLAGS=$ac_wine_try_cflags_saved
11068 CC=$ac_wine_try_cflags_saved_cc
11069 ac_exeext=$ac_wine_try_cflags_saved_exeext
11071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11072 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11073 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11074 then :
11075 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11078 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11079 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11080 then :
11081 printf %s "(cached) " >&6
11082 else $as_nop
11083 ac_wine_try_cflags_saved=$CFLAGS
11084 ac_wine_try_cflags_saved_cc=$CC
11085 ac_wine_try_cflags_saved_exeext=$ac_exeext
11086 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11087 CC="$CROSSCC"
11088 ac_exeext=".exe"
11089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11091 int __cdecl mainCRTStartup(void) { return 0; }
11092 _ACEOF
11093 if ac_fn_c_try_link "$LINENO"
11094 then :
11095 ac_cv_crosscflags__Wpragma_pack=yes
11096 else $as_nop
11097 ac_cv_crosscflags__Wpragma_pack=no
11099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11100 conftest$ac_exeext conftest.$ac_ext
11101 CFLAGS=$ac_wine_try_cflags_saved
11102 CC=$ac_wine_try_cflags_saved_cc
11103 ac_exeext=$ac_wine_try_cflags_saved_exeext
11105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11106 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11107 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11108 then :
11109 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11112 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11113 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11114 then :
11115 printf %s "(cached) " >&6
11116 else $as_nop
11117 ac_wine_try_cflags_saved=$CFLAGS
11118 ac_wine_try_cflags_saved_cc=$CC
11119 ac_wine_try_cflags_saved_exeext=$ac_exeext
11120 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11121 CC="$CROSSCC"
11122 ac_exeext=".exe"
11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11125 int __cdecl mainCRTStartup(void) { return 0; }
11126 _ACEOF
11127 if ac_fn_c_try_link "$LINENO"
11128 then :
11129 ac_cv_crosscflags__Wshift_overflow_2=yes
11130 else $as_nop
11131 ac_cv_crosscflags__Wshift_overflow_2=no
11133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11134 conftest$ac_exeext conftest.$ac_ext
11135 CFLAGS=$ac_wine_try_cflags_saved
11136 CC=$ac_wine_try_cflags_saved_cc
11137 ac_exeext=$ac_wine_try_cflags_saved_exeext
11139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11140 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11141 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11142 then :
11143 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11146 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11147 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11148 then :
11149 printf %s "(cached) " >&6
11150 else $as_nop
11151 ac_wine_try_cflags_saved=$CFLAGS
11152 ac_wine_try_cflags_saved_cc=$CC
11153 ac_wine_try_cflags_saved_exeext=$ac_exeext
11154 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11155 CC="$CROSSCC"
11156 ac_exeext=".exe"
11157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11159 int __cdecl mainCRTStartup(void) { return 0; }
11160 _ACEOF
11161 if ac_fn_c_try_link "$LINENO"
11162 then :
11163 ac_cv_crosscflags__Wstrict_prototypes=yes
11164 else $as_nop
11165 ac_cv_crosscflags__Wstrict_prototypes=no
11167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11168 conftest$ac_exeext conftest.$ac_ext
11169 CFLAGS=$ac_wine_try_cflags_saved
11170 CC=$ac_wine_try_cflags_saved_cc
11171 ac_exeext=$ac_wine_try_cflags_saved_exeext
11173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11174 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11175 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11176 then :
11177 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11180 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11181 if test ${ac_cv_crosscflags__Wtype_limits+y}
11182 then :
11183 printf %s "(cached) " >&6
11184 else $as_nop
11185 ac_wine_try_cflags_saved=$CFLAGS
11186 ac_wine_try_cflags_saved_cc=$CC
11187 ac_wine_try_cflags_saved_exeext=$ac_exeext
11188 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11189 CC="$CROSSCC"
11190 ac_exeext=".exe"
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11193 int __cdecl mainCRTStartup(void) { return 0; }
11194 _ACEOF
11195 if ac_fn_c_try_link "$LINENO"
11196 then :
11197 ac_cv_crosscflags__Wtype_limits=yes
11198 else $as_nop
11199 ac_cv_crosscflags__Wtype_limits=no
11201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11202 conftest$ac_exeext conftest.$ac_ext
11203 CFLAGS=$ac_wine_try_cflags_saved
11204 CC=$ac_wine_try_cflags_saved_cc
11205 ac_exeext=$ac_wine_try_cflags_saved_exeext
11207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11208 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11209 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11210 then :
11211 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11214 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11215 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11216 then :
11217 printf %s "(cached) " >&6
11218 else $as_nop
11219 ac_wine_try_cflags_saved=$CFLAGS
11220 ac_wine_try_cflags_saved_cc=$CC
11221 ac_wine_try_cflags_saved_exeext=$ac_exeext
11222 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11223 CC="$CROSSCC"
11224 ac_exeext=".exe"
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11227 int __cdecl mainCRTStartup(void) { return 0; }
11228 _ACEOF
11229 if ac_fn_c_try_link "$LINENO"
11230 then :
11231 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11232 else $as_nop
11233 ac_cv_crosscflags__Wunused_but_set_parameter=no
11235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11236 conftest$ac_exeext conftest.$ac_ext
11237 CFLAGS=$ac_wine_try_cflags_saved
11238 CC=$ac_wine_try_cflags_saved_cc
11239 ac_exeext=$ac_wine_try_cflags_saved_exeext
11241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11242 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11243 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11244 then :
11245 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11248 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11249 if test ${ac_cv_crosscflags__Wvla+y}
11250 then :
11251 printf %s "(cached) " >&6
11252 else $as_nop
11253 ac_wine_try_cflags_saved=$CFLAGS
11254 ac_wine_try_cflags_saved_cc=$CC
11255 ac_wine_try_cflags_saved_exeext=$ac_exeext
11256 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11257 CC="$CROSSCC"
11258 ac_exeext=".exe"
11259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11261 int __cdecl mainCRTStartup(void) { return 0; }
11262 _ACEOF
11263 if ac_fn_c_try_link "$LINENO"
11264 then :
11265 ac_cv_crosscflags__Wvla=yes
11266 else $as_nop
11267 ac_cv_crosscflags__Wvla=no
11269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11270 conftest$ac_exeext conftest.$ac_ext
11271 CFLAGS=$ac_wine_try_cflags_saved
11272 CC=$ac_wine_try_cflags_saved_cc
11273 ac_exeext=$ac_wine_try_cflags_saved_exeext
11275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11276 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11277 if test "x$ac_cv_crosscflags__Wvla" = xyes
11278 then :
11279 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11282 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11283 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11284 then :
11285 printf %s "(cached) " >&6
11286 else $as_nop
11287 ac_wine_try_cflags_saved=$CFLAGS
11288 ac_wine_try_cflags_saved_cc=$CC
11289 ac_wine_try_cflags_saved_exeext=$ac_exeext
11290 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11291 CC="$CROSSCC"
11292 ac_exeext=".exe"
11293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11294 /* end confdefs.h. */
11295 int __cdecl mainCRTStartup(void) { return 0; }
11296 _ACEOF
11297 if ac_fn_c_try_link "$LINENO"
11298 then :
11299 ac_cv_crosscflags__Wwrite_strings=yes
11300 else $as_nop
11301 ac_cv_crosscflags__Wwrite_strings=no
11303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11304 conftest$ac_exeext conftest.$ac_ext
11305 CFLAGS=$ac_wine_try_cflags_saved
11306 CC=$ac_wine_try_cflags_saved_cc
11307 ac_exeext=$ac_wine_try_cflags_saved_exeext
11309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11310 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11311 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11312 then :
11313 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11316 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11317 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11318 then :
11319 printf %s "(cached) " >&6
11320 else $as_nop
11321 ac_wine_try_cflags_saved=$CFLAGS
11322 ac_wine_try_cflags_saved_cc=$CC
11323 ac_wine_try_cflags_saved_exeext=$ac_exeext
11324 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11325 CC="$CROSSCC"
11326 ac_exeext=".exe"
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11329 int __cdecl mainCRTStartup(void) { return 0; }
11330 _ACEOF
11331 if ac_fn_c_try_link "$LINENO"
11332 then :
11333 ac_cv_crosscflags__Wpointer_arith=yes
11334 else $as_nop
11335 ac_cv_crosscflags__Wpointer_arith=no
11337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11338 conftest$ac_exeext conftest.$ac_ext
11339 CFLAGS=$ac_wine_try_cflags_saved
11340 CC=$ac_wine_try_cflags_saved_cc
11341 ac_exeext=$ac_wine_try_cflags_saved_exeext
11343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11344 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11345 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11346 then :
11347 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11350 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11351 if test ${ac_cv_crosscflags__Wlogical_op+y}
11352 then :
11353 printf %s "(cached) " >&6
11354 else $as_nop
11355 ac_wine_try_cflags_saved=$CFLAGS
11356 ac_wine_try_cflags_saved_cc=$CC
11357 ac_wine_try_cflags_saved_exeext=$ac_exeext
11358 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11359 CC="$CROSSCC"
11360 ac_exeext=".exe"
11361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11362 /* end confdefs.h. */
11363 int __cdecl mainCRTStartup(void) { return 0; }
11364 _ACEOF
11365 if ac_fn_c_try_link "$LINENO"
11366 then :
11367 ac_cv_crosscflags__Wlogical_op=yes
11368 else $as_nop
11369 ac_cv_crosscflags__Wlogical_op=no
11371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11372 conftest$ac_exeext conftest.$ac_ext
11373 CFLAGS=$ac_wine_try_cflags_saved
11374 CC=$ac_wine_try_cflags_saved_cc
11375 ac_exeext=$ac_wine_try_cflags_saved_exeext
11377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11378 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11379 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11380 then :
11381 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11384 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11385 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11386 then :
11387 printf %s "(cached) " >&6
11388 else $as_nop
11389 ac_wine_try_cflags_saved=$CFLAGS
11390 ac_wine_try_cflags_saved_cc=$CC
11391 ac_wine_try_cflags_saved_exeext=$ac_exeext
11392 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11393 CC="$CROSSCC"
11394 ac_exeext=".exe"
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11397 int __cdecl mainCRTStartup(void) { return 0; }
11398 _ACEOF
11399 if ac_fn_c_try_link "$LINENO"
11400 then :
11401 ac_cv_crosscflags__Wabsolute_value=yes
11402 else $as_nop
11403 ac_cv_crosscflags__Wabsolute_value=no
11405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11406 conftest$ac_exeext conftest.$ac_ext
11407 CFLAGS=$ac_wine_try_cflags_saved
11408 CC=$ac_wine_try_cflags_saved_cc
11409 ac_exeext=$ac_wine_try_cflags_saved_exeext
11411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11412 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11413 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11414 then :
11415 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11418 case $host_cpu in
11419 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11420 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11421 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11422 then :
11423 printf %s "(cached) " >&6
11424 else $as_nop
11425 ac_wine_try_cflags_saved=$CFLAGS
11426 ac_wine_try_cflags_saved_cc=$CC
11427 ac_wine_try_cflags_saved_exeext=$ac_exeext
11428 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11429 CC="$CROSSCC"
11430 ac_exeext=".exe"
11431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432 /* end confdefs.h. */
11433 int __cdecl mainCRTStartup(void) { return 0; }
11434 _ACEOF
11435 if ac_fn_c_try_link "$LINENO"
11436 then :
11437 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11438 else $as_nop
11439 ac_cv_crosscflags__fno_omit_frame_pointer=no
11441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11442 conftest$ac_exeext conftest.$ac_ext
11443 CFLAGS=$ac_wine_try_cflags_saved
11444 CC=$ac_wine_try_cflags_saved_cc
11445 ac_exeext=$ac_wine_try_cflags_saved_exeext
11447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11448 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11449 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11450 then :
11451 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11452 fi ;;
11453 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11454 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11455 if test ${ac_cv_crosscflags__Wno_format+y}
11456 then :
11457 printf %s "(cached) " >&6
11458 else $as_nop
11459 ac_wine_try_cflags_saved=$CFLAGS
11460 ac_wine_try_cflags_saved_cc=$CC
11461 ac_wine_try_cflags_saved_exeext=$ac_exeext
11462 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11463 CC="$CROSSCC"
11464 ac_exeext=".exe"
11465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11466 /* end confdefs.h. */
11467 int __cdecl mainCRTStartup(void) { return 0; }
11468 _ACEOF
11469 if ac_fn_c_try_link "$LINENO"
11470 then :
11471 ac_cv_crosscflags__Wno_format=yes
11472 else $as_nop
11473 ac_cv_crosscflags__Wno_format=no
11475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11476 conftest$ac_exeext conftest.$ac_ext
11477 CFLAGS=$ac_wine_try_cflags_saved
11478 CC=$ac_wine_try_cflags_saved_cc
11479 ac_exeext=$ac_wine_try_cflags_saved_exeext
11481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11482 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11483 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11484 then :
11485 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11488 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11489 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11490 then :
11491 printf %s "(cached) " >&6
11492 else $as_nop
11493 ac_wine_try_cflags_saved=$CFLAGS
11494 ac_wine_try_cflags_saved_cc=$CC
11495 ac_wine_try_cflags_saved_exeext=$ac_exeext
11496 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11497 CC="$CROSSCC"
11498 ac_exeext=".exe"
11499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11500 /* end confdefs.h. */
11501 int __cdecl mainCRTStartup(void) { return 0; }
11502 _ACEOF
11503 if ac_fn_c_try_link "$LINENO"
11504 then :
11505 ac_cv_crosscflags__Wformat_overflow=yes
11506 else $as_nop
11507 ac_cv_crosscflags__Wformat_overflow=no
11509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11510 conftest$ac_exeext conftest.$ac_ext
11511 CFLAGS=$ac_wine_try_cflags_saved
11512 CC=$ac_wine_try_cflags_saved_cc
11513 ac_exeext=$ac_wine_try_cflags_saved_exeext
11515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11516 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11517 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11518 then :
11519 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11522 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11523 if test ${ac_cv_crosscflags__Wnonnull+y}
11524 then :
11525 printf %s "(cached) " >&6
11526 else $as_nop
11527 ac_wine_try_cflags_saved=$CFLAGS
11528 ac_wine_try_cflags_saved_cc=$CC
11529 ac_wine_try_cflags_saved_exeext=$ac_exeext
11530 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11531 CC="$CROSSCC"
11532 ac_exeext=".exe"
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11535 int __cdecl mainCRTStartup(void) { return 0; }
11536 _ACEOF
11537 if ac_fn_c_try_link "$LINENO"
11538 then :
11539 ac_cv_crosscflags__Wnonnull=yes
11540 else $as_nop
11541 ac_cv_crosscflags__Wnonnull=no
11543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11544 conftest$ac_exeext conftest.$ac_ext
11545 CFLAGS=$ac_wine_try_cflags_saved
11546 CC=$ac_wine_try_cflags_saved_cc
11547 ac_exeext=$ac_wine_try_cflags_saved_exeext
11549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11550 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11551 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11552 then :
11553 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11556 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11557 if test ${ac_cv_crosscflags__mcx16+y}
11558 then :
11559 printf %s "(cached) " >&6
11560 else $as_nop
11561 ac_wine_try_cflags_saved=$CFLAGS
11562 ac_wine_try_cflags_saved_cc=$CC
11563 ac_wine_try_cflags_saved_exeext=$ac_exeext
11564 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11565 CC="$CROSSCC"
11566 ac_exeext=".exe"
11567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11568 /* end confdefs.h. */
11569 int __cdecl mainCRTStartup(void) { return 0; }
11570 _ACEOF
11571 if ac_fn_c_try_link "$LINENO"
11572 then :
11573 ac_cv_crosscflags__mcx16=yes
11574 else $as_nop
11575 ac_cv_crosscflags__mcx16=no
11577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11578 conftest$ac_exeext conftest.$ac_ext
11579 CFLAGS=$ac_wine_try_cflags_saved
11580 CC=$ac_wine_try_cflags_saved_cc
11581 ac_exeext=$ac_wine_try_cflags_saved_exeext
11583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11584 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11585 if test "x$ac_cv_crosscflags__mcx16" = xyes
11586 then :
11587 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11588 fi ;;
11589 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11590 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11591 if test ${ac_cv_crosscflags__Wno_format+y}
11592 then :
11593 printf %s "(cached) " >&6
11594 else $as_nop
11595 ac_wine_try_cflags_saved=$CFLAGS
11596 ac_wine_try_cflags_saved_cc=$CC
11597 ac_wine_try_cflags_saved_exeext=$ac_exeext
11598 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11599 CC="$CROSSCC"
11600 ac_exeext=".exe"
11601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11602 /* end confdefs.h. */
11603 int __cdecl mainCRTStartup(void) { return 0; }
11604 _ACEOF
11605 if ac_fn_c_try_link "$LINENO"
11606 then :
11607 ac_cv_crosscflags__Wno_format=yes
11608 else $as_nop
11609 ac_cv_crosscflags__Wno_format=no
11611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11612 conftest$ac_exeext conftest.$ac_ext
11613 CFLAGS=$ac_wine_try_cflags_saved
11614 CC=$ac_wine_try_cflags_saved_cc
11615 ac_exeext=$ac_wine_try_cflags_saved_exeext
11617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11618 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11619 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11620 then :
11621 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11622 fi ;;
11623 esac
11626 if test -z "$CROSSDEBUG"
11627 then
11628 for ac_flag in $CROSSCFLAGS; do
11629 case $ac_flag in
11630 -gdwarf*) CROSSDEBUG=dwarf ;;
11631 -gcodeview) CROSSDEBUG=pdb ;;
11632 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11633 esac
11634 done
11637 ac_debug_format_seen=""
11638 for ac_flag in $CROSSCFLAGS; do
11639 case $ac_flag in
11640 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11641 esac
11642 done
11643 if test "x$ac_debug_format_seen" = x
11644 then
11645 case $CROSSDEBUG in
11646 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11647 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11648 if test ${ac_cv_crosscflags__gdwarf_4+y}
11649 then :
11650 printf %s "(cached) " >&6
11651 else $as_nop
11652 ac_wine_try_cflags_saved=$CFLAGS
11653 ac_wine_try_cflags_saved_cc=$CC
11654 ac_wine_try_cflags_saved_exeext=$ac_exeext
11655 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11656 CC="$CROSSCC"
11657 ac_exeext=".exe"
11658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11660 int __cdecl mainCRTStartup(void) { return 0; }
11661 _ACEOF
11662 if ac_fn_c_try_link "$LINENO"
11663 then :
11664 ac_cv_crosscflags__gdwarf_4=yes
11665 else $as_nop
11666 ac_cv_crosscflags__gdwarf_4=no
11668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11669 conftest$ac_exeext conftest.$ac_ext
11670 CFLAGS=$ac_wine_try_cflags_saved
11671 CC=$ac_wine_try_cflags_saved_cc
11672 ac_exeext=$ac_wine_try_cflags_saved_exeext
11674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11675 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11676 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11677 then :
11678 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11679 fi ;;
11680 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11681 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11682 if test ${ac_cv_crosscflags__gcodeview+y}
11683 then :
11684 printf %s "(cached) " >&6
11685 else $as_nop
11686 ac_wine_try_cflags_saved=$CFLAGS
11687 ac_wine_try_cflags_saved_cc=$CC
11688 ac_wine_try_cflags_saved_exeext=$ac_exeext
11689 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11690 CC="$CROSSCC"
11691 ac_exeext=".exe"
11692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11693 /* end confdefs.h. */
11694 int __cdecl mainCRTStartup(void) { return 0; }
11695 _ACEOF
11696 if ac_fn_c_try_link "$LINENO"
11697 then :
11698 ac_cv_crosscflags__gcodeview=yes
11699 else $as_nop
11700 ac_cv_crosscflags__gcodeview=no
11702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11703 conftest$ac_exeext conftest.$ac_ext
11704 CFLAGS=$ac_wine_try_cflags_saved
11705 CC=$ac_wine_try_cflags_saved_cc
11706 ac_exeext=$ac_wine_try_cflags_saved_exeext
11708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11709 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11710 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11711 then :
11712 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11713 fi ;;
11714 esac
11717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11718 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11719 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11720 then :
11721 printf %s "(cached) " >&6
11722 else $as_nop
11723 ac_wine_try_cflags_saved=$CFLAGS
11724 ac_wine_try_cflags_saved_cc=$CC
11725 ac_wine_try_cflags_saved_exeext=$ac_exeext
11726 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11727 CC="$CROSSCC"
11728 ac_exeext=".exe"
11729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11730 /* end confdefs.h. */
11731 int __cdecl mainCRTStartup(void) { return 0; }
11732 _ACEOF
11733 if ac_fn_c_try_link "$LINENO"
11734 then :
11735 ac_cv_crosscflags__fexcess_precision_standard=yes
11736 else $as_nop
11737 ac_cv_crosscflags__fexcess_precision_standard=no
11739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11740 conftest$ac_exeext conftest.$ac_ext
11741 CFLAGS=$ac_wine_try_cflags_saved
11742 CC=$ac_wine_try_cflags_saved_cc
11743 ac_exeext=$ac_wine_try_cflags_saved_exeext
11745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11746 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11747 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11748 then :
11749 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11753 if test "x$enable_werror" = "xyes"
11754 then
11755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11756 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11757 if test ${ac_cv_crosscflags__Werror+y}
11758 then :
11759 printf %s "(cached) " >&6
11760 else $as_nop
11761 ac_wine_try_cflags_saved=$CFLAGS
11762 ac_wine_try_cflags_saved_cc=$CC
11763 ac_wine_try_cflags_saved_exeext=$ac_exeext
11764 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11765 CC="$CROSSCC"
11766 ac_exeext=".exe"
11767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11769 int __cdecl mainCRTStartup(void) { return 0; }
11770 _ACEOF
11771 if ac_fn_c_try_link "$LINENO"
11772 then :
11773 ac_cv_crosscflags__Werror=yes
11774 else $as_nop
11775 ac_cv_crosscflags__Werror=no
11777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11778 conftest$ac_exeext conftest.$ac_ext
11779 CFLAGS=$ac_wine_try_cflags_saved
11780 CC=$ac_wine_try_cflags_saved_cc
11781 ac_exeext=$ac_wine_try_cflags_saved_exeext
11783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11784 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11785 if test "x$ac_cv_crosscflags__Werror" = xyes
11786 then :
11787 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11790 if test "x$enable_build_id" = "xyes"
11791 then
11792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11793 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11794 if test ${ac_cv_crosscflags__Wl___build_id+y}
11795 then :
11796 printf %s "(cached) " >&6
11797 else $as_nop
11798 ac_wine_try_cflags_saved=$CFLAGS
11799 ac_wine_try_cflags_saved_cc=$CC
11800 ac_wine_try_cflags_saved_exeext=$ac_exeext
11801 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11802 CC="$CROSSCC"
11803 ac_exeext=".exe"
11804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11806 int __cdecl mainCRTStartup(void) { return 0; }
11807 _ACEOF
11808 if ac_fn_c_try_link "$LINENO"
11809 then :
11810 ac_cv_crosscflags__Wl___build_id=yes
11811 else $as_nop
11812 ac_cv_crosscflags__Wl___build_id=no
11814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11815 conftest$ac_exeext conftest.$ac_ext
11816 CFLAGS=$ac_wine_try_cflags_saved
11817 CC=$ac_wine_try_cflags_saved_cc
11818 ac_exeext=$ac_wine_try_cflags_saved_exeext
11820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11821 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11822 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11823 then :
11824 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11825 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11829 CFLAGS=$saved_CFLAGS
11830 LDFLAGS=$saved_LDFLAGS
11831 CC="$ac_save_CC"
11834 if test "x$CROSSTARGET" = "x"
11835 then :
11836 case "x$with_mingw" in
11837 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11838 xno) ;;
11839 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11840 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11841 esac
11845 case $host_cpu in
11846 aarch64*) test "x$CROSSTARGET" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5 ;;
11847 esac
11850 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11851 then
11852 case "$host_cpu" in
11853 i[3456789]86*)
11854 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11856 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11857 esac
11858 for ac_prog in $ac_prefix_list
11860 # Extract the first word of "$ac_prog", so it can be a program name with args.
11861 set dummy $ac_prog; ac_word=$2
11862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11863 printf %s "checking for $ac_word... " >&6; }
11864 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11865 then :
11866 printf %s "(cached) " >&6
11867 else $as_nop
11868 if test -n "$MINGW_PKG_CONFIG"; then
11869 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11870 else
11871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11872 for as_dir in $PATH
11874 IFS=$as_save_IFS
11875 case $as_dir in #(((
11876 '') as_dir=./ ;;
11877 */) ;;
11878 *) as_dir=$as_dir/ ;;
11879 esac
11880 for ac_exec_ext in '' $ac_executable_extensions; do
11881 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11882 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11883 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11884 break 2
11886 done
11887 done
11888 IFS=$as_save_IFS
11892 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11893 if test -n "$MINGW_PKG_CONFIG"; then
11894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11895 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11896 else
11897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11898 printf "%s\n" "no" >&6; }
11902 test -n "$MINGW_PKG_CONFIG" && break
11903 done
11904 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11906 if ${FAUDIO_PE_CFLAGS:+false} :
11907 then :
11908 if test ${MINGW_PKG_CONFIG+y}
11909 then :
11910 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11913 if ${FAUDIO_PE_LIBS:+false} :
11914 then :
11915 if test ${MINGW_PKG_CONFIG+y}
11916 then :
11917 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11920 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11921 ac_save_CPPFLAGS=$CPPFLAGS
11922 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11924 printf %s "checking for MinGW FAudio.h... " >&6; }
11925 if test ${ac_cv_mingw_header_FAudio_h+y}
11926 then :
11927 printf %s "(cached) " >&6
11928 else $as_nop
11929 ac_wine_check_headers_saved_cc=$CC
11930 ac_wine_check_headers_saved_exeext=$ac_exeext
11931 CC="$CROSSCC"
11932 ac_exeext=".exe"
11933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11934 /* end confdefs.h. */
11936 #include <FAudio.h>
11938 main (void)
11942 return 0;
11944 _ACEOF
11945 if ac_fn_c_try_compile "$LINENO"
11946 then :
11947 ac_cv_mingw_header_FAudio_h=yes
11948 else $as_nop
11949 ac_cv_mingw_header_FAudio_h=no
11951 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11952 CC=$ac_wine_check_headers_saved_cc
11953 ac_exeext=$ac_wine_check_headers_saved_exeext
11955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11956 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11957 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11958 then :
11959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11960 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11961 if test ${ac_cv_mingw_lib_FAudio+y}
11962 then :
11963 printf %s "(cached) " >&6
11964 else $as_nop
11965 ac_wine_check_headers_saved_cc=$CC
11966 ac_wine_check_headers_saved_exeext=$ac_exeext
11967 ac_wine_check_headers_saved_libs=$LIBS
11968 CC="$CROSSCC"
11969 ac_exeext=".exe"
11970 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11972 /* end confdefs.h. */
11974 /* Override any GCC internal prototype to avoid an error.
11975 Use char because int might match the return type of a GCC
11976 builtin and then its argument prototype would still apply. */
11977 char FAudio_CommitOperationSet ();
11979 main (void)
11981 return FAudio_CommitOperationSet ();
11983 return 0;
11985 _ACEOF
11986 if ac_fn_c_try_link "$LINENO"
11987 then :
11988 ac_cv_mingw_lib_FAudio=yes
11989 else $as_nop
11990 ac_cv_mingw_lib_FAudio=no
11992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11993 conftest$ac_exeext conftest.$ac_ext
11994 CC=$ac_wine_check_headers_saved_cc
11995 ac_exeext=$ac_wine_check_headers_saved_exeext
11996 LIBS=$ac_wine_check_headers_saved_libs
11998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11999 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12000 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12001 then :
12003 else $as_nop
12004 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12006 else $as_nop
12007 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12009 CPPFLAGS=$ac_save_CPPFLAGS
12011 if test "x$FAUDIO_PE_LIBS" = "x"
12012 then
12013 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12016 if ${JPEG_PE_CFLAGS:+false} :
12017 then :
12018 if test ${MINGW_PKG_CONFIG+y}
12019 then :
12020 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12023 if ${JPEG_PE_LIBS:+false} :
12024 then :
12025 if test ${MINGW_PKG_CONFIG+y}
12026 then :
12027 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12031 ac_save_CPPFLAGS=$CPPFLAGS
12032 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12034 printf %s "checking for MinGW jpeglib.h... " >&6; }
12035 if test ${ac_cv_mingw_header_jpeglib_h+y}
12036 then :
12037 printf %s "(cached) " >&6
12038 else $as_nop
12039 ac_wine_check_headers_saved_cc=$CC
12040 ac_wine_check_headers_saved_exeext=$ac_exeext
12041 CC="$CROSSCC"
12042 ac_exeext=".exe"
12043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12044 /* end confdefs.h. */
12045 #include <stddef.h>
12046 #include <stdio.h>
12047 #include <jpeglib.h>
12049 main (void)
12053 return 0;
12055 _ACEOF
12056 if ac_fn_c_try_compile "$LINENO"
12057 then :
12058 ac_cv_mingw_header_jpeglib_h=yes
12059 else $as_nop
12060 ac_cv_mingw_header_jpeglib_h=no
12062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12063 CC=$ac_wine_check_headers_saved_cc
12064 ac_exeext=$ac_wine_check_headers_saved_exeext
12066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12067 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12068 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12069 then :
12070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12071 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12072 if test ${ac_cv_mingw_lib_jpeg+y}
12073 then :
12074 printf %s "(cached) " >&6
12075 else $as_nop
12076 ac_wine_check_headers_saved_cc=$CC
12077 ac_wine_check_headers_saved_exeext=$ac_exeext
12078 ac_wine_check_headers_saved_libs=$LIBS
12079 CC="$CROSSCC"
12080 ac_exeext=".exe"
12081 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12083 /* end confdefs.h. */
12085 /* Override any GCC internal prototype to avoid an error.
12086 Use char because int might match the return type of a GCC
12087 builtin and then its argument prototype would still apply. */
12088 char jpeg_start_decompress ();
12090 main (void)
12092 return jpeg_start_decompress ();
12094 return 0;
12096 _ACEOF
12097 if ac_fn_c_try_link "$LINENO"
12098 then :
12099 ac_cv_mingw_lib_jpeg=yes
12100 else $as_nop
12101 ac_cv_mingw_lib_jpeg=no
12103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12104 conftest$ac_exeext conftest.$ac_ext
12105 CC=$ac_wine_check_headers_saved_cc
12106 ac_exeext=$ac_wine_check_headers_saved_exeext
12107 LIBS=$ac_wine_check_headers_saved_libs
12109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12110 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12111 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12112 then :
12114 else $as_nop
12115 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12117 else $as_nop
12118 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12120 CPPFLAGS=$ac_save_CPPFLAGS
12122 if test "x$JPEG_PE_LIBS" = "x"
12123 then
12124 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12127 if ${LCMS2_PE_CFLAGS:+false} :
12128 then :
12129 if test ${MINGW_PKG_CONFIG+y}
12130 then :
12131 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12134 if ${LCMS2_PE_LIBS:+false} :
12135 then :
12136 if test ${MINGW_PKG_CONFIG+y}
12137 then :
12138 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12141 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12142 ac_save_CPPFLAGS=$CPPFLAGS
12143 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12145 printf %s "checking for MinGW lcms2.h... " >&6; }
12146 if test ${ac_cv_mingw_header_lcms2_h+y}
12147 then :
12148 printf %s "(cached) " >&6
12149 else $as_nop
12150 ac_wine_check_headers_saved_cc=$CC
12151 ac_wine_check_headers_saved_exeext=$ac_exeext
12152 CC="$CROSSCC"
12153 ac_exeext=".exe"
12154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */
12157 #include <lcms2.h>
12159 main (void)
12163 return 0;
12165 _ACEOF
12166 if ac_fn_c_try_compile "$LINENO"
12167 then :
12168 ac_cv_mingw_header_lcms2_h=yes
12169 else $as_nop
12170 ac_cv_mingw_header_lcms2_h=no
12172 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12173 CC=$ac_wine_check_headers_saved_cc
12174 ac_exeext=$ac_wine_check_headers_saved_exeext
12176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12177 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12178 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12179 then :
12180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12181 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12182 if test ${ac_cv_mingw_lib_lcms2+y}
12183 then :
12184 printf %s "(cached) " >&6
12185 else $as_nop
12186 ac_wine_check_headers_saved_cc=$CC
12187 ac_wine_check_headers_saved_exeext=$ac_exeext
12188 ac_wine_check_headers_saved_libs=$LIBS
12189 CC="$CROSSCC"
12190 ac_exeext=".exe"
12191 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12195 /* Override any GCC internal prototype to avoid an error.
12196 Use char because int might match the return type of a GCC
12197 builtin and then its argument prototype would still apply. */
12198 char cmsOpenProfileFromFile ();
12200 main (void)
12202 return cmsOpenProfileFromFile ();
12204 return 0;
12206 _ACEOF
12207 if ac_fn_c_try_link "$LINENO"
12208 then :
12209 ac_cv_mingw_lib_lcms2=yes
12210 else $as_nop
12211 ac_cv_mingw_lib_lcms2=no
12213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12214 conftest$ac_exeext conftest.$ac_ext
12215 CC=$ac_wine_check_headers_saved_cc
12216 ac_exeext=$ac_wine_check_headers_saved_exeext
12217 LIBS=$ac_wine_check_headers_saved_libs
12219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12220 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12221 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12222 then :
12224 else $as_nop
12225 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12227 else $as_nop
12228 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12230 CPPFLAGS=$ac_save_CPPFLAGS
12232 if test "x$LCMS2_PE_LIBS" = "x"
12233 then
12234 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12237 if ${MPG123_PE_CFLAGS:+false} :
12238 then :
12239 if test ${MINGW_PKG_CONFIG+y}
12240 then :
12241 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12244 if ${MPG123_PE_LIBS:+false} :
12245 then :
12246 if test ${MINGW_PKG_CONFIG+y}
12247 then :
12248 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12251 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12252 ac_save_CPPFLAGS=$CPPFLAGS
12253 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12255 printf %s "checking for MinGW mpg123.h... " >&6; }
12256 if test ${ac_cv_mingw_header_mpg123_h+y}
12257 then :
12258 printf %s "(cached) " >&6
12259 else $as_nop
12260 ac_wine_check_headers_saved_cc=$CC
12261 ac_wine_check_headers_saved_exeext=$ac_exeext
12262 CC="$CROSSCC"
12263 ac_exeext=".exe"
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12267 #include <mpg123.h>
12269 main (void)
12273 return 0;
12275 _ACEOF
12276 if ac_fn_c_try_compile "$LINENO"
12277 then :
12278 ac_cv_mingw_header_mpg123_h=yes
12279 else $as_nop
12280 ac_cv_mingw_header_mpg123_h=no
12282 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12283 CC=$ac_wine_check_headers_saved_cc
12284 ac_exeext=$ac_wine_check_headers_saved_exeext
12286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12287 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12288 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12289 then :
12290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12291 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12292 if test ${ac_cv_mingw_lib_mpg123+y}
12293 then :
12294 printf %s "(cached) " >&6
12295 else $as_nop
12296 ac_wine_check_headers_saved_cc=$CC
12297 ac_wine_check_headers_saved_exeext=$ac_exeext
12298 ac_wine_check_headers_saved_libs=$LIBS
12299 CC="$CROSSCC"
12300 ac_exeext=".exe"
12301 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12305 /* Override any GCC internal prototype to avoid an error.
12306 Use char because int might match the return type of a GCC
12307 builtin and then its argument prototype would still apply. */
12308 char mpg123_feed ();
12310 main (void)
12312 return mpg123_feed ();
12314 return 0;
12316 _ACEOF
12317 if ac_fn_c_try_link "$LINENO"
12318 then :
12319 ac_cv_mingw_lib_mpg123=yes
12320 else $as_nop
12321 ac_cv_mingw_lib_mpg123=no
12323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12324 conftest$ac_exeext conftest.$ac_ext
12325 CC=$ac_wine_check_headers_saved_cc
12326 ac_exeext=$ac_wine_check_headers_saved_exeext
12327 LIBS=$ac_wine_check_headers_saved_libs
12329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12330 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12331 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12332 then :
12334 else $as_nop
12335 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12337 else $as_nop
12338 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12340 CPPFLAGS=$ac_save_CPPFLAGS
12342 if test "x$MPG123_PE_LIBS" = "x"
12343 then
12344 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12347 if ${PNG_PE_CFLAGS:+false} :
12348 then :
12349 if test ${MINGW_PKG_CONFIG+y}
12350 then :
12351 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12354 if ${PNG_PE_LIBS:+false} :
12355 then :
12356 if test ${MINGW_PKG_CONFIG+y}
12357 then :
12358 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12362 ac_save_CPPFLAGS=$CPPFLAGS
12363 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12365 printf %s "checking for MinGW png.h... " >&6; }
12366 if test ${ac_cv_mingw_header_png_h+y}
12367 then :
12368 printf %s "(cached) " >&6
12369 else $as_nop
12370 ac_wine_check_headers_saved_cc=$CC
12371 ac_wine_check_headers_saved_exeext=$ac_exeext
12372 CC="$CROSSCC"
12373 ac_exeext=".exe"
12374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12375 /* end confdefs.h. */
12377 #include <png.h>
12379 main (void)
12383 return 0;
12385 _ACEOF
12386 if ac_fn_c_try_compile "$LINENO"
12387 then :
12388 ac_cv_mingw_header_png_h=yes
12389 else $as_nop
12390 ac_cv_mingw_header_png_h=no
12392 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12393 CC=$ac_wine_check_headers_saved_cc
12394 ac_exeext=$ac_wine_check_headers_saved_exeext
12396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12397 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12398 if test "x$ac_cv_mingw_header_png_h" = xyes
12399 then :
12400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12401 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12402 if test ${ac_cv_mingw_lib_png+y}
12403 then :
12404 printf %s "(cached) " >&6
12405 else $as_nop
12406 ac_wine_check_headers_saved_cc=$CC
12407 ac_wine_check_headers_saved_exeext=$ac_exeext
12408 ac_wine_check_headers_saved_libs=$LIBS
12409 CC="$CROSSCC"
12410 ac_exeext=".exe"
12411 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h. */
12415 /* Override any GCC internal prototype to avoid an error.
12416 Use char because int might match the return type of a GCC
12417 builtin and then its argument prototype would still apply. */
12418 char png_create_read_struct ();
12420 main (void)
12422 return png_create_read_struct ();
12424 return 0;
12426 _ACEOF
12427 if ac_fn_c_try_link "$LINENO"
12428 then :
12429 ac_cv_mingw_lib_png=yes
12430 else $as_nop
12431 ac_cv_mingw_lib_png=no
12433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12434 conftest$ac_exeext conftest.$ac_ext
12435 CC=$ac_wine_check_headers_saved_cc
12436 ac_exeext=$ac_wine_check_headers_saved_exeext
12437 LIBS=$ac_wine_check_headers_saved_libs
12439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12440 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12441 if test "x$ac_cv_mingw_lib_png" = xyes
12442 then :
12444 else $as_nop
12445 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12447 else $as_nop
12448 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12450 CPPFLAGS=$ac_save_CPPFLAGS
12452 if test "x$PNG_PE_LIBS" = "x"
12453 then
12454 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12457 if ${TIFF_PE_CFLAGS:+false} :
12458 then :
12459 if test ${MINGW_PKG_CONFIG+y}
12460 then :
12461 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12464 if ${TIFF_PE_LIBS:+false} :
12465 then :
12466 if test ${MINGW_PKG_CONFIG+y}
12467 then :
12468 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12472 ac_save_CPPFLAGS=$CPPFLAGS
12473 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12475 printf %s "checking for MinGW tiffio.h... " >&6; }
12476 if test ${ac_cv_mingw_header_tiffio_h+y}
12477 then :
12478 printf %s "(cached) " >&6
12479 else $as_nop
12480 ac_wine_check_headers_saved_cc=$CC
12481 ac_wine_check_headers_saved_exeext=$ac_exeext
12482 CC="$CROSSCC"
12483 ac_exeext=".exe"
12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */
12487 #include <tiffio.h>
12489 main (void)
12493 return 0;
12495 _ACEOF
12496 if ac_fn_c_try_compile "$LINENO"
12497 then :
12498 ac_cv_mingw_header_tiffio_h=yes
12499 else $as_nop
12500 ac_cv_mingw_header_tiffio_h=no
12502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12503 CC=$ac_wine_check_headers_saved_cc
12504 ac_exeext=$ac_wine_check_headers_saved_exeext
12506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12507 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12508 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12509 then :
12510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12511 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12512 if test ${ac_cv_mingw_lib_tiff+y}
12513 then :
12514 printf %s "(cached) " >&6
12515 else $as_nop
12516 ac_wine_check_headers_saved_cc=$CC
12517 ac_wine_check_headers_saved_exeext=$ac_exeext
12518 ac_wine_check_headers_saved_libs=$LIBS
12519 CC="$CROSSCC"
12520 ac_exeext=".exe"
12521 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12525 /* Override any GCC internal prototype to avoid an error.
12526 Use char because int might match the return type of a GCC
12527 builtin and then its argument prototype would still apply. */
12528 char TIFFClientOpen ();
12530 main (void)
12532 return TIFFClientOpen ();
12534 return 0;
12536 _ACEOF
12537 if ac_fn_c_try_link "$LINENO"
12538 then :
12539 ac_cv_mingw_lib_tiff=yes
12540 else $as_nop
12541 ac_cv_mingw_lib_tiff=no
12543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12544 conftest$ac_exeext conftest.$ac_ext
12545 CC=$ac_wine_check_headers_saved_cc
12546 ac_exeext=$ac_wine_check_headers_saved_exeext
12547 LIBS=$ac_wine_check_headers_saved_libs
12549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12550 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12551 if test "x$ac_cv_mingw_lib_tiff" = xyes
12552 then :
12554 else $as_nop
12555 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12557 else $as_nop
12558 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12560 CPPFLAGS=$ac_save_CPPFLAGS
12562 if test "x$TIFF_PE_LIBS" = "x"
12563 then
12564 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12567 if ${XML2_PE_CFLAGS:+false} :
12568 then :
12569 if test ${MINGW_PKG_CONFIG+y}
12570 then :
12571 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12574 if ${XML2_PE_LIBS:+false} :
12575 then :
12576 if test ${MINGW_PKG_CONFIG+y}
12577 then :
12578 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12581 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12582 ac_save_CPPFLAGS=$CPPFLAGS
12583 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12585 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12586 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12587 then :
12588 printf %s "(cached) " >&6
12589 else $as_nop
12590 ac_wine_check_headers_saved_cc=$CC
12591 ac_wine_check_headers_saved_exeext=$ac_exeext
12592 CC="$CROSSCC"
12593 ac_exeext=".exe"
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12597 #include <libxml/parser.h>
12599 main (void)
12603 return 0;
12605 _ACEOF
12606 if ac_fn_c_try_compile "$LINENO"
12607 then :
12608 ac_cv_mingw_header_libxml_parser_h=yes
12609 else $as_nop
12610 ac_cv_mingw_header_libxml_parser_h=no
12612 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12613 CC=$ac_wine_check_headers_saved_cc
12614 ac_exeext=$ac_wine_check_headers_saved_exeext
12616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12617 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12618 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12619 then :
12622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12623 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12624 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12625 then :
12626 printf %s "(cached) " >&6
12627 else $as_nop
12628 ac_wine_check_headers_saved_cc=$CC
12629 ac_wine_check_headers_saved_exeext=$ac_exeext
12630 CC="$CROSSCC"
12631 ac_exeext=".exe"
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12635 #include <libxml/xmlsave.h>
12637 main (void)
12641 return 0;
12643 _ACEOF
12644 if ac_fn_c_try_compile "$LINENO"
12645 then :
12646 ac_cv_mingw_header_libxml_xmlsave_h=yes
12647 else $as_nop
12648 ac_cv_mingw_header_libxml_xmlsave_h=no
12650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12651 CC=$ac_wine_check_headers_saved_cc
12652 ac_exeext=$ac_wine_check_headers_saved_exeext
12654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12655 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12656 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12657 then :
12660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12661 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12662 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12663 then :
12664 printf %s "(cached) " >&6
12665 else $as_nop
12666 ac_wine_check_headers_saved_cc=$CC
12667 ac_wine_check_headers_saved_exeext=$ac_exeext
12668 CC="$CROSSCC"
12669 ac_exeext=".exe"
12670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12671 /* end confdefs.h. */
12673 #include <libxml/SAX2.h>
12675 main (void)
12679 return 0;
12681 _ACEOF
12682 if ac_fn_c_try_compile "$LINENO"
12683 then :
12684 ac_cv_mingw_header_libxml_SAX2_h=yes
12685 else $as_nop
12686 ac_cv_mingw_header_libxml_SAX2_h=no
12688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12689 CC=$ac_wine_check_headers_saved_cc
12690 ac_exeext=$ac_wine_check_headers_saved_exeext
12692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12693 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12694 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12695 then :
12698 if test "$ac_cv_mingw_header_libxml_parser_h" = "yes" -a "$ac_cv_mingw_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_mingw_header_libxml_SAX2_h" = "yes"
12699 then
12700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12701 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12702 if test ${ac_cv_mingw_lib_xml2+y}
12703 then :
12704 printf %s "(cached) " >&6
12705 else $as_nop
12706 ac_wine_check_headers_saved_cc=$CC
12707 ac_wine_check_headers_saved_exeext=$ac_exeext
12708 ac_wine_check_headers_saved_libs=$LIBS
12709 CC="$CROSSCC"
12710 ac_exeext=".exe"
12711 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12713 /* end confdefs.h. */
12715 /* Override any GCC internal prototype to avoid an error.
12716 Use char because int might match the return type of a GCC
12717 builtin and then its argument prototype would still apply. */
12718 char xmlFirstElementChild ();
12720 main (void)
12722 return xmlFirstElementChild ();
12724 return 0;
12726 _ACEOF
12727 if ac_fn_c_try_link "$LINENO"
12728 then :
12729 ac_cv_mingw_lib_xml2=yes
12730 else $as_nop
12731 ac_cv_mingw_lib_xml2=no
12733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12734 conftest$ac_exeext conftest.$ac_ext
12735 CC=$ac_wine_check_headers_saved_cc
12736 ac_exeext=$ac_wine_check_headers_saved_exeext
12737 LIBS=$ac_wine_check_headers_saved_libs
12739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12740 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12741 if test "x$ac_cv_mingw_lib_xml2" = xyes
12742 then :
12744 else $as_nop
12745 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12747 else
12748 XML2_PE_CFLAGS=""
12749 XML2_PE_LIBS=""
12751 CPPFLAGS=$ac_save_CPPFLAGS
12753 if test "x$XML2_PE_LIBS" = "x"
12754 then
12755 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12758 if ${XSLT_PE_CFLAGS:+false} :
12759 then :
12760 if test ${MINGW_PKG_CONFIG+y}
12761 then :
12762 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12765 if ${XSLT_PE_LIBS:+false} :
12766 then :
12767 if test ${MINGW_PKG_CONFIG+y}
12768 then :
12769 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12772 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12773 ac_save_CPPFLAGS=$CPPFLAGS
12774 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12776 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12777 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12778 then :
12779 printf %s "(cached) " >&6
12780 else $as_nop
12781 ac_wine_check_headers_saved_cc=$CC
12782 ac_wine_check_headers_saved_exeext=$ac_exeext
12783 CC="$CROSSCC"
12784 ac_exeext=".exe"
12785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12786 /* end confdefs.h. */
12788 #include <libxslt/pattern.h>
12790 main (void)
12794 return 0;
12796 _ACEOF
12797 if ac_fn_c_try_compile "$LINENO"
12798 then :
12799 ac_cv_mingw_header_libxslt_pattern_h=yes
12800 else $as_nop
12801 ac_cv_mingw_header_libxslt_pattern_h=no
12803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12804 CC=$ac_wine_check_headers_saved_cc
12805 ac_exeext=$ac_wine_check_headers_saved_exeext
12807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12808 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12809 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12810 then :
12813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12814 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12815 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12816 then :
12817 printf %s "(cached) " >&6
12818 else $as_nop
12819 ac_wine_check_headers_saved_cc=$CC
12820 ac_wine_check_headers_saved_exeext=$ac_exeext
12821 CC="$CROSSCC"
12822 ac_exeext=".exe"
12823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12824 /* end confdefs.h. */
12826 #include <libxslt/transform.h>
12828 main (void)
12832 return 0;
12834 _ACEOF
12835 if ac_fn_c_try_compile "$LINENO"
12836 then :
12837 ac_cv_mingw_header_libxslt_transform_h=yes
12838 else $as_nop
12839 ac_cv_mingw_header_libxslt_transform_h=no
12841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12842 CC=$ac_wine_check_headers_saved_cc
12843 ac_exeext=$ac_wine_check_headers_saved_exeext
12845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12846 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12847 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12848 then :
12851 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12852 then
12853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12854 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12855 if test ${ac_cv_mingw_lib_xslt+y}
12856 then :
12857 printf %s "(cached) " >&6
12858 else $as_nop
12859 ac_wine_check_headers_saved_cc=$CC
12860 ac_wine_check_headers_saved_exeext=$ac_exeext
12861 ac_wine_check_headers_saved_libs=$LIBS
12862 CC="$CROSSCC"
12863 ac_exeext=".exe"
12864 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12866 /* end confdefs.h. */
12868 /* Override any GCC internal prototype to avoid an error.
12869 Use char because int might match the return type of a GCC
12870 builtin and then its argument prototype would still apply. */
12871 char xsltCompilePattern ();
12873 main (void)
12875 return xsltCompilePattern ();
12877 return 0;
12879 _ACEOF
12880 if ac_fn_c_try_link "$LINENO"
12881 then :
12882 ac_cv_mingw_lib_xslt=yes
12883 else $as_nop
12884 ac_cv_mingw_lib_xslt=no
12886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12887 conftest$ac_exeext conftest.$ac_ext
12888 CC=$ac_wine_check_headers_saved_cc
12889 ac_exeext=$ac_wine_check_headers_saved_exeext
12890 LIBS=$ac_wine_check_headers_saved_libs
12892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12893 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12894 if test "x$ac_cv_mingw_lib_xslt" = xyes
12895 then :
12897 else $as_nop
12898 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12900 else
12901 XSLT_PE_CFLAGS=""
12902 XSLT_PE_LIBS=""
12904 CPPFLAGS=$ac_save_CPPFLAGS
12906 if test "x$XSLT_PE_LIBS" = "x"
12907 then
12908 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12911 if ${VKD3D_PE_CFLAGS:+false} :
12912 then :
12913 if test ${MINGW_PKG_CONFIG+y}
12914 then :
12915 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12918 if ${VKD3D_PE_LIBS:+false} :
12919 then :
12920 if test ${MINGW_PKG_CONFIG+y}
12921 then :
12922 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12925 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12926 ac_save_CPPFLAGS=$CPPFLAGS
12927 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12929 printf %s "checking for MinGW vkd3d.h... " >&6; }
12930 if test ${ac_cv_mingw_header_vkd3d_h+y}
12931 then :
12932 printf %s "(cached) " >&6
12933 else $as_nop
12934 ac_wine_check_headers_saved_cc=$CC
12935 ac_wine_check_headers_saved_exeext=$ac_exeext
12936 CC="$CROSSCC"
12937 ac_exeext=".exe"
12938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12941 #include <vkd3d.h>
12943 main (void)
12947 return 0;
12949 _ACEOF
12950 if ac_fn_c_try_compile "$LINENO"
12951 then :
12952 ac_cv_mingw_header_vkd3d_h=yes
12953 else $as_nop
12954 ac_cv_mingw_header_vkd3d_h=no
12956 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12957 CC=$ac_wine_check_headers_saved_cc
12958 ac_exeext=$ac_wine_check_headers_saved_exeext
12960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12961 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12962 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12963 then :
12966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12967 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12968 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12969 then :
12970 printf %s "(cached) " >&6
12971 else $as_nop
12972 ac_wine_check_headers_saved_cc=$CC
12973 ac_wine_check_headers_saved_exeext=$ac_exeext
12974 CC="$CROSSCC"
12975 ac_exeext=".exe"
12976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12977 /* end confdefs.h. */
12979 #include <vkd3d_shader.h>
12981 main (void)
12985 return 0;
12987 _ACEOF
12988 if ac_fn_c_try_compile "$LINENO"
12989 then :
12990 ac_cv_mingw_header_vkd3d_shader_h=yes
12991 else $as_nop
12992 ac_cv_mingw_header_vkd3d_shader_h=no
12994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12995 CC=$ac_wine_check_headers_saved_cc
12996 ac_exeext=$ac_wine_check_headers_saved_exeext
12998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12999 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13000 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13001 then :
13004 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13005 then
13006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d" >&5
13007 printf %s "checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d... " >&6; }
13008 if test ${ac_cv_mingw_lib_vkd3d+y}
13009 then :
13010 printf %s "(cached) " >&6
13011 else $as_nop
13012 ac_wine_check_headers_saved_cc=$CC
13013 ac_wine_check_headers_saved_exeext=$ac_exeext
13014 ac_wine_check_headers_saved_libs=$LIBS
13015 CC="$CROSSCC"
13016 ac_exeext=".exe"
13017 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13019 /* end confdefs.h. */
13021 /* Override any GCC internal prototype to avoid an error.
13022 Use char because int might match the return type of a GCC
13023 builtin and then its argument prototype would still apply. */
13024 char vkd3d_serialize_versioned_root_signature ();
13026 main (void)
13028 return vkd3d_serialize_versioned_root_signature ();
13030 return 0;
13032 _ACEOF
13033 if ac_fn_c_try_link "$LINENO"
13034 then :
13035 ac_cv_mingw_lib_vkd3d=yes
13036 else $as_nop
13037 ac_cv_mingw_lib_vkd3d=no
13039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13040 conftest$ac_exeext conftest.$ac_ext
13041 CC=$ac_wine_check_headers_saved_cc
13042 ac_exeext=$ac_wine_check_headers_saved_exeext
13043 LIBS=$ac_wine_check_headers_saved_libs
13045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13046 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13047 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13048 then :
13050 else $as_nop
13053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13054 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13055 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13056 then :
13057 printf %s "(cached) " >&6
13058 else $as_nop
13059 ac_wine_check_headers_saved_cc=$CC
13060 ac_wine_check_headers_saved_exeext=$ac_exeext
13061 ac_wine_check_headers_saved_libs=$LIBS
13062 CC="$CROSSCC"
13063 ac_exeext=".exe"
13064 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13066 /* end confdefs.h. */
13068 /* Override any GCC internal prototype to avoid an error.
13069 Use char because int might match the return type of a GCC
13070 builtin and then its argument prototype would still apply. */
13071 char vkd3d_shader_compile ();
13073 main (void)
13075 return vkd3d_shader_compile ();
13077 return 0;
13079 _ACEOF
13080 if ac_fn_c_try_link "$LINENO"
13081 then :
13082 ac_cv_mingw_lib_vkd3d_shader=yes
13083 else $as_nop
13084 ac_cv_mingw_lib_vkd3d_shader=no
13086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13087 conftest$ac_exeext conftest.$ac_ext
13088 CC=$ac_wine_check_headers_saved_cc
13089 ac_exeext=$ac_wine_check_headers_saved_exeext
13090 LIBS=$ac_wine_check_headers_saved_libs
13092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13093 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13094 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13095 then :
13097 else $as_nop
13100 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13101 then
13102 VKD3D_PE_CFLAGS=""
13103 VKD3D_PE_LIBS=""
13105 else
13106 VKD3D_PE_CFLAGS=""
13107 VKD3D_PE_LIBS=""
13109 CPPFLAGS=$ac_save_CPPFLAGS
13111 if test "x$VKD3D_PE_LIBS" = "x"
13112 then
13113 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found; using bundled version."
13116 if ${ZLIB_PE_CFLAGS:+false} :
13117 then :
13118 if test ${MINGW_PKG_CONFIG+y}
13119 then :
13120 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13123 if ${ZLIB_PE_LIBS:+false} :
13124 then :
13125 if test ${MINGW_PKG_CONFIG+y}
13126 then :
13127 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13130 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13131 ac_save_CPPFLAGS=$CPPFLAGS
13132 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13134 printf %s "checking for MinGW zlib.h... " >&6; }
13135 if test ${ac_cv_mingw_header_zlib_h+y}
13136 then :
13137 printf %s "(cached) " >&6
13138 else $as_nop
13139 ac_wine_check_headers_saved_cc=$CC
13140 ac_wine_check_headers_saved_exeext=$ac_exeext
13141 CC="$CROSSCC"
13142 ac_exeext=".exe"
13143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13144 /* end confdefs.h. */
13146 #include <zlib.h>
13148 main (void)
13152 return 0;
13154 _ACEOF
13155 if ac_fn_c_try_compile "$LINENO"
13156 then :
13157 ac_cv_mingw_header_zlib_h=yes
13158 else $as_nop
13159 ac_cv_mingw_header_zlib_h=no
13161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13162 CC=$ac_wine_check_headers_saved_cc
13163 ac_exeext=$ac_wine_check_headers_saved_exeext
13165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13166 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13167 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13168 then :
13169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13170 printf %s "checking for inflate in MinGW -lz... " >&6; }
13171 if test ${ac_cv_mingw_lib_z+y}
13172 then :
13173 printf %s "(cached) " >&6
13174 else $as_nop
13175 ac_wine_check_headers_saved_cc=$CC
13176 ac_wine_check_headers_saved_exeext=$ac_exeext
13177 ac_wine_check_headers_saved_libs=$LIBS
13178 CC="$CROSSCC"
13179 ac_exeext=".exe"
13180 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13182 /* end confdefs.h. */
13184 /* Override any GCC internal prototype to avoid an error.
13185 Use char because int might match the return type of a GCC
13186 builtin and then its argument prototype would still apply. */
13187 char inflate ();
13189 main (void)
13191 return inflate ();
13193 return 0;
13195 _ACEOF
13196 if ac_fn_c_try_link "$LINENO"
13197 then :
13198 ac_cv_mingw_lib_z=yes
13199 else $as_nop
13200 ac_cv_mingw_lib_z=no
13202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13203 conftest$ac_exeext conftest.$ac_ext
13204 CC=$ac_wine_check_headers_saved_cc
13205 ac_exeext=$ac_wine_check_headers_saved_exeext
13206 LIBS=$ac_wine_check_headers_saved_libs
13208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13209 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13210 if test "x$ac_cv_mingw_lib_z" = xyes
13211 then :
13213 else $as_nop
13214 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13216 else $as_nop
13217 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13219 CPPFLAGS=$ac_save_CPPFLAGS
13221 if test "x$ZLIB_PE_LIBS" = "x"
13222 then
13223 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13227 if ${FAUDIO_PE_LIBS:+false} :
13228 then :
13229 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13230 if ${FAUDIO_PE_CFLAGS:+false} :
13231 then :
13232 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13233 else $as_nop
13234 enable_faudio=no
13236 else $as_nop
13237 enable_faudio=no
13239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13242 if ${GSM_PE_LIBS:+false} :
13243 then :
13244 GSM_PE_LIBS=gsm
13245 if ${GSM_PE_CFLAGS:+false} :
13246 then :
13247 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13248 else $as_nop
13249 enable_gsm=no
13251 else $as_nop
13252 enable_gsm=no
13254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13257 if ${JPEG_PE_LIBS:+false} :
13258 then :
13259 JPEG_PE_LIBS=jpeg
13260 if ${JPEG_PE_CFLAGS:+false} :
13261 then :
13262 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13263 else $as_nop
13264 enable_jpeg=no
13266 else $as_nop
13267 enable_jpeg=no
13269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13272 if ${JXR_PE_LIBS:+false} :
13273 then :
13274 JXR_PE_LIBS=jxr
13275 if ${JXR_PE_CFLAGS:+false} :
13276 then :
13277 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13278 else $as_nop
13279 enable_jxr=no
13281 else $as_nop
13282 enable_jxr=no
13284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13287 if ${LCMS2_PE_LIBS:+false} :
13288 then :
13289 LCMS2_PE_LIBS=lcms2
13290 if ${LCMS2_PE_CFLAGS:+false} :
13291 then :
13292 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13293 else $as_nop
13294 enable_lcms2=no
13296 else $as_nop
13297 enable_lcms2=no
13299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13302 if ${MPG123_PE_LIBS:+false} :
13303 then :
13304 MPG123_PE_LIBS=mpg123
13305 if ${MPG123_PE_CFLAGS:+false} :
13306 then :
13307 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13308 else $as_nop
13309 enable_mpg123=no
13311 else $as_nop
13312 enable_mpg123=no
13314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13317 if ${PNG_PE_LIBS:+false} :
13318 then :
13319 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13320 if ${PNG_PE_CFLAGS:+false} :
13321 then :
13322 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13323 else $as_nop
13324 enable_png=no
13326 else $as_nop
13327 enable_png=no
13329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13332 if ${TIFF_PE_LIBS:+false} :
13333 then :
13334 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13335 if ${TIFF_PE_CFLAGS:+false} :
13336 then :
13337 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13338 else $as_nop
13339 enable_tiff=no
13341 else $as_nop
13342 enable_tiff=no
13344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13347 if ${VKD3D_PE_LIBS:+false} :
13348 then :
13349 VKD3D_PE_LIBS=vkd3d
13350 if ${VKD3D_PE_CFLAGS:+false} :
13351 then :
13352 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13353 else $as_nop
13354 enable_vkd3d=no
13356 else $as_nop
13357 enable_vkd3d=no
13359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13362 if ${XML2_PE_LIBS:+false} :
13363 then :
13364 XML2_PE_LIBS=xml2
13365 if ${XML2_PE_CFLAGS:+false} :
13366 then :
13367 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13368 else $as_nop
13369 enable_xml2=no
13371 else $as_nop
13372 enable_xml2=no
13374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13377 if ${XSLT_PE_LIBS:+false} :
13378 then :
13379 XSLT_PE_LIBS=xslt
13380 if ${XSLT_PE_CFLAGS:+false} :
13381 then :
13382 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13383 else $as_nop
13384 enable_xslt=no
13386 else $as_nop
13387 enable_xslt=no
13389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13392 if ${ZLIB_PE_LIBS:+false} :
13393 then :
13394 ZLIB_PE_LIBS=z
13395 if ${ZLIB_PE_CFLAGS:+false} :
13396 then :
13397 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13398 else $as_nop
13399 enable_zlib=no
13401 else $as_nop
13402 enable_zlib=no
13404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13409 if test "$ac_cv_header_pthread_h" = "yes"
13410 then
13411 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13412 if test "x$ac_cv_func_pthread_create" = xyes
13413 then :
13415 else $as_nop
13416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13417 printf %s "checking for pthread_create in -lpthread... " >&6; }
13418 if test ${ac_cv_lib_pthread_pthread_create+y}
13419 then :
13420 printf %s "(cached) " >&6
13421 else $as_nop
13422 ac_check_lib_save_LIBS=$LIBS
13423 LIBS="-lpthread $LIBS"
13424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13425 /* end confdefs.h. */
13427 /* Override any GCC internal prototype to avoid an error.
13428 Use char because int might match the return type of a GCC
13429 builtin and then its argument prototype would still apply. */
13430 char pthread_create ();
13432 main (void)
13434 return pthread_create ();
13436 return 0;
13438 _ACEOF
13439 if ac_fn_c_try_link "$LINENO"
13440 then :
13441 ac_cv_lib_pthread_pthread_create=yes
13442 else $as_nop
13443 ac_cv_lib_pthread_pthread_create=no
13445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13446 conftest$ac_exeext conftest.$ac_ext
13447 LIBS=$ac_check_lib_save_LIBS
13449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13450 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13451 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13452 then :
13453 PTHREAD_LIBS="-lpthread"
13460 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13461 then :
13462 case "x$with_pthread" in
13463 xno) ;;
13464 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13465 Wine cannot support threads without libpthread.
13466 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13467 esac
13472 ac_ext=c
13473 ac_cpp='$CPP $CPPFLAGS'
13474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13478 printf %s "checking how to run the C preprocessor... " >&6; }
13479 # On Suns, sometimes $CPP names a directory.
13480 if test -n "$CPP" && test -d "$CPP"; then
13481 CPP=
13483 if test -z "$CPP"; then
13484 if test ${ac_cv_prog_CPP+y}
13485 then :
13486 printf %s "(cached) " >&6
13487 else $as_nop
13488 # Double quotes because $CC needs to be expanded
13489 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13491 ac_preproc_ok=false
13492 for ac_c_preproc_warn_flag in '' yes
13494 # Use a header file that comes with gcc, so configuring glibc
13495 # with a fresh cross-compiler works.
13496 # On the NeXT, cc -E runs the code through the compiler's parser,
13497 # not just through cpp. "Syntax error" is here to catch this case.
13498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13499 /* end confdefs.h. */
13500 #include <limits.h>
13501 Syntax error
13502 _ACEOF
13503 if ac_fn_c_try_cpp "$LINENO"
13504 then :
13506 else $as_nop
13507 # Broken: fails on valid input.
13508 continue
13510 rm -f conftest.err conftest.i conftest.$ac_ext
13512 # OK, works on sane cases. Now check whether nonexistent headers
13513 # can be detected and how.
13514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13515 /* end confdefs.h. */
13516 #include <ac_nonexistent.h>
13517 _ACEOF
13518 if ac_fn_c_try_cpp "$LINENO"
13519 then :
13520 # Broken: success on invalid input.
13521 continue
13522 else $as_nop
13523 # Passes both tests.
13524 ac_preproc_ok=:
13525 break
13527 rm -f conftest.err conftest.i conftest.$ac_ext
13529 done
13530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13531 rm -f conftest.i conftest.err conftest.$ac_ext
13532 if $ac_preproc_ok
13533 then :
13534 break
13537 done
13538 ac_cv_prog_CPP=$CPP
13541 CPP=$ac_cv_prog_CPP
13542 else
13543 ac_cv_prog_CPP=$CPP
13545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13546 printf "%s\n" "$CPP" >&6; }
13547 ac_preproc_ok=false
13548 for ac_c_preproc_warn_flag in '' yes
13550 # Use a header file that comes with gcc, so configuring glibc
13551 # with a fresh cross-compiler works.
13552 # On the NeXT, cc -E runs the code through the compiler's parser,
13553 # not just through cpp. "Syntax error" is here to catch this case.
13554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13556 #include <limits.h>
13557 Syntax error
13558 _ACEOF
13559 if ac_fn_c_try_cpp "$LINENO"
13560 then :
13562 else $as_nop
13563 # Broken: fails on valid input.
13564 continue
13566 rm -f conftest.err conftest.i conftest.$ac_ext
13568 # OK, works on sane cases. Now check whether nonexistent headers
13569 # can be detected and how.
13570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13572 #include <ac_nonexistent.h>
13573 _ACEOF
13574 if ac_fn_c_try_cpp "$LINENO"
13575 then :
13576 # Broken: success on invalid input.
13577 continue
13578 else $as_nop
13579 # Passes both tests.
13580 ac_preproc_ok=:
13581 break
13583 rm -f conftest.err conftest.i conftest.$ac_ext
13585 done
13586 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13587 rm -f conftest.i conftest.err conftest.$ac_ext
13588 if $ac_preproc_ok
13589 then :
13591 else $as_nop
13592 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13593 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13594 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13595 See \`config.log' for more details" "$LINENO" 5; }
13598 ac_ext=c
13599 ac_cpp='$CPP $CPPFLAGS'
13600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13606 printf %s "checking for X... " >&6; }
13609 # Check whether --with-x was given.
13610 if test ${with_x+y}
13611 then :
13612 withval=$with_x;
13615 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13616 if test "x$with_x" = xno; then
13617 # The user explicitly disabled X.
13618 have_x=disabled
13619 else
13620 case $x_includes,$x_libraries in #(
13621 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13622 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13623 then :
13624 printf %s "(cached) " >&6
13625 else $as_nop
13626 # One or both of the vars are not set, and there is no cached value.
13627 ac_x_includes=no
13628 ac_x_libraries=no
13629 # Do we need to do anything special at all?
13630 ac_save_LIBS=$LIBS
13631 LIBS="-lX11 $LIBS"
13632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13633 /* end confdefs.h. */
13634 #include <X11/Xlib.h>
13636 main (void)
13638 XrmInitialize ()
13640 return 0;
13642 _ACEOF
13643 if ac_fn_c_try_link "$LINENO"
13644 then :
13645 # We can compile and link X programs with no special options.
13646 ac_x_includes=
13647 ac_x_libraries=
13649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13650 conftest$ac_exeext conftest.$ac_ext
13651 LIBS="$ac_save_LIBS"
13652 # If that didn't work, only try xmkmf and file system searches
13653 # for native compilation.
13654 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13655 then :
13656 rm -f -r conftest.dir
13657 if mkdir conftest.dir; then
13658 cd conftest.dir
13659 cat >Imakefile <<'_ACEOF'
13660 incroot:
13661 @echo incroot='${INCROOT}'
13662 usrlibdir:
13663 @echo usrlibdir='${USRLIBDIR}'
13664 libdir:
13665 @echo libdir='${LIBDIR}'
13666 _ACEOF
13667 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13668 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13669 for ac_var in incroot usrlibdir libdir; do
13670 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13671 done
13672 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13673 for ac_extension in a so sl dylib la dll; do
13674 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13675 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13676 ac_im_usrlibdir=$ac_im_libdir; break
13678 done
13679 # Screen out bogus values from the imake configuration. They are
13680 # bogus both because they are the default anyway, and because
13681 # using them would break gcc on systems where it needs fixed includes.
13682 case $ac_im_incroot in
13683 /usr/include) ac_x_includes= ;;
13684 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13685 esac
13686 case $ac_im_usrlibdir in
13687 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13688 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13689 esac
13691 cd ..
13692 rm -f -r conftest.dir
13695 # Standard set of common directories for X headers.
13696 # Check X11 before X11Rn because it is often a symlink to the current release.
13697 ac_x_header_dirs='
13698 /usr/X11/include
13699 /usr/X11R7/include
13700 /usr/X11R6/include
13701 /usr/X11R5/include
13702 /usr/X11R4/include
13704 /usr/include/X11
13705 /usr/include/X11R7
13706 /usr/include/X11R6
13707 /usr/include/X11R5
13708 /usr/include/X11R4
13710 /usr/local/X11/include
13711 /usr/local/X11R7/include
13712 /usr/local/X11R6/include
13713 /usr/local/X11R5/include
13714 /usr/local/X11R4/include
13716 /usr/local/include/X11
13717 /usr/local/include/X11R7
13718 /usr/local/include/X11R6
13719 /usr/local/include/X11R5
13720 /usr/local/include/X11R4
13722 /opt/X11/include
13724 /usr/X386/include
13725 /usr/x386/include
13726 /usr/XFree86/include/X11
13728 /usr/include
13729 /usr/local/include
13730 /usr/unsupported/include
13731 /usr/athena/include
13732 /usr/local/x11r5/include
13733 /usr/lpp/Xamples/include
13735 /usr/openwin/include
13736 /usr/openwin/share/include'
13738 if test "$ac_x_includes" = no; then
13739 # Guess where to find include files, by looking for Xlib.h.
13740 # First, try using that file with no special directory specified.
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13743 #include <X11/Xlib.h>
13744 _ACEOF
13745 if ac_fn_c_try_cpp "$LINENO"
13746 then :
13747 # We can compile using X headers with no special include directory.
13748 ac_x_includes=
13749 else $as_nop
13750 for ac_dir in $ac_x_header_dirs; do
13751 if test -r "$ac_dir/X11/Xlib.h"; then
13752 ac_x_includes=$ac_dir
13753 break
13755 done
13757 rm -f conftest.err conftest.i conftest.$ac_ext
13758 fi # $ac_x_includes = no
13760 if test "$ac_x_libraries" = no; then
13761 # Check for the libraries.
13762 # See if we find them without any special options.
13763 # Don't add to $LIBS permanently.
13764 ac_save_LIBS=$LIBS
13765 LIBS="-lX11 $LIBS"
13766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13768 #include <X11/Xlib.h>
13770 main (void)
13772 XrmInitialize ()
13774 return 0;
13776 _ACEOF
13777 if ac_fn_c_try_link "$LINENO"
13778 then :
13779 LIBS=$ac_save_LIBS
13780 # We can link X programs with no special library path.
13781 ac_x_libraries=
13782 else $as_nop
13783 LIBS=$ac_save_LIBS
13784 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13786 # Don't even attempt the hair of trying to link an X program!
13787 for ac_extension in a so sl dylib la dll; do
13788 if test -r "$ac_dir/libX11.$ac_extension"; then
13789 ac_x_libraries=$ac_dir
13790 break 2
13792 done
13793 done
13795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13796 conftest$ac_exeext conftest.$ac_ext
13797 fi # $ac_x_libraries = no
13800 # Record the results.
13801 case $ac_x_includes,$ac_x_libraries in #(
13802 no,* | *,no | *\'*) :
13803 # Didn't find X, or a directory has "'" in its name.
13804 ac_cv_have_x="have_x=no" ;; #(
13805 *) :
13806 # Record where we found X for the cache.
13807 ac_cv_have_x="have_x=yes\
13808 ac_x_includes='$ac_x_includes'\
13809 ac_x_libraries='$ac_x_libraries'" ;;
13810 esac
13812 ;; #(
13813 *) have_x=yes;;
13814 esac
13815 eval "$ac_cv_have_x"
13816 fi # $with_x != no
13818 if test "$have_x" != yes; then
13819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13820 printf "%s\n" "$have_x" >&6; }
13821 no_x=yes
13822 else
13823 # If each of the values was on the command line, it overrides each guess.
13824 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13825 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13826 # Update the cache value to reflect the command line values.
13827 ac_cv_have_x="have_x=yes\
13828 ac_x_includes='$x_includes'\
13829 ac_x_libraries='$x_libraries'"
13830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13831 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13834 if test "$no_x" = yes; then
13835 # Not all programs may use this symbol, but it does not hurt to define it.
13837 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13839 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13840 else
13841 if test -n "$x_includes"; then
13842 X_CFLAGS="$X_CFLAGS -I$x_includes"
13845 # It would also be nice to do this for all -L options, not just this one.
13846 if test -n "$x_libraries"; then
13847 X_LIBS="$X_LIBS -L$x_libraries"
13848 # For Solaris; some versions of Sun CC require a space after -R and
13849 # others require no space. Words are not sufficient . . . .
13850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13851 printf %s "checking whether -R must be followed by a space... " >&6; }
13852 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13853 ac_xsave_c_werror_flag=$ac_c_werror_flag
13854 ac_c_werror_flag=yes
13855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13856 /* end confdefs.h. */
13859 main (void)
13863 return 0;
13865 _ACEOF
13866 if ac_fn_c_try_link "$LINENO"
13867 then :
13868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13869 printf "%s\n" "no" >&6; }
13870 X_LIBS="$X_LIBS -R$x_libraries"
13871 else $as_nop
13872 LIBS="$ac_xsave_LIBS -R $x_libraries"
13873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13874 /* end confdefs.h. */
13877 main (void)
13881 return 0;
13883 _ACEOF
13884 if ac_fn_c_try_link "$LINENO"
13885 then :
13886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13887 printf "%s\n" "yes" >&6; }
13888 X_LIBS="$X_LIBS -R $x_libraries"
13889 else $as_nop
13890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13891 printf "%s\n" "neither works" >&6; }
13893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13894 conftest$ac_exeext conftest.$ac_ext
13896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13897 conftest$ac_exeext conftest.$ac_ext
13898 ac_c_werror_flag=$ac_xsave_c_werror_flag
13899 LIBS=$ac_xsave_LIBS
13902 # Check for system-dependent libraries X programs must link with.
13903 # Do this before checking for the system-independent R6 libraries
13904 # (-lICE), since we may need -lsocket or whatever for X linking.
13906 if test "$ISC" = yes; then
13907 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13908 else
13909 # Martyn Johnson says this is needed for Ultrix, if the X
13910 # libraries were built with DECnet support. And Karl Berry says
13911 # the Alpha needs dnet_stub (dnet does not exist).
13912 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13914 /* end confdefs.h. */
13916 /* Override any GCC internal prototype to avoid an error.
13917 Use char because int might match the return type of a GCC
13918 builtin and then its argument prototype would still apply. */
13919 char XOpenDisplay ();
13921 main (void)
13923 return XOpenDisplay ();
13925 return 0;
13927 _ACEOF
13928 if ac_fn_c_try_link "$LINENO"
13929 then :
13931 else $as_nop
13932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13933 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13934 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13935 then :
13936 printf %s "(cached) " >&6
13937 else $as_nop
13938 ac_check_lib_save_LIBS=$LIBS
13939 LIBS="-ldnet $LIBS"
13940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13941 /* end confdefs.h. */
13943 /* Override any GCC internal prototype to avoid an error.
13944 Use char because int might match the return type of a GCC
13945 builtin and then its argument prototype would still apply. */
13946 char dnet_ntoa ();
13948 main (void)
13950 return dnet_ntoa ();
13952 return 0;
13954 _ACEOF
13955 if ac_fn_c_try_link "$LINENO"
13956 then :
13957 ac_cv_lib_dnet_dnet_ntoa=yes
13958 else $as_nop
13959 ac_cv_lib_dnet_dnet_ntoa=no
13961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13962 conftest$ac_exeext conftest.$ac_ext
13963 LIBS=$ac_check_lib_save_LIBS
13965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13966 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13967 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13968 then :
13969 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13972 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13974 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13975 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13976 then :
13977 printf %s "(cached) " >&6
13978 else $as_nop
13979 ac_check_lib_save_LIBS=$LIBS
13980 LIBS="-ldnet_stub $LIBS"
13981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13984 /* Override any GCC internal prototype to avoid an error.
13985 Use char because int might match the return type of a GCC
13986 builtin and then its argument prototype would still apply. */
13987 char dnet_ntoa ();
13989 main (void)
13991 return dnet_ntoa ();
13993 return 0;
13995 _ACEOF
13996 if ac_fn_c_try_link "$LINENO"
13997 then :
13998 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13999 else $as_nop
14000 ac_cv_lib_dnet_stub_dnet_ntoa=no
14002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14003 conftest$ac_exeext conftest.$ac_ext
14004 LIBS=$ac_check_lib_save_LIBS
14006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14007 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14008 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14009 then :
14010 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14016 conftest$ac_exeext conftest.$ac_ext
14017 LIBS="$ac_xsave_LIBS"
14019 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14020 # to get the SysV transport functions.
14021 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14022 # needs -lnsl.
14023 # The nsl library prevents programs from opening the X display
14024 # on Irix 5.2, according to T.E. Dickey.
14025 # The functions gethostbyname, getservbyname, and inet_addr are
14026 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14027 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14028 if test "x$ac_cv_func_gethostbyname" = xyes
14029 then :
14033 if test $ac_cv_func_gethostbyname = no; then
14034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14035 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14036 if test ${ac_cv_lib_nsl_gethostbyname+y}
14037 then :
14038 printf %s "(cached) " >&6
14039 else $as_nop
14040 ac_check_lib_save_LIBS=$LIBS
14041 LIBS="-lnsl $LIBS"
14042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14045 /* Override any GCC internal prototype to avoid an error.
14046 Use char because int might match the return type of a GCC
14047 builtin and then its argument prototype would still apply. */
14048 char gethostbyname ();
14050 main (void)
14052 return gethostbyname ();
14054 return 0;
14056 _ACEOF
14057 if ac_fn_c_try_link "$LINENO"
14058 then :
14059 ac_cv_lib_nsl_gethostbyname=yes
14060 else $as_nop
14061 ac_cv_lib_nsl_gethostbyname=no
14063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14064 conftest$ac_exeext conftest.$ac_ext
14065 LIBS=$ac_check_lib_save_LIBS
14067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14068 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14069 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14070 then :
14071 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14074 if test $ac_cv_lib_nsl_gethostbyname = no; then
14075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14076 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14077 if test ${ac_cv_lib_bsd_gethostbyname+y}
14078 then :
14079 printf %s "(cached) " >&6
14080 else $as_nop
14081 ac_check_lib_save_LIBS=$LIBS
14082 LIBS="-lbsd $LIBS"
14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14086 /* Override any GCC internal prototype to avoid an error.
14087 Use char because int might match the return type of a GCC
14088 builtin and then its argument prototype would still apply. */
14089 char gethostbyname ();
14091 main (void)
14093 return gethostbyname ();
14095 return 0;
14097 _ACEOF
14098 if ac_fn_c_try_link "$LINENO"
14099 then :
14100 ac_cv_lib_bsd_gethostbyname=yes
14101 else $as_nop
14102 ac_cv_lib_bsd_gethostbyname=no
14104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14105 conftest$ac_exeext conftest.$ac_ext
14106 LIBS=$ac_check_lib_save_LIBS
14108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14109 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14110 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14111 then :
14112 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14118 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14119 # socket/setsockopt and other routines are undefined under SCO ODT
14120 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14121 # on later versions), says Simon Leinen: it contains gethostby*
14122 # variants that don't use the name server (or something). -lsocket
14123 # must be given before -lnsl if both are needed. We assume that
14124 # if connect needs -lnsl, so does gethostbyname.
14125 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14126 if test "x$ac_cv_func_connect" = xyes
14127 then :
14131 if test $ac_cv_func_connect = no; then
14132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14133 printf %s "checking for connect in -lsocket... " >&6; }
14134 if test ${ac_cv_lib_socket_connect+y}
14135 then :
14136 printf %s "(cached) " >&6
14137 else $as_nop
14138 ac_check_lib_save_LIBS=$LIBS
14139 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h. */
14143 /* Override any GCC internal prototype to avoid an error.
14144 Use char because int might match the return type of a GCC
14145 builtin and then its argument prototype would still apply. */
14146 char connect ();
14148 main (void)
14150 return connect ();
14152 return 0;
14154 _ACEOF
14155 if ac_fn_c_try_link "$LINENO"
14156 then :
14157 ac_cv_lib_socket_connect=yes
14158 else $as_nop
14159 ac_cv_lib_socket_connect=no
14161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14162 conftest$ac_exeext conftest.$ac_ext
14163 LIBS=$ac_check_lib_save_LIBS
14165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14166 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14167 if test "x$ac_cv_lib_socket_connect" = xyes
14168 then :
14169 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14174 # Guillermo Gomez says -lposix is necessary on A/UX.
14175 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14176 if test "x$ac_cv_func_remove" = xyes
14177 then :
14181 if test $ac_cv_func_remove = no; then
14182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14183 printf %s "checking for remove in -lposix... " >&6; }
14184 if test ${ac_cv_lib_posix_remove+y}
14185 then :
14186 printf %s "(cached) " >&6
14187 else $as_nop
14188 ac_check_lib_save_LIBS=$LIBS
14189 LIBS="-lposix $LIBS"
14190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14191 /* end confdefs.h. */
14193 /* Override any GCC internal prototype to avoid an error.
14194 Use char because int might match the return type of a GCC
14195 builtin and then its argument prototype would still apply. */
14196 char remove ();
14198 main (void)
14200 return remove ();
14202 return 0;
14204 _ACEOF
14205 if ac_fn_c_try_link "$LINENO"
14206 then :
14207 ac_cv_lib_posix_remove=yes
14208 else $as_nop
14209 ac_cv_lib_posix_remove=no
14211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14212 conftest$ac_exeext conftest.$ac_ext
14213 LIBS=$ac_check_lib_save_LIBS
14215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14216 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14217 if test "x$ac_cv_lib_posix_remove" = xyes
14218 then :
14219 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14224 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14225 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14226 if test "x$ac_cv_func_shmat" = xyes
14227 then :
14231 if test $ac_cv_func_shmat = no; then
14232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14233 printf %s "checking for shmat in -lipc... " >&6; }
14234 if test ${ac_cv_lib_ipc_shmat+y}
14235 then :
14236 printf %s "(cached) " >&6
14237 else $as_nop
14238 ac_check_lib_save_LIBS=$LIBS
14239 LIBS="-lipc $LIBS"
14240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14243 /* Override any GCC internal prototype to avoid an error.
14244 Use char because int might match the return type of a GCC
14245 builtin and then its argument prototype would still apply. */
14246 char shmat ();
14248 main (void)
14250 return shmat ();
14252 return 0;
14254 _ACEOF
14255 if ac_fn_c_try_link "$LINENO"
14256 then :
14257 ac_cv_lib_ipc_shmat=yes
14258 else $as_nop
14259 ac_cv_lib_ipc_shmat=no
14261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14262 conftest$ac_exeext conftest.$ac_ext
14263 LIBS=$ac_check_lib_save_LIBS
14265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14266 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14267 if test "x$ac_cv_lib_ipc_shmat" = xyes
14268 then :
14269 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14275 # Check for libraries that X11R6 Xt/Xaw programs need.
14276 ac_save_LDFLAGS=$LDFLAGS
14277 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14278 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14279 # check for ICE first), but we must link in the order -lSM -lICE or
14280 # we get undefined symbols. So assume we have SM if we have ICE.
14281 # These have to be linked with before -lX11, unlike the other
14282 # libraries we check for below, so use a different variable.
14283 # John Interrante, Karl Berry
14284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14285 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14286 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14287 then :
14288 printf %s "(cached) " >&6
14289 else $as_nop
14290 ac_check_lib_save_LIBS=$LIBS
14291 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14295 /* Override any GCC internal prototype to avoid an error.
14296 Use char because int might match the return type of a GCC
14297 builtin and then its argument prototype would still apply. */
14298 char IceConnectionNumber ();
14300 main (void)
14302 return IceConnectionNumber ();
14304 return 0;
14306 _ACEOF
14307 if ac_fn_c_try_link "$LINENO"
14308 then :
14309 ac_cv_lib_ICE_IceConnectionNumber=yes
14310 else $as_nop
14311 ac_cv_lib_ICE_IceConnectionNumber=no
14313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14314 conftest$ac_exeext conftest.$ac_ext
14315 LIBS=$ac_check_lib_save_LIBS
14317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14318 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14319 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14320 then :
14321 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14324 LDFLAGS=$ac_save_LDFLAGS
14329 if test "$have_x" = "yes"
14330 then
14331 ac_save_CPPFLAGS="$CPPFLAGS"
14332 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14335 printf %s "checking for -lX11... " >&6; }
14336 if test ${ac_cv_lib_soname_X11+y}
14337 then :
14338 printf %s "(cached) " >&6
14339 else $as_nop
14340 ac_check_soname_save_LIBS=$LIBS
14341 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14345 /* Override any GCC internal prototype to avoid an error.
14346 Use char because int might match the return type of a GCC
14347 builtin and then its argument prototype would still apply. */
14348 char XCreateWindow ();
14350 main (void)
14352 return XCreateWindow ();
14354 return 0;
14356 _ACEOF
14357 if ac_fn_c_try_link "$LINENO"
14358 then :
14359 case "$LIBEXT" in
14360 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14361 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'` ;;
14362 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14363 if ${ac_cv_lib_soname_X11:+false} :
14364 then :
14365 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14366 fi ;;
14367 esac
14368 else $as_nop
14369 ac_cv_lib_soname_X11=
14371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14372 conftest$ac_exeext conftest.$ac_ext
14373 LIBS=$ac_check_soname_save_LIBS
14375 if ${ac_cv_lib_soname_X11:+false} :
14376 then :
14377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14378 printf "%s\n" "not found" >&6; }
14380 else $as_nop
14381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14382 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14384 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14389 printf %s "checking for -lXext... " >&6; }
14390 if test ${ac_cv_lib_soname_Xext+y}
14391 then :
14392 printf %s "(cached) " >&6
14393 else $as_nop
14394 ac_check_soname_save_LIBS=$LIBS
14395 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14399 /* Override any GCC internal prototype to avoid an error.
14400 Use char because int might match the return type of a GCC
14401 builtin and then its argument prototype would still apply. */
14402 char XextCreateExtension ();
14404 main (void)
14406 return XextCreateExtension ();
14408 return 0;
14410 _ACEOF
14411 if ac_fn_c_try_link "$LINENO"
14412 then :
14413 case "$LIBEXT" in
14414 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14415 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'` ;;
14416 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14417 if ${ac_cv_lib_soname_Xext:+false} :
14418 then :
14419 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14420 fi ;;
14421 esac
14422 else $as_nop
14423 ac_cv_lib_soname_Xext=
14425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14426 conftest$ac_exeext conftest.$ac_ext
14427 LIBS=$ac_check_soname_save_LIBS
14429 if ${ac_cv_lib_soname_Xext:+false} :
14430 then :
14431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14432 printf "%s\n" "not found" >&6; }
14434 else $as_nop
14435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14436 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14438 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14440 X_LIBS="$X_LIBS -lXext"
14442 X_LIBS="$X_LIBS -lX11"
14444 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14445 # include <X11/Xlib.h>
14446 #endif
14447 #ifdef HAVE_X11_XUTIL_H
14448 # include <X11/Xutil.h>
14449 #endif
14451 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14452 then :
14453 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14456 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14457 # include <X11/Xlib.h>
14458 #endif
14459 #ifdef HAVE_X11_XUTIL_H
14460 # include <X11/Xutil.h>
14461 #endif
14463 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14464 then :
14465 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14468 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14469 # include <X11/Xlib.h>
14470 #endif
14471 #ifdef HAVE_X11_XUTIL_H
14472 # include <X11/Xutil.h>
14473 #endif
14475 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14476 then :
14477 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14480 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14481 # include <X11/Xlib.h>
14482 #endif
14483 #ifdef HAVE_X11_XUTIL_H
14484 # include <X11/Xutil.h>
14485 #endif
14487 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14488 then :
14489 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14492 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14493 # include <X11/Xlib.h>
14494 #endif
14495 #ifdef HAVE_X11_XUTIL_H
14496 # include <X11/Xutil.h>
14497 #endif
14499 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14500 then :
14501 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14504 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14505 # include <X11/Xlib.h>
14506 #endif
14507 #ifdef HAVE_X11_XUTIL_H
14508 # include <X11/Xutil.h>
14509 #endif
14511 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14512 then :
14513 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14516 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14517 # include <X11/Xlib.h>
14518 #endif
14519 #ifdef HAVE_X11_XUTIL_H
14520 # include <X11/Xutil.h>
14521 #endif
14523 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14524 then :
14525 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14528 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14529 # include <X11/Xlib.h>
14530 #endif
14531 #ifdef HAVE_X11_XUTIL_H
14532 # include <X11/Xutil.h>
14533 #endif
14535 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14536 then :
14537 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14540 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14541 # include <X11/Xlib.h>
14542 #endif
14543 #ifdef HAVE_X11_XUTIL_H
14544 # include <X11/Xutil.h>
14545 #endif
14547 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14548 then :
14549 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14552 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14553 # include <X11/Xlib.h>
14554 #endif
14555 #ifdef HAVE_X11_XUTIL_H
14556 # include <X11/Xutil.h>
14557 #endif
14559 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14560 then :
14561 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14564 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14565 # include <X11/Xlib.h>
14566 #endif
14567 #ifdef HAVE_X11_XUTIL_H
14568 # include <X11/Xutil.h>
14569 #endif
14571 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14572 then :
14573 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14576 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14577 # include <X11/Xlib.h>
14578 #endif
14579 #ifdef HAVE_X11_XUTIL_H
14580 # include <X11/Xutil.h>
14581 #endif
14583 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14584 then :
14585 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14588 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14589 # include <X11/Xlib.h>
14590 #endif
14591 #ifdef HAVE_X11_XUTIL_H
14592 # include <X11/Xutil.h>
14593 #endif
14595 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14596 then :
14597 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14600 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14601 # include <X11/Xlib.h>
14602 #endif
14603 #ifdef HAVE_X11_XUTIL_H
14604 # include <X11/Xutil.h>
14605 #endif
14607 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14608 then :
14609 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14612 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14613 # include <X11/Xlib.h>
14614 #endif
14615 #ifdef HAVE_X11_XUTIL_H
14616 # include <X11/Xutil.h>
14617 #endif
14619 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14620 then :
14621 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14626 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14627 then
14628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14629 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14630 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14631 then :
14632 printf %s "(cached) " >&6
14633 else $as_nop
14634 ac_check_lib_save_LIBS=$LIBS
14635 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14637 /* end confdefs.h. */
14639 /* Override any GCC internal prototype to avoid an error.
14640 Use char because int might match the return type of a GCC
14641 builtin and then its argument prototype would still apply. */
14642 char XkbQueryExtension ();
14644 main (void)
14646 return XkbQueryExtension ();
14648 return 0;
14650 _ACEOF
14651 if ac_fn_c_try_link "$LINENO"
14652 then :
14653 ac_cv_lib_X11_XkbQueryExtension=yes
14654 else $as_nop
14655 ac_cv_lib_X11_XkbQueryExtension=no
14657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14658 conftest$ac_exeext conftest.$ac_ext
14659 LIBS=$ac_check_lib_save_LIBS
14661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14662 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14663 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14664 then :
14666 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14672 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14673 then
14674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14675 printf %s "checking for -lXcursor... " >&6; }
14676 if test ${ac_cv_lib_soname_Xcursor+y}
14677 then :
14678 printf %s "(cached) " >&6
14679 else $as_nop
14680 ac_check_soname_save_LIBS=$LIBS
14681 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14683 /* end confdefs.h. */
14685 /* Override any GCC internal prototype to avoid an error.
14686 Use char because int might match the return type of a GCC
14687 builtin and then its argument prototype would still apply. */
14688 char XcursorImageLoadCursor ();
14690 main (void)
14692 return XcursorImageLoadCursor ();
14694 return 0;
14696 _ACEOF
14697 if ac_fn_c_try_link "$LINENO"
14698 then :
14699 case "$LIBEXT" in
14700 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14701 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'` ;;
14702 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14703 if ${ac_cv_lib_soname_Xcursor:+false} :
14704 then :
14705 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14706 fi ;;
14707 esac
14708 else $as_nop
14709 ac_cv_lib_soname_Xcursor=
14711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14712 conftest$ac_exeext conftest.$ac_ext
14713 LIBS=$ac_check_soname_save_LIBS
14715 if ${ac_cv_lib_soname_Xcursor:+false} :
14716 then :
14717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14718 printf "%s\n" "not found" >&6; }
14720 else $as_nop
14721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14722 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14724 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14729 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14730 then :
14731 case "x$with_xcursor" in
14732 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14733 xno) ;;
14734 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14735 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14736 esac
14740 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14741 then
14742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14743 printf %s "checking for -lXi... " >&6; }
14744 if test ${ac_cv_lib_soname_Xi+y}
14745 then :
14746 printf %s "(cached) " >&6
14747 else $as_nop
14748 ac_check_soname_save_LIBS=$LIBS
14749 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14753 /* Override any GCC internal prototype to avoid an error.
14754 Use char because int might match the return type of a GCC
14755 builtin and then its argument prototype would still apply. */
14756 char XOpenDevice ();
14758 main (void)
14760 return XOpenDevice ();
14762 return 0;
14764 _ACEOF
14765 if ac_fn_c_try_link "$LINENO"
14766 then :
14767 case "$LIBEXT" in
14768 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14769 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'` ;;
14770 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14771 if ${ac_cv_lib_soname_Xi:+false} :
14772 then :
14773 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14774 fi ;;
14775 esac
14776 else $as_nop
14777 ac_cv_lib_soname_Xi=
14779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14780 conftest$ac_exeext conftest.$ac_ext
14781 LIBS=$ac_check_soname_save_LIBS
14783 if ${ac_cv_lib_soname_Xi:+false} :
14784 then :
14785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14786 printf "%s\n" "not found" >&6; }
14788 else $as_nop
14789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14790 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14792 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14797 if test "x$ac_cv_lib_soname_Xi" = "x"
14798 then :
14799 case "x$with_xinput" in
14800 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14801 xno) ;;
14802 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14803 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14804 esac
14808 if test "x$ac_cv_lib_soname_Xi" != x
14809 then
14810 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14811 then :
14812 case "x$with_xinput2" in
14813 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14814 xno) ;;
14815 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14816 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14817 esac
14822 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14823 then
14824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14825 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14826 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14827 then :
14828 printf %s "(cached) " >&6
14829 else $as_nop
14830 ac_check_lib_save_LIBS=$LIBS
14831 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14833 /* end confdefs.h. */
14835 /* Override any GCC internal prototype to avoid an error.
14836 Use char because int might match the return type of a GCC
14837 builtin and then its argument prototype would still apply. */
14838 char XShmQueryExtension ();
14840 main (void)
14842 return XShmQueryExtension ();
14844 return 0;
14846 _ACEOF
14847 if ac_fn_c_try_link "$LINENO"
14848 then :
14849 ac_cv_lib_Xext_XShmQueryExtension=yes
14850 else $as_nop
14851 ac_cv_lib_Xext_XShmQueryExtension=no
14853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14854 conftest$ac_exeext conftest.$ac_ext
14855 LIBS=$ac_check_lib_save_LIBS
14857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14858 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14859 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14860 then :
14862 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14867 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14868 then :
14869 case "x$with_xshm" in
14870 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14871 xno) ;;
14872 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14873 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14874 esac
14878 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14879 then
14880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14881 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14882 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14883 then :
14884 printf %s "(cached) " >&6
14885 else $as_nop
14886 ac_check_lib_save_LIBS=$LIBS
14887 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14889 /* end confdefs.h. */
14891 /* Override any GCC internal prototype to avoid an error.
14892 Use char because int might match the return type of a GCC
14893 builtin and then its argument prototype would still apply. */
14894 char XShapeQueryExtension ();
14896 main (void)
14898 return XShapeQueryExtension ();
14900 return 0;
14902 _ACEOF
14903 if ac_fn_c_try_link "$LINENO"
14904 then :
14905 ac_cv_lib_Xext_XShapeQueryExtension=yes
14906 else $as_nop
14907 ac_cv_lib_Xext_XShapeQueryExtension=no
14909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14910 conftest$ac_exeext conftest.$ac_ext
14911 LIBS=$ac_check_lib_save_LIBS
14913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14914 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14915 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14916 then :
14918 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14923 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14924 then :
14925 case "x$with_xshape" in
14926 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14927 xno) ;;
14928 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14929 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14930 esac
14934 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14935 then
14936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14937 printf %s "checking for -lXxf86vm... " >&6; }
14938 if test ${ac_cv_lib_soname_Xxf86vm+y}
14939 then :
14940 printf %s "(cached) " >&6
14941 else $as_nop
14942 ac_check_soname_save_LIBS=$LIBS
14943 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14945 /* end confdefs.h. */
14947 /* Override any GCC internal prototype to avoid an error.
14948 Use char because int might match the return type of a GCC
14949 builtin and then its argument prototype would still apply. */
14950 char XF86VidModeQueryExtension ();
14952 main (void)
14954 return XF86VidModeQueryExtension ();
14956 return 0;
14958 _ACEOF
14959 if ac_fn_c_try_link "$LINENO"
14960 then :
14961 case "$LIBEXT" in
14962 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14963 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'` ;;
14964 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14965 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14966 then :
14967 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14968 fi ;;
14969 esac
14970 else $as_nop
14971 ac_cv_lib_soname_Xxf86vm=
14973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14974 conftest$ac_exeext conftest.$ac_ext
14975 LIBS=$ac_check_soname_save_LIBS
14977 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14978 then :
14979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14980 printf "%s\n" "not found" >&6; }
14982 else $as_nop
14983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14984 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14986 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14991 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14992 then :
14993 case "x$with_xxf86vm" in
14994 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14995 xno) ;;
14996 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14997 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14998 esac
15002 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15003 then
15004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15005 printf %s "checking for -lXrender... " >&6; }
15006 if test ${ac_cv_lib_soname_Xrender+y}
15007 then :
15008 printf %s "(cached) " >&6
15009 else $as_nop
15010 ac_check_soname_save_LIBS=$LIBS
15011 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15015 /* Override any GCC internal prototype to avoid an error.
15016 Use char because int might match the return type of a GCC
15017 builtin and then its argument prototype would still apply. */
15018 char XRenderQueryExtension ();
15020 main (void)
15022 return XRenderQueryExtension ();
15024 return 0;
15026 _ACEOF
15027 if ac_fn_c_try_link "$LINENO"
15028 then :
15029 case "$LIBEXT" in
15030 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15031 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'` ;;
15032 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15033 if ${ac_cv_lib_soname_Xrender:+false} :
15034 then :
15035 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15036 fi ;;
15037 esac
15038 else $as_nop
15039 ac_cv_lib_soname_Xrender=
15041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15042 conftest$ac_exeext conftest.$ac_ext
15043 LIBS=$ac_check_soname_save_LIBS
15045 if ${ac_cv_lib_soname_Xrender:+false} :
15046 then :
15047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15048 printf "%s\n" "not found" >&6; }
15050 else $as_nop
15051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15052 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15054 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15057 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15058 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15059 then :
15060 printf %s "(cached) " >&6
15061 else $as_nop
15062 ac_check_lib_save_LIBS=$LIBS
15063 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15065 /* end confdefs.h. */
15067 /* Override any GCC internal prototype to avoid an error.
15068 Use char because int might match the return type of a GCC
15069 builtin and then its argument prototype would still apply. */
15070 char XRenderSetPictureTransform ();
15072 main (void)
15074 return XRenderSetPictureTransform ();
15076 return 0;
15078 _ACEOF
15079 if ac_fn_c_try_link "$LINENO"
15080 then :
15081 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15082 else $as_nop
15083 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15085 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15086 conftest$ac_exeext conftest.$ac_ext
15087 LIBS=$ac_check_lib_save_LIBS
15089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15090 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15091 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15092 then :
15094 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15099 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15100 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15101 then :
15102 printf %s "(cached) " >&6
15103 else $as_nop
15104 ac_check_lib_save_LIBS=$LIBS
15105 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15107 /* end confdefs.h. */
15109 /* Override any GCC internal prototype to avoid an error.
15110 Use char because int might match the return type of a GCC
15111 builtin and then its argument prototype would still apply. */
15112 char XRenderCreateLinearGradient ();
15114 main (void)
15116 return XRenderCreateLinearGradient ();
15118 return 0;
15120 _ACEOF
15121 if ac_fn_c_try_link "$LINENO"
15122 then :
15123 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15124 else $as_nop
15125 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15128 conftest$ac_exeext conftest.$ac_ext
15129 LIBS=$ac_check_lib_save_LIBS
15131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15132 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15133 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15134 then :
15136 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15143 if test "x$ac_cv_lib_soname_Xrender" = "x"
15144 then :
15145 case "x$with_xrender" in
15146 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15147 xno) ;;
15148 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15149 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15150 esac
15154 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15155 then
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15158 #include <X11/Xlib.h>
15159 #include <X11/extensions/Xrandr.h>
15161 main (void)
15163 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15165 return 0;
15167 _ACEOF
15168 if ac_fn_c_try_compile "$LINENO"
15169 then :
15170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15171 printf %s "checking for -lXrandr... " >&6; }
15172 if test ${ac_cv_lib_soname_Xrandr+y}
15173 then :
15174 printf %s "(cached) " >&6
15175 else $as_nop
15176 ac_check_soname_save_LIBS=$LIBS
15177 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15179 /* end confdefs.h. */
15181 /* Override any GCC internal prototype to avoid an error.
15182 Use char because int might match the return type of a GCC
15183 builtin and then its argument prototype would still apply. */
15184 char XRRQueryExtension ();
15186 main (void)
15188 return XRRQueryExtension ();
15190 return 0;
15192 _ACEOF
15193 if ac_fn_c_try_link "$LINENO"
15194 then :
15195 case "$LIBEXT" in
15196 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15197 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'` ;;
15198 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15199 if ${ac_cv_lib_soname_Xrandr:+false} :
15200 then :
15201 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15202 fi ;;
15203 esac
15204 else $as_nop
15205 ac_cv_lib_soname_Xrandr=
15207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15208 conftest$ac_exeext conftest.$ac_ext
15209 LIBS=$ac_check_soname_save_LIBS
15211 if ${ac_cv_lib_soname_Xrandr:+false} :
15212 then :
15213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15214 printf "%s\n" "not found" >&6; }
15216 else $as_nop
15217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15218 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15220 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15224 #include <X11/Xlib.h>
15225 #include <X11/extensions/Xrandr.h>
15227 main (void)
15229 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15231 return 0;
15233 _ACEOF
15234 if ac_fn_c_try_compile "$LINENO"
15235 then :
15237 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15239 else $as_nop
15240 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15247 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15248 then :
15249 case "x$with_xrandr" in
15250 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15251 xno) ;;
15252 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15253 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15254 esac
15258 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15259 then
15260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15261 /* end confdefs.h. */
15262 #include <X11/Xlib.h>
15263 #include <X11/extensions/Xfixes.h>
15265 main (void)
15267 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15269 return 0;
15271 _ACEOF
15272 if ac_fn_c_try_compile "$LINENO"
15273 then :
15274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15275 printf %s "checking for -lXfixes... " >&6; }
15276 if test ${ac_cv_lib_soname_Xfixes+y}
15277 then :
15278 printf %s "(cached) " >&6
15279 else $as_nop
15280 ac_check_soname_save_LIBS=$LIBS
15281 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15285 /* Override any GCC internal prototype to avoid an error.
15286 Use char because int might match the return type of a GCC
15287 builtin and then its argument prototype would still apply. */
15288 char XFixesQueryVersion ();
15290 main (void)
15292 return XFixesQueryVersion ();
15294 return 0;
15296 _ACEOF
15297 if ac_fn_c_try_link "$LINENO"
15298 then :
15299 case "$LIBEXT" in
15300 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15301 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'` ;;
15302 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15303 if ${ac_cv_lib_soname_Xfixes:+false} :
15304 then :
15305 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15306 fi ;;
15307 esac
15308 else $as_nop
15309 ac_cv_lib_soname_Xfixes=
15311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15312 conftest$ac_exeext conftest.$ac_ext
15313 LIBS=$ac_check_soname_save_LIBS
15315 if ${ac_cv_lib_soname_Xfixes:+false} :
15316 then :
15317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15318 printf "%s\n" "not found" >&6; }
15320 else $as_nop
15321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15322 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15324 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15329 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15331 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15332 then :
15333 case "x$with_xfixes" in
15334 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15335 xno) ;;
15336 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15337 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15338 esac
15342 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15343 then
15344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15345 /* end confdefs.h. */
15346 #include <X11/Xlib.h>
15347 #include <X11/extensions/Xinerama.h>
15349 main (void)
15351 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15353 return 0;
15355 _ACEOF
15356 if ac_fn_c_try_compile "$LINENO"
15357 then :
15358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15359 printf %s "checking for -lXinerama... " >&6; }
15360 if test ${ac_cv_lib_soname_Xinerama+y}
15361 then :
15362 printf %s "(cached) " >&6
15363 else $as_nop
15364 ac_check_soname_save_LIBS=$LIBS
15365 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15367 /* end confdefs.h. */
15369 /* Override any GCC internal prototype to avoid an error.
15370 Use char because int might match the return type of a GCC
15371 builtin and then its argument prototype would still apply. */
15372 char XineramaQueryScreens ();
15374 main (void)
15376 return XineramaQueryScreens ();
15378 return 0;
15380 _ACEOF
15381 if ac_fn_c_try_link "$LINENO"
15382 then :
15383 case "$LIBEXT" in
15384 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15385 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'` ;;
15386 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15387 if ${ac_cv_lib_soname_Xinerama:+false} :
15388 then :
15389 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15390 fi ;;
15391 esac
15392 else $as_nop
15393 ac_cv_lib_soname_Xinerama=
15395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15396 conftest$ac_exeext conftest.$ac_ext
15397 LIBS=$ac_check_soname_save_LIBS
15399 if ${ac_cv_lib_soname_Xinerama:+false} :
15400 then :
15401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15402 printf "%s\n" "not found" >&6; }
15404 else $as_nop
15405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15406 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15408 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15415 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15416 then :
15417 case "x$with_xinerama" in
15418 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15419 xno) ;;
15420 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15421 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15422 esac
15426 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15427 then
15428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15429 printf %s "checking for -lXcomposite... " >&6; }
15430 if test ${ac_cv_lib_soname_Xcomposite+y}
15431 then :
15432 printf %s "(cached) " >&6
15433 else $as_nop
15434 ac_check_soname_save_LIBS=$LIBS
15435 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15437 /* end confdefs.h. */
15439 /* Override any GCC internal prototype to avoid an error.
15440 Use char because int might match the return type of a GCC
15441 builtin and then its argument prototype would still apply. */
15442 char XCompositeRedirectWindow ();
15444 main (void)
15446 return XCompositeRedirectWindow ();
15448 return 0;
15450 _ACEOF
15451 if ac_fn_c_try_link "$LINENO"
15452 then :
15453 case "$LIBEXT" in
15454 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15455 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'` ;;
15456 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15457 if ${ac_cv_lib_soname_Xcomposite:+false} :
15458 then :
15459 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15460 fi ;;
15461 esac
15462 else $as_nop
15463 ac_cv_lib_soname_Xcomposite=
15465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15466 conftest$ac_exeext conftest.$ac_ext
15467 LIBS=$ac_check_soname_save_LIBS
15469 if ${ac_cv_lib_soname_Xcomposite:+false} :
15470 then :
15471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15472 printf "%s\n" "not found" >&6; }
15474 else $as_nop
15475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15476 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15478 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15483 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15484 then :
15485 case "x$with_xcomposite" in
15486 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15487 xno) ;;
15488 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15489 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15490 esac
15494 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15495 #include <X11/Xlib.h>
15496 #endif
15498 if test "x$ac_cv_member_XICCallback_callback" = xyes
15499 then :
15501 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15505 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15506 #include <X11/Xlib.h>
15507 #endif
15509 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15510 then :
15512 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15519 opengl_msg=""
15520 if test "x$with_opengl" != "xno"
15521 then
15522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15523 printf %s "checking for -lGL... " >&6; }
15524 if test ${ac_cv_lib_soname_GL+y}
15525 then :
15526 printf %s "(cached) " >&6
15527 else $as_nop
15528 ac_check_soname_save_LIBS=$LIBS
15529 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15531 /* end confdefs.h. */
15533 /* Override any GCC internal prototype to avoid an error.
15534 Use char because int might match the return type of a GCC
15535 builtin and then its argument prototype would still apply. */
15536 char glXCreateContext ();
15538 main (void)
15540 return glXCreateContext ();
15542 return 0;
15544 _ACEOF
15545 if ac_fn_c_try_link "$LINENO"
15546 then :
15547 case "$LIBEXT" in
15548 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15549 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'` ;;
15550 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15551 if ${ac_cv_lib_soname_GL:+false} :
15552 then :
15553 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15554 fi ;;
15555 esac
15556 else $as_nop
15557 ac_cv_lib_soname_GL=
15559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15560 conftest$ac_exeext conftest.$ac_ext
15561 LIBS=$ac_check_soname_save_LIBS
15563 if ${ac_cv_lib_soname_GL:+false} :
15564 then :
15565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15566 printf "%s\n" "not found" >&6; }
15567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15568 printf %s "checking for -lGL... " >&6; }
15569 if test ${ac_cv_lib_soname_GL+y}
15570 then :
15571 printf %s "(cached) " >&6
15572 else $as_nop
15573 ac_check_soname_save_LIBS=$LIBS
15574 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"
15575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15576 /* end confdefs.h. */
15578 /* Override any GCC internal prototype to avoid an error.
15579 Use char because int might match the return type of a GCC
15580 builtin and then its argument prototype would still apply. */
15581 char glXCreateContext ();
15583 main (void)
15585 return glXCreateContext ();
15587 return 0;
15589 _ACEOF
15590 if ac_fn_c_try_link "$LINENO"
15591 then :
15592 case "$LIBEXT" in
15593 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15594 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'` ;;
15595 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15596 if ${ac_cv_lib_soname_GL:+false} :
15597 then :
15598 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15599 fi ;;
15600 esac
15601 else $as_nop
15602 ac_cv_lib_soname_GL=
15604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15605 conftest$ac_exeext conftest.$ac_ext
15606 LIBS=$ac_check_soname_save_LIBS
15608 if ${ac_cv_lib_soname_GL:+false} :
15609 then :
15610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15611 printf "%s\n" "not found" >&6; }
15612 if test -f /usr/X11R6/lib/libGL.a
15613 then
15614 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15615 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15616 else
15617 opengl_msg="No OpenGL library found on this system."
15619 else $as_nop
15620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15621 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15623 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15625 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"
15627 else $as_nop
15628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15629 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15631 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15633 OPENGL_LIBS="-lGL"
15635 if test "x$with_osmesa" != "xno"
15636 then
15637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15638 printf %s "checking for -lOSMesa... " >&6; }
15639 if test ${ac_cv_lib_soname_OSMesa+y}
15640 then :
15641 printf %s "(cached) " >&6
15642 else $as_nop
15643 ac_check_soname_save_LIBS=$LIBS
15644 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15646 /* end confdefs.h. */
15648 /* Override any GCC internal prototype to avoid an error.
15649 Use char because int might match the return type of a GCC
15650 builtin and then its argument prototype would still apply. */
15651 char OSMesaGetProcAddress ();
15653 main (void)
15655 return OSMesaGetProcAddress ();
15657 return 0;
15659 _ACEOF
15660 if ac_fn_c_try_link "$LINENO"
15661 then :
15662 case "$LIBEXT" in
15663 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15664 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'` ;;
15665 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15666 if ${ac_cv_lib_soname_OSMesa:+false} :
15667 then :
15668 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15669 fi ;;
15670 esac
15671 else $as_nop
15672 ac_cv_lib_soname_OSMesa=
15674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15675 conftest$ac_exeext conftest.$ac_ext
15676 LIBS=$ac_check_soname_save_LIBS
15678 if ${ac_cv_lib_soname_OSMesa:+false} :
15679 then :
15680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15681 printf "%s\n" "not found" >&6; }
15683 else $as_nop
15684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15685 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15687 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15691 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15692 then :
15693 case "x$with_osmesa" in
15694 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15695 xno) ;;
15696 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15697 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15698 esac
15703 if test -n "$opengl_msg"
15704 then :
15705 case "x$with_opengl" in
15706 x) as_fn_append wine_warnings "|$opengl_msg
15707 OpenGL and Direct3D won't be supported." ;;
15708 xno) ;;
15709 *) as_fn_error $? "$opengl_msg
15710 OpenGL and Direct3D won't be supported.
15711 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15712 esac
15716 CPPFLAGS="$ac_save_CPPFLAGS"
15717 else
15718 X_CFLAGS=""
15719 X_LIBS=""
15722 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15723 then
15724 if test "x$X_LIBS" = "x"
15725 then :
15726 case "x$with_x" in
15727 xno) ;;
15728 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15729 without X support, which probably isn't what you want. You will need
15730 to install ${notice_platform}development packages of Xlib at the very least.
15731 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15732 esac
15733 enable_winex11_drv=${enable_winex11_drv:-no}
15735 else
15736 if test "x$X_LIBS" = "x"
15737 then :
15738 case "x$with_x" in
15739 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15740 xno) ;;
15741 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15742 This is an error since --with-x was requested." "$LINENO" 5 ;;
15743 esac
15744 enable_winex11_drv=${enable_winex11_drv:-no}
15748 if test "$ac_cv_header_CL_cl_h" = "yes"
15749 then
15750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15751 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15752 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15753 then :
15754 printf %s "(cached) " >&6
15755 else $as_nop
15756 ac_check_lib_save_LIBS=$LIBS
15757 LIBS="-lOpenCL $LIBS"
15758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15759 /* end confdefs.h. */
15761 /* Override any GCC internal prototype to avoid an error.
15762 Use char because int might match the return type of a GCC
15763 builtin and then its argument prototype would still apply. */
15764 char clGetPlatformInfo ();
15766 main (void)
15768 return clGetPlatformInfo ();
15770 return 0;
15772 _ACEOF
15773 if ac_fn_c_try_link "$LINENO"
15774 then :
15775 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15776 else $as_nop
15777 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15780 conftest$ac_exeext conftest.$ac_ext
15781 LIBS=$ac_check_lib_save_LIBS
15783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15784 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15785 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15786 then :
15787 OPENCL_LIBS="-lOpenCL"
15792 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15793 then :
15794 case "x$with_opencl" in
15795 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15796 xno) ;;
15797 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15798 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15799 esac
15800 enable_opencl=${enable_opencl:-no}
15803 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15804 then
15805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15806 printf %s "checking for pcap_create in -lpcap... " >&6; }
15807 if test ${ac_cv_lib_pcap_pcap_create+y}
15808 then :
15809 printf %s "(cached) " >&6
15810 else $as_nop
15811 ac_check_lib_save_LIBS=$LIBS
15812 LIBS="-lpcap $LIBS"
15813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15814 /* end confdefs.h. */
15816 /* Override any GCC internal prototype to avoid an error.
15817 Use char because int might match the return type of a GCC
15818 builtin and then its argument prototype would still apply. */
15819 char pcap_create ();
15821 main (void)
15823 return pcap_create ();
15825 return 0;
15827 _ACEOF
15828 if ac_fn_c_try_link "$LINENO"
15829 then :
15830 ac_cv_lib_pcap_pcap_create=yes
15831 else $as_nop
15832 ac_cv_lib_pcap_pcap_create=no
15834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15835 conftest$ac_exeext conftest.$ac_ext
15836 LIBS=$ac_check_lib_save_LIBS
15838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15839 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15840 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15841 then :
15842 PCAP_LIBS="-lpcap"
15847 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15848 then :
15849 case "x$with_pcap" in
15850 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15851 xno) ;;
15852 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15853 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15854 esac
15855 enable_wpcap=${enable_wpcap:-no}
15858 if test "x$with_inotify" != "xno"
15859 then
15860 if ${INOTIFY_CFLAGS:+false} :
15861 then :
15862 if test ${PKG_CONFIG+y}
15863 then :
15864 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15868 if ${INOTIFY_LIBS:+false} :
15869 then :
15870 if test ${PKG_CONFIG+y}
15871 then :
15872 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15878 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15879 ac_save_CPPFLAGS=$CPPFLAGS
15880 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15881 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15882 if test "x$ac_cv_header_sys_inotify_h" = xyes
15883 then :
15884 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15889 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15890 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15891 then :
15892 printf %s "(cached) " >&6
15893 else $as_nop
15894 ac_check_lib_save_LIBS=$LIBS
15895 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15899 /* Override any GCC internal prototype to avoid an error.
15900 Use char because int might match the return type of a GCC
15901 builtin and then its argument prototype would still apply. */
15902 char inotify_add_watch ();
15904 main (void)
15906 return inotify_add_watch ();
15908 return 0;
15910 _ACEOF
15911 if ac_fn_c_try_link "$LINENO"
15912 then :
15913 ac_cv_lib_inotify_inotify_add_watch=yes
15914 else $as_nop
15915 ac_cv_lib_inotify_inotify_add_watch=no
15917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15918 conftest$ac_exeext conftest.$ac_ext
15919 LIBS=$ac_check_lib_save_LIBS
15921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15922 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15923 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15924 then :
15926 else $as_nop
15927 INOTIFY_LIBS=""
15930 CPPFLAGS=$ac_save_CPPFLAGS
15933 if test "$ac_cv_header_sys_inotify_h" != "yes"
15934 then :
15935 case "x$with_inotify" in
15936 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15937 xno) ;;
15938 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15939 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15940 esac
15944 if test "x$with_dbus" != "xno"
15945 then
15946 if ${DBUS_CFLAGS:+false} :
15947 then :
15948 if test ${PKG_CONFIG+y}
15949 then :
15950 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15954 if ${DBUS_LIBS:+false} :
15955 then :
15956 if test ${PKG_CONFIG+y}
15957 then :
15958 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15964 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15965 ac_save_CPPFLAGS=$CPPFLAGS
15966 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15967 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15968 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15969 then :
15970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15971 printf %s "checking for -ldbus-1... " >&6; }
15972 if test ${ac_cv_lib_soname_dbus_1+y}
15973 then :
15974 printf %s "(cached) " >&6
15975 else $as_nop
15976 ac_check_soname_save_LIBS=$LIBS
15977 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15979 /* end confdefs.h. */
15981 /* Override any GCC internal prototype to avoid an error.
15982 Use char because int might match the return type of a GCC
15983 builtin and then its argument prototype would still apply. */
15984 char dbus_connection_close ();
15986 main (void)
15988 return dbus_connection_close ();
15990 return 0;
15992 _ACEOF
15993 if ac_fn_c_try_link "$LINENO"
15994 then :
15995 case "$LIBEXT" in
15996 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15997 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'` ;;
15998 *) 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'`
15999 if ${ac_cv_lib_soname_dbus_1:+false} :
16000 then :
16001 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16002 fi ;;
16003 esac
16004 else $as_nop
16005 ac_cv_lib_soname_dbus_1=
16007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16008 conftest$ac_exeext conftest.$ac_ext
16009 LIBS=$ac_check_soname_save_LIBS
16011 if ${ac_cv_lib_soname_dbus_1:+false} :
16012 then :
16013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16014 printf "%s\n" "not found" >&6; }
16015 DBUS_CFLAGS=""
16016 else $as_nop
16017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16018 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16020 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16024 else $as_nop
16025 DBUS_CFLAGS=""
16028 CPPFLAGS=$ac_save_CPPFLAGS
16031 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16032 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16033 then :
16034 case "x$with_dbus" in
16035 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16036 xno) ;;
16037 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16038 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16039 esac
16043 if test "x$with_gnutls" != "xno"
16044 then
16045 if ${GNUTLS_CFLAGS:+false} :
16046 then :
16047 if test ${PKG_CONFIG+y}
16048 then :
16049 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16053 if ${GNUTLS_LIBS:+false} :
16054 then :
16055 if test ${PKG_CONFIG+y}
16056 then :
16057 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16061 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16064 ac_save_CPPFLAGS=$CPPFLAGS
16065 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16066 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16067 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16068 then :
16069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16070 /* end confdefs.h. */
16071 #include <gnutls/gnutls.h>
16072 #include <gnutls/crypto.h>
16074 main (void)
16076 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16078 return 0;
16080 _ACEOF
16081 if ac_fn_c_try_compile "$LINENO"
16082 then :
16083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16084 printf %s "checking for -lgnutls... " >&6; }
16085 if test ${ac_cv_lib_soname_gnutls+y}
16086 then :
16087 printf %s "(cached) " >&6
16088 else $as_nop
16089 ac_check_soname_save_LIBS=$LIBS
16090 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16092 /* end confdefs.h. */
16094 /* Override any GCC internal prototype to avoid an error.
16095 Use char because int might match the return type of a GCC
16096 builtin and then its argument prototype would still apply. */
16097 char gnutls_global_init ();
16099 main (void)
16101 return gnutls_global_init ();
16103 return 0;
16105 _ACEOF
16106 if ac_fn_c_try_link "$LINENO"
16107 then :
16108 case "$LIBEXT" in
16109 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16110 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'` ;;
16111 *) 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'`
16112 if ${ac_cv_lib_soname_gnutls:+false} :
16113 then :
16114 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'`
16115 fi ;;
16116 esac
16117 else $as_nop
16118 ac_cv_lib_soname_gnutls=
16120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16121 conftest$ac_exeext conftest.$ac_ext
16122 LIBS=$ac_check_soname_save_LIBS
16124 if ${ac_cv_lib_soname_gnutls:+false} :
16125 then :
16126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16127 printf "%s\n" "not found" >&6; }
16128 GNUTLS_CFLAGS=""
16129 else $as_nop
16130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16131 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16133 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16137 ac_wine_check_funcs_save_LIBS="$LIBS"
16138 LIBS="$LIBS $GNUTLS_LIBS"
16140 for ac_func in gnutls_cipher_init
16141 do :
16142 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16143 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16144 then :
16145 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16147 else $as_nop
16148 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16151 done
16152 LIBS="$ac_wine_check_funcs_save_LIBS"
16154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16155 else $as_nop
16156 GNUTLS_CFLAGS=""
16159 CPPFLAGS=$ac_save_CPPFLAGS
16162 if test "x$ac_cv_lib_soname_gnutls" = "x"
16163 then :
16164 case "x$with_gnutls" in
16165 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16166 xno) ;;
16167 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16168 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16169 esac
16173 if test "x$with_sane" != "xno"
16174 then
16175 if ${SANE_CFLAGS:+false} :
16176 then :
16177 if test ${PKG_CONFIG+y}
16178 then :
16179 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16182 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16183 if ${SANE_LIBS:+false} :
16184 then :
16185 if test ${PKG_CONFIG+y}
16186 then :
16187 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16190 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16194 ac_save_CPPFLAGS=$CPPFLAGS
16195 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16196 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16197 if test "x$ac_cv_header_sane_sane_h" = xyes
16198 then :
16199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16200 printf %s "checking for sane_init in -lsane... " >&6; }
16201 if test ${ac_cv_lib_sane_sane_init+y}
16202 then :
16203 printf %s "(cached) " >&6
16204 else $as_nop
16205 ac_check_lib_save_LIBS=$LIBS
16206 LIBS="-lsane $SANE_LIBS $LIBS"
16207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16208 /* end confdefs.h. */
16210 /* Override any GCC internal prototype to avoid an error.
16211 Use char because int might match the return type of a GCC
16212 builtin and then its argument prototype would still apply. */
16213 char sane_init ();
16215 main (void)
16217 return sane_init ();
16219 return 0;
16221 _ACEOF
16222 if ac_fn_c_try_link "$LINENO"
16223 then :
16224 ac_cv_lib_sane_sane_init=yes
16225 else $as_nop
16226 ac_cv_lib_sane_sane_init=no
16228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16229 conftest$ac_exeext conftest.$ac_ext
16230 LIBS=$ac_check_lib_save_LIBS
16232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16233 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16234 if test "x$ac_cv_lib_sane_sane_init" = xyes
16235 then :
16241 CPPFLAGS=$ac_save_CPPFLAGS
16244 if test "$ac_cv_lib_sane_sane_init" != "yes"
16245 then :
16246 case "x$with_sane" in
16247 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16248 xno) ;;
16249 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16250 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16251 esac
16252 enable_sane_ds=${enable_sane_ds:-no}
16255 if test "x$with_usb" != "xno"
16256 then
16257 if ${USB_CFLAGS:+false} :
16258 then :
16259 if test ${PKG_CONFIG+y}
16260 then :
16261 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16265 if ${USB_LIBS:+false} :
16266 then :
16267 if test ${PKG_CONFIG+y}
16268 then :
16269 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16273 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16276 ac_save_CPPFLAGS=$CPPFLAGS
16277 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16278 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16279 if test "x$ac_cv_header_libusb_h" = xyes
16280 then :
16281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16282 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16283 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16284 then :
16285 printf %s "(cached) " >&6
16286 else $as_nop
16287 ac_check_lib_save_LIBS=$LIBS
16288 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16290 /* end confdefs.h. */
16292 /* Override any GCC internal prototype to avoid an error.
16293 Use char because int might match the return type of a GCC
16294 builtin and then its argument prototype would still apply. */
16295 char libusb_interrupt_event_handler ();
16297 main (void)
16299 return libusb_interrupt_event_handler ();
16301 return 0;
16303 _ACEOF
16304 if ac_fn_c_try_link "$LINENO"
16305 then :
16306 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16307 else $as_nop
16308 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16311 conftest$ac_exeext conftest.$ac_ext
16312 LIBS=$ac_check_lib_save_LIBS
16314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16315 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16316 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16317 then :
16319 else $as_nop
16320 USB_LIBS=""
16323 else $as_nop
16324 USB_LIBS=""
16327 CPPFLAGS=$ac_save_CPPFLAGS
16330 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16331 then :
16332 case "x$with_usb" in
16333 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16334 xno) ;;
16335 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16336 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16337 esac
16338 enable_wineusb_sys=${enable_wineusb_sys:-no}
16341 if test "x$with_v4l2" != "xno"
16342 then
16343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16344 printf %s "checking for -lv4l2... " >&6; }
16345 if test ${ac_cv_lib_soname_v4l2+y}
16346 then :
16347 printf %s "(cached) " >&6
16348 else $as_nop
16349 ac_check_soname_save_LIBS=$LIBS
16350 LIBS="-lv4l2 $LIBS"
16351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16352 /* end confdefs.h. */
16354 /* Override any GCC internal prototype to avoid an error.
16355 Use char because int might match the return type of a GCC
16356 builtin and then its argument prototype would still apply. */
16357 char v4l2_open ();
16359 main (void)
16361 return v4l2_open ();
16363 return 0;
16365 _ACEOF
16366 if ac_fn_c_try_link "$LINENO"
16367 then :
16368 case "$LIBEXT" in
16369 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16370 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'` ;;
16371 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16372 if ${ac_cv_lib_soname_v4l2:+false} :
16373 then :
16374 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16375 fi ;;
16376 esac
16377 else $as_nop
16378 ac_cv_lib_soname_v4l2=
16380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16381 conftest$ac_exeext conftest.$ac_ext
16382 LIBS=$ac_check_soname_save_LIBS
16384 if ${ac_cv_lib_soname_v4l2:+false} :
16385 then :
16386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16387 printf "%s\n" "not found" >&6; }
16389 else $as_nop
16390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16391 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16393 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16398 if test "x$ac_cv_lib_soname_v4l2" = "x"
16399 then :
16400 case "x$with_v4l2" in
16401 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16402 xno) ;;
16403 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16404 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16405 esac
16409 if test "x$with_gphoto" != "xno"
16410 then
16411 if ${GPHOTO2_CFLAGS:+false} :
16412 then :
16413 if test ${PKG_CONFIG+y}
16414 then :
16415 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16418 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16419 if ${GPHOTO2_LIBS:+false} :
16420 then :
16421 if test ${PKG_CONFIG+y}
16422 then :
16423 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16426 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16427 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16430 ac_save_CPPFLAGS=$CPPFLAGS
16431 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16432 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16433 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16434 then :
16435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16436 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16437 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16438 then :
16439 printf %s "(cached) " >&6
16440 else $as_nop
16441 ac_check_lib_save_LIBS=$LIBS
16442 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16444 /* end confdefs.h. */
16446 /* Override any GCC internal prototype to avoid an error.
16447 Use char because int might match the return type of a GCC
16448 builtin and then its argument prototype would still apply. */
16449 char gp_camera_new ();
16451 main (void)
16453 return gp_camera_new ();
16455 return 0;
16457 _ACEOF
16458 if ac_fn_c_try_link "$LINENO"
16459 then :
16460 ac_cv_lib_gphoto2_gp_camera_new=yes
16461 else $as_nop
16462 ac_cv_lib_gphoto2_gp_camera_new=no
16464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16465 conftest$ac_exeext conftest.$ac_ext
16466 LIBS=$ac_check_lib_save_LIBS
16468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16469 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16470 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16471 then :
16477 CPPFLAGS=$ac_save_CPPFLAGS
16479 if ${GPHOTO2_PORT_CFLAGS:+false} :
16480 then :
16481 if test ${PKG_CONFIG+y}
16482 then :
16483 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16486 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16487 if ${GPHOTO2_PORT_LIBS:+false} :
16488 then :
16489 if test ${PKG_CONFIG+y}
16490 then :
16491 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16494 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16495 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16498 ac_save_CPPFLAGS=$CPPFLAGS
16499 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16500 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16501 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16502 then :
16503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16504 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16505 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16506 then :
16507 printf %s "(cached) " >&6
16508 else $as_nop
16509 ac_check_lib_save_LIBS=$LIBS
16510 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16514 /* Override any GCC internal prototype to avoid an error.
16515 Use char because int might match the return type of a GCC
16516 builtin and then its argument prototype would still apply. */
16517 char gp_port_info_list_new ();
16519 main (void)
16521 return gp_port_info_list_new ();
16523 return 0;
16525 _ACEOF
16526 if ac_fn_c_try_link "$LINENO"
16527 then :
16528 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16529 else $as_nop
16530 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16533 conftest$ac_exeext conftest.$ac_ext
16534 LIBS=$ac_check_lib_save_LIBS
16536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16537 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16538 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16539 then :
16541 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16543 else $as_nop
16544 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16547 else $as_nop
16548 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16551 CPPFLAGS=$ac_save_CPPFLAGS
16554 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16555 then :
16556 case "x$with_gphoto" in
16557 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16558 xno) ;;
16559 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16560 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16561 esac
16562 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16564 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16565 then :
16566 case "x$with_gphoto" in
16567 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16568 xno) ;;
16569 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16570 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16571 esac
16576 if test "$ac_cv_header_resolv_h" = "yes"
16577 then
16578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16579 printf %s "checking for resolver library... " >&6; }
16580 if test ${ac_cv_have_resolv+y}
16581 then :
16582 printf %s "(cached) " >&6
16583 else $as_nop
16584 ac_save_LIBS="$LIBS"
16585 for lib in '' -lresolv
16587 LIBS="$lib $ac_save_LIBS"
16588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16590 #ifdef HAVE_NETINET_IN_H
16591 #include <netinet/in.h>
16592 #endif
16593 #include <resolv.h>
16595 main (void)
16597 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16599 return 0;
16601 _ACEOF
16602 if ac_fn_c_try_link "$LINENO"
16603 then :
16604 ac_cv_have_resolv=${lib:-"none required"}
16605 else $as_nop
16606 ac_cv_have_resolv="not found"
16608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16609 conftest$ac_exeext conftest.$ac_ext
16610 test "x$ac_cv_have_resolv" = "xnot found" || break
16611 done
16612 LIBS="$ac_save_LIBS"
16614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16615 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16617 case "$ac_cv_have_resolv" in
16618 "not found") ;;
16619 "none required")
16621 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16624 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16626 RESOLV_LIBS=$ac_cv_have_resolv
16628 esac
16630 if test "x$ac_cv_have_resolv" != "xnot found"
16631 then
16632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16633 printf %s "checking for res_getservers... " >&6; }
16634 if test ${ac_cv_have_res_getservers+y}
16635 then :
16636 printf %s "(cached) " >&6
16637 else $as_nop
16638 ac_save_LIBS="$LIBS"
16639 LIBS="$RESOLV_LIBS $LIBS"
16640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16641 /* end confdefs.h. */
16642 #include <resolv.h>
16644 main (void)
16646 res_getservers(NULL, NULL, 0);
16648 return 0;
16650 _ACEOF
16651 if ac_fn_c_try_link "$LINENO"
16652 then :
16653 ac_cv_have_res_getservers=yes
16654 else $as_nop
16655 ac_cv_have_res_getservers=no
16657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16658 conftest$ac_exeext conftest.$ac_ext
16659 LIBS="$ac_save_LIBS"
16661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16662 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16663 if test "$ac_cv_have_res_getservers" = "yes"
16664 then
16666 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16672 if test "x$with_freetype" != "xno"
16673 then
16674 if ${FREETYPE_CFLAGS:+false} :
16675 then :
16676 if test ${PKG_CONFIG+y}
16677 then :
16678 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16681 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16682 if ${FREETYPE_LIBS:+false} :
16683 then :
16684 if test ${PKG_CONFIG+y}
16685 then :
16686 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16689 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16690 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16693 ac_save_CPPFLAGS=$CPPFLAGS
16694 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16695 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16696 if test "x$ac_cv_header_ft2build_h" = xyes
16697 then :
16698 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16702 if test "$ac_cv_header_ft2build_h" = "yes"
16703 then
16704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16705 printf %s "checking for -lfreetype... " >&6; }
16706 if test ${ac_cv_lib_soname_freetype+y}
16707 then :
16708 printf %s "(cached) " >&6
16709 else $as_nop
16710 ac_check_soname_save_LIBS=$LIBS
16711 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16713 /* end confdefs.h. */
16715 /* Override any GCC internal prototype to avoid an error.
16716 Use char because int might match the return type of a GCC
16717 builtin and then its argument prototype would still apply. */
16718 char FT_Init_FreeType ();
16720 main (void)
16722 return FT_Init_FreeType ();
16724 return 0;
16726 _ACEOF
16727 if ac_fn_c_try_link "$LINENO"
16728 then :
16729 case "$LIBEXT" in
16730 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16731 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'` ;;
16732 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16733 if ${ac_cv_lib_soname_freetype:+false} :
16734 then :
16735 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16736 fi ;;
16737 esac
16738 else $as_nop
16739 ac_cv_lib_soname_freetype=
16741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16742 conftest$ac_exeext conftest.$ac_ext
16743 LIBS=$ac_check_soname_save_LIBS
16745 if ${ac_cv_lib_soname_freetype:+false} :
16746 then :
16747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16748 printf "%s\n" "not found" >&6; }
16749 FREETYPE_LIBS=""
16750 else $as_nop
16751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16752 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16754 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16757 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16759 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16760 #include FT_MODULE_H
16762 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16763 then :
16765 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16771 else
16772 FREETYPE_CFLAGS=""
16773 FREETYPE_LIBS=""
16775 CPPFLAGS=$ac_save_CPPFLAGS
16778 if test "x$ac_cv_lib_soname_freetype" = x
16779 then :
16780 case "x$with_freetype" in
16781 xno) ;;
16782 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16783 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16784 esac
16785 enable_fonts=${enable_fonts:-no}
16788 ac_wine_check_funcs_save_LIBS="$LIBS"
16789 LIBS="$LIBS $PTHREAD_LIBS"
16790 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16791 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16792 then :
16793 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16797 LIBS="$ac_wine_check_funcs_save_LIBS"
16799 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16800 then
16801 if test "$ac_cv_header_gettext_po_h" = "yes"
16802 then
16803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16804 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16805 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16806 then :
16807 printf %s "(cached) " >&6
16808 else $as_nop
16809 ac_check_lib_save_LIBS=$LIBS
16810 LIBS="-lgettextpo $LIBS"
16811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16812 /* end confdefs.h. */
16814 /* Override any GCC internal prototype to avoid an error.
16815 Use char because int might match the return type of a GCC
16816 builtin and then its argument prototype would still apply. */
16817 char po_message_msgctxt ();
16819 main (void)
16821 return po_message_msgctxt ();
16823 return 0;
16825 _ACEOF
16826 if ac_fn_c_try_link "$LINENO"
16827 then :
16828 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16829 else $as_nop
16830 ac_cv_lib_gettextpo_po_message_msgctxt=no
16832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16833 conftest$ac_exeext conftest.$ac_ext
16834 LIBS=$ac_check_lib_save_LIBS
16836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16837 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16838 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16839 then :
16841 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16843 GETTEXTPO_LIBS="-lgettextpo"
16848 if test "x$GETTEXTPO_LIBS" = "x"
16849 then :
16850 case "x$with_gettextpo" in
16851 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16852 xno) ;;
16853 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16854 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16855 esac
16858 if test "$srcdir" != .
16859 then :
16860 case "x$with_gettextpo" in
16861 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16862 xno) ;;
16863 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16864 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16865 esac
16870 if test "x$with_pulse" != "xno";
16871 then
16872 if ${PULSE_CFLAGS:+false} :
16873 then :
16874 if test ${PKG_CONFIG+y}
16875 then :
16876 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16880 if ${PULSE_LIBS:+false} :
16881 then :
16882 if test ${PKG_CONFIG+y}
16883 then :
16884 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16891 ac_save_CPPFLAGS=$CPPFLAGS
16892 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16893 for ac_header in pulse/pulseaudio.h
16894 do :
16895 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16896 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16897 then :
16898 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16900 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16901 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16902 then :
16903 printf %s "(cached) " >&6
16904 else $as_nop
16905 ac_check_lib_save_LIBS=$LIBS
16906 LIBS="-lpulse $PULSE_LIBS $LIBS"
16907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16908 /* end confdefs.h. */
16910 /* Override any GCC internal prototype to avoid an error.
16911 Use char because int might match the return type of a GCC
16912 builtin and then its argument prototype would still apply. */
16913 char pa_stream_is_corked ();
16915 main (void)
16917 return pa_stream_is_corked ();
16919 return 0;
16921 _ACEOF
16922 if ac_fn_c_try_link "$LINENO"
16923 then :
16924 ac_cv_lib_pulse_pa_stream_is_corked=yes
16925 else $as_nop
16926 ac_cv_lib_pulse_pa_stream_is_corked=no
16928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16929 conftest$ac_exeext conftest.$ac_ext
16930 LIBS=$ac_check_lib_save_LIBS
16932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16933 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16934 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16935 then :
16937 else $as_nop
16938 PULSE_LIBS=""
16941 else $as_nop
16942 PULSE_LIBS=""
16945 done
16946 CPPFLAGS=$ac_save_CPPFLAGS
16949 if test -z "$PULSE_LIBS"
16950 then :
16951 case "x$with_pulse" in
16952 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16953 xno) ;;
16954 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16955 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16956 esac
16957 enable_winepulse_drv=${enable_winepulse_drv:-no}
16960 if test "x$with_gstreamer" != "xno"
16961 then
16962 if ${GSTREAMER_CFLAGS:+false} :
16963 then :
16964 if test ${PKG_CONFIG+y}
16965 then :
16966 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16970 if ${GSTREAMER_LIBS:+false} :
16971 then :
16972 if test ${PKG_CONFIG+y}
16973 then :
16974 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16981 ac_save_CPPFLAGS=$CPPFLAGS
16982 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16983 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16984 if test "x$ac_cv_header_gst_gst_h" = xyes
16985 then :
16986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16987 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16990 #include <gst/gst.h>
16992 main (void)
16994 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16996 return 0;
16998 _ACEOF
16999 if ac_fn_c_try_compile "$LINENO"
17000 then :
17001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17002 printf "%s\n" "yes" >&6; }
17003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17004 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17005 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17006 then :
17007 printf %s "(cached) " >&6
17008 else $as_nop
17009 ac_check_lib_save_LIBS=$LIBS
17010 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17012 /* end confdefs.h. */
17014 /* Override any GCC internal prototype to avoid an error.
17015 Use char because int might match the return type of a GCC
17016 builtin and then its argument prototype would still apply. */
17017 char gst_pad_new ();
17019 main (void)
17021 return gst_pad_new ();
17023 return 0;
17025 _ACEOF
17026 if ac_fn_c_try_link "$LINENO"
17027 then :
17028 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17029 else $as_nop
17030 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17033 conftest$ac_exeext conftest.$ac_ext
17034 LIBS=$ac_check_lib_save_LIBS
17036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17037 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17038 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17039 then :
17043 else $as_nop
17044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17045 printf "%s\n" "no" >&6; }
17046 ac_glib2_broken=yes
17047 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17052 CPPFLAGS=$ac_save_CPPFLAGS
17055 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17056 then :
17057 case "x$with_gstreamer" in
17058 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17059 xno) ;;
17060 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17061 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17062 esac
17063 enable_winegstreamer=${enable_winegstreamer:-no}
17066 ALSA_LIBS=""
17068 if test "x$with_alsa" != "xno"
17069 then
17070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17071 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17072 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17073 then :
17074 printf %s "(cached) " >&6
17075 else $as_nop
17076 ac_check_lib_save_LIBS=$LIBS
17077 LIBS="-lasound $LIBS"
17078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17081 /* Override any GCC internal prototype to avoid an error.
17082 Use char because int might match the return type of a GCC
17083 builtin and then its argument prototype would still apply. */
17084 char snd_pcm_hw_params_get_access_mask ();
17086 main (void)
17088 return snd_pcm_hw_params_get_access_mask ();
17090 return 0;
17092 _ACEOF
17093 if ac_fn_c_try_link "$LINENO"
17094 then :
17095 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17096 else $as_nop
17097 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17100 conftest$ac_exeext conftest.$ac_ext
17101 LIBS=$ac_check_lib_save_LIBS
17103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17104 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17105 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17106 then :
17107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17109 #include <alsa/asoundlib.h>
17111 main (void)
17113 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17115 return 0;
17117 _ACEOF
17118 if ac_fn_c_try_compile "$LINENO"
17119 then :
17120 ALSA_LIBS="-lasound"
17122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17126 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17128 if test "x$with_oss" != xno
17129 then
17130 ac_save_CPPFLAGS="$CPPFLAGS"
17131 if test -f /etc/oss.conf
17132 then
17133 . /etc/oss.conf
17135 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17136 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17137 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17138 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17139 then :
17140 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17142 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17143 then :
17145 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17147 OSS4_CFLAGS="$ac_oss_incl"
17149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17150 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17151 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17152 then :
17153 printf %s "(cached) " >&6
17154 else $as_nop
17155 ac_check_lib_save_LIBS=$LIBS
17156 LIBS="-lossaudio $LIBS"
17157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17158 /* end confdefs.h. */
17160 /* Override any GCC internal prototype to avoid an error.
17161 Use char because int might match the return type of a GCC
17162 builtin and then its argument prototype would still apply. */
17163 char _oss_ioctl ();
17165 main (void)
17167 return _oss_ioctl ();
17169 return 0;
17171 _ACEOF
17172 if ac_fn_c_try_link "$LINENO"
17173 then :
17174 ac_cv_lib_ossaudio__oss_ioctl=yes
17175 else $as_nop
17176 ac_cv_lib_ossaudio__oss_ioctl=no
17178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17179 conftest$ac_exeext conftest.$ac_ext
17180 LIBS=$ac_check_lib_save_LIBS
17182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17183 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17184 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17185 then :
17186 OSS4_LIBS="-lossaudio"
17194 CPPFLAGS="$ac_save_CPPFLAGS"
17196 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17197 then :
17198 case "x$with_oss" in
17199 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17200 xno) ;;
17201 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17202 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17203 esac
17204 enable_wineoss_drv=${enable_wineoss_drv:-no}
17207 if test "x$with_udev" != "xno"
17208 then
17209 if ${UDEV_CFLAGS:+false} :
17210 then :
17211 if test ${PKG_CONFIG+y}
17212 then :
17213 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17217 if ${UDEV_LIBS:+false} :
17218 then :
17219 if test ${PKG_CONFIG+y}
17220 then :
17221 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17225 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17228 ac_save_CPPFLAGS=$CPPFLAGS
17229 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17230 for ac_header in libudev.h
17231 do :
17232 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17233 if test "x$ac_cv_header_libudev_h" = xyes
17234 then :
17235 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17237 printf %s "checking for udev_new in -ludev... " >&6; }
17238 if test ${ac_cv_lib_udev_udev_new+y}
17239 then :
17240 printf %s "(cached) " >&6
17241 else $as_nop
17242 ac_check_lib_save_LIBS=$LIBS
17243 LIBS="-ludev $UDEV_LIBS $LIBS"
17244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h. */
17247 /* Override any GCC internal prototype to avoid an error.
17248 Use char because int might match the return type of a GCC
17249 builtin and then its argument prototype would still apply. */
17250 char udev_new ();
17252 main (void)
17254 return udev_new ();
17256 return 0;
17258 _ACEOF
17259 if ac_fn_c_try_link "$LINENO"
17260 then :
17261 ac_cv_lib_udev_udev_new=yes
17262 else $as_nop
17263 ac_cv_lib_udev_udev_new=no
17265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17266 conftest$ac_exeext conftest.$ac_ext
17267 LIBS=$ac_check_lib_save_LIBS
17269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17270 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17271 if test "x$ac_cv_lib_udev_udev_new" = xyes
17272 then :
17274 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17276 else $as_nop
17277 UDEV_LIBS=""
17280 else $as_nop
17281 UDEV_LIBS=""
17284 done
17285 CPPFLAGS=$ac_save_CPPFLAGS
17288 if test "x$UDEV_LIBS" = "x"
17289 then :
17290 case "x$with_udev" in
17291 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17292 xno) ;;
17293 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17294 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17295 esac
17299 if test "x$with_unwind" != xno
17300 then
17301 if ${UNWIND_CFLAGS:+false} :
17302 then :
17303 if test ${PKG_CONFIG+y}
17304 then :
17305 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17309 if ${UNWIND_LIBS:+false} :
17310 then :
17311 if test ${PKG_CONFIG+y}
17312 then :
17313 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17317 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17320 ac_save_CPPFLAGS=$CPPFLAGS
17321 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17323 printf %s "checking for unw_step... " >&6; }
17324 if test ${wine_cv_have_unw_step+y}
17325 then :
17326 printf %s "(cached) " >&6
17327 else $as_nop
17328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17329 /* end confdefs.h. */
17330 #define UNW_LOCAL_ONLY
17331 #include <libunwind.h>
17333 main (void)
17335 unw_cursor_t cursor; unw_step( &cursor );
17337 return 0;
17339 _ACEOF
17340 if ac_fn_c_try_link "$LINENO"
17341 then :
17342 wine_cv_have_unw_step="yes"
17343 else $as_nop
17344 wine_cv_have_unw_step="no"
17346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17347 conftest$ac_exeext conftest.$ac_ext
17349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17350 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17351 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17352 then
17353 save_libs=$LIBS
17354 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17355 LIBS="$UNWIND_LIBS $LIBS"
17356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17357 printf %s "checking for unw_step in libunwind... " >&6; }
17358 if test ${wine_cv_have_libunwind_unw_step+y}
17359 then :
17360 printf %s "(cached) " >&6
17361 else $as_nop
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #define UNW_LOCAL_ONLY
17365 #include <libunwind.h>
17367 main (void)
17369 unw_cursor_t cursor; unw_step( &cursor );
17371 return 0;
17373 _ACEOF
17374 if ac_fn_c_try_link "$LINENO"
17375 then :
17376 wine_cv_have_libunwind_unw_step="yes"
17377 else $as_nop
17378 wine_cv_have_libunwind_unw_step="no"
17380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17381 conftest$ac_exeext conftest.$ac_ext
17383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17384 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17385 LIBS=$save_libs
17387 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17388 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17389 then
17391 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17394 CPPFLAGS=$ac_save_CPPFLAGS
17397 case $host in
17398 aarch64*|*-darwin*)
17399 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17400 then :
17401 case "x$with_unwind" in
17402 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17403 xno) ;;
17404 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17405 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17406 esac
17408 fi ;;
17409 esac
17411 if test "x$with_sdl" != "xno"
17412 then
17413 if ${SDL2_CFLAGS:+false} :
17414 then :
17415 if test ${PKG_CONFIG+y}
17416 then :
17417 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17421 if ${SDL2_LIBS:+false} :
17422 then :
17423 if test ${PKG_CONFIG+y}
17424 then :
17425 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17429 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17432 ac_save_CPPFLAGS=$CPPFLAGS
17433 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17434 for ac_header in SDL.h
17435 do :
17436 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17437 if test "x$ac_cv_header_SDL_h" = xyes
17438 then :
17439 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17441 printf %s "checking for -lSDL2... " >&6; }
17442 if test ${ac_cv_lib_soname_SDL2+y}
17443 then :
17444 printf %s "(cached) " >&6
17445 else $as_nop
17446 ac_check_soname_save_LIBS=$LIBS
17447 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17451 /* Override any GCC internal prototype to avoid an error.
17452 Use char because int might match the return type of a GCC
17453 builtin and then its argument prototype would still apply. */
17454 char SDL_Init ();
17456 main (void)
17458 return SDL_Init ();
17460 return 0;
17462 _ACEOF
17463 if ac_fn_c_try_link "$LINENO"
17464 then :
17465 case "$LIBEXT" in
17466 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17467 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'` ;;
17468 *) 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'`
17469 if ${ac_cv_lib_soname_SDL2:+false} :
17470 then :
17471 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17472 fi ;;
17473 esac
17474 else $as_nop
17475 ac_cv_lib_soname_SDL2=
17477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17478 conftest$ac_exeext conftest.$ac_ext
17479 LIBS=$ac_check_soname_save_LIBS
17481 if ${ac_cv_lib_soname_SDL2:+false} :
17482 then :
17483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17484 printf "%s\n" "not found" >&6; }
17486 else $as_nop
17487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17488 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17490 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17496 done
17497 CPPFLAGS=$ac_save_CPPFLAGS
17500 if test "x$ac_cv_lib_soname_SDL2" = "x"
17501 then :
17502 case "x$with_sdl" in
17503 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17504 xno) ;;
17505 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17506 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17507 esac
17511 if test "x$with_capi" != "xno"
17512 then
17513 if ${CAPI20_CFLAGS:+false} :
17514 then :
17515 if test ${PKG_CONFIG+y}
17516 then :
17517 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17521 if ${CAPI20_LIBS:+false} :
17522 then :
17523 if test ${PKG_CONFIG+y}
17524 then :
17525 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17532 ac_save_CPPFLAGS=$CPPFLAGS
17533 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17534 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17536 if test "x$ac_cv_header_capi20_h" = xyes
17537 then :
17538 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17541 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17543 if test "x$ac_cv_header_linux_capi_h" = xyes
17544 then :
17545 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17549 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17550 then
17551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17552 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17553 if test ${ac_cv_lib_capi20_capi20_register+y}
17554 then :
17555 printf %s "(cached) " >&6
17556 else $as_nop
17557 ac_check_lib_save_LIBS=$LIBS
17558 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h. */
17562 /* Override any GCC internal prototype to avoid an error.
17563 Use char because int might match the return type of a GCC
17564 builtin and then its argument prototype would still apply. */
17565 char capi20_register ();
17567 main (void)
17569 return capi20_register ();
17571 return 0;
17573 _ACEOF
17574 if ac_fn_c_try_link "$LINENO"
17575 then :
17576 ac_cv_lib_capi20_capi20_register=yes
17577 else $as_nop
17578 ac_cv_lib_capi20_capi20_register=no
17580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17581 conftest$ac_exeext conftest.$ac_ext
17582 LIBS=$ac_check_lib_save_LIBS
17584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17585 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17586 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17587 then :
17589 else $as_nop
17590 CAPI20_LIBS=""
17594 CPPFLAGS=$ac_save_CPPFLAGS
17597 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17598 then :
17599 case "x$with_capi" in
17600 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17601 xno) ;;
17602 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17603 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17604 esac
17605 enable_capi2032=${enable_capi2032:-no}
17608 if test "x$with_cups" != "xno"
17609 then
17610 if ${CUPS_CFLAGS:+false} :
17611 then :
17612 if test ${PKG_CONFIG+y}
17613 then :
17614 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17617 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17618 if ${CUPS_LIBS:+false} :
17619 then :
17620 if test ${PKG_CONFIG+y}
17621 then :
17622 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17625 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17626 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17629 ac_save_CPPFLAGS=$CPPFLAGS
17630 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17631 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17632 if test "x$ac_cv_header_cups_cups_h" = xyes
17633 then :
17634 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17637 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17638 if test "x$ac_cv_header_cups_ppd_h" = xyes
17639 then :
17640 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17644 if test "$ac_cv_header_cups_cups_h" = "yes"
17645 then
17646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17647 printf %s "checking for -lcups... " >&6; }
17648 if test ${ac_cv_lib_soname_cups+y}
17649 then :
17650 printf %s "(cached) " >&6
17651 else $as_nop
17652 ac_check_soname_save_LIBS=$LIBS
17653 LIBS="-lcups $CUPS_LIBS $LIBS"
17654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17655 /* end confdefs.h. */
17657 /* Override any GCC internal prototype to avoid an error.
17658 Use char because int might match the return type of a GCC
17659 builtin and then its argument prototype would still apply. */
17660 char cupsGetDefault ();
17662 main (void)
17664 return cupsGetDefault ();
17666 return 0;
17668 _ACEOF
17669 if ac_fn_c_try_link "$LINENO"
17670 then :
17671 case "$LIBEXT" in
17672 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17673 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'` ;;
17674 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17675 if ${ac_cv_lib_soname_cups:+false} :
17676 then :
17677 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17678 fi ;;
17679 esac
17680 else $as_nop
17681 ac_cv_lib_soname_cups=
17683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17684 conftest$ac_exeext conftest.$ac_ext
17685 LIBS=$ac_check_soname_save_LIBS
17687 if ${ac_cv_lib_soname_cups:+false} :
17688 then :
17689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17690 printf "%s\n" "not found" >&6; }
17691 CUPS_LIBS=""
17692 else $as_nop
17693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17694 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17696 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17700 else
17701 CUPS_CFLAGS=""
17702 CUPS_LIBS=""
17704 CPPFLAGS=$ac_save_CPPFLAGS
17707 if test "x$ac_cv_lib_soname_cups" = "x"
17708 then :
17709 case "x$with_cups" in
17710 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17711 xno) ;;
17712 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17713 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17714 esac
17718 if test "x$with_fontconfig" != "xno"
17719 then
17720 if ${FONTCONFIG_CFLAGS:+false} :
17721 then :
17722 if test ${PKG_CONFIG+y}
17723 then :
17724 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17727 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17728 if ${FONTCONFIG_LIBS:+false} :
17729 then :
17730 if test ${PKG_CONFIG+y}
17731 then :
17732 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17735 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17739 ac_save_CPPFLAGS=$CPPFLAGS
17740 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17741 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17742 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17743 then :
17744 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17748 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17749 then
17750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17751 printf %s "checking for -lfontconfig... " >&6; }
17752 if test ${ac_cv_lib_soname_fontconfig+y}
17753 then :
17754 printf %s "(cached) " >&6
17755 else $as_nop
17756 ac_check_soname_save_LIBS=$LIBS
17757 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17759 /* end confdefs.h. */
17761 /* Override any GCC internal prototype to avoid an error.
17762 Use char because int might match the return type of a GCC
17763 builtin and then its argument prototype would still apply. */
17764 char FcInit ();
17766 main (void)
17768 return FcInit ();
17770 return 0;
17772 _ACEOF
17773 if ac_fn_c_try_link "$LINENO"
17774 then :
17775 case "$LIBEXT" in
17776 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17777 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'` ;;
17778 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17779 if ${ac_cv_lib_soname_fontconfig:+false} :
17780 then :
17781 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17782 fi ;;
17783 esac
17784 else $as_nop
17785 ac_cv_lib_soname_fontconfig=
17787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17788 conftest$ac_exeext conftest.$ac_ext
17789 LIBS=$ac_check_soname_save_LIBS
17791 if ${ac_cv_lib_soname_fontconfig:+false} :
17792 then :
17793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17794 printf "%s\n" "not found" >&6; }
17795 FONTCONFIG_CFLAGS=""
17796 else $as_nop
17797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17798 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17800 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17804 else
17805 FONTCONFIG_CFLAGS=""
17807 CPPFLAGS=$ac_save_CPPFLAGS
17810 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17811 then :
17812 case "x$with_fontconfig" in
17813 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17814 xno) ;;
17815 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17816 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17817 esac
17821 if test "x$with_krb5" != "xno"
17822 then
17823 if ${KRB5_CFLAGS:+false} :
17824 then :
17825 if test ${PKG_CONFIG+y}
17826 then :
17827 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17830 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17831 if ${KRB5_LIBS:+false} :
17832 then :
17833 if test ${PKG_CONFIG+y}
17834 then :
17835 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17838 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17842 ac_save_CPPFLAGS=$CPPFLAGS
17843 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17844 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17845 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17846 then :
17847 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17851 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17852 then
17853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17854 printf %s "checking for -lkrb5... " >&6; }
17855 if test ${ac_cv_lib_soname_krb5+y}
17856 then :
17857 printf %s "(cached) " >&6
17858 else $as_nop
17859 ac_check_soname_save_LIBS=$LIBS
17860 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17864 /* Override any GCC internal prototype to avoid an error.
17865 Use char because int might match the return type of a GCC
17866 builtin and then its argument prototype would still apply. */
17867 char krb5_is_config_principal ();
17869 main (void)
17871 return krb5_is_config_principal ();
17873 return 0;
17875 _ACEOF
17876 if ac_fn_c_try_link "$LINENO"
17877 then :
17878 case "$LIBEXT" in
17879 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17880 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'` ;;
17881 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17882 if ${ac_cv_lib_soname_krb5:+false} :
17883 then :
17884 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17885 fi ;;
17886 esac
17887 else $as_nop
17888 ac_cv_lib_soname_krb5=
17890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17891 conftest$ac_exeext conftest.$ac_ext
17892 LIBS=$ac_check_soname_save_LIBS
17894 if ${ac_cv_lib_soname_krb5:+false} :
17895 then :
17896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17897 printf "%s\n" "not found" >&6; }
17898 KRB5_CFLAGS=""
17899 else $as_nop
17900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17901 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17903 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17907 else
17908 KRB5_CFLAGS=""
17910 CPPFLAGS=$ac_save_CPPFLAGS
17913 if test "x$ac_cv_lib_soname_krb5" = "x"
17914 then :
17915 case "x$with_krb5" in
17916 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17917 xno) ;;
17918 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17919 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17920 esac
17923 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17925 if test "x$with_gssapi" != "xno"
17926 then
17927 if ${GSSAPI_CFLAGS:+false} :
17928 then :
17929 if test ${PKG_CONFIG+y}
17930 then :
17931 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17934 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17935 if ${GSSAPI_LIBS:+false} :
17936 then :
17937 if test ${PKG_CONFIG+y}
17938 then :
17939 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17942 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17945 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17946 ac_save_CPPFLAGS=$CPPFLAGS
17947 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17948 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17949 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17950 then :
17951 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17954 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17955 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17956 then :
17957 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17961 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17962 then
17963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17964 printf %s "checking for -lgssapi_krb5... " >&6; }
17965 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17966 then :
17967 printf %s "(cached) " >&6
17968 else $as_nop
17969 ac_check_soname_save_LIBS=$LIBS
17970 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17972 /* end confdefs.h. */
17974 /* Override any GCC internal prototype to avoid an error.
17975 Use char because int might match the return type of a GCC
17976 builtin and then its argument prototype would still apply. */
17977 char gss_init_sec_context ();
17979 main (void)
17981 return gss_init_sec_context ();
17983 return 0;
17985 _ACEOF
17986 if ac_fn_c_try_link "$LINENO"
17987 then :
17988 case "$LIBEXT" in
17989 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17990 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'` ;;
17991 *) 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'`
17992 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17993 then :
17994 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17995 fi ;;
17996 esac
17997 else $as_nop
17998 ac_cv_lib_soname_gssapi_krb5=
18000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18001 conftest$ac_exeext conftest.$ac_ext
18002 LIBS=$ac_check_soname_save_LIBS
18004 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18005 then :
18006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18007 printf "%s\n" "not found" >&6; }
18008 GSSAPI_CFLAGS=""
18009 else $as_nop
18010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18011 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18013 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18017 else
18018 GSSAPI_CFLAGS=""
18020 CPPFLAGS=$ac_save_CPPFLAGS
18023 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18024 then :
18025 case "x$with_gssapi" in
18026 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18027 xno) ;;
18028 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18029 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18030 esac
18034 if test "$ac_cv_header_AL_al_h" = "yes"
18035 then
18036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18037 printf %s "checking for -lopenal... " >&6; }
18038 if test ${ac_cv_lib_soname_openal+y}
18039 then :
18040 printf %s "(cached) " >&6
18041 else $as_nop
18042 ac_check_soname_save_LIBS=$LIBS
18043 LIBS="-lopenal $LIBS"
18044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18045 /* end confdefs.h. */
18047 /* Override any GCC internal prototype to avoid an error.
18048 Use char because int might match the return type of a GCC
18049 builtin and then its argument prototype would still apply. */
18050 char alGetSource3i ();
18052 main (void)
18054 return alGetSource3i ();
18056 return 0;
18058 _ACEOF
18059 if ac_fn_c_try_link "$LINENO"
18060 then :
18061 case "$LIBEXT" in
18062 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18063 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'` ;;
18064 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18065 if ${ac_cv_lib_soname_openal:+false} :
18066 then :
18067 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18068 fi ;;
18069 esac
18070 else $as_nop
18071 ac_cv_lib_soname_openal=
18073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18074 conftest$ac_exeext conftest.$ac_ext
18075 LIBS=$ac_check_soname_save_LIBS
18077 if ${ac_cv_lib_soname_openal:+false} :
18078 then :
18079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18080 printf "%s\n" "not found" >&6; }
18082 else $as_nop
18083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18084 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18086 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18088 OPENAL_LIBS="-lopenal"
18090 ac_cv_lib_openal=yes
18092 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18096 if test "x$ac_cv_lib_openal" != xyes
18097 then :
18098 case "x$with_openal" in
18099 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18100 xno) ;;
18101 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18102 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18103 esac
18104 enable_openal32=${enable_openal32:-no}
18107 if test "$ac_cv_header_libprocstat_h" = "yes"
18108 then
18109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18110 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18111 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18112 then :
18113 printf %s "(cached) " >&6
18114 else $as_nop
18115 ac_check_lib_save_LIBS=$LIBS
18116 LIBS="-lprocstat $LIBS"
18117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h. */
18120 /* Override any GCC internal prototype to avoid an error.
18121 Use char because int might match the return type of a GCC
18122 builtin and then its argument prototype would still apply. */
18123 char procstat_open_sysctl ();
18125 main (void)
18127 return procstat_open_sysctl ();
18129 return 0;
18131 _ACEOF
18132 if ac_fn_c_try_link "$LINENO"
18133 then :
18134 ac_cv_lib_procstat_procstat_open_sysctl=yes
18135 else $as_nop
18136 ac_cv_lib_procstat_procstat_open_sysctl=no
18138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18139 conftest$ac_exeext conftest.$ac_ext
18140 LIBS=$ac_check_lib_save_LIBS
18142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18143 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18144 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18145 then :
18147 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18149 PROCSTAT_LIBS="-lprocstat"
18155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18156 printf %s "checking for -lodbc... " >&6; }
18157 if test ${ac_cv_lib_soname_odbc+y}
18158 then :
18159 printf %s "(cached) " >&6
18160 else $as_nop
18161 ac_check_soname_save_LIBS=$LIBS
18162 LIBS="-lodbc $LIBS"
18163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18164 /* end confdefs.h. */
18166 /* Override any GCC internal prototype to avoid an error.
18167 Use char because int might match the return type of a GCC
18168 builtin and then its argument prototype would still apply. */
18169 char SQLConnect ();
18171 main (void)
18173 return SQLConnect ();
18175 return 0;
18177 _ACEOF
18178 if ac_fn_c_try_link "$LINENO"
18179 then :
18180 case "$LIBEXT" in
18181 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18182 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'` ;;
18183 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18184 if ${ac_cv_lib_soname_odbc:+false} :
18185 then :
18186 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18187 fi ;;
18188 esac
18189 else $as_nop
18190 ac_cv_lib_soname_odbc=
18192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18193 conftest$ac_exeext conftest.$ac_ext
18194 LIBS=$ac_check_soname_save_LIBS
18196 if ${ac_cv_lib_soname_odbc:+false} :
18197 then :
18198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18199 printf "%s\n" "not found" >&6; }
18200 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18202 else $as_nop
18203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18204 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18206 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18211 if test "x$with_netapi" != "xno"
18212 then
18213 if ${NETAPI_CFLAGS:+false} :
18214 then :
18215 if test ${PKG_CONFIG+y}
18216 then :
18217 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18221 if ${NETAPI_LIBS:+false} :
18222 then :
18223 if test ${PKG_CONFIG+y}
18224 then :
18225 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18232 ac_save_CPPFLAGS=$CPPFLAGS
18233 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18235 printf %s "checking for -lnetapi... " >&6; }
18236 if test ${ac_cv_lib_soname_netapi+y}
18237 then :
18238 printf %s "(cached) " >&6
18239 else $as_nop
18240 ac_check_soname_save_LIBS=$LIBS
18241 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18245 /* Override any GCC internal prototype to avoid an error.
18246 Use char because int might match the return type of a GCC
18247 builtin and then its argument prototype would still apply. */
18248 char libnetapi_init ();
18250 main (void)
18252 return libnetapi_init ();
18254 return 0;
18256 _ACEOF
18257 if ac_fn_c_try_link "$LINENO"
18258 then :
18259 case "$LIBEXT" in
18260 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18261 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'` ;;
18262 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18263 if ${ac_cv_lib_soname_netapi:+false} :
18264 then :
18265 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18266 fi ;;
18267 esac
18268 else $as_nop
18269 ac_cv_lib_soname_netapi=
18271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18272 conftest$ac_exeext conftest.$ac_ext
18273 LIBS=$ac_check_soname_save_LIBS
18275 if ${ac_cv_lib_soname_netapi:+false} :
18276 then :
18277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18278 printf "%s\n" "not found" >&6; }
18279 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18281 else $as_nop
18282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18283 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18285 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18289 CPPFLAGS=$ac_save_CPPFLAGS
18292 if test "x$ac_cv_lib_soname_netapi" = "x"
18293 then :
18294 case "x$with_netapi" in
18295 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18296 xno) ;;
18297 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18298 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18299 esac
18300 enable_netapi=${enable_netapi:-no}
18304 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18305 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18306 then
18307 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18310 if test "x$with_vulkan" != "xno"
18311 then
18312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18313 printf %s "checking for -lvulkan... " >&6; }
18314 if test ${ac_cv_lib_soname_vulkan+y}
18315 then :
18316 printf %s "(cached) " >&6
18317 else $as_nop
18318 ac_check_soname_save_LIBS=$LIBS
18319 LIBS="-lvulkan $LIBS"
18320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18321 /* end confdefs.h. */
18323 /* Override any GCC internal prototype to avoid an error.
18324 Use char because int might match the return type of a GCC
18325 builtin and then its argument prototype would still apply. */
18326 char vkGetInstanceProcAddr ();
18328 main (void)
18330 return vkGetInstanceProcAddr ();
18332 return 0;
18334 _ACEOF
18335 if ac_fn_c_try_link "$LINENO"
18336 then :
18337 case "$LIBEXT" in
18338 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18339 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'` ;;
18340 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18341 if ${ac_cv_lib_soname_vulkan:+false} :
18342 then :
18343 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18344 fi ;;
18345 esac
18346 else $as_nop
18347 ac_cv_lib_soname_vulkan=
18349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18350 conftest$ac_exeext conftest.$ac_ext
18351 LIBS=$ac_check_soname_save_LIBS
18353 if ${ac_cv_lib_soname_vulkan:+false} :
18354 then :
18355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18356 printf "%s\n" "not found" >&6; }
18358 else $as_nop
18359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18360 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18362 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18366 if test "x$ac_cv_lib_soname_vulkan" = "x"
18367 then
18368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18369 printf %s "checking for -lMoltenVK... " >&6; }
18370 if test ${ac_cv_lib_soname_MoltenVK+y}
18371 then :
18372 printf %s "(cached) " >&6
18373 else $as_nop
18374 ac_check_soname_save_LIBS=$LIBS
18375 LIBS="-lMoltenVK $LIBS"
18376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18377 /* end confdefs.h. */
18379 /* Override any GCC internal prototype to avoid an error.
18380 Use char because int might match the return type of a GCC
18381 builtin and then its argument prototype would still apply. */
18382 char vkGetInstanceProcAddr ();
18384 main (void)
18386 return vkGetInstanceProcAddr ();
18388 return 0;
18390 _ACEOF
18391 if ac_fn_c_try_link "$LINENO"
18392 then :
18393 case "$LIBEXT" in
18394 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18395 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'` ;;
18396 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18397 if ${ac_cv_lib_soname_MoltenVK:+false} :
18398 then :
18399 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18400 fi ;;
18401 esac
18402 else $as_nop
18403 ac_cv_lib_soname_MoltenVK=
18405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18406 conftest$ac_exeext conftest.$ac_ext
18407 LIBS=$ac_check_soname_save_LIBS
18409 if ${ac_cv_lib_soname_MoltenVK:+false} :
18410 then :
18411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18412 printf "%s\n" "not found" >&6; }
18414 else $as_nop
18415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18416 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18418 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18424 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18425 then :
18426 case "x$with_vulkan" in
18427 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18428 xno) ;;
18429 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18430 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18431 esac
18436 if test "x${GCC}" = "xyes"
18437 then
18438 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18440 saved_CFLAGS=$CFLAGS
18441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18442 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18443 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18444 then :
18445 printf %s "(cached) " >&6
18446 else $as_nop
18447 ac_wine_try_cflags_saved=$CFLAGS
18448 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18450 /* end confdefs.h. */
18451 int main(int argc, char **argv) { return 0; }
18452 _ACEOF
18453 if ac_fn_c_try_link "$LINENO"
18454 then :
18455 ac_cv_cflags__Werror_unknown_warning_option=yes
18456 else $as_nop
18457 ac_cv_cflags__Werror_unknown_warning_option=no
18459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18460 conftest$ac_exeext conftest.$ac_ext
18461 CFLAGS=$ac_wine_try_cflags_saved
18463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18464 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18465 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18466 then :
18467 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18470 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18471 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18472 then :
18473 printf %s "(cached) " >&6
18474 else $as_nop
18475 ac_wine_try_cflags_saved=$CFLAGS
18476 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18478 /* end confdefs.h. */
18479 int main(int argc, char **argv) { return 0; }
18480 _ACEOF
18481 if ac_fn_c_try_link "$LINENO"
18482 then :
18483 ac_cv_cflags__Werror_unused_command_line_argument=yes
18484 else $as_nop
18485 ac_cv_cflags__Werror_unused_command_line_argument=no
18487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18488 conftest$ac_exeext conftest.$ac_ext
18489 CFLAGS=$ac_wine_try_cflags_saved
18491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18492 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18493 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18494 then :
18495 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18498 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18499 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18500 then :
18501 printf %s "(cached) " >&6
18502 else $as_nop
18503 ac_wine_try_cflags_saved=$CFLAGS
18504 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18506 /* end confdefs.h. */
18507 int main(int argc, char **argv) { return 0; }
18508 _ACEOF
18509 if ac_fn_c_try_link "$LINENO"
18510 then :
18511 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18512 else $as_nop
18513 ac_cv_cflags__Werror_ignored_optimization_argument=no
18515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18516 conftest$ac_exeext conftest.$ac_ext
18517 CFLAGS=$ac_wine_try_cflags_saved
18519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18520 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18521 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18522 then :
18523 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18526 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18527 if test ${ac_cv_cflags__fcf_protection_none+y}
18528 then :
18529 printf %s "(cached) " >&6
18530 else $as_nop
18531 ac_wine_try_cflags_saved=$CFLAGS
18532 CFLAGS="$CFLAGS -fcf-protection=none"
18533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18534 /* end confdefs.h. */
18535 int main(int argc, char **argv) { return 0; }
18536 _ACEOF
18537 if ac_fn_c_try_link "$LINENO"
18538 then :
18539 ac_cv_cflags__fcf_protection_none=yes
18540 else $as_nop
18541 ac_cv_cflags__fcf_protection_none=no
18543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18544 conftest$ac_exeext conftest.$ac_ext
18545 CFLAGS=$ac_wine_try_cflags_saved
18547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18548 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18549 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18550 then :
18551 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18554 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18555 if test ${ac_cv_cflags__fno_stack_protector+y}
18556 then :
18557 printf %s "(cached) " >&6
18558 else $as_nop
18559 ac_wine_try_cflags_saved=$CFLAGS
18560 CFLAGS="$CFLAGS -fno-stack-protector"
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 int main(int argc, char **argv) { return 0; }
18564 _ACEOF
18565 if ac_fn_c_try_link "$LINENO"
18566 then :
18567 ac_cv_cflags__fno_stack_protector=yes
18568 else $as_nop
18569 ac_cv_cflags__fno_stack_protector=no
18571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18572 conftest$ac_exeext conftest.$ac_ext
18573 CFLAGS=$ac_wine_try_cflags_saved
18575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18576 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18577 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18578 then :
18579 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18582 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18583 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18584 then :
18585 printf %s "(cached) " >&6
18586 else $as_nop
18587 ac_wine_try_cflags_saved=$CFLAGS
18588 CFLAGS="$CFLAGS -fno-strict-aliasing"
18589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18590 /* end confdefs.h. */
18591 int main(int argc, char **argv) { return 0; }
18592 _ACEOF
18593 if ac_fn_c_try_link "$LINENO"
18594 then :
18595 ac_cv_cflags__fno_strict_aliasing=yes
18596 else $as_nop
18597 ac_cv_cflags__fno_strict_aliasing=no
18599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18600 conftest$ac_exeext conftest.$ac_ext
18601 CFLAGS=$ac_wine_try_cflags_saved
18603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18604 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18605 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18606 then :
18607 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18610 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18611 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18612 then :
18613 printf %s "(cached) " >&6
18614 else $as_nop
18615 ac_wine_try_cflags_saved=$CFLAGS
18616 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18618 /* end confdefs.h. */
18619 int main(int argc, char **argv) { return 0; }
18620 _ACEOF
18621 if ac_fn_c_try_link "$LINENO"
18622 then :
18623 ac_cv_cflags__Wdeclaration_after_statement=yes
18624 else $as_nop
18625 ac_cv_cflags__Wdeclaration_after_statement=no
18627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18628 conftest$ac_exeext conftest.$ac_ext
18629 CFLAGS=$ac_wine_try_cflags_saved
18631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18632 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18633 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18634 then :
18635 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18638 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18639 if test ${ac_cv_cflags__Wempty_body+y}
18640 then :
18641 printf %s "(cached) " >&6
18642 else $as_nop
18643 ac_wine_try_cflags_saved=$CFLAGS
18644 CFLAGS="$CFLAGS -Wempty-body"
18645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h. */
18647 int main(int argc, char **argv) { return 0; }
18648 _ACEOF
18649 if ac_fn_c_try_link "$LINENO"
18650 then :
18651 ac_cv_cflags__Wempty_body=yes
18652 else $as_nop
18653 ac_cv_cflags__Wempty_body=no
18655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18656 conftest$ac_exeext conftest.$ac_ext
18657 CFLAGS=$ac_wine_try_cflags_saved
18659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18660 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18661 if test "x$ac_cv_cflags__Wempty_body" = xyes
18662 then :
18663 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18666 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18667 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18668 then :
18669 printf %s "(cached) " >&6
18670 else $as_nop
18671 ac_wine_try_cflags_saved=$CFLAGS
18672 CFLAGS="$CFLAGS -Wignored-qualifiers"
18673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18674 /* end confdefs.h. */
18675 int main(int argc, char **argv) { return 0; }
18676 _ACEOF
18677 if ac_fn_c_try_link "$LINENO"
18678 then :
18679 ac_cv_cflags__Wignored_qualifiers=yes
18680 else $as_nop
18681 ac_cv_cflags__Wignored_qualifiers=no
18683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18684 conftest$ac_exeext conftest.$ac_ext
18685 CFLAGS=$ac_wine_try_cflags_saved
18687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18688 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18689 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18690 then :
18691 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18694 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18695 if test ${ac_cv_cflags__Winit_self+y}
18696 then :
18697 printf %s "(cached) " >&6
18698 else $as_nop
18699 ac_wine_try_cflags_saved=$CFLAGS
18700 CFLAGS="$CFLAGS -Winit-self"
18701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18702 /* end confdefs.h. */
18703 int main(int argc, char **argv) { return 0; }
18704 _ACEOF
18705 if ac_fn_c_try_link "$LINENO"
18706 then :
18707 ac_cv_cflags__Winit_self=yes
18708 else $as_nop
18709 ac_cv_cflags__Winit_self=no
18711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18712 conftest$ac_exeext conftest.$ac_ext
18713 CFLAGS=$ac_wine_try_cflags_saved
18715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18716 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18717 if test "x$ac_cv_cflags__Winit_self" = xyes
18718 then :
18719 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18722 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18723 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18724 then :
18725 printf %s "(cached) " >&6
18726 else $as_nop
18727 ac_wine_try_cflags_saved=$CFLAGS
18728 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731 int main(int argc, char **argv) { return 0; }
18732 _ACEOF
18733 if ac_fn_c_try_link "$LINENO"
18734 then :
18735 ac_cv_cflags__Wpacked_not_aligned=yes
18736 else $as_nop
18737 ac_cv_cflags__Wpacked_not_aligned=no
18739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18740 conftest$ac_exeext conftest.$ac_ext
18741 CFLAGS=$ac_wine_try_cflags_saved
18743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18744 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18745 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18746 then :
18747 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18750 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18751 if test ${ac_cv_cflags__Wpragma_pack+y}
18752 then :
18753 printf %s "(cached) " >&6
18754 else $as_nop
18755 ac_wine_try_cflags_saved=$CFLAGS
18756 CFLAGS="$CFLAGS -Wpragma-pack"
18757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h. */
18759 int main(int argc, char **argv) { return 0; }
18760 _ACEOF
18761 if ac_fn_c_try_link "$LINENO"
18762 then :
18763 ac_cv_cflags__Wpragma_pack=yes
18764 else $as_nop
18765 ac_cv_cflags__Wpragma_pack=no
18767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18768 conftest$ac_exeext conftest.$ac_ext
18769 CFLAGS=$ac_wine_try_cflags_saved
18771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18772 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18773 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18774 then :
18775 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18778 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18779 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18780 then :
18781 printf %s "(cached) " >&6
18782 else $as_nop
18783 ac_wine_try_cflags_saved=$CFLAGS
18784 CFLAGS="$CFLAGS -Wshift-overflow=2"
18785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18786 /* end confdefs.h. */
18787 int main(int argc, char **argv) { return 0; }
18788 _ACEOF
18789 if ac_fn_c_try_link "$LINENO"
18790 then :
18791 ac_cv_cflags__Wshift_overflow_2=yes
18792 else $as_nop
18793 ac_cv_cflags__Wshift_overflow_2=no
18795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18796 conftest$ac_exeext conftest.$ac_ext
18797 CFLAGS=$ac_wine_try_cflags_saved
18799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18800 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18801 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18802 then :
18803 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18806 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18807 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18808 then :
18809 printf %s "(cached) " >&6
18810 else $as_nop
18811 ac_wine_try_cflags_saved=$CFLAGS
18812 CFLAGS="$CFLAGS -Wstrict-prototypes"
18813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18814 /* end confdefs.h. */
18815 int main(int argc, char **argv) { return 0; }
18816 _ACEOF
18817 if ac_fn_c_try_link "$LINENO"
18818 then :
18819 ac_cv_cflags__Wstrict_prototypes=yes
18820 else $as_nop
18821 ac_cv_cflags__Wstrict_prototypes=no
18823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18824 conftest$ac_exeext conftest.$ac_ext
18825 CFLAGS=$ac_wine_try_cflags_saved
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18828 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18829 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18830 then :
18831 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18834 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18835 if test ${ac_cv_cflags__Wtype_limits+y}
18836 then :
18837 printf %s "(cached) " >&6
18838 else $as_nop
18839 ac_wine_try_cflags_saved=$CFLAGS
18840 CFLAGS="$CFLAGS -Wtype-limits"
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__Wtype_limits=yes
18848 else $as_nop
18849 ac_cv_cflags__Wtype_limits=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__Wtype_limits" >&5
18856 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18857 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18858 then :
18859 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18862 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18863 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18864 then :
18865 printf %s "(cached) " >&6
18866 else $as_nop
18867 ac_wine_try_cflags_saved=$CFLAGS
18868 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18870 /* end confdefs.h. */
18871 int main(int argc, char **argv) { return 0; }
18872 _ACEOF
18873 if ac_fn_c_try_link "$LINENO"
18874 then :
18875 ac_cv_cflags__Wunused_but_set_parameter=yes
18876 else $as_nop
18877 ac_cv_cflags__Wunused_but_set_parameter=no
18879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18880 conftest$ac_exeext conftest.$ac_ext
18881 CFLAGS=$ac_wine_try_cflags_saved
18883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18884 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18885 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18886 then :
18887 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18890 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18891 if test ${ac_cv_cflags__Wvla+y}
18892 then :
18893 printf %s "(cached) " >&6
18894 else $as_nop
18895 ac_wine_try_cflags_saved=$CFLAGS
18896 CFLAGS="$CFLAGS -Wvla"
18897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18898 /* end confdefs.h. */
18899 int main(int argc, char **argv) { return 0; }
18900 _ACEOF
18901 if ac_fn_c_try_link "$LINENO"
18902 then :
18903 ac_cv_cflags__Wvla=yes
18904 else $as_nop
18905 ac_cv_cflags__Wvla=no
18907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18908 conftest$ac_exeext conftest.$ac_ext
18909 CFLAGS=$ac_wine_try_cflags_saved
18911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18912 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18913 if test "x$ac_cv_cflags__Wvla" = xyes
18914 then :
18915 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18918 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18919 if test ${ac_cv_cflags__Wwrite_strings+y}
18920 then :
18921 printf %s "(cached) " >&6
18922 else $as_nop
18923 ac_wine_try_cflags_saved=$CFLAGS
18924 CFLAGS="$CFLAGS -Wwrite-strings"
18925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18926 /* end confdefs.h. */
18927 int main(int argc, char **argv) { return 0; }
18928 _ACEOF
18929 if ac_fn_c_try_link "$LINENO"
18930 then :
18931 ac_cv_cflags__Wwrite_strings=yes
18932 else $as_nop
18933 ac_cv_cflags__Wwrite_strings=no
18935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18936 conftest$ac_exeext conftest.$ac_ext
18937 CFLAGS=$ac_wine_try_cflags_saved
18939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18940 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18941 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18942 then :
18943 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18946 if test -z "$CROSSTARGET"
18947 then
18948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18949 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18950 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18951 then :
18952 printf %s "(cached) " >&6
18953 else $as_nop
18954 ac_wine_try_cflags_saved=$CFLAGS
18955 CFLAGS="$CFLAGS -fexcess-precision=standard"
18956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18957 /* end confdefs.h. */
18958 int main(int argc, char **argv) { return 0; }
18959 _ACEOF
18960 if ac_fn_c_try_link "$LINENO"
18961 then :
18962 ac_cv_cflags__fexcess_precision_standard=yes
18963 else $as_nop
18964 ac_cv_cflags__fexcess_precision_standard=no
18966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18967 conftest$ac_exeext conftest.$ac_ext
18968 CFLAGS=$ac_wine_try_cflags_saved
18970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18971 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18972 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18973 then :
18974 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
18979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18980 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18981 if test ${ac_cv_cflags__Wpointer_arith+y}
18982 then :
18983 printf %s "(cached) " >&6
18984 else $as_nop
18985 ac_wine_try_cflags_saved=$CFLAGS
18986 CFLAGS="$CFLAGS -Wpointer-arith"
18987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18988 /* end confdefs.h. */
18989 int main(int argc, char **argv) { return 0; }
18990 _ACEOF
18991 if ac_fn_c_try_link "$LINENO"
18992 then :
18993 ac_cv_cflags__Wpointer_arith=yes
18994 else $as_nop
18995 ac_cv_cflags__Wpointer_arith=no
18997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18998 conftest$ac_exeext conftest.$ac_ext
18999 CFLAGS=$ac_wine_try_cflags_saved
19001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19002 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19003 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19004 then :
19005 saved_string_h_CFLAGS=$CFLAGS
19006 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19008 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19009 if test ${ac_cv_c_string_h_warnings+y}
19010 then :
19011 printf %s "(cached) " >&6
19012 else $as_nop
19013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19014 /* end confdefs.h. */
19015 #include <string.h>
19017 main (void)
19021 return 0;
19023 _ACEOF
19024 if ac_fn_c_try_compile "$LINENO"
19025 then :
19026 ac_cv_c_string_h_warnings=no
19027 else $as_nop
19028 ac_cv_c_string_h_warnings=yes
19030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19033 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19034 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19035 CFLAGS=$saved_string_h_CFLAGS
19038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19039 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19040 if test ${ac_cv_cflags__Wlogical_op+y}
19041 then :
19042 printf %s "(cached) " >&6
19043 else $as_nop
19044 ac_wine_try_cflags_saved=$CFLAGS
19045 CFLAGS="$CFLAGS -Wlogical-op"
19046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19047 /* end confdefs.h. */
19048 int main(int argc, char **argv) { return 0; }
19049 _ACEOF
19050 if ac_fn_c_try_link "$LINENO"
19051 then :
19052 ac_cv_cflags__Wlogical_op=yes
19053 else $as_nop
19054 ac_cv_cflags__Wlogical_op=no
19056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19057 conftest$ac_exeext conftest.$ac_ext
19058 CFLAGS=$ac_wine_try_cflags_saved
19060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19061 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19062 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19063 then :
19064 saved_string_h_CFLAGS=$CFLAGS
19065 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19067 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19068 if test ${ac_cv_c_logicalop_noisy+y}
19069 then :
19070 printf %s "(cached) " >&6
19071 else $as_nop
19072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19073 /* end confdefs.h. */
19074 #include <string.h>
19075 char*f(const char *h,char n) {return strchr(h,n);}
19077 main (void)
19081 return 0;
19083 _ACEOF
19084 if ac_fn_c_try_compile "$LINENO"
19085 then :
19086 ac_cv_c_logicalop_noisy=no
19087 else $as_nop
19088 ac_cv_c_logicalop_noisy=yes
19090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19093 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19094 CFLAGS=$saved_string_h_CFLAGS
19095 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19099 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19100 if test ${wine_cv_64bit_compare_swap+y}
19101 then :
19102 printf %s "(cached) " >&6
19103 else $as_nop
19104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19105 /* end confdefs.h. */
19106 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19107 #error no
19108 #endif
19110 main (void)
19114 return 0;
19116 _ACEOF
19117 if ac_fn_c_try_compile "$LINENO"
19118 then :
19119 wine_cv_64bit_compare_swap="none needed"
19120 else $as_nop
19121 case $host_cpu in
19122 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19123 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19124 *) wine_cv_64bit_compare_swap="unknown" ;;
19125 esac
19126 if test "x$wine_cv_64bit_compare_swap" != xunknown
19127 then
19128 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19130 /* end confdefs.h. */
19131 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19132 #error no
19133 #endif
19135 main (void)
19139 return 0;
19141 _ACEOF
19142 if ac_fn_c_try_compile "$LINENO"
19143 then :
19145 else $as_nop
19146 wine_cv_64bit_compare_swap="unknown"
19148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19149 CFLAGS=$saved_CFLAGS
19152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19155 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19156 case "$wine_cv_64bit_compare_swap" in
19157 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19158 "none needed") ;;
19159 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19160 esac
19162 ac_debug_format_seen=""
19163 for ac_flag in $CFLAGS; do
19164 case $ac_flag in
19165 -gdwarf*) ac_debug_format_seen=yes ;;
19166 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19167 esac
19168 done
19169 if test "x$ac_debug_format_seen" = xdefault
19170 then
19171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19172 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19173 if test ${ac_cv_cflags__gdwarf_4+y}
19174 then :
19175 printf %s "(cached) " >&6
19176 else $as_nop
19177 ac_wine_try_cflags_saved=$CFLAGS
19178 CFLAGS="$CFLAGS -gdwarf-4"
19179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19180 /* end confdefs.h. */
19181 int main(int argc, char **argv) { return 0; }
19182 _ACEOF
19183 if ac_fn_c_try_link "$LINENO"
19184 then :
19185 ac_cv_cflags__gdwarf_4=yes
19186 else $as_nop
19187 ac_cv_cflags__gdwarf_4=no
19189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19190 conftest$ac_exeext conftest.$ac_ext
19191 CFLAGS=$ac_wine_try_cflags_saved
19193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19194 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19195 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19196 then :
19197 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19201 MSVCRTFLAGS=""
19203 case $host_os in
19204 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19205 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19206 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19207 then :
19208 printf %s "(cached) " >&6
19209 else $as_nop
19210 ac_wine_try_cflags_saved=$CFLAGS
19211 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19213 /* end confdefs.h. */
19214 int main(int argc, char **argv) { return 0; }
19215 _ACEOF
19216 if ac_fn_c_try_link "$LINENO"
19217 then :
19218 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19219 else $as_nop
19220 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19223 conftest$ac_exeext conftest.$ac_ext
19224 CFLAGS=$ac_wine_try_cflags_saved
19226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19227 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19228 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19229 then :
19230 DELAYLOADFLAG="-Wl,-delayload,"
19232 fi ;;
19233 *) MSVCRTFLAGS="-D_WIN32"
19234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19235 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19236 if test ${ac_cv_cflags__fno_builtin+y}
19237 then :
19238 printf %s "(cached) " >&6
19239 else $as_nop
19240 ac_wine_try_cflags_saved=$CFLAGS
19241 CFLAGS="$CFLAGS -fno-builtin"
19242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19243 /* end confdefs.h. */
19244 int main(int argc, char **argv) { return 0; }
19245 _ACEOF
19246 if ac_fn_c_try_link "$LINENO"
19247 then :
19248 ac_cv_cflags__fno_builtin=yes
19249 else $as_nop
19250 ac_cv_cflags__fno_builtin=no
19252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19253 conftest$ac_exeext conftest.$ac_ext
19254 CFLAGS=$ac_wine_try_cflags_saved
19256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19257 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19258 if test "x$ac_cv_cflags__fno_builtin" = xyes
19259 then :
19260 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19263 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19264 if test ${ac_cv_cflags__fshort_wchar+y}
19265 then :
19266 printf %s "(cached) " >&6
19267 else $as_nop
19268 ac_wine_try_cflags_saved=$CFLAGS
19269 CFLAGS="$CFLAGS -fshort-wchar"
19270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19271 /* end confdefs.h. */
19272 int main(int argc, char **argv) { return 0; }
19273 _ACEOF
19274 if ac_fn_c_try_link "$LINENO"
19275 then :
19276 ac_cv_cflags__fshort_wchar=yes
19277 else $as_nop
19278 ac_cv_cflags__fshort_wchar=no
19280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19281 conftest$ac_exeext conftest.$ac_ext
19282 CFLAGS=$ac_wine_try_cflags_saved
19284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19285 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19286 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19287 then :
19288 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19291 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19292 if test ${ac_cv_cflags__Wno_format+y}
19293 then :
19294 printf %s "(cached) " >&6
19295 else $as_nop
19296 ac_wine_try_cflags_saved=$CFLAGS
19297 CFLAGS="$CFLAGS -Wno-format"
19298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19299 /* end confdefs.h. */
19300 int main(int argc, char **argv) { return 0; }
19301 _ACEOF
19302 if ac_fn_c_try_link "$LINENO"
19303 then :
19304 ac_cv_cflags__Wno_format=yes
19305 else $as_nop
19306 ac_cv_cflags__Wno_format=no
19308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19309 conftest$ac_exeext conftest.$ac_ext
19310 CFLAGS=$ac_wine_try_cflags_saved
19312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19313 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19314 if test "x$ac_cv_cflags__Wno_format" = xyes
19315 then :
19316 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19317 fi ;;
19318 esac
19320 case $host_cpu in
19321 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19322 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19323 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19324 then :
19325 printf %s "(cached) " >&6
19326 else $as_nop
19327 ac_wine_try_cflags_saved=$CFLAGS
19328 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19331 int main(int argc, char **argv) { return 0; }
19332 _ACEOF
19333 if ac_fn_c_try_link "$LINENO"
19334 then :
19335 ac_cv_cflags__fno_omit_frame_pointer=yes
19336 else $as_nop
19337 ac_cv_cflags__fno_omit_frame_pointer=no
19339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19340 conftest$ac_exeext conftest.$ac_ext
19341 CFLAGS=$ac_wine_try_cflags_saved
19343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19344 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19345 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19346 then :
19347 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19348 fi ;;
19349 *x86_64*)
19350 case $host_os in
19351 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19352 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19353 if test ${ac_cv_cflags__Wno_format+y}
19354 then :
19355 printf %s "(cached) " >&6
19356 else $as_nop
19357 ac_wine_try_cflags_saved=$CFLAGS
19358 CFLAGS="$CFLAGS -Wno-format"
19359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19360 /* end confdefs.h. */
19361 int main(int argc, char **argv) { return 0; }
19362 _ACEOF
19363 if ac_fn_c_try_link "$LINENO"
19364 then :
19365 ac_cv_cflags__Wno_format=yes
19366 else $as_nop
19367 ac_cv_cflags__Wno_format=no
19369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19370 conftest$ac_exeext conftest.$ac_ext
19371 CFLAGS=$ac_wine_try_cflags_saved
19373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19374 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19375 if test "x$ac_cv_cflags__Wno_format" = xyes
19376 then :
19377 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19378 fi ;;
19379 *) if test -z "$CROSSTARGET"
19380 then
19381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19382 printf %s "checking for working -mabi=ms... " >&6; }
19383 if test ${ac_cv_mabi_ms+y}
19384 then :
19385 printf %s "(cached) " >&6
19386 else $as_nop
19387 CFLAGS="$CFLAGS -mabi=ms"
19388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19389 /* end confdefs.h. */
19390 #include <stdarg.h>
19391 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19393 main (void)
19397 return 0;
19399 _ACEOF
19400 if ac_fn_c_try_compile "$LINENO"
19401 then :
19402 ac_cv_mabi_ms=yes
19403 else $as_nop
19404 ac_cv_mabi_ms=no
19406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19407 CFLAGS=$saved_CFLAGS
19409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19410 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19411 test $ac_cv_mabi_ms = yes || as_fn_error $? "The compiler doesn't support -mabi=ms. Use gcc instead of clang, or install mingw-w64." "$LINENO" 5
19413 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19414 esac ;;
19415 esac
19417 CFLAGS=$saved_CFLAGS
19419 if test "x$enable_werror" = "xyes"
19420 then
19421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19422 printf %s "checking whether the compiler supports -Werror... " >&6; }
19423 if test ${ac_cv_cflags__Werror+y}
19424 then :
19425 printf %s "(cached) " >&6
19426 else $as_nop
19427 ac_wine_try_cflags_saved=$CFLAGS
19428 CFLAGS="$CFLAGS -Werror"
19429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19430 /* end confdefs.h. */
19431 int main(int argc, char **argv) { return 0; }
19432 _ACEOF
19433 if ac_fn_c_try_link "$LINENO"
19434 then :
19435 ac_cv_cflags__Werror=yes
19436 else $as_nop
19437 ac_cv_cflags__Werror=no
19439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19440 conftest$ac_exeext conftest.$ac_ext
19441 CFLAGS=$ac_wine_try_cflags_saved
19443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19444 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19445 if test "x$ac_cv_cflags__Werror" = xyes
19446 then :
19447 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19450 if test "x$enable_build_id" = "xyes"
19451 then
19452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19453 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19454 if test ${ac_cv_cflags__Wl___build_id+y}
19455 then :
19456 printf %s "(cached) " >&6
19457 else $as_nop
19458 ac_wine_try_cflags_saved=$CFLAGS
19459 CFLAGS="$CFLAGS -Wl,--build-id"
19460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19461 /* end confdefs.h. */
19462 int main(int argc, char **argv) { return 0; }
19463 _ACEOF
19464 if ac_fn_c_try_link "$LINENO"
19465 then :
19466 ac_cv_cflags__Wl___build_id=yes
19467 else $as_nop
19468 ac_cv_cflags__Wl___build_id=no
19470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19471 conftest$ac_exeext conftest.$ac_ext
19472 CFLAGS=$ac_wine_try_cflags_saved
19474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19475 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19476 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19477 then :
19478 CFLAGS="$CFLAGS -Wl,--build-id"
19479 LDFLAGS="$LDFLAGS -Wl,--build-id"
19485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19486 printf %s "checking for the need to disable Fortify... " >&6; }
19487 if test ${ac_cv_c_fortify_enabled+y}
19488 then :
19489 printf %s "(cached) " >&6
19490 else $as_nop
19491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19492 /* end confdefs.h. */
19493 #include <string.h>
19495 main (void)
19497 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19498 #error Fortify enabled
19499 #endif
19501 return 0;
19503 _ACEOF
19504 if ac_fn_c_try_compile "$LINENO"
19505 then :
19506 ac_cv_c_fortify_enabled=no
19507 else $as_nop
19508 ac_cv_c_fortify_enabled=yes
19510 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19513 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19514 if test "$ac_cv_c_fortify_enabled" = yes
19515 then
19516 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19521 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19522 if test ${ac_cv_c_cfi_support+y}
19523 then :
19524 printf %s "(cached) " >&6
19525 else $as_nop
19526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19527 /* end confdefs.h. */
19528 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19530 main (void)
19534 return 0;
19536 _ACEOF
19537 if ac_fn_c_try_compile "$LINENO"
19538 then :
19539 ac_cv_c_cfi_support="yes"
19540 else $as_nop
19541 ac_cv_c_cfi_support="no"
19543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19546 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19547 if test "$ac_cv_c_cfi_support" = "yes"
19548 then
19549 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19550 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19551 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19552 else
19553 if test "x$enable_win64" = "xyes"
19554 then
19555 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19560 case $host_os in
19561 linux*)
19562 case $host_cpu in
19563 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19564 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19565 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19567 esac
19569 esac
19572 ac_save_CFLAGS="$CFLAGS"
19573 CFLAGS="$CFLAGS $BUILTINFLAG"
19574 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19575 if test "x$ac_cv_func_epoll_create" = xyes
19576 then :
19577 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19580 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19581 if test "x$ac_cv_func_fstatfs" = xyes
19582 then :
19583 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19586 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19587 if test "x$ac_cv_func_futimens" = xyes
19588 then :
19589 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19592 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19593 if test "x$ac_cv_func_futimes" = xyes
19594 then :
19595 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19598 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19599 if test "x$ac_cv_func_futimesat" = xyes
19600 then :
19601 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19604 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19605 if test "x$ac_cv_func_getattrlist" = xyes
19606 then :
19607 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19610 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19611 if test "x$ac_cv_func_getauxval" = xyes
19612 then :
19613 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19616 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19617 if test "x$ac_cv_func_getifaddrs" = xyes
19618 then :
19619 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19622 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19623 if test "x$ac_cv_func_getrandom" = xyes
19624 then :
19625 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19628 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19629 if test "x$ac_cv_func_kqueue" = xyes
19630 then :
19631 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19634 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19635 if test "x$ac_cv_func_mach_continuous_time" = xyes
19636 then :
19637 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19640 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19641 if test "x$ac_cv_func_pipe2" = xyes
19642 then :
19643 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19646 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19647 if test "x$ac_cv_func_port_create" = xyes
19648 then :
19649 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19652 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19653 if test "x$ac_cv_func_posix_fadvise" = xyes
19654 then :
19655 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19658 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19659 if test "x$ac_cv_func_posix_fallocate" = xyes
19660 then :
19661 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19664 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19665 if test "x$ac_cv_func_prctl" = xyes
19666 then :
19667 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19670 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19671 if test "x$ac_cv_func_proc_pidinfo" = xyes
19672 then :
19673 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19676 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19677 if test "x$ac_cv_func_sched_yield" = xyes
19678 then :
19679 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19682 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19683 if test "x$ac_cv_func_setproctitle" = xyes
19684 then :
19685 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19688 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19689 if test "x$ac_cv_func_setprogname" = xyes
19690 then :
19691 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19694 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19695 if test "x$ac_cv_func_sigprocmask" = xyes
19696 then :
19697 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19700 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19701 if test "x$ac_cv_func_sysinfo" = xyes
19702 then :
19703 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19706 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19707 if test "x$ac_cv_func_tcdrain" = xyes
19708 then :
19709 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19712 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19713 if test "x$ac_cv_func_thr_kill2" = xyes
19714 then :
19715 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19719 CFLAGS="$ac_save_CFLAGS"
19721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19722 printf %s "checking for library containing dlopen... " >&6; }
19723 if test ${ac_cv_search_dlopen+y}
19724 then :
19725 printf %s "(cached) " >&6
19726 else $as_nop
19727 ac_func_search_save_LIBS=$LIBS
19728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19731 /* Override any GCC internal prototype to avoid an error.
19732 Use char because int might match the return type of a GCC
19733 builtin and then its argument prototype would still apply. */
19734 char dlopen ();
19736 main (void)
19738 return dlopen ();
19740 return 0;
19742 _ACEOF
19743 for ac_lib in '' dl
19745 if test -z "$ac_lib"; then
19746 ac_res="none required"
19747 else
19748 ac_res=-l$ac_lib
19749 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19751 if ac_fn_c_try_link "$LINENO"
19752 then :
19753 ac_cv_search_dlopen=$ac_res
19755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19756 conftest$ac_exeext
19757 if test ${ac_cv_search_dlopen+y}
19758 then :
19759 break
19761 done
19762 if test ${ac_cv_search_dlopen+y}
19763 then :
19765 else $as_nop
19766 ac_cv_search_dlopen=no
19768 rm conftest.$ac_ext
19769 LIBS=$ac_func_search_save_LIBS
19771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19772 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19773 ac_res=$ac_cv_search_dlopen
19774 if test "$ac_res" != no
19775 then :
19776 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19780 ac_wine_check_funcs_save_LIBS="$LIBS"
19781 LIBS="$LIBS $DL_LIBS"
19782 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19783 if test "x$ac_cv_func_dlinfo" = xyes
19784 then :
19785 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19789 LIBS="$ac_wine_check_funcs_save_LIBS"
19791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19792 printf %s "checking for library containing gethostbyname... " >&6; }
19793 if test ${ac_cv_search_gethostbyname+y}
19794 then :
19795 printf %s "(cached) " >&6
19796 else $as_nop
19797 ac_func_search_save_LIBS=$LIBS
19798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h. */
19801 /* Override any GCC internal prototype to avoid an error.
19802 Use char because int might match the return type of a GCC
19803 builtin and then its argument prototype would still apply. */
19804 char gethostbyname ();
19806 main (void)
19808 return gethostbyname ();
19810 return 0;
19812 _ACEOF
19813 for ac_lib in '' nsl
19815 if test -z "$ac_lib"; then
19816 ac_res="none required"
19817 else
19818 ac_res=-l$ac_lib
19819 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19821 if ac_fn_c_try_link "$LINENO"
19822 then :
19823 ac_cv_search_gethostbyname=$ac_res
19825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19826 conftest$ac_exeext
19827 if test ${ac_cv_search_gethostbyname+y}
19828 then :
19829 break
19831 done
19832 if test ${ac_cv_search_gethostbyname+y}
19833 then :
19835 else $as_nop
19836 ac_cv_search_gethostbyname=no
19838 rm conftest.$ac_ext
19839 LIBS=$ac_func_search_save_LIBS
19841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19842 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19843 ac_res=$ac_cv_search_gethostbyname
19844 if test "$ac_res" != no
19845 then :
19846 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19852 printf %s "checking for library containing connect... " >&6; }
19853 if test ${ac_cv_search_connect+y}
19854 then :
19855 printf %s "(cached) " >&6
19856 else $as_nop
19857 ac_func_search_save_LIBS=$LIBS
19858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19859 /* end confdefs.h. */
19861 /* Override any GCC internal prototype to avoid an error.
19862 Use char because int might match the return type of a GCC
19863 builtin and then its argument prototype would still apply. */
19864 char connect ();
19866 main (void)
19868 return connect ();
19870 return 0;
19872 _ACEOF
19873 for ac_lib in '' socket
19875 if test -z "$ac_lib"; then
19876 ac_res="none required"
19877 else
19878 ac_res=-l$ac_lib
19879 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19881 if ac_fn_c_try_link "$LINENO"
19882 then :
19883 ac_cv_search_connect=$ac_res
19885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19886 conftest$ac_exeext
19887 if test ${ac_cv_search_connect+y}
19888 then :
19889 break
19891 done
19892 if test ${ac_cv_search_connect+y}
19893 then :
19895 else $as_nop
19896 ac_cv_search_connect=no
19898 rm conftest.$ac_ext
19899 LIBS=$ac_func_search_save_LIBS
19901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19902 printf "%s\n" "$ac_cv_search_connect" >&6; }
19903 ac_res=$ac_cv_search_connect
19904 if test "$ac_res" != no
19905 then :
19906 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19912 printf %s "checking for library containing inet_aton... " >&6; }
19913 if test ${ac_cv_search_inet_aton+y}
19914 then :
19915 printf %s "(cached) " >&6
19916 else $as_nop
19917 ac_func_search_save_LIBS=$LIBS
19918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19919 /* end confdefs.h. */
19921 /* Override any GCC internal prototype to avoid an error.
19922 Use char because int might match the return type of a GCC
19923 builtin and then its argument prototype would still apply. */
19924 char inet_aton ();
19926 main (void)
19928 return inet_aton ();
19930 return 0;
19932 _ACEOF
19933 for ac_lib in '' resolv
19935 if test -z "$ac_lib"; then
19936 ac_res="none required"
19937 else
19938 ac_res=-l$ac_lib
19939 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19941 if ac_fn_c_try_link "$LINENO"
19942 then :
19943 ac_cv_search_inet_aton=$ac_res
19945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19946 conftest$ac_exeext
19947 if test ${ac_cv_search_inet_aton+y}
19948 then :
19949 break
19951 done
19952 if test ${ac_cv_search_inet_aton+y}
19953 then :
19955 else $as_nop
19956 ac_cv_search_inet_aton=no
19958 rm conftest.$ac_ext
19959 LIBS=$ac_func_search_save_LIBS
19961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19962 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19963 ac_res=$ac_cv_search_inet_aton
19964 if test "$ac_res" != no
19965 then :
19966 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19971 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19972 if test "x$ac_cv_func_getaddrinfo" = xyes
19973 then :
19974 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19979 case $host_os in
19980 darwin*|macosx*) ;;
19981 *) ac_save_LIBS=$LIBS
19982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19983 printf %s "checking for library containing clock_gettime... " >&6; }
19984 if test ${ac_cv_search_clock_gettime+y}
19985 then :
19986 printf %s "(cached) " >&6
19987 else $as_nop
19988 ac_func_search_save_LIBS=$LIBS
19989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h. */
19992 /* Override any GCC internal prototype to avoid an error.
19993 Use char because int might match the return type of a GCC
19994 builtin and then its argument prototype would still apply. */
19995 char clock_gettime ();
19997 main (void)
19999 return clock_gettime ();
20001 return 0;
20003 _ACEOF
20004 for ac_lib in '' rt
20006 if test -z "$ac_lib"; then
20007 ac_res="none required"
20008 else
20009 ac_res=-l$ac_lib
20010 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20012 if ac_fn_c_try_link "$LINENO"
20013 then :
20014 ac_cv_search_clock_gettime=$ac_res
20016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20017 conftest$ac_exeext
20018 if test ${ac_cv_search_clock_gettime+y}
20019 then :
20020 break
20022 done
20023 if test ${ac_cv_search_clock_gettime+y}
20024 then :
20026 else $as_nop
20027 ac_cv_search_clock_gettime=no
20029 rm conftest.$ac_ext
20030 LIBS=$ac_func_search_save_LIBS
20032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20033 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20034 ac_res=$ac_cv_search_clock_gettime
20035 if test "$ac_res" != no
20036 then :
20037 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20039 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20041 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20045 LIBS=$ac_save_LIBS
20047 esac
20049 if test "x$with_ldap" != "xno"
20050 then
20051 if ${LDAP_CFLAGS:+false} :
20052 then :
20053 if test ${PKG_CONFIG+y}
20054 then :
20055 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20059 if ${LDAP_LIBS:+false} :
20060 then :
20061 if test ${PKG_CONFIG+y}
20062 then :
20063 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20067 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20070 ac_save_CPPFLAGS=$CPPFLAGS
20071 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20072 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20073 if test "x$ac_cv_header_ldap_h" = xyes
20074 then :
20075 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20078 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20079 if test "x$ac_cv_header_lber_h" = xyes
20080 then :
20081 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20085 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20086 then
20087 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20089 if test "x$ac_cv_type_LDAPSortKey" = xyes
20090 then :
20091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20092 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20093 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20094 then :
20095 printf %s "(cached) " >&6
20096 else $as_nop
20097 ac_check_lib_save_LIBS=$LIBS
20098 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20100 /* end confdefs.h. */
20102 /* Override any GCC internal prototype to avoid an error.
20103 Use char because int might match the return type of a GCC
20104 builtin and then its argument prototype would still apply. */
20105 char ldap_initialize ();
20107 main (void)
20109 return ldap_initialize ();
20111 return 0;
20113 _ACEOF
20114 if ac_fn_c_try_link "$LINENO"
20115 then :
20116 ac_cv_lib_ldap_ldap_initialize=yes
20117 else $as_nop
20118 ac_cv_lib_ldap_ldap_initialize=no
20120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20121 conftest$ac_exeext conftest.$ac_ext
20122 LIBS=$ac_check_lib_save_LIBS
20124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20125 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20126 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20127 then :
20128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20129 printf %s "checking for ber_init in -llber... " >&6; }
20130 if test ${ac_cv_lib_lber_ber_init+y}
20131 then :
20132 printf %s "(cached) " >&6
20133 else $as_nop
20134 ac_check_lib_save_LIBS=$LIBS
20135 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20137 /* end confdefs.h. */
20139 /* Override any GCC internal prototype to avoid an error.
20140 Use char because int might match the return type of a GCC
20141 builtin and then its argument prototype would still apply. */
20142 char ber_init ();
20144 main (void)
20146 return ber_init ();
20148 return 0;
20150 _ACEOF
20151 if ac_fn_c_try_link "$LINENO"
20152 then :
20153 ac_cv_lib_lber_ber_init=yes
20154 else $as_nop
20155 ac_cv_lib_lber_ber_init=no
20157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20158 conftest$ac_exeext conftest.$ac_ext
20159 LIBS=$ac_check_lib_save_LIBS
20161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20162 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20163 if test "x$ac_cv_lib_lber_ber_init" = xyes
20164 then :
20166 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20168 else $as_nop
20169 LDAP_LIBS=""
20172 else $as_nop
20173 LDAP_LIBS=""
20176 else $as_nop
20177 LDAP_LIBS=""
20180 else
20181 LDAP_LIBS=""
20183 CPPFLAGS=$ac_save_CPPFLAGS
20186 if test "x$LDAP_LIBS" = "x"
20187 then :
20188 case "x$with_ldap" in
20189 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20190 xno) ;;
20191 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20192 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20193 esac
20197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20198 printf %s "checking for sched_setaffinity... " >&6; }
20199 if test ${wine_cv_have_sched_setaffinity+y}
20200 then :
20201 printf %s "(cached) " >&6
20202 else $as_nop
20203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20204 /* end confdefs.h. */
20205 #include <sched.h>
20207 main (void)
20209 sched_setaffinity(0, 0, 0);
20211 return 0;
20213 _ACEOF
20214 if ac_fn_c_try_link "$LINENO"
20215 then :
20216 wine_cv_have_sched_setaffinity=yes
20217 else $as_nop
20218 wine_cv_have_sched_setaffinity=no
20220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20221 conftest$ac_exeext conftest.$ac_ext
20223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20224 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20225 if test "$wine_cv_have_sched_setaffinity" = "yes"
20226 then
20228 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20234 printf %s "checking for inline... " >&6; }
20235 if test ${ac_cv_c_inline+y}
20236 then :
20237 printf %s "(cached) " >&6
20238 else $as_nop
20239 ac_cv_c_inline=no
20240 for ac_kw in inline __inline__ __inline; do
20241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20242 /* end confdefs.h. */
20243 #ifndef __cplusplus
20244 typedef int foo_t;
20245 static $ac_kw foo_t static_foo (void) {return 0; }
20246 $ac_kw foo_t foo (void) {return 0; }
20247 #endif
20249 _ACEOF
20250 if ac_fn_c_try_compile "$LINENO"
20251 then :
20252 ac_cv_c_inline=$ac_kw
20254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20255 test "$ac_cv_c_inline" != no && break
20256 done
20259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20260 printf "%s\n" "$ac_cv_c_inline" >&6; }
20262 case $ac_cv_c_inline in
20263 inline | yes) ;;
20265 case $ac_cv_c_inline in
20266 no) ac_val=;;
20267 *) ac_val=$ac_cv_c_inline;;
20268 esac
20269 cat >>confdefs.h <<_ACEOF
20270 #ifndef __cplusplus
20271 #define inline $ac_val
20272 #endif
20273 _ACEOF
20275 esac
20277 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20278 #include <signal.h>
20280 if test "x$ac_cv_type_sigset_t" = xyes
20281 then :
20283 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20288 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20290 if test "x$ac_cv_type_request_sense" = xyes
20291 then :
20293 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20299 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20300 #include <sys/socket.h>
20301 #ifdef HAVE_SYS_SOCKETVAR_H
20302 #include <sys/socketvar.h>
20303 #endif
20304 #ifdef HAVE_NET_ROUTE_H
20305 #include <net/route.h>
20306 #endif
20307 #ifdef HAVE_NETINET_IN_H
20308 #include <netinet/in.h>
20309 #endif
20310 #ifdef HAVE_NETINET_IN_SYSTM_H
20311 #include <netinet/in_systm.h>
20312 #endif
20313 #ifdef HAVE_NETINET_IP_H
20314 #include <netinet/ip.h>
20315 #endif
20316 #ifdef HAVE_NETINET_IN_PCB_H
20317 #include <netinet/in_pcb.h>
20318 #endif
20320 if test "x$ac_cv_type_struct_xinpgen" = xyes
20321 then :
20323 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20330 printf %s "checking for sigaddset... " >&6; }
20331 if test ${wine_cv_have_sigaddset+y}
20332 then :
20333 printf %s "(cached) " >&6
20334 else $as_nop
20335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20336 /* end confdefs.h. */
20337 #include <signal.h>
20339 main (void)
20341 sigset_t set; sigaddset(&set,SIGTERM);
20343 return 0;
20345 _ACEOF
20346 if ac_fn_c_try_link "$LINENO"
20347 then :
20348 wine_cv_have_sigaddset=yes
20349 else $as_nop
20350 wine_cv_have_sigaddset=no
20352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20353 conftest$ac_exeext conftest.$ac_ext
20355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20356 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20357 if test "$wine_cv_have_sigaddset" = "yes"
20358 then
20360 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20366 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20367 if test ${wine_cv_linux_gethostbyname_r_6+y}
20368 then :
20369 printf %s "(cached) " >&6
20370 else $as_nop
20371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20372 /* end confdefs.h. */
20373 #include <netdb.h>
20375 main (void)
20378 char *name=0;
20379 struct hostent he;
20380 struct hostent *result;
20381 char *buf=0;
20382 int bufsize=0;
20383 int errnr;
20384 char *addr=0;
20385 int addrlen=0;
20386 int addrtype=0;
20387 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20388 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20391 return 0;
20393 _ACEOF
20394 if ac_fn_c_try_link "$LINENO"
20395 then :
20396 wine_cv_linux_gethostbyname_r_6=yes
20397 else $as_nop
20398 wine_cv_linux_gethostbyname_r_6=no
20401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20402 conftest$ac_exeext conftest.$ac_ext
20405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20406 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20407 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20408 then
20410 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20414 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20415 #include <sys/socket.h>
20416 #ifdef HAVE_SYS_UN_H
20417 # include <sys/un.h>
20418 #endif
20420 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20421 then :
20423 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20427 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20428 #include <sys/socket.h>
20429 #ifdef HAVE_SYS_UN_H
20430 # include <sys/un.h>
20431 #endif
20433 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20434 then :
20436 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20442 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20443 #ifdef HAVE_SCSI_SG_H
20444 #include <scsi/sg.h>
20445 #endif
20447 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20448 then :
20450 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20454 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>
20455 #ifdef HAVE_SCSI_SG_H
20456 #include <scsi/sg.h>
20457 #endif
20459 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20460 then :
20462 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20468 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20470 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20471 then :
20473 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20479 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20480 #ifdef HAVE_SYS_MTIO_H
20481 #include <sys/mtio.h>
20482 #endif
20484 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20485 then :
20487 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20491 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20492 #ifdef HAVE_SYS_MTIO_H
20493 #include <sys/mtio.h>
20494 #endif
20496 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20497 then :
20499 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20503 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20504 #ifdef HAVE_SYS_MTIO_H
20505 #include <sys/mtio.h>
20506 #endif
20508 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20509 then :
20511 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20517 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20518 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20519 then :
20521 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20525 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20526 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20527 then :
20529 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20533 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20534 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20535 then :
20537 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20541 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20542 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20543 then :
20545 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20549 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20550 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20551 then :
20553 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20557 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20558 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20559 then :
20561 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20565 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20566 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20567 then :
20569 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20573 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20574 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20575 then :
20577 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20581 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20582 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20583 then :
20585 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20589 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20590 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20591 then :
20593 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20597 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20598 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20599 then :
20601 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20607 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#include <sys/types.h>
20608 #ifdef HAVE_NETINET_IN_H
20609 #include <netinet/in.h>
20610 #endif
20612 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20613 then :
20615 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20621 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
20622 #include <resolv.h>
20623 #endif
20625 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20626 then :
20628 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20634 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20635 #include <netinet/in.h>
20636 #endif
20638 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20639 then :
20641 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20647 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20648 #ifdef HAVE_SYS_SOCKETVAR_H
20649 #include <sys/socketvar.h>
20650 #endif
20651 #ifdef HAVE_NETINET_IN_H
20652 #include <netinet/in.h>
20653 #endif
20654 #ifdef HAVE_NETINET_IP_VAR_H
20655 #include <netinet/ip_var.h>
20656 #endif
20658 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20659 then :
20661 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20667 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
20668 #include <netinet/ip_var.h>
20669 #endif
20671 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20672 then :
20674 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20680 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20681 #ifdef HAVE_SYS_SOCKETVAR_H
20682 #include <sys/socketvar.h>
20683 #endif
20684 #ifdef HAVE_NETINET_IN_H
20685 #include <netinet/in.h>
20686 #endif
20687 #ifdef HAVE_NETINET6_IP6_VAR_H
20688 #include <netinet6/ip6_var.h>
20689 #endif
20691 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20692 then :
20694 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20700 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20701 #ifdef HAVE_SYS_SOCKETVAR_H
20702 #include <sys/socketvar.h>
20703 #endif
20704 #ifdef HAVE_NETINET_IN_H
20705 #include <netinet/in.h>
20706 #endif
20707 #ifdef HAVE_NETINET_IP_H
20708 #include <netinet/ip.h>
20709 #endif
20710 #ifdef HAVE_NETINET_IP_ICMP_H
20711 #include <netinet/ip_icmp.h>
20712 #endif
20713 #ifdef HAVE_NETINET_ICMP_VAR_H
20714 #include <netinet/icmp_var.h>
20715 #endif
20717 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20718 then :
20720 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20726 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20727 #ifdef HAVE_SYS_SOCKETVAR_H
20728 #include <sys/socketvar.h>
20729 #endif
20730 #ifdef HAVE_NETINET_IN_H
20731 #include <netinet/in.h>
20732 #endif
20733 #ifdef HAVE_NETINET_ICMP6_H
20734 #include <netinet/icmp6.h>
20735 #endif
20737 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20738 then :
20740 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20746 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20747 #ifdef HAVE_SYS_SOCKETVAR_H
20748 #include <sys/socketvar.h>
20749 #endif
20750 #ifdef HAVE_NETINET_IN_H
20751 #include <netinet/in.h>
20752 #endif
20753 #ifdef HAVE_NETINET_TCP_H
20754 #include <netinet/tcp.h>
20755 #endif
20756 #ifdef HAVE_NETINET_TCP_VAR_H
20757 #include <netinet/tcp_var.h>
20758 #endif
20760 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20761 then :
20763 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20769 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
20770 #include <netinet/tcp_var.h>
20771 #endif
20773 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20774 then :
20776 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20782 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20783 #ifdef HAVE_NETINET_IN_H
20784 #include <netinet/in.h>
20785 #endif
20786 #ifdef HAVE_NETINET_IP_VAR_H
20787 #include <netinet/ip_var.h>
20788 #endif
20789 #ifdef HAVE_NETINET_UDP_H
20790 #include <netinet/udp.h>
20791 #endif
20792 #ifdef HAVE_NETINET_UDP_VAR_H
20793 #include <netinet/udp_var.h>
20794 #endif
20796 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20797 then :
20799 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20805 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20806 #ifdef HAVE_NET_IF_H
20807 # include <net/if.h>
20808 #endif
20810 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20811 then :
20813 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20819 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20820 # include <sys/sysinfo.h>
20821 #endif
20823 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20824 then :
20826 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20830 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20831 # include <sys/sysinfo.h>
20832 #endif
20834 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20835 then :
20837 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20843 LIBS="$ac_save_LIBS"
20845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20846 printf %s "checking for __builtin_popcount... " >&6; }
20847 if test ${ac_cv_have___builtin_popcount+y}
20848 then :
20849 printf %s "(cached) " >&6
20850 else $as_nop
20851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20852 /* end confdefs.h. */
20855 main (void)
20857 return __builtin_popcount(1)
20859 return 0;
20861 _ACEOF
20862 if ac_fn_c_try_link "$LINENO"
20863 then :
20864 ac_cv_have___builtin_popcount="yes"
20865 else $as_nop
20866 ac_cv_have___builtin_popcount="no"
20868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20869 conftest$ac_exeext conftest.$ac_ext
20871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20872 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20873 if test "$ac_cv_have___builtin_popcount" = "yes"
20874 then
20876 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20881 printf %s "checking for __clear_cache... " >&6; }
20882 if test ${ac_cv_have___clear_cache+y}
20883 then :
20884 printf %s "(cached) " >&6
20885 else $as_nop
20886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20887 /* end confdefs.h. */
20890 main (void)
20892 __clear_cache((void*)0, (void*)0); return 0;
20894 return 0;
20896 _ACEOF
20897 if ac_fn_c_try_link "$LINENO"
20898 then :
20899 ac_cv_have___clear_cache="yes"
20900 else $as_nop
20901 ac_cv_have___clear_cache="no"
20903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20904 conftest$ac_exeext conftest.$ac_ext
20906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20907 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20908 if test "$ac_cv_have___clear_cache" = "yes"
20909 then
20911 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20916 case $host_cpu in
20917 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20918 printf %s "checking whether we need to define __i386__... " >&6; }
20919 if test ${ac_cv_cpp_def___i386__+y}
20920 then :
20921 printf %s "(cached) " >&6
20922 else $as_nop
20923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20924 /* end confdefs.h. */
20925 #ifndef __i386__
20927 #endif
20928 _ACEOF
20929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20930 $EGREP "yes" >/dev/null 2>&1
20931 then :
20932 ac_cv_cpp_def___i386__=yes
20933 else $as_nop
20934 ac_cv_cpp_def___i386__=no
20936 rm -rf conftest*
20939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20940 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20941 if test "x$ac_cv_cpp_def___i386__" = xyes
20942 then :
20943 CFLAGS="$CFLAGS -D__i386__"
20944 LINTFLAGS="$LINTFLAGS -D__i386__"
20945 fi ;;
20946 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20947 printf %s "checking whether we need to define __x86_64__... " >&6; }
20948 if test ${ac_cv_cpp_def___x86_64__+y}
20949 then :
20950 printf %s "(cached) " >&6
20951 else $as_nop
20952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20953 /* end confdefs.h. */
20954 #ifndef __x86_64__
20956 #endif
20957 _ACEOF
20958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20959 $EGREP "yes" >/dev/null 2>&1
20960 then :
20961 ac_cv_cpp_def___x86_64__=yes
20962 else $as_nop
20963 ac_cv_cpp_def___x86_64__=no
20965 rm -rf conftest*
20968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20969 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20970 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20971 then :
20972 CFLAGS="$CFLAGS -D__x86_64__"
20973 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20974 fi ;;
20975 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20976 printf %s "checking whether we need to define __sparc64__... " >&6; }
20977 if test ${ac_cv_cpp_def___sparc64__+y}
20978 then :
20979 printf %s "(cached) " >&6
20980 else $as_nop
20981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20982 /* end confdefs.h. */
20983 #ifndef __sparc64__
20985 #endif
20986 _ACEOF
20987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20988 $EGREP "yes" >/dev/null 2>&1
20989 then :
20990 ac_cv_cpp_def___sparc64__=yes
20991 else $as_nop
20992 ac_cv_cpp_def___sparc64__=no
20994 rm -rf conftest*
20997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20998 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20999 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21000 then :
21001 CFLAGS="$CFLAGS -D__sparc64__"
21002 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21003 fi ;;
21004 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21005 printf %s "checking whether we need to define __sparc__... " >&6; }
21006 if test ${ac_cv_cpp_def___sparc__+y}
21007 then :
21008 printf %s "(cached) " >&6
21009 else $as_nop
21010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21011 /* end confdefs.h. */
21012 #ifndef __sparc__
21014 #endif
21015 _ACEOF
21016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21017 $EGREP "yes" >/dev/null 2>&1
21018 then :
21019 ac_cv_cpp_def___sparc__=yes
21020 else $as_nop
21021 ac_cv_cpp_def___sparc__=no
21023 rm -rf conftest*
21026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21027 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21028 if test "x$ac_cv_cpp_def___sparc__" = xyes
21029 then :
21030 CFLAGS="$CFLAGS -D__sparc__"
21031 LINTFLAGS="$LINTFLAGS -D__sparc__"
21032 fi ;;
21033 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21034 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21035 if test ${ac_cv_cpp_def___powerpc64__+y}
21036 then :
21037 printf %s "(cached) " >&6
21038 else $as_nop
21039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21040 /* end confdefs.h. */
21041 #ifndef __powerpc64__
21043 #endif
21044 _ACEOF
21045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21046 $EGREP "yes" >/dev/null 2>&1
21047 then :
21048 ac_cv_cpp_def___powerpc64__=yes
21049 else $as_nop
21050 ac_cv_cpp_def___powerpc64__=no
21052 rm -rf conftest*
21055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21056 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21057 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21058 then :
21059 CFLAGS="$CFLAGS -D__powerpc64__"
21060 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21061 fi ;;
21062 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21063 printf %s "checking whether we need to define __powerpc__... " >&6; }
21064 if test ${ac_cv_cpp_def___powerpc__+y}
21065 then :
21066 printf %s "(cached) " >&6
21067 else $as_nop
21068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21069 /* end confdefs.h. */
21070 #ifndef __powerpc__
21072 #endif
21073 _ACEOF
21074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21075 $EGREP "yes" >/dev/null 2>&1
21076 then :
21077 ac_cv_cpp_def___powerpc__=yes
21078 else $as_nop
21079 ac_cv_cpp_def___powerpc__=no
21081 rm -rf conftest*
21084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21085 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21086 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21087 then :
21088 CFLAGS="$CFLAGS -D__powerpc__"
21089 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21090 fi ;;
21091 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21092 printf %s "checking whether we need to define __aarch64__... " >&6; }
21093 if test ${ac_cv_cpp_def___aarch64__+y}
21094 then :
21095 printf %s "(cached) " >&6
21096 else $as_nop
21097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21098 /* end confdefs.h. */
21099 #ifndef __aarch64__
21101 #endif
21102 _ACEOF
21103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21104 $EGREP "yes" >/dev/null 2>&1
21105 then :
21106 ac_cv_cpp_def___aarch64__=yes
21107 else $as_nop
21108 ac_cv_cpp_def___aarch64__=no
21110 rm -rf conftest*
21113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21114 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21115 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21116 then :
21117 CFLAGS="$CFLAGS -D__aarch64__"
21118 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21119 fi ;;
21120 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21121 printf %s "checking whether we need to define __arm__... " >&6; }
21122 if test ${ac_cv_cpp_def___arm__+y}
21123 then :
21124 printf %s "(cached) " >&6
21125 else $as_nop
21126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21127 /* end confdefs.h. */
21128 #ifndef __arm__
21130 #endif
21131 _ACEOF
21132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21133 $EGREP "yes" >/dev/null 2>&1
21134 then :
21135 ac_cv_cpp_def___arm__=yes
21136 else $as_nop
21137 ac_cv_cpp_def___arm__=no
21139 rm -rf conftest*
21142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21143 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21144 if test "x$ac_cv_cpp_def___arm__" = xyes
21145 then :
21146 CFLAGS="$CFLAGS -D__arm__"
21147 LINTFLAGS="$LINTFLAGS -D__arm__"
21148 fi ;;
21149 esac
21151 case $host_vendor in
21152 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21153 printf %s "checking whether we need to define __sun__... " >&6; }
21154 if test ${ac_cv_cpp_def___sun__+y}
21155 then :
21156 printf %s "(cached) " >&6
21157 else $as_nop
21158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21159 /* end confdefs.h. */
21160 #ifndef __sun__
21162 #endif
21163 _ACEOF
21164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21165 $EGREP "yes" >/dev/null 2>&1
21166 then :
21167 ac_cv_cpp_def___sun__=yes
21168 else $as_nop
21169 ac_cv_cpp_def___sun__=no
21171 rm -rf conftest*
21174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21175 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21176 if test "x$ac_cv_cpp_def___sun__" = xyes
21177 then :
21178 CFLAGS="$CFLAGS -D__sun__"
21179 LINTFLAGS="$LINTFLAGS -D__sun__"
21180 fi ;;
21181 esac
21187 ac_config_commands="$ac_config_commands include/stamp-h"
21189 printf %s "creating Makefile rules..." >&6
21191 makedep_flags=""
21192 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21194 wine_srcdir=
21195 test "$srcdir" = . || wine_srcdir="$srcdir/"
21197 ac_config_links="$ac_config_links wine:tools/winewrapper"
21198 wine_fn_config_symlink wine
21199 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21200 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21201 wine_fn_config_symlink wine64
21204 wine_fn_config_makefile dlls/acledit enable_acledit
21205 wine_fn_config_makefile dlls/aclui enable_aclui
21206 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21207 wine_fn_config_makefile dlls/activeds enable_activeds
21208 wine_fn_config_makefile dlls/activeds/tests enable_tests
21209 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21210 wine_fn_config_makefile dlls/adsldp enable_adsldp
21211 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21212 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21213 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21214 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21215 wine_fn_config_makefile dlls/advpack enable_advpack
21216 wine_fn_config_makefile dlls/advpack/tests enable_tests
21217 wine_fn_config_makefile dlls/amsi enable_amsi
21218 wine_fn_config_makefile dlls/amstream enable_amstream
21219 wine_fn_config_makefile dlls/amstream/tests enable_tests
21220 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21221 wine_fn_config_makefile dlls/apphelp enable_apphelp
21222 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21223 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21224 wine_fn_config_makefile dlls/atl enable_atl
21225 wine_fn_config_makefile dlls/atl/tests enable_tests
21226 wine_fn_config_makefile dlls/atl100 enable_atl100
21227 wine_fn_config_makefile dlls/atl100/tests enable_tests
21228 wine_fn_config_makefile dlls/atl110 enable_atl110
21229 wine_fn_config_makefile dlls/atl80 enable_atl80
21230 wine_fn_config_makefile dlls/atl80/tests enable_tests
21231 wine_fn_config_makefile dlls/atl90 enable_atl90
21232 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21233 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21234 wine_fn_config_makefile dlls/atmlib enable_atmlib
21235 wine_fn_config_makefile dlls/authz enable_authz
21236 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21237 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21238 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21239 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21240 wine_fn_config_makefile dlls/avrt enable_avrt
21241 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21242 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21243 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21244 wine_fn_config_makefile dlls/browseui enable_browseui
21245 wine_fn_config_makefile dlls/browseui/tests enable_tests
21246 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21247 wine_fn_config_makefile dlls/cabinet enable_cabinet
21248 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21249 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21250 wine_fn_config_makefile dlls/cards enable_cards
21251 wine_fn_config_makefile dlls/cdosys enable_cdosys
21252 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21253 wine_fn_config_makefile dlls/clusapi enable_clusapi
21254 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21255 wine_fn_config_makefile dlls/combase enable_combase
21256 wine_fn_config_makefile dlls/combase/tests enable_tests
21257 wine_fn_config_makefile dlls/comcat enable_comcat
21258 wine_fn_config_makefile dlls/comcat/tests enable_tests
21259 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21260 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21261 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21262 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21263 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21264 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21265 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21266 wine_fn_config_makefile dlls/compstui enable_compstui
21267 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21268 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21269 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21270 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21271 wine_fn_config_makefile dlls/connect enable_connect
21272 wine_fn_config_makefile dlls/credui enable_credui
21273 wine_fn_config_makefile dlls/credui/tests enable_tests
21274 wine_fn_config_makefile dlls/crtdll enable_crtdll
21275 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21276 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21277 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21278 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21279 wine_fn_config_makefile dlls/cryptext enable_cryptext
21280 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21281 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21282 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21283 wine_fn_config_makefile dlls/cryptui enable_cryptui
21284 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21285 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21286 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21287 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21288 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21289 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21290 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21291 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21292 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21293 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21294 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21295 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21296 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21297 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21298 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21299 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21300 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21301 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21302 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21303 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21304 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21305 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21306 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21307 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21308 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21309 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21310 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21311 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21312 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21313 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21314 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21315 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21316 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21317 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21318 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21319 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21320 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21321 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21322 wine_fn_config_makefile dlls/d3dim enable_d3dim
21323 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21324 wine_fn_config_makefile dlls/d3drm enable_d3drm
21325 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21326 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21327 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21328 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21329 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21330 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21331 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21332 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21333 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21334 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21335 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21336 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21337 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21338 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21339 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21340 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21341 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21342 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21343 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21344 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21345 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21346 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21347 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21348 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21349 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21350 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21351 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21352 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21353 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21354 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21355 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21356 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21357 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21358 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21359 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21360 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21361 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21362 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21363 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21364 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21365 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21366 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21367 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21368 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21369 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21370 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21371 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21372 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21373 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21374 wine_fn_config_makefile dlls/davclnt enable_davclnt
21375 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21376 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21377 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21378 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21379 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21380 wine_fn_config_makefile dlls/dcomp enable_dcomp
21381 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21382 wine_fn_config_makefile dlls/ddraw enable_ddraw
21383 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21384 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21385 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21386 wine_fn_config_makefile dlls/devenum enable_devenum
21387 wine_fn_config_makefile dlls/devenum/tests enable_tests
21388 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21389 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21390 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21391 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21392 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21393 wine_fn_config_makefile dlls/difxapi enable_difxapi
21394 wine_fn_config_makefile dlls/dinput enable_dinput
21395 wine_fn_config_makefile dlls/dinput/tests enable_tests
21396 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21397 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21398 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21399 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21400 wine_fn_config_makefile dlls/dispex enable_dispex
21401 wine_fn_config_makefile dlls/dispex/tests enable_tests
21402 wine_fn_config_makefile dlls/display.drv16 enable_win16
21403 wine_fn_config_makefile dlls/dmband enable_dmband
21404 wine_fn_config_makefile dlls/dmband/tests enable_tests
21405 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21406 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21407 wine_fn_config_makefile dlls/dmime enable_dmime
21408 wine_fn_config_makefile dlls/dmime/tests enable_tests
21409 wine_fn_config_makefile dlls/dmloader enable_dmloader
21410 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21411 wine_fn_config_makefile dlls/dmscript enable_dmscript
21412 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21413 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21414 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21415 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21416 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21417 wine_fn_config_makefile dlls/dmusic enable_dmusic
21418 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21419 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21420 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21421 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21422 wine_fn_config_makefile dlls/dplay enable_dplay
21423 wine_fn_config_makefile dlls/dplayx enable_dplayx
21424 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21425 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21426 wine_fn_config_makefile dlls/dpnet enable_dpnet
21427 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21428 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21429 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21430 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21431 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21432 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21433 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21434 wine_fn_config_makefile dlls/drmclien enable_drmclien
21435 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21436 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21437 wine_fn_config_makefile dlls/dsound enable_dsound
21438 wine_fn_config_makefile dlls/dsound/tests enable_tests
21439 wine_fn_config_makefile dlls/dsquery enable_dsquery
21440 wine_fn_config_makefile dlls/dssenh enable_dssenh
21441 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21442 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21443 wine_fn_config_makefile dlls/dswave enable_dswave
21444 wine_fn_config_makefile dlls/dswave/tests enable_tests
21445 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21446 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21447 wine_fn_config_makefile dlls/dwrite enable_dwrite
21448 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21449 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21450 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21451 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21452 wine_fn_config_makefile dlls/dxgi enable_dxgi
21453 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21454 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21455 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21456 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21457 wine_fn_config_makefile dlls/esent enable_esent
21458 wine_fn_config_makefile dlls/evr enable_evr
21459 wine_fn_config_makefile dlls/evr/tests enable_tests
21460 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21461 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21462 wine_fn_config_makefile dlls/faultrep enable_faultrep
21463 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21464 wine_fn_config_makefile dlls/feclient enable_feclient
21465 wine_fn_config_makefile dlls/fltlib enable_fltlib
21466 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21467 wine_fn_config_makefile dlls/fntcache enable_fntcache
21468 wine_fn_config_makefile dlls/fontsub enable_fontsub
21469 wine_fn_config_makefile dlls/fusion enable_fusion
21470 wine_fn_config_makefile dlls/fusion/tests enable_tests
21471 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21472 wine_fn_config_makefile dlls/gameux enable_gameux
21473 wine_fn_config_makefile dlls/gameux/tests enable_tests
21474 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21475 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21476 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21477 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21478 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21479 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21480 wine_fn_config_makefile dlls/glu32 enable_glu32
21481 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21482 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21483 wine_fn_config_makefile dlls/hal enable_hal
21484 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21485 wine_fn_config_makefile dlls/hid enable_hid
21486 wine_fn_config_makefile dlls/hid/tests enable_tests
21487 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21488 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21489 wine_fn_config_makefile dlls/hlink enable_hlink
21490 wine_fn_config_makefile dlls/hlink/tests enable_tests
21491 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21492 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21493 wine_fn_config_makefile dlls/http.sys enable_http_sys
21494 wine_fn_config_makefile dlls/httpapi enable_httpapi
21495 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21496 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21497 wine_fn_config_makefile dlls/iccvid enable_iccvid
21498 wine_fn_config_makefile dlls/icmp enable_icmp
21499 wine_fn_config_makefile dlls/ieframe enable_ieframe
21500 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21501 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21502 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21503 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21504 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21505 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21506 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21507 wine_fn_config_makefile dlls/imm32 enable_imm32
21508 wine_fn_config_makefile dlls/imm32/tests enable_tests
21509 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21510 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21511 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21512 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21513 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21514 wine_fn_config_makefile dlls/infosoft enable_infosoft
21515 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21516 wine_fn_config_makefile dlls/initpki enable_initpki
21517 wine_fn_config_makefile dlls/inkobj enable_inkobj
21518 wine_fn_config_makefile dlls/inseng enable_inseng
21519 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21520 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21521 wine_fn_config_makefile dlls/iprop enable_iprop
21522 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21523 wine_fn_config_makefile dlls/itircl enable_itircl
21524 wine_fn_config_makefile dlls/itss enable_itss
21525 wine_fn_config_makefile dlls/itss/tests enable_tests
21526 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21527 wine_fn_config_makefile dlls/jscript enable_jscript
21528 wine_fn_config_makefile dlls/jscript/tests enable_tests
21529 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21530 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21531 wine_fn_config_makefile dlls/kerberos enable_kerberos
21532 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21533 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21534 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21535 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21536 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21537 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21538 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21539 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21540 wine_fn_config_makefile dlls/ksuser enable_ksuser
21541 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21542 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21543 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21544 wine_fn_config_makefile dlls/loadperf enable_loadperf
21545 wine_fn_config_makefile dlls/localspl enable_localspl
21546 wine_fn_config_makefile dlls/localspl/tests enable_tests
21547 wine_fn_config_makefile dlls/localui enable_localui
21548 wine_fn_config_makefile dlls/localui/tests enable_tests
21549 wine_fn_config_makefile dlls/lz32 enable_lz32
21550 wine_fn_config_makefile dlls/lz32/tests enable_tests
21551 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21552 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21553 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21554 wine_fn_config_makefile dlls/mapistub enable_mapistub
21555 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21556 wine_fn_config_makefile dlls/mcicda enable_mcicda
21557 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21558 wine_fn_config_makefile dlls/mciseq enable_mciseq
21559 wine_fn_config_makefile dlls/mciwave enable_mciwave
21560 wine_fn_config_makefile dlls/mf enable_mf
21561 wine_fn_config_makefile dlls/mf/tests enable_tests
21562 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21563 wine_fn_config_makefile dlls/mferror enable_mferror
21564 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21565 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21566 wine_fn_config_makefile dlls/mfplat enable_mfplat
21567 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21568 wine_fn_config_makefile dlls/mfplay enable_mfplay
21569 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21570 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21571 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21572 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21573 wine_fn_config_makefile dlls/midimap enable_midimap
21574 wine_fn_config_makefile dlls/mlang enable_mlang
21575 wine_fn_config_makefile dlls/mlang/tests enable_tests
21576 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21577 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21578 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21579 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21580 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21581 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21582 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21583 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21584 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21585 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21586 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21587 wine_fn_config_makefile dlls/mpr enable_mpr
21588 wine_fn_config_makefile dlls/mpr/tests enable_tests
21589 wine_fn_config_makefile dlls/mprapi enable_mprapi
21590 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21591 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21592 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21593 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21594 wine_fn_config_makefile dlls/msado15 enable_msado15
21595 wine_fn_config_makefile dlls/msado15/tests enable_tests
21596 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21597 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21598 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21599 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21600 wine_fn_config_makefile dlls/mscms enable_mscms
21601 wine_fn_config_makefile dlls/mscms/tests enable_tests
21602 wine_fn_config_makefile dlls/mscoree enable_mscoree
21603 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21604 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21605 wine_fn_config_makefile dlls/msctf enable_msctf
21606 wine_fn_config_makefile dlls/msctf/tests enable_tests
21607 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21608 wine_fn_config_makefile dlls/msctfp enable_msctfp
21609 wine_fn_config_makefile dlls/msdaps enable_msdaps
21610 wine_fn_config_makefile dlls/msdasql enable_msdasql
21611 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21612 wine_fn_config_makefile dlls/msdelta enable_msdelta
21613 wine_fn_config_makefile dlls/msdmo enable_msdmo
21614 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21615 wine_fn_config_makefile dlls/msdrm enable_msdrm
21616 wine_fn_config_makefile dlls/msftedit enable_msftedit
21617 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21618 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21619 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21620 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21621 wine_fn_config_makefile dlls/mshtml enable_mshtml
21622 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21623 wine_fn_config_makefile dlls/msi enable_msi
21624 wine_fn_config_makefile dlls/msi/tests enable_tests
21625 wine_fn_config_makefile dlls/msident enable_msident
21626 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21627 wine_fn_config_makefile dlls/msimsg enable_msimsg
21628 wine_fn_config_makefile dlls/msimtf enable_msimtf
21629 wine_fn_config_makefile dlls/msisip enable_msisip
21630 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21631 wine_fn_config_makefile dlls/msls31 enable_msls31
21632 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21633 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21634 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21635 wine_fn_config_makefile dlls/msports enable_msports
21636 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21637 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21638 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21639 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21640 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21641 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21642 wine_fn_config_makefile dlls/mstask enable_mstask
21643 wine_fn_config_makefile dlls/mstask/tests enable_tests
21644 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21645 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21646 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21647 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21648 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21649 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21650 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21651 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21652 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21653 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21654 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21655 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21656 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21657 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21658 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21659 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21660 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21661 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21662 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21663 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21664 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21665 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21666 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21667 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21668 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21669 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21670 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21671 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21672 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21673 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21674 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21675 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21676 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21677 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21678 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21679 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21680 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21681 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21682 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21683 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21684 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21685 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21686 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21687 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21688 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21689 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21690 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21691 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21692 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21693 wine_fn_config_makefile dlls/mswsock enable_mswsock
21694 wine_fn_config_makefile dlls/msxml enable_msxml
21695 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21696 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21697 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21698 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21699 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21700 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21701 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21702 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21703 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21704 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21705 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21706 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21707 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21708 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21709 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21710 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21711 wine_fn_config_makefile dlls/netprofm enable_netprofm
21712 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21713 wine_fn_config_makefile dlls/netutils enable_netutils
21714 wine_fn_config_makefile dlls/newdev enable_newdev
21715 wine_fn_config_makefile dlls/ninput enable_ninput
21716 wine_fn_config_makefile dlls/ninput/tests enable_tests
21717 wine_fn_config_makefile dlls/normaliz enable_normaliz
21718 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21719 wine_fn_config_makefile dlls/npptools enable_npptools
21720 wine_fn_config_makefile dlls/nsi enable_nsi
21721 wine_fn_config_makefile dlls/nsi/tests enable_tests
21722 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21723 wine_fn_config_makefile dlls/ntdll enable_ntdll
21724 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21725 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21726 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21727 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21728 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21729 wine_fn_config_makefile dlls/ntprint enable_ntprint
21730 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21731 wine_fn_config_makefile dlls/objsel enable_objsel
21732 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21733 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21734 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21735 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21736 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21737 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21738 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21739 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21740 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21741 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21742 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21743 wine_fn_config_makefile dlls/ole32 enable_ole32
21744 wine_fn_config_makefile dlls/ole32/tests enable_tests
21745 wine_fn_config_makefile dlls/oleacc enable_oleacc
21746 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21747 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21748 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21749 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21750 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21751 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21752 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21753 wine_fn_config_makefile dlls/oledlg enable_oledlg
21754 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21755 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21756 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21757 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21758 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21759 wine_fn_config_makefile dlls/opcservices enable_opcservices
21760 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21761 wine_fn_config_makefile dlls/openal32 enable_openal32
21762 wine_fn_config_makefile dlls/opencl enable_opencl
21763 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21764 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21765 wine_fn_config_makefile dlls/packager enable_packager
21766 wine_fn_config_makefile dlls/packager/tests enable_tests
21767 wine_fn_config_makefile dlls/pdh enable_pdh
21768 wine_fn_config_makefile dlls/pdh/tests enable_tests
21769 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21770 wine_fn_config_makefile dlls/pidgen enable_pidgen
21771 wine_fn_config_makefile dlls/powrprof enable_powrprof
21772 wine_fn_config_makefile dlls/printui enable_printui
21773 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21774 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21775 wine_fn_config_makefile dlls/propsys enable_propsys
21776 wine_fn_config_makefile dlls/propsys/tests enable_tests
21777 wine_fn_config_makefile dlls/psapi enable_psapi
21778 wine_fn_config_makefile dlls/psapi/tests enable_tests
21779 wine_fn_config_makefile dlls/pstorec enable_pstorec
21780 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21781 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21782 wine_fn_config_makefile dlls/qasf enable_qasf
21783 wine_fn_config_makefile dlls/qasf/tests enable_tests
21784 wine_fn_config_makefile dlls/qcap enable_qcap
21785 wine_fn_config_makefile dlls/qcap/tests enable_tests
21786 wine_fn_config_makefile dlls/qdvd enable_qdvd
21787 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21788 wine_fn_config_makefile dlls/qedit enable_qedit
21789 wine_fn_config_makefile dlls/qedit/tests enable_tests
21790 wine_fn_config_makefile dlls/qmgr enable_qmgr
21791 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21792 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21793 wine_fn_config_makefile dlls/quartz enable_quartz
21794 wine_fn_config_makefile dlls/quartz/tests enable_tests
21795 wine_fn_config_makefile dlls/query enable_query
21796 wine_fn_config_makefile dlls/qwave enable_qwave
21797 wine_fn_config_makefile dlls/qwave/tests enable_tests
21798 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21799 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21800 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21801 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21802 wine_fn_config_makefile dlls/regapi enable_regapi
21803 wine_fn_config_makefile dlls/resutils enable_resutils
21804 wine_fn_config_makefile dlls/riched20 enable_riched20
21805 wine_fn_config_makefile dlls/riched20/tests enable_tests
21806 wine_fn_config_makefile dlls/riched32 enable_riched32
21807 wine_fn_config_makefile dlls/riched32/tests enable_tests
21808 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21809 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21810 wine_fn_config_makefile dlls/rsabase enable_rsabase
21811 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21812 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21813 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21814 wine_fn_config_makefile dlls/rtutils enable_rtutils
21815 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21816 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21817 wine_fn_config_makefile dlls/samlib enable_samlib
21818 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21819 wine_fn_config_makefile dlls/sapi enable_sapi
21820 wine_fn_config_makefile dlls/sapi/tests enable_tests
21821 wine_fn_config_makefile dlls/sas enable_sas
21822 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21823 wine_fn_config_makefile dlls/sccbase enable_sccbase
21824 wine_fn_config_makefile dlls/schannel enable_schannel
21825 wine_fn_config_makefile dlls/schannel/tests enable_tests
21826 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21827 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21828 wine_fn_config_makefile dlls/scrobj enable_scrobj
21829 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21830 wine_fn_config_makefile dlls/scrrun enable_scrrun
21831 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21832 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21833 wine_fn_config_makefile dlls/sechost enable_sechost
21834 wine_fn_config_makefile dlls/secur32 enable_secur32
21835 wine_fn_config_makefile dlls/secur32/tests enable_tests
21836 wine_fn_config_makefile dlls/security enable_security
21837 wine_fn_config_makefile dlls/sensapi enable_sensapi
21838 wine_fn_config_makefile dlls/serialui enable_serialui
21839 wine_fn_config_makefile dlls/serialui/tests enable_tests
21840 wine_fn_config_makefile dlls/setupapi enable_setupapi
21841 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21842 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21843 wine_fn_config_makefile dlls/sfc enable_sfc
21844 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21845 wine_fn_config_makefile dlls/shcore enable_shcore
21846 wine_fn_config_makefile dlls/shcore/tests enable_tests
21847 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21848 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21849 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21850 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21851 wine_fn_config_makefile dlls/shell32 enable_shell32
21852 wine_fn_config_makefile dlls/shell32/tests enable_tests
21853 wine_fn_config_makefile dlls/shfolder enable_shfolder
21854 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21855 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21856 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21857 wine_fn_config_makefile dlls/slc enable_slc
21858 wine_fn_config_makefile dlls/slc/tests enable_tests
21859 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21860 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21861 wine_fn_config_makefile dlls/softpub enable_softpub
21862 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21863 wine_fn_config_makefile dlls/spoolss enable_spoolss
21864 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21865 wine_fn_config_makefile dlls/sppc enable_sppc
21866 wine_fn_config_makefile dlls/srclient enable_srclient
21867 wine_fn_config_makefile dlls/srvcli enable_srvcli
21868 wine_fn_config_makefile dlls/sspicli enable_sspicli
21869 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21870 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21871 wine_fn_config_makefile dlls/sti enable_sti
21872 wine_fn_config_makefile dlls/sti/tests enable_tests
21873 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21874 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21875 wine_fn_config_makefile dlls/strmdll enable_strmdll
21876 wine_fn_config_makefile dlls/svrapi enable_svrapi
21877 wine_fn_config_makefile dlls/sxs enable_sxs
21878 wine_fn_config_makefile dlls/sxs/tests enable_tests
21879 wine_fn_config_makefile dlls/system.drv16 enable_win16
21880 wine_fn_config_makefile dlls/t2embed enable_t2embed
21881 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21882 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21883 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21884 wine_fn_config_makefile dlls/taskschd enable_taskschd
21885 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21886 wine_fn_config_makefile dlls/tbs enable_tbs
21887 wine_fn_config_makefile dlls/tdh enable_tdh
21888 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21889 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21890 wine_fn_config_makefile dlls/traffic enable_traffic
21891 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21892 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21893 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21894 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21895 wine_fn_config_makefile dlls/tzres enable_tzres
21896 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21897 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21898 wine_fn_config_makefile dlls/uianimation enable_uianimation
21899 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21900 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21901 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21902 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21903 wine_fn_config_makefile dlls/unicows enable_unicows
21904 wine_fn_config_makefile dlls/updspapi enable_updspapi
21905 wine_fn_config_makefile dlls/url enable_url
21906 wine_fn_config_makefile dlls/urlmon enable_urlmon
21907 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21908 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21909 wine_fn_config_makefile dlls/user.exe16 enable_win16
21910 wine_fn_config_makefile dlls/user32 enable_user32
21911 wine_fn_config_makefile dlls/user32/tests enable_tests
21912 wine_fn_config_makefile dlls/userenv enable_userenv
21913 wine_fn_config_makefile dlls/userenv/tests enable_tests
21914 wine_fn_config_makefile dlls/usp10 enable_usp10
21915 wine_fn_config_makefile dlls/usp10/tests enable_tests
21916 wine_fn_config_makefile dlls/utildll enable_utildll
21917 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21918 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21919 wine_fn_config_makefile dlls/vbscript enable_vbscript
21920 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21921 wine_fn_config_makefile dlls/vcomp enable_vcomp
21922 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21923 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21924 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21925 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21926 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21927 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21928 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21929 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21930 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21931 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21932 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21933 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21934 wine_fn_config_makefile dlls/version enable_version
21935 wine_fn_config_makefile dlls/version/tests enable_tests
21936 wine_fn_config_makefile dlls/vga enable_vga
21937 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21938 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21939 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21940 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21941 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21942 wine_fn_config_makefile dlls/vssapi enable_vssapi
21943 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21944 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21945 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21946 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21947 wine_fn_config_makefile dlls/w32skrnl enable_win16
21948 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21949 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21950 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21951 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21952 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21953 wine_fn_config_makefile dlls/wdscore enable_wdscore
21954 wine_fn_config_makefile dlls/webservices enable_webservices
21955 wine_fn_config_makefile dlls/webservices/tests enable_tests
21956 wine_fn_config_makefile dlls/websocket enable_websocket
21957 wine_fn_config_makefile dlls/wer enable_wer
21958 wine_fn_config_makefile dlls/wer/tests enable_tests
21959 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21960 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21961 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21962 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21963 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21964 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21965 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21966 wine_fn_config_makefile dlls/win32u enable_win32u
21967 wine_fn_config_makefile dlls/win32u/tests enable_tests
21968 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21969 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21970 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21971 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21972 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21973 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21974 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21975 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21976 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21977 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21978 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21979 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21980 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21981 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21982 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21983 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21984 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21985 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21986 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21987 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21988 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21989 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21990 wine_fn_config_makefile dlls/wined3d enable_wined3d
21991 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21992 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21993 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21994 wine_fn_config_makefile dlls/winemapi enable_winemapi
21995 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21996 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21997 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21998 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21999 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22000 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22001 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22002 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22003 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22004 wine_fn_config_makefile dlls/wing32 enable_wing32
22005 wine_fn_config_makefile dlls/winhttp enable_winhttp
22006 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22007 wine_fn_config_makefile dlls/wininet enable_wininet
22008 wine_fn_config_makefile dlls/wininet/tests enable_tests
22009 wine_fn_config_makefile dlls/winmm enable_winmm
22010 wine_fn_config_makefile dlls/winmm/tests enable_tests
22011 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22012 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22013 wine_fn_config_makefile dlls/winscard enable_winscard
22014 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22015 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22016 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22017 wine_fn_config_makefile dlls/winsta enable_winsta
22018 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22019 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22020 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22021 wine_fn_config_makefile dlls/wintrust enable_wintrust
22022 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22023 wine_fn_config_makefile dlls/wintypes enable_wintypes
22024 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22025 wine_fn_config_makefile dlls/winusb enable_winusb
22026 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22027 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22028 wine_fn_config_makefile dlls/wlanui enable_wlanui
22029 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22030 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22031 wine_fn_config_makefile dlls/wmasf enable_wmasf
22032 wine_fn_config_makefile dlls/wmi enable_wmi
22033 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22034 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22035 wine_fn_config_makefile dlls/wmp enable_wmp
22036 wine_fn_config_makefile dlls/wmp/tests enable_tests
22037 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22038 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22039 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22040 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22041 wine_fn_config_makefile dlls/wow32 enable_win16
22042 wine_fn_config_makefile dlls/wow64 enable_wow64
22043 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22044 wine_fn_config_makefile dlls/wow64win enable_wow64win
22045 wine_fn_config_makefile dlls/wpc enable_wpc
22046 wine_fn_config_makefile dlls/wpc/tests enable_tests
22047 wine_fn_config_makefile dlls/wpcap enable_wpcap
22048 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22049 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22050 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22051 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22052 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22053 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22054 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22055 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22056 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22057 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22058 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22059 wine_fn_config_makefile dlls/wuapi enable_wuapi
22060 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22061 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22062 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22063 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22064 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22065 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22066 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22067 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22068 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22069 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22070 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22071 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22072 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22073 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22074 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22075 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22076 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22077 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22078 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22079 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22080 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22081 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22082 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22083 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22084 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22085 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22086 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22087 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22088 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22089 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22090 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22091 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22092 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22093 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22094 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22095 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22096 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22097 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22098 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22099 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22100 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22101 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22102 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22103 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22104 wine_fn_config_makefile dlls/xmllite enable_xmllite
22105 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22106 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22107 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22108 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22109 wine_fn_config_makefile fonts enable_fonts
22110 wine_fn_config_makefile include enable_include
22111 wine_fn_config_makefile libs/adsiid enable_adsiid
22112 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22113 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22114 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22115 wine_fn_config_makefile libs/dxguid enable_dxguid
22116 wine_fn_config_makefile libs/faudio enable_faudio
22117 wine_fn_config_makefile libs/gsm enable_gsm
22118 wine_fn_config_makefile libs/jpeg enable_jpeg
22119 wine_fn_config_makefile libs/jxr enable_jxr
22120 wine_fn_config_makefile libs/lcms2 enable_lcms2
22121 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22122 wine_fn_config_makefile libs/mpg123 enable_mpg123
22123 wine_fn_config_makefile libs/png enable_png
22124 wine_fn_config_makefile libs/strmbase enable_strmbase
22125 wine_fn_config_makefile libs/strmiids enable_strmiids
22126 wine_fn_config_makefile libs/tiff enable_tiff
22127 wine_fn_config_makefile libs/uuid enable_uuid
22128 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22129 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22130 wine_fn_config_makefile libs/wine enable_wine
22131 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22132 wine_fn_config_makefile libs/xml2 enable_xml2
22133 wine_fn_config_makefile libs/xslt enable_xslt
22134 wine_fn_config_makefile libs/zlib enable_zlib
22135 wine_fn_config_makefile loader enable_loader
22136 wine_fn_config_makefile nls enable_nls
22137 wine_fn_config_makefile po enable_po
22138 wine_fn_config_makefile programs/arp enable_arp
22139 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22140 wine_fn_config_makefile programs/attrib enable_attrib
22141 wine_fn_config_makefile programs/cabarc enable_cabarc
22142 wine_fn_config_makefile programs/cacls enable_cacls
22143 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22144 wine_fn_config_makefile programs/clock enable_clock
22145 wine_fn_config_makefile programs/cmd enable_cmd
22146 wine_fn_config_makefile programs/cmd/tests enable_tests
22147 wine_fn_config_makefile programs/conhost enable_conhost
22148 wine_fn_config_makefile programs/conhost/tests enable_tests
22149 wine_fn_config_makefile programs/control enable_control
22150 wine_fn_config_makefile programs/cscript enable_cscript
22151 wine_fn_config_makefile programs/dism enable_dism
22152 wine_fn_config_makefile programs/dllhost enable_dllhost
22153 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22154 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22155 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22156 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22157 wine_fn_config_makefile programs/eject enable_eject
22158 wine_fn_config_makefile programs/expand enable_expand
22159 wine_fn_config_makefile programs/explorer enable_explorer
22160 wine_fn_config_makefile programs/extrac32 enable_extrac32
22161 wine_fn_config_makefile programs/fc enable_fc
22162 wine_fn_config_makefile programs/find enable_find
22163 wine_fn_config_makefile programs/find/tests enable_tests
22164 wine_fn_config_makefile programs/findstr enable_findstr
22165 wine_fn_config_makefile programs/fsutil enable_fsutil
22166 wine_fn_config_makefile programs/fsutil/tests enable_tests
22167 wine_fn_config_makefile programs/hh enable_hh
22168 wine_fn_config_makefile programs/hostname enable_hostname
22169 wine_fn_config_makefile programs/icacls enable_icacls
22170 wine_fn_config_makefile programs/icinfo enable_icinfo
22171 wine_fn_config_makefile programs/iexplore enable_iexplore
22172 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22173 wine_fn_config_makefile programs/lodctr enable_lodctr
22174 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22175 wine_fn_config_makefile programs/mshta enable_mshta
22176 wine_fn_config_makefile programs/msidb enable_msidb
22177 wine_fn_config_makefile programs/msiexec enable_msiexec
22178 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22179 wine_fn_config_makefile programs/net enable_net
22180 wine_fn_config_makefile programs/netsh enable_netsh
22181 wine_fn_config_makefile programs/netstat enable_netstat
22182 wine_fn_config_makefile programs/ngen enable_ngen
22183 wine_fn_config_makefile programs/notepad enable_notepad
22184 wine_fn_config_makefile programs/oleview enable_oleview
22185 wine_fn_config_makefile programs/ping enable_ping
22186 wine_fn_config_makefile programs/plugplay enable_plugplay
22187 wine_fn_config_makefile programs/powershell enable_powershell
22188 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22189 wine_fn_config_makefile programs/progman enable_progman
22190 wine_fn_config_makefile programs/reg enable_reg
22191 wine_fn_config_makefile programs/reg/tests enable_tests
22192 wine_fn_config_makefile programs/regasm enable_regasm
22193 wine_fn_config_makefile programs/regedit enable_regedit
22194 wine_fn_config_makefile programs/regedit/tests enable_tests
22195 wine_fn_config_makefile programs/regini enable_regini
22196 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22197 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22198 wine_fn_config_makefile programs/robocopy enable_robocopy
22199 wine_fn_config_makefile programs/rpcss enable_rpcss
22200 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22201 wine_fn_config_makefile programs/rundll32 enable_rundll32
22202 wine_fn_config_makefile programs/sc enable_sc
22203 wine_fn_config_makefile programs/sc/tests enable_tests
22204 wine_fn_config_makefile programs/schtasks enable_schtasks
22205 wine_fn_config_makefile programs/schtasks/tests enable_tests
22206 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22207 wine_fn_config_makefile programs/secedit enable_secedit
22208 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22209 wine_fn_config_makefile programs/services enable_services
22210 wine_fn_config_makefile programs/services/tests enable_tests
22211 wine_fn_config_makefile programs/shutdown enable_shutdown
22212 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22213 wine_fn_config_makefile programs/start enable_start
22214 wine_fn_config_makefile programs/subst enable_subst
22215 wine_fn_config_makefile programs/svchost enable_svchost
22216 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22217 wine_fn_config_makefile programs/taskkill enable_taskkill
22218 wine_fn_config_makefile programs/tasklist enable_tasklist
22219 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22220 wine_fn_config_makefile programs/termsv enable_termsv
22221 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22222 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22223 wine_fn_config_makefile programs/view enable_view
22224 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22225 wine_fn_config_makefile programs/where enable_where
22226 wine_fn_config_makefile programs/whoami enable_whoami
22227 wine_fn_config_makefile programs/wineboot enable_wineboot
22228 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22229 wine_fn_config_makefile programs/winecfg enable_winecfg
22230 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22231 wine_fn_config_makefile programs/winedbg enable_winedbg
22232 wine_fn_config_makefile programs/winedevice enable_winedevice
22233 wine_fn_config_makefile programs/winefile enable_winefile
22234 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22235 wine_fn_config_makefile programs/winemine enable_winemine
22236 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22237 wine_fn_config_makefile programs/winepath enable_winepath
22238 wine_fn_config_makefile programs/winetest enable_winetest
22239 wine_fn_config_makefile programs/winevdm enable_win16
22240 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22241 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22242 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22243 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22244 wine_fn_config_makefile programs/winver enable_winver
22245 wine_fn_config_makefile programs/wmic enable_wmic
22246 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22247 wine_fn_config_makefile programs/wordpad enable_wordpad
22248 wine_fn_config_makefile programs/write enable_write
22249 wine_fn_config_makefile programs/wscript enable_wscript
22250 wine_fn_config_makefile programs/wscript/tests enable_tests
22251 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22252 wine_fn_config_makefile programs/wusa enable_wusa
22253 wine_fn_config_makefile programs/xcopy enable_xcopy
22254 wine_fn_config_makefile programs/xcopy/tests enable_tests
22255 wine_fn_config_makefile server enable_server
22256 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22257 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22258 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22259 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22260 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22261 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22262 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22263 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22264 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22267 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22268 wine_fn_append_file CONFIGURE_TARGETS "tags"
22269 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22270 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22271 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22272 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22273 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22274 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22276 if test "x$enable_tools" != xno
22277 then
22278 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22279 ac_config_commands="$ac_config_commands tools/makedep"
22283 ac_config_commands="$ac_config_commands Makefile"
22287 SHELL=/bin/sh
22290 wine_fn_append_rule "all: wine
22291 @echo \"Wine build complete.\"
22292 .INIT: Makefile
22293 .MAKEFILEDEPS:
22294 all: Makefile
22295 Makefile: config.status \$(MAKEDEP)
22296 @./config.status Makefile
22297 depend: \$(MAKEDEP)
22298 \$(MAKEDEP)$makedep_flags"
22301 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22302 @./config.status --recheck
22303 include/config.h: include/stamp-h
22304 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22305 @./config.status include/config.h include/stamp-h"
22307 if test "x$enable_maintainer_mode" = xyes
22308 then
22309 wine_fn_append_rule "configure: configure.ac aclocal.m4
22310 autoconf --warnings=all
22311 include/config.h.in: include/stamp-h.in
22312 include/stamp-h.in: configure.ac aclocal.m4
22313 autoheader --warnings=all
22314 @echo timestamp > \$@"
22317 if test "x$enable_tools" != xno
22318 then
22319 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22320 @./config.status tools/makedep
22321 Makefile: tools/makedep$ac_exeext"
22322 else
22323 wine_fn_append_rule "\$(MAKEDEP):
22324 @echo \"You need to run make in $toolsdir first\" && false"
22328 if test -n "$with_wine64"
22329 then
22330 case "$with_wine64" in
22331 /*) reldir="" ;;
22332 *) reldir="../" ;;
22333 esac
22334 rm -f fonts server 2>/dev/null
22335 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22336 loader/wine64 loader/wine64-preloader:
22337 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22338 $with_wine64/loader/wine:
22339 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22340 $with_wine64/loader/wine-preloader:
22341 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22342 clean::
22343 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22344 else
22345 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22346 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22347 fonts \
22348 loader/wine.inf \
22349 nls \
22350 programs/msidb/msidb \
22351 programs/msiexec/msiexec \
22352 programs/notepad/notepad \
22353 programs/regedit/regedit \
22354 programs/regsvr32/regsvr32 \
22355 programs/wineboot/wineboot \
22356 programs/winecfg/winecfg \
22357 programs/wineconsole/wineconsole \
22358 programs/winedbg/winedbg \
22359 programs/winefile/winefile \
22360 programs/winemine/winemine \
22361 programs/winepath/winepath \
22362 server/wineserver"
22364 case $host_os in
22365 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22366 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22367 esac
22371 wine_fn_append_rule "distclean:: clean
22372 rm -rf autom4te.cache
22373 maintainer-clean::
22374 rm -f configure include/config.h.in"
22377 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22378 @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)
22379 programs/winetest/build.rc: dummy
22380 @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)
22381 programs/winetest/build.nfo:
22382 @-\$(CC) -v 2>\$@
22383 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
22384 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22385 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22388 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22390 wine_fn_append_rule "TAGS etags:
22391 rm -f TAGS
22392 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22393 tags ctags:
22394 rm -f tags
22395 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22396 dummy:
22397 .PHONY: depend dummy install-manpages"
22399 printf "%s\n" " done" >&6
22400 cat >confcache <<\_ACEOF
22401 # This file is a shell script that caches the results of configure
22402 # tests run on this system so they can be shared between configure
22403 # scripts and configure runs, see configure's option --config-cache.
22404 # It is not useful on other systems. If it contains results you don't
22405 # want to keep, you may remove or edit it.
22407 # config.status only pays attention to the cache file if you give it
22408 # the --recheck option to rerun configure.
22410 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22411 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22412 # following values.
22414 _ACEOF
22416 # The following way of writing the cache mishandles newlines in values,
22417 # but we know of no workaround that is simple, portable, and efficient.
22418 # So, we kill variables containing newlines.
22419 # Ultrix sh set writes to stderr and can't be redirected directly,
22420 # and sets the high bit in the cache file unless we assign to the vars.
22422 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22423 eval ac_val=\$$ac_var
22424 case $ac_val in #(
22425 *${as_nl}*)
22426 case $ac_var in #(
22427 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22428 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22429 esac
22430 case $ac_var in #(
22431 _ | IFS | as_nl) ;; #(
22432 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22433 *) { eval $ac_var=; unset $ac_var;} ;;
22434 esac ;;
22435 esac
22436 done
22438 (set) 2>&1 |
22439 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22440 *${as_nl}ac_space=\ *)
22441 # `set' does not quote correctly, so add quotes: double-quote
22442 # substitution turns \\\\ into \\, and sed turns \\ into \.
22443 sed -n \
22444 "s/'/'\\\\''/g;
22445 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22446 ;; #(
22448 # `set' quotes correctly as required by POSIX, so do not add quotes.
22449 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22451 esac |
22452 sort
22454 sed '
22455 /^ac_cv_env_/b end
22456 t clear
22457 :clear
22458 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22459 t end
22460 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22461 :end' >>confcache
22462 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22463 if test -w "$cache_file"; then
22464 if test "x$cache_file" != "x/dev/null"; then
22465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22466 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22467 if test ! -f "$cache_file" || test -h "$cache_file"; then
22468 cat confcache >"$cache_file"
22469 else
22470 case $cache_file in #(
22471 */* | ?:*)
22472 mv -f confcache "$cache_file"$$ &&
22473 mv -f "$cache_file"$$ "$cache_file" ;; #(
22475 mv -f confcache "$cache_file" ;;
22476 esac
22479 else
22480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22481 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22484 rm -f confcache
22486 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22487 # Let make expand exec_prefix.
22488 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22490 DEFS=-DHAVE_CONFIG_H
22492 ac_libobjs=
22493 ac_ltlibobjs=
22495 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22496 # 1. Remove the extension, and $U if already installed.
22497 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22498 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22499 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22500 # will be set to the directory where LIBOBJS objects are built.
22501 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22502 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22503 done
22504 LIBOBJS=$ac_libobjs
22506 LTLIBOBJS=$ac_ltlibobjs
22510 : "${CONFIG_STATUS=./config.status}"
22511 ac_write_fail=0
22512 ac_clean_files_save=$ac_clean_files
22513 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22515 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22516 as_write_fail=0
22517 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22518 #! $SHELL
22519 # Generated by $as_me.
22520 # Run this file to recreate the current configuration.
22521 # Compiler output produced by configure, useful for debugging
22522 # configure, is in config.log if it exists.
22524 debug=false
22525 ac_cs_recheck=false
22526 ac_cs_silent=false
22528 SHELL=\${CONFIG_SHELL-$SHELL}
22529 export SHELL
22530 _ASEOF
22531 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22532 ## -------------------- ##
22533 ## M4sh Initialization. ##
22534 ## -------------------- ##
22536 # Be more Bourne compatible
22537 DUALCASE=1; export DUALCASE # for MKS sh
22538 as_nop=:
22539 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22540 then :
22541 emulate sh
22542 NULLCMD=:
22543 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22544 # is contrary to our usage. Disable this feature.
22545 alias -g '${1+"$@"}'='"$@"'
22546 setopt NO_GLOB_SUBST
22547 else $as_nop
22548 case `(set -o) 2>/dev/null` in #(
22549 *posix*) :
22550 set -o posix ;; #(
22551 *) :
22553 esac
22558 # Reset variables that may have inherited troublesome values from
22559 # the environment.
22561 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22562 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22563 # side effect of setting IFS to empty, thus disabling word splitting.)
22564 # Quoting is to prevent editors from complaining about space-tab.
22565 as_nl='
22567 export as_nl
22568 IFS=" "" $as_nl"
22570 PS1='$ '
22571 PS2='> '
22572 PS4='+ '
22574 # Ensure predictable behavior from utilities with locale-dependent output.
22575 LC_ALL=C
22576 export LC_ALL
22577 LANGUAGE=C
22578 export LANGUAGE
22580 # We cannot yet rely on "unset" to work, but we need these variables
22581 # to be unset--not just set to an empty or harmless value--now, to
22582 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22583 # also avoids known problems related to "unset" and subshell syntax
22584 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22585 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22586 do eval test \${$as_var+y} \
22587 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22588 done
22590 # Ensure that fds 0, 1, and 2 are open.
22591 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22592 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22593 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22595 # The user is always right.
22596 if ${PATH_SEPARATOR+false} :; then
22597 PATH_SEPARATOR=:
22598 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22599 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22600 PATH_SEPARATOR=';'
22605 # Find who we are. Look in the path if we contain no directory separator.
22606 as_myself=
22607 case $0 in #((
22608 *[\\/]* ) as_myself=$0 ;;
22609 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22610 for as_dir in $PATH
22612 IFS=$as_save_IFS
22613 case $as_dir in #(((
22614 '') as_dir=./ ;;
22615 */) ;;
22616 *) as_dir=$as_dir/ ;;
22617 esac
22618 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22619 done
22620 IFS=$as_save_IFS
22623 esac
22624 # We did not find ourselves, most probably we were run as `sh COMMAND'
22625 # in which case we are not to be found in the path.
22626 if test "x$as_myself" = x; then
22627 as_myself=$0
22629 if test ! -f "$as_myself"; then
22630 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22631 exit 1
22636 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22637 # ----------------------------------------
22638 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22639 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22640 # script with STATUS, using 1 if that was 0.
22641 as_fn_error ()
22643 as_status=$1; test $as_status -eq 0 && as_status=1
22644 if test "$4"; then
22645 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22648 printf "%s\n" "$as_me: error: $2" >&2
22649 as_fn_exit $as_status
22650 } # as_fn_error
22654 # as_fn_set_status STATUS
22655 # -----------------------
22656 # Set $? to STATUS, without forking.
22657 as_fn_set_status ()
22659 return $1
22660 } # as_fn_set_status
22662 # as_fn_exit STATUS
22663 # -----------------
22664 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22665 as_fn_exit ()
22667 set +e
22668 as_fn_set_status $1
22669 exit $1
22670 } # as_fn_exit
22672 # as_fn_unset VAR
22673 # ---------------
22674 # Portably unset VAR.
22675 as_fn_unset ()
22677 { eval $1=; unset $1;}
22679 as_unset=as_fn_unset
22681 # as_fn_append VAR VALUE
22682 # ----------------------
22683 # Append the text in VALUE to the end of the definition contained in VAR. Take
22684 # advantage of any shell optimizations that allow amortized linear growth over
22685 # repeated appends, instead of the typical quadratic growth present in naive
22686 # implementations.
22687 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22688 then :
22689 eval 'as_fn_append ()
22691 eval $1+=\$2
22693 else $as_nop
22694 as_fn_append ()
22696 eval $1=\$$1\$2
22698 fi # as_fn_append
22700 # as_fn_arith ARG...
22701 # ------------------
22702 # Perform arithmetic evaluation on the ARGs, and store the result in the
22703 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22704 # must be portable across $(()) and expr.
22705 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22706 then :
22707 eval 'as_fn_arith ()
22709 as_val=$(( $* ))
22711 else $as_nop
22712 as_fn_arith ()
22714 as_val=`expr "$@" || test $? -eq 1`
22716 fi # as_fn_arith
22719 if expr a : '\(a\)' >/dev/null 2>&1 &&
22720 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22721 as_expr=expr
22722 else
22723 as_expr=false
22726 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22727 as_basename=basename
22728 else
22729 as_basename=false
22732 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22733 as_dirname=dirname
22734 else
22735 as_dirname=false
22738 as_me=`$as_basename -- "$0" ||
22739 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22740 X"$0" : 'X\(//\)$' \| \
22741 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22742 printf "%s\n" X/"$0" |
22743 sed '/^.*\/\([^/][^/]*\)\/*$/{
22744 s//\1/
22747 /^X\/\(\/\/\)$/{
22748 s//\1/
22751 /^X\/\(\/\).*/{
22752 s//\1/
22755 s/.*/./; q'`
22757 # Avoid depending upon Character Ranges.
22758 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22759 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22760 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22761 as_cr_digits='0123456789'
22762 as_cr_alnum=$as_cr_Letters$as_cr_digits
22765 # Determine whether it's possible to make 'echo' print without a newline.
22766 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22767 # for compatibility with existing Makefiles.
22768 ECHO_C= ECHO_N= ECHO_T=
22769 case `echo -n x` in #(((((
22770 -n*)
22771 case `echo 'xy\c'` in
22772 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22773 xy) ECHO_C='\c';;
22774 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22775 ECHO_T=' ';;
22776 esac;;
22778 ECHO_N='-n';;
22779 esac
22781 # For backward compatibility with old third-party macros, we provide
22782 # the shell variables $as_echo and $as_echo_n. New code should use
22783 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22784 as_echo='printf %s\n'
22785 as_echo_n='printf %s'
22787 rm -f conf$$ conf$$.exe conf$$.file
22788 if test -d conf$$.dir; then
22789 rm -f conf$$.dir/conf$$.file
22790 else
22791 rm -f conf$$.dir
22792 mkdir conf$$.dir 2>/dev/null
22794 if (echo >conf$$.file) 2>/dev/null; then
22795 if ln -s conf$$.file conf$$ 2>/dev/null; then
22796 as_ln_s='ln -s'
22797 # ... but there are two gotchas:
22798 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22799 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22800 # In both cases, we have to default to `cp -pR'.
22801 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22802 as_ln_s='cp -pR'
22803 elif ln conf$$.file conf$$ 2>/dev/null; then
22804 as_ln_s=ln
22805 else
22806 as_ln_s='cp -pR'
22808 else
22809 as_ln_s='cp -pR'
22811 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22812 rmdir conf$$.dir 2>/dev/null
22815 # as_fn_mkdir_p
22816 # -------------
22817 # Create "$as_dir" as a directory, including parents if necessary.
22818 as_fn_mkdir_p ()
22821 case $as_dir in #(
22822 -*) as_dir=./$as_dir;;
22823 esac
22824 test -d "$as_dir" || eval $as_mkdir_p || {
22825 as_dirs=
22826 while :; do
22827 case $as_dir in #(
22828 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22829 *) as_qdir=$as_dir;;
22830 esac
22831 as_dirs="'$as_qdir' $as_dirs"
22832 as_dir=`$as_dirname -- "$as_dir" ||
22833 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22834 X"$as_dir" : 'X\(//\)[^/]' \| \
22835 X"$as_dir" : 'X\(//\)$' \| \
22836 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22837 printf "%s\n" X"$as_dir" |
22838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22839 s//\1/
22842 /^X\(\/\/\)[^/].*/{
22843 s//\1/
22846 /^X\(\/\/\)$/{
22847 s//\1/
22850 /^X\(\/\).*/{
22851 s//\1/
22854 s/.*/./; q'`
22855 test -d "$as_dir" && break
22856 done
22857 test -z "$as_dirs" || eval "mkdir $as_dirs"
22858 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22861 } # as_fn_mkdir_p
22862 if mkdir -p . 2>/dev/null; then
22863 as_mkdir_p='mkdir -p "$as_dir"'
22864 else
22865 test -d ./-p && rmdir ./-p
22866 as_mkdir_p=false
22870 # as_fn_executable_p FILE
22871 # -----------------------
22872 # Test if FILE is an executable regular file.
22873 as_fn_executable_p ()
22875 test -f "$1" && test -x "$1"
22876 } # as_fn_executable_p
22877 as_test_x='test -x'
22878 as_executable_p=as_fn_executable_p
22880 # Sed expression to map a string onto a valid CPP name.
22881 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22883 # Sed expression to map a string onto a valid variable name.
22884 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22887 exec 6>&1
22888 ## ----------------------------------- ##
22889 ## Main body of $CONFIG_STATUS script. ##
22890 ## ----------------------------------- ##
22891 _ASEOF
22892 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22895 # Save the log message, to keep $0 and so on meaningful, and to
22896 # report actual input values of CONFIG_FILES etc. instead of their
22897 # values after options handling.
22898 ac_log="
22899 This file was extended by Wine $as_me 7.11, which was
22900 generated by GNU Autoconf 2.71. Invocation command line was
22902 CONFIG_FILES = $CONFIG_FILES
22903 CONFIG_HEADERS = $CONFIG_HEADERS
22904 CONFIG_LINKS = $CONFIG_LINKS
22905 CONFIG_COMMANDS = $CONFIG_COMMANDS
22906 $ $0 $@
22908 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22911 _ACEOF
22914 case $ac_config_headers in *"
22915 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22916 esac
22919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22920 # Files that config.status was made for.
22921 config_headers="$ac_config_headers"
22922 config_links="$ac_config_links"
22923 config_commands="$ac_config_commands"
22925 _ACEOF
22927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22928 ac_cs_usage="\
22929 \`$as_me' instantiates files and other configuration actions
22930 from templates according to the current configuration. Unless the files
22931 and actions are specified as TAGs, all are instantiated by default.
22933 Usage: $0 [OPTION]... [TAG]...
22935 -h, --help print this help, then exit
22936 -V, --version print version number and configuration settings, then exit
22937 --config print configuration, then exit
22938 -q, --quiet, --silent
22939 do not print progress messages
22940 -d, --debug don't remove temporary files
22941 --recheck update $as_me by reconfiguring in the same conditions
22942 --header=FILE[:TEMPLATE]
22943 instantiate the configuration header FILE
22945 Configuration headers:
22946 $config_headers
22948 Configuration links:
22949 $config_links
22951 Configuration commands:
22952 $config_commands
22954 Report bugs to <wine-devel@winehq.org>.
22955 Wine home page: <https://www.winehq.org>."
22957 _ACEOF
22958 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22959 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22961 ac_cs_config='$ac_cs_config_escaped'
22962 ac_cs_version="\\
22963 Wine config.status 7.11
22964 configured by $0, generated by GNU Autoconf 2.71,
22965 with options \\"\$ac_cs_config\\"
22967 Copyright (C) 2021 Free Software Foundation, Inc.
22968 This config.status script is free software; the Free Software Foundation
22969 gives unlimited permission to copy, distribute and modify it."
22971 ac_pwd='$ac_pwd'
22972 srcdir='$srcdir'
22973 test -n "\$AWK" || AWK=awk
22974 _ACEOF
22976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22977 # The default lists apply if the user does not specify any file.
22978 ac_need_defaults=:
22979 while test $# != 0
22981 case $1 in
22982 --*=?*)
22983 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22984 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22985 ac_shift=:
22987 --*=)
22988 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22989 ac_optarg=
22990 ac_shift=:
22993 ac_option=$1
22994 ac_optarg=$2
22995 ac_shift=shift
22997 esac
22999 case $ac_option in
23000 # Handling of the options.
23001 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23002 ac_cs_recheck=: ;;
23003 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23004 printf "%s\n" "$ac_cs_version"; exit ;;
23005 --config | --confi | --conf | --con | --co | --c )
23006 printf "%s\n" "$ac_cs_config"; exit ;;
23007 --debug | --debu | --deb | --de | --d | -d )
23008 debug=: ;;
23009 --header | --heade | --head | --hea )
23010 $ac_shift
23011 case $ac_optarg in
23012 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23013 esac
23014 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23015 ac_need_defaults=false;;
23016 --he | --h)
23017 # Conflict between --help and --header
23018 as_fn_error $? "ambiguous option: \`$1'
23019 Try \`$0 --help' for more information.";;
23020 --help | --hel | -h )
23021 printf "%s\n" "$ac_cs_usage"; exit ;;
23022 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23023 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23024 ac_cs_silent=: ;;
23026 # This is an error.
23027 -*) as_fn_error $? "unrecognized option: \`$1'
23028 Try \`$0 --help' for more information." ;;
23030 *) as_fn_append ac_config_targets " $1"
23031 ac_need_defaults=false ;;
23033 esac
23034 shift
23035 done
23037 ac_configure_extra_args=
23039 if $ac_cs_silent; then
23040 exec 6>/dev/null
23041 ac_configure_extra_args="$ac_configure_extra_args --silent"
23044 _ACEOF
23045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23046 if \$ac_cs_recheck; then
23047 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23048 shift
23049 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23050 CONFIG_SHELL='$SHELL'
23051 export CONFIG_SHELL
23052 exec "\$@"
23055 _ACEOF
23056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23057 exec 5>>config.log
23059 echo
23060 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23061 ## Running $as_me. ##
23062 _ASBOX
23063 printf "%s\n" "$ac_log"
23064 } >&5
23066 _ACEOF
23067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23069 # INIT-COMMANDS
23071 wine_fn_output_makedep ()
23073 as_dir=tools; as_fn_mkdir_p
23074 $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
23076 wine_fn_output_makefile ()
23078 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23079 # This Makefile understands the following targets:
23081 # all (default): build wine
23082 # clean: remove all intermediate files
23083 # distclean: also remove all files created by configure
23084 # test: run tests
23085 # testclean: clean test results to force running all tests again
23086 # install-lib: install libraries needed to run applications
23087 # install-dev: install development environment
23088 # install: install everything
23089 # uninstall: uninstall everything
23090 # ctags: create a tags file for vim and others.
23091 # etags: create a TAGS file for Emacs.
23093 SHELL = $SHELL
23094 PATH_SEPARATOR = $PATH_SEPARATOR
23095 PACKAGE_NAME = $PACKAGE_NAME
23096 PACKAGE_TARNAME = $PACKAGE_TARNAME
23097 PACKAGE_VERSION = $PACKAGE_VERSION
23098 PACKAGE_STRING = $PACKAGE_STRING
23099 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23100 PACKAGE_URL = $PACKAGE_URL
23101 exec_prefix = $exec_prefix
23102 prefix = $prefix
23103 program_transform_name = $program_transform_name
23104 bindir = $bindir
23105 sbindir = $sbindir
23106 libexecdir = $libexecdir
23107 datarootdir = $datarootdir
23108 datadir = $datadir
23109 sysconfdir = $sysconfdir
23110 sharedstatedir = $sharedstatedir
23111 localstatedir = $localstatedir
23112 runstatedir = $runstatedir
23113 includedir = $includedir
23114 oldincludedir = $oldincludedir
23115 docdir = $docdir
23116 infodir = $infodir
23117 htmldir = $htmldir
23118 dvidir = $dvidir
23119 pdfdir = $pdfdir
23120 psdir = $psdir
23121 libdir = $libdir
23122 localedir = $localedir
23123 mandir = $mandir
23124 DEFS = $DEFS
23125 ECHO_C = $ECHO_C
23126 ECHO_N = $ECHO_N
23127 ECHO_T = $ECHO_T
23128 LIBS = $LIBS
23129 build_alias = $build_alias
23130 host_alias = $host_alias
23131 target_alias = $target_alias
23132 system_dllpath = $system_dllpath
23133 build = $build
23134 build_cpu = $build_cpu
23135 build_vendor = $build_vendor
23136 build_os = $build_os
23137 host = $host
23138 host_cpu = $host_cpu
23139 host_vendor = $host_vendor
23140 host_os = $host_os
23141 dlldir = $dlldir
23142 fontdir = $fontdir
23143 nlsdir = $nlsdir
23144 srcdir = $srcdir
23145 SET_MAKE = $SET_MAKE
23146 CC = $CC
23147 CFLAGS = $CFLAGS
23148 LDFLAGS = $LDFLAGS
23149 CPPFLAGS = $CPPFLAGS
23150 ac_ct_CC = $ac_ct_CC
23151 EXEEXT = $EXEEXT
23152 OBJEXT = $OBJEXT
23153 CXX = $CXX
23154 CXXFLAGS = $CXXFLAGS
23155 ac_ct_CXX = $ac_ct_CXX
23156 CPPBIN = $CPPBIN
23157 LD = $LD
23158 TARGETFLAGS = $TARGETFLAGS
23159 toolsext = $toolsext
23160 toolsdir = $toolsdir
23161 MAKEDEP = $MAKEDEP
23162 RUNTESTFLAGS = $RUNTESTFLAGS
23163 SED_CMD = $SED_CMD
23164 FLEX = $FLEX
23165 BISON = $BISON
23166 AR = $AR
23167 ac_ct_AR = $ac_ct_AR
23168 STRIP = $STRIP
23169 RANLIB = $RANLIB
23170 LN_S = $LN_S
23171 GREP = $GREP
23172 EGREP = $EGREP
23173 LDCONFIG = $LDCONFIG
23174 MSGFMT = $MSGFMT
23175 PKG_CONFIG = $PKG_CONFIG
23176 FONTFORGE = $FONTFORGE
23177 RSVG = $RSVG
23178 CONVERT = $CONVERT
23179 ICOTOOL = $ICOTOOL
23180 I386_LIBS = $I386_LIBS
23181 OPENGL_LIBS = $OPENGL_LIBS
23182 DLLFLAGS = $DLLFLAGS
23183 LDDLLFLAGS = $LDDLLFLAGS
23184 LDEXECFLAGS = $LDEXECFLAGS
23185 EXTRACFLAGS = $EXTRACFLAGS
23186 UNIXDLLFLAGS = $UNIXDLLFLAGS
23187 UNIXLDFLAGS = $UNIXLDFLAGS
23188 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23189 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23190 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23191 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23192 LDD = $LDD
23193 OTOOL = $OTOOL
23194 READELF = $READELF
23195 SUBDIRS = $SUBDIRS
23196 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23197 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23198 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23199 DLLTOOL = $DLLTOOL
23200 OBJC = $OBJC
23201 OBJCFLAGS = $OBJCFLAGS
23202 ac_ct_OBJC = $ac_ct_OBJC
23203 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23204 IOKIT_LIBS = $IOKIT_LIBS
23205 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23206 CORESERVICES_LIBS = $CORESERVICES_LIBS
23207 APPKIT_LIBS = $APPKIT_LIBS
23208 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23209 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23210 SECURITY_LIBS = $SECURITY_LIBS
23211 COREAUDIO_LIBS = $COREAUDIO_LIBS
23212 OPENAL_LIBS = $OPENAL_LIBS
23213 OPENCL_LIBS = $OPENCL_LIBS
23214 CARBON_LIBS = $CARBON_LIBS
23215 METAL_LIBS = $METAL_LIBS
23216 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23217 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23218 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23219 PRELINK = $PRELINK
23220 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23221 CROSSTARGET = $CROSSTARGET
23222 CROSSCC = $CROSSCC
23223 CROSSCFLAGS = $CROSSCFLAGS
23224 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23225 CROSSLDFLAGS = $CROSSLDFLAGS
23226 DELAYLOADFLAG = $DELAYLOADFLAG
23227 CROSSDEBUG = $CROSSDEBUG
23228 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23229 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23230 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23231 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23232 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23233 GSM_PE_LIBS = $GSM_PE_LIBS
23234 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23235 JPEG_PE_LIBS = $JPEG_PE_LIBS
23236 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23237 JXR_PE_LIBS = $JXR_PE_LIBS
23238 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23239 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23240 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23241 MPG123_PE_LIBS = $MPG123_PE_LIBS
23242 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23243 PNG_PE_LIBS = $PNG_PE_LIBS
23244 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23245 TIFF_PE_LIBS = $TIFF_PE_LIBS
23246 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23247 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23248 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23249 XML2_PE_LIBS = $XML2_PE_LIBS
23250 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23251 XSLT_PE_LIBS = $XSLT_PE_LIBS
23252 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23253 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23254 PTHREAD_LIBS = $PTHREAD_LIBS
23255 XMKMF = $XMKMF
23256 CPP = $CPP
23257 X_CFLAGS = $X_CFLAGS
23258 X_PRE_LIBS = $X_PRE_LIBS
23259 X_LIBS = $X_LIBS
23260 X_EXTRA_LIBS = $X_EXTRA_LIBS
23261 PCAP_LIBS = $PCAP_LIBS
23262 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23263 INOTIFY_LIBS = $INOTIFY_LIBS
23264 DBUS_CFLAGS = $DBUS_CFLAGS
23265 DBUS_LIBS = $DBUS_LIBS
23266 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23267 GNUTLS_LIBS = $GNUTLS_LIBS
23268 SANE_CFLAGS = $SANE_CFLAGS
23269 SANE_LIBS = $SANE_LIBS
23270 USB_CFLAGS = $USB_CFLAGS
23271 USB_LIBS = $USB_LIBS
23272 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23273 GPHOTO2_LIBS = $GPHOTO2_LIBS
23274 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23275 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23276 RESOLV_LIBS = $RESOLV_LIBS
23277 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23278 FREETYPE_LIBS = $FREETYPE_LIBS
23279 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23280 PULSE_CFLAGS = $PULSE_CFLAGS
23281 PULSE_LIBS = $PULSE_LIBS
23282 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23283 GSTREAMER_LIBS = $GSTREAMER_LIBS
23284 ALSA_LIBS = $ALSA_LIBS
23285 OSS4_CFLAGS = $OSS4_CFLAGS
23286 OSS4_LIBS = $OSS4_LIBS
23287 UDEV_CFLAGS = $UDEV_CFLAGS
23288 UDEV_LIBS = $UDEV_LIBS
23289 UNWIND_CFLAGS = $UNWIND_CFLAGS
23290 UNWIND_LIBS = $UNWIND_LIBS
23291 SDL2_CFLAGS = $SDL2_CFLAGS
23292 SDL2_LIBS = $SDL2_LIBS
23293 CAPI20_CFLAGS = $CAPI20_CFLAGS
23294 CAPI20_LIBS = $CAPI20_LIBS
23295 CUPS_CFLAGS = $CUPS_CFLAGS
23296 CUPS_LIBS = $CUPS_LIBS
23297 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23298 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23299 KRB5_CFLAGS = $KRB5_CFLAGS
23300 KRB5_LIBS = $KRB5_LIBS
23301 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23302 GSSAPI_LIBS = $GSSAPI_LIBS
23303 PROCSTAT_LIBS = $PROCSTAT_LIBS
23304 NETAPI_CFLAGS = $NETAPI_CFLAGS
23305 NETAPI_LIBS = $NETAPI_LIBS
23306 MSVCRTFLAGS = $MSVCRTFLAGS
23307 RT_LIBS = $RT_LIBS
23308 LDAP_CFLAGS = $LDAP_CFLAGS
23309 LDAP_LIBS = $LDAP_LIBS
23310 TAGSFLAGS = $TAGSFLAGS
23311 LIBOBJS = $LIBOBJS
23312 LTLIBOBJS = $LTLIBOBJS
23313 $SET_MAKE
23314 $wine_rules
23315 _WINE_EOF
23316 as_fn_error $? "could not create Makefile" "$LINENO" 5
23319 _ACEOF
23321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23323 # Handling of arguments.
23324 for ac_config_target in $ac_config_targets
23326 case $ac_config_target in
23327 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23328 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23329 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23330 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23331 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23332 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23334 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23335 esac
23336 done
23339 # If the user did not use the arguments to specify the items to instantiate,
23340 # then the envvar interface is used. Set only those that are not.
23341 # We use the long form for the default assignment because of an extremely
23342 # bizarre bug on SunOS 4.1.3.
23343 if $ac_need_defaults; then
23344 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23345 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23346 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23349 # Have a temporary directory for convenience. Make it in the build tree
23350 # simply because there is no reason against having it here, and in addition,
23351 # creating and moving files from /tmp can sometimes cause problems.
23352 # Hook for its removal unless debugging.
23353 # Note that there is a small window in which the directory will not be cleaned:
23354 # after its creation but before its name has been assigned to `$tmp'.
23355 $debug ||
23357 tmp= ac_tmp=
23358 trap 'exit_status=$?
23359 : "${ac_tmp:=$tmp}"
23360 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23362 trap 'as_fn_exit 1' 1 2 13 15
23364 # Create a (secure) tmp directory for tmp files.
23367 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23368 test -d "$tmp"
23369 } ||
23371 tmp=./conf$$-$RANDOM
23372 (umask 077 && mkdir "$tmp")
23373 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23374 ac_tmp=$tmp
23376 # Set up the scripts for CONFIG_HEADERS section.
23377 # No need to generate them if there are no CONFIG_HEADERS.
23378 # This happens for instance with `./config.status Makefile'.
23379 if test -n "$CONFIG_HEADERS"; then
23380 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23381 BEGIN {
23382 _ACEOF
23384 # Transform confdefs.h into an awk script `defines.awk', embedded as
23385 # here-document in config.status, that substitutes the proper values into
23386 # config.h.in to produce config.h.
23388 # Create a delimiter string that does not exist in confdefs.h, to ease
23389 # handling of long lines.
23390 ac_delim='%!_!# '
23391 for ac_last_try in false false :; do
23392 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23393 if test -z "$ac_tt"; then
23394 break
23395 elif $ac_last_try; then
23396 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23397 else
23398 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23400 done
23402 # For the awk script, D is an array of macro values keyed by name,
23403 # likewise P contains macro parameters if any. Preserve backslash
23404 # newline sequences.
23406 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23407 sed -n '
23408 s/.\{148\}/&'"$ac_delim"'/g
23409 t rset
23410 :rset
23411 s/^[ ]*#[ ]*define[ ][ ]*/ /
23412 t def
23414 :def
23415 s/\\$//
23416 t bsnl
23417 s/["\\]/\\&/g
23418 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23419 D["\1"]=" \3"/p
23420 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23422 :bsnl
23423 s/["\\]/\\&/g
23424 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23425 D["\1"]=" \3\\\\\\n"\\/p
23426 t cont
23427 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23428 t cont
23430 :cont
23432 s/.\{148\}/&'"$ac_delim"'/g
23433 t clear
23434 :clear
23435 s/\\$//
23436 t bsnlc
23437 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23439 :bsnlc
23440 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23441 b cont
23442 ' <confdefs.h | sed '
23443 s/'"$ac_delim"'/"\\\
23444 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23447 for (key in D) D_is_set[key] = 1
23448 FS = "\a"
23450 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23451 line = \$ 0
23452 split(line, arg, " ")
23453 if (arg[1] == "#") {
23454 defundef = arg[2]
23455 mac1 = arg[3]
23456 } else {
23457 defundef = substr(arg[1], 2)
23458 mac1 = arg[2]
23460 split(mac1, mac2, "(") #)
23461 macro = mac2[1]
23462 prefix = substr(line, 1, index(line, defundef) - 1)
23463 if (D_is_set[macro]) {
23464 # Preserve the white space surrounding the "#".
23465 print prefix "define", macro P[macro] D[macro]
23466 next
23467 } else {
23468 # Replace #undef with comments. This is necessary, for example,
23469 # in the case of _POSIX_SOURCE, which is predefined and required
23470 # on some systems where configure will not decide to define it.
23471 if (defundef == "undef") {
23472 print "/*", prefix defundef, macro, "*/"
23473 next
23477 { print }
23478 _ACAWK
23479 _ACEOF
23480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23481 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23482 fi # test -n "$CONFIG_HEADERS"
23485 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23486 shift
23487 for ac_tag
23489 case $ac_tag in
23490 :[FHLC]) ac_mode=$ac_tag; continue;;
23491 esac
23492 case $ac_mode$ac_tag in
23493 :[FHL]*:*);;
23494 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23495 :[FH]-) ac_tag=-:-;;
23496 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23497 esac
23498 ac_save_IFS=$IFS
23499 IFS=:
23500 set x $ac_tag
23501 IFS=$ac_save_IFS
23502 shift
23503 ac_file=$1
23504 shift
23506 case $ac_mode in
23507 :L) ac_source=$1;;
23508 :[FH])
23509 ac_file_inputs=
23510 for ac_f
23512 case $ac_f in
23513 -) ac_f="$ac_tmp/stdin";;
23514 *) # Look for the file first in the build tree, then in the source tree
23515 # (if the path is not absolute). The absolute path cannot be DOS-style,
23516 # because $ac_f cannot contain `:'.
23517 test -f "$ac_f" ||
23518 case $ac_f in
23519 [\\/$]*) false;;
23520 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23521 esac ||
23522 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23523 esac
23524 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23525 as_fn_append ac_file_inputs " '$ac_f'"
23526 done
23528 # Let's still pretend it is `configure' which instantiates (i.e., don't
23529 # use $as_me), people would be surprised to read:
23530 # /* config.h. Generated by config.status. */
23531 configure_input='Generated from '`
23532 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23533 `' by configure.'
23534 if test x"$ac_file" != x-; then
23535 configure_input="$ac_file. $configure_input"
23536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23537 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23539 # Neutralize special characters interpreted by sed in replacement strings.
23540 case $configure_input in #(
23541 *\&* | *\|* | *\\* )
23542 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23543 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23544 *) ac_sed_conf_input=$configure_input;;
23545 esac
23547 case $ac_tag in
23548 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23549 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23550 esac
23552 esac
23554 ac_dir=`$as_dirname -- "$ac_file" ||
23555 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23556 X"$ac_file" : 'X\(//\)[^/]' \| \
23557 X"$ac_file" : 'X\(//\)$' \| \
23558 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23559 printf "%s\n" X"$ac_file" |
23560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23561 s//\1/
23564 /^X\(\/\/\)[^/].*/{
23565 s//\1/
23568 /^X\(\/\/\)$/{
23569 s//\1/
23572 /^X\(\/\).*/{
23573 s//\1/
23576 s/.*/./; q'`
23577 as_dir="$ac_dir"; as_fn_mkdir_p
23578 ac_builddir=.
23580 case "$ac_dir" in
23581 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23583 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23584 # A ".." for each directory in $ac_dir_suffix.
23585 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23586 case $ac_top_builddir_sub in
23587 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23588 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23589 esac ;;
23590 esac
23591 ac_abs_top_builddir=$ac_pwd
23592 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23593 # for backward compatibility:
23594 ac_top_builddir=$ac_top_build_prefix
23596 case $srcdir in
23597 .) # We are building in place.
23598 ac_srcdir=.
23599 ac_top_srcdir=$ac_top_builddir_sub
23600 ac_abs_top_srcdir=$ac_pwd ;;
23601 [\\/]* | ?:[\\/]* ) # Absolute name.
23602 ac_srcdir=$srcdir$ac_dir_suffix;
23603 ac_top_srcdir=$srcdir
23604 ac_abs_top_srcdir=$srcdir ;;
23605 *) # Relative name.
23606 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23607 ac_top_srcdir=$ac_top_build_prefix$srcdir
23608 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23609 esac
23610 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23613 case $ac_mode in
23617 # CONFIG_HEADER
23619 if test x"$ac_file" != x-; then
23621 printf "%s\n" "/* $configure_input */" >&1 \
23622 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23623 } >"$ac_tmp/config.h" \
23624 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23625 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23627 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23628 else
23629 rm -f "$ac_file"
23630 mv "$ac_tmp/config.h" "$ac_file" \
23631 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23633 else
23634 printf "%s\n" "/* $configure_input */" >&1 \
23635 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23636 || as_fn_error $? "could not create -" "$LINENO" 5
23641 # CONFIG_LINK
23644 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23646 else
23647 # Prefer the file from the source tree if names are identical.
23648 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23649 ac_source=$srcdir/$ac_source
23652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23653 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23655 if test ! -r "$ac_source"; then
23656 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23658 rm -f "$ac_file"
23660 # Try a relative symlink, then a hard link, then a copy.
23661 case $ac_source in
23662 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23663 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23664 esac
23665 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23666 ln "$ac_source" "$ac_file" 2>/dev/null ||
23667 cp -p "$ac_source" "$ac_file" ||
23668 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23671 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23672 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23674 esac
23677 case $ac_file$ac_mode in
23678 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23679 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23680 "Makefile":C) wine_fn_output_makefile Makefile ;;
23682 esac
23683 done # for ac_tag
23686 as_fn_exit 0
23687 _ACEOF
23688 ac_clean_files=$ac_clean_files_save
23690 test $ac_write_fail = 0 ||
23691 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23694 # configure is writing to config.log, and then calls config.status.
23695 # config.status does its own redirection, appending to config.log.
23696 # Unfortunately, on DOS this fails, as config.log is still kept open
23697 # by configure, so config.status won't be able to write to it; its
23698 # output is simply discarded. So we exec the FD to /dev/null,
23699 # effectively closing config.log, so it can be properly (re)opened and
23700 # appended to by config.status. When coming back to configure, we
23701 # need to make the FD available again.
23702 if test "$no_create" != yes; then
23703 ac_cs_success=:
23704 ac_config_status_args=
23705 test "$silent" = yes &&
23706 ac_config_status_args="$ac_config_status_args --quiet"
23707 exec 5>/dev/null
23708 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23709 exec 5>>config.log
23710 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23711 # would make configure fail if this is the last instruction.
23712 $ac_cs_success || as_fn_exit 1
23714 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23716 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23720 if test "$no_create" = "yes"
23721 then
23722 exit 0
23725 ac_save_IFS="$IFS"
23726 if test "x$wine_notices" != x; then
23727 echo >&6
23728 IFS="|"
23729 for msg in $wine_notices; do
23730 IFS="$ac_save_IFS"
23731 if ${msg:+false} :
23732 then :
23734 else $as_nop
23735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23736 printf "%s\n" "$as_me: $msg" >&6;}
23738 done
23740 IFS="|"
23741 for msg in $wine_warnings; do
23742 IFS="$ac_save_IFS"
23743 if ${msg:+false} :
23744 then :
23746 else $as_nop
23747 echo >&2
23748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23749 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23751 done
23752 IFS="$ac_save_IFS"
23754 printf "%s\n" "
23755 $as_me: Finished. Do '${ac_make}' to compile Wine.
23756 " >&6