kernel32: Make Global* traces and identifiers more consistent.
[wine.git] / configure
blobce248cc6e1d93c976b09608062846e91e8764aa8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.5.
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.5'
615 PACKAGE_STRING='Wine 7.5'
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_iccvid
1124 enable_icmp
1125 enable_ieframe
1126 enable_ieproxy
1127 enable_imaadp32_acm
1128 enable_imagehlp
1129 enable_imm32
1130 enable_inetcomm
1131 enable_inetcpl_cpl
1132 enable_inetmib1
1133 enable_infosoft
1134 enable_initpki
1135 enable_inkobj
1136 enable_inseng
1137 enable_iphlpapi
1138 enable_iprop
1139 enable_irprops_cpl
1140 enable_itircl
1141 enable_itss
1142 enable_joy_cpl
1143 enable_jscript
1144 enable_jsproxy
1145 enable_kerberos
1146 enable_kernel32
1147 enable_kernelbase
1148 enable_ksecdd_sys
1149 enable_ksproxy_ax
1150 enable_ksuser
1151 enable_ktmw32
1152 enable_l3codeca_acm
1153 enable_light_msstyles
1154 enable_loadperf
1155 enable_localspl
1156 enable_localui
1157 enable_lz32
1158 enable_mapi32
1159 enable_mapistub
1160 enable_mciavi32
1161 enable_mcicda
1162 enable_mciqtz32
1163 enable_mciseq
1164 enable_mciwave
1165 enable_mf
1166 enable_mf3216
1167 enable_mferror
1168 enable_mfmediaengine
1169 enable_mfplat
1170 enable_mfplay
1171 enable_mfreadwrite
1172 enable_mgmtapi
1173 enable_midimap
1174 enable_mlang
1175 enable_mmcndmgr
1176 enable_mmdevapi
1177 enable_mountmgr_sys
1178 enable_mp3dmod
1179 enable_mpr
1180 enable_mprapi
1181 enable_msacm32_drv
1182 enable_msacm32
1183 enable_msado15
1184 enable_msadp32_acm
1185 enable_msasn1
1186 enable_mscat32
1187 enable_mscms
1188 enable_mscoree
1189 enable_mscorwks
1190 enable_msctf
1191 enable_msctfmonitor
1192 enable_msctfp
1193 enable_msdaps
1194 enable_msdasql
1195 enable_msdelta
1196 enable_msdmo
1197 enable_msdrm
1198 enable_msftedit
1199 enable_msg711_acm
1200 enable_msgsm32_acm
1201 enable_mshtml_tlb
1202 enable_mshtml
1203 enable_msi
1204 enable_msident
1205 enable_msimg32
1206 enable_msimsg
1207 enable_msimtf
1208 enable_msisip
1209 enable_msisys_ocx
1210 enable_msls31
1211 enable_msnet32
1212 enable_mspatcha
1213 enable_msports
1214 enable_msrle32
1215 enable_msscript_ocx
1216 enable_mssign32
1217 enable_mssip32
1218 enable_mstask
1219 enable_msv1_0
1220 enable_msvcirt
1221 enable_msvcm80
1222 enable_msvcm90
1223 enable_msvcp100
1224 enable_msvcp110
1225 enable_msvcp120
1226 enable_msvcp120_app
1227 enable_msvcp140
1228 enable_msvcp140_1
1229 enable_msvcp140_atomic_wait
1230 enable_msvcp60
1231 enable_msvcp70
1232 enable_msvcp71
1233 enable_msvcp80
1234 enable_msvcp90
1235 enable_msvcp_win
1236 enable_msvcr100
1237 enable_msvcr110
1238 enable_msvcr120
1239 enable_msvcr120_app
1240 enable_msvcr70
1241 enable_msvcr71
1242 enable_msvcr80
1243 enable_msvcr90
1244 enable_msvcrt
1245 enable_msvcrt20
1246 enable_msvcrt40
1247 enable_msvcrtd
1248 enable_msvfw32
1249 enable_msvidc32
1250 enable_mswsock
1251 enable_msxml
1252 enable_msxml2
1253 enable_msxml3
1254 enable_msxml4
1255 enable_msxml6
1256 enable_mtxdm
1257 enable_ncrypt
1258 enable_nddeapi
1259 enable_ndis_sys
1260 enable_netapi32
1261 enable_netcfgx
1262 enable_netio_sys
1263 enable_netprofm
1264 enable_netutils
1265 enable_newdev
1266 enable_ninput
1267 enable_normaliz
1268 enable_npmshtml
1269 enable_npptools
1270 enable_nsi
1271 enable_nsiproxy_sys
1272 enable_ntdll
1273 enable_ntdsapi
1274 enable_ntoskrnl_exe
1275 enable_ntprint
1276 enable_objsel
1277 enable_odbc32
1278 enable_odbcbcp
1279 enable_odbccp32
1280 enable_odbccu32
1281 enable_ole32
1282 enable_oleacc
1283 enable_oleaut32
1284 enable_olecli32
1285 enable_oledb32
1286 enable_oledlg
1287 enable_olepro32
1288 enable_olesvr32
1289 enable_olethk32
1290 enable_opcservices
1291 enable_openal32
1292 enable_opencl
1293 enable_opengl32
1294 enable_packager
1295 enable_pdh
1296 enable_photometadatahandler
1297 enable_pidgen
1298 enable_powrprof
1299 enable_printui
1300 enable_prntvpt
1301 enable_propsys
1302 enable_psapi
1303 enable_pstorec
1304 enable_pwrshplugin
1305 enable_qasf
1306 enable_qcap
1307 enable_qdvd
1308 enable_qedit
1309 enable_qmgr
1310 enable_qmgrprxy
1311 enable_quartz
1312 enable_query
1313 enable_qwave
1314 enable_rasapi32
1315 enable_rasdlg
1316 enable_regapi
1317 enable_resutils
1318 enable_riched20
1319 enable_riched32
1320 enable_rpcrt4
1321 enable_rsabase
1322 enable_rsaenh
1323 enable_rstrtmgr
1324 enable_rtutils
1325 enable_rtworkq
1326 enable_samlib
1327 enable_sane_ds
1328 enable_sapi
1329 enable_sas
1330 enable_scarddlg
1331 enable_sccbase
1332 enable_schannel
1333 enable_schedsvc
1334 enable_scrobj
1335 enable_scrrun
1336 enable_scsiport_sys
1337 enable_sechost
1338 enable_secur32
1339 enable_security
1340 enable_sensapi
1341 enable_serialui
1342 enable_setupapi
1343 enable_sfc
1344 enable_sfc_os
1345 enable_shcore
1346 enable_shdoclc
1347 enable_shdocvw
1348 enable_shell32
1349 enable_shfolder
1350 enable_shlwapi
1351 enable_slbcsp
1352 enable_slc
1353 enable_snmpapi
1354 enable_softpub
1355 enable_spoolss
1356 enable_sppc
1357 enable_srclient
1358 enable_srvcli
1359 enable_sspicli
1360 enable_stdole2_tlb
1361 enable_stdole32_tlb
1362 enable_sti
1363 enable_strmdll
1364 enable_svrapi
1365 enable_sxs
1366 enable_t2embed
1367 enable_tapi32
1368 enable_taskschd
1369 enable_tbs
1370 enable_tdh
1371 enable_tdi_sys
1372 enable_traffic
1373 enable_twain_32
1374 enable_tzres
1375 enable_ucrtbase
1376 enable_uianimation
1377 enable_uiautomationcore
1378 enable_uiribbon
1379 enable_unicows
1380 enable_updspapi
1381 enable_url
1382 enable_urlmon
1383 enable_usbd_sys
1384 enable_user32
1385 enable_userenv
1386 enable_usp10
1387 enable_utildll
1388 enable_uxtheme
1389 enable_vbscript
1390 enable_vcomp
1391 enable_vcomp100
1392 enable_vcomp110
1393 enable_vcomp120
1394 enable_vcomp140
1395 enable_vcomp90
1396 enable_vcruntime140
1397 enable_vcruntime140_1
1398 enable_vdmdbg
1399 enable_version
1400 enable_vga
1401 enable_virtdisk
1402 enable_vssapi
1403 enable_vulkan_1
1404 enable_wbemdisp
1405 enable_wbemprox
1406 enable_wdscore
1407 enable_webservices
1408 enable_websocket
1409 enable_wer
1410 enable_wevtapi
1411 enable_wevtsvc
1412 enable_wiaservc
1413 enable_wimgapi
1414 enable_win32u
1415 enable_windows_devices_enumeration
1416 enable_windows_gaming_input
1417 enable_windows_globalization
1418 enable_windows_media_devices
1419 enable_windows_media_speech
1420 enable_windowscodecs
1421 enable_windowscodecsext
1422 enable_winealsa_drv
1423 enable_wineandroid_drv
1424 enable_winebus_sys
1425 enable_winecoreaudio_drv
1426 enable_winecrt0
1427 enable_wined3d
1428 enable_winegstreamer
1429 enable_winehid_sys
1430 enable_winemac_drv
1431 enable_winemapi
1432 enable_wineoss_drv
1433 enable_wineps_drv
1434 enable_winepulse_drv
1435 enable_wineusb_sys
1436 enable_winevulkan
1437 enable_winex11_drv
1438 enable_winexinput_sys
1439 enable_wing32
1440 enable_winhttp
1441 enable_wininet
1442 enable_winmm
1443 enable_winnls32
1444 enable_winscard
1445 enable_winspool_drv
1446 enable_winsta
1447 enable_wintab32
1448 enable_wintrust
1449 enable_winusb
1450 enable_wlanapi
1451 enable_wlanui
1452 enable_wldap32
1453 enable_wmadmod
1454 enable_wmasf
1455 enable_wmi
1456 enable_wmiutils
1457 enable_wmp
1458 enable_wmphoto
1459 enable_wmvcore
1460 enable_wnaspi32
1461 enable_wow64
1462 enable_wow64cpu
1463 enable_wow64win
1464 enable_wpc
1465 enable_wpcap
1466 enable_ws2_32
1467 enable_wsdapi
1468 enable_wshom_ocx
1469 enable_wsnmp32
1470 enable_wsock32
1471 enable_wtsapi32
1472 enable_wuapi
1473 enable_wuaueng
1474 enable_x3daudio1_0
1475 enable_x3daudio1_1
1476 enable_x3daudio1_2
1477 enable_x3daudio1_3
1478 enable_x3daudio1_4
1479 enable_x3daudio1_5
1480 enable_x3daudio1_6
1481 enable_x3daudio1_7
1482 enable_xactengine2_0
1483 enable_xactengine2_4
1484 enable_xactengine2_7
1485 enable_xactengine2_9
1486 enable_xactengine3_0
1487 enable_xactengine3_1
1488 enable_xactengine3_2
1489 enable_xactengine3_3
1490 enable_xactengine3_4
1491 enable_xactengine3_5
1492 enable_xactengine3_6
1493 enable_xactengine3_7
1494 enable_xapofx1_1
1495 enable_xapofx1_2
1496 enable_xapofx1_3
1497 enable_xapofx1_4
1498 enable_xapofx1_5
1499 enable_xaudio2_0
1500 enable_xaudio2_1
1501 enable_xaudio2_2
1502 enable_xaudio2_3
1503 enable_xaudio2_4
1504 enable_xaudio2_5
1505 enable_xaudio2_6
1506 enable_xaudio2_7
1507 enable_xaudio2_8
1508 enable_xaudio2_9
1509 enable_xinput1_1
1510 enable_xinput1_2
1511 enable_xinput1_3
1512 enable_xinput1_4
1513 enable_xinput9_1_0
1514 enable_xmllite
1515 enable_xolehlp
1516 enable_xpsprint
1517 enable_xpssvcs
1518 enable_fonts
1519 enable_include
1520 enable_adsiid
1521 enable_dmoguids
1522 enable_dxerr8
1523 enable_dxerr9
1524 enable_dxguid
1525 enable_faudio
1526 enable_gsm
1527 enable_jpeg
1528 enable_jxr
1529 enable_lcms2
1530 enable_mfuuid
1531 enable_mpg123
1532 enable_png
1533 enable_strmbase
1534 enable_strmiids
1535 enable_tiff
1536 enable_uuid
1537 enable_vkd3d
1538 enable_wbemuuid
1539 enable_wine
1540 enable_wmcodecdspuuid
1541 enable_xml2
1542 enable_xslt
1543 enable_zlib
1544 enable_loader
1545 enable_nls
1546 enable_po
1547 enable_arp
1548 enable_aspnet_regiis
1549 enable_attrib
1550 enable_cabarc
1551 enable_cacls
1552 enable_chcp_com
1553 enable_clock
1554 enable_cmd
1555 enable_conhost
1556 enable_control
1557 enable_cscript
1558 enable_dism
1559 enable_dllhost
1560 enable_dplaysvr
1561 enable_dpnsvr
1562 enable_dpvsetup
1563 enable_dxdiag
1564 enable_eject
1565 enable_expand
1566 enable_explorer
1567 enable_extrac32
1568 enable_fc
1569 enable_find
1570 enable_findstr
1571 enable_fsutil
1572 enable_hh
1573 enable_hostname
1574 enable_icacls
1575 enable_icinfo
1576 enable_iexplore
1577 enable_ipconfig
1578 enable_lodctr
1579 enable_mofcomp
1580 enable_mshta
1581 enable_msidb
1582 enable_msiexec
1583 enable_msinfo32
1584 enable_net
1585 enable_netsh
1586 enable_netstat
1587 enable_ngen
1588 enable_notepad
1589 enable_oleview
1590 enable_ping
1591 enable_plugplay
1592 enable_powershell
1593 enable_presentationfontcache
1594 enable_progman
1595 enable_reg
1596 enable_regasm
1597 enable_regedit
1598 enable_regini
1599 enable_regsvcs
1600 enable_regsvr32
1601 enable_robocopy
1602 enable_rpcss
1603 enable_rundll32
1604 enable_sc
1605 enable_schtasks
1606 enable_sdbinst
1607 enable_secedit
1608 enable_servicemodelreg
1609 enable_services
1610 enable_shutdown
1611 enable_spoolsv
1612 enable_start
1613 enable_subst
1614 enable_svchost
1615 enable_systeminfo
1616 enable_taskkill
1617 enable_tasklist
1618 enable_taskmgr
1619 enable_termsv
1620 enable_uninstaller
1621 enable_unlodctr
1622 enable_view
1623 enable_wevtutil
1624 enable_where
1625 enable_whoami
1626 enable_wineboot
1627 enable_winebrowser
1628 enable_winecfg
1629 enable_wineconsole
1630 enable_winedbg
1631 enable_winedevice
1632 enable_winefile
1633 enable_winemenubuilder
1634 enable_winemine
1635 enable_winemsibuilder
1636 enable_winepath
1637 enable_winetest
1638 enable_winhlp32
1639 enable_winmgmt
1640 enable_winver
1641 enable_wmic
1642 enable_wmplayer
1643 enable_wordpad
1644 enable_write
1645 enable_wscript
1646 enable_wuauserv
1647 enable_wusa
1648 enable_xcopy
1649 enable_server
1650 enable_tools
1651 enable_sfnt2fon
1652 enable_widl
1653 enable_winebuild
1654 enable_winedump
1655 enable_winegcc
1656 enable_winemaker
1657 enable_wmc
1658 enable_wrc
1660 ac_precious_vars='build_alias
1661 host_alias
1662 target_alias
1664 CFLAGS
1665 LDFLAGS
1666 LIBS
1667 CPPFLAGS
1669 CXXFLAGS
1671 OBJC
1672 OBJCFLAGS
1673 FAUDIO_PE_CFLAGS
1674 FAUDIO_PE_LIBS
1675 GSM_PE_CFLAGS
1676 GSM_PE_LIBS
1677 JPEG_PE_CFLAGS
1678 JPEG_PE_LIBS
1679 JXR_PE_CFLAGS
1680 JXR_PE_LIBS
1681 LCMS2_PE_CFLAGS
1682 LCMS2_PE_LIBS
1683 MPG123_PE_CFLAGS
1684 MPG123_PE_LIBS
1685 PNG_PE_CFLAGS
1686 PNG_PE_LIBS
1687 TIFF_PE_CFLAGS
1688 TIFF_PE_LIBS
1689 VKD3D_PE_CFLAGS
1690 VKD3D_PE_LIBS
1691 XML2_PE_CFLAGS
1692 XML2_PE_LIBS
1693 XSLT_PE_CFLAGS
1694 XSLT_PE_LIBS
1695 ZLIB_PE_CFLAGS
1696 ZLIB_PE_LIBS
1697 XMKMF
1699 INOTIFY_CFLAGS
1700 INOTIFY_LIBS
1701 DBUS_CFLAGS
1702 DBUS_LIBS
1703 GNUTLS_CFLAGS
1704 GNUTLS_LIBS
1705 SANE_CFLAGS
1706 SANE_LIBS
1707 USB_CFLAGS
1708 USB_LIBS
1709 GPHOTO2_CFLAGS
1710 GPHOTO2_LIBS
1711 GPHOTO2_PORT_CFLAGS
1712 GPHOTO2_PORT_LIBS
1713 FREETYPE_CFLAGS
1714 FREETYPE_LIBS
1715 PULSE_CFLAGS
1716 PULSE_LIBS
1717 GSTREAMER_CFLAGS
1718 GSTREAMER_LIBS
1719 UDEV_CFLAGS
1720 UDEV_LIBS
1721 UNWIND_CFLAGS
1722 UNWIND_LIBS
1723 SDL2_CFLAGS
1724 SDL2_LIBS
1725 CAPI20_CFLAGS
1726 CAPI20_LIBS
1727 CUPS_CFLAGS
1728 CUPS_LIBS
1729 FONTCONFIG_CFLAGS
1730 FONTCONFIG_LIBS
1731 KRB5_CFLAGS
1732 KRB5_LIBS
1733 GSSAPI_CFLAGS
1734 GSSAPI_LIBS
1735 NETAPI_CFLAGS
1736 NETAPI_LIBS
1737 LDAP_CFLAGS
1738 LDAP_LIBS'
1741 # Initialize some variables set by options.
1742 ac_init_help=
1743 ac_init_version=false
1744 ac_unrecognized_opts=
1745 ac_unrecognized_sep=
1746 # The variables have the same names as the options, with
1747 # dashes changed to underlines.
1748 cache_file=/dev/null
1749 exec_prefix=NONE
1750 no_create=
1751 no_recursion=
1752 prefix=NONE
1753 program_prefix=NONE
1754 program_suffix=NONE
1755 program_transform_name=s,x,x,
1756 silent=
1757 site=
1758 srcdir=
1759 verbose=
1760 x_includes=NONE
1761 x_libraries=NONE
1763 # Installation directory options.
1764 # These are left unexpanded so users can "make install exec_prefix=/foo"
1765 # and all the variables that are supposed to be based on exec_prefix
1766 # by default will actually change.
1767 # Use braces instead of parens because sh, perl, etc. also accept them.
1768 # (The list follows the same order as the GNU Coding Standards.)
1769 bindir='${exec_prefix}/bin'
1770 sbindir='${exec_prefix}/sbin'
1771 libexecdir='${exec_prefix}/libexec'
1772 datarootdir='${prefix}/share'
1773 datadir='${datarootdir}'
1774 sysconfdir='${prefix}/etc'
1775 sharedstatedir='${prefix}/com'
1776 localstatedir='${prefix}/var'
1777 runstatedir='${localstatedir}/run'
1778 includedir='${prefix}/include'
1779 oldincludedir='/usr/include'
1780 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1781 infodir='${datarootdir}/info'
1782 htmldir='${docdir}'
1783 dvidir='${docdir}'
1784 pdfdir='${docdir}'
1785 psdir='${docdir}'
1786 libdir='${exec_prefix}/lib'
1787 localedir='${datarootdir}/locale'
1788 mandir='${datarootdir}/man'
1790 ac_prev=
1791 ac_dashdash=
1792 for ac_option
1794 # If the previous option needs an argument, assign it.
1795 if test -n "$ac_prev"; then
1796 eval $ac_prev=\$ac_option
1797 ac_prev=
1798 continue
1801 case $ac_option in
1802 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1803 *=) ac_optarg= ;;
1804 *) ac_optarg=yes ;;
1805 esac
1807 case $ac_dashdash$ac_option in
1809 ac_dashdash=yes ;;
1811 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1812 ac_prev=bindir ;;
1813 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1814 bindir=$ac_optarg ;;
1816 -build | --build | --buil | --bui | --bu)
1817 ac_prev=build_alias ;;
1818 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1819 build_alias=$ac_optarg ;;
1821 -cache-file | --cache-file | --cache-fil | --cache-fi \
1822 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1823 ac_prev=cache_file ;;
1824 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1825 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1826 cache_file=$ac_optarg ;;
1828 --config-cache | -C)
1829 cache_file=config.cache ;;
1831 -datadir | --datadir | --datadi | --datad)
1832 ac_prev=datadir ;;
1833 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1834 datadir=$ac_optarg ;;
1836 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1837 | --dataroo | --dataro | --datar)
1838 ac_prev=datarootdir ;;
1839 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1840 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1841 datarootdir=$ac_optarg ;;
1843 -disable-* | --disable-*)
1844 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1845 # Reject names that are not valid shell variable names.
1846 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1847 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1848 ac_useropt_orig=$ac_useropt
1849 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1850 case $ac_user_opts in
1852 "enable_$ac_useropt"
1853 "*) ;;
1854 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1855 ac_unrecognized_sep=', ';;
1856 esac
1857 eval enable_$ac_useropt=no ;;
1859 -docdir | --docdir | --docdi | --doc | --do)
1860 ac_prev=docdir ;;
1861 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1862 docdir=$ac_optarg ;;
1864 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1865 ac_prev=dvidir ;;
1866 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1867 dvidir=$ac_optarg ;;
1869 -enable-* | --enable-*)
1870 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1871 # Reject names that are not valid shell variable names.
1872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1873 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1874 ac_useropt_orig=$ac_useropt
1875 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1876 case $ac_user_opts in
1878 "enable_$ac_useropt"
1879 "*) ;;
1880 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1881 ac_unrecognized_sep=', ';;
1882 esac
1883 eval enable_$ac_useropt=\$ac_optarg ;;
1885 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1886 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1887 | --exec | --exe | --ex)
1888 ac_prev=exec_prefix ;;
1889 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1890 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1891 | --exec=* | --exe=* | --ex=*)
1892 exec_prefix=$ac_optarg ;;
1894 -gas | --gas | --ga | --g)
1895 # Obsolete; use --with-gas.
1896 with_gas=yes ;;
1898 -help | --help | --hel | --he | -h)
1899 ac_init_help=long ;;
1900 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1901 ac_init_help=recursive ;;
1902 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1903 ac_init_help=short ;;
1905 -host | --host | --hos | --ho)
1906 ac_prev=host_alias ;;
1907 -host=* | --host=* | --hos=* | --ho=*)
1908 host_alias=$ac_optarg ;;
1910 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1911 ac_prev=htmldir ;;
1912 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1913 | --ht=*)
1914 htmldir=$ac_optarg ;;
1916 -includedir | --includedir | --includedi | --included | --include \
1917 | --includ | --inclu | --incl | --inc)
1918 ac_prev=includedir ;;
1919 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1920 | --includ=* | --inclu=* | --incl=* | --inc=*)
1921 includedir=$ac_optarg ;;
1923 -infodir | --infodir | --infodi | --infod | --info | --inf)
1924 ac_prev=infodir ;;
1925 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1926 infodir=$ac_optarg ;;
1928 -libdir | --libdir | --libdi | --libd)
1929 ac_prev=libdir ;;
1930 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1931 libdir=$ac_optarg ;;
1933 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1934 | --libexe | --libex | --libe)
1935 ac_prev=libexecdir ;;
1936 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1937 | --libexe=* | --libex=* | --libe=*)
1938 libexecdir=$ac_optarg ;;
1940 -localedir | --localedir | --localedi | --localed | --locale)
1941 ac_prev=localedir ;;
1942 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1943 localedir=$ac_optarg ;;
1945 -localstatedir | --localstatedir | --localstatedi | --localstated \
1946 | --localstate | --localstat | --localsta | --localst | --locals)
1947 ac_prev=localstatedir ;;
1948 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1949 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1950 localstatedir=$ac_optarg ;;
1952 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1953 ac_prev=mandir ;;
1954 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1955 mandir=$ac_optarg ;;
1957 -nfp | --nfp | --nf)
1958 # Obsolete; use --without-fp.
1959 with_fp=no ;;
1961 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1962 | --no-cr | --no-c | -n)
1963 no_create=yes ;;
1965 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1966 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1967 no_recursion=yes ;;
1969 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1970 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1971 | --oldin | --oldi | --old | --ol | --o)
1972 ac_prev=oldincludedir ;;
1973 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1974 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1975 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1976 oldincludedir=$ac_optarg ;;
1978 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1979 ac_prev=prefix ;;
1980 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1981 prefix=$ac_optarg ;;
1983 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1984 | --program-pre | --program-pr | --program-p)
1985 ac_prev=program_prefix ;;
1986 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1987 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1988 program_prefix=$ac_optarg ;;
1990 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1991 | --program-suf | --program-su | --program-s)
1992 ac_prev=program_suffix ;;
1993 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1994 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1995 program_suffix=$ac_optarg ;;
1997 -program-transform-name | --program-transform-name \
1998 | --program-transform-nam | --program-transform-na \
1999 | --program-transform-n | --program-transform- \
2000 | --program-transform | --program-transfor \
2001 | --program-transfo | --program-transf \
2002 | --program-trans | --program-tran \
2003 | --progr-tra | --program-tr | --program-t)
2004 ac_prev=program_transform_name ;;
2005 -program-transform-name=* | --program-transform-name=* \
2006 | --program-transform-nam=* | --program-transform-na=* \
2007 | --program-transform-n=* | --program-transform-=* \
2008 | --program-transform=* | --program-transfor=* \
2009 | --program-transfo=* | --program-transf=* \
2010 | --program-trans=* | --program-tran=* \
2011 | --progr-tra=* | --program-tr=* | --program-t=*)
2012 program_transform_name=$ac_optarg ;;
2014 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2015 ac_prev=pdfdir ;;
2016 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2017 pdfdir=$ac_optarg ;;
2019 -psdir | --psdir | --psdi | --psd | --ps)
2020 ac_prev=psdir ;;
2021 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2022 psdir=$ac_optarg ;;
2024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2025 | -silent | --silent | --silen | --sile | --sil)
2026 silent=yes ;;
2028 -runstatedir | --runstatedir | --runstatedi | --runstated \
2029 | --runstate | --runstat | --runsta | --runst | --runs \
2030 | --run | --ru | --r)
2031 ac_prev=runstatedir ;;
2032 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2033 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2034 | --run=* | --ru=* | --r=*)
2035 runstatedir=$ac_optarg ;;
2037 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2038 ac_prev=sbindir ;;
2039 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2040 | --sbi=* | --sb=*)
2041 sbindir=$ac_optarg ;;
2043 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2044 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2045 | --sharedst | --shareds | --shared | --share | --shar \
2046 | --sha | --sh)
2047 ac_prev=sharedstatedir ;;
2048 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2049 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2050 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2051 | --sha=* | --sh=*)
2052 sharedstatedir=$ac_optarg ;;
2054 -site | --site | --sit)
2055 ac_prev=site ;;
2056 -site=* | --site=* | --sit=*)
2057 site=$ac_optarg ;;
2059 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2060 ac_prev=srcdir ;;
2061 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2062 srcdir=$ac_optarg ;;
2064 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2065 | --syscon | --sysco | --sysc | --sys | --sy)
2066 ac_prev=sysconfdir ;;
2067 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2068 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2069 sysconfdir=$ac_optarg ;;
2071 -target | --target | --targe | --targ | --tar | --ta | --t)
2072 ac_prev=target_alias ;;
2073 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2074 target_alias=$ac_optarg ;;
2076 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2077 verbose=yes ;;
2079 -version | --version | --versio | --versi | --vers | -V)
2080 ac_init_version=: ;;
2082 -with-* | --with-*)
2083 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2084 # Reject names that are not valid shell variable names.
2085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2086 as_fn_error $? "invalid package name: \`$ac_useropt'"
2087 ac_useropt_orig=$ac_useropt
2088 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2089 case $ac_user_opts in
2091 "with_$ac_useropt"
2092 "*) ;;
2093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2094 ac_unrecognized_sep=', ';;
2095 esac
2096 eval with_$ac_useropt=\$ac_optarg ;;
2098 -without-* | --without-*)
2099 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2100 # Reject names that are not valid shell variable names.
2101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2102 as_fn_error $? "invalid package name: \`$ac_useropt'"
2103 ac_useropt_orig=$ac_useropt
2104 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2105 case $ac_user_opts in
2107 "with_$ac_useropt"
2108 "*) ;;
2109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2110 ac_unrecognized_sep=', ';;
2111 esac
2112 eval with_$ac_useropt=no ;;
2114 --x)
2115 # Obsolete; use --with-x.
2116 with_x=yes ;;
2118 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2119 | --x-incl | --x-inc | --x-in | --x-i)
2120 ac_prev=x_includes ;;
2121 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2122 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2123 x_includes=$ac_optarg ;;
2125 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2126 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2127 ac_prev=x_libraries ;;
2128 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2129 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2130 x_libraries=$ac_optarg ;;
2132 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2133 Try \`$0 --help' for more information"
2136 *=*)
2137 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2138 # Reject names that are not valid shell variable names.
2139 case $ac_envvar in #(
2140 '' | [0-9]* | *[!_$as_cr_alnum]* )
2141 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2142 esac
2143 eval $ac_envvar=\$ac_optarg
2144 export $ac_envvar ;;
2147 # FIXME: should be removed in autoconf 3.0.
2148 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2150 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2151 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2154 esac
2155 done
2157 if test -n "$ac_prev"; then
2158 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2159 as_fn_error $? "missing argument to $ac_option"
2162 if test -n "$ac_unrecognized_opts"; then
2163 case $enable_option_checking in
2164 no) ;;
2165 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2166 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2167 esac
2170 # Check all directory arguments for consistency.
2171 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2172 datadir sysconfdir sharedstatedir localstatedir includedir \
2173 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2174 libdir localedir mandir runstatedir
2176 eval ac_val=\$$ac_var
2177 # Remove trailing slashes.
2178 case $ac_val in
2179 */ )
2180 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2181 eval $ac_var=\$ac_val;;
2182 esac
2183 # Be sure to have absolute directory names.
2184 case $ac_val in
2185 [\\/$]* | ?:[\\/]* ) continue;;
2186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2187 esac
2188 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2189 done
2191 # There might be people who depend on the old broken behavior: `$host'
2192 # used to hold the argument of --host etc.
2193 # FIXME: To remove some day.
2194 build=$build_alias
2195 host=$host_alias
2196 target=$target_alias
2198 # FIXME: To remove some day.
2199 if test "x$host_alias" != x; then
2200 if test "x$build_alias" = x; then
2201 cross_compiling=maybe
2202 elif test "x$build_alias" != "x$host_alias"; then
2203 cross_compiling=yes
2207 ac_tool_prefix=
2208 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2210 test "$silent" = yes && exec 6>/dev/null
2213 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2214 ac_ls_di=`ls -di .` &&
2215 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2216 as_fn_error $? "working directory cannot be determined"
2217 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2218 as_fn_error $? "pwd does not report name of working directory"
2221 # Find the source files, if location was not specified.
2222 if test -z "$srcdir"; then
2223 ac_srcdir_defaulted=yes
2224 # Try the directory containing this script, then the parent directory.
2225 ac_confdir=`$as_dirname -- "$as_myself" ||
2226 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2227 X"$as_myself" : 'X\(//\)[^/]' \| \
2228 X"$as_myself" : 'X\(//\)$' \| \
2229 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2230 printf "%s\n" X"$as_myself" |
2231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2232 s//\1/
2235 /^X\(\/\/\)[^/].*/{
2236 s//\1/
2239 /^X\(\/\/\)$/{
2240 s//\1/
2243 /^X\(\/\).*/{
2244 s//\1/
2247 s/.*/./; q'`
2248 srcdir=$ac_confdir
2249 if test ! -r "$srcdir/$ac_unique_file"; then
2250 srcdir=..
2252 else
2253 ac_srcdir_defaulted=no
2255 if test ! -r "$srcdir/$ac_unique_file"; then
2256 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2257 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2259 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2260 ac_abs_confdir=`(
2261 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2262 pwd)`
2263 # When building in place, set srcdir=.
2264 if test "$ac_abs_confdir" = "$ac_pwd"; then
2265 srcdir=.
2267 # Remove unnecessary trailing slashes from srcdir.
2268 # Double slashes in file names in object file debugging info
2269 # mess up M-x gdb in Emacs.
2270 case $srcdir in
2271 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2272 esac
2273 for ac_var in $ac_precious_vars; do
2274 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2275 eval ac_env_${ac_var}_value=\$${ac_var}
2276 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2277 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2278 done
2281 # Report the --help message.
2283 if test "$ac_init_help" = "long"; then
2284 # Omit some internal or obsolete options to make the list less imposing.
2285 # This message is too long to be a string in the A/UX 3.1 sh.
2286 cat <<_ACEOF
2287 \`configure' configures Wine 7.5 to adapt to many kinds of systems.
2289 Usage: $0 [OPTION]... [VAR=VALUE]...
2291 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2292 VAR=VALUE. See below for descriptions of some of the useful variables.
2294 Defaults for the options are specified in brackets.
2296 Configuration:
2297 -h, --help display this help and exit
2298 --help=short display options specific to this package
2299 --help=recursive display the short help of all the included packages
2300 -V, --version display version information and exit
2301 -q, --quiet, --silent do not print \`checking ...' messages
2302 --cache-file=FILE cache test results in FILE [disabled]
2303 -C, --config-cache alias for \`--cache-file=config.cache'
2304 -n, --no-create do not create output files
2305 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2307 Installation directories:
2308 --prefix=PREFIX install architecture-independent files in PREFIX
2309 [$ac_default_prefix]
2310 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2311 [PREFIX]
2313 By default, \`make install' will install all the files in
2314 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2315 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2316 for instance \`--prefix=\$HOME'.
2318 For better control, use the options below.
2320 Fine tuning of the installation directories:
2321 --bindir=DIR user executables [EPREFIX/bin]
2322 --sbindir=DIR system admin executables [EPREFIX/sbin]
2323 --libexecdir=DIR program executables [EPREFIX/libexec]
2324 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2325 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2326 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2327 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2328 --libdir=DIR object code libraries [EPREFIX/lib]
2329 --includedir=DIR C header files [PREFIX/include]
2330 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2331 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2332 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2333 --infodir=DIR info documentation [DATAROOTDIR/info]
2334 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2335 --mandir=DIR man documentation [DATAROOTDIR/man]
2336 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2337 --htmldir=DIR html documentation [DOCDIR]
2338 --dvidir=DIR dvi documentation [DOCDIR]
2339 --pdfdir=DIR pdf documentation [DOCDIR]
2340 --psdir=DIR ps documentation [DOCDIR]
2341 _ACEOF
2343 cat <<\_ACEOF
2345 X features:
2346 --x-includes=DIR X include files are in DIR
2347 --x-libraries=DIR X library files are in DIR
2349 System types:
2350 --build=BUILD configure for building on BUILD [guessed]
2351 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2352 _ACEOF
2355 if test -n "$ac_init_help"; then
2356 case $ac_init_help in
2357 short | recursive ) echo "Configuration of Wine 7.5:";;
2358 esac
2359 cat <<\_ACEOF
2361 Optional Features:
2362 --disable-option-checking ignore unrecognized --enable/--with options
2363 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2364 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2365 --disable-win16 do not include Win16 support
2366 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2367 binaries)
2368 --disable-tests do not build the regression tests
2369 --enable-build-id include .buildid section in output objects
2370 --enable-maintainer-mode
2371 enable maintainer-specific build rules
2372 --enable-silent-rules use silent build rules (override: "make V=1")
2373 --enable-werror treat compilation warnings as errors
2374 --disable-largefile omit support for large files
2376 Optional Packages:
2377 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2378 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2379 --without-alsa do not use the Alsa sound support
2380 --without-capi do not use CAPI (ISDN support)
2381 --without-coreaudio do not use the CoreAudio sound support
2382 --without-cups do not use CUPS
2383 --without-dbus do not use DBus (dynamic device support)
2384 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2385 --without-fontconfig do not use fontconfig
2386 --without-freetype do not use the FreeType library
2387 --without-gettext do not use gettext
2388 --with-gettextpo use the GetTextPO library to rebuild po files
2389 --without-gphoto do not use gphoto (Digital Camera support)
2390 --without-gnutls do not use GnuTLS (schannel support)
2391 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2392 --without-gstreamer do not use GStreamer (codecs support)
2393 --without-inotify do not use inotify (filesystem change notifications)
2394 --without-krb5 do not use krb5 (Kerberos)
2395 --without-ldap do not use LDAP
2396 --without-mingw do not use the MinGW cross-compiler
2397 --without-netapi do not use the Samba NetAPI library
2398 --without-openal do not use OpenAL
2399 --without-opencl do not use OpenCL
2400 --without-opengl do not use OpenGL
2401 --without-osmesa do not use the OSMesa library
2402 --without-oss do not use the OSS sound support
2403 --without-pcap do not use the Packet Capture library
2404 --without-pthread do not use the pthread library
2405 --without-pulse do not use PulseAudio sound support
2406 --without-sane do not use SANE (scanner support)
2407 --without-sdl do not use SDL
2408 --without-udev do not use udev (plug and play support)
2409 --without-unwind do not use the libunwind library (exception
2410 handling)
2411 --without-usb do not use the libusb library
2412 --without-v4l2 do not use v4l2 (video capture)
2413 --without-vulkan do not use Vulkan
2414 --without-xcomposite do not use the Xcomposite extension
2415 --without-xcursor do not use the Xcursor extension
2416 --without-xfixes do not use Xfixes for clipboard change notifications
2417 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2418 --without-xinput do not use the Xinput extension
2419 --without-xinput2 do not use the Xinput 2 extension
2420 --without-xrandr do not use Xrandr (multi-monitor support)
2421 --without-xrender do not use the Xrender extension
2422 --without-xshape do not use the Xshape extension
2423 --without-xshm do not use XShm (shared memory extension)
2424 --without-xxf86vm do not use XFree video mode extension
2425 --with-system-dllpath=PATH
2426 load external PE dependencies from colon-separated
2427 path PATH
2428 --with-wine-tools=DIR use Wine tools from directory DIR
2429 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2430 --with-x use the X Window System
2432 Some influential environment variables:
2433 CC C compiler command
2434 CFLAGS C compiler flags
2435 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2436 nonstandard directory <lib dir>
2437 LIBS libraries to pass to the linker, e.g. -l<library>
2438 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2439 you have headers in a nonstandard directory <include dir>
2440 CXX C++ compiler command
2441 CXXFLAGS C++ compiler flags
2442 OBJC Objective C compiler command
2443 OBJCFLAGS Objective C compiler flags
2444 FAUDIO_PE_CFLAGS
2445 C compiler flags for the PE faudio, overriding the bundled
2446 version
2447 FAUDIO_PE_LIBS
2448 Linker flags for the PE faudio, overriding the bundled version
2449 GSM_PE_CFLAGS
2450 C compiler flags for the PE gsm, overriding the bundled version
2451 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2452 JPEG_PE_CFLAGS
2453 C compiler flags for the PE jpeg, overriding the bundled version
2454 JPEG_PE_LIBS
2455 Linker flags for the PE jpeg, overriding the bundled version
2456 JXR_PE_CFLAGS
2457 C compiler flags for the PE jxr, overriding the bundled version
2458 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2459 LCMS2_PE_CFLAGS
2460 C compiler flags for the PE lcms2, overriding the bundled
2461 version
2462 LCMS2_PE_LIBS
2463 Linker flags for the PE lcms2, overriding the bundled version
2464 MPG123_PE_CFLAGS
2465 C compiler flags for the PE mpg123, overriding the bundled
2466 version
2467 MPG123_PE_LIBS
2468 Linker flags for the PE mpg123, overriding the bundled version
2469 PNG_PE_CFLAGS
2470 C compiler flags for the PE png, overriding the bundled version
2471 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2472 TIFF_PE_CFLAGS
2473 C compiler flags for the PE tiff, overriding the bundled version
2474 TIFF_PE_LIBS
2475 Linker flags for the PE tiff, overriding the bundled version
2476 VKD3D_PE_CFLAGS
2477 C compiler flags for the PE vkd3d, overriding the bundled
2478 version
2479 VKD3D_PE_LIBS
2480 Linker flags for the PE vkd3d, overriding the bundled version
2481 XML2_PE_CFLAGS
2482 C compiler flags for the PE xml2, overriding the bundled version
2483 XML2_PE_LIBS
2484 Linker flags for the PE xml2, overriding the bundled version
2485 XSLT_PE_CFLAGS
2486 C compiler flags for the PE xslt, overriding the bundled version
2487 XSLT_PE_LIBS
2488 Linker flags for the PE xslt, overriding the bundled version
2489 ZLIB_PE_CFLAGS
2490 C compiler flags for the PE zlib, overriding the bundled version
2491 ZLIB_PE_LIBS
2492 Linker flags for the PE zlib, overriding the bundled version
2493 XMKMF Path to xmkmf, Makefile generator for X Window System
2494 CPP C preprocessor
2495 INOTIFY_CFLAGS
2496 C compiler flags for libinotify, overriding pkg-config
2497 INOTIFY_LIBS
2498 Linker flags for libinotify, overriding pkg-config
2499 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2500 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2501 GNUTLS_CFLAGS
2502 C compiler flags for gnutls, overriding pkg-config
2503 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2504 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2505 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2506 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2507 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2508 GPHOTO2_CFLAGS
2509 C compiler flags for libgphoto2, overriding pkg-config
2510 GPHOTO2_LIBS
2511 Linker flags for libgphoto2, overriding pkg-config
2512 GPHOTO2_PORT_CFLAGS
2513 C compiler flags for libgphoto2_port, overriding pkg-config
2514 GPHOTO2_PORT_LIBS
2515 Linker flags for libgphoto2_port, overriding pkg-config
2516 FREETYPE_CFLAGS
2517 C compiler flags for freetype2, overriding pkg-config
2518 FREETYPE_LIBS
2519 Linker flags for freetype2, overriding pkg-config
2520 PULSE_CFLAGS
2521 C compiler flags for libpulse, overriding pkg-config
2522 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2523 GSTREAMER_CFLAGS
2524 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2525 gstreamer-audio-1.0, overriding pkg-config
2526 GSTREAMER_LIBS
2527 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2528 gstreamer-audio-1.0, overriding pkg-config
2529 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2530 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2531 UNWIND_CFLAGS
2532 C compiler flags for libunwind, overriding pkg-config
2533 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2534 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2535 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2536 CAPI20_CFLAGS
2537 C compiler flags for capi20, overriding pkg-config
2538 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2539 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2540 CUPS_LIBS Linker flags for cups, overriding pkg-config
2541 FONTCONFIG_CFLAGS
2542 C compiler flags for fontconfig, overriding pkg-config
2543 FONTCONFIG_LIBS
2544 Linker flags for fontconfig, overriding pkg-config
2545 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2546 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2547 GSSAPI_CFLAGS
2548 C compiler flags for krb5-gssapi, overriding pkg-config
2549 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2550 NETAPI_CFLAGS
2551 C compiler flags for netapi, overriding pkg-config
2552 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2553 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2554 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2556 Use these variables to override the choices made by `configure' or to help
2557 it to find libraries and programs with nonstandard names/locations.
2559 Report bugs to <wine-devel@winehq.org>.
2560 Wine home page: <https://www.winehq.org>.
2561 _ACEOF
2562 ac_status=$?
2565 if test "$ac_init_help" = "recursive"; then
2566 # If there are subdirs, report their specific --help.
2567 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2568 test -d "$ac_dir" ||
2569 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2570 continue
2571 ac_builddir=.
2573 case "$ac_dir" in
2574 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2576 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2577 # A ".." for each directory in $ac_dir_suffix.
2578 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2579 case $ac_top_builddir_sub in
2580 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2581 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2582 esac ;;
2583 esac
2584 ac_abs_top_builddir=$ac_pwd
2585 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2586 # for backward compatibility:
2587 ac_top_builddir=$ac_top_build_prefix
2589 case $srcdir in
2590 .) # We are building in place.
2591 ac_srcdir=.
2592 ac_top_srcdir=$ac_top_builddir_sub
2593 ac_abs_top_srcdir=$ac_pwd ;;
2594 [\\/]* | ?:[\\/]* ) # Absolute name.
2595 ac_srcdir=$srcdir$ac_dir_suffix;
2596 ac_top_srcdir=$srcdir
2597 ac_abs_top_srcdir=$srcdir ;;
2598 *) # Relative name.
2599 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2600 ac_top_srcdir=$ac_top_build_prefix$srcdir
2601 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2602 esac
2603 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2605 cd "$ac_dir" || { ac_status=$?; continue; }
2606 # Check for configure.gnu first; this name is used for a wrapper for
2607 # Metaconfig's "Configure" on case-insensitive file systems.
2608 if test -f "$ac_srcdir/configure.gnu"; then
2609 echo &&
2610 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2611 elif test -f "$ac_srcdir/configure"; then
2612 echo &&
2613 $SHELL "$ac_srcdir/configure" --help=recursive
2614 else
2615 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2616 fi || ac_status=$?
2617 cd "$ac_pwd" || { ac_status=$?; break; }
2618 done
2621 test -n "$ac_init_help" && exit $ac_status
2622 if $ac_init_version; then
2623 cat <<\_ACEOF
2624 Wine configure 7.5
2625 generated by GNU Autoconf 2.71
2627 Copyright (C) 2021 Free Software Foundation, Inc.
2628 This configure script is free software; the Free Software Foundation
2629 gives unlimited permission to copy, distribute and modify it.
2630 _ACEOF
2631 exit
2634 ## ------------------------ ##
2635 ## Autoconf initialization. ##
2636 ## ------------------------ ##
2638 # ac_fn_c_try_compile LINENO
2639 # --------------------------
2640 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2641 ac_fn_c_try_compile ()
2643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2644 rm -f conftest.$ac_objext conftest.beam
2645 if { { ac_try="$ac_compile"
2646 case "(($ac_try" in
2647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2648 *) ac_try_echo=$ac_try;;
2649 esac
2650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2651 printf "%s\n" "$ac_try_echo"; } >&5
2652 (eval "$ac_compile") 2>conftest.err
2653 ac_status=$?
2654 if test -s conftest.err; then
2655 grep -v '^ *+' conftest.err >conftest.er1
2656 cat conftest.er1 >&5
2657 mv -f conftest.er1 conftest.err
2659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2660 test $ac_status = 0; } && {
2661 test -z "$ac_c_werror_flag" ||
2662 test ! -s conftest.err
2663 } && test -s conftest.$ac_objext
2664 then :
2665 ac_retval=0
2666 else $as_nop
2667 printf "%s\n" "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.$ac_ext >&5
2670 ac_retval=1
2672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2673 as_fn_set_status $ac_retval
2675 } # ac_fn_c_try_compile
2677 # ac_fn_cxx_try_compile LINENO
2678 # ----------------------------
2679 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2680 ac_fn_cxx_try_compile ()
2682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2683 rm -f conftest.$ac_objext conftest.beam
2684 if { { ac_try="$ac_compile"
2685 case "(($ac_try" in
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2688 esac
2689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2690 printf "%s\n" "$ac_try_echo"; } >&5
2691 (eval "$ac_compile") 2>conftest.err
2692 ac_status=$?
2693 if test -s conftest.err; then
2694 grep -v '^ *+' conftest.err >conftest.er1
2695 cat conftest.er1 >&5
2696 mv -f conftest.er1 conftest.err
2698 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2699 test $ac_status = 0; } && {
2700 test -z "$ac_cxx_werror_flag" ||
2701 test ! -s conftest.err
2702 } && test -s conftest.$ac_objext
2703 then :
2704 ac_retval=0
2705 else $as_nop
2706 printf "%s\n" "$as_me: failed program was:" >&5
2707 sed 's/^/| /' conftest.$ac_ext >&5
2709 ac_retval=1
2711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2712 as_fn_set_status $ac_retval
2714 } # ac_fn_cxx_try_compile
2716 # ac_fn_c_try_link LINENO
2717 # -----------------------
2718 # Try to link conftest.$ac_ext, and return whether this succeeded.
2719 ac_fn_c_try_link ()
2721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2722 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2723 if { { ac_try="$ac_link"
2724 case "(($ac_try" in
2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2727 esac
2728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2729 printf "%s\n" "$ac_try_echo"; } >&5
2730 (eval "$ac_link") 2>conftest.err
2731 ac_status=$?
2732 if test -s conftest.err; then
2733 grep -v '^ *+' conftest.err >conftest.er1
2734 cat conftest.er1 >&5
2735 mv -f conftest.er1 conftest.err
2737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; } && {
2739 test -z "$ac_c_werror_flag" ||
2740 test ! -s conftest.err
2741 } && test -s conftest$ac_exeext && {
2742 test "$cross_compiling" = yes ||
2743 test -x conftest$ac_exeext
2745 then :
2746 ac_retval=0
2747 else $as_nop
2748 printf "%s\n" "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 ac_retval=1
2753 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2754 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2755 # interfere with the next link command; also delete a directory that is
2756 # left behind by Apple's compiler. We do this before executing the actions.
2757 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2759 as_fn_set_status $ac_retval
2761 } # ac_fn_c_try_link
2763 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2764 # -------------------------------------------------------
2765 # Tests whether HEADER exists and can be compiled using the include files in
2766 # INCLUDES, setting the cache variable VAR accordingly.
2767 ac_fn_c_check_header_compile ()
2769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2771 printf %s "checking for $2... " >&6; }
2772 if eval test \${$3+y}
2773 then :
2774 printf %s "(cached) " >&6
2775 else $as_nop
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2779 #include <$2>
2780 _ACEOF
2781 if ac_fn_c_try_compile "$LINENO"
2782 then :
2783 eval "$3=yes"
2784 else $as_nop
2785 eval "$3=no"
2787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2789 eval ac_res=\$$3
2790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2791 printf "%s\n" "$ac_res" >&6; }
2792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2794 } # ac_fn_c_check_header_compile
2796 # ac_fn_objc_try_compile LINENO
2797 # -----------------------------
2798 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2799 ac_fn_objc_try_compile ()
2801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2802 rm -f conftest.$ac_objext conftest.beam
2803 if { { ac_try="$ac_compile"
2804 case "(($ac_try" in
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2807 esac
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 printf "%s\n" "$ac_try_echo"; } >&5
2810 (eval "$ac_compile") 2>conftest.err
2811 ac_status=$?
2812 if test -s conftest.err; then
2813 grep -v '^ *+' conftest.err >conftest.er1
2814 cat conftest.er1 >&5
2815 mv -f conftest.er1 conftest.err
2817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2818 test $ac_status = 0; } && {
2819 test -z "$ac_objc_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest.$ac_objext
2822 then :
2823 ac_retval=0
2824 else $as_nop
2825 printf "%s\n" "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2828 ac_retval=1
2830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2831 as_fn_set_status $ac_retval
2833 } # ac_fn_objc_try_compile
2835 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2836 # ----------------------------------------------------------
2837 # Tests whether HEADER exists and can be compiled using the include files in
2838 # INCLUDES, setting the cache variable VAR accordingly.
2839 ac_fn_objc_check_header_compile ()
2841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2843 printf %s "checking for $2... " >&6; }
2844 if eval test \${$3+y}
2845 then :
2846 printf %s "(cached) " >&6
2847 else $as_nop
2848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2849 /* end confdefs.h. */
2851 #include <$2>
2852 _ACEOF
2853 if ac_fn_objc_try_compile "$LINENO"
2854 then :
2855 eval "$3=yes"
2856 else $as_nop
2857 eval "$3=no"
2859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2861 eval ac_res=\$$3
2862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2863 printf "%s\n" "$ac_res" >&6; }
2864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2866 } # ac_fn_objc_check_header_compile
2868 # ac_fn_c_check_func LINENO FUNC VAR
2869 # ----------------------------------
2870 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2871 ac_fn_c_check_func ()
2873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2875 printf %s "checking for $2... " >&6; }
2876 if eval test \${$3+y}
2877 then :
2878 printf %s "(cached) " >&6
2879 else $as_nop
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h. */
2882 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2884 #define $2 innocuous_$2
2886 /* System header to define __stub macros and hopefully few prototypes,
2887 which can conflict with char $2 (); below. */
2889 #include <limits.h>
2890 #undef $2
2892 /* Override any GCC internal prototype to avoid an error.
2893 Use char because int might match the return type of a GCC
2894 builtin and then its argument prototype would still apply. */
2895 #ifdef __cplusplus
2896 extern "C"
2897 #endif
2898 char $2 ();
2899 /* The GNU C library defines this for functions which it implements
2900 to always fail with ENOSYS. Some functions are actually named
2901 something starting with __ and the normal name is an alias. */
2902 #if defined __stub_$2 || defined __stub___$2
2903 choke me
2904 #endif
2907 main (void)
2909 return $2 ();
2911 return 0;
2913 _ACEOF
2914 if ac_fn_c_try_link "$LINENO"
2915 then :
2916 eval "$3=yes"
2917 else $as_nop
2918 eval "$3=no"
2920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2921 conftest$ac_exeext conftest.$ac_ext
2923 eval ac_res=\$$3
2924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2925 printf "%s\n" "$ac_res" >&6; }
2926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2928 } # ac_fn_c_check_func
2930 # ac_fn_c_try_cpp LINENO
2931 # ----------------------
2932 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2933 ac_fn_c_try_cpp ()
2935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2936 if { { ac_try="$ac_cpp conftest.$ac_ext"
2937 case "(($ac_try" in
2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939 *) ac_try_echo=$ac_try;;
2940 esac
2941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2942 printf "%s\n" "$ac_try_echo"; } >&5
2943 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2944 ac_status=$?
2945 if test -s conftest.err; then
2946 grep -v '^ *+' conftest.err >conftest.er1
2947 cat conftest.er1 >&5
2948 mv -f conftest.er1 conftest.err
2950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2951 test $ac_status = 0; } > conftest.i && {
2952 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2953 test ! -s conftest.err
2955 then :
2956 ac_retval=0
2957 else $as_nop
2958 printf "%s\n" "$as_me: failed program was:" >&5
2959 sed 's/^/| /' conftest.$ac_ext >&5
2961 ac_retval=1
2963 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2964 as_fn_set_status $ac_retval
2966 } # ac_fn_c_try_cpp
2968 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2969 # ----------------------------------------------------
2970 # Tries to find if the field MEMBER exists in type AGGR, after including
2971 # INCLUDES, setting cache variable VAR accordingly.
2972 ac_fn_c_check_member ()
2974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2976 printf %s "checking for $2.$3... " >&6; }
2977 if eval test \${$4+y}
2978 then :
2979 printf %s "(cached) " >&6
2980 else $as_nop
2981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2982 /* end confdefs.h. */
2985 main (void)
2987 static $2 ac_aggr;
2988 if (ac_aggr.$3)
2989 return 0;
2991 return 0;
2993 _ACEOF
2994 if ac_fn_c_try_compile "$LINENO"
2995 then :
2996 eval "$4=yes"
2997 else $as_nop
2998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2999 /* end confdefs.h. */
3002 main (void)
3004 static $2 ac_aggr;
3005 if (sizeof ac_aggr.$3)
3006 return 0;
3008 return 0;
3010 _ACEOF
3011 if ac_fn_c_try_compile "$LINENO"
3012 then :
3013 eval "$4=yes"
3014 else $as_nop
3015 eval "$4=no"
3017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3021 eval ac_res=\$$4
3022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3023 printf "%s\n" "$ac_res" >&6; }
3024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3026 } # ac_fn_c_check_member
3028 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3029 # -------------------------------------------
3030 # Tests whether TYPE exists after having included INCLUDES, setting cache
3031 # variable VAR accordingly.
3032 ac_fn_c_check_type ()
3034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3036 printf %s "checking for $2... " >&6; }
3037 if eval test \${$3+y}
3038 then :
3039 printf %s "(cached) " >&6
3040 else $as_nop
3041 eval "$3=no"
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3046 main (void)
3048 if (sizeof ($2))
3049 return 0;
3051 return 0;
3053 _ACEOF
3054 if ac_fn_c_try_compile "$LINENO"
3055 then :
3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h. */
3060 main (void)
3062 if (sizeof (($2)))
3063 return 0;
3065 return 0;
3067 _ACEOF
3068 if ac_fn_c_try_compile "$LINENO"
3069 then :
3071 else $as_nop
3072 eval "$3=yes"
3074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3078 eval ac_res=\$$3
3079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3080 printf "%s\n" "$ac_res" >&6; }
3081 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3083 } # ac_fn_c_check_type
3084 ac_configure_args_raw=
3085 for ac_arg
3087 case $ac_arg in
3088 *\'*)
3089 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3090 esac
3091 as_fn_append ac_configure_args_raw " '$ac_arg'"
3092 done
3094 case $ac_configure_args_raw in
3095 *$as_nl*)
3096 ac_safe_unquote= ;;
3098 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3099 ac_unsafe_a="$ac_unsafe_z#~"
3100 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3101 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3102 esac
3104 cat >config.log <<_ACEOF
3105 This file contains any messages produced by compilers while
3106 running configure, to aid debugging if configure makes a mistake.
3108 It was created by Wine $as_me 7.5, which was
3109 generated by GNU Autoconf 2.71. Invocation command line was
3111 $ $0$ac_configure_args_raw
3113 _ACEOF
3114 exec 5>>config.log
3116 cat <<_ASUNAME
3117 ## --------- ##
3118 ## Platform. ##
3119 ## --------- ##
3121 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3122 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3123 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3124 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3125 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3127 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3128 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3130 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3131 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3132 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3133 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3134 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3135 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3136 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3138 _ASUNAME
3140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3141 for as_dir in $PATH
3143 IFS=$as_save_IFS
3144 case $as_dir in #(((
3145 '') as_dir=./ ;;
3146 */) ;;
3147 *) as_dir=$as_dir/ ;;
3148 esac
3149 printf "%s\n" "PATH: $as_dir"
3150 done
3151 IFS=$as_save_IFS
3153 } >&5
3155 cat >&5 <<_ACEOF
3158 ## ----------- ##
3159 ## Core tests. ##
3160 ## ----------- ##
3162 _ACEOF
3165 # Keep a trace of the command line.
3166 # Strip out --no-create and --no-recursion so they do not pile up.
3167 # Strip out --silent because we don't want to record it for future runs.
3168 # Also quote any args containing shell meta-characters.
3169 # Make two passes to allow for proper duplicate-argument suppression.
3170 ac_configure_args=
3171 ac_configure_args0=
3172 ac_configure_args1=
3173 ac_must_keep_next=false
3174 for ac_pass in 1 2
3176 for ac_arg
3178 case $ac_arg in
3179 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3181 | -silent | --silent | --silen | --sile | --sil)
3182 continue ;;
3183 *\'*)
3184 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3185 esac
3186 case $ac_pass in
3187 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3189 as_fn_append ac_configure_args1 " '$ac_arg'"
3190 if test $ac_must_keep_next = true; then
3191 ac_must_keep_next=false # Got value, back to normal.
3192 else
3193 case $ac_arg in
3194 *=* | --config-cache | -C | -disable-* | --disable-* \
3195 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3196 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3197 | -with-* | --with-* | -without-* | --without-* | --x)
3198 case "$ac_configure_args0 " in
3199 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3200 esac
3202 -* ) ac_must_keep_next=true ;;
3203 esac
3205 as_fn_append ac_configure_args " '$ac_arg'"
3207 esac
3208 done
3209 done
3210 { ac_configure_args0=; unset ac_configure_args0;}
3211 { ac_configure_args1=; unset ac_configure_args1;}
3213 # When interrupted or exit'd, cleanup temporary files, and complete
3214 # config.log. We remove comments because anyway the quotes in there
3215 # would cause problems or look ugly.
3216 # WARNING: Use '\'' to represent an apostrophe within the trap.
3217 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3218 trap 'exit_status=$?
3219 # Sanitize IFS.
3220 IFS=" "" $as_nl"
3221 # Save into config.log some information that might help in debugging.
3223 echo
3225 printf "%s\n" "## ---------------- ##
3226 ## Cache variables. ##
3227 ## ---------------- ##"
3228 echo
3229 # The following way of writing the cache mishandles newlines in values,
3231 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3232 eval ac_val=\$$ac_var
3233 case $ac_val in #(
3234 *${as_nl}*)
3235 case $ac_var in #(
3236 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3237 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3238 esac
3239 case $ac_var in #(
3240 _ | IFS | as_nl) ;; #(
3241 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3242 *) { eval $ac_var=; unset $ac_var;} ;;
3243 esac ;;
3244 esac
3245 done
3246 (set) 2>&1 |
3247 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3248 *${as_nl}ac_space=\ *)
3249 sed -n \
3250 "s/'\''/'\''\\\\'\'''\''/g;
3251 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3252 ;; #(
3254 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3256 esac |
3257 sort
3259 echo
3261 printf "%s\n" "## ----------------- ##
3262 ## Output variables. ##
3263 ## ----------------- ##"
3264 echo
3265 for ac_var in $ac_subst_vars
3267 eval ac_val=\$$ac_var
3268 case $ac_val in
3269 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3270 esac
3271 printf "%s\n" "$ac_var='\''$ac_val'\''"
3272 done | sort
3273 echo
3275 if test -n "$ac_subst_files"; then
3276 printf "%s\n" "## ------------------- ##
3277 ## File substitutions. ##
3278 ## ------------------- ##"
3279 echo
3280 for ac_var in $ac_subst_files
3282 eval ac_val=\$$ac_var
3283 case $ac_val in
3284 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3285 esac
3286 printf "%s\n" "$ac_var='\''$ac_val'\''"
3287 done | sort
3288 echo
3291 if test -s confdefs.h; then
3292 printf "%s\n" "## ----------- ##
3293 ## confdefs.h. ##
3294 ## ----------- ##"
3295 echo
3296 cat confdefs.h
3297 echo
3299 test "$ac_signal" != 0 &&
3300 printf "%s\n" "$as_me: caught signal $ac_signal"
3301 printf "%s\n" "$as_me: exit $exit_status"
3302 } >&5
3303 rm -f core *.core core.conftest.* &&
3304 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3305 exit $exit_status
3307 for ac_signal in 1 2 13 15; do
3308 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3309 done
3310 ac_signal=0
3312 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3313 rm -f -r conftest* confdefs.h
3315 printf "%s\n" "/* confdefs.h */" > confdefs.h
3317 # Predefined preprocessor variables.
3319 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3321 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3323 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3325 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3327 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3329 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3332 # Let the site file select an alternate cache file if it wants to.
3333 # Prefer an explicitly selected file to automatically selected ones.
3334 if test -n "$CONFIG_SITE"; then
3335 ac_site_files="$CONFIG_SITE"
3336 elif test "x$prefix" != xNONE; then
3337 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3338 else
3339 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3342 for ac_site_file in $ac_site_files
3344 case $ac_site_file in #(
3345 */*) :
3346 ;; #(
3347 *) :
3348 ac_site_file=./$ac_site_file ;;
3349 esac
3350 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3352 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3353 sed 's/^/| /' "$ac_site_file" >&5
3354 . "$ac_site_file" \
3355 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3356 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3357 as_fn_error $? "failed to load site script $ac_site_file
3358 See \`config.log' for more details" "$LINENO" 5; }
3360 done
3362 if test -r "$cache_file"; then
3363 # Some versions of bash will fail to source /dev/null (special files
3364 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3365 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3367 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3368 case $cache_file in
3369 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3370 *) . "./$cache_file";;
3371 esac
3373 else
3374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3375 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3376 >$cache_file
3379 # Test code for whether the C compiler supports C89 (global declarations)
3380 ac_c_conftest_c89_globals='
3381 /* Does the compiler advertise C89 conformance?
3382 Do not test the value of __STDC__, because some compilers set it to 0
3383 while being otherwise adequately conformant. */
3384 #if !defined __STDC__
3385 # error "Compiler does not advertise C89 conformance"
3386 #endif
3388 #include <stddef.h>
3389 #include <stdarg.h>
3390 struct stat;
3391 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3392 struct buf { int x; };
3393 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3394 static char *e (p, i)
3395 char **p;
3396 int i;
3398 return p[i];
3400 static char *f (char * (*g) (char **, int), char **p, ...)
3402 char *s;
3403 va_list v;
3404 va_start (v,p);
3405 s = g (p, va_arg (v,int));
3406 va_end (v);
3407 return s;
3410 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3411 function prototypes and stuff, but not \xHH hex character constants.
3412 These do not provoke an error unfortunately, instead are silently treated
3413 as an "x". The following induces an error, until -std is added to get
3414 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3415 array size at least. It is necessary to write \x00 == 0 to get something
3416 that is true only with -std. */
3417 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3419 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3420 inside strings and character constants. */
3421 #define FOO(x) '\''x'\''
3422 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3424 int test (int i, double x);
3425 struct s1 {int (*f) (int a);};
3426 struct s2 {int (*f) (double a);};
3427 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3428 int, int);'
3430 # Test code for whether the C compiler supports C89 (body of main).
3431 ac_c_conftest_c89_main='
3432 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3435 # Test code for whether the C compiler supports C99 (global declarations)
3436 ac_c_conftest_c99_globals='
3437 // Does the compiler advertise C99 conformance?
3438 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3439 # error "Compiler does not advertise C99 conformance"
3440 #endif
3442 #include <stdbool.h>
3443 extern int puts (const char *);
3444 extern int printf (const char *, ...);
3445 extern int dprintf (int, const char *, ...);
3446 extern void *malloc (size_t);
3448 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3449 // dprintf is used instead of fprintf to avoid needing to declare
3450 // FILE and stderr.
3451 #define debug(...) dprintf (2, __VA_ARGS__)
3452 #define showlist(...) puts (#__VA_ARGS__)
3453 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3454 static void
3455 test_varargs_macros (void)
3457 int x = 1234;
3458 int y = 5678;
3459 debug ("Flag");
3460 debug ("X = %d\n", x);
3461 showlist (The first, second, and third items.);
3462 report (x>y, "x is %d but y is %d", x, y);
3465 // Check long long types.
3466 #define BIG64 18446744073709551615ull
3467 #define BIG32 4294967295ul
3468 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3469 #if !BIG_OK
3470 #error "your preprocessor is broken"
3471 #endif
3472 #if BIG_OK
3473 #else
3474 #error "your preprocessor is broken"
3475 #endif
3476 static long long int bignum = -9223372036854775807LL;
3477 static unsigned long long int ubignum = BIG64;
3479 struct incomplete_array
3481 int datasize;
3482 double data[];
3485 struct named_init {
3486 int number;
3487 const wchar_t *name;
3488 double average;
3491 typedef const char *ccp;
3493 static inline int
3494 test_restrict (ccp restrict text)
3496 // See if C++-style comments work.
3497 // Iterate through items via the restricted pointer.
3498 // Also check for declarations in for loops.
3499 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3500 continue;
3501 return 0;
3504 // Check varargs and va_copy.
3505 static bool
3506 test_varargs (const char *format, ...)
3508 va_list args;
3509 va_start (args, format);
3510 va_list args_copy;
3511 va_copy (args_copy, args);
3513 const char *str = "";
3514 int number = 0;
3515 float fnumber = 0;
3517 while (*format)
3519 switch (*format++)
3521 case '\''s'\'': // string
3522 str = va_arg (args_copy, const char *);
3523 break;
3524 case '\''d'\'': // int
3525 number = va_arg (args_copy, int);
3526 break;
3527 case '\''f'\'': // float
3528 fnumber = va_arg (args_copy, double);
3529 break;
3530 default:
3531 break;
3534 va_end (args_copy);
3535 va_end (args);
3537 return *str && number && fnumber;
3541 # Test code for whether the C compiler supports C99 (body of main).
3542 ac_c_conftest_c99_main='
3543 // Check bool.
3544 _Bool success = false;
3545 success |= (argc != 0);
3547 // Check restrict.
3548 if (test_restrict ("String literal") == 0)
3549 success = true;
3550 char *restrict newvar = "Another string";
3552 // Check varargs.
3553 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3554 test_varargs_macros ();
3556 // Check flexible array members.
3557 struct incomplete_array *ia =
3558 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3559 ia->datasize = 10;
3560 for (int i = 0; i < ia->datasize; ++i)
3561 ia->data[i] = i * 1.234;
3563 // Check named initializers.
3564 struct named_init ni = {
3565 .number = 34,
3566 .name = L"Test wide string",
3567 .average = 543.34343,
3570 ni.number = 58;
3572 int dynamic_array[ni.number];
3573 dynamic_array[0] = argv[0][0];
3574 dynamic_array[ni.number - 1] = 543;
3576 // work around unused variable warnings
3577 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3578 || dynamic_array[ni.number - 1] != 543);
3581 # Test code for whether the C compiler supports C11 (global declarations)
3582 ac_c_conftest_c11_globals='
3583 // Does the compiler advertise C11 conformance?
3584 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3585 # error "Compiler does not advertise C11 conformance"
3586 #endif
3588 // Check _Alignas.
3589 char _Alignas (double) aligned_as_double;
3590 char _Alignas (0) no_special_alignment;
3591 extern char aligned_as_int;
3592 char _Alignas (0) _Alignas (int) aligned_as_int;
3594 // Check _Alignof.
3595 enum
3597 int_alignment = _Alignof (int),
3598 int_array_alignment = _Alignof (int[100]),
3599 char_alignment = _Alignof (char)
3601 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3603 // Check _Noreturn.
3604 int _Noreturn does_not_return (void) { for (;;) continue; }
3606 // Check _Static_assert.
3607 struct test_static_assert
3609 int x;
3610 _Static_assert (sizeof (int) <= sizeof (long int),
3611 "_Static_assert does not work in struct");
3612 long int y;
3615 // Check UTF-8 literals.
3616 #define u8 syntax error!
3617 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3619 // Check duplicate typedefs.
3620 typedef long *long_ptr;
3621 typedef long int *long_ptr;
3622 typedef long_ptr long_ptr;
3624 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3625 struct anonymous
3627 union {
3628 struct { int i; int j; };
3629 struct { int k; long int l; } w;
3631 int m;
3632 } v1;
3635 # Test code for whether the C compiler supports C11 (body of main).
3636 ac_c_conftest_c11_main='
3637 _Static_assert ((offsetof (struct anonymous, i)
3638 == offsetof (struct anonymous, w.k)),
3639 "Anonymous union alignment botch");
3640 v1.i = 2;
3641 v1.w.k = 5;
3642 ok |= v1.i != 5;
3645 # Test code for whether the C compiler supports C11 (complete).
3646 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3647 ${ac_c_conftest_c99_globals}
3648 ${ac_c_conftest_c11_globals}
3651 main (int argc, char **argv)
3653 int ok = 0;
3654 ${ac_c_conftest_c89_main}
3655 ${ac_c_conftest_c99_main}
3656 ${ac_c_conftest_c11_main}
3657 return ok;
3661 # Test code for whether the C compiler supports C99 (complete).
3662 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3663 ${ac_c_conftest_c99_globals}
3666 main (int argc, char **argv)
3668 int ok = 0;
3669 ${ac_c_conftest_c89_main}
3670 ${ac_c_conftest_c99_main}
3671 return ok;
3675 # Test code for whether the C compiler supports C89 (complete).
3676 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3679 main (int argc, char **argv)
3681 int ok = 0;
3682 ${ac_c_conftest_c89_main}
3683 return ok;
3687 # Test code for whether the C++ compiler supports C++98 (global declarations)
3688 ac_cxx_conftest_cxx98_globals='
3689 // Does the compiler advertise C++98 conformance?
3690 #if !defined __cplusplus || __cplusplus < 199711L
3691 # error "Compiler does not advertise C++98 conformance"
3692 #endif
3694 // These inclusions are to reject old compilers that
3695 // lack the unsuffixed header files.
3696 #include <cstdlib>
3697 #include <exception>
3699 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3700 extern void assert (int);
3701 namespace std {
3702 extern int strcmp (const char *, const char *);
3705 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3706 using std::exception;
3707 using std::strcmp;
3709 namespace {
3711 void test_exception_syntax()
3713 try {
3714 throw "test";
3715 } catch (const char *s) {
3716 // Extra parentheses suppress a warning when building autoconf itself,
3717 // due to lint rules shared with more typical C programs.
3718 assert (!(strcmp) (s, "test"));
3722 template <typename T> struct test_template
3724 T const val;
3725 explicit test_template(T t) : val(t) {}
3726 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3729 } // anonymous namespace
3732 # Test code for whether the C++ compiler supports C++98 (body of main)
3733 ac_cxx_conftest_cxx98_main='
3734 assert (argc);
3735 assert (! argv[0]);
3737 test_exception_syntax ();
3738 test_template<double> tt (2.0);
3739 assert (tt.add (4) == 6.0);
3740 assert (true && !false);
3744 # Test code for whether the C++ compiler supports C++11 (global declarations)
3745 ac_cxx_conftest_cxx11_globals='
3746 // Does the compiler advertise C++ 2011 conformance?
3747 #if !defined __cplusplus || __cplusplus < 201103L
3748 # error "Compiler does not advertise C++11 conformance"
3749 #endif
3751 namespace cxx11test
3753 constexpr int get_val() { return 20; }
3755 struct testinit
3757 int i;
3758 double d;
3761 class delegate
3763 public:
3764 delegate(int n) : n(n) {}
3765 delegate(): delegate(2354) {}
3767 virtual int getval() { return this->n; };
3768 protected:
3769 int n;
3772 class overridden : public delegate
3774 public:
3775 overridden(int n): delegate(n) {}
3776 virtual int getval() override final { return this->n * 2; }
3779 class nocopy
3781 public:
3782 nocopy(int i): i(i) {}
3783 nocopy() = default;
3784 nocopy(const nocopy&) = delete;
3785 nocopy & operator=(const nocopy&) = delete;
3786 private:
3787 int i;
3790 // for testing lambda expressions
3791 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3793 return f(v);
3796 // for testing variadic templates and trailing return types
3797 template <typename V> auto sum(V first) -> V
3799 return first;
3801 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3803 return first + sum(rest...);
3808 # Test code for whether the C++ compiler supports C++11 (body of main)
3809 ac_cxx_conftest_cxx11_main='
3811 // Test auto and decltype
3812 auto a1 = 6538;
3813 auto a2 = 48573953.4;
3814 auto a3 = "String literal";
3816 int total = 0;
3817 for (auto i = a3; *i; ++i) { total += *i; }
3819 decltype(a2) a4 = 34895.034;
3822 // Test constexpr
3823 short sa[cxx11test::get_val()] = { 0 };
3826 // Test initializer lists
3827 cxx11test::testinit il = { 4323, 435234.23544 };
3830 // Test range-based for
3831 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3832 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3833 for (auto &x : array) { x += 23; }
3836 // Test lambda expressions
3837 using cxx11test::eval;
3838 assert (eval ([](int x) { return x*2; }, 21) == 42);
3839 double d = 2.0;
3840 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3841 assert (d == 5.0);
3842 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3843 assert (d == 5.0);
3846 // Test use of variadic templates
3847 using cxx11test::sum;
3848 auto a = sum(1);
3849 auto b = sum(1, 2);
3850 auto c = sum(1.0, 2.0, 3.0);
3853 // Test constructor delegation
3854 cxx11test::delegate d1;
3855 cxx11test::delegate d2();
3856 cxx11test::delegate d3(45);
3859 // Test override and final
3860 cxx11test::overridden o1(55464);
3863 // Test nullptr
3864 char *c = nullptr;
3867 // Test template brackets
3868 test_template<::test_template<int>> v(test_template<int>(12));
3871 // Unicode literals
3872 char const *utf8 = u8"UTF-8 string \u2500";
3873 char16_t const *utf16 = u"UTF-8 string \u2500";
3874 char32_t const *utf32 = U"UTF-32 string \u2500";
3878 # Test code for whether the C compiler supports C++11 (complete).
3879 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3880 ${ac_cxx_conftest_cxx11_globals}
3883 main (int argc, char **argv)
3885 int ok = 0;
3886 ${ac_cxx_conftest_cxx98_main}
3887 ${ac_cxx_conftest_cxx11_main}
3888 return ok;
3892 # Test code for whether the C compiler supports C++98 (complete).
3893 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3895 main (int argc, char **argv)
3897 int ok = 0;
3898 ${ac_cxx_conftest_cxx98_main}
3899 return ok;
3903 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3904 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3905 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3906 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3907 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3908 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3909 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3910 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3911 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3913 # Auxiliary files required by this configure script.
3914 ac_aux_files="config.guess config.sub"
3916 # Locations in which to look for auxiliary files.
3917 ac_aux_dir_candidates="${srcdir}/tools"
3919 # Search for a directory containing all of the required auxiliary files,
3920 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3921 # If we don't find one directory that contains all the files we need,
3922 # we report the set of missing files from the *first* directory in
3923 # $ac_aux_dir_candidates and give up.
3924 ac_missing_aux_files=""
3925 ac_first_candidate=:
3926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928 as_found=false
3929 for as_dir in $ac_aux_dir_candidates
3931 IFS=$as_save_IFS
3932 case $as_dir in #(((
3933 '') as_dir=./ ;;
3934 */) ;;
3935 *) as_dir=$as_dir/ ;;
3936 esac
3937 as_found=:
3939 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3940 ac_aux_dir_found=yes
3941 ac_install_sh=
3942 for ac_aux in $ac_aux_files
3944 # As a special case, if "install-sh" is required, that requirement
3945 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3946 # and $ac_install_sh is set appropriately for whichever one is found.
3947 if test x"$ac_aux" = x"install-sh"
3948 then
3949 if test -f "${as_dir}install-sh"; then
3950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3951 ac_install_sh="${as_dir}install-sh -c"
3952 elif test -f "${as_dir}install.sh"; then
3953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3954 ac_install_sh="${as_dir}install.sh -c"
3955 elif test -f "${as_dir}shtool"; then
3956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3957 ac_install_sh="${as_dir}shtool install -c"
3958 else
3959 ac_aux_dir_found=no
3960 if $ac_first_candidate; then
3961 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3962 else
3963 break
3966 else
3967 if test -f "${as_dir}${ac_aux}"; then
3968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3969 else
3970 ac_aux_dir_found=no
3971 if $ac_first_candidate; then
3972 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3973 else
3974 break
3978 done
3979 if test "$ac_aux_dir_found" = yes; then
3980 ac_aux_dir="$as_dir"
3981 break
3983 ac_first_candidate=false
3985 as_found=false
3986 done
3987 IFS=$as_save_IFS
3988 if $as_found
3989 then :
3991 else $as_nop
3992 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3996 # These three variables are undocumented and unsupported,
3997 # and are intended to be withdrawn in a future Autoconf release.
3998 # They can cause serious problems if a builder's source tree is in a directory
3999 # whose full name contains unusual characters.
4000 if test -f "${ac_aux_dir}config.guess"; then
4001 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4003 if test -f "${ac_aux_dir}config.sub"; then
4004 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4006 if test -f "$ac_aux_dir/configure"; then
4007 ac_configure="$SHELL ${ac_aux_dir}configure"
4010 # Check that the precious variables saved in the cache have kept the same
4011 # value.
4012 ac_cache_corrupted=false
4013 for ac_var in $ac_precious_vars; do
4014 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4015 eval ac_new_set=\$ac_env_${ac_var}_set
4016 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4017 eval ac_new_val=\$ac_env_${ac_var}_value
4018 case $ac_old_set,$ac_new_set in
4019 set,)
4020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4021 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4022 ac_cache_corrupted=: ;;
4023 ,set)
4024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4025 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4026 ac_cache_corrupted=: ;;
4027 ,);;
4029 if test "x$ac_old_val" != "x$ac_new_val"; then
4030 # differences in whitespace do not lead to failure.
4031 ac_old_val_w=`echo x $ac_old_val`
4032 ac_new_val_w=`echo x $ac_new_val`
4033 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4035 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4036 ac_cache_corrupted=:
4037 else
4038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4039 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4040 eval $ac_var=\$ac_old_val
4042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4043 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4045 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4046 fi;;
4047 esac
4048 # Pass precious variables to config.status.
4049 if test "$ac_new_set" = set; then
4050 case $ac_new_val in
4051 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4052 *) ac_arg=$ac_var=$ac_new_val ;;
4053 esac
4054 case " $ac_configure_args " in
4055 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4056 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4057 esac
4059 done
4060 if $ac_cache_corrupted; then
4061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4062 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4064 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4065 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4066 and start over" "$LINENO" 5
4068 ## -------------------- ##
4069 ## Main body of script. ##
4070 ## -------------------- ##
4072 ac_ext=c
4073 ac_cpp='$CPP $CPPFLAGS'
4074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4080 ac_config_headers="$ac_config_headers include/config.h"
4084 libwine_version="1.0"
4087 # Check whether --enable-win16 was given.
4088 if test ${enable_win16+y}
4089 then :
4090 enableval=$enable_win16;
4093 # Check whether --enable-win64 was given.
4094 if test ${enable_win64+y}
4095 then :
4096 enableval=$enable_win64;
4099 # Check whether --enable-tests was given.
4100 if test ${enable_tests+y}
4101 then :
4102 enableval=$enable_tests;
4105 # Check whether --enable-build-id was given.
4106 if test ${enable_build_id+y}
4107 then :
4108 enableval=$enable_build_id;
4111 # Check whether --enable-maintainer-mode was given.
4112 if test ${enable_maintainer_mode+y}
4113 then :
4114 enableval=$enable_maintainer_mode;
4117 # Check whether --enable-silent-rules was given.
4118 if test ${enable_silent_rules+y}
4119 then :
4120 enableval=$enable_silent_rules;
4123 # Check whether --enable-werror was given.
4124 if test ${enable_werror+y}
4125 then :
4126 enableval=$enable_werror;
4131 # Check whether --with-alsa was given.
4132 if test ${with_alsa+y}
4133 then :
4134 withval=$with_alsa;
4138 # Check whether --with-capi was given.
4139 if test ${with_capi+y}
4140 then :
4141 withval=$with_capi;
4145 # Check whether --with-coreaudio was given.
4146 if test ${with_coreaudio+y}
4147 then :
4148 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4152 # Check whether --with-cups was given.
4153 if test ${with_cups+y}
4154 then :
4155 withval=$with_cups;
4159 # Check whether --with-dbus was given.
4160 if test ${with_dbus+y}
4161 then :
4162 withval=$with_dbus;
4166 # Check whether --with-float-abi was given.
4167 if test ${with_float_abi+y}
4168 then :
4169 withval=$with_float_abi;
4173 # Check whether --with-fontconfig was given.
4174 if test ${with_fontconfig+y}
4175 then :
4176 withval=$with_fontconfig;
4180 # Check whether --with-freetype was given.
4181 if test ${with_freetype+y}
4182 then :
4183 withval=$with_freetype;
4187 # Check whether --with-gettext was given.
4188 if test ${with_gettext+y}
4189 then :
4190 withval=$with_gettext;
4194 # Check whether --with-gettextpo was given.
4195 if test ${with_gettextpo+y}
4196 then :
4197 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4201 # Check whether --with-gphoto was given.
4202 if test ${with_gphoto+y}
4203 then :
4204 withval=$with_gphoto;
4208 # Check whether --with-gnutls was given.
4209 if test ${with_gnutls+y}
4210 then :
4211 withval=$with_gnutls;
4215 # Check whether --with-gssapi was given.
4216 if test ${with_gssapi+y}
4217 then :
4218 withval=$with_gssapi;
4222 # Check whether --with-gstreamer was given.
4223 if test ${with_gstreamer+y}
4224 then :
4225 withval=$with_gstreamer;
4229 # Check whether --with-inotify was given.
4230 if test ${with_inotify+y}
4231 then :
4232 withval=$with_inotify;
4236 # Check whether --with-krb5 was given.
4237 if test ${with_krb5+y}
4238 then :
4239 withval=$with_krb5;
4243 # Check whether --with-ldap was given.
4244 if test ${with_ldap+y}
4245 then :
4246 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4250 # Check whether --with-mingw was given.
4251 if test ${with_mingw+y}
4252 then :
4253 withval=$with_mingw;
4257 # Check whether --with-netapi was given.
4258 if test ${with_netapi+y}
4259 then :
4260 withval=$with_netapi;
4264 # Check whether --with-openal was given.
4265 if test ${with_openal+y}
4266 then :
4267 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4271 # Check whether --with-opencl was given.
4272 if test ${with_opencl+y}
4273 then :
4274 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4278 # Check whether --with-opengl was given.
4279 if test ${with_opengl+y}
4280 then :
4281 withval=$with_opengl;
4285 # Check whether --with-osmesa was given.
4286 if test ${with_osmesa+y}
4287 then :
4288 withval=$with_osmesa;
4292 # Check whether --with-oss was given.
4293 if test ${with_oss+y}
4294 then :
4295 withval=$with_oss;
4299 # Check whether --with-pcap was given.
4300 if test ${with_pcap+y}
4301 then :
4302 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4306 # Check whether --with-pthread was given.
4307 if test ${with_pthread+y}
4308 then :
4309 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4313 # Check whether --with-pulse was given.
4314 if test ${with_pulse+y}
4315 then :
4316 withval=$with_pulse;
4320 # Check whether --with-sane was given.
4321 if test ${with_sane+y}
4322 then :
4323 withval=$with_sane;
4327 # Check whether --with-sdl was given.
4328 if test ${with_sdl+y}
4329 then :
4330 withval=$with_sdl;
4334 # Check whether --with-udev was given.
4335 if test ${with_udev+y}
4336 then :
4337 withval=$with_udev;
4341 # Check whether --with-unwind was given.
4342 if test ${with_unwind+y}
4343 then :
4344 withval=$with_unwind;
4348 # Check whether --with-usb was given.
4349 if test ${with_usb+y}
4350 then :
4351 withval=$with_usb;
4355 # Check whether --with-v4l2 was given.
4356 if test ${with_v4l2+y}
4357 then :
4358 withval=$with_v4l2;
4362 # Check whether --with-vulkan was given.
4363 if test ${with_vulkan+y}
4364 then :
4365 withval=$with_vulkan;
4369 # Check whether --with-xcomposite was given.
4370 if test ${with_xcomposite+y}
4371 then :
4372 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4376 # Check whether --with-xcursor was given.
4377 if test ${with_xcursor+y}
4378 then :
4379 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4383 # Check whether --with-xfixes was given.
4384 if test ${with_xfixes+y}
4385 then :
4386 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4390 # Check whether --with-xinerama was given.
4391 if test ${with_xinerama+y}
4392 then :
4393 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4397 # Check whether --with-xinput was given.
4398 if test ${with_xinput+y}
4399 then :
4400 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4404 # Check whether --with-xinput2 was given.
4405 if test ${with_xinput2+y}
4406 then :
4407 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4411 # Check whether --with-xrandr was given.
4412 if test ${with_xrandr+y}
4413 then :
4414 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4418 # Check whether --with-xrender was given.
4419 if test ${with_xrender+y}
4420 then :
4421 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4425 # Check whether --with-xshape was given.
4426 if test ${with_xshape+y}
4427 then :
4428 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4432 # Check whether --with-xshm was given.
4433 if test ${with_xshm+y}
4434 then :
4435 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4439 # Check whether --with-xxf86vm was given.
4440 if test ${with_xxf86vm+y}
4441 then :
4442 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
4447 # Check whether --with-system-dllpath was given.
4448 if test ${with_system_dllpath+y}
4449 then :
4450 withval=$with_system_dllpath; system_dllpath=$withval
4455 # Check whether --with-wine-tools was given.
4456 if test ${with_wine_tools+y}
4457 then :
4458 withval=$with_wine_tools;
4462 # Check whether --with-wine64 was given.
4463 if test ${with_wine64+y}
4464 then :
4465 withval=$with_wine64;
4472 # Make sure we can run config.sub.
4473 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4474 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4477 printf %s "checking build system type... " >&6; }
4478 if test ${ac_cv_build+y}
4479 then :
4480 printf %s "(cached) " >&6
4481 else $as_nop
4482 ac_build_alias=$build_alias
4483 test "x$ac_build_alias" = x &&
4484 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4485 test "x$ac_build_alias" = x &&
4486 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4487 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4488 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4492 printf "%s\n" "$ac_cv_build" >&6; }
4493 case $ac_cv_build in
4494 *-*-*) ;;
4495 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4496 esac
4497 build=$ac_cv_build
4498 ac_save_IFS=$IFS; IFS='-'
4499 set x $ac_cv_build
4500 shift
4501 build_cpu=$1
4502 build_vendor=$2
4503 shift; shift
4504 # Remember, the first character of IFS is used to create $*,
4505 # except with old shells:
4506 build_os=$*
4507 IFS=$ac_save_IFS
4508 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4512 printf %s "checking host system type... " >&6; }
4513 if test ${ac_cv_host+y}
4514 then :
4515 printf %s "(cached) " >&6
4516 else $as_nop
4517 if test "x$host_alias" = x; then
4518 ac_cv_host=$ac_cv_build
4519 else
4520 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4521 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4526 printf "%s\n" "$ac_cv_host" >&6; }
4527 case $ac_cv_host in
4528 *-*-*) ;;
4529 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4530 esac
4531 host=$ac_cv_host
4532 ac_save_IFS=$IFS; IFS='-'
4533 set x $ac_cv_host
4534 shift
4535 host_cpu=$1
4536 host_vendor=$2
4537 shift; shift
4538 # Remember, the first character of IFS is used to create $*,
4539 # except with old shells:
4540 host_os=$*
4541 IFS=$ac_save_IFS
4542 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4546 dlldir=\${libdir}/wine
4548 fontdir=\${datadir}/wine/fonts
4550 nlsdir=\${datadir}/wine/nls
4555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4556 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4557 set x ${MAKE-make}
4558 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4559 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4560 then :
4561 printf %s "(cached) " >&6
4562 else $as_nop
4563 cat >conftest.make <<\_ACEOF
4564 SHELL = /bin/sh
4565 all:
4566 @echo '@@@%%%=$(MAKE)=@@@%%%'
4567 _ACEOF
4568 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4569 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4570 *@@@%%%=?*=@@@%%%*)
4571 eval ac_cv_prog_make_${ac_make}_set=yes;;
4573 eval ac_cv_prog_make_${ac_make}_set=no;;
4574 esac
4575 rm -f conftest.make
4577 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4579 printf "%s\n" "yes" >&6; }
4580 SET_MAKE=
4581 else
4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4583 printf "%s\n" "no" >&6; }
4584 SET_MAKE="MAKE=${MAKE-make}"
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4601 if test -n "$ac_tool_prefix"; then
4602 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4603 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605 printf %s "checking for $ac_word... " >&6; }
4606 if test ${ac_cv_prog_CC+y}
4607 then :
4608 printf %s "(cached) " >&6
4609 else $as_nop
4610 if test -n "$CC"; then
4611 ac_cv_prog_CC="$CC" # Let the user override the test.
4612 else
4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4614 for as_dir in $PATH
4616 IFS=$as_save_IFS
4617 case $as_dir in #(((
4618 '') as_dir=./ ;;
4619 */) ;;
4620 *) as_dir=$as_dir/ ;;
4621 esac
4622 for ac_exec_ext in '' $ac_executable_extensions; do
4623 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4624 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4626 break 2
4628 done
4629 done
4630 IFS=$as_save_IFS
4634 CC=$ac_cv_prog_CC
4635 if test -n "$CC"; then
4636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4637 printf "%s\n" "$CC" >&6; }
4638 else
4639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640 printf "%s\n" "no" >&6; }
4645 if test -z "$ac_cv_prog_CC"; then
4646 ac_ct_CC=$CC
4647 # Extract the first word of "gcc", so it can be a program name with args.
4648 set dummy gcc; ac_word=$2
4649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4650 printf %s "checking for $ac_word... " >&6; }
4651 if test ${ac_cv_prog_ac_ct_CC+y}
4652 then :
4653 printf %s "(cached) " >&6
4654 else $as_nop
4655 if test -n "$ac_ct_CC"; then
4656 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4657 else
4658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659 for as_dir in $PATH
4661 IFS=$as_save_IFS
4662 case $as_dir in #(((
4663 '') as_dir=./ ;;
4664 */) ;;
4665 *) as_dir=$as_dir/ ;;
4666 esac
4667 for ac_exec_ext in '' $ac_executable_extensions; do
4668 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4669 ac_cv_prog_ac_ct_CC="gcc"
4670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4671 break 2
4673 done
4674 done
4675 IFS=$as_save_IFS
4679 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4680 if test -n "$ac_ct_CC"; then
4681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4682 printf "%s\n" "$ac_ct_CC" >&6; }
4683 else
4684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4685 printf "%s\n" "no" >&6; }
4688 if test "x$ac_ct_CC" = x; then
4689 CC=""
4690 else
4691 case $cross_compiling:$ac_tool_warned in
4692 yes:)
4693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4694 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4695 ac_tool_warned=yes ;;
4696 esac
4697 CC=$ac_ct_CC
4699 else
4700 CC="$ac_cv_prog_CC"
4703 if test -z "$CC"; then
4704 if test -n "$ac_tool_prefix"; then
4705 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4706 set dummy ${ac_tool_prefix}cc; ac_word=$2
4707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4708 printf %s "checking for $ac_word... " >&6; }
4709 if test ${ac_cv_prog_CC+y}
4710 then :
4711 printf %s "(cached) " >&6
4712 else $as_nop
4713 if test -n "$CC"; then
4714 ac_cv_prog_CC="$CC" # Let the user override the test.
4715 else
4716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717 for as_dir in $PATH
4719 IFS=$as_save_IFS
4720 case $as_dir in #(((
4721 '') as_dir=./ ;;
4722 */) ;;
4723 *) as_dir=$as_dir/ ;;
4724 esac
4725 for ac_exec_ext in '' $ac_executable_extensions; do
4726 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4727 ac_cv_prog_CC="${ac_tool_prefix}cc"
4728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4729 break 2
4731 done
4732 done
4733 IFS=$as_save_IFS
4737 CC=$ac_cv_prog_CC
4738 if test -n "$CC"; then
4739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4740 printf "%s\n" "$CC" >&6; }
4741 else
4742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743 printf "%s\n" "no" >&6; }
4749 if test -z "$CC"; then
4750 # Extract the first word of "cc", so it can be a program name with args.
4751 set dummy cc; ac_word=$2
4752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4753 printf %s "checking for $ac_word... " >&6; }
4754 if test ${ac_cv_prog_CC+y}
4755 then :
4756 printf %s "(cached) " >&6
4757 else $as_nop
4758 if test -n "$CC"; then
4759 ac_cv_prog_CC="$CC" # Let the user override the test.
4760 else
4761 ac_prog_rejected=no
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763 for as_dir in $PATH
4765 IFS=$as_save_IFS
4766 case $as_dir in #(((
4767 '') as_dir=./ ;;
4768 */) ;;
4769 *) as_dir=$as_dir/ ;;
4770 esac
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4773 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4774 ac_prog_rejected=yes
4775 continue
4777 ac_cv_prog_CC="cc"
4778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4779 break 2
4781 done
4782 done
4783 IFS=$as_save_IFS
4785 if test $ac_prog_rejected = yes; then
4786 # We found a bogon in the path, so make sure we never use it.
4787 set dummy $ac_cv_prog_CC
4788 shift
4789 if test $# != 0; then
4790 # We chose a different compiler from the bogus one.
4791 # However, it has the same basename, so the bogon will be chosen
4792 # first if we set CC to just the basename; use the full file name.
4793 shift
4794 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4799 CC=$ac_cv_prog_CC
4800 if test -n "$CC"; then
4801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4802 printf "%s\n" "$CC" >&6; }
4803 else
4804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4805 printf "%s\n" "no" >&6; }
4810 if test -z "$CC"; then
4811 if test -n "$ac_tool_prefix"; then
4812 for ac_prog in cl.exe
4814 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4815 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4817 printf %s "checking for $ac_word... " >&6; }
4818 if test ${ac_cv_prog_CC+y}
4819 then :
4820 printf %s "(cached) " >&6
4821 else $as_nop
4822 if test -n "$CC"; then
4823 ac_cv_prog_CC="$CC" # Let the user override the test.
4824 else
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 for as_dir in $PATH
4828 IFS=$as_save_IFS
4829 case $as_dir in #(((
4830 '') as_dir=./ ;;
4831 */) ;;
4832 *) as_dir=$as_dir/ ;;
4833 esac
4834 for ac_exec_ext in '' $ac_executable_extensions; do
4835 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4836 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4837 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4838 break 2
4840 done
4841 done
4842 IFS=$as_save_IFS
4846 CC=$ac_cv_prog_CC
4847 if test -n "$CC"; then
4848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4849 printf "%s\n" "$CC" >&6; }
4850 else
4851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4852 printf "%s\n" "no" >&6; }
4856 test -n "$CC" && break
4857 done
4859 if test -z "$CC"; then
4860 ac_ct_CC=$CC
4861 for ac_prog in cl.exe
4863 # Extract the first word of "$ac_prog", so it can be a program name with args.
4864 set dummy $ac_prog; ac_word=$2
4865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866 printf %s "checking for $ac_word... " >&6; }
4867 if test ${ac_cv_prog_ac_ct_CC+y}
4868 then :
4869 printf %s "(cached) " >&6
4870 else $as_nop
4871 if test -n "$ac_ct_CC"; then
4872 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4873 else
4874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4875 for as_dir in $PATH
4877 IFS=$as_save_IFS
4878 case $as_dir in #(((
4879 '') as_dir=./ ;;
4880 */) ;;
4881 *) as_dir=$as_dir/ ;;
4882 esac
4883 for ac_exec_ext in '' $ac_executable_extensions; do
4884 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4885 ac_cv_prog_ac_ct_CC="$ac_prog"
4886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4887 break 2
4889 done
4890 done
4891 IFS=$as_save_IFS
4895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4896 if test -n "$ac_ct_CC"; then
4897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4898 printf "%s\n" "$ac_ct_CC" >&6; }
4899 else
4900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 printf "%s\n" "no" >&6; }
4905 test -n "$ac_ct_CC" && break
4906 done
4908 if test "x$ac_ct_CC" = x; then
4909 CC=""
4910 else
4911 case $cross_compiling:$ac_tool_warned in
4912 yes:)
4913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4914 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4915 ac_tool_warned=yes ;;
4916 esac
4917 CC=$ac_ct_CC
4922 if test -z "$CC"; then
4923 if test -n "$ac_tool_prefix"; then
4924 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4925 set dummy ${ac_tool_prefix}clang; ac_word=$2
4926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 printf %s "checking for $ac_word... " >&6; }
4928 if test ${ac_cv_prog_CC+y}
4929 then :
4930 printf %s "(cached) " >&6
4931 else $as_nop
4932 if test -n "$CC"; then
4933 ac_cv_prog_CC="$CC" # Let the user override the test.
4934 else
4935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4936 for as_dir in $PATH
4938 IFS=$as_save_IFS
4939 case $as_dir in #(((
4940 '') as_dir=./ ;;
4941 */) ;;
4942 *) as_dir=$as_dir/ ;;
4943 esac
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4946 ac_cv_prog_CC="${ac_tool_prefix}clang"
4947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4948 break 2
4950 done
4951 done
4952 IFS=$as_save_IFS
4956 CC=$ac_cv_prog_CC
4957 if test -n "$CC"; then
4958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4959 printf "%s\n" "$CC" >&6; }
4960 else
4961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 printf "%s\n" "no" >&6; }
4967 if test -z "$ac_cv_prog_CC"; then
4968 ac_ct_CC=$CC
4969 # Extract the first word of "clang", so it can be a program name with args.
4970 set dummy clang; ac_word=$2
4971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 printf %s "checking for $ac_word... " >&6; }
4973 if test ${ac_cv_prog_ac_ct_CC+y}
4974 then :
4975 printf %s "(cached) " >&6
4976 else $as_nop
4977 if test -n "$ac_ct_CC"; then
4978 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4979 else
4980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4981 for as_dir in $PATH
4983 IFS=$as_save_IFS
4984 case $as_dir in #(((
4985 '') as_dir=./ ;;
4986 */) ;;
4987 *) as_dir=$as_dir/ ;;
4988 esac
4989 for ac_exec_ext in '' $ac_executable_extensions; do
4990 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4991 ac_cv_prog_ac_ct_CC="clang"
4992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4993 break 2
4995 done
4996 done
4997 IFS=$as_save_IFS
5001 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5002 if test -n "$ac_ct_CC"; then
5003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5004 printf "%s\n" "$ac_ct_CC" >&6; }
5005 else
5006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5007 printf "%s\n" "no" >&6; }
5010 if test "x$ac_ct_CC" = x; then
5011 CC=""
5012 else
5013 case $cross_compiling:$ac_tool_warned in
5014 yes:)
5015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5016 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5017 ac_tool_warned=yes ;;
5018 esac
5019 CC=$ac_ct_CC
5021 else
5022 CC="$ac_cv_prog_CC"
5028 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5029 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5030 as_fn_error $? "no acceptable C compiler found in \$PATH
5031 See \`config.log' for more details" "$LINENO" 5; }
5033 # Provide some information about the compiler.
5034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5035 set X $ac_compile
5036 ac_compiler=$2
5037 for ac_option in --version -v -V -qversion -version; do
5038 { { ac_try="$ac_compiler $ac_option >&5"
5039 case "(($ac_try" in
5040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5041 *) ac_try_echo=$ac_try;;
5042 esac
5043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5044 printf "%s\n" "$ac_try_echo"; } >&5
5045 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5046 ac_status=$?
5047 if test -s conftest.err; then
5048 sed '10a\
5049 ... rest of stderr output deleted ...
5050 10q' conftest.err >conftest.er1
5051 cat conftest.er1 >&5
5053 rm -f conftest.er1 conftest.err
5054 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5055 test $ac_status = 0; }
5056 done
5058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5059 /* end confdefs.h. */
5062 main (void)
5066 return 0;
5068 _ACEOF
5069 ac_clean_files_save=$ac_clean_files
5070 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5071 # Try to create an executable without -o first, disregard a.out.
5072 # It will help us diagnose broken compilers, and finding out an intuition
5073 # of exeext.
5074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5075 printf %s "checking whether the C compiler works... " >&6; }
5076 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5078 # The possible output files:
5079 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5081 ac_rmfiles=
5082 for ac_file in $ac_files
5084 case $ac_file in
5085 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5086 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5087 esac
5088 done
5089 rm -f $ac_rmfiles
5091 if { { ac_try="$ac_link_default"
5092 case "(($ac_try" in
5093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5094 *) ac_try_echo=$ac_try;;
5095 esac
5096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5097 printf "%s\n" "$ac_try_echo"; } >&5
5098 (eval "$ac_link_default") 2>&5
5099 ac_status=$?
5100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5101 test $ac_status = 0; }
5102 then :
5103 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5104 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5105 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5106 # so that the user can short-circuit this test for compilers unknown to
5107 # Autoconf.
5108 for ac_file in $ac_files ''
5110 test -f "$ac_file" || continue
5111 case $ac_file in
5112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5114 [ab].out )
5115 # We found the default executable, but exeext='' is most
5116 # certainly right.
5117 break;;
5118 *.* )
5119 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5120 then :; else
5121 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5123 # We set ac_cv_exeext here because the later test for it is not
5124 # safe: cross compilers may not add the suffix if given an `-o'
5125 # argument, so we may need to know it at that point already.
5126 # Even if this section looks crufty: it has the advantage of
5127 # actually working.
5128 break;;
5130 break;;
5131 esac
5132 done
5133 test "$ac_cv_exeext" = no && ac_cv_exeext=
5135 else $as_nop
5136 ac_file=''
5138 if test -z "$ac_file"
5139 then :
5140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 printf "%s\n" "no" >&6; }
5142 printf "%s\n" "$as_me: failed program was:" >&5
5143 sed 's/^/| /' conftest.$ac_ext >&5
5145 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5146 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5147 as_fn_error 77 "C compiler cannot create executables
5148 See \`config.log' for more details" "$LINENO" 5; }
5149 else $as_nop
5150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5151 printf "%s\n" "yes" >&6; }
5153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5154 printf %s "checking for C compiler default output file name... " >&6; }
5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5156 printf "%s\n" "$ac_file" >&6; }
5157 ac_exeext=$ac_cv_exeext
5159 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5160 ac_clean_files=$ac_clean_files_save
5161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5162 printf %s "checking for suffix of executables... " >&6; }
5163 if { { ac_try="$ac_link"
5164 case "(($ac_try" in
5165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5166 *) ac_try_echo=$ac_try;;
5167 esac
5168 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5169 printf "%s\n" "$ac_try_echo"; } >&5
5170 (eval "$ac_link") 2>&5
5171 ac_status=$?
5172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5173 test $ac_status = 0; }
5174 then :
5175 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5176 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5177 # work properly (i.e., refer to `conftest.exe'), while it won't with
5178 # `rm'.
5179 for ac_file in conftest.exe conftest conftest.*; do
5180 test -f "$ac_file" || continue
5181 case $ac_file in
5182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5183 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5184 break;;
5185 * ) break;;
5186 esac
5187 done
5188 else $as_nop
5189 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5190 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5191 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5192 See \`config.log' for more details" "$LINENO" 5; }
5194 rm -f conftest conftest$ac_cv_exeext
5195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5196 printf "%s\n" "$ac_cv_exeext" >&6; }
5198 rm -f conftest.$ac_ext
5199 EXEEXT=$ac_cv_exeext
5200 ac_exeext=$EXEEXT
5201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5202 /* end confdefs.h. */
5203 #include <stdio.h>
5205 main (void)
5207 FILE *f = fopen ("conftest.out", "w");
5208 return ferror (f) || fclose (f) != 0;
5211 return 0;
5213 _ACEOF
5214 ac_clean_files="$ac_clean_files conftest.out"
5215 # Check that the compiler produces executables we can run. If not, either
5216 # the compiler is broken, or we cross compile.
5217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5218 printf %s "checking whether we are cross compiling... " >&6; }
5219 if test "$cross_compiling" != yes; then
5220 { { ac_try="$ac_link"
5221 case "(($ac_try" in
5222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5223 *) ac_try_echo=$ac_try;;
5224 esac
5225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5226 printf "%s\n" "$ac_try_echo"; } >&5
5227 (eval "$ac_link") 2>&5
5228 ac_status=$?
5229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5230 test $ac_status = 0; }
5231 if { ac_try='./conftest$ac_cv_exeext'
5232 { { case "(($ac_try" in
5233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5234 *) ac_try_echo=$ac_try;;
5235 esac
5236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5237 printf "%s\n" "$ac_try_echo"; } >&5
5238 (eval "$ac_try") 2>&5
5239 ac_status=$?
5240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5241 test $ac_status = 0; }; }; then
5242 cross_compiling=no
5243 else
5244 if test "$cross_compiling" = maybe; then
5245 cross_compiling=yes
5246 else
5247 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5248 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5249 as_fn_error 77 "cannot run C compiled programs.
5250 If you meant to cross compile, use \`--host'.
5251 See \`config.log' for more details" "$LINENO" 5; }
5255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5256 printf "%s\n" "$cross_compiling" >&6; }
5258 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5259 ac_clean_files=$ac_clean_files_save
5260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5261 printf %s "checking for suffix of object files... " >&6; }
5262 if test ${ac_cv_objext+y}
5263 then :
5264 printf %s "(cached) " >&6
5265 else $as_nop
5266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5267 /* end confdefs.h. */
5270 main (void)
5274 return 0;
5276 _ACEOF
5277 rm -f conftest.o conftest.obj
5278 if { { ac_try="$ac_compile"
5279 case "(($ac_try" in
5280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5281 *) ac_try_echo=$ac_try;;
5282 esac
5283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5284 printf "%s\n" "$ac_try_echo"; } >&5
5285 (eval "$ac_compile") 2>&5
5286 ac_status=$?
5287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5288 test $ac_status = 0; }
5289 then :
5290 for ac_file in conftest.o conftest.obj conftest.*; do
5291 test -f "$ac_file" || continue;
5292 case $ac_file in
5293 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5294 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5295 break;;
5296 esac
5297 done
5298 else $as_nop
5299 printf "%s\n" "$as_me: failed program was:" >&5
5300 sed 's/^/| /' conftest.$ac_ext >&5
5302 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5303 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5304 as_fn_error $? "cannot compute suffix of object files: cannot compile
5305 See \`config.log' for more details" "$LINENO" 5; }
5307 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5310 printf "%s\n" "$ac_cv_objext" >&6; }
5311 OBJEXT=$ac_cv_objext
5312 ac_objext=$OBJEXT
5313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5314 printf %s "checking whether the compiler supports GNU C... " >&6; }
5315 if test ${ac_cv_c_compiler_gnu+y}
5316 then :
5317 printf %s "(cached) " >&6
5318 else $as_nop
5319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5320 /* end confdefs.h. */
5323 main (void)
5325 #ifndef __GNUC__
5326 choke me
5327 #endif
5330 return 0;
5332 _ACEOF
5333 if ac_fn_c_try_compile "$LINENO"
5334 then :
5335 ac_compiler_gnu=yes
5336 else $as_nop
5337 ac_compiler_gnu=no
5339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5344 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5347 if test $ac_compiler_gnu = yes; then
5348 GCC=yes
5349 else
5350 GCC=
5352 ac_test_CFLAGS=${CFLAGS+y}
5353 ac_save_CFLAGS=$CFLAGS
5354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5355 printf %s "checking whether $CC accepts -g... " >&6; }
5356 if test ${ac_cv_prog_cc_g+y}
5357 then :
5358 printf %s "(cached) " >&6
5359 else $as_nop
5360 ac_save_c_werror_flag=$ac_c_werror_flag
5361 ac_c_werror_flag=yes
5362 ac_cv_prog_cc_g=no
5363 CFLAGS="-g"
5364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5368 main (void)
5372 return 0;
5374 _ACEOF
5375 if ac_fn_c_try_compile "$LINENO"
5376 then :
5377 ac_cv_prog_cc_g=yes
5378 else $as_nop
5379 CFLAGS=""
5380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5381 /* end confdefs.h. */
5384 main (void)
5388 return 0;
5390 _ACEOF
5391 if ac_fn_c_try_compile "$LINENO"
5392 then :
5394 else $as_nop
5395 ac_c_werror_flag=$ac_save_c_werror_flag
5396 CFLAGS="-g"
5397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5401 main (void)
5405 return 0;
5407 _ACEOF
5408 if ac_fn_c_try_compile "$LINENO"
5409 then :
5410 ac_cv_prog_cc_g=yes
5412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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
5417 ac_c_werror_flag=$ac_save_c_werror_flag
5419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5420 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5421 if test $ac_test_CFLAGS; then
5422 CFLAGS=$ac_save_CFLAGS
5423 elif test $ac_cv_prog_cc_g = yes; then
5424 if test "$GCC" = yes; then
5425 CFLAGS="-g -O2"
5426 else
5427 CFLAGS="-g"
5429 else
5430 if test "$GCC" = yes; then
5431 CFLAGS="-O2"
5432 else
5433 CFLAGS=
5436 ac_prog_cc_stdc=no
5437 if test x$ac_prog_cc_stdc = xno
5438 then :
5439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5440 printf %s "checking for $CC option to enable C11 features... " >&6; }
5441 if test ${ac_cv_prog_cc_c11+y}
5442 then :
5443 printf %s "(cached) " >&6
5444 else $as_nop
5445 ac_cv_prog_cc_c11=no
5446 ac_save_CC=$CC
5447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5448 /* end confdefs.h. */
5449 $ac_c_conftest_c11_program
5450 _ACEOF
5451 for ac_arg in '' -std=gnu11
5453 CC="$ac_save_CC $ac_arg"
5454 if ac_fn_c_try_compile "$LINENO"
5455 then :
5456 ac_cv_prog_cc_c11=$ac_arg
5458 rm -f core conftest.err conftest.$ac_objext conftest.beam
5459 test "x$ac_cv_prog_cc_c11" != "xno" && break
5460 done
5461 rm -f conftest.$ac_ext
5462 CC=$ac_save_CC
5465 if test "x$ac_cv_prog_cc_c11" = xno
5466 then :
5467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5468 printf "%s\n" "unsupported" >&6; }
5469 else $as_nop
5470 if test "x$ac_cv_prog_cc_c11" = x
5471 then :
5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5473 printf "%s\n" "none needed" >&6; }
5474 else $as_nop
5475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5476 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5477 CC="$CC $ac_cv_prog_cc_c11"
5479 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5480 ac_prog_cc_stdc=c11
5483 if test x$ac_prog_cc_stdc = xno
5484 then :
5485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5486 printf %s "checking for $CC option to enable C99 features... " >&6; }
5487 if test ${ac_cv_prog_cc_c99+y}
5488 then :
5489 printf %s "(cached) " >&6
5490 else $as_nop
5491 ac_cv_prog_cc_c99=no
5492 ac_save_CC=$CC
5493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5494 /* end confdefs.h. */
5495 $ac_c_conftest_c99_program
5496 _ACEOF
5497 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5499 CC="$ac_save_CC $ac_arg"
5500 if ac_fn_c_try_compile "$LINENO"
5501 then :
5502 ac_cv_prog_cc_c99=$ac_arg
5504 rm -f core conftest.err conftest.$ac_objext conftest.beam
5505 test "x$ac_cv_prog_cc_c99" != "xno" && break
5506 done
5507 rm -f conftest.$ac_ext
5508 CC=$ac_save_CC
5511 if test "x$ac_cv_prog_cc_c99" = xno
5512 then :
5513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5514 printf "%s\n" "unsupported" >&6; }
5515 else $as_nop
5516 if test "x$ac_cv_prog_cc_c99" = x
5517 then :
5518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5519 printf "%s\n" "none needed" >&6; }
5520 else $as_nop
5521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5522 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5523 CC="$CC $ac_cv_prog_cc_c99"
5525 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5526 ac_prog_cc_stdc=c99
5529 if test x$ac_prog_cc_stdc = xno
5530 then :
5531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5532 printf %s "checking for $CC option to enable C89 features... " >&6; }
5533 if test ${ac_cv_prog_cc_c89+y}
5534 then :
5535 printf %s "(cached) " >&6
5536 else $as_nop
5537 ac_cv_prog_cc_c89=no
5538 ac_save_CC=$CC
5539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5540 /* end confdefs.h. */
5541 $ac_c_conftest_c89_program
5542 _ACEOF
5543 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5545 CC="$ac_save_CC $ac_arg"
5546 if ac_fn_c_try_compile "$LINENO"
5547 then :
5548 ac_cv_prog_cc_c89=$ac_arg
5550 rm -f core conftest.err conftest.$ac_objext conftest.beam
5551 test "x$ac_cv_prog_cc_c89" != "xno" && break
5552 done
5553 rm -f conftest.$ac_ext
5554 CC=$ac_save_CC
5557 if test "x$ac_cv_prog_cc_c89" = xno
5558 then :
5559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5560 printf "%s\n" "unsupported" >&6; }
5561 else $as_nop
5562 if test "x$ac_cv_prog_cc_c89" = x
5563 then :
5564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5565 printf "%s\n" "none needed" >&6; }
5566 else $as_nop
5567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5568 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5569 CC="$CC $ac_cv_prog_cc_c89"
5571 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5572 ac_prog_cc_stdc=c89
5576 ac_ext=c
5577 ac_cpp='$CPP $CPPFLAGS'
5578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5588 ac_ext=cpp
5589 ac_cpp='$CXXCPP $CPPFLAGS'
5590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5593 if test -z "$CXX"; then
5594 if test -n "$CCC"; then
5595 CXX=$CCC
5596 else
5597 if test -n "$ac_tool_prefix"; then
5598 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5600 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5601 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603 printf %s "checking for $ac_word... " >&6; }
5604 if test ${ac_cv_prog_CXX+y}
5605 then :
5606 printf %s "(cached) " >&6
5607 else $as_nop
5608 if test -n "$CXX"; then
5609 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5610 else
5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5612 for as_dir in $PATH
5614 IFS=$as_save_IFS
5615 case $as_dir in #(((
5616 '') as_dir=./ ;;
5617 */) ;;
5618 *) as_dir=$as_dir/ ;;
5619 esac
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5622 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5623 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5624 break 2
5626 done
5627 done
5628 IFS=$as_save_IFS
5632 CXX=$ac_cv_prog_CXX
5633 if test -n "$CXX"; then
5634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5635 printf "%s\n" "$CXX" >&6; }
5636 else
5637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5638 printf "%s\n" "no" >&6; }
5642 test -n "$CXX" && break
5643 done
5645 if test -z "$CXX"; then
5646 ac_ct_CXX=$CXX
5647 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5649 # Extract the first word of "$ac_prog", so it can be a program name with args.
5650 set dummy $ac_prog; ac_word=$2
5651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5652 printf %s "checking for $ac_word... " >&6; }
5653 if test ${ac_cv_prog_ac_ct_CXX+y}
5654 then :
5655 printf %s "(cached) " >&6
5656 else $as_nop
5657 if test -n "$ac_ct_CXX"; then
5658 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5659 else
5660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 for as_dir in $PATH
5663 IFS=$as_save_IFS
5664 case $as_dir in #(((
5665 '') as_dir=./ ;;
5666 */) ;;
5667 *) as_dir=$as_dir/ ;;
5668 esac
5669 for ac_exec_ext in '' $ac_executable_extensions; do
5670 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5671 ac_cv_prog_ac_ct_CXX="$ac_prog"
5672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5673 break 2
5675 done
5676 done
5677 IFS=$as_save_IFS
5681 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5682 if test -n "$ac_ct_CXX"; then
5683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5684 printf "%s\n" "$ac_ct_CXX" >&6; }
5685 else
5686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687 printf "%s\n" "no" >&6; }
5691 test -n "$ac_ct_CXX" && break
5692 done
5694 if test "x$ac_ct_CXX" = x; then
5695 CXX="g++"
5696 else
5697 case $cross_compiling:$ac_tool_warned in
5698 yes:)
5699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5700 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5701 ac_tool_warned=yes ;;
5702 esac
5703 CXX=$ac_ct_CXX
5709 # Provide some information about the compiler.
5710 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5711 set X $ac_compile
5712 ac_compiler=$2
5713 for ac_option in --version -v -V -qversion; do
5714 { { ac_try="$ac_compiler $ac_option >&5"
5715 case "(($ac_try" in
5716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5717 *) ac_try_echo=$ac_try;;
5718 esac
5719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5720 printf "%s\n" "$ac_try_echo"; } >&5
5721 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5722 ac_status=$?
5723 if test -s conftest.err; then
5724 sed '10a\
5725 ... rest of stderr output deleted ...
5726 10q' conftest.err >conftest.er1
5727 cat conftest.er1 >&5
5729 rm -f conftest.er1 conftest.err
5730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5731 test $ac_status = 0; }
5732 done
5734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5735 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5736 if test ${ac_cv_cxx_compiler_gnu+y}
5737 then :
5738 printf %s "(cached) " >&6
5739 else $as_nop
5740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5741 /* end confdefs.h. */
5744 main (void)
5746 #ifndef __GNUC__
5747 choke me
5748 #endif
5751 return 0;
5753 _ACEOF
5754 if ac_fn_cxx_try_compile "$LINENO"
5755 then :
5756 ac_compiler_gnu=yes
5757 else $as_nop
5758 ac_compiler_gnu=no
5760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5761 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5765 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5768 if test $ac_compiler_gnu = yes; then
5769 GXX=yes
5770 else
5771 GXX=
5773 ac_test_CXXFLAGS=${CXXFLAGS+y}
5774 ac_save_CXXFLAGS=$CXXFLAGS
5775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5776 printf %s "checking whether $CXX accepts -g... " >&6; }
5777 if test ${ac_cv_prog_cxx_g+y}
5778 then :
5779 printf %s "(cached) " >&6
5780 else $as_nop
5781 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5782 ac_cxx_werror_flag=yes
5783 ac_cv_prog_cxx_g=no
5784 CXXFLAGS="-g"
5785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5786 /* end confdefs.h. */
5789 main (void)
5793 return 0;
5795 _ACEOF
5796 if ac_fn_cxx_try_compile "$LINENO"
5797 then :
5798 ac_cv_prog_cxx_g=yes
5799 else $as_nop
5800 CXXFLAGS=""
5801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5802 /* end confdefs.h. */
5805 main (void)
5809 return 0;
5811 _ACEOF
5812 if ac_fn_cxx_try_compile "$LINENO"
5813 then :
5815 else $as_nop
5816 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5817 CXXFLAGS="-g"
5818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5819 /* end confdefs.h. */
5822 main (void)
5826 return 0;
5828 _ACEOF
5829 if ac_fn_cxx_try_compile "$LINENO"
5830 then :
5831 ac_cv_prog_cxx_g=yes
5833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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
5838 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5841 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5842 if test $ac_test_CXXFLAGS; then
5843 CXXFLAGS=$ac_save_CXXFLAGS
5844 elif test $ac_cv_prog_cxx_g = yes; then
5845 if test "$GXX" = yes; then
5846 CXXFLAGS="-g -O2"
5847 else
5848 CXXFLAGS="-g"
5850 else
5851 if test "$GXX" = yes; then
5852 CXXFLAGS="-O2"
5853 else
5854 CXXFLAGS=
5857 ac_prog_cxx_stdcxx=no
5858 if test x$ac_prog_cxx_stdcxx = xno
5859 then :
5860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5861 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5862 if test ${ac_cv_prog_cxx_11+y}
5863 then :
5864 printf %s "(cached) " >&6
5865 else $as_nop
5866 ac_cv_prog_cxx_11=no
5867 ac_save_CXX=$CXX
5868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5869 /* end confdefs.h. */
5870 $ac_cxx_conftest_cxx11_program
5871 _ACEOF
5872 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5874 CXX="$ac_save_CXX $ac_arg"
5875 if ac_fn_cxx_try_compile "$LINENO"
5876 then :
5877 ac_cv_prog_cxx_cxx11=$ac_arg
5879 rm -f core conftest.err conftest.$ac_objext conftest.beam
5880 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5881 done
5882 rm -f conftest.$ac_ext
5883 CXX=$ac_save_CXX
5886 if test "x$ac_cv_prog_cxx_cxx11" = xno
5887 then :
5888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5889 printf "%s\n" "unsupported" >&6; }
5890 else $as_nop
5891 if test "x$ac_cv_prog_cxx_cxx11" = x
5892 then :
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5894 printf "%s\n" "none needed" >&6; }
5895 else $as_nop
5896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5897 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5898 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5900 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5901 ac_prog_cxx_stdcxx=cxx11
5904 if test x$ac_prog_cxx_stdcxx = xno
5905 then :
5906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5907 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5908 if test ${ac_cv_prog_cxx_98+y}
5909 then :
5910 printf %s "(cached) " >&6
5911 else $as_nop
5912 ac_cv_prog_cxx_98=no
5913 ac_save_CXX=$CXX
5914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5915 /* end confdefs.h. */
5916 $ac_cxx_conftest_cxx98_program
5917 _ACEOF
5918 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5920 CXX="$ac_save_CXX $ac_arg"
5921 if ac_fn_cxx_try_compile "$LINENO"
5922 then :
5923 ac_cv_prog_cxx_cxx98=$ac_arg
5925 rm -f core conftest.err conftest.$ac_objext conftest.beam
5926 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5927 done
5928 rm -f conftest.$ac_ext
5929 CXX=$ac_save_CXX
5932 if test "x$ac_cv_prog_cxx_cxx98" = xno
5933 then :
5934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5935 printf "%s\n" "unsupported" >&6; }
5936 else $as_nop
5937 if test "x$ac_cv_prog_cxx_cxx98" = x
5938 then :
5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5940 printf "%s\n" "none needed" >&6; }
5941 else $as_nop
5942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5943 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5944 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5946 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5947 ac_prog_cxx_stdcxx=cxx98
5951 ac_ext=c
5952 ac_cpp='$CPP $CPPFLAGS'
5953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5957 if test -n "$ac_tool_prefix"; then
5958 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5959 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5961 printf %s "checking for $ac_word... " >&6; }
5962 if test ${ac_cv_prog_CPPBIN+y}
5963 then :
5964 printf %s "(cached) " >&6
5965 else $as_nop
5966 if test -n "$CPPBIN"; then
5967 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5968 else
5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5970 for as_dir in $PATH
5972 IFS=$as_save_IFS
5973 case $as_dir in #(((
5974 '') as_dir=./ ;;
5975 */) ;;
5976 *) as_dir=$as_dir/ ;;
5977 esac
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5980 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5982 break 2
5984 done
5985 done
5986 IFS=$as_save_IFS
5990 CPPBIN=$ac_cv_prog_CPPBIN
5991 if test -n "$CPPBIN"; then
5992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5993 printf "%s\n" "$CPPBIN" >&6; }
5994 else
5995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 printf "%s\n" "no" >&6; }
6001 if test -z "$ac_cv_prog_CPPBIN"; then
6002 ac_ct_CPPBIN=$CPPBIN
6003 # Extract the first word of "cpp", so it can be a program name with args.
6004 set dummy cpp; ac_word=$2
6005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6006 printf %s "checking for $ac_word... " >&6; }
6007 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6008 then :
6009 printf %s "(cached) " >&6
6010 else $as_nop
6011 if test -n "$ac_ct_CPPBIN"; then
6012 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6013 else
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH
6017 IFS=$as_save_IFS
6018 case $as_dir in #(((
6019 '') as_dir=./ ;;
6020 */) ;;
6021 *) as_dir=$as_dir/ ;;
6022 esac
6023 for ac_exec_ext in '' $ac_executable_extensions; do
6024 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6025 ac_cv_prog_ac_ct_CPPBIN="cpp"
6026 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6027 break 2
6029 done
6030 done
6031 IFS=$as_save_IFS
6035 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6036 if test -n "$ac_ct_CPPBIN"; then
6037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6038 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6039 else
6040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6041 printf "%s\n" "no" >&6; }
6044 if test "x$ac_ct_CPPBIN" = x; then
6045 CPPBIN="cpp"
6046 else
6047 case $cross_compiling:$ac_tool_warned in
6048 yes:)
6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6050 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6051 ac_tool_warned=yes ;;
6052 esac
6053 CPPBIN=$ac_ct_CPPBIN
6055 else
6056 CPPBIN="$ac_cv_prog_CPPBIN"
6060 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6062 if test -n "$ac_tool_prefix"; then
6063 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6064 set dummy ${ac_tool_prefix}ld; ac_word=$2
6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 printf %s "checking for $ac_word... " >&6; }
6067 if test ${ac_cv_prog_LD+y}
6068 then :
6069 printf %s "(cached) " >&6
6070 else $as_nop
6071 if test -n "$LD"; then
6072 ac_cv_prog_LD="$LD" # Let the user override the test.
6073 else
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6075 for as_dir in $PATH
6077 IFS=$as_save_IFS
6078 case $as_dir in #(((
6079 '') as_dir=./ ;;
6080 */) ;;
6081 *) as_dir=$as_dir/ ;;
6082 esac
6083 for ac_exec_ext in '' $ac_executable_extensions; do
6084 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6085 ac_cv_prog_LD="${ac_tool_prefix}ld"
6086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6087 break 2
6089 done
6090 done
6091 IFS=$as_save_IFS
6095 LD=$ac_cv_prog_LD
6096 if test -n "$LD"; then
6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6098 printf "%s\n" "$LD" >&6; }
6099 else
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 printf "%s\n" "no" >&6; }
6106 if test -z "$ac_cv_prog_LD"; then
6107 ac_ct_LD=$LD
6108 # Extract the first word of "ld", so it can be a program name with args.
6109 set dummy ld; ac_word=$2
6110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6111 printf %s "checking for $ac_word... " >&6; }
6112 if test ${ac_cv_prog_ac_ct_LD+y}
6113 then :
6114 printf %s "(cached) " >&6
6115 else $as_nop
6116 if test -n "$ac_ct_LD"; then
6117 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6118 else
6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6120 for as_dir in $PATH
6122 IFS=$as_save_IFS
6123 case $as_dir in #(((
6124 '') as_dir=./ ;;
6125 */) ;;
6126 *) as_dir=$as_dir/ ;;
6127 esac
6128 for ac_exec_ext in '' $ac_executable_extensions; do
6129 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6130 ac_cv_prog_ac_ct_LD="ld"
6131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6132 break 2
6134 done
6135 done
6136 IFS=$as_save_IFS
6140 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6141 if test -n "$ac_ct_LD"; then
6142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6143 printf "%s\n" "$ac_ct_LD" >&6; }
6144 else
6145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6146 printf "%s\n" "no" >&6; }
6149 if test "x$ac_ct_LD" = x; then
6150 LD=""
6151 else
6152 case $cross_compiling:$ac_tool_warned in
6153 yes:)
6154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6155 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6156 ac_tool_warned=yes ;;
6157 esac
6158 LD=$ac_ct_LD
6160 else
6161 LD="$ac_cv_prog_LD"
6165 case $host in
6166 *-darwin*)
6167 with_fontconfig=${with_fontconfig:-no}
6169 *-mingw32*|*-cygwin*)
6170 enable_win16=${enable_win16:-no}
6171 with_mingw=${with_mingw:-no}
6173 esac
6176 case $host in
6177 x86_64*|amd64*)
6178 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6179 then
6180 CC="$CC -m32"
6181 CXX="$CXX -m32"
6183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6184 printf %s "checking whether $CC works... " >&6; }
6185 if test ${wine_cv_cc_m32+y}
6186 then :
6187 printf %s "(cached) " >&6
6188 else $as_nop
6189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6190 /* end confdefs.h. */
6193 main (void)
6197 return 0;
6199 _ACEOF
6200 if ac_fn_c_try_link "$LINENO"
6201 then :
6202 wine_cv_cc_m32=yes
6203 else $as_nop
6204 wine_cv_cc_m32=no
6206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6207 conftest$ac_exeext conftest.$ac_ext
6209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6210 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6211 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
6212 host_cpu="i386"
6213 notice_platform="32-bit "
6214 TARGETFLAGS="$TARGETFLAGS -m32"
6215 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6216 export PKG_CONFIG_PATH
6217 enable_win16=${enable_win16:-yes}
6218 with_unwind=${with_unwind:-no}
6219 else
6220 if test "x${GCC}" = "xyes"
6221 then
6222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6223 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6224 if test ${wine_cv_builtin_ms_va_list+y}
6225 then :
6226 printf %s "(cached) " >&6
6227 else $as_nop
6228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6229 /* end confdefs.h. */
6230 #include <stdarg.h>
6232 main (void)
6234 void func(__builtin_ms_va_list *args);
6236 return 0;
6238 _ACEOF
6239 if ac_fn_c_try_compile "$LINENO"
6240 then :
6241 wine_cv_builtin_ms_va_list=yes
6242 else $as_nop
6243 wine_cv_builtin_ms_va_list=no
6245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6248 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6249 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
6251 CC="$CC -m64"
6252 CXX="$CXX -m64"
6253 host_cpu="x86_64"
6254 notice_platform="64-bit "
6255 TARGETFLAGS="$TARGETFLAGS -m64"
6256 enable_wow64=${enable_wow64:-yes}
6257 enable_wow64win=${enable_wow64win:-yes}
6258 enable_wow64cpu=${enable_wow64cpu:-yes}
6261 arm*)
6262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6263 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6264 if test ${wine_cv_thumb2+y}
6265 then :
6266 printf %s "(cached) " >&6
6267 else $as_nop
6268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6269 /* end confdefs.h. */
6272 main (void)
6274 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6276 return 0;
6278 _ACEOF
6279 if ac_fn_c_try_link "$LINENO"
6280 then :
6281 wine_cv_thumb2=yes
6282 else $as_nop
6283 wine_cv_thumb2=no
6285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6286 conftest$ac_exeext conftest.$ac_ext
6288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6289 printf "%s\n" "$wine_cv_thumb2" >&6; }
6290 if test x"$wine_cv_thumb2" = xyes
6291 then
6292 CFLAGS="$CFLAGS -mthumb"
6293 TARGETFLAGS="$TARGETFLAGS -mthumb"
6294 else
6295 CFLAGS="$CFLAGS -marm"
6296 TARGETFLAGS="$TARGETFLAGS -marm"
6298 case $with_float_abi in
6299 soft|softfp|hard)
6300 float_abi=$with_float_abi ;;
6302 case $host_os in
6303 *eabihf)
6304 float_abi=hard ;;
6306 float_abi=softfp
6307 saved_CFLAGS=$CFLAGS
6308 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6310 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6311 if test ${wine_cv_float_abi+y}
6312 then :
6313 printf %s "(cached) " >&6
6314 else $as_nop
6315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6319 main (void)
6321 asm("vmrs r2,fpscr");
6323 return 0;
6325 _ACEOF
6326 if ac_fn_c_try_link "$LINENO"
6327 then :
6328 wine_cv_float_abi=yes
6329 else $as_nop
6330 wine_cv_float_abi=no
6332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6333 conftest$ac_exeext conftest.$ac_ext
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6336 printf "%s\n" "$wine_cv_float_abi" >&6; }
6337 if test $wine_cv_float_abi = no
6338 then
6339 float_abi=soft
6340 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6342 CFLAGS=$saved_CFLAGS
6343 esac
6345 esac
6346 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6347 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6349 aarch64*)
6350 enable_wow64=${enable_wow64:-yes}
6351 enable_wow64win=${enable_wow64win:-yes}
6353 i[3456789]86*)
6354 enable_win16=${enable_win16:-yes}
6355 with_unwind=${with_unwind:-no}
6357 esac
6359 enable_win16=${enable_win16:-no}
6360 enable_win64=${enable_win64:-no}
6361 enable_wow64=${enable_wow64:-no}
6362 enable_wow64win=${enable_wow64win:-no}
6363 enable_wow64cpu=${enable_wow64cpu:-no}
6365 enable_winetest=${enable_winetest:-$enable_tests}
6367 if test "x$enable_win64" = "xyes"
6368 then
6369 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6370 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6373 case $build_os in
6374 cygwin*|mingw32*) toolsext=".exe"
6376 *) toolsext=""
6378 esac
6380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6381 printf %s "checking for the directory containing the Wine tools... " >&6; }
6382 if test ${wine_cv_toolsdir+y}
6383 then :
6384 printf %s "(cached) " >&6
6385 else $as_nop
6386 wine_cv_toolsdir="$with_wine_tools"
6387 if test -z "$with_wine_tools"; then
6388 if test "$cross_compiling" = "yes"; then
6389 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6390 elif test -n "$with_wine64"; then
6391 wine_cv_toolsdir="$with_wine64"
6395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6396 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6397 if test -z "$wine_cv_toolsdir"; then
6398 wine_makedep=tools/makedep$toolsext
6399 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6400 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6401 enable_tools=${enable_tools:-no}
6402 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6403 else
6404 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6406 toolsdir=$wine_cv_toolsdir
6408 MAKEDEP=$wine_makedep
6410 RUNTESTFLAGS="-q -P wine"
6412 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'"
6415 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6416 then
6417 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6420 for ac_prog in flex
6422 # Extract the first word of "$ac_prog", so it can be a program name with args.
6423 set dummy $ac_prog; ac_word=$2
6424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6425 printf %s "checking for $ac_word... " >&6; }
6426 if test ${ac_cv_prog_FLEX+y}
6427 then :
6428 printf %s "(cached) " >&6
6429 else $as_nop
6430 if test -n "$FLEX"; then
6431 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6432 else
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 for as_dir in $PATH
6436 IFS=$as_save_IFS
6437 case $as_dir in #(((
6438 '') as_dir=./ ;;
6439 */) ;;
6440 *) as_dir=$as_dir/ ;;
6441 esac
6442 for ac_exec_ext in '' $ac_executable_extensions; do
6443 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6444 ac_cv_prog_FLEX="$ac_prog"
6445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6446 break 2
6448 done
6449 done
6450 IFS=$as_save_IFS
6454 FLEX=$ac_cv_prog_FLEX
6455 if test -n "$FLEX"; then
6456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6457 printf "%s\n" "$FLEX" >&6; }
6458 else
6459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6460 printf "%s\n" "no" >&6; }
6464 test -n "$FLEX" && break
6465 done
6466 test -n "$FLEX" || FLEX="none"
6468 if test "$FLEX" = "none"
6469 then
6470 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6473 printf %s "checking whether flex is recent enough... " >&6; }
6474 if test ${wine_cv_recent_flex+y}
6475 then :
6476 printf %s "(cached) " >&6
6477 else $as_nop
6478 cat >conftest.l <<EOF
6479 %top{
6480 #include "prediluvian.h"
6484 if $FLEX -t conftest.l >/dev/null 2>&5
6485 then
6486 wine_cv_recent_flex=yes
6487 else
6488 wine_cv_recent_flex=no
6491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6492 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6493 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
6495 for ac_prog in bison
6497 # Extract the first word of "$ac_prog", so it can be a program name with args.
6498 set dummy $ac_prog; ac_word=$2
6499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6500 printf %s "checking for $ac_word... " >&6; }
6501 if test ${ac_cv_prog_BISON+y}
6502 then :
6503 printf %s "(cached) " >&6
6504 else $as_nop
6505 if test -n "$BISON"; then
6506 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6507 else
6508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6509 for as_dir in $PATH
6511 IFS=$as_save_IFS
6512 case $as_dir in #(((
6513 '') as_dir=./ ;;
6514 */) ;;
6515 *) as_dir=$as_dir/ ;;
6516 esac
6517 for ac_exec_ext in '' $ac_executable_extensions; do
6518 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6519 ac_cv_prog_BISON="$ac_prog"
6520 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6521 break 2
6523 done
6524 done
6525 IFS=$as_save_IFS
6529 BISON=$ac_cv_prog_BISON
6530 if test -n "$BISON"; then
6531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6532 printf "%s\n" "$BISON" >&6; }
6533 else
6534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6535 printf "%s\n" "no" >&6; }
6539 test -n "$BISON" && break
6540 done
6541 test -n "$BISON" || BISON="none"
6543 if test "$BISON" = "none"
6544 then
6545 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6548 printf %s "checking whether bison is recent enough... " >&6; }
6549 if test ${wine_cv_recent_bison+y}
6550 then :
6551 printf %s "(cached) " >&6
6552 else $as_nop
6553 cat >conftest.y <<EOF
6554 %define parse.error verbose
6556 empty: ;
6558 if $BISON conftest.y >/dev/null 2>&5
6559 then
6560 wine_cv_recent_bison=yes
6561 else
6562 wine_cv_recent_bison=no
6565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6566 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6567 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
6569 if test -n "$ac_tool_prefix"; then
6570 for ac_prog in ar gar
6572 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6573 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6575 printf %s "checking for $ac_word... " >&6; }
6576 if test ${ac_cv_prog_AR+y}
6577 then :
6578 printf %s "(cached) " >&6
6579 else $as_nop
6580 if test -n "$AR"; then
6581 ac_cv_prog_AR="$AR" # Let the user override the test.
6582 else
6583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6584 for as_dir in $PATH
6586 IFS=$as_save_IFS
6587 case $as_dir in #(((
6588 '') as_dir=./ ;;
6589 */) ;;
6590 *) as_dir=$as_dir/ ;;
6591 esac
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6594 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6595 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6596 break 2
6598 done
6599 done
6600 IFS=$as_save_IFS
6604 AR=$ac_cv_prog_AR
6605 if test -n "$AR"; then
6606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6607 printf "%s\n" "$AR" >&6; }
6608 else
6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 printf "%s\n" "no" >&6; }
6614 test -n "$AR" && break
6615 done
6617 if test -z "$AR"; then
6618 ac_ct_AR=$AR
6619 for ac_prog in ar gar
6621 # Extract the first word of "$ac_prog", so it can be a program name with args.
6622 set dummy $ac_prog; ac_word=$2
6623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 printf %s "checking for $ac_word... " >&6; }
6625 if test ${ac_cv_prog_ac_ct_AR+y}
6626 then :
6627 printf %s "(cached) " >&6
6628 else $as_nop
6629 if test -n "$ac_ct_AR"; then
6630 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6631 else
6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6633 for as_dir in $PATH
6635 IFS=$as_save_IFS
6636 case $as_dir in #(((
6637 '') as_dir=./ ;;
6638 */) ;;
6639 *) as_dir=$as_dir/ ;;
6640 esac
6641 for ac_exec_ext in '' $ac_executable_extensions; do
6642 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6643 ac_cv_prog_ac_ct_AR="$ac_prog"
6644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6645 break 2
6647 done
6648 done
6649 IFS=$as_save_IFS
6653 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6654 if test -n "$ac_ct_AR"; then
6655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6656 printf "%s\n" "$ac_ct_AR" >&6; }
6657 else
6658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6659 printf "%s\n" "no" >&6; }
6663 test -n "$ac_ct_AR" && break
6664 done
6666 if test "x$ac_ct_AR" = x; then
6667 AR="ar"
6668 else
6669 case $cross_compiling:$ac_tool_warned in
6670 yes:)
6671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6672 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6673 ac_tool_warned=yes ;;
6674 esac
6675 AR=$ac_ct_AR
6679 if test -n "$ac_tool_prefix"; then
6680 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6681 set dummy ${ac_tool_prefix}strip; ac_word=$2
6682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6683 printf %s "checking for $ac_word... " >&6; }
6684 if test ${ac_cv_prog_STRIP+y}
6685 then :
6686 printf %s "(cached) " >&6
6687 else $as_nop
6688 if test -n "$STRIP"; then
6689 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6690 else
6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692 for as_dir in $PATH
6694 IFS=$as_save_IFS
6695 case $as_dir in #(((
6696 '') as_dir=./ ;;
6697 */) ;;
6698 *) as_dir=$as_dir/ ;;
6699 esac
6700 for ac_exec_ext in '' $ac_executable_extensions; do
6701 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6702 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6704 break 2
6706 done
6707 done
6708 IFS=$as_save_IFS
6712 STRIP=$ac_cv_prog_STRIP
6713 if test -n "$STRIP"; then
6714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6715 printf "%s\n" "$STRIP" >&6; }
6716 else
6717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718 printf "%s\n" "no" >&6; }
6723 if test -z "$ac_cv_prog_STRIP"; then
6724 ac_ct_STRIP=$STRIP
6725 # Extract the first word of "strip", so it can be a program name with args.
6726 set dummy strip; ac_word=$2
6727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6728 printf %s "checking for $ac_word... " >&6; }
6729 if test ${ac_cv_prog_ac_ct_STRIP+y}
6730 then :
6731 printf %s "(cached) " >&6
6732 else $as_nop
6733 if test -n "$ac_ct_STRIP"; then
6734 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6735 else
6736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737 for as_dir in $PATH
6739 IFS=$as_save_IFS
6740 case $as_dir in #(((
6741 '') as_dir=./ ;;
6742 */) ;;
6743 *) as_dir=$as_dir/ ;;
6744 esac
6745 for ac_exec_ext in '' $ac_executable_extensions; do
6746 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6747 ac_cv_prog_ac_ct_STRIP="strip"
6748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6749 break 2
6751 done
6752 done
6753 IFS=$as_save_IFS
6757 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6758 if test -n "$ac_ct_STRIP"; then
6759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6760 printf "%s\n" "$ac_ct_STRIP" >&6; }
6761 else
6762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6763 printf "%s\n" "no" >&6; }
6766 if test "x$ac_ct_STRIP" = x; then
6767 STRIP="strip"
6768 else
6769 case $cross_compiling:$ac_tool_warned in
6770 yes:)
6771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6772 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6773 ac_tool_warned=yes ;;
6774 esac
6775 STRIP=$ac_ct_STRIP
6777 else
6778 STRIP="$ac_cv_prog_STRIP"
6781 if test -n "$ac_tool_prefix"; then
6782 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6783 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6785 printf %s "checking for $ac_word... " >&6; }
6786 if test ${ac_cv_prog_RANLIB+y}
6787 then :
6788 printf %s "(cached) " >&6
6789 else $as_nop
6790 if test -n "$RANLIB"; then
6791 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6792 else
6793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794 for as_dir in $PATH
6796 IFS=$as_save_IFS
6797 case $as_dir in #(((
6798 '') as_dir=./ ;;
6799 */) ;;
6800 *) as_dir=$as_dir/ ;;
6801 esac
6802 for ac_exec_ext in '' $ac_executable_extensions; do
6803 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6804 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6805 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6806 break 2
6808 done
6809 done
6810 IFS=$as_save_IFS
6814 RANLIB=$ac_cv_prog_RANLIB
6815 if test -n "$RANLIB"; then
6816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6817 printf "%s\n" "$RANLIB" >&6; }
6818 else
6819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6820 printf "%s\n" "no" >&6; }
6825 if test -z "$ac_cv_prog_RANLIB"; then
6826 ac_ct_RANLIB=$RANLIB
6827 # Extract the first word of "ranlib", so it can be a program name with args.
6828 set dummy ranlib; ac_word=$2
6829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6830 printf %s "checking for $ac_word... " >&6; }
6831 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6832 then :
6833 printf %s "(cached) " >&6
6834 else $as_nop
6835 if test -n "$ac_ct_RANLIB"; then
6836 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6837 else
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839 for as_dir in $PATH
6841 IFS=$as_save_IFS
6842 case $as_dir in #(((
6843 '') as_dir=./ ;;
6844 */) ;;
6845 *) as_dir=$as_dir/ ;;
6846 esac
6847 for ac_exec_ext in '' $ac_executable_extensions; do
6848 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6849 ac_cv_prog_ac_ct_RANLIB="ranlib"
6850 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6851 break 2
6853 done
6854 done
6855 IFS=$as_save_IFS
6859 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6860 if test -n "$ac_ct_RANLIB"; then
6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6862 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6863 else
6864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6865 printf "%s\n" "no" >&6; }
6868 if test "x$ac_ct_RANLIB" = x; then
6869 RANLIB=":"
6870 else
6871 case $cross_compiling:$ac_tool_warned in
6872 yes:)
6873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6874 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6875 ac_tool_warned=yes ;;
6876 esac
6877 RANLIB=$ac_ct_RANLIB
6879 else
6880 RANLIB="$ac_cv_prog_RANLIB"
6883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6884 printf %s "checking whether ln -s works... " >&6; }
6885 LN_S=$as_ln_s
6886 if test "$LN_S" = "ln -s"; then
6887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6888 printf "%s\n" "yes" >&6; }
6889 else
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6891 printf "%s\n" "no, using $LN_S" >&6; }
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6895 printf %s "checking for grep that handles long lines and -e... " >&6; }
6896 if test ${ac_cv_path_GREP+y}
6897 then :
6898 printf %s "(cached) " >&6
6899 else $as_nop
6900 if test -z "$GREP"; then
6901 ac_path_GREP_found=false
6902 # Loop through the user's path and test for each of PROGNAME-LIST
6903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6904 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6906 IFS=$as_save_IFS
6907 case $as_dir in #(((
6908 '') as_dir=./ ;;
6909 */) ;;
6910 *) as_dir=$as_dir/ ;;
6911 esac
6912 for ac_prog in grep ggrep
6914 for ac_exec_ext in '' $ac_executable_extensions; do
6915 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6916 as_fn_executable_p "$ac_path_GREP" || continue
6917 # Check for GNU ac_path_GREP and select it if it is found.
6918 # Check for GNU $ac_path_GREP
6919 case `"$ac_path_GREP" --version 2>&1` in
6920 *GNU*)
6921 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6923 ac_count=0
6924 printf %s 0123456789 >"conftest.in"
6925 while :
6927 cat "conftest.in" "conftest.in" >"conftest.tmp"
6928 mv "conftest.tmp" "conftest.in"
6929 cp "conftest.in" "conftest.nl"
6930 printf "%s\n" 'GREP' >> "conftest.nl"
6931 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6932 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6933 as_fn_arith $ac_count + 1 && ac_count=$as_val
6934 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6935 # Best one so far, save it but keep looking for a better one
6936 ac_cv_path_GREP="$ac_path_GREP"
6937 ac_path_GREP_max=$ac_count
6939 # 10*(2^10) chars as input seems more than enough
6940 test $ac_count -gt 10 && break
6941 done
6942 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6943 esac
6945 $ac_path_GREP_found && break 3
6946 done
6947 done
6948 done
6949 IFS=$as_save_IFS
6950 if test -z "$ac_cv_path_GREP"; then
6951 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6953 else
6954 ac_cv_path_GREP=$GREP
6958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6959 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6960 GREP="$ac_cv_path_GREP"
6963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6964 printf %s "checking for egrep... " >&6; }
6965 if test ${ac_cv_path_EGREP+y}
6966 then :
6967 printf %s "(cached) " >&6
6968 else $as_nop
6969 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6970 then ac_cv_path_EGREP="$GREP -E"
6971 else
6972 if test -z "$EGREP"; then
6973 ac_path_EGREP_found=false
6974 # Loop through the user's path and test for each of PROGNAME-LIST
6975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6976 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6978 IFS=$as_save_IFS
6979 case $as_dir in #(((
6980 '') as_dir=./ ;;
6981 */) ;;
6982 *) as_dir=$as_dir/ ;;
6983 esac
6984 for ac_prog in egrep
6986 for ac_exec_ext in '' $ac_executable_extensions; do
6987 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6988 as_fn_executable_p "$ac_path_EGREP" || continue
6989 # Check for GNU ac_path_EGREP and select it if it is found.
6990 # Check for GNU $ac_path_EGREP
6991 case `"$ac_path_EGREP" --version 2>&1` in
6992 *GNU*)
6993 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6995 ac_count=0
6996 printf %s 0123456789 >"conftest.in"
6997 while :
6999 cat "conftest.in" "conftest.in" >"conftest.tmp"
7000 mv "conftest.tmp" "conftest.in"
7001 cp "conftest.in" "conftest.nl"
7002 printf "%s\n" 'EGREP' >> "conftest.nl"
7003 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7004 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7005 as_fn_arith $ac_count + 1 && ac_count=$as_val
7006 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7007 # Best one so far, save it but keep looking for a better one
7008 ac_cv_path_EGREP="$ac_path_EGREP"
7009 ac_path_EGREP_max=$ac_count
7011 # 10*(2^10) chars as input seems more than enough
7012 test $ac_count -gt 10 && break
7013 done
7014 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7015 esac
7017 $ac_path_EGREP_found && break 3
7018 done
7019 done
7020 done
7021 IFS=$as_save_IFS
7022 if test -z "$ac_cv_path_EGREP"; then
7023 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7025 else
7026 ac_cv_path_EGREP=$EGREP
7031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7032 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7033 EGREP="$ac_cv_path_EGREP"
7036 # Extract the first word of "ldconfig", so it can be a program name with args.
7037 set dummy ldconfig; ac_word=$2
7038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 printf %s "checking for $ac_word... " >&6; }
7040 if test ${ac_cv_path_LDCONFIG+y}
7041 then :
7042 printf %s "(cached) " >&6
7043 else $as_nop
7044 case $LDCONFIG in
7045 [\\/]* | ?:[\\/]*)
7046 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7050 for as_dir in /sbin /usr/sbin $PATH
7052 IFS=$as_save_IFS
7053 case $as_dir in #(((
7054 '') as_dir=./ ;;
7055 */) ;;
7056 *) as_dir=$as_dir/ ;;
7057 esac
7058 for ac_exec_ext in '' $ac_executable_extensions; do
7059 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7060 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7062 break 2
7064 done
7065 done
7066 IFS=$as_save_IFS
7068 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7070 esac
7072 LDCONFIG=$ac_cv_path_LDCONFIG
7073 if test -n "$LDCONFIG"; then
7074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7075 printf "%s\n" "$LDCONFIG" >&6; }
7076 else
7077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7078 printf "%s\n" "no" >&6; }
7082 for ac_prog in msgfmt
7084 # Extract the first word of "$ac_prog", so it can be a program name with args.
7085 set dummy $ac_prog; ac_word=$2
7086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7087 printf %s "checking for $ac_word... " >&6; }
7088 if test ${ac_cv_prog_MSGFMT+y}
7089 then :
7090 printf %s "(cached) " >&6
7091 else $as_nop
7092 if test -n "$MSGFMT"; then
7093 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7094 else
7095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7096 for as_dir in $PATH
7098 IFS=$as_save_IFS
7099 case $as_dir in #(((
7100 '') as_dir=./ ;;
7101 */) ;;
7102 *) as_dir=$as_dir/ ;;
7103 esac
7104 for ac_exec_ext in '' $ac_executable_extensions; do
7105 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7106 ac_cv_prog_MSGFMT="$ac_prog"
7107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7108 break 2
7110 done
7111 done
7112 IFS=$as_save_IFS
7116 MSGFMT=$ac_cv_prog_MSGFMT
7117 if test -n "$MSGFMT"; then
7118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7119 printf "%s\n" "$MSGFMT" >&6; }
7120 else
7121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7122 printf "%s\n" "no" >&6; }
7126 test -n "$MSGFMT" && break
7127 done
7128 test -n "$MSGFMT" || MSGFMT="false"
7130 if test ${ac_tool_prefix+y}
7131 then :
7132 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7133 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7135 printf %s "checking for $ac_word... " >&6; }
7136 if test ${ac_cv_prog_PKG_CONFIG+y}
7137 then :
7138 printf %s "(cached) " >&6
7139 else $as_nop
7140 if test -n "$PKG_CONFIG"; then
7141 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7142 else
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144 for as_dir in $PATH
7146 IFS=$as_save_IFS
7147 case $as_dir in #(((
7148 '') as_dir=./ ;;
7149 */) ;;
7150 *) as_dir=$as_dir/ ;;
7151 esac
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7156 break 2
7158 done
7159 done
7160 IFS=$as_save_IFS
7164 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7165 if test -n "$PKG_CONFIG"; then
7166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7167 printf "%s\n" "$PKG_CONFIG" >&6; }
7168 else
7169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170 printf "%s\n" "no" >&6; }
7175 if ${ac_cv_prog_PKG_CONFIG:+false} :
7176 then :
7177 if test "x$cross_compiling" = xyes
7178 then :
7180 else $as_nop
7181 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7182 # Extract the first word of "pkg-config", so it can be a program name with args.
7183 set dummy pkg-config; ac_word=$2
7184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7185 printf %s "checking for $ac_word... " >&6; }
7186 if test ${ac_cv_prog_PKG_CONFIG+y}
7187 then :
7188 printf %s "(cached) " >&6
7189 else $as_nop
7190 if test -n "$PKG_CONFIG"; then
7191 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7192 else
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 for as_dir in $PATH
7196 IFS=$as_save_IFS
7197 case $as_dir in #(((
7198 '') as_dir=./ ;;
7199 */) ;;
7200 *) as_dir=$as_dir/ ;;
7201 esac
7202 for ac_exec_ext in '' $ac_executable_extensions; do
7203 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7204 ac_cv_prog_PKG_CONFIG="pkg-config"
7205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7206 break 2
7208 done
7209 done
7210 IFS=$as_save_IFS
7214 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7215 if test -n "$PKG_CONFIG"; then
7216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7217 printf "%s\n" "$PKG_CONFIG" >&6; }
7218 else
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7220 printf "%s\n" "no" >&6; }
7225 else $as_nop
7226 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7229 if test "x$enable_maintainer_mode" != "xyes"
7230 then
7231 FONTFORGE=""
7232 RSVG=""
7233 CONVERT=""
7234 ICOTOOL=""
7235 else
7236 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7237 for ac_prog in fontforge
7239 # Extract the first word of "$ac_prog", so it can be a program name with args.
7240 set dummy $ac_prog; ac_word=$2
7241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7242 printf %s "checking for $ac_word... " >&6; }
7243 if test ${ac_cv_prog_FONTFORGE+y}
7244 then :
7245 printf %s "(cached) " >&6
7246 else $as_nop
7247 if test -n "$FONTFORGE"; then
7248 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7249 else
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7251 for as_dir in $PATH
7253 IFS=$as_save_IFS
7254 case $as_dir in #(((
7255 '') as_dir=./ ;;
7256 */) ;;
7257 *) as_dir=$as_dir/ ;;
7258 esac
7259 for ac_exec_ext in '' $ac_executable_extensions; do
7260 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7261 ac_cv_prog_FONTFORGE="$ac_prog"
7262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7263 break 2
7265 done
7266 done
7267 IFS=$as_save_IFS
7271 FONTFORGE=$ac_cv_prog_FONTFORGE
7272 if test -n "$FONTFORGE"; then
7273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7274 printf "%s\n" "$FONTFORGE" >&6; }
7275 else
7276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7277 printf "%s\n" "no" >&6; }
7281 test -n "$FONTFORGE" && break
7282 done
7283 test -n "$FONTFORGE" || FONTFORGE="false"
7285 for ac_prog in rsvg-convert rsvg
7287 # Extract the first word of "$ac_prog", so it can be a program name with args.
7288 set dummy $ac_prog; ac_word=$2
7289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7290 printf %s "checking for $ac_word... " >&6; }
7291 if test ${ac_cv_prog_RSVG+y}
7292 then :
7293 printf %s "(cached) " >&6
7294 else $as_nop
7295 if test -n "$RSVG"; then
7296 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7297 else
7298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7299 for as_dir in $PATH
7301 IFS=$as_save_IFS
7302 case $as_dir in #(((
7303 '') as_dir=./ ;;
7304 */) ;;
7305 *) as_dir=$as_dir/ ;;
7306 esac
7307 for ac_exec_ext in '' $ac_executable_extensions; do
7308 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7309 ac_cv_prog_RSVG="$ac_prog"
7310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7311 break 2
7313 done
7314 done
7315 IFS=$as_save_IFS
7319 RSVG=$ac_cv_prog_RSVG
7320 if test -n "$RSVG"; then
7321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7322 printf "%s\n" "$RSVG" >&6; }
7323 else
7324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7325 printf "%s\n" "no" >&6; }
7329 test -n "$RSVG" && break
7330 done
7331 test -n "$RSVG" || RSVG="false"
7333 for ac_prog in convert
7335 # Extract the first word of "$ac_prog", so it can be a program name with args.
7336 set dummy $ac_prog; ac_word=$2
7337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7338 printf %s "checking for $ac_word... " >&6; }
7339 if test ${ac_cv_prog_CONVERT+y}
7340 then :
7341 printf %s "(cached) " >&6
7342 else $as_nop
7343 if test -n "$CONVERT"; then
7344 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7345 else
7346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 for as_dir in $PATH
7349 IFS=$as_save_IFS
7350 case $as_dir in #(((
7351 '') as_dir=./ ;;
7352 */) ;;
7353 *) as_dir=$as_dir/ ;;
7354 esac
7355 for ac_exec_ext in '' $ac_executable_extensions; do
7356 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7357 ac_cv_prog_CONVERT="$ac_prog"
7358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7359 break 2
7361 done
7362 done
7363 IFS=$as_save_IFS
7367 CONVERT=$ac_cv_prog_CONVERT
7368 if test -n "$CONVERT"; then
7369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7370 printf "%s\n" "$CONVERT" >&6; }
7371 else
7372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 printf "%s\n" "no" >&6; }
7377 test -n "$CONVERT" && break
7378 done
7379 test -n "$CONVERT" || CONVERT="false"
7381 for ac_prog in icotool
7383 # Extract the first word of "$ac_prog", so it can be a program name with args.
7384 set dummy $ac_prog; ac_word=$2
7385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7386 printf %s "checking for $ac_word... " >&6; }
7387 if test ${ac_cv_prog_ICOTOOL+y}
7388 then :
7389 printf %s "(cached) " >&6
7390 else $as_nop
7391 if test -n "$ICOTOOL"; then
7392 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7393 else
7394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7395 for as_dir in $PATH
7397 IFS=$as_save_IFS
7398 case $as_dir in #(((
7399 '') as_dir=./ ;;
7400 */) ;;
7401 *) as_dir=$as_dir/ ;;
7402 esac
7403 for ac_exec_ext in '' $ac_executable_extensions; do
7404 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7405 ac_cv_prog_ICOTOOL="$ac_prog"
7406 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7407 break 2
7409 done
7410 done
7411 IFS=$as_save_IFS
7415 ICOTOOL=$ac_cv_prog_ICOTOOL
7416 if test -n "$ICOTOOL"; then
7417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7418 printf "%s\n" "$ICOTOOL" >&6; }
7419 else
7420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421 printf "%s\n" "no" >&6; }
7425 test -n "$ICOTOOL" && break
7426 done
7427 test -n "$ICOTOOL" || ICOTOOL="false"
7429 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7430 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7432 if test "$CONVERT" = false
7433 then
7434 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7435 else
7436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7437 printf %s "checking for recent enough imagemagick... " >&6; }
7438 convert_version=`convert --version | head -n1`
7439 if test "x$convert_version" != "x"
7440 then
7441 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7442 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7443 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7444 then
7445 CONVERT=false
7448 if test "$CONVERT" = false
7449 then
7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7451 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7452 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7453 else
7454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7455 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7459 if test "$ICOTOOL" = false
7460 then
7461 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7462 else
7463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7464 printf %s "checking for recent enough icotool... " >&6; }
7465 icotool_version=`icotool --version | head -n1`
7466 if test "x$icotool_version" != "x"
7467 then
7468 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7469 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7470 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7471 then
7472 ICOTOOL=false
7473 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7476 if test "$ICOTOOL" = false
7477 then
7478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7479 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7480 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7481 else
7482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7483 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7487 with_gettext=yes
7488 with_gettextpo=yes
7490 enable_werror=yes
7493 test "x$with_gettext" != xno || MSGFMT=false
7494 if test "$MSGFMT" != "false"
7495 then
7496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7497 printf %s "checking whether msgfmt supports contexts... " >&6; }
7498 if test ${wine_cv_msgfmt_contexts+y}
7499 then :
7500 printf %s "(cached) " >&6
7501 else $as_nop
7502 cat >conftest.po <<EOF
7503 # comment
7504 msgctxt "ctxt"
7505 msgid "id"
7506 msgstr "str"
7508 if $MSGFMT -o /dev/null conftest.po 2>&5
7509 then
7510 wine_cv_msgfmt_contexts=yes
7511 else
7512 wine_cv_msgfmt_contexts=no
7515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7516 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7517 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7519 if test "$MSGFMT" = false
7520 then :
7521 case "x$with_gettext" in
7522 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7523 xno) ;;
7524 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7525 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7526 esac
7527 enable_po=${enable_po:-no}
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7532 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7533 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7534 then :
7535 printf %s "(cached) " >&6
7536 else $as_nop
7537 ac_check_lib_save_LIBS=$LIBS
7538 LIBS="-li386 $LIBS"
7539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7540 /* end confdefs.h. */
7542 /* Override any GCC internal prototype to avoid an error.
7543 Use char because int might match the return type of a GCC
7544 builtin and then its argument prototype would still apply. */
7545 char i386_set_ldt ();
7547 main (void)
7549 return i386_set_ldt ();
7551 return 0;
7553 _ACEOF
7554 if ac_fn_c_try_link "$LINENO"
7555 then :
7556 ac_cv_lib_i386_i386_set_ldt=yes
7557 else $as_nop
7558 ac_cv_lib_i386_i386_set_ldt=no
7560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7561 conftest$ac_exeext conftest.$ac_ext
7562 LIBS=$ac_check_lib_save_LIBS
7564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7565 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7566 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7567 then :
7568 I386_LIBS="-li386"
7573 OPENGL_LIBS=""
7577 # Check whether --enable-largefile was given.
7578 if test ${enable_largefile+y}
7579 then :
7580 enableval=$enable_largefile;
7583 if test "$enable_largefile" != no; then
7585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7586 printf %s "checking for special C compiler options needed for large files... " >&6; }
7587 if test ${ac_cv_sys_largefile_CC+y}
7588 then :
7589 printf %s "(cached) " >&6
7590 else $as_nop
7591 ac_cv_sys_largefile_CC=no
7592 if test "$GCC" != yes; then
7593 ac_save_CC=$CC
7594 while :; do
7595 # IRIX 6.2 and later do not support large files by default,
7596 # so use the C compiler's -n32 option if that helps.
7597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7598 /* end confdefs.h. */
7599 #include <sys/types.h>
7600 /* Check that off_t can represent 2**63 - 1 correctly.
7601 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7602 since some C++ compilers masquerading as C compilers
7603 incorrectly reject 9223372036854775807. */
7604 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7605 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7606 && LARGE_OFF_T % 2147483647 == 1)
7607 ? 1 : -1];
7609 main (void)
7613 return 0;
7615 _ACEOF
7616 if ac_fn_c_try_compile "$LINENO"
7617 then :
7618 break
7620 rm -f core conftest.err conftest.$ac_objext conftest.beam
7621 CC="$CC -n32"
7622 if ac_fn_c_try_compile "$LINENO"
7623 then :
7624 ac_cv_sys_largefile_CC=' -n32'; break
7626 rm -f core conftest.err conftest.$ac_objext conftest.beam
7627 break
7628 done
7629 CC=$ac_save_CC
7630 rm -f conftest.$ac_ext
7633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7634 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7635 if test "$ac_cv_sys_largefile_CC" != no; then
7636 CC=$CC$ac_cv_sys_largefile_CC
7639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7640 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7641 if test ${ac_cv_sys_file_offset_bits+y}
7642 then :
7643 printf %s "(cached) " >&6
7644 else $as_nop
7645 while :; do
7646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7647 /* end confdefs.h. */
7648 #include <sys/types.h>
7649 /* Check that off_t can represent 2**63 - 1 correctly.
7650 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7651 since some C++ compilers masquerading as C compilers
7652 incorrectly reject 9223372036854775807. */
7653 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7654 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7655 && LARGE_OFF_T % 2147483647 == 1)
7656 ? 1 : -1];
7658 main (void)
7662 return 0;
7664 _ACEOF
7665 if ac_fn_c_try_compile "$LINENO"
7666 then :
7667 ac_cv_sys_file_offset_bits=no; break
7669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7671 /* end confdefs.h. */
7672 #define _FILE_OFFSET_BITS 64
7673 #include <sys/types.h>
7674 /* Check that off_t can represent 2**63 - 1 correctly.
7675 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7676 since some C++ compilers masquerading as C compilers
7677 incorrectly reject 9223372036854775807. */
7678 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7679 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7680 && LARGE_OFF_T % 2147483647 == 1)
7681 ? 1 : -1];
7683 main (void)
7687 return 0;
7689 _ACEOF
7690 if ac_fn_c_try_compile "$LINENO"
7691 then :
7692 ac_cv_sys_file_offset_bits=64; break
7694 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7695 ac_cv_sys_file_offset_bits=unknown
7696 break
7697 done
7699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7700 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7701 case $ac_cv_sys_file_offset_bits in #(
7702 no | unknown) ;;
7704 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7706 esac
7707 rm -rf conftest*
7708 if test $ac_cv_sys_file_offset_bits = unknown; then
7709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7710 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7711 if test ${ac_cv_sys_large_files+y}
7712 then :
7713 printf %s "(cached) " >&6
7714 else $as_nop
7715 while :; do
7716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7717 /* end confdefs.h. */
7718 #include <sys/types.h>
7719 /* Check that off_t can represent 2**63 - 1 correctly.
7720 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7721 since some C++ compilers masquerading as C compilers
7722 incorrectly reject 9223372036854775807. */
7723 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7724 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7725 && LARGE_OFF_T % 2147483647 == 1)
7726 ? 1 : -1];
7728 main (void)
7732 return 0;
7734 _ACEOF
7735 if ac_fn_c_try_compile "$LINENO"
7736 then :
7737 ac_cv_sys_large_files=no; break
7739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7741 /* end confdefs.h. */
7742 #define _LARGE_FILES 1
7743 #include <sys/types.h>
7744 /* Check that off_t can represent 2**63 - 1 correctly.
7745 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7746 since some C++ compilers masquerading as C compilers
7747 incorrectly reject 9223372036854775807. */
7748 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7749 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7750 && LARGE_OFF_T % 2147483647 == 1)
7751 ? 1 : -1];
7753 main (void)
7757 return 0;
7759 _ACEOF
7760 if ac_fn_c_try_compile "$LINENO"
7761 then :
7762 ac_cv_sys_large_files=1; break
7764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7765 ac_cv_sys_large_files=unknown
7766 break
7767 done
7769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7770 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7771 case $ac_cv_sys_large_files in #(
7772 no | unknown) ;;
7774 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7776 esac
7777 rm -rf conftest*
7782 ac_header= ac_cache=
7783 for ac_item in $ac_header_c_list
7785 if test $ac_cache; then
7786 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7787 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7788 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7790 ac_header= ac_cache=
7791 elif test $ac_header; then
7792 ac_cache=$ac_item
7793 else
7794 ac_header=$ac_item
7796 done
7805 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7806 then :
7808 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7811 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7812 if test "x$ac_cv_header_AL_al_h" = xyes
7813 then :
7814 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7817 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7818 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7819 then :
7820 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7823 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7824 if test "x$ac_cv_header_CL_cl_h" = xyes
7825 then :
7826 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7829 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7830 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7831 then :
7832 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7835 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7836 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7837 then :
7838 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7841 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7842 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7843 then :
7844 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7847 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7848 if test "x$ac_cv_header_EGL_egl_h" = xyes
7849 then :
7850 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7853 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7854 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7855 then :
7856 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7859 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7860 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7861 then :
7862 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7865 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7866 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7867 then :
7868 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7871 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7872 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7873 then :
7874 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7877 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7878 if test "x$ac_cv_header_Security_Security_h" = xyes
7879 then :
7880 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7883 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7884 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7885 then :
7886 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7889 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7890 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7891 then :
7892 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7895 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7896 if test "x$ac_cv_header_arpa_inet_h" = xyes
7897 then :
7898 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7901 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7902 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7903 then :
7904 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7907 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7908 if test "x$ac_cv_header_asm_types_h" = xyes
7909 then :
7910 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7913 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7914 if test "x$ac_cv_header_asm_user_h" = xyes
7915 then :
7916 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7919 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7920 if test "x$ac_cv_header_elf_h" = xyes
7921 then :
7922 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7925 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7926 if test "x$ac_cv_header_float_h" = xyes
7927 then :
7928 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7931 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7932 if test "x$ac_cv_header_gettext_po_h" = xyes
7933 then :
7934 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7937 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7938 if test "x$ac_cv_header_libproc_h" = xyes
7939 then :
7940 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7943 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7944 if test "x$ac_cv_header_link_h" = xyes
7945 then :
7946 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7949 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7950 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7951 then :
7952 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7955 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7956 if test "x$ac_cv_header_linux_filter_h" = xyes
7957 then :
7958 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7961 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7962 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7963 then :
7964 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7967 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7968 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7969 then :
7970 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7973 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7974 if test "x$ac_cv_header_linux_input_h" = xyes
7975 then :
7976 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7979 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7980 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7981 then :
7982 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7985 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7986 if test "x$ac_cv_header_linux_major_h" = xyes
7987 then :
7988 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7991 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7992 if test "x$ac_cv_header_linux_param_h" = xyes
7993 then :
7994 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7997 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7998 if test "x$ac_cv_header_linux_serial_h" = xyes
7999 then :
8000 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8003 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8004 if test "x$ac_cv_header_linux_types_h" = xyes
8005 then :
8006 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8009 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8010 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8011 then :
8012 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8015 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8016 if test "x$ac_cv_header_lwp_h" = xyes
8017 then :
8018 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8021 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8022 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8023 then :
8024 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8027 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8028 if test "x$ac_cv_header_mach_mach_h" = xyes
8029 then :
8030 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8033 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8034 if test "x$ac_cv_header_machine_cpu_h" = xyes
8035 then :
8036 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8039 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8040 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8041 then :
8042 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8045 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8046 if test "x$ac_cv_header_mntent_h" = xyes
8047 then :
8048 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8051 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8052 if test "x$ac_cv_header_netdb_h" = xyes
8053 then :
8054 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8057 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8058 if test "x$ac_cv_header_netinet_in_h" = xyes
8059 then :
8060 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8063 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8064 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8065 then :
8066 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8069 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8070 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8071 then :
8072 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8075 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8076 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8077 then :
8078 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8081 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8082 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8083 then :
8084 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8087 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8088 if test "x$ac_cv_header_port_h" = xyes
8089 then :
8090 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8093 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8094 if test "x$ac_cv_header_pthread_h" = xyes
8095 then :
8096 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8099 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8100 if test "x$ac_cv_header_pwd_h" = xyes
8101 then :
8102 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8105 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8106 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8107 then :
8108 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8111 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8112 if test "x$ac_cv_header_sched_h" = xyes
8113 then :
8114 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8117 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8118 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8119 then :
8120 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8123 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8124 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8125 then :
8126 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8129 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8130 if test "x$ac_cv_header_scsi_sg_h" = xyes
8131 then :
8132 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8135 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8136 if test "x$ac_cv_header_stdint_h" = xyes
8137 then :
8138 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8141 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8142 if test "x$ac_cv_header_sys_attr_h" = xyes
8143 then :
8144 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8147 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_sys_auxv_h" = xyes
8149 then :
8150 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8153 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_sys_cdio_h" = xyes
8155 then :
8156 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_sys_epoll_h" = xyes
8161 then :
8162 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_sys_event_h" = xyes
8167 then :
8168 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_sys_filio_h" = xyes
8173 then :
8174 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_sys_ipc_h" = xyes
8179 then :
8180 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_sys_link_h" = xyes
8185 then :
8186 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_sys_modem_h" = xyes
8191 then :
8192 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_sys_mtio_h" = xyes
8197 then :
8198 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_sys_param_h" = xyes
8203 then :
8204 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_sys_prctl_h" = xyes
8209 then :
8210 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8215 then :
8216 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_sys_queue_h" = xyes
8221 then :
8222 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_sys_random_h" = xyes
8227 then :
8228 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_sys_resource_h" = xyes
8233 then :
8234 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8239 then :
8240 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_sys_shm_h" = xyes
8245 then :
8246 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_sys_signal_h" = xyes
8251 then :
8252 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8257 then :
8258 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_sys_sockio_h" = xyes
8263 then :
8264 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8269 then :
8270 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_sys_strtio_h" = xyes
8275 then :
8276 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_sys_syscall_h" = xyes
8281 then :
8282 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8287 then :
8288 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_sys_times_h" = xyes
8293 then :
8294 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_sys_uio_h" = xyes
8299 then :
8300 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_sys_user_h" = xyes
8305 then :
8306 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8309 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8310 if test "x$ac_cv_header_sys_utsname_h" = xyes
8311 then :
8312 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8315 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_sys_vnode_h" = xyes
8317 then :
8318 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_syscall_h" = xyes
8323 then :
8324 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_utime_h" = xyes
8329 then :
8330 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8333 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8334 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8335 then :
8336 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8339 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8341 then :
8342 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8346 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8347 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8348 then :
8350 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8354 if test $ac_cv_header_sys_mkdev_h = no; then
8355 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8356 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8357 then :
8359 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8365 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8366 if test ${ac_cv_header_stat_broken+y}
8367 then :
8368 printf %s "(cached) " >&6
8369 else $as_nop
8370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8372 #include <sys/types.h>
8373 #include <sys/stat.h>
8375 #if defined S_ISBLK && defined S_IFDIR
8376 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8377 #endif
8379 #if defined S_ISBLK && defined S_IFCHR
8380 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8381 #endif
8383 #if defined S_ISLNK && defined S_IFREG
8384 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8385 #endif
8387 #if defined S_ISSOCK && defined S_IFREG
8388 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8389 #endif
8391 _ACEOF
8392 if ac_fn_c_try_compile "$LINENO"
8393 then :
8394 ac_cv_header_stat_broken=no
8395 else $as_nop
8396 ac_cv_header_stat_broken=yes
8398 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8401 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8402 if test $ac_cv_header_stat_broken = yes; then
8404 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8410 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8411 #ifdef HAVE_SYS_PARAM_H
8412 # include <sys/param.h>
8413 #endif
8415 if test "x$ac_cv_header_sys_conf_h" = xyes
8416 then :
8417 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8420 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8421 #ifdef HAVE_SYS_PARAM_H
8422 # include <sys/param.h>
8423 #endif
8425 if test "x$ac_cv_header_sys_mount_h" = xyes
8426 then :
8427 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8430 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8431 #ifdef HAVE_SYS_PARAM_H
8432 # include <sys/param.h>
8433 #endif
8435 if test "x$ac_cv_header_sys_statfs_h" = xyes
8436 then :
8437 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8440 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8441 #ifdef HAVE_SYS_PARAM_H
8442 # include <sys/param.h>
8443 #endif
8445 if test "x$ac_cv_header_sys_user_h" = xyes
8446 then :
8447 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8450 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8451 #ifdef HAVE_SYS_PARAM_H
8452 # include <sys/param.h>
8453 #endif
8455 if test "x$ac_cv_header_sys_vfs_h" = xyes
8456 then :
8457 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8462 saved_sysctl_h_CFLAGS=$CFLAGS
8463 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8464 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8465 #ifdef HAVE_SYS_PARAM_H
8466 # include <sys/param.h>
8467 #endif
8469 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8470 then :
8471 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8475 CFLAGS=$saved_sysctl_h_CFLAGS
8477 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8478 #include <sys/socket.h>
8479 #ifdef HAVE_SYS_SOCKETVAR_H
8480 # include <sys/socketvar.h>
8481 #endif
8482 #ifdef HAVE_NET_ROUTE_H
8483 # include <net/route.h>
8484 #endif
8485 #ifdef HAVE_NETINET_IN_H
8486 # include <netinet/in.h>
8487 #endif
8488 #ifdef HAVE_NETINET_IN_SYSTM_H
8489 # include <netinet/in_systm.h>
8490 #endif
8491 #ifdef HAVE_NET_IF_H
8492 # include <net/if.h>
8493 #endif
8494 #ifdef HAVE_NETINET_IP_H
8495 # include <netinet/ip.h>
8496 #endif
8498 if test "x$ac_cv_header_netinet_ip_h" = xyes
8499 then :
8500 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8503 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8504 #include <sys/socket.h>
8505 #ifdef HAVE_SYS_SOCKETVAR_H
8506 # include <sys/socketvar.h>
8507 #endif
8508 #ifdef HAVE_NET_ROUTE_H
8509 # include <net/route.h>
8510 #endif
8511 #ifdef HAVE_NETINET_IN_H
8512 # include <netinet/in.h>
8513 #endif
8514 #ifdef HAVE_NETINET_IN_SYSTM_H
8515 # include <netinet/in_systm.h>
8516 #endif
8517 #ifdef HAVE_NET_IF_H
8518 # include <net/if.h>
8519 #endif
8520 #ifdef HAVE_NETINET_IP_H
8521 # include <netinet/ip.h>
8522 #endif
8524 if test "x$ac_cv_header_net_if_h" = xyes
8525 then :
8526 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8529 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8530 #include <sys/socket.h>
8531 #ifdef HAVE_SYS_SOCKETVAR_H
8532 # include <sys/socketvar.h>
8533 #endif
8534 #ifdef HAVE_NET_ROUTE_H
8535 # include <net/route.h>
8536 #endif
8537 #ifdef HAVE_NETINET_IN_H
8538 # include <netinet/in.h>
8539 #endif
8540 #ifdef HAVE_NETINET_IN_SYSTM_H
8541 # include <netinet/in_systm.h>
8542 #endif
8543 #ifdef HAVE_NET_IF_H
8544 # include <net/if.h>
8545 #endif
8546 #ifdef HAVE_NETINET_IP_H
8547 # include <netinet/ip.h>
8548 #endif
8550 if test "x$ac_cv_header_net_if_arp_h" = xyes
8551 then :
8552 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8555 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8556 #include <sys/socket.h>
8557 #ifdef HAVE_SYS_SOCKETVAR_H
8558 # include <sys/socketvar.h>
8559 #endif
8560 #ifdef HAVE_NET_ROUTE_H
8561 # include <net/route.h>
8562 #endif
8563 #ifdef HAVE_NETINET_IN_H
8564 # include <netinet/in.h>
8565 #endif
8566 #ifdef HAVE_NETINET_IN_SYSTM_H
8567 # include <netinet/in_systm.h>
8568 #endif
8569 #ifdef HAVE_NET_IF_H
8570 # include <net/if.h>
8571 #endif
8572 #ifdef HAVE_NETINET_IP_H
8573 # include <netinet/ip.h>
8574 #endif
8576 if test "x$ac_cv_header_net_if_dl_h" = xyes
8577 then :
8578 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8581 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8582 #include <sys/socket.h>
8583 #ifdef HAVE_SYS_SOCKETVAR_H
8584 # include <sys/socketvar.h>
8585 #endif
8586 #ifdef HAVE_NET_ROUTE_H
8587 # include <net/route.h>
8588 #endif
8589 #ifdef HAVE_NETINET_IN_H
8590 # include <netinet/in.h>
8591 #endif
8592 #ifdef HAVE_NETINET_IN_SYSTM_H
8593 # include <netinet/in_systm.h>
8594 #endif
8595 #ifdef HAVE_NET_IF_H
8596 # include <net/if.h>
8597 #endif
8598 #ifdef HAVE_NETINET_IP_H
8599 # include <netinet/ip.h>
8600 #endif
8602 if test "x$ac_cv_header_net_if_types_h" = xyes
8603 then :
8604 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8607 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8608 #include <sys/socket.h>
8609 #ifdef HAVE_SYS_SOCKETVAR_H
8610 # include <sys/socketvar.h>
8611 #endif
8612 #ifdef HAVE_NET_ROUTE_H
8613 # include <net/route.h>
8614 #endif
8615 #ifdef HAVE_NETINET_IN_H
8616 # include <netinet/in.h>
8617 #endif
8618 #ifdef HAVE_NETINET_IN_SYSTM_H
8619 # include <netinet/in_systm.h>
8620 #endif
8621 #ifdef HAVE_NET_IF_H
8622 # include <net/if.h>
8623 #endif
8624 #ifdef HAVE_NETINET_IP_H
8625 # include <netinet/ip.h>
8626 #endif
8628 if test "x$ac_cv_header_net_route_h" = xyes
8629 then :
8630 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8633 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8634 #include <sys/socket.h>
8635 #ifdef HAVE_SYS_SOCKETVAR_H
8636 # include <sys/socketvar.h>
8637 #endif
8638 #ifdef HAVE_NET_ROUTE_H
8639 # include <net/route.h>
8640 #endif
8641 #ifdef HAVE_NETINET_IN_H
8642 # include <netinet/in.h>
8643 #endif
8644 #ifdef HAVE_NETINET_IN_SYSTM_H
8645 # include <netinet/in_systm.h>
8646 #endif
8647 #ifdef HAVE_NET_IF_H
8648 # include <net/if.h>
8649 #endif
8650 #ifdef HAVE_NETINET_IP_H
8651 # include <netinet/ip.h>
8652 #endif
8654 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8655 then :
8656 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8659 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8660 #include <sys/socket.h>
8661 #ifdef HAVE_SYS_SOCKETVAR_H
8662 # include <sys/socketvar.h>
8663 #endif
8664 #ifdef HAVE_NET_ROUTE_H
8665 # include <net/route.h>
8666 #endif
8667 #ifdef HAVE_NETINET_IN_H
8668 # include <netinet/in.h>
8669 #endif
8670 #ifdef HAVE_NETINET_IN_SYSTM_H
8671 # include <netinet/in_systm.h>
8672 #endif
8673 #ifdef HAVE_NET_IF_H
8674 # include <net/if.h>
8675 #endif
8676 #ifdef HAVE_NETINET_IP_H
8677 # include <netinet/ip.h>
8678 #endif
8680 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8681 then :
8682 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8685 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8686 #include <sys/socket.h>
8687 #ifdef HAVE_SYS_SOCKETVAR_H
8688 # include <sys/socketvar.h>
8689 #endif
8690 #ifdef HAVE_NET_ROUTE_H
8691 # include <net/route.h>
8692 #endif
8693 #ifdef HAVE_NETINET_IN_H
8694 # include <netinet/in.h>
8695 #endif
8696 #ifdef HAVE_NETINET_IN_SYSTM_H
8697 # include <netinet/in_systm.h>
8698 #endif
8699 #ifdef HAVE_NET_IF_H
8700 # include <net/if.h>
8701 #endif
8702 #ifdef HAVE_NETINET_IP_H
8703 # include <netinet/ip.h>
8704 #endif
8706 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8707 then :
8708 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8711 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8712 #include <sys/socket.h>
8713 #ifdef HAVE_SYS_SOCKETVAR_H
8714 # include <sys/socketvar.h>
8715 #endif
8716 #ifdef HAVE_NET_ROUTE_H
8717 # include <net/route.h>
8718 #endif
8719 #ifdef HAVE_NETINET_IN_H
8720 # include <netinet/in.h>
8721 #endif
8722 #ifdef HAVE_NETINET_IN_SYSTM_H
8723 # include <netinet/in_systm.h>
8724 #endif
8725 #ifdef HAVE_NET_IF_H
8726 # include <net/if.h>
8727 #endif
8728 #ifdef HAVE_NETINET_IP_H
8729 # include <netinet/ip.h>
8730 #endif
8732 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8733 then :
8734 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8737 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8738 #include <sys/socket.h>
8739 #ifdef HAVE_SYS_SOCKETVAR_H
8740 # include <sys/socketvar.h>
8741 #endif
8742 #ifdef HAVE_NET_ROUTE_H
8743 # include <net/route.h>
8744 #endif
8745 #ifdef HAVE_NETINET_IN_H
8746 # include <netinet/in.h>
8747 #endif
8748 #ifdef HAVE_NETINET_IN_SYSTM_H
8749 # include <netinet/in_systm.h>
8750 #endif
8751 #ifdef HAVE_NET_IF_H
8752 # include <net/if.h>
8753 #endif
8754 #ifdef HAVE_NETINET_IP_H
8755 # include <netinet/ip.h>
8756 #endif
8758 if test "x$ac_cv_header_netinet_udp_h" = xyes
8759 then :
8760 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8763 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8764 #include <sys/socket.h>
8765 #ifdef HAVE_SYS_SOCKETVAR_H
8766 # include <sys/socketvar.h>
8767 #endif
8768 #ifdef HAVE_NET_ROUTE_H
8769 # include <net/route.h>
8770 #endif
8771 #ifdef HAVE_NETINET_IN_H
8772 # include <netinet/in.h>
8773 #endif
8774 #ifdef HAVE_NETINET_IN_SYSTM_H
8775 # include <netinet/in_systm.h>
8776 #endif
8777 #ifdef HAVE_NET_IF_H
8778 # include <net/if.h>
8779 #endif
8780 #ifdef HAVE_NETINET_IP_H
8781 # include <netinet/ip.h>
8782 #endif
8784 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8785 then :
8786 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8789 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8790 #include <sys/socket.h>
8791 #ifdef HAVE_SYS_SOCKETVAR_H
8792 # include <sys/socketvar.h>
8793 #endif
8794 #ifdef HAVE_NET_ROUTE_H
8795 # include <net/route.h>
8796 #endif
8797 #ifdef HAVE_NETINET_IN_H
8798 # include <netinet/in.h>
8799 #endif
8800 #ifdef HAVE_NETINET_IN_SYSTM_H
8801 # include <netinet/in_systm.h>
8802 #endif
8803 #ifdef HAVE_NET_IF_H
8804 # include <net/if.h>
8805 #endif
8806 #ifdef HAVE_NETINET_IP_H
8807 # include <netinet/ip.h>
8808 #endif
8810 if test "x$ac_cv_header_sys_un_h" = xyes
8811 then :
8812 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8817 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_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_NETINET_IN_H
8823 # include <netinet/in.h>
8824 #endif
8825 #ifdef HAVE_NETINET_IN_SYSTM_H
8826 # include <netinet/in_systm.h>
8827 #endif
8828 #ifdef HAVE_NETINET_IP_H
8829 # include <netinet/ip.h>
8830 #endif
8831 #ifdef HAVE_NETINET_IP_VAR_H
8832 # include <netinet/ip_var.h>
8833 #endif
8834 #ifdef HAVE_NETINET_IP_ICMP_H
8835 # include <netinet/ip_icmp.h>
8836 #endif
8837 #ifdef HAVE_NETINET_UDP_H
8838 # include <netinet/udp.h>
8839 #endif
8840 #ifdef HAVE_NETINET_TCP_H
8841 # include <netinet/tcp.h>
8842 #endif
8844 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8845 then :
8846 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8849 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8850 #include <sys/socket.h>
8851 #ifdef HAVE_SYS_SOCKETVAR_H
8852 # include <sys/socketvar.h>
8853 #endif
8854 #ifdef HAVE_NETINET_IN_H
8855 # include <netinet/in.h>
8856 #endif
8857 #ifdef HAVE_NETINET_IN_SYSTM_H
8858 # include <netinet/in_systm.h>
8859 #endif
8860 #ifdef HAVE_NETINET_IP_H
8861 # include <netinet/ip.h>
8862 #endif
8863 #ifdef HAVE_NETINET_IP_VAR_H
8864 # include <netinet/ip_var.h>
8865 #endif
8866 #ifdef HAVE_NETINET_IP_ICMP_H
8867 # include <netinet/ip_icmp.h>
8868 #endif
8869 #ifdef HAVE_NETINET_UDP_H
8870 # include <netinet/udp.h>
8871 #endif
8872 #ifdef HAVE_NETINET_TCP_H
8873 # include <netinet/tcp.h>
8874 #endif
8876 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8877 then :
8878 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8881 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8882 #include <sys/socket.h>
8883 #ifdef HAVE_SYS_SOCKETVAR_H
8884 # include <sys/socketvar.h>
8885 #endif
8886 #ifdef HAVE_NETINET_IN_H
8887 # include <netinet/in.h>
8888 #endif
8889 #ifdef HAVE_NETINET_IN_SYSTM_H
8890 # include <netinet/in_systm.h>
8891 #endif
8892 #ifdef HAVE_NETINET_IP_H
8893 # include <netinet/ip.h>
8894 #endif
8895 #ifdef HAVE_NETINET_IP_VAR_H
8896 # include <netinet/ip_var.h>
8897 #endif
8898 #ifdef HAVE_NETINET_IP_ICMP_H
8899 # include <netinet/ip_icmp.h>
8900 #endif
8901 #ifdef HAVE_NETINET_UDP_H
8902 # include <netinet/udp.h>
8903 #endif
8904 #ifdef HAVE_NETINET_TCP_H
8905 # include <netinet/tcp.h>
8906 #endif
8908 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8909 then :
8910 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8915 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8916 #include <sys/socket.h>
8917 #ifdef HAVE_ASM_TYPES_H
8918 # include <asm/types.h>
8919 #endif
8920 #ifdef HAVE_LINUX_TYPES_H
8921 # include <linux/types.h>
8922 #endif
8924 if test "x$ac_cv_header_linux_ipx_h" = xyes
8925 then :
8926 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8929 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8930 #include <sys/socket.h>
8931 #ifdef HAVE_ASM_TYPES_H
8932 # include <asm/types.h>
8933 #endif
8934 #ifdef HAVE_LINUX_TYPES_H
8935 # include <linux/types.h>
8936 #endif
8938 if test "x$ac_cv_header_linux_irda_h" = xyes
8939 then :
8940 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8943 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8944 #include <sys/socket.h>
8945 #ifdef HAVE_ASM_TYPES_H
8946 # include <asm/types.h>
8947 #endif
8948 #ifdef HAVE_LINUX_TYPES_H
8949 # include <linux/types.h>
8950 #endif
8952 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8953 then :
8954 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8959 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8960 #include <sys/socket.h>
8961 #ifdef HAVE_NETINET_IN_H
8962 # include <netinet/in.h>
8963 #endif
8964 #ifdef HAVE_ARPA_NAMESER_H
8965 # include <arpa/nameser.h>
8966 #endif
8968 if test "x$ac_cv_header_resolv_h" = xyes
8969 then :
8970 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8975 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8977 if test "x$ac_cv_header_ifaddrs_h" = xyes
8978 then :
8979 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8984 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8986 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8987 then :
8988 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
8993 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
8994 #ifdef HAVE_SYS_UCONTEXT_H
8995 #include <sys/ucontext.h>
8996 #endif
8998 if test "x$ac_cv_header_sys_thr_h" = xyes
8999 then :
9000 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9005 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9006 #include <pthread.h>
9007 #endif
9009 if test "x$ac_cv_header_pthread_np_h" = xyes
9010 then :
9011 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9016 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9017 #include <sys/types.h>
9018 #ifdef HAVE_ASM_TYPES_H
9019 #include <asm/types.h>
9020 #endif
9022 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9023 then :
9024 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9029 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9030 #include <sys/param.h>
9031 #endif
9032 #include <sys/socket.h>
9033 #ifdef HAVE_SYS_QUEUE_H
9034 #include <sys/queue.h>
9035 #endif
9037 if test "x$ac_cv_header_libprocstat_h" = xyes
9038 then :
9039 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9045 DLLFLAGS=""
9047 LDDLLFLAGS=""
9049 LDEXECFLAGS=""
9051 EXTRACFLAGS=""
9053 UNIXDLLFLAGS="-fPIC"
9055 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9057 TOP_INSTALL_LIB=""
9059 TOP_INSTALL_DEV=""
9061 WINELOADER_LDFLAGS=""
9063 WINEPRELOADER_LDFLAGS=""
9065 LIBEXT="so"
9066 # Extract the first word of "ldd", so it can be a program name with args.
9067 set dummy ldd; ac_word=$2
9068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9069 printf %s "checking for $ac_word... " >&6; }
9070 if test ${ac_cv_path_LDD+y}
9071 then :
9072 printf %s "(cached) " >&6
9073 else $as_nop
9074 case $LDD in
9075 [\\/]* | ?:[\\/]*)
9076 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9080 as_dummy="/sbin:/usr/sbin:$PATH"
9081 for as_dir in $as_dummy
9083 IFS=$as_save_IFS
9084 case $as_dir in #(((
9085 '') as_dir=./ ;;
9086 */) ;;
9087 *) as_dir=$as_dir/ ;;
9088 esac
9089 for ac_exec_ext in '' $ac_executable_extensions; do
9090 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9091 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9093 break 2
9095 done
9096 done
9097 IFS=$as_save_IFS
9099 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9101 esac
9103 LDD=$ac_cv_path_LDD
9104 if test -n "$LDD"; then
9105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9106 printf "%s\n" "$LDD" >&6; }
9107 else
9108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9109 printf "%s\n" "no" >&6; }
9113 if test -n "$ac_tool_prefix"; then
9114 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9115 set dummy ${ac_tool_prefix}otool; ac_word=$2
9116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9117 printf %s "checking for $ac_word... " >&6; }
9118 if test ${ac_cv_prog_OTOOL+y}
9119 then :
9120 printf %s "(cached) " >&6
9121 else $as_nop
9122 if test -n "$OTOOL"; then
9123 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9124 else
9125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9126 for as_dir in $PATH
9128 IFS=$as_save_IFS
9129 case $as_dir in #(((
9130 '') as_dir=./ ;;
9131 */) ;;
9132 *) as_dir=$as_dir/ ;;
9133 esac
9134 for ac_exec_ext in '' $ac_executable_extensions; do
9135 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9136 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9138 break 2
9140 done
9141 done
9142 IFS=$as_save_IFS
9146 OTOOL=$ac_cv_prog_OTOOL
9147 if test -n "$OTOOL"; then
9148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9149 printf "%s\n" "$OTOOL" >&6; }
9150 else
9151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9152 printf "%s\n" "no" >&6; }
9157 if test -z "$ac_cv_prog_OTOOL"; then
9158 ac_ct_OTOOL=$OTOOL
9159 # Extract the first word of "otool", so it can be a program name with args.
9160 set dummy otool; ac_word=$2
9161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9162 printf %s "checking for $ac_word... " >&6; }
9163 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9164 then :
9165 printf %s "(cached) " >&6
9166 else $as_nop
9167 if test -n "$ac_ct_OTOOL"; then
9168 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9169 else
9170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9171 for as_dir in $PATH
9173 IFS=$as_save_IFS
9174 case $as_dir in #(((
9175 '') as_dir=./ ;;
9176 */) ;;
9177 *) as_dir=$as_dir/ ;;
9178 esac
9179 for ac_exec_ext in '' $ac_executable_extensions; do
9180 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9181 ac_cv_prog_ac_ct_OTOOL="otool"
9182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9183 break 2
9185 done
9186 done
9187 IFS=$as_save_IFS
9191 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9192 if test -n "$ac_ct_OTOOL"; then
9193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9194 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9195 else
9196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9197 printf "%s\n" "no" >&6; }
9200 if test "x$ac_ct_OTOOL" = x; then
9201 OTOOL="otool"
9202 else
9203 case $cross_compiling:$ac_tool_warned in
9204 yes:)
9205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9206 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9207 ac_tool_warned=yes ;;
9208 esac
9209 OTOOL=$ac_ct_OTOOL
9211 else
9212 OTOOL="$ac_cv_prog_OTOOL"
9215 if test -n "$ac_tool_prefix"; then
9216 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9217 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9219 printf %s "checking for $ac_word... " >&6; }
9220 if test ${ac_cv_prog_READELF+y}
9221 then :
9222 printf %s "(cached) " >&6
9223 else $as_nop
9224 if test -n "$READELF"; then
9225 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9226 else
9227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9228 for as_dir in $PATH
9230 IFS=$as_save_IFS
9231 case $as_dir in #(((
9232 '') as_dir=./ ;;
9233 */) ;;
9234 *) as_dir=$as_dir/ ;;
9235 esac
9236 for ac_exec_ext in '' $ac_executable_extensions; do
9237 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9238 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9240 break 2
9242 done
9243 done
9244 IFS=$as_save_IFS
9248 READELF=$ac_cv_prog_READELF
9249 if test -n "$READELF"; then
9250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9251 printf "%s\n" "$READELF" >&6; }
9252 else
9253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9254 printf "%s\n" "no" >&6; }
9259 if test -z "$ac_cv_prog_READELF"; then
9260 ac_ct_READELF=$READELF
9261 # Extract the first word of "readelf", so it can be a program name with args.
9262 set dummy readelf; ac_word=$2
9263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9264 printf %s "checking for $ac_word... " >&6; }
9265 if test ${ac_cv_prog_ac_ct_READELF+y}
9266 then :
9267 printf %s "(cached) " >&6
9268 else $as_nop
9269 if test -n "$ac_ct_READELF"; then
9270 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9271 else
9272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9273 for as_dir in $PATH
9275 IFS=$as_save_IFS
9276 case $as_dir in #(((
9277 '') as_dir=./ ;;
9278 */) ;;
9279 *) as_dir=$as_dir/ ;;
9280 esac
9281 for ac_exec_ext in '' $ac_executable_extensions; do
9282 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9283 ac_cv_prog_ac_ct_READELF="readelf"
9284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9285 break 2
9287 done
9288 done
9289 IFS=$as_save_IFS
9293 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9294 if test -n "$ac_ct_READELF"; then
9295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9296 printf "%s\n" "$ac_ct_READELF" >&6; }
9297 else
9298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9299 printf "%s\n" "no" >&6; }
9302 if test "x$ac_ct_READELF" = x; then
9303 READELF="true"
9304 else
9305 case $cross_compiling:$ac_tool_warned in
9306 yes:)
9307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9308 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9309 ac_tool_warned=yes ;;
9310 esac
9311 READELF=$ac_ct_READELF
9313 else
9314 READELF="$ac_cv_prog_READELF"
9317 wine_rules="all:"
9318 SUBDIRS=""
9320 DISABLED_SUBDIRS=""
9322 CONFIGURE_TARGETS=""
9325 wine_fn_append_file ()
9327 as_fn_append $1 " \\$as_nl $2"
9330 wine_fn_append_rule ()
9332 as_fn_append wine_rules "$as_nl$1"
9335 wine_fn_config_makefile ()
9337 wine_fn_append_file SUBDIRS $1
9338 if eval test \"x\$"$2"\" = x"no"
9339 then :
9340 wine_fn_append_file DISABLED_SUBDIRS $1
9344 wine_fn_config_symlink ()
9346 ac_links=$@
9347 wine_fn_append_rule \
9348 "$ac_links:
9349 @./config.status \$@"
9350 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9353 wine_binary="wine"
9354 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9355 WINELOADER_PROGRAMS="$wine_binary"
9357 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9359 case $host_os in
9360 cygwin*|mingw32*)
9361 if test -n "$ac_tool_prefix"; then
9362 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9363 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9365 printf %s "checking for $ac_word... " >&6; }
9366 if test ${ac_cv_prog_DLLTOOL+y}
9367 then :
9368 printf %s "(cached) " >&6
9369 else $as_nop
9370 if test -n "$DLLTOOL"; then
9371 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9372 else
9373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9374 for as_dir in $PATH
9376 IFS=$as_save_IFS
9377 case $as_dir in #(((
9378 '') as_dir=./ ;;
9379 */) ;;
9380 *) as_dir=$as_dir/ ;;
9381 esac
9382 for ac_exec_ext in '' $ac_executable_extensions; do
9383 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9384 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9386 break 2
9388 done
9389 done
9390 IFS=$as_save_IFS
9394 DLLTOOL=$ac_cv_prog_DLLTOOL
9395 if test -n "$DLLTOOL"; then
9396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9397 printf "%s\n" "$DLLTOOL" >&6; }
9398 else
9399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9400 printf "%s\n" "no" >&6; }
9405 if test -z "$ac_cv_prog_DLLTOOL"; then
9406 ac_ct_DLLTOOL=$DLLTOOL
9407 # Extract the first word of "dlltool", so it can be a program name with args.
9408 set dummy dlltool; ac_word=$2
9409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9410 printf %s "checking for $ac_word... " >&6; }
9411 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9412 then :
9413 printf %s "(cached) " >&6
9414 else $as_nop
9415 if test -n "$ac_ct_DLLTOOL"; then
9416 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9417 else
9418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9419 for as_dir in $PATH
9421 IFS=$as_save_IFS
9422 case $as_dir in #(((
9423 '') as_dir=./ ;;
9424 */) ;;
9425 *) as_dir=$as_dir/ ;;
9426 esac
9427 for ac_exec_ext in '' $ac_executable_extensions; do
9428 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9429 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9431 break 2
9433 done
9434 done
9435 IFS=$as_save_IFS
9439 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9440 if test -n "$ac_ct_DLLTOOL"; then
9441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9442 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9443 else
9444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9445 printf "%s\n" "no" >&6; }
9448 if test "x$ac_ct_DLLTOOL" = x; then
9449 DLLTOOL="false"
9450 else
9451 case $cross_compiling:$ac_tool_warned in
9452 yes:)
9453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9454 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9455 ac_tool_warned=yes ;;
9456 esac
9457 DLLTOOL=$ac_ct_DLLTOOL
9459 else
9460 DLLTOOL="$ac_cv_prog_DLLTOOL"
9463 LIBEXT="dll"
9464 EXTRACFLAGS="-D__WINE_PE_BUILD"
9465 case $host_cpu in
9466 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9467 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9468 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9469 then :
9470 printf %s "(cached) " >&6
9471 else $as_nop
9472 ac_wine_try_cflags_saved=$CFLAGS
9473 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9476 int main(int argc, char **argv) { return 0; }
9477 _ACEOF
9478 if ac_fn_c_try_link "$LINENO"
9479 then :
9480 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9481 else $as_nop
9482 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9485 conftest$ac_exeext conftest.$ac_ext
9486 CFLAGS=$ac_wine_try_cflags_saved
9488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9489 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9490 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9491 then :
9492 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9493 fi ;;
9494 esac
9495 enable_loader=${enable_loader:-no}
9496 enable_server=${enable_server:-no}
9497 with_x=${with_x:-no}
9498 with_pthread=${with_pthread:-no}
9501 darwin*|macosx*)
9502 ac_ext=m
9503 ac_cpp='$OBJCPP $CPPFLAGS'
9504 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9505 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9506 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9508 ac_ext=m
9509 ac_cpp='$OBJCPP $CPPFLAGS'
9510 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9511 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9512 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9513 if test -n "$ac_tool_prefix"; then
9514 for ac_prog in gcc objcc objc cc CC clang
9516 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9517 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9519 printf %s "checking for $ac_word... " >&6; }
9520 if test ${ac_cv_prog_OBJC+y}
9521 then :
9522 printf %s "(cached) " >&6
9523 else $as_nop
9524 if test -n "$OBJC"; then
9525 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9526 else
9527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9528 for as_dir in $PATH
9530 IFS=$as_save_IFS
9531 case $as_dir in #(((
9532 '') as_dir=./ ;;
9533 */) ;;
9534 *) as_dir=$as_dir/ ;;
9535 esac
9536 for ac_exec_ext in '' $ac_executable_extensions; do
9537 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9538 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9540 break 2
9542 done
9543 done
9544 IFS=$as_save_IFS
9548 OBJC=$ac_cv_prog_OBJC
9549 if test -n "$OBJC"; then
9550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9551 printf "%s\n" "$OBJC" >&6; }
9552 else
9553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9554 printf "%s\n" "no" >&6; }
9558 test -n "$OBJC" && break
9559 done
9561 if test -z "$OBJC"; then
9562 ac_ct_OBJC=$OBJC
9563 for ac_prog in gcc objcc objc cc CC clang
9565 # Extract the first word of "$ac_prog", so it can be a program name with args.
9566 set dummy $ac_prog; ac_word=$2
9567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9568 printf %s "checking for $ac_word... " >&6; }
9569 if test ${ac_cv_prog_ac_ct_OBJC+y}
9570 then :
9571 printf %s "(cached) " >&6
9572 else $as_nop
9573 if test -n "$ac_ct_OBJC"; then
9574 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9575 else
9576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9577 for as_dir in $PATH
9579 IFS=$as_save_IFS
9580 case $as_dir in #(((
9581 '') as_dir=./ ;;
9582 */) ;;
9583 *) as_dir=$as_dir/ ;;
9584 esac
9585 for ac_exec_ext in '' $ac_executable_extensions; do
9586 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9587 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9588 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9589 break 2
9591 done
9592 done
9593 IFS=$as_save_IFS
9597 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9598 if test -n "$ac_ct_OBJC"; then
9599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9600 printf "%s\n" "$ac_ct_OBJC" >&6; }
9601 else
9602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9603 printf "%s\n" "no" >&6; }
9607 test -n "$ac_ct_OBJC" && break
9608 done
9610 if test "x$ac_ct_OBJC" = x; then
9611 OBJC="gcc"
9612 else
9613 case $cross_compiling:$ac_tool_warned in
9614 yes:)
9615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9616 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9617 ac_tool_warned=yes ;;
9618 esac
9619 OBJC=$ac_ct_OBJC
9623 # Provide some information about the compiler.
9624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9625 set X $ac_compile
9626 ac_compiler=$2
9627 for ac_option in --version -v -V -qversion; do
9628 { { ac_try="$ac_compiler $ac_option >&5"
9629 case "(($ac_try" in
9630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9631 *) ac_try_echo=$ac_try;;
9632 esac
9633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9634 printf "%s\n" "$ac_try_echo"; } >&5
9635 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9636 ac_status=$?
9637 if test -s conftest.err; then
9638 sed '10a\
9639 ... rest of stderr output deleted ...
9640 10q' conftest.err >conftest.er1
9641 cat conftest.er1 >&5
9643 rm -f conftest.er1 conftest.err
9644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9645 test $ac_status = 0; }
9646 done
9648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9649 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9650 if test ${ac_cv_objc_compiler_gnu+y}
9651 then :
9652 printf %s "(cached) " >&6
9653 else $as_nop
9654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9655 /* end confdefs.h. */
9658 main (void)
9660 #ifndef __GNUC__
9661 choke me
9662 #endif
9665 return 0;
9667 _ACEOF
9668 if ac_fn_objc_try_compile "$LINENO"
9669 then :
9670 ac_compiler_gnu=yes
9671 else $as_nop
9672 ac_compiler_gnu=no
9674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9675 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9679 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9680 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9682 if test $ac_compiler_gnu = yes; then
9683 GOBJC=yes
9684 else
9685 GOBJC=
9687 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9688 ac_save_OBJCFLAGS=$OBJCFLAGS
9689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9690 printf %s "checking whether $OBJC accepts -g... " >&6; }
9691 if test ${ac_cv_prog_objc_g+y}
9692 then :
9693 printf %s "(cached) " >&6
9694 else $as_nop
9695 ac_save_objc_werror_flag=$ac_objc_werror_flag
9696 ac_objc_werror_flag=yes
9697 ac_cv_prog_objc_g=no
9698 OBJCFLAGS="-g"
9699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9703 main (void)
9707 return 0;
9709 _ACEOF
9710 if ac_fn_objc_try_compile "$LINENO"
9711 then :
9712 ac_cv_prog_objc_g=yes
9713 else $as_nop
9714 OBJCFLAGS=""
9715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9716 /* end confdefs.h. */
9719 main (void)
9723 return 0;
9725 _ACEOF
9726 if ac_fn_objc_try_compile "$LINENO"
9727 then :
9729 else $as_nop
9730 ac_objc_werror_flag=$ac_save_objc_werror_flag
9731 OBJCFLAGS="-g"
9732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9736 main (void)
9740 return 0;
9742 _ACEOF
9743 if ac_fn_objc_try_compile "$LINENO"
9744 then :
9745 ac_cv_prog_objc_g=yes
9747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9752 ac_objc_werror_flag=$ac_save_objc_werror_flag
9754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9755 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9756 if test $ac_test_OBJCFLAGS; then
9757 OBJCFLAGS=$ac_save_OBJCFLAGS
9758 elif test $ac_cv_prog_objc_g = yes; then
9759 if test "$GOBJC" = yes; then
9760 OBJCFLAGS="-g -O2"
9761 else
9762 OBJCFLAGS="-g"
9764 else
9765 if test "$GOBJC" = yes; then
9766 OBJCFLAGS="-O2"
9767 else
9768 OBJCFLAGS=
9771 ac_ext=m
9772 ac_cpp='$OBJCPP $CPPFLAGS'
9773 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9774 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9775 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9778 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9779 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9780 then :
9781 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9785 ac_ext=c
9786 ac_cpp='$CPP $CPPFLAGS'
9787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9791 LIBEXT="dylib"
9792 DLLFLAGS="$DLLFLAGS -fPIC"
9793 LDDLLFLAGS="-fPIC"
9794 COREFOUNDATION_LIBS="-framework CoreFoundation"
9796 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9798 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9800 CORESERVICES_LIBS="-framework CoreServices"
9802 APPKIT_LIBS="-framework AppKit"
9804 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9807 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9809 wine_can_build_preloader=yes
9810 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"
9811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9812 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9813 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9814 then :
9815 printf %s "(cached) " >&6
9816 else $as_nop
9817 ac_wine_try_cflags_saved=$CFLAGS
9818 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9820 /* end confdefs.h. */
9821 int main(int argc, char **argv) { return 0; }
9822 _ACEOF
9823 if ac_fn_c_try_link "$LINENO"
9824 then :
9825 ac_cv_cflags__Wl__no_new_main__e__main=yes
9826 else $as_nop
9827 ac_cv_cflags__Wl__no_new_main__e__main=no
9829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9830 conftest$ac_exeext conftest.$ac_ext
9831 CFLAGS=$ac_wine_try_cflags_saved
9833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9834 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9835 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9836 then :
9837 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9838 { 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
9839 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9840 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9841 then :
9842 printf %s "(cached) " >&6
9843 else $as_nop
9844 ac_wine_try_cflags_saved=$CFLAGS
9845 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9848 int main(int argc, char **argv) { return 0; }
9849 _ACEOF
9850 if ac_fn_c_try_link "$LINENO"
9851 then :
9852 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9853 else $as_nop
9854 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9857 conftest$ac_exeext conftest.$ac_ext
9858 CFLAGS=$ac_wine_try_cflags_saved
9860 { 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
9861 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9862 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9863 then :
9864 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9865 else $as_nop
9866 wine_can_build_preloader=no
9868 else $as_nop
9869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9870 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9871 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9872 then :
9873 printf %s "(cached) " >&6
9874 else $as_nop
9875 ac_wine_try_cflags_saved=$CFLAGS
9876 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9879 int main(int argc, char **argv) { return 0; }
9880 _ACEOF
9881 if ac_fn_c_try_link "$LINENO"
9882 then :
9883 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9884 else $as_nop
9885 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9888 conftest$ac_exeext conftest.$ac_ext
9889 CFLAGS=$ac_wine_try_cflags_saved
9891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9892 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9893 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9894 then :
9895 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9896 else $as_nop
9897 wine_can_build_preloader=no
9900 if test "$wine_can_build_preloader" = "yes"
9901 then
9902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9903 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9904 if test ${ac_cv_cflags__Wl__no_pie+y}
9905 then :
9906 printf %s "(cached) " >&6
9907 else $as_nop
9908 ac_wine_try_cflags_saved=$CFLAGS
9909 CFLAGS="$CFLAGS -Wl,-no_pie"
9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9912 int main(int argc, char **argv) { return 0; }
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"
9915 then :
9916 ac_cv_cflags__Wl__no_pie=yes
9917 else $as_nop
9918 ac_cv_cflags__Wl__no_pie=no
9920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9921 conftest$ac_exeext conftest.$ac_ext
9922 CFLAGS=$ac_wine_try_cflags_saved
9924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9925 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9926 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9927 then :
9928 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9930 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
9931 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9932 else
9933 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9936 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9937 then
9938 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9941 if test "$ac_cv_header_Security_Security_h" = "yes"
9942 then
9943 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9946 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9947 then
9948 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9950 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9952 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9953 then
9954 OPENAL_LIBS="-framework OpenAL"
9957 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
9959 ac_cv_lib_openal=yes
9961 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9962 then
9963 OPENCL_LIBS="-framework OpenCL"
9965 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9967 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9968 then
9969 ac_save_LIBS="$LIBS"
9970 LIBS="$LIBS $IOKIT_LIBS"
9971 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9972 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
9973 then :
9974 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
9978 LIBS="$ac_save_LIBS"
9981 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9982 then
9983 CARBON_LIBS="-framework Carbon"
9986 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9987 then
9988 METAL_LIBS="-framework Metal"
9992 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9993 then
9994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9995 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9996 ac_ext=m
9997 ac_cpp='$OBJCPP $CPPFLAGS'
9998 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9999 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10000 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10003 /* end confdefs.h. */
10004 #include <Metal/Metal.h>
10006 main (void)
10008 id<MTLDevice> device; device.registryID;
10010 return 0;
10012 _ACEOF
10013 if ac_fn_objc_try_compile "$LINENO"
10014 then :
10015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10016 printf "%s\n" "yes" >&6; }
10018 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10020 else $as_nop
10021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10022 printf "%s\n" "no" >&6; }
10024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10025 ac_ext=c
10026 ac_cpp='$CPP $CPPFLAGS'
10027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10033 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10034 then
10035 ac_save_LIBS="$LIBS"
10036 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10037 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10038 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10039 then :
10040 enable_winemac_drv=${enable_winemac_drv:-yes}
10043 LIBS="$ac_save_LIBS"
10046 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10047 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10049 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10051 WINELOADER_DEPENDS="wine_info.plist"
10053 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10056 linux-android*)
10058 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10060 DLLFLAGS="$DLLFLAGS -fPIC"
10061 LDDLLFLAGS="-fPIC"
10062 LDEXECFLAGS="-Wl,-pie"
10063 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10065 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10066 if test ${ac_cv_cflags__Wl__z_defs+y}
10067 then :
10068 printf %s "(cached) " >&6
10069 else $as_nop
10070 ac_wine_try_cflags_saved=$CFLAGS
10071 CFLAGS="$CFLAGS -Wl,-z,defs"
10072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10073 /* end confdefs.h. */
10074 int main(int argc, char **argv) { return 0; }
10075 _ACEOF
10076 if ac_fn_c_try_link "$LINENO"
10077 then :
10078 ac_cv_cflags__Wl__z_defs=yes
10079 else $as_nop
10080 ac_cv_cflags__Wl__z_defs=no
10082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10083 conftest$ac_exeext conftest.$ac_ext
10084 CFLAGS=$ac_wine_try_cflags_saved
10086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10087 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10088 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10089 then :
10090 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10093 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10094 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10095 then :
10096 printf %s "(cached) " >&6
10097 else $as_nop
10098 ac_wine_try_cflags_saved=$CFLAGS
10099 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10101 /* end confdefs.h. */
10102 int main(int argc, char **argv) { return 0; }
10103 _ACEOF
10104 if ac_fn_c_try_link "$LINENO"
10105 then :
10106 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10107 else $as_nop
10108 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10111 conftest$ac_exeext conftest.$ac_ext
10112 CFLAGS=$ac_wine_try_cflags_saved
10114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10115 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10116 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10117 then :
10118 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10120 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10123 printf %s "checking for -lEGL... " >&6; }
10124 if test ${ac_cv_lib_soname_EGL+y}
10125 then :
10126 printf %s "(cached) " >&6
10127 else $as_nop
10128 ac_check_soname_save_LIBS=$LIBS
10129 LIBS="-lEGL $LIBS"
10130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10131 /* end confdefs.h. */
10133 /* Override any GCC internal prototype to avoid an error.
10134 Use char because int might match the return type of a GCC
10135 builtin and then its argument prototype would still apply. */
10136 char eglGetProcAddress ();
10138 main (void)
10140 return eglGetProcAddress ();
10142 return 0;
10144 _ACEOF
10145 if ac_fn_c_try_link "$LINENO"
10146 then :
10147 case "$LIBEXT" in
10148 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10149 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'` ;;
10150 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10151 if ${ac_cv_lib_soname_EGL:+false} :
10152 then :
10153 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10154 fi ;;
10155 esac
10156 else $as_nop
10157 ac_cv_lib_soname_EGL=
10159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10160 conftest$ac_exeext conftest.$ac_ext
10161 LIBS=$ac_check_soname_save_LIBS
10163 if ${ac_cv_lib_soname_EGL:+false} :
10164 then :
10165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10166 printf "%s\n" "not found" >&6; }
10168 else $as_nop
10169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10170 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10172 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10177 printf %s "checking for -lGLESv2... " >&6; }
10178 if test ${ac_cv_lib_soname_GLESv2+y}
10179 then :
10180 printf %s "(cached) " >&6
10181 else $as_nop
10182 ac_check_soname_save_LIBS=$LIBS
10183 LIBS="-lGLESv2 $LIBS"
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10187 /* Override any GCC internal prototype to avoid an error.
10188 Use char because int might match the return type of a GCC
10189 builtin and then its argument prototype would still apply. */
10190 char glFlush ();
10192 main (void)
10194 return glFlush ();
10196 return 0;
10198 _ACEOF
10199 if ac_fn_c_try_link "$LINENO"
10200 then :
10201 case "$LIBEXT" in
10202 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10203 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'` ;;
10204 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10205 if ${ac_cv_lib_soname_GLESv2:+false} :
10206 then :
10207 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10208 fi ;;
10209 esac
10210 else $as_nop
10211 ac_cv_lib_soname_GLESv2=
10213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10214 conftest$ac_exeext conftest.$ac_ext
10215 LIBS=$ac_check_soname_save_LIBS
10217 if ${ac_cv_lib_soname_GLESv2:+false} :
10218 then :
10219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10220 printf "%s\n" "not found" >&6; }
10222 else $as_nop
10223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10224 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10226 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10231 if test "x$exec_prefix" = xNONE
10232 then
10233 case $host_cpu in
10234 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10235 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10236 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10237 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10238 esac
10244 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10246 test "$ac_cv_sys_file_offset_bits" = 64 &&
10247 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10249 case $host_cpu in
10250 *i[3456789]86*)
10251 DLLFLAGS="$DLLFLAGS -fno-PIC"
10252 LDDLLFLAGS="-fno-PIC"
10253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10254 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10255 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10256 then :
10257 printf %s "(cached) " >&6
10258 else $as_nop
10259 ac_wine_try_cflags_saved=$CFLAGS
10260 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10263 int main(int argc, char **argv) { return 0; }
10264 _ACEOF
10265 if ac_fn_c_try_link "$LINENO"
10266 then :
10267 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10268 else $as_nop
10269 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10272 conftest$ac_exeext conftest.$ac_ext
10273 CFLAGS=$ac_wine_try_cflags_saved
10275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10276 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10277 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10278 then :
10279 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10283 DLLFLAGS="$DLLFLAGS -fPIC"
10284 LDDLLFLAGS="-fPIC" ;;
10285 esac
10286 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10288 echo '{ global: *; };' >conftest.map
10289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10290 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10291 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10292 then :
10293 printf %s "(cached) " >&6
10294 else $as_nop
10295 ac_wine_try_cflags_saved=$CFLAGS
10296 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10298 /* end confdefs.h. */
10299 int main(int argc, char **argv) { return 0; }
10300 _ACEOF
10301 if ac_fn_c_try_link "$LINENO"
10302 then :
10303 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10304 else $as_nop
10305 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10308 conftest$ac_exeext conftest.$ac_ext
10309 CFLAGS=$ac_wine_try_cflags_saved
10311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10312 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10313 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10314 then :
10315 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10317 rm -f conftest.map
10319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10320 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10321 if test ${ac_cv_cflags__Wl__z_defs+y}
10322 then :
10323 printf %s "(cached) " >&6
10324 else $as_nop
10325 ac_wine_try_cflags_saved=$CFLAGS
10326 CFLAGS="$CFLAGS -Wl,-z,defs"
10327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10329 int main(int argc, char **argv) { return 0; }
10330 _ACEOF
10331 if ac_fn_c_try_link "$LINENO"
10332 then :
10333 ac_cv_cflags__Wl__z_defs=yes
10334 else $as_nop
10335 ac_cv_cflags__Wl__z_defs=no
10337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10338 conftest$ac_exeext conftest.$ac_ext
10339 CFLAGS=$ac_wine_try_cflags_saved
10341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10342 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10343 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10344 then :
10345 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10348 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10349 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10350 then :
10351 printf %s "(cached) " >&6
10352 else $as_nop
10353 ac_wine_try_cflags_saved=$CFLAGS
10354 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10357 int main(int argc, char **argv) { return 0; }
10358 _ACEOF
10359 if ac_fn_c_try_link "$LINENO"
10360 then :
10361 ac_cv_cflags__Wl___export_dynamic=yes
10362 else $as_nop
10363 ac_cv_cflags__Wl___export_dynamic=no
10365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10366 conftest$ac_exeext conftest.$ac_ext
10367 CFLAGS=$ac_wine_try_cflags_saved
10369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10370 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10371 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10372 then :
10373 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10375 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10377 case $host_cpu in
10378 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10380 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10381 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10382 then :
10383 printf %s "(cached) " >&6
10384 else $as_nop
10385 ac_wine_try_cflags_saved=$CFLAGS
10386 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
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__Ttext_segment_0x7bc00000=yes
10394 else $as_nop
10395 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=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__Ttext_segment_0x7bc00000" >&5
10402 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10403 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10404 then :
10405 case $host_os in
10406 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10407 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10408 esac
10409 else $as_nop
10410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10411 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10412 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10413 then :
10414 printf %s "(cached) " >&6
10415 else $as_nop
10416 ac_wine_try_cflags_saved=$CFLAGS
10417 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10419 /* end confdefs.h. */
10420 int main(int argc, char **argv) { return 0; }
10421 _ACEOF
10422 if ac_fn_c_try_link "$LINENO"
10423 then :
10424 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10425 else $as_nop
10426 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10429 conftest$ac_exeext conftest.$ac_ext
10430 CFLAGS=$ac_wine_try_cflags_saved
10432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10433 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10434 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10435 then :
10436 case $host_os in
10437 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10438 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10439 esac
10441 # Extract the first word of "prelink", so it can be a program name with args.
10442 set dummy prelink; ac_word=$2
10443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10444 printf %s "checking for $ac_word... " >&6; }
10445 if test ${ac_cv_path_PRELINK+y}
10446 then :
10447 printf %s "(cached) " >&6
10448 else $as_nop
10449 case $PRELINK in
10450 [\\/]* | ?:[\\/]*)
10451 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10455 for as_dir in /sbin /usr/sbin $PATH
10457 IFS=$as_save_IFS
10458 case $as_dir in #(((
10459 '') as_dir=./ ;;
10460 */) ;;
10461 *) as_dir=$as_dir/ ;;
10462 esac
10463 for ac_exec_ext in '' $ac_executable_extensions; do
10464 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10465 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10466 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10467 break 2
10469 done
10470 done
10471 IFS=$as_save_IFS
10473 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10475 esac
10477 PRELINK=$ac_cv_path_PRELINK
10478 if test -n "$PRELINK"; then
10479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10480 printf "%s\n" "$PRELINK" >&6; }
10481 else
10482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10483 printf "%s\n" "no" >&6; }
10487 if test "x$PRELINK" = xfalse
10488 then
10489 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10493 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10494 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10495 then :
10496 printf %s "(cached) " >&6
10497 else $as_nop
10498 ac_wine_try_cflags_saved=$CFLAGS
10499 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10501 /* end confdefs.h. */
10502 int main(int argc, char **argv) { return 0; }
10503 _ACEOF
10504 if ac_fn_c_try_link "$LINENO"
10505 then :
10506 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10507 else $as_nop
10508 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10511 conftest$ac_exeext conftest.$ac_ext
10512 CFLAGS=$ac_wine_try_cflags_saved
10514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10515 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10516 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10517 then :
10518 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10521 esac
10522 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10524 LIBWINE_DEPENDS="wine.map"
10526 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10528 esac
10530 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10531 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10532 enable_winemac_drv=${enable_winemac_drv:-no}
10535 if test "x$with_mingw" != xno
10536 then
10537 case "x$with_mingw" in
10538 x|xyes) case "$host_cpu" in
10539 aarch64*)
10540 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10541 arm*)
10542 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10543 i[3456789]86*)
10544 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
10545 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10546 mingw32-gcc clang" ;;
10547 x86_64)
10548 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
10549 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10551 ac_prefix_list="" ;;
10552 esac
10553 for ac_prog in $ac_prefix_list
10555 # Extract the first word of "$ac_prog", so it can be a program name with args.
10556 set dummy $ac_prog; ac_word=$2
10557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10558 printf %s "checking for $ac_word... " >&6; }
10559 if test ${ac_cv_prog_CROSSCC+y}
10560 then :
10561 printf %s "(cached) " >&6
10562 else $as_nop
10563 if test -n "$CROSSCC"; then
10564 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10565 else
10566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10567 for as_dir in $PATH
10569 IFS=$as_save_IFS
10570 case $as_dir in #(((
10571 '') as_dir=./ ;;
10572 */) ;;
10573 *) as_dir=$as_dir/ ;;
10574 esac
10575 for ac_exec_ext in '' $ac_executable_extensions; do
10576 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10577 ac_cv_prog_CROSSCC="$ac_prog"
10578 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10579 break 2
10581 done
10582 done
10583 IFS=$as_save_IFS
10587 CROSSCC=$ac_cv_prog_CROSSCC
10588 if test -n "$CROSSCC"; then
10589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10590 printf "%s\n" "$CROSSCC" >&6; }
10591 else
10592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10593 printf "%s\n" "no" >&6; }
10597 test -n "$CROSSCC" && break
10598 done
10599 test -n "$CROSSCC" || CROSSCC="false"
10601 *) CROSSCC=$with_mingw ;;
10602 esac
10603 if test "$CROSSCC" != "false"
10604 then
10605 ac_save_CC="$CC"
10606 saved_CFLAGS=$CFLAGS
10607 saved_LDFLAGS=$LDFLAGS
10608 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10610 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10614 CC="$CROSSCC"
10615 CFLAGS=$CROSSCFLAGS
10616 LDFLAGS=$CROSSLDFLAGS
10617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10618 printf %s "checking whether $CROSSCC works... " >&6; }
10619 if test ${wine_cv_crosscc+y}
10620 then :
10621 printf %s "(cached) " >&6
10622 else $as_nop
10623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h. */
10627 main (void)
10631 return 0;
10633 _ACEOF
10634 if ac_fn_c_try_compile "$LINENO"
10635 then :
10636 wine_cv_crosscc=yes
10637 else $as_nop
10638 wine_cv_crosscc=no
10640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10643 printf "%s\n" "$wine_cv_crosscc" >&6; }
10644 if test $wine_cv_crosscc = yes
10645 then
10646 set x $CROSSCC
10647 shift
10648 while test $# -ge 1
10650 case "$1" in
10651 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10652 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10653 esac
10654 shift
10655 done
10657 llvm_target=$CROSSTARGET
10658 llvm_cflags="-fuse-ld=lld"
10659 if test -z "$llvm_target"
10660 then
10661 case $host_cpu in
10662 *i[3456789]86*) llvm_target=i686-windows ;;
10663 *) llvm_target=$host_cpu-windows ;;
10664 esac
10666 case $llvm_target in
10667 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10668 esac
10669 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10671 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10672 if eval test \${$as_ac_var+y}
10673 then :
10674 printf %s "(cached) " >&6
10675 else $as_nop
10676 ac_wine_try_cflags_saved=$CFLAGS
10677 ac_wine_try_cflags_saved_cc=$CC
10678 ac_wine_try_cflags_saved_exeext=$ac_exeext
10679 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10680 CC="$CROSSCC"
10681 ac_exeext=".exe"
10682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10684 int __cdecl mainCRTStartup(void) { return 0; }
10685 _ACEOF
10686 if ac_fn_c_try_link "$LINENO"
10687 then :
10688 eval "$as_ac_var=yes"
10689 else $as_nop
10690 eval "$as_ac_var=no"
10692 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10693 conftest$ac_exeext conftest.$ac_ext
10694 CFLAGS=$ac_wine_try_cflags_saved
10695 CC=$ac_wine_try_cflags_saved_cc
10696 ac_exeext=$ac_wine_try_cflags_saved_exeext
10698 eval ac_res=\$$as_ac_var
10699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10700 printf "%s\n" "$ac_res" >&6; }
10701 if eval test \"x\$"$as_ac_var"\" = x"yes"
10702 then :
10703 CROSSTARGET=$llvm_target
10704 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10705 DELAYLOADFLAG="-Wl,-delayload,"
10707 CFLAGS="$CFLAGS $llvm_cflags"
10710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CROSSCC option to enable C99 features" >&5
10711 printf %s "checking for $CROSSCC option to enable C99 features... " >&6; }
10712 if test ${wine_cv_crosscc_c99+y}
10713 then :
10714 printf %s "(cached) " >&6
10715 else $as_nop
10716 wine_cv_crosscc_c99=no
10717 for arg in '' '-std=gnu99'
10719 CC="$CROSSCC $arg"
10720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10721 /* end confdefs.h. */
10722 $ac_c_conftest_c99_program
10723 _ACEOF
10724 if ac_fn_c_try_compile "$LINENO"
10725 then :
10726 wine_cv_crosscc_c99=$arg
10727 else $as_nop
10728 wine_cv_crosscc_c99=no
10730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10731 test "x$wine_cv_crosscc_c99" != xno && break
10732 done
10735 case "x$wine_cv_crosscc_c99" in
10736 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10737 printf "%s\n" "none needed" >&6; } ;;
10738 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10739 printf "%s\n" "unsupported" >&6; } ;;
10740 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc_c99" >&5
10741 printf "%s\n" "$wine_cv_crosscc_c99" >&6; }
10742 CROSSCC="$CROSSCC $wine_cv_crosscc_c99" ;;
10743 esac
10745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10746 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10747 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10748 then :
10749 printf %s "(cached) " >&6
10750 else $as_nop
10751 ac_wine_try_cflags_saved=$CFLAGS
10752 ac_wine_try_cflags_saved_cc=$CC
10753 ac_wine_try_cflags_saved_exeext=$ac_exeext
10754 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10755 CC="$CROSSCC"
10756 ac_exeext=".exe"
10757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10758 /* end confdefs.h. */
10759 int __cdecl mainCRTStartup(void) { return 0; }
10760 _ACEOF
10761 if ac_fn_c_try_link "$LINENO"
10762 then :
10763 ac_cv_crosscflags__fno_strict_aliasing=yes
10764 else $as_nop
10765 ac_cv_crosscflags__fno_strict_aliasing=no
10767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10768 conftest$ac_exeext conftest.$ac_ext
10769 CFLAGS=$ac_wine_try_cflags_saved
10770 CC=$ac_wine_try_cflags_saved_cc
10771 ac_exeext=$ac_wine_try_cflags_saved_exeext
10773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10774 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10775 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10776 then :
10777 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10780 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10781 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
10782 then :
10783 printf %s "(cached) " >&6
10784 else $as_nop
10785 ac_wine_try_cflags_saved=$CFLAGS
10786 ac_wine_try_cflags_saved_cc=$CC
10787 ac_wine_try_cflags_saved_exeext=$ac_exeext
10788 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10789 CC="$CROSSCC"
10790 ac_exeext=".exe"
10791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10793 int __cdecl mainCRTStartup(void) { return 0; }
10794 _ACEOF
10795 if ac_fn_c_try_link "$LINENO"
10796 then :
10797 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10798 else $as_nop
10799 ac_cv_crosscflags__Werror_unknown_warning_option=no
10801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10802 conftest$ac_exeext conftest.$ac_ext
10803 CFLAGS=$ac_wine_try_cflags_saved
10804 CC=$ac_wine_try_cflags_saved_cc
10805 ac_exeext=$ac_wine_try_cflags_saved_exeext
10807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10808 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10809 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10810 then :
10811 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10814 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10815 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10816 then :
10817 printf %s "(cached) " >&6
10818 else $as_nop
10819 ac_wine_try_cflags_saved=$CFLAGS
10820 ac_wine_try_cflags_saved_cc=$CC
10821 ac_wine_try_cflags_saved_exeext=$ac_exeext
10822 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10823 CC="$CROSSCC"
10824 ac_exeext=".exe"
10825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10826 /* end confdefs.h. */
10827 int __cdecl mainCRTStartup(void) { return 0; }
10828 _ACEOF
10829 if ac_fn_c_try_link "$LINENO"
10830 then :
10831 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10832 else $as_nop
10833 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10836 conftest$ac_exeext conftest.$ac_ext
10837 CFLAGS=$ac_wine_try_cflags_saved
10838 CC=$ac_wine_try_cflags_saved_cc
10839 ac_exeext=$ac_wine_try_cflags_saved_exeext
10841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10842 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10843 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10844 then :
10845 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10848 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10849 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
10850 then :
10851 printf %s "(cached) " >&6
10852 else $as_nop
10853 ac_wine_try_cflags_saved=$CFLAGS
10854 ac_wine_try_cflags_saved_cc=$CC
10855 ac_wine_try_cflags_saved_exeext=$ac_exeext
10856 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10857 CC="$CROSSCC"
10858 ac_exeext=".exe"
10859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10860 /* end confdefs.h. */
10861 int __cdecl mainCRTStartup(void) { return 0; }
10862 _ACEOF
10863 if ac_fn_c_try_link "$LINENO"
10864 then :
10865 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10866 else $as_nop
10867 ac_cv_crosscflags__Wdeclaration_after_statement=no
10869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10870 conftest$ac_exeext conftest.$ac_ext
10871 CFLAGS=$ac_wine_try_cflags_saved
10872 CC=$ac_wine_try_cflags_saved_cc
10873 ac_exeext=$ac_wine_try_cflags_saved_exeext
10875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10876 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10877 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10878 then :
10879 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10882 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10883 if test ${ac_cv_crosscflags__Wempty_body+y}
10884 then :
10885 printf %s "(cached) " >&6
10886 else $as_nop
10887 ac_wine_try_cflags_saved=$CFLAGS
10888 ac_wine_try_cflags_saved_cc=$CC
10889 ac_wine_try_cflags_saved_exeext=$ac_exeext
10890 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10891 CC="$CROSSCC"
10892 ac_exeext=".exe"
10893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10894 /* end confdefs.h. */
10895 int __cdecl mainCRTStartup(void) { return 0; }
10896 _ACEOF
10897 if ac_fn_c_try_link "$LINENO"
10898 then :
10899 ac_cv_crosscflags__Wempty_body=yes
10900 else $as_nop
10901 ac_cv_crosscflags__Wempty_body=no
10903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10904 conftest$ac_exeext conftest.$ac_ext
10905 CFLAGS=$ac_wine_try_cflags_saved
10906 CC=$ac_wine_try_cflags_saved_cc
10907 ac_exeext=$ac_wine_try_cflags_saved_exeext
10909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10910 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
10911 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
10912 then :
10913 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10916 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10917 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
10918 then :
10919 printf %s "(cached) " >&6
10920 else $as_nop
10921 ac_wine_try_cflags_saved=$CFLAGS
10922 ac_wine_try_cflags_saved_cc=$CC
10923 ac_wine_try_cflags_saved_exeext=$ac_exeext
10924 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10925 CC="$CROSSCC"
10926 ac_exeext=".exe"
10927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10929 int __cdecl mainCRTStartup(void) { return 0; }
10930 _ACEOF
10931 if ac_fn_c_try_link "$LINENO"
10932 then :
10933 ac_cv_crosscflags__Wignored_qualifiers=yes
10934 else $as_nop
10935 ac_cv_crosscflags__Wignored_qualifiers=no
10937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10938 conftest$ac_exeext conftest.$ac_ext
10939 CFLAGS=$ac_wine_try_cflags_saved
10940 CC=$ac_wine_try_cflags_saved_cc
10941 ac_exeext=$ac_wine_try_cflags_saved_exeext
10943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10944 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10945 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
10946 then :
10947 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10950 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
10951 if test ${ac_cv_crosscflags__Winit_self+y}
10952 then :
10953 printf %s "(cached) " >&6
10954 else $as_nop
10955 ac_wine_try_cflags_saved=$CFLAGS
10956 ac_wine_try_cflags_saved_cc=$CC
10957 ac_wine_try_cflags_saved_exeext=$ac_exeext
10958 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10959 CC="$CROSSCC"
10960 ac_exeext=".exe"
10961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10963 int __cdecl mainCRTStartup(void) { return 0; }
10964 _ACEOF
10965 if ac_fn_c_try_link "$LINENO"
10966 then :
10967 ac_cv_crosscflags__Winit_self=yes
10968 else $as_nop
10969 ac_cv_crosscflags__Winit_self=no
10971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10972 conftest$ac_exeext conftest.$ac_ext
10973 CFLAGS=$ac_wine_try_cflags_saved
10974 CC=$ac_wine_try_cflags_saved_cc
10975 ac_exeext=$ac_wine_try_cflags_saved_exeext
10977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10978 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
10979 if test "x$ac_cv_crosscflags__Winit_self" = xyes
10980 then :
10981 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10984 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10985 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
10986 then :
10987 printf %s "(cached) " >&6
10988 else $as_nop
10989 ac_wine_try_cflags_saved=$CFLAGS
10990 ac_wine_try_cflags_saved_cc=$CC
10991 ac_wine_try_cflags_saved_exeext=$ac_exeext
10992 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10993 CC="$CROSSCC"
10994 ac_exeext=".exe"
10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10996 /* end confdefs.h. */
10997 int __cdecl mainCRTStartup(void) { return 0; }
10998 _ACEOF
10999 if ac_fn_c_try_link "$LINENO"
11000 then :
11001 ac_cv_crosscflags__Wpacked_not_aligned=yes
11002 else $as_nop
11003 ac_cv_crosscflags__Wpacked_not_aligned=no
11005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11006 conftest$ac_exeext conftest.$ac_ext
11007 CFLAGS=$ac_wine_try_cflags_saved
11008 CC=$ac_wine_try_cflags_saved_cc
11009 ac_exeext=$ac_wine_try_cflags_saved_exeext
11011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11012 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11013 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11014 then :
11015 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11018 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11019 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11020 then :
11021 printf %s "(cached) " >&6
11022 else $as_nop
11023 ac_wine_try_cflags_saved=$CFLAGS
11024 ac_wine_try_cflags_saved_cc=$CC
11025 ac_wine_try_cflags_saved_exeext=$ac_exeext
11026 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11027 CC="$CROSSCC"
11028 ac_exeext=".exe"
11029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11030 /* end confdefs.h. */
11031 int __cdecl mainCRTStartup(void) { return 0; }
11032 _ACEOF
11033 if ac_fn_c_try_link "$LINENO"
11034 then :
11035 ac_cv_crosscflags__Wpragma_pack=yes
11036 else $as_nop
11037 ac_cv_crosscflags__Wpragma_pack=no
11039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11040 conftest$ac_exeext conftest.$ac_ext
11041 CFLAGS=$ac_wine_try_cflags_saved
11042 CC=$ac_wine_try_cflags_saved_cc
11043 ac_exeext=$ac_wine_try_cflags_saved_exeext
11045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11046 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11047 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11048 then :
11049 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11052 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11053 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11054 then :
11055 printf %s "(cached) " >&6
11056 else $as_nop
11057 ac_wine_try_cflags_saved=$CFLAGS
11058 ac_wine_try_cflags_saved_cc=$CC
11059 ac_wine_try_cflags_saved_exeext=$ac_exeext
11060 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11061 CC="$CROSSCC"
11062 ac_exeext=".exe"
11063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11065 int __cdecl mainCRTStartup(void) { return 0; }
11066 _ACEOF
11067 if ac_fn_c_try_link "$LINENO"
11068 then :
11069 ac_cv_crosscflags__Wshift_overflow_2=yes
11070 else $as_nop
11071 ac_cv_crosscflags__Wshift_overflow_2=no
11073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11074 conftest$ac_exeext conftest.$ac_ext
11075 CFLAGS=$ac_wine_try_cflags_saved
11076 CC=$ac_wine_try_cflags_saved_cc
11077 ac_exeext=$ac_wine_try_cflags_saved_exeext
11079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11080 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11081 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11082 then :
11083 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11086 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11087 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11088 then :
11089 printf %s "(cached) " >&6
11090 else $as_nop
11091 ac_wine_try_cflags_saved=$CFLAGS
11092 ac_wine_try_cflags_saved_cc=$CC
11093 ac_wine_try_cflags_saved_exeext=$ac_exeext
11094 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11095 CC="$CROSSCC"
11096 ac_exeext=".exe"
11097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11098 /* end confdefs.h. */
11099 int __cdecl mainCRTStartup(void) { return 0; }
11100 _ACEOF
11101 if ac_fn_c_try_link "$LINENO"
11102 then :
11103 ac_cv_crosscflags__Wstrict_prototypes=yes
11104 else $as_nop
11105 ac_cv_crosscflags__Wstrict_prototypes=no
11107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11108 conftest$ac_exeext conftest.$ac_ext
11109 CFLAGS=$ac_wine_try_cflags_saved
11110 CC=$ac_wine_try_cflags_saved_cc
11111 ac_exeext=$ac_wine_try_cflags_saved_exeext
11113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11114 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11115 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11116 then :
11117 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11120 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11121 if test ${ac_cv_crosscflags__Wtype_limits+y}
11122 then :
11123 printf %s "(cached) " >&6
11124 else $as_nop
11125 ac_wine_try_cflags_saved=$CFLAGS
11126 ac_wine_try_cflags_saved_cc=$CC
11127 ac_wine_try_cflags_saved_exeext=$ac_exeext
11128 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11129 CC="$CROSSCC"
11130 ac_exeext=".exe"
11131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h. */
11133 int __cdecl mainCRTStartup(void) { return 0; }
11134 _ACEOF
11135 if ac_fn_c_try_link "$LINENO"
11136 then :
11137 ac_cv_crosscflags__Wtype_limits=yes
11138 else $as_nop
11139 ac_cv_crosscflags__Wtype_limits=no
11141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11142 conftest$ac_exeext conftest.$ac_ext
11143 CFLAGS=$ac_wine_try_cflags_saved
11144 CC=$ac_wine_try_cflags_saved_cc
11145 ac_exeext=$ac_wine_try_cflags_saved_exeext
11147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11148 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11149 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11150 then :
11151 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11154 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11155 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11156 then :
11157 printf %s "(cached) " >&6
11158 else $as_nop
11159 ac_wine_try_cflags_saved=$CFLAGS
11160 ac_wine_try_cflags_saved_cc=$CC
11161 ac_wine_try_cflags_saved_exeext=$ac_exeext
11162 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11163 CC="$CROSSCC"
11164 ac_exeext=".exe"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11167 int __cdecl mainCRTStartup(void) { return 0; }
11168 _ACEOF
11169 if ac_fn_c_try_link "$LINENO"
11170 then :
11171 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11172 else $as_nop
11173 ac_cv_crosscflags__Wunused_but_set_parameter=no
11175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11176 conftest$ac_exeext conftest.$ac_ext
11177 CFLAGS=$ac_wine_try_cflags_saved
11178 CC=$ac_wine_try_cflags_saved_cc
11179 ac_exeext=$ac_wine_try_cflags_saved_exeext
11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11182 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11183 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11184 then :
11185 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11188 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11189 if test ${ac_cv_crosscflags__Wvla+y}
11190 then :
11191 printf %s "(cached) " >&6
11192 else $as_nop
11193 ac_wine_try_cflags_saved=$CFLAGS
11194 ac_wine_try_cflags_saved_cc=$CC
11195 ac_wine_try_cflags_saved_exeext=$ac_exeext
11196 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11197 CC="$CROSSCC"
11198 ac_exeext=".exe"
11199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11200 /* end confdefs.h. */
11201 int __cdecl mainCRTStartup(void) { return 0; }
11202 _ACEOF
11203 if ac_fn_c_try_link "$LINENO"
11204 then :
11205 ac_cv_crosscflags__Wvla=yes
11206 else $as_nop
11207 ac_cv_crosscflags__Wvla=no
11209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11210 conftest$ac_exeext conftest.$ac_ext
11211 CFLAGS=$ac_wine_try_cflags_saved
11212 CC=$ac_wine_try_cflags_saved_cc
11213 ac_exeext=$ac_wine_try_cflags_saved_exeext
11215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11216 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11217 if test "x$ac_cv_crosscflags__Wvla" = xyes
11218 then :
11219 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11222 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11223 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11224 then :
11225 printf %s "(cached) " >&6
11226 else $as_nop
11227 ac_wine_try_cflags_saved=$CFLAGS
11228 ac_wine_try_cflags_saved_cc=$CC
11229 ac_wine_try_cflags_saved_exeext=$ac_exeext
11230 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11231 CC="$CROSSCC"
11232 ac_exeext=".exe"
11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11235 int __cdecl mainCRTStartup(void) { return 0; }
11236 _ACEOF
11237 if ac_fn_c_try_link "$LINENO"
11238 then :
11239 ac_cv_crosscflags__Wwrite_strings=yes
11240 else $as_nop
11241 ac_cv_crosscflags__Wwrite_strings=no
11243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11244 conftest$ac_exeext conftest.$ac_ext
11245 CFLAGS=$ac_wine_try_cflags_saved
11246 CC=$ac_wine_try_cflags_saved_cc
11247 ac_exeext=$ac_wine_try_cflags_saved_exeext
11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11250 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11251 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11252 then :
11253 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11256 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11257 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11258 then :
11259 printf %s "(cached) " >&6
11260 else $as_nop
11261 ac_wine_try_cflags_saved=$CFLAGS
11262 ac_wine_try_cflags_saved_cc=$CC
11263 ac_wine_try_cflags_saved_exeext=$ac_exeext
11264 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11265 CC="$CROSSCC"
11266 ac_exeext=".exe"
11267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11268 /* end confdefs.h. */
11269 int __cdecl mainCRTStartup(void) { return 0; }
11270 _ACEOF
11271 if ac_fn_c_try_link "$LINENO"
11272 then :
11273 ac_cv_crosscflags__Wpointer_arith=yes
11274 else $as_nop
11275 ac_cv_crosscflags__Wpointer_arith=no
11277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11278 conftest$ac_exeext conftest.$ac_ext
11279 CFLAGS=$ac_wine_try_cflags_saved
11280 CC=$ac_wine_try_cflags_saved_cc
11281 ac_exeext=$ac_wine_try_cflags_saved_exeext
11283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11284 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11285 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11286 then :
11287 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11290 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11291 if test ${ac_cv_crosscflags__Wlogical_op+y}
11292 then :
11293 printf %s "(cached) " >&6
11294 else $as_nop
11295 ac_wine_try_cflags_saved=$CFLAGS
11296 ac_wine_try_cflags_saved_cc=$CC
11297 ac_wine_try_cflags_saved_exeext=$ac_exeext
11298 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11299 CC="$CROSSCC"
11300 ac_exeext=".exe"
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11303 int __cdecl mainCRTStartup(void) { return 0; }
11304 _ACEOF
11305 if ac_fn_c_try_link "$LINENO"
11306 then :
11307 ac_cv_crosscflags__Wlogical_op=yes
11308 else $as_nop
11309 ac_cv_crosscflags__Wlogical_op=no
11311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11312 conftest$ac_exeext conftest.$ac_ext
11313 CFLAGS=$ac_wine_try_cflags_saved
11314 CC=$ac_wine_try_cflags_saved_cc
11315 ac_exeext=$ac_wine_try_cflags_saved_exeext
11317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11318 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11319 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11320 then :
11321 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11324 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11325 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11326 then :
11327 printf %s "(cached) " >&6
11328 else $as_nop
11329 ac_wine_try_cflags_saved=$CFLAGS
11330 ac_wine_try_cflags_saved_cc=$CC
11331 ac_wine_try_cflags_saved_exeext=$ac_exeext
11332 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11333 CC="$CROSSCC"
11334 ac_exeext=".exe"
11335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11336 /* end confdefs.h. */
11337 int __cdecl mainCRTStartup(void) { return 0; }
11338 _ACEOF
11339 if ac_fn_c_try_link "$LINENO"
11340 then :
11341 ac_cv_crosscflags__Wabsolute_value=yes
11342 else $as_nop
11343 ac_cv_crosscflags__Wabsolute_value=no
11345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11346 conftest$ac_exeext conftest.$ac_ext
11347 CFLAGS=$ac_wine_try_cflags_saved
11348 CC=$ac_wine_try_cflags_saved_cc
11349 ac_exeext=$ac_wine_try_cflags_saved_exeext
11351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11352 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11353 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11354 then :
11355 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11358 case $host_cpu in
11359 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11360 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11361 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11362 then :
11363 printf %s "(cached) " >&6
11364 else $as_nop
11365 ac_wine_try_cflags_saved=$CFLAGS
11366 ac_wine_try_cflags_saved_cc=$CC
11367 ac_wine_try_cflags_saved_exeext=$ac_exeext
11368 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11369 CC="$CROSSCC"
11370 ac_exeext=".exe"
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11373 int __cdecl mainCRTStartup(void) { return 0; }
11374 _ACEOF
11375 if ac_fn_c_try_link "$LINENO"
11376 then :
11377 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11378 else $as_nop
11379 ac_cv_crosscflags__fno_omit_frame_pointer=no
11381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11382 conftest$ac_exeext conftest.$ac_ext
11383 CFLAGS=$ac_wine_try_cflags_saved
11384 CC=$ac_wine_try_cflags_saved_cc
11385 ac_exeext=$ac_wine_try_cflags_saved_exeext
11387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11388 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11389 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11390 then :
11391 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11392 fi ;;
11393 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11394 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11395 if test ${ac_cv_crosscflags__Wno_format+y}
11396 then :
11397 printf %s "(cached) " >&6
11398 else $as_nop
11399 ac_wine_try_cflags_saved=$CFLAGS
11400 ac_wine_try_cflags_saved_cc=$CC
11401 ac_wine_try_cflags_saved_exeext=$ac_exeext
11402 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11403 CC="$CROSSCC"
11404 ac_exeext=".exe"
11405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11407 int __cdecl mainCRTStartup(void) { return 0; }
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"
11410 then :
11411 ac_cv_crosscflags__Wno_format=yes
11412 else $as_nop
11413 ac_cv_crosscflags__Wno_format=no
11415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11416 conftest$ac_exeext conftest.$ac_ext
11417 CFLAGS=$ac_wine_try_cflags_saved
11418 CC=$ac_wine_try_cflags_saved_cc
11419 ac_exeext=$ac_wine_try_cflags_saved_exeext
11421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11422 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11423 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11424 then :
11425 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11428 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11429 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11430 then :
11431 printf %s "(cached) " >&6
11432 else $as_nop
11433 ac_wine_try_cflags_saved=$CFLAGS
11434 ac_wine_try_cflags_saved_cc=$CC
11435 ac_wine_try_cflags_saved_exeext=$ac_exeext
11436 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11437 CC="$CROSSCC"
11438 ac_exeext=".exe"
11439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11440 /* end confdefs.h. */
11441 int __cdecl mainCRTStartup(void) { return 0; }
11442 _ACEOF
11443 if ac_fn_c_try_link "$LINENO"
11444 then :
11445 ac_cv_crosscflags__Wformat_overflow=yes
11446 else $as_nop
11447 ac_cv_crosscflags__Wformat_overflow=no
11449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11450 conftest$ac_exeext conftest.$ac_ext
11451 CFLAGS=$ac_wine_try_cflags_saved
11452 CC=$ac_wine_try_cflags_saved_cc
11453 ac_exeext=$ac_wine_try_cflags_saved_exeext
11455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11456 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11457 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11458 then :
11459 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11462 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11463 if test ${ac_cv_crosscflags__Wnonnull+y}
11464 then :
11465 printf %s "(cached) " >&6
11466 else $as_nop
11467 ac_wine_try_cflags_saved=$CFLAGS
11468 ac_wine_try_cflags_saved_cc=$CC
11469 ac_wine_try_cflags_saved_exeext=$ac_exeext
11470 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11471 CC="$CROSSCC"
11472 ac_exeext=".exe"
11473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11474 /* end confdefs.h. */
11475 int __cdecl mainCRTStartup(void) { return 0; }
11476 _ACEOF
11477 if ac_fn_c_try_link "$LINENO"
11478 then :
11479 ac_cv_crosscflags__Wnonnull=yes
11480 else $as_nop
11481 ac_cv_crosscflags__Wnonnull=no
11483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11484 conftest$ac_exeext conftest.$ac_ext
11485 CFLAGS=$ac_wine_try_cflags_saved
11486 CC=$ac_wine_try_cflags_saved_cc
11487 ac_exeext=$ac_wine_try_cflags_saved_exeext
11489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11490 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11491 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11492 then :
11493 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11496 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11497 if test ${ac_cv_crosscflags__mcx16+y}
11498 then :
11499 printf %s "(cached) " >&6
11500 else $as_nop
11501 ac_wine_try_cflags_saved=$CFLAGS
11502 ac_wine_try_cflags_saved_cc=$CC
11503 ac_wine_try_cflags_saved_exeext=$ac_exeext
11504 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11505 CC="$CROSSCC"
11506 ac_exeext=".exe"
11507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11509 int __cdecl mainCRTStartup(void) { return 0; }
11510 _ACEOF
11511 if ac_fn_c_try_link "$LINENO"
11512 then :
11513 ac_cv_crosscflags__mcx16=yes
11514 else $as_nop
11515 ac_cv_crosscflags__mcx16=no
11517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11518 conftest$ac_exeext conftest.$ac_ext
11519 CFLAGS=$ac_wine_try_cflags_saved
11520 CC=$ac_wine_try_cflags_saved_cc
11521 ac_exeext=$ac_wine_try_cflags_saved_exeext
11523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11524 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11525 if test "x$ac_cv_crosscflags__mcx16" = xyes
11526 then :
11527 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11528 fi ;;
11529 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11530 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11531 if test ${ac_cv_crosscflags__Wno_format+y}
11532 then :
11533 printf %s "(cached) " >&6
11534 else $as_nop
11535 ac_wine_try_cflags_saved=$CFLAGS
11536 ac_wine_try_cflags_saved_cc=$CC
11537 ac_wine_try_cflags_saved_exeext=$ac_exeext
11538 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11539 CC="$CROSSCC"
11540 ac_exeext=".exe"
11541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11542 /* end confdefs.h. */
11543 int __cdecl mainCRTStartup(void) { return 0; }
11544 _ACEOF
11545 if ac_fn_c_try_link "$LINENO"
11546 then :
11547 ac_cv_crosscflags__Wno_format=yes
11548 else $as_nop
11549 ac_cv_crosscflags__Wno_format=no
11551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11552 conftest$ac_exeext conftest.$ac_ext
11553 CFLAGS=$ac_wine_try_cflags_saved
11554 CC=$ac_wine_try_cflags_saved_cc
11555 ac_exeext=$ac_wine_try_cflags_saved_exeext
11557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11558 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11559 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11560 then :
11561 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11562 fi ;;
11563 esac
11566 if test -z "$CROSSDEBUG"
11567 then
11568 for ac_flag in $CROSSCFLAGS; do
11569 case $ac_flag in
11570 -gdwarf*) CROSSDEBUG=dwarf ;;
11571 -gcodeview) CROSSDEBUG=pdb ;;
11572 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11573 esac
11574 done
11577 ac_debug_format_seen=""
11578 for ac_flag in $CROSSCFLAGS; do
11579 case $ac_flag in
11580 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11581 esac
11582 done
11583 if test "x$ac_debug_format_seen" = x
11584 then
11585 case $CROSSDEBUG in
11586 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11587 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11588 if test ${ac_cv_crosscflags__gdwarf_4+y}
11589 then :
11590 printf %s "(cached) " >&6
11591 else $as_nop
11592 ac_wine_try_cflags_saved=$CFLAGS
11593 ac_wine_try_cflags_saved_cc=$CC
11594 ac_wine_try_cflags_saved_exeext=$ac_exeext
11595 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11596 CC="$CROSSCC"
11597 ac_exeext=".exe"
11598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11599 /* end confdefs.h. */
11600 int __cdecl mainCRTStartup(void) { return 0; }
11601 _ACEOF
11602 if ac_fn_c_try_link "$LINENO"
11603 then :
11604 ac_cv_crosscflags__gdwarf_4=yes
11605 else $as_nop
11606 ac_cv_crosscflags__gdwarf_4=no
11608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11609 conftest$ac_exeext conftest.$ac_ext
11610 CFLAGS=$ac_wine_try_cflags_saved
11611 CC=$ac_wine_try_cflags_saved_cc
11612 ac_exeext=$ac_wine_try_cflags_saved_exeext
11614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11615 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11616 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11617 then :
11618 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11619 fi ;;
11620 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11621 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11622 if test ${ac_cv_crosscflags__gcodeview+y}
11623 then :
11624 printf %s "(cached) " >&6
11625 else $as_nop
11626 ac_wine_try_cflags_saved=$CFLAGS
11627 ac_wine_try_cflags_saved_cc=$CC
11628 ac_wine_try_cflags_saved_exeext=$ac_exeext
11629 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11630 CC="$CROSSCC"
11631 ac_exeext=".exe"
11632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11633 /* end confdefs.h. */
11634 int __cdecl mainCRTStartup(void) { return 0; }
11635 _ACEOF
11636 if ac_fn_c_try_link "$LINENO"
11637 then :
11638 ac_cv_crosscflags__gcodeview=yes
11639 else $as_nop
11640 ac_cv_crosscflags__gcodeview=no
11642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11643 conftest$ac_exeext conftest.$ac_ext
11644 CFLAGS=$ac_wine_try_cflags_saved
11645 CC=$ac_wine_try_cflags_saved_cc
11646 ac_exeext=$ac_wine_try_cflags_saved_exeext
11648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11649 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11650 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11651 then :
11652 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11653 fi ;;
11654 esac
11657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11658 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11659 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11660 then :
11661 printf %s "(cached) " >&6
11662 else $as_nop
11663 ac_wine_try_cflags_saved=$CFLAGS
11664 ac_wine_try_cflags_saved_cc=$CC
11665 ac_wine_try_cflags_saved_exeext=$ac_exeext
11666 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11667 CC="$CROSSCC"
11668 ac_exeext=".exe"
11669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11670 /* end confdefs.h. */
11671 int __cdecl mainCRTStartup(void) { return 0; }
11672 _ACEOF
11673 if ac_fn_c_try_link "$LINENO"
11674 then :
11675 ac_cv_crosscflags__fexcess_precision_standard=yes
11676 else $as_nop
11677 ac_cv_crosscflags__fexcess_precision_standard=no
11679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11680 conftest$ac_exeext conftest.$ac_ext
11681 CFLAGS=$ac_wine_try_cflags_saved
11682 CC=$ac_wine_try_cflags_saved_cc
11683 ac_exeext=$ac_wine_try_cflags_saved_exeext
11685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11686 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11687 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11688 then :
11689 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11693 if test "x$enable_werror" = "xyes"
11694 then
11695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11696 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11697 if test ${ac_cv_crosscflags__Werror+y}
11698 then :
11699 printf %s "(cached) " >&6
11700 else $as_nop
11701 ac_wine_try_cflags_saved=$CFLAGS
11702 ac_wine_try_cflags_saved_cc=$CC
11703 ac_wine_try_cflags_saved_exeext=$ac_exeext
11704 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11705 CC="$CROSSCC"
11706 ac_exeext=".exe"
11707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11708 /* end confdefs.h. */
11709 int __cdecl mainCRTStartup(void) { return 0; }
11710 _ACEOF
11711 if ac_fn_c_try_link "$LINENO"
11712 then :
11713 ac_cv_crosscflags__Werror=yes
11714 else $as_nop
11715 ac_cv_crosscflags__Werror=no
11717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11718 conftest$ac_exeext conftest.$ac_ext
11719 CFLAGS=$ac_wine_try_cflags_saved
11720 CC=$ac_wine_try_cflags_saved_cc
11721 ac_exeext=$ac_wine_try_cflags_saved_exeext
11723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11724 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11725 if test "x$ac_cv_crosscflags__Werror" = xyes
11726 then :
11727 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11730 if test "x$enable_build_id" = "xyes"
11731 then
11732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11733 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11734 if test ${ac_cv_crosscflags__Wl___build_id+y}
11735 then :
11736 printf %s "(cached) " >&6
11737 else $as_nop
11738 ac_wine_try_cflags_saved=$CFLAGS
11739 ac_wine_try_cflags_saved_cc=$CC
11740 ac_wine_try_cflags_saved_exeext=$ac_exeext
11741 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11742 CC="$CROSSCC"
11743 ac_exeext=".exe"
11744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11745 /* end confdefs.h. */
11746 int __cdecl mainCRTStartup(void) { return 0; }
11747 _ACEOF
11748 if ac_fn_c_try_link "$LINENO"
11749 then :
11750 ac_cv_crosscflags__Wl___build_id=yes
11751 else $as_nop
11752 ac_cv_crosscflags__Wl___build_id=no
11754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11755 conftest$ac_exeext conftest.$ac_ext
11756 CFLAGS=$ac_wine_try_cflags_saved
11757 CC=$ac_wine_try_cflags_saved_cc
11758 ac_exeext=$ac_wine_try_cflags_saved_exeext
11760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11761 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11762 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11763 then :
11764 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11765 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11769 CFLAGS=$saved_CFLAGS
11770 LDFLAGS=$saved_LDFLAGS
11771 CC="$ac_save_CC"
11774 if test "x$CROSSTARGET" = "x"
11775 then :
11776 case "x$with_mingw" in
11777 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11778 xno) ;;
11779 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11780 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11781 esac
11785 case $host_cpu in
11786 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 ;;
11787 esac
11790 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11791 then
11792 case "$host_cpu" in
11793 i[3456789]86*)
11794 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11796 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11797 esac
11798 for ac_prog in $ac_prefix_list
11800 # Extract the first word of "$ac_prog", so it can be a program name with args.
11801 set dummy $ac_prog; ac_word=$2
11802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11803 printf %s "checking for $ac_word... " >&6; }
11804 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11805 then :
11806 printf %s "(cached) " >&6
11807 else $as_nop
11808 if test -n "$MINGW_PKG_CONFIG"; then
11809 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11810 else
11811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11812 for as_dir in $PATH
11814 IFS=$as_save_IFS
11815 case $as_dir in #(((
11816 '') as_dir=./ ;;
11817 */) ;;
11818 *) as_dir=$as_dir/ ;;
11819 esac
11820 for ac_exec_ext in '' $ac_executable_extensions; do
11821 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11822 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11823 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11824 break 2
11826 done
11827 done
11828 IFS=$as_save_IFS
11832 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11833 if test -n "$MINGW_PKG_CONFIG"; then
11834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11835 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11836 else
11837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11838 printf "%s\n" "no" >&6; }
11842 test -n "$MINGW_PKG_CONFIG" && break
11843 done
11844 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11846 if ${FAUDIO_PE_CFLAGS:+false} :
11847 then :
11848 if test ${MINGW_PKG_CONFIG+y}
11849 then :
11850 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11853 if ${FAUDIO_PE_LIBS:+false} :
11854 then :
11855 if test ${MINGW_PKG_CONFIG+y}
11856 then :
11857 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11860 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11861 ac_save_CPPFLAGS=$CPPFLAGS
11862 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11864 printf %s "checking for MinGW FAudio.h... " >&6; }
11865 if test ${ac_cv_mingw_header_FAudio_h+y}
11866 then :
11867 printf %s "(cached) " >&6
11868 else $as_nop
11869 ac_wine_check_headers_saved_cc=$CC
11870 ac_wine_check_headers_saved_exeext=$ac_exeext
11871 CC="$CROSSCC"
11872 ac_exeext=".exe"
11873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h. */
11876 #include <FAudio.h>
11878 main (void)
11882 return 0;
11884 _ACEOF
11885 if ac_fn_c_try_compile "$LINENO"
11886 then :
11887 ac_cv_mingw_header_FAudio_h=yes
11888 else $as_nop
11889 ac_cv_mingw_header_FAudio_h=no
11891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11892 CC=$ac_wine_check_headers_saved_cc
11893 ac_exeext=$ac_wine_check_headers_saved_exeext
11895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11896 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11897 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11898 then :
11899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11900 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11901 if test ${ac_cv_mingw_lib_FAudio+y}
11902 then :
11903 printf %s "(cached) " >&6
11904 else $as_nop
11905 ac_wine_check_headers_saved_cc=$CC
11906 ac_wine_check_headers_saved_exeext=$ac_exeext
11907 ac_wine_check_headers_saved_libs=$LIBS
11908 CC="$CROSSCC"
11909 ac_exeext=".exe"
11910 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11912 /* end confdefs.h. */
11914 /* Override any GCC internal prototype to avoid an error.
11915 Use char because int might match the return type of a GCC
11916 builtin and then its argument prototype would still apply. */
11917 char FAudio_CommitOperationSet ();
11919 main (void)
11921 return FAudio_CommitOperationSet ();
11923 return 0;
11925 _ACEOF
11926 if ac_fn_c_try_link "$LINENO"
11927 then :
11928 ac_cv_mingw_lib_FAudio=yes
11929 else $as_nop
11930 ac_cv_mingw_lib_FAudio=no
11932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11933 conftest$ac_exeext conftest.$ac_ext
11934 CC=$ac_wine_check_headers_saved_cc
11935 ac_exeext=$ac_wine_check_headers_saved_exeext
11936 LIBS=$ac_wine_check_headers_saved_libs
11938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11939 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11940 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11941 then :
11943 else $as_nop
11944 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11946 else $as_nop
11947 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11949 CPPFLAGS=$ac_save_CPPFLAGS
11951 if test "x$FAUDIO_PE_LIBS" = "x"
11952 then
11953 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11956 if ${JPEG_PE_CFLAGS:+false} :
11957 then :
11958 if test ${MINGW_PKG_CONFIG+y}
11959 then :
11960 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11963 if ${JPEG_PE_LIBS:+false} :
11964 then :
11965 if test ${MINGW_PKG_CONFIG+y}
11966 then :
11967 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11971 ac_save_CPPFLAGS=$CPPFLAGS
11972 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11974 printf %s "checking for MinGW jpeglib.h... " >&6; }
11975 if test ${ac_cv_mingw_header_jpeglib_h+y}
11976 then :
11977 printf %s "(cached) " >&6
11978 else $as_nop
11979 ac_wine_check_headers_saved_cc=$CC
11980 ac_wine_check_headers_saved_exeext=$ac_exeext
11981 CC="$CROSSCC"
11982 ac_exeext=".exe"
11983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h. */
11985 #include <stddef.h>
11986 #include <stdio.h>
11987 #include <jpeglib.h>
11989 main (void)
11993 return 0;
11995 _ACEOF
11996 if ac_fn_c_try_compile "$LINENO"
11997 then :
11998 ac_cv_mingw_header_jpeglib_h=yes
11999 else $as_nop
12000 ac_cv_mingw_header_jpeglib_h=no
12002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12003 CC=$ac_wine_check_headers_saved_cc
12004 ac_exeext=$ac_wine_check_headers_saved_exeext
12006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12007 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12008 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12009 then :
12010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12011 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12012 if test ${ac_cv_mingw_lib_jpeg+y}
12013 then :
12014 printf %s "(cached) " >&6
12015 else $as_nop
12016 ac_wine_check_headers_saved_cc=$CC
12017 ac_wine_check_headers_saved_exeext=$ac_exeext
12018 ac_wine_check_headers_saved_libs=$LIBS
12019 CC="$CROSSCC"
12020 ac_exeext=".exe"
12021 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12023 /* end confdefs.h. */
12025 /* Override any GCC internal prototype to avoid an error.
12026 Use char because int might match the return type of a GCC
12027 builtin and then its argument prototype would still apply. */
12028 char jpeg_start_decompress ();
12030 main (void)
12032 return jpeg_start_decompress ();
12034 return 0;
12036 _ACEOF
12037 if ac_fn_c_try_link "$LINENO"
12038 then :
12039 ac_cv_mingw_lib_jpeg=yes
12040 else $as_nop
12041 ac_cv_mingw_lib_jpeg=no
12043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12044 conftest$ac_exeext conftest.$ac_ext
12045 CC=$ac_wine_check_headers_saved_cc
12046 ac_exeext=$ac_wine_check_headers_saved_exeext
12047 LIBS=$ac_wine_check_headers_saved_libs
12049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12050 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12051 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12052 then :
12054 else $as_nop
12055 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12057 else $as_nop
12058 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12060 CPPFLAGS=$ac_save_CPPFLAGS
12062 if test "x$JPEG_PE_LIBS" = "x"
12063 then
12064 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12067 if ${LCMS2_PE_CFLAGS:+false} :
12068 then :
12069 if test ${MINGW_PKG_CONFIG+y}
12070 then :
12071 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12074 if ${LCMS2_PE_LIBS:+false} :
12075 then :
12076 if test ${MINGW_PKG_CONFIG+y}
12077 then :
12078 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12081 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12082 ac_save_CPPFLAGS=$CPPFLAGS
12083 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12085 printf %s "checking for MinGW lcms2.h... " >&6; }
12086 if test ${ac_cv_mingw_header_lcms2_h+y}
12087 then :
12088 printf %s "(cached) " >&6
12089 else $as_nop
12090 ac_wine_check_headers_saved_cc=$CC
12091 ac_wine_check_headers_saved_exeext=$ac_exeext
12092 CC="$CROSSCC"
12093 ac_exeext=".exe"
12094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12095 /* end confdefs.h. */
12097 #include <lcms2.h>
12099 main (void)
12103 return 0;
12105 _ACEOF
12106 if ac_fn_c_try_compile "$LINENO"
12107 then :
12108 ac_cv_mingw_header_lcms2_h=yes
12109 else $as_nop
12110 ac_cv_mingw_header_lcms2_h=no
12112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12113 CC=$ac_wine_check_headers_saved_cc
12114 ac_exeext=$ac_wine_check_headers_saved_exeext
12116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12117 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12118 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12119 then :
12120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12121 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12122 if test ${ac_cv_mingw_lib_lcms2+y}
12123 then :
12124 printf %s "(cached) " >&6
12125 else $as_nop
12126 ac_wine_check_headers_saved_cc=$CC
12127 ac_wine_check_headers_saved_exeext=$ac_exeext
12128 ac_wine_check_headers_saved_libs=$LIBS
12129 CC="$CROSSCC"
12130 ac_exeext=".exe"
12131 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12133 /* end confdefs.h. */
12135 /* Override any GCC internal prototype to avoid an error.
12136 Use char because int might match the return type of a GCC
12137 builtin and then its argument prototype would still apply. */
12138 char cmsOpenProfileFromFile ();
12140 main (void)
12142 return cmsOpenProfileFromFile ();
12144 return 0;
12146 _ACEOF
12147 if ac_fn_c_try_link "$LINENO"
12148 then :
12149 ac_cv_mingw_lib_lcms2=yes
12150 else $as_nop
12151 ac_cv_mingw_lib_lcms2=no
12153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12154 conftest$ac_exeext conftest.$ac_ext
12155 CC=$ac_wine_check_headers_saved_cc
12156 ac_exeext=$ac_wine_check_headers_saved_exeext
12157 LIBS=$ac_wine_check_headers_saved_libs
12159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12160 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12161 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12162 then :
12164 else $as_nop
12165 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12167 else $as_nop
12168 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12170 CPPFLAGS=$ac_save_CPPFLAGS
12172 if test "x$LCMS2_PE_LIBS" = "x"
12173 then
12174 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12177 if ${MPG123_PE_CFLAGS:+false} :
12178 then :
12179 if test ${MINGW_PKG_CONFIG+y}
12180 then :
12181 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12184 if ${MPG123_PE_LIBS:+false} :
12185 then :
12186 if test ${MINGW_PKG_CONFIG+y}
12187 then :
12188 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12191 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12192 ac_save_CPPFLAGS=$CPPFLAGS
12193 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12195 printf %s "checking for MinGW mpg123.h... " >&6; }
12196 if test ${ac_cv_mingw_header_mpg123_h+y}
12197 then :
12198 printf %s "(cached) " >&6
12199 else $as_nop
12200 ac_wine_check_headers_saved_cc=$CC
12201 ac_wine_check_headers_saved_exeext=$ac_exeext
12202 CC="$CROSSCC"
12203 ac_exeext=".exe"
12204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12205 /* end confdefs.h. */
12207 #include <mpg123.h>
12209 main (void)
12213 return 0;
12215 _ACEOF
12216 if ac_fn_c_try_compile "$LINENO"
12217 then :
12218 ac_cv_mingw_header_mpg123_h=yes
12219 else $as_nop
12220 ac_cv_mingw_header_mpg123_h=no
12222 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12223 CC=$ac_wine_check_headers_saved_cc
12224 ac_exeext=$ac_wine_check_headers_saved_exeext
12226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12227 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12228 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12229 then :
12230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12231 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12232 if test ${ac_cv_mingw_lib_mpg123+y}
12233 then :
12234 printf %s "(cached) " >&6
12235 else $as_nop
12236 ac_wine_check_headers_saved_cc=$CC
12237 ac_wine_check_headers_saved_exeext=$ac_exeext
12238 ac_wine_check_headers_saved_libs=$LIBS
12239 CC="$CROSSCC"
12240 ac_exeext=".exe"
12241 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h. */
12245 /* Override any GCC internal prototype to avoid an error.
12246 Use char because int might match the return type of a GCC
12247 builtin and then its argument prototype would still apply. */
12248 char mpg123_feed ();
12250 main (void)
12252 return mpg123_feed ();
12254 return 0;
12256 _ACEOF
12257 if ac_fn_c_try_link "$LINENO"
12258 then :
12259 ac_cv_mingw_lib_mpg123=yes
12260 else $as_nop
12261 ac_cv_mingw_lib_mpg123=no
12263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12264 conftest$ac_exeext conftest.$ac_ext
12265 CC=$ac_wine_check_headers_saved_cc
12266 ac_exeext=$ac_wine_check_headers_saved_exeext
12267 LIBS=$ac_wine_check_headers_saved_libs
12269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12270 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12271 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12272 then :
12274 else $as_nop
12275 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12277 else $as_nop
12278 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12280 CPPFLAGS=$ac_save_CPPFLAGS
12282 if test "x$MPG123_PE_LIBS" = "x"
12283 then
12284 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12287 if ${PNG_PE_CFLAGS:+false} :
12288 then :
12289 if test ${MINGW_PKG_CONFIG+y}
12290 then :
12291 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12294 if ${PNG_PE_LIBS:+false} :
12295 then :
12296 if test ${MINGW_PKG_CONFIG+y}
12297 then :
12298 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12302 ac_save_CPPFLAGS=$CPPFLAGS
12303 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12305 printf %s "checking for MinGW png.h... " >&6; }
12306 if test ${ac_cv_mingw_header_png_h+y}
12307 then :
12308 printf %s "(cached) " >&6
12309 else $as_nop
12310 ac_wine_check_headers_saved_cc=$CC
12311 ac_wine_check_headers_saved_exeext=$ac_exeext
12312 CC="$CROSSCC"
12313 ac_exeext=".exe"
12314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12315 /* end confdefs.h. */
12317 #include <png.h>
12319 main (void)
12323 return 0;
12325 _ACEOF
12326 if ac_fn_c_try_compile "$LINENO"
12327 then :
12328 ac_cv_mingw_header_png_h=yes
12329 else $as_nop
12330 ac_cv_mingw_header_png_h=no
12332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12333 CC=$ac_wine_check_headers_saved_cc
12334 ac_exeext=$ac_wine_check_headers_saved_exeext
12336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12337 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12338 if test "x$ac_cv_mingw_header_png_h" = xyes
12339 then :
12340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12341 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12342 if test ${ac_cv_mingw_lib_png+y}
12343 then :
12344 printf %s "(cached) " >&6
12345 else $as_nop
12346 ac_wine_check_headers_saved_cc=$CC
12347 ac_wine_check_headers_saved_exeext=$ac_exeext
12348 ac_wine_check_headers_saved_libs=$LIBS
12349 CC="$CROSSCC"
12350 ac_exeext=".exe"
12351 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12353 /* end confdefs.h. */
12355 /* Override any GCC internal prototype to avoid an error.
12356 Use char because int might match the return type of a GCC
12357 builtin and then its argument prototype would still apply. */
12358 char png_create_read_struct ();
12360 main (void)
12362 return png_create_read_struct ();
12364 return 0;
12366 _ACEOF
12367 if ac_fn_c_try_link "$LINENO"
12368 then :
12369 ac_cv_mingw_lib_png=yes
12370 else $as_nop
12371 ac_cv_mingw_lib_png=no
12373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12374 conftest$ac_exeext conftest.$ac_ext
12375 CC=$ac_wine_check_headers_saved_cc
12376 ac_exeext=$ac_wine_check_headers_saved_exeext
12377 LIBS=$ac_wine_check_headers_saved_libs
12379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12380 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12381 if test "x$ac_cv_mingw_lib_png" = xyes
12382 then :
12384 else $as_nop
12385 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12387 else $as_nop
12388 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12390 CPPFLAGS=$ac_save_CPPFLAGS
12392 if test "x$PNG_PE_LIBS" = "x"
12393 then
12394 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12397 if ${TIFF_PE_CFLAGS:+false} :
12398 then :
12399 if test ${MINGW_PKG_CONFIG+y}
12400 then :
12401 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12404 if ${TIFF_PE_LIBS:+false} :
12405 then :
12406 if test ${MINGW_PKG_CONFIG+y}
12407 then :
12408 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12412 ac_save_CPPFLAGS=$CPPFLAGS
12413 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12415 printf %s "checking for MinGW tiffio.h... " >&6; }
12416 if test ${ac_cv_mingw_header_tiffio_h+y}
12417 then :
12418 printf %s "(cached) " >&6
12419 else $as_nop
12420 ac_wine_check_headers_saved_cc=$CC
12421 ac_wine_check_headers_saved_exeext=$ac_exeext
12422 CC="$CROSSCC"
12423 ac_exeext=".exe"
12424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12425 /* end confdefs.h. */
12427 #include <tiffio.h>
12429 main (void)
12433 return 0;
12435 _ACEOF
12436 if ac_fn_c_try_compile "$LINENO"
12437 then :
12438 ac_cv_mingw_header_tiffio_h=yes
12439 else $as_nop
12440 ac_cv_mingw_header_tiffio_h=no
12442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12443 CC=$ac_wine_check_headers_saved_cc
12444 ac_exeext=$ac_wine_check_headers_saved_exeext
12446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12447 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12448 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12449 then :
12450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12451 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12452 if test ${ac_cv_mingw_lib_tiff+y}
12453 then :
12454 printf %s "(cached) " >&6
12455 else $as_nop
12456 ac_wine_check_headers_saved_cc=$CC
12457 ac_wine_check_headers_saved_exeext=$ac_exeext
12458 ac_wine_check_headers_saved_libs=$LIBS
12459 CC="$CROSSCC"
12460 ac_exeext=".exe"
12461 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12463 /* end confdefs.h. */
12465 /* Override any GCC internal prototype to avoid an error.
12466 Use char because int might match the return type of a GCC
12467 builtin and then its argument prototype would still apply. */
12468 char TIFFClientOpen ();
12470 main (void)
12472 return TIFFClientOpen ();
12474 return 0;
12476 _ACEOF
12477 if ac_fn_c_try_link "$LINENO"
12478 then :
12479 ac_cv_mingw_lib_tiff=yes
12480 else $as_nop
12481 ac_cv_mingw_lib_tiff=no
12483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12484 conftest$ac_exeext conftest.$ac_ext
12485 CC=$ac_wine_check_headers_saved_cc
12486 ac_exeext=$ac_wine_check_headers_saved_exeext
12487 LIBS=$ac_wine_check_headers_saved_libs
12489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12490 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12491 if test "x$ac_cv_mingw_lib_tiff" = xyes
12492 then :
12494 else $as_nop
12495 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12497 else $as_nop
12498 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12500 CPPFLAGS=$ac_save_CPPFLAGS
12502 if test "x$TIFF_PE_LIBS" = "x"
12503 then
12504 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12507 if ${XML2_PE_CFLAGS:+false} :
12508 then :
12509 if test ${MINGW_PKG_CONFIG+y}
12510 then :
12511 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12514 if ${XML2_PE_LIBS:+false} :
12515 then :
12516 if test ${MINGW_PKG_CONFIG+y}
12517 then :
12518 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12521 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12522 ac_save_CPPFLAGS=$CPPFLAGS
12523 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12525 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12526 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12527 then :
12528 printf %s "(cached) " >&6
12529 else $as_nop
12530 ac_wine_check_headers_saved_cc=$CC
12531 ac_wine_check_headers_saved_exeext=$ac_exeext
12532 CC="$CROSSCC"
12533 ac_exeext=".exe"
12534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12535 /* end confdefs.h. */
12537 #include <libxml/parser.h>
12539 main (void)
12543 return 0;
12545 _ACEOF
12546 if ac_fn_c_try_compile "$LINENO"
12547 then :
12548 ac_cv_mingw_header_libxml_parser_h=yes
12549 else $as_nop
12550 ac_cv_mingw_header_libxml_parser_h=no
12552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12553 CC=$ac_wine_check_headers_saved_cc
12554 ac_exeext=$ac_wine_check_headers_saved_exeext
12556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12557 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12558 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12559 then :
12562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12563 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12564 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12565 then :
12566 printf %s "(cached) " >&6
12567 else $as_nop
12568 ac_wine_check_headers_saved_cc=$CC
12569 ac_wine_check_headers_saved_exeext=$ac_exeext
12570 CC="$CROSSCC"
12571 ac_exeext=".exe"
12572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12575 #include <libxml/xmlsave.h>
12577 main (void)
12581 return 0;
12583 _ACEOF
12584 if ac_fn_c_try_compile "$LINENO"
12585 then :
12586 ac_cv_mingw_header_libxml_xmlsave_h=yes
12587 else $as_nop
12588 ac_cv_mingw_header_libxml_xmlsave_h=no
12590 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12591 CC=$ac_wine_check_headers_saved_cc
12592 ac_exeext=$ac_wine_check_headers_saved_exeext
12594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12595 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12596 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12597 then :
12600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12601 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12602 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12603 then :
12604 printf %s "(cached) " >&6
12605 else $as_nop
12606 ac_wine_check_headers_saved_cc=$CC
12607 ac_wine_check_headers_saved_exeext=$ac_exeext
12608 CC="$CROSSCC"
12609 ac_exeext=".exe"
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12613 #include <libxml/SAX2.h>
12615 main (void)
12619 return 0;
12621 _ACEOF
12622 if ac_fn_c_try_compile "$LINENO"
12623 then :
12624 ac_cv_mingw_header_libxml_SAX2_h=yes
12625 else $as_nop
12626 ac_cv_mingw_header_libxml_SAX2_h=no
12628 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12629 CC=$ac_wine_check_headers_saved_cc
12630 ac_exeext=$ac_wine_check_headers_saved_exeext
12632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12633 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12634 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12635 then :
12638 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"
12639 then
12640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12641 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12642 if test ${ac_cv_mingw_lib_xml2+y}
12643 then :
12644 printf %s "(cached) " >&6
12645 else $as_nop
12646 ac_wine_check_headers_saved_cc=$CC
12647 ac_wine_check_headers_saved_exeext=$ac_exeext
12648 ac_wine_check_headers_saved_libs=$LIBS
12649 CC="$CROSSCC"
12650 ac_exeext=".exe"
12651 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12653 /* end confdefs.h. */
12655 /* Override any GCC internal prototype to avoid an error.
12656 Use char because int might match the return type of a GCC
12657 builtin and then its argument prototype would still apply. */
12658 char xmlFirstElementChild ();
12660 main (void)
12662 return xmlFirstElementChild ();
12664 return 0;
12666 _ACEOF
12667 if ac_fn_c_try_link "$LINENO"
12668 then :
12669 ac_cv_mingw_lib_xml2=yes
12670 else $as_nop
12671 ac_cv_mingw_lib_xml2=no
12673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12674 conftest$ac_exeext conftest.$ac_ext
12675 CC=$ac_wine_check_headers_saved_cc
12676 ac_exeext=$ac_wine_check_headers_saved_exeext
12677 LIBS=$ac_wine_check_headers_saved_libs
12679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12680 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12681 if test "x$ac_cv_mingw_lib_xml2" = xyes
12682 then :
12684 else $as_nop
12685 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12687 else
12688 XML2_PE_CFLAGS=""
12689 XML2_PE_LIBS=""
12691 CPPFLAGS=$ac_save_CPPFLAGS
12693 if test "x$XML2_PE_LIBS" = "x"
12694 then
12695 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12698 if ${XSLT_PE_CFLAGS:+false} :
12699 then :
12700 if test ${MINGW_PKG_CONFIG+y}
12701 then :
12702 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12705 if ${XSLT_PE_LIBS:+false} :
12706 then :
12707 if test ${MINGW_PKG_CONFIG+y}
12708 then :
12709 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12712 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12713 ac_save_CPPFLAGS=$CPPFLAGS
12714 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12716 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12717 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12718 then :
12719 printf %s "(cached) " >&6
12720 else $as_nop
12721 ac_wine_check_headers_saved_cc=$CC
12722 ac_wine_check_headers_saved_exeext=$ac_exeext
12723 CC="$CROSSCC"
12724 ac_exeext=".exe"
12725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12726 /* end confdefs.h. */
12728 #include <libxslt/pattern.h>
12730 main (void)
12734 return 0;
12736 _ACEOF
12737 if ac_fn_c_try_compile "$LINENO"
12738 then :
12739 ac_cv_mingw_header_libxslt_pattern_h=yes
12740 else $as_nop
12741 ac_cv_mingw_header_libxslt_pattern_h=no
12743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12744 CC=$ac_wine_check_headers_saved_cc
12745 ac_exeext=$ac_wine_check_headers_saved_exeext
12747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12748 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12749 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12750 then :
12753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12754 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12755 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12756 then :
12757 printf %s "(cached) " >&6
12758 else $as_nop
12759 ac_wine_check_headers_saved_cc=$CC
12760 ac_wine_check_headers_saved_exeext=$ac_exeext
12761 CC="$CROSSCC"
12762 ac_exeext=".exe"
12763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12764 /* end confdefs.h. */
12766 #include <libxslt/transform.h>
12768 main (void)
12772 return 0;
12774 _ACEOF
12775 if ac_fn_c_try_compile "$LINENO"
12776 then :
12777 ac_cv_mingw_header_libxslt_transform_h=yes
12778 else $as_nop
12779 ac_cv_mingw_header_libxslt_transform_h=no
12781 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12782 CC=$ac_wine_check_headers_saved_cc
12783 ac_exeext=$ac_wine_check_headers_saved_exeext
12785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12786 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12787 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12788 then :
12791 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12792 then
12793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12794 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12795 if test ${ac_cv_mingw_lib_xslt+y}
12796 then :
12797 printf %s "(cached) " >&6
12798 else $as_nop
12799 ac_wine_check_headers_saved_cc=$CC
12800 ac_wine_check_headers_saved_exeext=$ac_exeext
12801 ac_wine_check_headers_saved_libs=$LIBS
12802 CC="$CROSSCC"
12803 ac_exeext=".exe"
12804 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12806 /* end confdefs.h. */
12808 /* Override any GCC internal prototype to avoid an error.
12809 Use char because int might match the return type of a GCC
12810 builtin and then its argument prototype would still apply. */
12811 char xsltCompilePattern ();
12813 main (void)
12815 return xsltCompilePattern ();
12817 return 0;
12819 _ACEOF
12820 if ac_fn_c_try_link "$LINENO"
12821 then :
12822 ac_cv_mingw_lib_xslt=yes
12823 else $as_nop
12824 ac_cv_mingw_lib_xslt=no
12826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12827 conftest$ac_exeext conftest.$ac_ext
12828 CC=$ac_wine_check_headers_saved_cc
12829 ac_exeext=$ac_wine_check_headers_saved_exeext
12830 LIBS=$ac_wine_check_headers_saved_libs
12832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12833 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12834 if test "x$ac_cv_mingw_lib_xslt" = xyes
12835 then :
12837 else $as_nop
12838 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12840 else
12841 XSLT_PE_CFLAGS=""
12842 XSLT_PE_LIBS=""
12844 CPPFLAGS=$ac_save_CPPFLAGS
12846 if test "x$XSLT_PE_LIBS" = "x"
12847 then
12848 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12851 if ${VKD3D_PE_CFLAGS:+false} :
12852 then :
12853 if test ${MINGW_PKG_CONFIG+y}
12854 then :
12855 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12858 if ${VKD3D_PE_LIBS:+false} :
12859 then :
12860 if test ${MINGW_PKG_CONFIG+y}
12861 then :
12862 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12865 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12866 ac_save_CPPFLAGS=$CPPFLAGS
12867 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12869 printf %s "checking for MinGW vkd3d.h... " >&6; }
12870 if test ${ac_cv_mingw_header_vkd3d_h+y}
12871 then :
12872 printf %s "(cached) " >&6
12873 else $as_nop
12874 ac_wine_check_headers_saved_cc=$CC
12875 ac_wine_check_headers_saved_exeext=$ac_exeext
12876 CC="$CROSSCC"
12877 ac_exeext=".exe"
12878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12881 #include <vkd3d.h>
12883 main (void)
12887 return 0;
12889 _ACEOF
12890 if ac_fn_c_try_compile "$LINENO"
12891 then :
12892 ac_cv_mingw_header_vkd3d_h=yes
12893 else $as_nop
12894 ac_cv_mingw_header_vkd3d_h=no
12896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12897 CC=$ac_wine_check_headers_saved_cc
12898 ac_exeext=$ac_wine_check_headers_saved_exeext
12900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12901 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12902 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12903 then :
12906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12907 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12908 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12909 then :
12910 printf %s "(cached) " >&6
12911 else $as_nop
12912 ac_wine_check_headers_saved_cc=$CC
12913 ac_wine_check_headers_saved_exeext=$ac_exeext
12914 CC="$CROSSCC"
12915 ac_exeext=".exe"
12916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h. */
12919 #include <vkd3d_shader.h>
12921 main (void)
12925 return 0;
12927 _ACEOF
12928 if ac_fn_c_try_compile "$LINENO"
12929 then :
12930 ac_cv_mingw_header_vkd3d_shader_h=yes
12931 else $as_nop
12932 ac_cv_mingw_header_vkd3d_shader_h=no
12934 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12935 CC=$ac_wine_check_headers_saved_cc
12936 ac_exeext=$ac_wine_check_headers_saved_exeext
12938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12939 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12940 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12941 then :
12944 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12945 then
12946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d" >&5
12947 printf %s "checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d... " >&6; }
12948 if test ${ac_cv_mingw_lib_vkd3d+y}
12949 then :
12950 printf %s "(cached) " >&6
12951 else $as_nop
12952 ac_wine_check_headers_saved_cc=$CC
12953 ac_wine_check_headers_saved_exeext=$ac_exeext
12954 ac_wine_check_headers_saved_libs=$LIBS
12955 CC="$CROSSCC"
12956 ac_exeext=".exe"
12957 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12959 /* end confdefs.h. */
12961 /* Override any GCC internal prototype to avoid an error.
12962 Use char because int might match the return type of a GCC
12963 builtin and then its argument prototype would still apply. */
12964 char vkd3d_serialize_versioned_root_signature ();
12966 main (void)
12968 return vkd3d_serialize_versioned_root_signature ();
12970 return 0;
12972 _ACEOF
12973 if ac_fn_c_try_link "$LINENO"
12974 then :
12975 ac_cv_mingw_lib_vkd3d=yes
12976 else $as_nop
12977 ac_cv_mingw_lib_vkd3d=no
12979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12980 conftest$ac_exeext conftest.$ac_ext
12981 CC=$ac_wine_check_headers_saved_cc
12982 ac_exeext=$ac_wine_check_headers_saved_exeext
12983 LIBS=$ac_wine_check_headers_saved_libs
12985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12986 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12987 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12988 then :
12990 else $as_nop
12993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12994 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12995 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12996 then :
12997 printf %s "(cached) " >&6
12998 else $as_nop
12999 ac_wine_check_headers_saved_cc=$CC
13000 ac_wine_check_headers_saved_exeext=$ac_exeext
13001 ac_wine_check_headers_saved_libs=$LIBS
13002 CC="$CROSSCC"
13003 ac_exeext=".exe"
13004 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13006 /* end confdefs.h. */
13008 /* Override any GCC internal prototype to avoid an error.
13009 Use char because int might match the return type of a GCC
13010 builtin and then its argument prototype would still apply. */
13011 char vkd3d_shader_compile ();
13013 main (void)
13015 return vkd3d_shader_compile ();
13017 return 0;
13019 _ACEOF
13020 if ac_fn_c_try_link "$LINENO"
13021 then :
13022 ac_cv_mingw_lib_vkd3d_shader=yes
13023 else $as_nop
13024 ac_cv_mingw_lib_vkd3d_shader=no
13026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13027 conftest$ac_exeext conftest.$ac_ext
13028 CC=$ac_wine_check_headers_saved_cc
13029 ac_exeext=$ac_wine_check_headers_saved_exeext
13030 LIBS=$ac_wine_check_headers_saved_libs
13032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13033 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13034 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13035 then :
13037 else $as_nop
13040 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13041 then
13042 VKD3D_PE_CFLAGS=""
13043 VKD3D_PE_LIBS=""
13045 else
13046 VKD3D_PE_CFLAGS=""
13047 VKD3D_PE_LIBS=""
13049 CPPFLAGS=$ac_save_CPPFLAGS
13051 if test "x$VKD3D_PE_LIBS" = "x"
13052 then
13053 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found; using bundled version."
13056 if ${ZLIB_PE_CFLAGS:+false} :
13057 then :
13058 if test ${MINGW_PKG_CONFIG+y}
13059 then :
13060 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13063 if ${ZLIB_PE_LIBS:+false} :
13064 then :
13065 if test ${MINGW_PKG_CONFIG+y}
13066 then :
13067 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13070 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13071 ac_save_CPPFLAGS=$CPPFLAGS
13072 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13074 printf %s "checking for MinGW zlib.h... " >&6; }
13075 if test ${ac_cv_mingw_header_zlib_h+y}
13076 then :
13077 printf %s "(cached) " >&6
13078 else $as_nop
13079 ac_wine_check_headers_saved_cc=$CC
13080 ac_wine_check_headers_saved_exeext=$ac_exeext
13081 CC="$CROSSCC"
13082 ac_exeext=".exe"
13083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13084 /* end confdefs.h. */
13086 #include <zlib.h>
13088 main (void)
13092 return 0;
13094 _ACEOF
13095 if ac_fn_c_try_compile "$LINENO"
13096 then :
13097 ac_cv_mingw_header_zlib_h=yes
13098 else $as_nop
13099 ac_cv_mingw_header_zlib_h=no
13101 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13102 CC=$ac_wine_check_headers_saved_cc
13103 ac_exeext=$ac_wine_check_headers_saved_exeext
13105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13106 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13107 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13108 then :
13109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13110 printf %s "checking for inflate in MinGW -lz... " >&6; }
13111 if test ${ac_cv_mingw_lib_z+y}
13112 then :
13113 printf %s "(cached) " >&6
13114 else $as_nop
13115 ac_wine_check_headers_saved_cc=$CC
13116 ac_wine_check_headers_saved_exeext=$ac_exeext
13117 ac_wine_check_headers_saved_libs=$LIBS
13118 CC="$CROSSCC"
13119 ac_exeext=".exe"
13120 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13122 /* end confdefs.h. */
13124 /* Override any GCC internal prototype to avoid an error.
13125 Use char because int might match the return type of a GCC
13126 builtin and then its argument prototype would still apply. */
13127 char inflate ();
13129 main (void)
13131 return inflate ();
13133 return 0;
13135 _ACEOF
13136 if ac_fn_c_try_link "$LINENO"
13137 then :
13138 ac_cv_mingw_lib_z=yes
13139 else $as_nop
13140 ac_cv_mingw_lib_z=no
13142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13143 conftest$ac_exeext conftest.$ac_ext
13144 CC=$ac_wine_check_headers_saved_cc
13145 ac_exeext=$ac_wine_check_headers_saved_exeext
13146 LIBS=$ac_wine_check_headers_saved_libs
13148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13149 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13150 if test "x$ac_cv_mingw_lib_z" = xyes
13151 then :
13153 else $as_nop
13154 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13156 else $as_nop
13157 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13159 CPPFLAGS=$ac_save_CPPFLAGS
13161 if test "x$ZLIB_PE_LIBS" = "x"
13162 then
13163 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13167 if ${FAUDIO_PE_LIBS:+false} :
13168 then :
13169 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13170 if ${FAUDIO_PE_CFLAGS:+false} :
13171 then :
13172 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13173 else $as_nop
13174 enable_faudio=no
13176 else $as_nop
13177 enable_faudio=no
13179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13182 if ${GSM_PE_LIBS:+false} :
13183 then :
13184 GSM_PE_LIBS=gsm
13185 if ${GSM_PE_CFLAGS:+false} :
13186 then :
13187 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13188 else $as_nop
13189 enable_gsm=no
13191 else $as_nop
13192 enable_gsm=no
13194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13197 if ${JPEG_PE_LIBS:+false} :
13198 then :
13199 JPEG_PE_LIBS=jpeg
13200 if ${JPEG_PE_CFLAGS:+false} :
13201 then :
13202 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13203 else $as_nop
13204 enable_jpeg=no
13206 else $as_nop
13207 enable_jpeg=no
13209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13212 if ${JXR_PE_LIBS:+false} :
13213 then :
13214 JXR_PE_LIBS=jxr
13215 if ${JXR_PE_CFLAGS:+false} :
13216 then :
13217 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13218 else $as_nop
13219 enable_jxr=no
13221 else $as_nop
13222 enable_jxr=no
13224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13227 if ${LCMS2_PE_LIBS:+false} :
13228 then :
13229 LCMS2_PE_LIBS=lcms2
13230 if ${LCMS2_PE_CFLAGS:+false} :
13231 then :
13232 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13233 else $as_nop
13234 enable_lcms2=no
13236 else $as_nop
13237 enable_lcms2=no
13239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13242 if ${MPG123_PE_LIBS:+false} :
13243 then :
13244 MPG123_PE_LIBS=mpg123
13245 if ${MPG123_PE_CFLAGS:+false} :
13246 then :
13247 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13248 else $as_nop
13249 enable_mpg123=no
13251 else $as_nop
13252 enable_mpg123=no
13254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13257 if ${PNG_PE_LIBS:+false} :
13258 then :
13259 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13260 if ${PNG_PE_CFLAGS:+false} :
13261 then :
13262 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13263 else $as_nop
13264 enable_png=no
13266 else $as_nop
13267 enable_png=no
13269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13272 if ${TIFF_PE_LIBS:+false} :
13273 then :
13274 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13275 if ${TIFF_PE_CFLAGS:+false} :
13276 then :
13277 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13278 else $as_nop
13279 enable_tiff=no
13281 else $as_nop
13282 enable_tiff=no
13284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13287 if ${VKD3D_PE_LIBS:+false} :
13288 then :
13289 VKD3D_PE_LIBS=vkd3d
13290 if ${VKD3D_PE_CFLAGS:+false} :
13291 then :
13292 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13293 else $as_nop
13294 enable_vkd3d=no
13296 else $as_nop
13297 enable_vkd3d=no
13299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13302 if ${XML2_PE_LIBS:+false} :
13303 then :
13304 XML2_PE_LIBS=xml2
13305 if ${XML2_PE_CFLAGS:+false} :
13306 then :
13307 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13308 else $as_nop
13309 enable_xml2=no
13311 else $as_nop
13312 enable_xml2=no
13314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13317 if ${XSLT_PE_LIBS:+false} :
13318 then :
13319 XSLT_PE_LIBS=xslt
13320 if ${XSLT_PE_CFLAGS:+false} :
13321 then :
13322 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13323 else $as_nop
13324 enable_xslt=no
13326 else $as_nop
13327 enable_xslt=no
13329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13332 if ${ZLIB_PE_LIBS:+false} :
13333 then :
13334 ZLIB_PE_LIBS=z
13335 if ${ZLIB_PE_CFLAGS:+false} :
13336 then :
13337 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13338 else $as_nop
13339 enable_zlib=no
13341 else $as_nop
13342 enable_zlib=no
13344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13349 if test "$ac_cv_header_pthread_h" = "yes"
13350 then
13351 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13352 if test "x$ac_cv_func_pthread_create" = xyes
13353 then :
13355 else $as_nop
13356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13357 printf %s "checking for pthread_create in -lpthread... " >&6; }
13358 if test ${ac_cv_lib_pthread_pthread_create+y}
13359 then :
13360 printf %s "(cached) " >&6
13361 else $as_nop
13362 ac_check_lib_save_LIBS=$LIBS
13363 LIBS="-lpthread $LIBS"
13364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13365 /* end confdefs.h. */
13367 /* Override any GCC internal prototype to avoid an error.
13368 Use char because int might match the return type of a GCC
13369 builtin and then its argument prototype would still apply. */
13370 char pthread_create ();
13372 main (void)
13374 return pthread_create ();
13376 return 0;
13378 _ACEOF
13379 if ac_fn_c_try_link "$LINENO"
13380 then :
13381 ac_cv_lib_pthread_pthread_create=yes
13382 else $as_nop
13383 ac_cv_lib_pthread_pthread_create=no
13385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13386 conftest$ac_exeext conftest.$ac_ext
13387 LIBS=$ac_check_lib_save_LIBS
13389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13390 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13391 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13392 then :
13393 PTHREAD_LIBS="-lpthread"
13400 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13401 then :
13402 case "x$with_pthread" in
13403 xno) ;;
13404 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13405 Wine cannot support threads without libpthread.
13406 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13407 esac
13412 ac_ext=c
13413 ac_cpp='$CPP $CPPFLAGS'
13414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13418 printf %s "checking how to run the C preprocessor... " >&6; }
13419 # On Suns, sometimes $CPP names a directory.
13420 if test -n "$CPP" && test -d "$CPP"; then
13421 CPP=
13423 if test -z "$CPP"; then
13424 if test ${ac_cv_prog_CPP+y}
13425 then :
13426 printf %s "(cached) " >&6
13427 else $as_nop
13428 # Double quotes because $CC needs to be expanded
13429 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13431 ac_preproc_ok=false
13432 for ac_c_preproc_warn_flag in '' yes
13434 # Use a header file that comes with gcc, so configuring glibc
13435 # with a fresh cross-compiler works.
13436 # On the NeXT, cc -E runs the code through the compiler's parser,
13437 # not just through cpp. "Syntax error" is here to catch this case.
13438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13439 /* end confdefs.h. */
13440 #include <limits.h>
13441 Syntax error
13442 _ACEOF
13443 if ac_fn_c_try_cpp "$LINENO"
13444 then :
13446 else $as_nop
13447 # Broken: fails on valid input.
13448 continue
13450 rm -f conftest.err conftest.i conftest.$ac_ext
13452 # OK, works on sane cases. Now check whether nonexistent headers
13453 # can be detected and how.
13454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13455 /* end confdefs.h. */
13456 #include <ac_nonexistent.h>
13457 _ACEOF
13458 if ac_fn_c_try_cpp "$LINENO"
13459 then :
13460 # Broken: success on invalid input.
13461 continue
13462 else $as_nop
13463 # Passes both tests.
13464 ac_preproc_ok=:
13465 break
13467 rm -f conftest.err conftest.i conftest.$ac_ext
13469 done
13470 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13471 rm -f conftest.i conftest.err conftest.$ac_ext
13472 if $ac_preproc_ok
13473 then :
13474 break
13477 done
13478 ac_cv_prog_CPP=$CPP
13481 CPP=$ac_cv_prog_CPP
13482 else
13483 ac_cv_prog_CPP=$CPP
13485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13486 printf "%s\n" "$CPP" >&6; }
13487 ac_preproc_ok=false
13488 for ac_c_preproc_warn_flag in '' yes
13490 # Use a header file that comes with gcc, so configuring glibc
13491 # with a fresh cross-compiler works.
13492 # On the NeXT, cc -E runs the code through the compiler's parser,
13493 # not just through cpp. "Syntax error" is here to catch this case.
13494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13495 /* end confdefs.h. */
13496 #include <limits.h>
13497 Syntax error
13498 _ACEOF
13499 if ac_fn_c_try_cpp "$LINENO"
13500 then :
13502 else $as_nop
13503 # Broken: fails on valid input.
13504 continue
13506 rm -f conftest.err conftest.i conftest.$ac_ext
13508 # OK, works on sane cases. Now check whether nonexistent headers
13509 # can be detected and how.
13510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13511 /* end confdefs.h. */
13512 #include <ac_nonexistent.h>
13513 _ACEOF
13514 if ac_fn_c_try_cpp "$LINENO"
13515 then :
13516 # Broken: success on invalid input.
13517 continue
13518 else $as_nop
13519 # Passes both tests.
13520 ac_preproc_ok=:
13521 break
13523 rm -f conftest.err conftest.i conftest.$ac_ext
13525 done
13526 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13527 rm -f conftest.i conftest.err conftest.$ac_ext
13528 if $ac_preproc_ok
13529 then :
13531 else $as_nop
13532 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13533 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13534 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13535 See \`config.log' for more details" "$LINENO" 5; }
13538 ac_ext=c
13539 ac_cpp='$CPP $CPPFLAGS'
13540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13546 printf %s "checking for X... " >&6; }
13549 # Check whether --with-x was given.
13550 if test ${with_x+y}
13551 then :
13552 withval=$with_x;
13555 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13556 if test "x$with_x" = xno; then
13557 # The user explicitly disabled X.
13558 have_x=disabled
13559 else
13560 case $x_includes,$x_libraries in #(
13561 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13562 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13563 then :
13564 printf %s "(cached) " >&6
13565 else $as_nop
13566 # One or both of the vars are not set, and there is no cached value.
13567 ac_x_includes=no
13568 ac_x_libraries=no
13569 # Do we need to do anything special at all?
13570 ac_save_LIBS=$LIBS
13571 LIBS="-lX11 $LIBS"
13572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13574 #include <X11/Xlib.h>
13576 main (void)
13578 XrmInitialize ()
13580 return 0;
13582 _ACEOF
13583 if ac_fn_c_try_link "$LINENO"
13584 then :
13585 # We can compile and link X programs with no special options.
13586 ac_x_includes=
13587 ac_x_libraries=
13589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13590 conftest$ac_exeext conftest.$ac_ext
13591 LIBS="$ac_save_LIBS"
13592 # If that didn't work, only try xmkmf and file system searches
13593 # for native compilation.
13594 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13595 then :
13596 rm -f -r conftest.dir
13597 if mkdir conftest.dir; then
13598 cd conftest.dir
13599 cat >Imakefile <<'_ACEOF'
13600 incroot:
13601 @echo incroot='${INCROOT}'
13602 usrlibdir:
13603 @echo usrlibdir='${USRLIBDIR}'
13604 libdir:
13605 @echo libdir='${LIBDIR}'
13606 _ACEOF
13607 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13608 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13609 for ac_var in incroot usrlibdir libdir; do
13610 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13611 done
13612 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13613 for ac_extension in a so sl dylib la dll; do
13614 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13615 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13616 ac_im_usrlibdir=$ac_im_libdir; break
13618 done
13619 # Screen out bogus values from the imake configuration. They are
13620 # bogus both because they are the default anyway, and because
13621 # using them would break gcc on systems where it needs fixed includes.
13622 case $ac_im_incroot in
13623 /usr/include) ac_x_includes= ;;
13624 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13625 esac
13626 case $ac_im_usrlibdir in
13627 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13628 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13629 esac
13631 cd ..
13632 rm -f -r conftest.dir
13635 # Standard set of common directories for X headers.
13636 # Check X11 before X11Rn because it is often a symlink to the current release.
13637 ac_x_header_dirs='
13638 /usr/X11/include
13639 /usr/X11R7/include
13640 /usr/X11R6/include
13641 /usr/X11R5/include
13642 /usr/X11R4/include
13644 /usr/include/X11
13645 /usr/include/X11R7
13646 /usr/include/X11R6
13647 /usr/include/X11R5
13648 /usr/include/X11R4
13650 /usr/local/X11/include
13651 /usr/local/X11R7/include
13652 /usr/local/X11R6/include
13653 /usr/local/X11R5/include
13654 /usr/local/X11R4/include
13656 /usr/local/include/X11
13657 /usr/local/include/X11R7
13658 /usr/local/include/X11R6
13659 /usr/local/include/X11R5
13660 /usr/local/include/X11R4
13662 /opt/X11/include
13664 /usr/X386/include
13665 /usr/x386/include
13666 /usr/XFree86/include/X11
13668 /usr/include
13669 /usr/local/include
13670 /usr/unsupported/include
13671 /usr/athena/include
13672 /usr/local/x11r5/include
13673 /usr/lpp/Xamples/include
13675 /usr/openwin/include
13676 /usr/openwin/share/include'
13678 if test "$ac_x_includes" = no; then
13679 # Guess where to find include files, by looking for Xlib.h.
13680 # First, try using that file with no special directory specified.
13681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13682 /* end confdefs.h. */
13683 #include <X11/Xlib.h>
13684 _ACEOF
13685 if ac_fn_c_try_cpp "$LINENO"
13686 then :
13687 # We can compile using X headers with no special include directory.
13688 ac_x_includes=
13689 else $as_nop
13690 for ac_dir in $ac_x_header_dirs; do
13691 if test -r "$ac_dir/X11/Xlib.h"; then
13692 ac_x_includes=$ac_dir
13693 break
13695 done
13697 rm -f conftest.err conftest.i conftest.$ac_ext
13698 fi # $ac_x_includes = no
13700 if test "$ac_x_libraries" = no; then
13701 # Check for the libraries.
13702 # See if we find them without any special options.
13703 # Don't add to $LIBS permanently.
13704 ac_save_LIBS=$LIBS
13705 LIBS="-lX11 $LIBS"
13706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13707 /* end confdefs.h. */
13708 #include <X11/Xlib.h>
13710 main (void)
13712 XrmInitialize ()
13714 return 0;
13716 _ACEOF
13717 if ac_fn_c_try_link "$LINENO"
13718 then :
13719 LIBS=$ac_save_LIBS
13720 # We can link X programs with no special library path.
13721 ac_x_libraries=
13722 else $as_nop
13723 LIBS=$ac_save_LIBS
13724 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13726 # Don't even attempt the hair of trying to link an X program!
13727 for ac_extension in a so sl dylib la dll; do
13728 if test -r "$ac_dir/libX11.$ac_extension"; then
13729 ac_x_libraries=$ac_dir
13730 break 2
13732 done
13733 done
13735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13736 conftest$ac_exeext conftest.$ac_ext
13737 fi # $ac_x_libraries = no
13740 # Record the results.
13741 case $ac_x_includes,$ac_x_libraries in #(
13742 no,* | *,no | *\'*) :
13743 # Didn't find X, or a directory has "'" in its name.
13744 ac_cv_have_x="have_x=no" ;; #(
13745 *) :
13746 # Record where we found X for the cache.
13747 ac_cv_have_x="have_x=yes\
13748 ac_x_includes='$ac_x_includes'\
13749 ac_x_libraries='$ac_x_libraries'" ;;
13750 esac
13752 ;; #(
13753 *) have_x=yes;;
13754 esac
13755 eval "$ac_cv_have_x"
13756 fi # $with_x != no
13758 if test "$have_x" != yes; then
13759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13760 printf "%s\n" "$have_x" >&6; }
13761 no_x=yes
13762 else
13763 # If each of the values was on the command line, it overrides each guess.
13764 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13765 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13766 # Update the cache value to reflect the command line values.
13767 ac_cv_have_x="have_x=yes\
13768 ac_x_includes='$x_includes'\
13769 ac_x_libraries='$x_libraries'"
13770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13771 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13774 if test "$no_x" = yes; then
13775 # Not all programs may use this symbol, but it does not hurt to define it.
13777 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13779 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13780 else
13781 if test -n "$x_includes"; then
13782 X_CFLAGS="$X_CFLAGS -I$x_includes"
13785 # It would also be nice to do this for all -L options, not just this one.
13786 if test -n "$x_libraries"; then
13787 X_LIBS="$X_LIBS -L$x_libraries"
13788 # For Solaris; some versions of Sun CC require a space after -R and
13789 # others require no space. Words are not sufficient . . . .
13790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13791 printf %s "checking whether -R must be followed by a space... " >&6; }
13792 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13793 ac_xsave_c_werror_flag=$ac_c_werror_flag
13794 ac_c_werror_flag=yes
13795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13799 main (void)
13803 return 0;
13805 _ACEOF
13806 if ac_fn_c_try_link "$LINENO"
13807 then :
13808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13809 printf "%s\n" "no" >&6; }
13810 X_LIBS="$X_LIBS -R$x_libraries"
13811 else $as_nop
13812 LIBS="$ac_xsave_LIBS -R $x_libraries"
13813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13817 main (void)
13821 return 0;
13823 _ACEOF
13824 if ac_fn_c_try_link "$LINENO"
13825 then :
13826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13827 printf "%s\n" "yes" >&6; }
13828 X_LIBS="$X_LIBS -R $x_libraries"
13829 else $as_nop
13830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13831 printf "%s\n" "neither works" >&6; }
13833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13834 conftest$ac_exeext conftest.$ac_ext
13836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13837 conftest$ac_exeext conftest.$ac_ext
13838 ac_c_werror_flag=$ac_xsave_c_werror_flag
13839 LIBS=$ac_xsave_LIBS
13842 # Check for system-dependent libraries X programs must link with.
13843 # Do this before checking for the system-independent R6 libraries
13844 # (-lICE), since we may need -lsocket or whatever for X linking.
13846 if test "$ISC" = yes; then
13847 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13848 else
13849 # Martyn Johnson says this is needed for Ultrix, if the X
13850 # libraries were built with DECnet support. And Karl Berry says
13851 # the Alpha needs dnet_stub (dnet does not exist).
13852 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13854 /* end confdefs.h. */
13856 /* Override any GCC internal prototype to avoid an error.
13857 Use char because int might match the return type of a GCC
13858 builtin and then its argument prototype would still apply. */
13859 char XOpenDisplay ();
13861 main (void)
13863 return XOpenDisplay ();
13865 return 0;
13867 _ACEOF
13868 if ac_fn_c_try_link "$LINENO"
13869 then :
13871 else $as_nop
13872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13873 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13874 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13875 then :
13876 printf %s "(cached) " >&6
13877 else $as_nop
13878 ac_check_lib_save_LIBS=$LIBS
13879 LIBS="-ldnet $LIBS"
13880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13883 /* Override any GCC internal prototype to avoid an error.
13884 Use char because int might match the return type of a GCC
13885 builtin and then its argument prototype would still apply. */
13886 char dnet_ntoa ();
13888 main (void)
13890 return dnet_ntoa ();
13892 return 0;
13894 _ACEOF
13895 if ac_fn_c_try_link "$LINENO"
13896 then :
13897 ac_cv_lib_dnet_dnet_ntoa=yes
13898 else $as_nop
13899 ac_cv_lib_dnet_dnet_ntoa=no
13901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13902 conftest$ac_exeext conftest.$ac_ext
13903 LIBS=$ac_check_lib_save_LIBS
13905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13906 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13907 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13908 then :
13909 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13912 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13914 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13915 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13916 then :
13917 printf %s "(cached) " >&6
13918 else $as_nop
13919 ac_check_lib_save_LIBS=$LIBS
13920 LIBS="-ldnet_stub $LIBS"
13921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13922 /* end confdefs.h. */
13924 /* Override any GCC internal prototype to avoid an error.
13925 Use char because int might match the return type of a GCC
13926 builtin and then its argument prototype would still apply. */
13927 char dnet_ntoa ();
13929 main (void)
13931 return dnet_ntoa ();
13933 return 0;
13935 _ACEOF
13936 if ac_fn_c_try_link "$LINENO"
13937 then :
13938 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13939 else $as_nop
13940 ac_cv_lib_dnet_stub_dnet_ntoa=no
13942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13943 conftest$ac_exeext conftest.$ac_ext
13944 LIBS=$ac_check_lib_save_LIBS
13946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13947 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13948 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13949 then :
13950 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13956 conftest$ac_exeext conftest.$ac_ext
13957 LIBS="$ac_xsave_LIBS"
13959 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13960 # to get the SysV transport functions.
13961 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13962 # needs -lnsl.
13963 # The nsl library prevents programs from opening the X display
13964 # on Irix 5.2, according to T.E. Dickey.
13965 # The functions gethostbyname, getservbyname, and inet_addr are
13966 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13967 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13968 if test "x$ac_cv_func_gethostbyname" = xyes
13969 then :
13973 if test $ac_cv_func_gethostbyname = no; then
13974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13975 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13976 if test ${ac_cv_lib_nsl_gethostbyname+y}
13977 then :
13978 printf %s "(cached) " >&6
13979 else $as_nop
13980 ac_check_lib_save_LIBS=$LIBS
13981 LIBS="-lnsl $LIBS"
13982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13985 /* Override any GCC internal prototype to avoid an error.
13986 Use char because int might match the return type of a GCC
13987 builtin and then its argument prototype would still apply. */
13988 char gethostbyname ();
13990 main (void)
13992 return gethostbyname ();
13994 return 0;
13996 _ACEOF
13997 if ac_fn_c_try_link "$LINENO"
13998 then :
13999 ac_cv_lib_nsl_gethostbyname=yes
14000 else $as_nop
14001 ac_cv_lib_nsl_gethostbyname=no
14003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14004 conftest$ac_exeext conftest.$ac_ext
14005 LIBS=$ac_check_lib_save_LIBS
14007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14008 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14009 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14010 then :
14011 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14014 if test $ac_cv_lib_nsl_gethostbyname = no; then
14015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14016 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14017 if test ${ac_cv_lib_bsd_gethostbyname+y}
14018 then :
14019 printf %s "(cached) " >&6
14020 else $as_nop
14021 ac_check_lib_save_LIBS=$LIBS
14022 LIBS="-lbsd $LIBS"
14023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14024 /* end confdefs.h. */
14026 /* Override any GCC internal prototype to avoid an error.
14027 Use char because int might match the return type of a GCC
14028 builtin and then its argument prototype would still apply. */
14029 char gethostbyname ();
14031 main (void)
14033 return gethostbyname ();
14035 return 0;
14037 _ACEOF
14038 if ac_fn_c_try_link "$LINENO"
14039 then :
14040 ac_cv_lib_bsd_gethostbyname=yes
14041 else $as_nop
14042 ac_cv_lib_bsd_gethostbyname=no
14044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14045 conftest$ac_exeext conftest.$ac_ext
14046 LIBS=$ac_check_lib_save_LIBS
14048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14049 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14050 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14051 then :
14052 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14058 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14059 # socket/setsockopt and other routines are undefined under SCO ODT
14060 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14061 # on later versions), says Simon Leinen: it contains gethostby*
14062 # variants that don't use the name server (or something). -lsocket
14063 # must be given before -lnsl if both are needed. We assume that
14064 # if connect needs -lnsl, so does gethostbyname.
14065 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14066 if test "x$ac_cv_func_connect" = xyes
14067 then :
14071 if test $ac_cv_func_connect = no; then
14072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14073 printf %s "checking for connect in -lsocket... " >&6; }
14074 if test ${ac_cv_lib_socket_connect+y}
14075 then :
14076 printf %s "(cached) " >&6
14077 else $as_nop
14078 ac_check_lib_save_LIBS=$LIBS
14079 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14081 /* end confdefs.h. */
14083 /* Override any GCC internal prototype to avoid an error.
14084 Use char because int might match the return type of a GCC
14085 builtin and then its argument prototype would still apply. */
14086 char connect ();
14088 main (void)
14090 return connect ();
14092 return 0;
14094 _ACEOF
14095 if ac_fn_c_try_link "$LINENO"
14096 then :
14097 ac_cv_lib_socket_connect=yes
14098 else $as_nop
14099 ac_cv_lib_socket_connect=no
14101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14102 conftest$ac_exeext conftest.$ac_ext
14103 LIBS=$ac_check_lib_save_LIBS
14105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14106 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14107 if test "x$ac_cv_lib_socket_connect" = xyes
14108 then :
14109 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14114 # Guillermo Gomez says -lposix is necessary on A/UX.
14115 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14116 if test "x$ac_cv_func_remove" = xyes
14117 then :
14121 if test $ac_cv_func_remove = no; then
14122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14123 printf %s "checking for remove in -lposix... " >&6; }
14124 if test ${ac_cv_lib_posix_remove+y}
14125 then :
14126 printf %s "(cached) " >&6
14127 else $as_nop
14128 ac_check_lib_save_LIBS=$LIBS
14129 LIBS="-lposix $LIBS"
14130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14131 /* end confdefs.h. */
14133 /* Override any GCC internal prototype to avoid an error.
14134 Use char because int might match the return type of a GCC
14135 builtin and then its argument prototype would still apply. */
14136 char remove ();
14138 main (void)
14140 return remove ();
14142 return 0;
14144 _ACEOF
14145 if ac_fn_c_try_link "$LINENO"
14146 then :
14147 ac_cv_lib_posix_remove=yes
14148 else $as_nop
14149 ac_cv_lib_posix_remove=no
14151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14152 conftest$ac_exeext conftest.$ac_ext
14153 LIBS=$ac_check_lib_save_LIBS
14155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14156 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14157 if test "x$ac_cv_lib_posix_remove" = xyes
14158 then :
14159 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14164 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14165 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14166 if test "x$ac_cv_func_shmat" = xyes
14167 then :
14171 if test $ac_cv_func_shmat = no; then
14172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14173 printf %s "checking for shmat in -lipc... " >&6; }
14174 if test ${ac_cv_lib_ipc_shmat+y}
14175 then :
14176 printf %s "(cached) " >&6
14177 else $as_nop
14178 ac_check_lib_save_LIBS=$LIBS
14179 LIBS="-lipc $LIBS"
14180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14183 /* Override any GCC internal prototype to avoid an error.
14184 Use char because int might match the return type of a GCC
14185 builtin and then its argument prototype would still apply. */
14186 char shmat ();
14188 main (void)
14190 return shmat ();
14192 return 0;
14194 _ACEOF
14195 if ac_fn_c_try_link "$LINENO"
14196 then :
14197 ac_cv_lib_ipc_shmat=yes
14198 else $as_nop
14199 ac_cv_lib_ipc_shmat=no
14201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14202 conftest$ac_exeext conftest.$ac_ext
14203 LIBS=$ac_check_lib_save_LIBS
14205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14206 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14207 if test "x$ac_cv_lib_ipc_shmat" = xyes
14208 then :
14209 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14215 # Check for libraries that X11R6 Xt/Xaw programs need.
14216 ac_save_LDFLAGS=$LDFLAGS
14217 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14218 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14219 # check for ICE first), but we must link in the order -lSM -lICE or
14220 # we get undefined symbols. So assume we have SM if we have ICE.
14221 # These have to be linked with before -lX11, unlike the other
14222 # libraries we check for below, so use a different variable.
14223 # John Interrante, Karl Berry
14224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14225 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14226 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14227 then :
14228 printf %s "(cached) " >&6
14229 else $as_nop
14230 ac_check_lib_save_LIBS=$LIBS
14231 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14233 /* end confdefs.h. */
14235 /* Override any GCC internal prototype to avoid an error.
14236 Use char because int might match the return type of a GCC
14237 builtin and then its argument prototype would still apply. */
14238 char IceConnectionNumber ();
14240 main (void)
14242 return IceConnectionNumber ();
14244 return 0;
14246 _ACEOF
14247 if ac_fn_c_try_link "$LINENO"
14248 then :
14249 ac_cv_lib_ICE_IceConnectionNumber=yes
14250 else $as_nop
14251 ac_cv_lib_ICE_IceConnectionNumber=no
14253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14254 conftest$ac_exeext conftest.$ac_ext
14255 LIBS=$ac_check_lib_save_LIBS
14257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14258 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14259 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14260 then :
14261 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14264 LDFLAGS=$ac_save_LDFLAGS
14269 if test "$have_x" = "yes"
14270 then
14271 ac_save_CPPFLAGS="$CPPFLAGS"
14272 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14275 printf %s "checking for -lX11... " >&6; }
14276 if test ${ac_cv_lib_soname_X11+y}
14277 then :
14278 printf %s "(cached) " >&6
14279 else $as_nop
14280 ac_check_soname_save_LIBS=$LIBS
14281 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14285 /* Override any GCC internal prototype to avoid an error.
14286 Use char because int might match the return type of a GCC
14287 builtin and then its argument prototype would still apply. */
14288 char XCreateWindow ();
14290 main (void)
14292 return XCreateWindow ();
14294 return 0;
14296 _ACEOF
14297 if ac_fn_c_try_link "$LINENO"
14298 then :
14299 case "$LIBEXT" in
14300 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14301 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'` ;;
14302 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14303 if ${ac_cv_lib_soname_X11:+false} :
14304 then :
14305 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14306 fi ;;
14307 esac
14308 else $as_nop
14309 ac_cv_lib_soname_X11=
14311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14312 conftest$ac_exeext conftest.$ac_ext
14313 LIBS=$ac_check_soname_save_LIBS
14315 if ${ac_cv_lib_soname_X11:+false} :
14316 then :
14317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14318 printf "%s\n" "not found" >&6; }
14320 else $as_nop
14321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14322 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14324 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14329 printf %s "checking for -lXext... " >&6; }
14330 if test ${ac_cv_lib_soname_Xext+y}
14331 then :
14332 printf %s "(cached) " >&6
14333 else $as_nop
14334 ac_check_soname_save_LIBS=$LIBS
14335 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14339 /* Override any GCC internal prototype to avoid an error.
14340 Use char because int might match the return type of a GCC
14341 builtin and then its argument prototype would still apply. */
14342 char XextCreateExtension ();
14344 main (void)
14346 return XextCreateExtension ();
14348 return 0;
14350 _ACEOF
14351 if ac_fn_c_try_link "$LINENO"
14352 then :
14353 case "$LIBEXT" in
14354 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14355 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'` ;;
14356 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14357 if ${ac_cv_lib_soname_Xext:+false} :
14358 then :
14359 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14360 fi ;;
14361 esac
14362 else $as_nop
14363 ac_cv_lib_soname_Xext=
14365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14366 conftest$ac_exeext conftest.$ac_ext
14367 LIBS=$ac_check_soname_save_LIBS
14369 if ${ac_cv_lib_soname_Xext:+false} :
14370 then :
14371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14372 printf "%s\n" "not found" >&6; }
14374 else $as_nop
14375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14376 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14378 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14380 X_LIBS="$X_LIBS -lXext"
14382 X_LIBS="$X_LIBS -lX11"
14384 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14385 # include <X11/Xlib.h>
14386 #endif
14387 #ifdef HAVE_X11_XUTIL_H
14388 # include <X11/Xutil.h>
14389 #endif
14391 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14392 then :
14393 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14396 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14397 # include <X11/Xlib.h>
14398 #endif
14399 #ifdef HAVE_X11_XUTIL_H
14400 # include <X11/Xutil.h>
14401 #endif
14403 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14404 then :
14405 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14408 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14409 # include <X11/Xlib.h>
14410 #endif
14411 #ifdef HAVE_X11_XUTIL_H
14412 # include <X11/Xutil.h>
14413 #endif
14415 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14416 then :
14417 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14420 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14421 # include <X11/Xlib.h>
14422 #endif
14423 #ifdef HAVE_X11_XUTIL_H
14424 # include <X11/Xutil.h>
14425 #endif
14427 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14428 then :
14429 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14432 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14433 # include <X11/Xlib.h>
14434 #endif
14435 #ifdef HAVE_X11_XUTIL_H
14436 # include <X11/Xutil.h>
14437 #endif
14439 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14440 then :
14441 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14444 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_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_extensions_XInput_h" = xyes
14452 then :
14453 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14456 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_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_extensions_XInput2_h" = xyes
14464 then :
14465 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14468 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_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_extensions_XShm_h" = xyes
14476 then :
14477 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14480 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_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_extensions_Xcomposite_h" = xyes
14488 then :
14489 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14492 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_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_Xfixes_h" = xyes
14500 then :
14501 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14504 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_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_Xinerama_h" = xyes
14512 then :
14513 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14516 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_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_Xrandr_h" = xyes
14524 then :
14525 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14528 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_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_Xrender_h" = xyes
14536 then :
14537 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14540 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_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_xf86vmode_h" = xyes
14548 then :
14549 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14552 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_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_xf86vmproto_h" = xyes
14560 then :
14561 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14566 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14567 then
14568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14569 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14570 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14571 then :
14572 printf %s "(cached) " >&6
14573 else $as_nop
14574 ac_check_lib_save_LIBS=$LIBS
14575 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14577 /* end confdefs.h. */
14579 /* Override any GCC internal prototype to avoid an error.
14580 Use char because int might match the return type of a GCC
14581 builtin and then its argument prototype would still apply. */
14582 char XkbQueryExtension ();
14584 main (void)
14586 return XkbQueryExtension ();
14588 return 0;
14590 _ACEOF
14591 if ac_fn_c_try_link "$LINENO"
14592 then :
14593 ac_cv_lib_X11_XkbQueryExtension=yes
14594 else $as_nop
14595 ac_cv_lib_X11_XkbQueryExtension=no
14597 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14598 conftest$ac_exeext conftest.$ac_ext
14599 LIBS=$ac_check_lib_save_LIBS
14601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14602 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14603 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14604 then :
14606 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14612 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14613 then
14614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14615 printf %s "checking for -lXcursor... " >&6; }
14616 if test ${ac_cv_lib_soname_Xcursor+y}
14617 then :
14618 printf %s "(cached) " >&6
14619 else $as_nop
14620 ac_check_soname_save_LIBS=$LIBS
14621 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14625 /* Override any GCC internal prototype to avoid an error.
14626 Use char because int might match the return type of a GCC
14627 builtin and then its argument prototype would still apply. */
14628 char XcursorImageLoadCursor ();
14630 main (void)
14632 return XcursorImageLoadCursor ();
14634 return 0;
14636 _ACEOF
14637 if ac_fn_c_try_link "$LINENO"
14638 then :
14639 case "$LIBEXT" in
14640 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14641 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'` ;;
14642 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14643 if ${ac_cv_lib_soname_Xcursor:+false} :
14644 then :
14645 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14646 fi ;;
14647 esac
14648 else $as_nop
14649 ac_cv_lib_soname_Xcursor=
14651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14652 conftest$ac_exeext conftest.$ac_ext
14653 LIBS=$ac_check_soname_save_LIBS
14655 if ${ac_cv_lib_soname_Xcursor:+false} :
14656 then :
14657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14658 printf "%s\n" "not found" >&6; }
14660 else $as_nop
14661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14662 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14664 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14669 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14670 then :
14671 case "x$with_xcursor" in
14672 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14673 xno) ;;
14674 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14675 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14676 esac
14680 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14681 then
14682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14683 printf %s "checking for -lXi... " >&6; }
14684 if test ${ac_cv_lib_soname_Xi+y}
14685 then :
14686 printf %s "(cached) " >&6
14687 else $as_nop
14688 ac_check_soname_save_LIBS=$LIBS
14689 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14691 /* end confdefs.h. */
14693 /* Override any GCC internal prototype to avoid an error.
14694 Use char because int might match the return type of a GCC
14695 builtin and then its argument prototype would still apply. */
14696 char XOpenDevice ();
14698 main (void)
14700 return XOpenDevice ();
14702 return 0;
14704 _ACEOF
14705 if ac_fn_c_try_link "$LINENO"
14706 then :
14707 case "$LIBEXT" in
14708 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14709 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'` ;;
14710 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14711 if ${ac_cv_lib_soname_Xi:+false} :
14712 then :
14713 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14714 fi ;;
14715 esac
14716 else $as_nop
14717 ac_cv_lib_soname_Xi=
14719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14720 conftest$ac_exeext conftest.$ac_ext
14721 LIBS=$ac_check_soname_save_LIBS
14723 if ${ac_cv_lib_soname_Xi:+false} :
14724 then :
14725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14726 printf "%s\n" "not found" >&6; }
14728 else $as_nop
14729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14730 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14732 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14737 if test "x$ac_cv_lib_soname_Xi" = "x"
14738 then :
14739 case "x$with_xinput" in
14740 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14741 xno) ;;
14742 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14743 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14744 esac
14748 if test "x$ac_cv_lib_soname_Xi" != x
14749 then
14750 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14751 then :
14752 case "x$with_xinput2" in
14753 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14754 xno) ;;
14755 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14756 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14757 esac
14762 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14763 then
14764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14765 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14766 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14767 then :
14768 printf %s "(cached) " >&6
14769 else $as_nop
14770 ac_check_lib_save_LIBS=$LIBS
14771 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14773 /* end confdefs.h. */
14775 /* Override any GCC internal prototype to avoid an error.
14776 Use char because int might match the return type of a GCC
14777 builtin and then its argument prototype would still apply. */
14778 char XShmQueryExtension ();
14780 main (void)
14782 return XShmQueryExtension ();
14784 return 0;
14786 _ACEOF
14787 if ac_fn_c_try_link "$LINENO"
14788 then :
14789 ac_cv_lib_Xext_XShmQueryExtension=yes
14790 else $as_nop
14791 ac_cv_lib_Xext_XShmQueryExtension=no
14793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14794 conftest$ac_exeext conftest.$ac_ext
14795 LIBS=$ac_check_lib_save_LIBS
14797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14798 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14799 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14800 then :
14802 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14807 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14808 then :
14809 case "x$with_xshm" in
14810 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14811 xno) ;;
14812 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14813 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14814 esac
14818 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14819 then
14820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14821 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14822 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14823 then :
14824 printf %s "(cached) " >&6
14825 else $as_nop
14826 ac_check_lib_save_LIBS=$LIBS
14827 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14829 /* end confdefs.h. */
14831 /* Override any GCC internal prototype to avoid an error.
14832 Use char because int might match the return type of a GCC
14833 builtin and then its argument prototype would still apply. */
14834 char XShapeQueryExtension ();
14836 main (void)
14838 return XShapeQueryExtension ();
14840 return 0;
14842 _ACEOF
14843 if ac_fn_c_try_link "$LINENO"
14844 then :
14845 ac_cv_lib_Xext_XShapeQueryExtension=yes
14846 else $as_nop
14847 ac_cv_lib_Xext_XShapeQueryExtension=no
14849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14850 conftest$ac_exeext conftest.$ac_ext
14851 LIBS=$ac_check_lib_save_LIBS
14853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14854 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14855 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14856 then :
14858 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14863 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14864 then :
14865 case "x$with_xshape" in
14866 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14867 xno) ;;
14868 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14869 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14870 esac
14874 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14875 then
14876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14877 printf %s "checking for -lXxf86vm... " >&6; }
14878 if test ${ac_cv_lib_soname_Xxf86vm+y}
14879 then :
14880 printf %s "(cached) " >&6
14881 else $as_nop
14882 ac_check_soname_save_LIBS=$LIBS
14883 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14887 /* Override any GCC internal prototype to avoid an error.
14888 Use char because int might match the return type of a GCC
14889 builtin and then its argument prototype would still apply. */
14890 char XF86VidModeQueryExtension ();
14892 main (void)
14894 return XF86VidModeQueryExtension ();
14896 return 0;
14898 _ACEOF
14899 if ac_fn_c_try_link "$LINENO"
14900 then :
14901 case "$LIBEXT" in
14902 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14903 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'` ;;
14904 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14905 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14906 then :
14907 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14908 fi ;;
14909 esac
14910 else $as_nop
14911 ac_cv_lib_soname_Xxf86vm=
14913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14914 conftest$ac_exeext conftest.$ac_ext
14915 LIBS=$ac_check_soname_save_LIBS
14917 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14918 then :
14919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14920 printf "%s\n" "not found" >&6; }
14922 else $as_nop
14923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14924 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14926 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14931 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14932 then :
14933 case "x$with_xxf86vm" in
14934 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14935 xno) ;;
14936 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14937 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14938 esac
14942 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14943 then
14944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14945 printf %s "checking for -lXrender... " >&6; }
14946 if test ${ac_cv_lib_soname_Xrender+y}
14947 then :
14948 printf %s "(cached) " >&6
14949 else $as_nop
14950 ac_check_soname_save_LIBS=$LIBS
14951 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14955 /* Override any GCC internal prototype to avoid an error.
14956 Use char because int might match the return type of a GCC
14957 builtin and then its argument prototype would still apply. */
14958 char XRenderQueryExtension ();
14960 main (void)
14962 return XRenderQueryExtension ();
14964 return 0;
14966 _ACEOF
14967 if ac_fn_c_try_link "$LINENO"
14968 then :
14969 case "$LIBEXT" in
14970 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14971 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'` ;;
14972 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14973 if ${ac_cv_lib_soname_Xrender:+false} :
14974 then :
14975 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14976 fi ;;
14977 esac
14978 else $as_nop
14979 ac_cv_lib_soname_Xrender=
14981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14982 conftest$ac_exeext conftest.$ac_ext
14983 LIBS=$ac_check_soname_save_LIBS
14985 if ${ac_cv_lib_soname_Xrender:+false} :
14986 then :
14987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14988 printf "%s\n" "not found" >&6; }
14990 else $as_nop
14991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14992 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14994 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14997 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14998 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14999 then :
15000 printf %s "(cached) " >&6
15001 else $as_nop
15002 ac_check_lib_save_LIBS=$LIBS
15003 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15007 /* Override any GCC internal prototype to avoid an error.
15008 Use char because int might match the return type of a GCC
15009 builtin and then its argument prototype would still apply. */
15010 char XRenderSetPictureTransform ();
15012 main (void)
15014 return XRenderSetPictureTransform ();
15016 return 0;
15018 _ACEOF
15019 if ac_fn_c_try_link "$LINENO"
15020 then :
15021 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15022 else $as_nop
15023 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15025 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15026 conftest$ac_exeext conftest.$ac_ext
15027 LIBS=$ac_check_lib_save_LIBS
15029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15030 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15031 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15032 then :
15034 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15039 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15040 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15041 then :
15042 printf %s "(cached) " >&6
15043 else $as_nop
15044 ac_check_lib_save_LIBS=$LIBS
15045 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h. */
15049 /* Override any GCC internal prototype to avoid an error.
15050 Use char because int might match the return type of a GCC
15051 builtin and then its argument prototype would still apply. */
15052 char XRenderCreateLinearGradient ();
15054 main (void)
15056 return XRenderCreateLinearGradient ();
15058 return 0;
15060 _ACEOF
15061 if ac_fn_c_try_link "$LINENO"
15062 then :
15063 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15064 else $as_nop
15065 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15068 conftest$ac_exeext conftest.$ac_ext
15069 LIBS=$ac_check_lib_save_LIBS
15071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15072 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15073 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15074 then :
15076 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15083 if test "x$ac_cv_lib_soname_Xrender" = "x"
15084 then :
15085 case "x$with_xrender" in
15086 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15087 xno) ;;
15088 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15089 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15090 esac
15094 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15095 then
15096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15098 #include <X11/Xlib.h>
15099 #include <X11/extensions/Xrandr.h>
15101 main (void)
15103 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15105 return 0;
15107 _ACEOF
15108 if ac_fn_c_try_compile "$LINENO"
15109 then :
15110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15111 printf %s "checking for -lXrandr... " >&6; }
15112 if test ${ac_cv_lib_soname_Xrandr+y}
15113 then :
15114 printf %s "(cached) " >&6
15115 else $as_nop
15116 ac_check_soname_save_LIBS=$LIBS
15117 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15119 /* end confdefs.h. */
15121 /* Override any GCC internal prototype to avoid an error.
15122 Use char because int might match the return type of a GCC
15123 builtin and then its argument prototype would still apply. */
15124 char XRRQueryExtension ();
15126 main (void)
15128 return XRRQueryExtension ();
15130 return 0;
15132 _ACEOF
15133 if ac_fn_c_try_link "$LINENO"
15134 then :
15135 case "$LIBEXT" in
15136 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15137 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'` ;;
15138 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15139 if ${ac_cv_lib_soname_Xrandr:+false} :
15140 then :
15141 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15142 fi ;;
15143 esac
15144 else $as_nop
15145 ac_cv_lib_soname_Xrandr=
15147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15148 conftest$ac_exeext conftest.$ac_ext
15149 LIBS=$ac_check_soname_save_LIBS
15151 if ${ac_cv_lib_soname_Xrandr:+false} :
15152 then :
15153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15154 printf "%s\n" "not found" >&6; }
15156 else $as_nop
15157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15158 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15160 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15164 #include <X11/Xlib.h>
15165 #include <X11/extensions/Xrandr.h>
15167 main (void)
15169 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15171 return 0;
15173 _ACEOF
15174 if ac_fn_c_try_compile "$LINENO"
15175 then :
15177 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15179 else $as_nop
15180 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15182 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15187 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15188 then :
15189 case "x$with_xrandr" in
15190 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15191 xno) ;;
15192 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15193 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15194 esac
15198 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15199 then
15200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15201 /* end confdefs.h. */
15202 #include <X11/Xlib.h>
15203 #include <X11/extensions/Xfixes.h>
15205 main (void)
15207 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15209 return 0;
15211 _ACEOF
15212 if ac_fn_c_try_compile "$LINENO"
15213 then :
15214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15215 printf %s "checking for -lXfixes... " >&6; }
15216 if test ${ac_cv_lib_soname_Xfixes+y}
15217 then :
15218 printf %s "(cached) " >&6
15219 else $as_nop
15220 ac_check_soname_save_LIBS=$LIBS
15221 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15225 /* Override any GCC internal prototype to avoid an error.
15226 Use char because int might match the return type of a GCC
15227 builtin and then its argument prototype would still apply. */
15228 char XFixesQueryVersion ();
15230 main (void)
15232 return XFixesQueryVersion ();
15234 return 0;
15236 _ACEOF
15237 if ac_fn_c_try_link "$LINENO"
15238 then :
15239 case "$LIBEXT" in
15240 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15241 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'` ;;
15242 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15243 if ${ac_cv_lib_soname_Xfixes:+false} :
15244 then :
15245 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15246 fi ;;
15247 esac
15248 else $as_nop
15249 ac_cv_lib_soname_Xfixes=
15251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15252 conftest$ac_exeext conftest.$ac_ext
15253 LIBS=$ac_check_soname_save_LIBS
15255 if ${ac_cv_lib_soname_Xfixes:+false} :
15256 then :
15257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15258 printf "%s\n" "not found" >&6; }
15260 else $as_nop
15261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15262 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15264 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15269 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15271 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15272 then :
15273 case "x$with_xfixes" in
15274 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15275 xno) ;;
15276 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15277 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15278 esac
15282 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15283 then
15284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15285 /* end confdefs.h. */
15286 #include <X11/Xlib.h>
15287 #include <X11/extensions/Xinerama.h>
15289 main (void)
15291 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15293 return 0;
15295 _ACEOF
15296 if ac_fn_c_try_compile "$LINENO"
15297 then :
15298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15299 printf %s "checking for -lXinerama... " >&6; }
15300 if test ${ac_cv_lib_soname_Xinerama+y}
15301 then :
15302 printf %s "(cached) " >&6
15303 else $as_nop
15304 ac_check_soname_save_LIBS=$LIBS
15305 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15309 /* Override any GCC internal prototype to avoid an error.
15310 Use char because int might match the return type of a GCC
15311 builtin and then its argument prototype would still apply. */
15312 char XineramaQueryScreens ();
15314 main (void)
15316 return XineramaQueryScreens ();
15318 return 0;
15320 _ACEOF
15321 if ac_fn_c_try_link "$LINENO"
15322 then :
15323 case "$LIBEXT" in
15324 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15325 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'` ;;
15326 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15327 if ${ac_cv_lib_soname_Xinerama:+false} :
15328 then :
15329 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15330 fi ;;
15331 esac
15332 else $as_nop
15333 ac_cv_lib_soname_Xinerama=
15335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15336 conftest$ac_exeext conftest.$ac_ext
15337 LIBS=$ac_check_soname_save_LIBS
15339 if ${ac_cv_lib_soname_Xinerama:+false} :
15340 then :
15341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15342 printf "%s\n" "not found" >&6; }
15344 else $as_nop
15345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15346 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15348 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15355 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15356 then :
15357 case "x$with_xinerama" in
15358 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15359 xno) ;;
15360 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15361 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15362 esac
15366 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15367 then
15368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15369 printf %s "checking for -lXcomposite... " >&6; }
15370 if test ${ac_cv_lib_soname_Xcomposite+y}
15371 then :
15372 printf %s "(cached) " >&6
15373 else $as_nop
15374 ac_check_soname_save_LIBS=$LIBS
15375 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15377 /* end confdefs.h. */
15379 /* Override any GCC internal prototype to avoid an error.
15380 Use char because int might match the return type of a GCC
15381 builtin and then its argument prototype would still apply. */
15382 char XCompositeRedirectWindow ();
15384 main (void)
15386 return XCompositeRedirectWindow ();
15388 return 0;
15390 _ACEOF
15391 if ac_fn_c_try_link "$LINENO"
15392 then :
15393 case "$LIBEXT" in
15394 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15395 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'` ;;
15396 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15397 if ${ac_cv_lib_soname_Xcomposite:+false} :
15398 then :
15399 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15400 fi ;;
15401 esac
15402 else $as_nop
15403 ac_cv_lib_soname_Xcomposite=
15405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15406 conftest$ac_exeext conftest.$ac_ext
15407 LIBS=$ac_check_soname_save_LIBS
15409 if ${ac_cv_lib_soname_Xcomposite:+false} :
15410 then :
15411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15412 printf "%s\n" "not found" >&6; }
15414 else $as_nop
15415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15416 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15418 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15423 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15424 then :
15425 case "x$with_xcomposite" in
15426 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15427 xno) ;;
15428 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15429 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15430 esac
15434 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15435 #include <X11/Xlib.h>
15436 #endif
15438 if test "x$ac_cv_member_XICCallback_callback" = xyes
15439 then :
15441 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15445 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15446 #include <X11/Xlib.h>
15447 #endif
15449 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15450 then :
15452 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15459 opengl_msg=""
15460 if test "x$with_opengl" != "xno"
15461 then
15462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15463 printf %s "checking for -lGL... " >&6; }
15464 if test ${ac_cv_lib_soname_GL+y}
15465 then :
15466 printf %s "(cached) " >&6
15467 else $as_nop
15468 ac_check_soname_save_LIBS=$LIBS
15469 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15471 /* end confdefs.h. */
15473 /* Override any GCC internal prototype to avoid an error.
15474 Use char because int might match the return type of a GCC
15475 builtin and then its argument prototype would still apply. */
15476 char glXCreateContext ();
15478 main (void)
15480 return glXCreateContext ();
15482 return 0;
15484 _ACEOF
15485 if ac_fn_c_try_link "$LINENO"
15486 then :
15487 case "$LIBEXT" in
15488 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15489 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'` ;;
15490 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15491 if ${ac_cv_lib_soname_GL:+false} :
15492 then :
15493 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15494 fi ;;
15495 esac
15496 else $as_nop
15497 ac_cv_lib_soname_GL=
15499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15500 conftest$ac_exeext conftest.$ac_ext
15501 LIBS=$ac_check_soname_save_LIBS
15503 if ${ac_cv_lib_soname_GL:+false} :
15504 then :
15505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15506 printf "%s\n" "not found" >&6; }
15507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15508 printf %s "checking for -lGL... " >&6; }
15509 if test ${ac_cv_lib_soname_GL+y}
15510 then :
15511 printf %s "(cached) " >&6
15512 else $as_nop
15513 ac_check_soname_save_LIBS=$LIBS
15514 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"
15515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15516 /* end confdefs.h. */
15518 /* Override any GCC internal prototype to avoid an error.
15519 Use char because int might match the return type of a GCC
15520 builtin and then its argument prototype would still apply. */
15521 char glXCreateContext ();
15523 main (void)
15525 return glXCreateContext ();
15527 return 0;
15529 _ACEOF
15530 if ac_fn_c_try_link "$LINENO"
15531 then :
15532 case "$LIBEXT" in
15533 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15534 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'` ;;
15535 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15536 if ${ac_cv_lib_soname_GL:+false} :
15537 then :
15538 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15539 fi ;;
15540 esac
15541 else $as_nop
15542 ac_cv_lib_soname_GL=
15544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15545 conftest$ac_exeext conftest.$ac_ext
15546 LIBS=$ac_check_soname_save_LIBS
15548 if ${ac_cv_lib_soname_GL:+false} :
15549 then :
15550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15551 printf "%s\n" "not found" >&6; }
15552 if test -f /usr/X11R6/lib/libGL.a
15553 then
15554 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15555 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15556 else
15557 opengl_msg="No OpenGL library found on this system."
15559 else $as_nop
15560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15561 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15563 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15565 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"
15567 else $as_nop
15568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15569 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15571 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15573 OPENGL_LIBS="-lGL"
15575 if test "x$with_osmesa" != "xno"
15576 then
15577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15578 printf %s "checking for -lOSMesa... " >&6; }
15579 if test ${ac_cv_lib_soname_OSMesa+y}
15580 then :
15581 printf %s "(cached) " >&6
15582 else $as_nop
15583 ac_check_soname_save_LIBS=$LIBS
15584 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15586 /* end confdefs.h. */
15588 /* Override any GCC internal prototype to avoid an error.
15589 Use char because int might match the return type of a GCC
15590 builtin and then its argument prototype would still apply. */
15591 char OSMesaGetProcAddress ();
15593 main (void)
15595 return OSMesaGetProcAddress ();
15597 return 0;
15599 _ACEOF
15600 if ac_fn_c_try_link "$LINENO"
15601 then :
15602 case "$LIBEXT" in
15603 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15604 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'` ;;
15605 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15606 if ${ac_cv_lib_soname_OSMesa:+false} :
15607 then :
15608 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15609 fi ;;
15610 esac
15611 else $as_nop
15612 ac_cv_lib_soname_OSMesa=
15614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15615 conftest$ac_exeext conftest.$ac_ext
15616 LIBS=$ac_check_soname_save_LIBS
15618 if ${ac_cv_lib_soname_OSMesa:+false} :
15619 then :
15620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15621 printf "%s\n" "not found" >&6; }
15623 else $as_nop
15624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15625 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15627 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15631 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15632 then :
15633 case "x$with_osmesa" in
15634 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15635 xno) ;;
15636 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15637 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15638 esac
15643 if test -n "$opengl_msg"
15644 then :
15645 case "x$with_opengl" in
15646 x) as_fn_append wine_warnings "|$opengl_msg
15647 OpenGL and Direct3D won't be supported." ;;
15648 xno) ;;
15649 *) as_fn_error $? "$opengl_msg
15650 OpenGL and Direct3D won't be supported.
15651 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15652 esac
15656 CPPFLAGS="$ac_save_CPPFLAGS"
15657 else
15658 X_CFLAGS=""
15659 X_LIBS=""
15662 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15663 then
15664 if test "x$X_LIBS" = "x"
15665 then :
15666 case "x$with_x" in
15667 xno) ;;
15668 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15669 without X support, which probably isn't what you want. You will need
15670 to install ${notice_platform}development packages of Xlib at the very least.
15671 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15672 esac
15673 enable_winex11_drv=${enable_winex11_drv:-no}
15675 else
15676 if test "x$X_LIBS" = "x"
15677 then :
15678 case "x$with_x" in
15679 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15680 xno) ;;
15681 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15682 This is an error since --with-x was requested." "$LINENO" 5 ;;
15683 esac
15684 enable_winex11_drv=${enable_winex11_drv:-no}
15688 if test "$ac_cv_header_CL_cl_h" = "yes"
15689 then
15690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15691 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15692 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15693 then :
15694 printf %s "(cached) " >&6
15695 else $as_nop
15696 ac_check_lib_save_LIBS=$LIBS
15697 LIBS="-lOpenCL $LIBS"
15698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15699 /* end confdefs.h. */
15701 /* Override any GCC internal prototype to avoid an error.
15702 Use char because int might match the return type of a GCC
15703 builtin and then its argument prototype would still apply. */
15704 char clGetPlatformInfo ();
15706 main (void)
15708 return clGetPlatformInfo ();
15710 return 0;
15712 _ACEOF
15713 if ac_fn_c_try_link "$LINENO"
15714 then :
15715 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15716 else $as_nop
15717 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15720 conftest$ac_exeext conftest.$ac_ext
15721 LIBS=$ac_check_lib_save_LIBS
15723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15724 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15725 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15726 then :
15727 OPENCL_LIBS="-lOpenCL"
15732 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15733 then :
15734 case "x$with_opencl" in
15735 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15736 xno) ;;
15737 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15738 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15739 esac
15740 enable_opencl=${enable_opencl:-no}
15743 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15744 then
15745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15746 printf %s "checking for pcap_create in -lpcap... " >&6; }
15747 if test ${ac_cv_lib_pcap_pcap_create+y}
15748 then :
15749 printf %s "(cached) " >&6
15750 else $as_nop
15751 ac_check_lib_save_LIBS=$LIBS
15752 LIBS="-lpcap $LIBS"
15753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15754 /* end confdefs.h. */
15756 /* Override any GCC internal prototype to avoid an error.
15757 Use char because int might match the return type of a GCC
15758 builtin and then its argument prototype would still apply. */
15759 char pcap_create ();
15761 main (void)
15763 return pcap_create ();
15765 return 0;
15767 _ACEOF
15768 if ac_fn_c_try_link "$LINENO"
15769 then :
15770 ac_cv_lib_pcap_pcap_create=yes
15771 else $as_nop
15772 ac_cv_lib_pcap_pcap_create=no
15774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15775 conftest$ac_exeext conftest.$ac_ext
15776 LIBS=$ac_check_lib_save_LIBS
15778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15779 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15780 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15781 then :
15782 PCAP_LIBS="-lpcap"
15787 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15788 then :
15789 case "x$with_pcap" in
15790 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15791 xno) ;;
15792 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15793 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15794 esac
15795 enable_wpcap=${enable_wpcap:-no}
15798 if test "x$with_inotify" != "xno"
15799 then
15800 if ${INOTIFY_CFLAGS:+false} :
15801 then :
15802 if test ${PKG_CONFIG+y}
15803 then :
15804 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15808 if ${INOTIFY_LIBS:+false} :
15809 then :
15810 if test ${PKG_CONFIG+y}
15811 then :
15812 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15819 ac_save_CPPFLAGS=$CPPFLAGS
15820 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15821 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15822 if test "x$ac_cv_header_sys_inotify_h" = xyes
15823 then :
15824 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15829 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15830 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15831 then :
15832 printf %s "(cached) " >&6
15833 else $as_nop
15834 ac_check_lib_save_LIBS=$LIBS
15835 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15839 /* Override any GCC internal prototype to avoid an error.
15840 Use char because int might match the return type of a GCC
15841 builtin and then its argument prototype would still apply. */
15842 char inotify_add_watch ();
15844 main (void)
15846 return inotify_add_watch ();
15848 return 0;
15850 _ACEOF
15851 if ac_fn_c_try_link "$LINENO"
15852 then :
15853 ac_cv_lib_inotify_inotify_add_watch=yes
15854 else $as_nop
15855 ac_cv_lib_inotify_inotify_add_watch=no
15857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15858 conftest$ac_exeext conftest.$ac_ext
15859 LIBS=$ac_check_lib_save_LIBS
15861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15862 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15863 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15864 then :
15866 else $as_nop
15867 INOTIFY_LIBS=""
15870 CPPFLAGS=$ac_save_CPPFLAGS
15873 if test "$ac_cv_header_sys_inotify_h" != "yes"
15874 then :
15875 case "x$with_inotify" in
15876 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15877 xno) ;;
15878 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15879 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15880 esac
15884 if test "x$with_dbus" != "xno"
15885 then
15886 if ${DBUS_CFLAGS:+false} :
15887 then :
15888 if test ${PKG_CONFIG+y}
15889 then :
15890 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15894 if ${DBUS_LIBS:+false} :
15895 then :
15896 if test ${PKG_CONFIG+y}
15897 then :
15898 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15905 ac_save_CPPFLAGS=$CPPFLAGS
15906 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15907 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15908 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15909 then :
15910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15911 printf %s "checking for -ldbus-1... " >&6; }
15912 if test ${ac_cv_lib_soname_dbus_1+y}
15913 then :
15914 printf %s "(cached) " >&6
15915 else $as_nop
15916 ac_check_soname_save_LIBS=$LIBS
15917 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15919 /* end confdefs.h. */
15921 /* Override any GCC internal prototype to avoid an error.
15922 Use char because int might match the return type of a GCC
15923 builtin and then its argument prototype would still apply. */
15924 char dbus_connection_close ();
15926 main (void)
15928 return dbus_connection_close ();
15930 return 0;
15932 _ACEOF
15933 if ac_fn_c_try_link "$LINENO"
15934 then :
15935 case "$LIBEXT" in
15936 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15937 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'` ;;
15938 *) 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'`
15939 if ${ac_cv_lib_soname_dbus_1:+false} :
15940 then :
15941 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15942 fi ;;
15943 esac
15944 else $as_nop
15945 ac_cv_lib_soname_dbus_1=
15947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15948 conftest$ac_exeext conftest.$ac_ext
15949 LIBS=$ac_check_soname_save_LIBS
15951 if ${ac_cv_lib_soname_dbus_1:+false} :
15952 then :
15953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15954 printf "%s\n" "not found" >&6; }
15955 DBUS_CFLAGS=""
15956 else $as_nop
15957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15958 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15960 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15964 else $as_nop
15965 DBUS_CFLAGS=""
15968 CPPFLAGS=$ac_save_CPPFLAGS
15971 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
15972 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15973 then :
15974 case "x$with_dbus" in
15975 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15976 xno) ;;
15977 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15978 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15979 esac
15983 if test "x$with_gnutls" != "xno"
15984 then
15985 if ${GNUTLS_CFLAGS:+false} :
15986 then :
15987 if test ${PKG_CONFIG+y}
15988 then :
15989 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
15993 if ${GNUTLS_LIBS:+false} :
15994 then :
15995 if test ${PKG_CONFIG+y}
15996 then :
15997 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16001 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16004 ac_save_CPPFLAGS=$CPPFLAGS
16005 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16006 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16007 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16008 then :
16009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16010 /* end confdefs.h. */
16011 #include <gnutls/gnutls.h>
16012 #include <gnutls/crypto.h>
16014 main (void)
16016 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16018 return 0;
16020 _ACEOF
16021 if ac_fn_c_try_compile "$LINENO"
16022 then :
16023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16024 printf %s "checking for -lgnutls... " >&6; }
16025 if test ${ac_cv_lib_soname_gnutls+y}
16026 then :
16027 printf %s "(cached) " >&6
16028 else $as_nop
16029 ac_check_soname_save_LIBS=$LIBS
16030 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16032 /* end confdefs.h. */
16034 /* Override any GCC internal prototype to avoid an error.
16035 Use char because int might match the return type of a GCC
16036 builtin and then its argument prototype would still apply. */
16037 char gnutls_global_init ();
16039 main (void)
16041 return gnutls_global_init ();
16043 return 0;
16045 _ACEOF
16046 if ac_fn_c_try_link "$LINENO"
16047 then :
16048 case "$LIBEXT" in
16049 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16050 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'` ;;
16051 *) 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'`
16052 if ${ac_cv_lib_soname_gnutls:+false} :
16053 then :
16054 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'`
16055 fi ;;
16056 esac
16057 else $as_nop
16058 ac_cv_lib_soname_gnutls=
16060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16061 conftest$ac_exeext conftest.$ac_ext
16062 LIBS=$ac_check_soname_save_LIBS
16064 if ${ac_cv_lib_soname_gnutls:+false} :
16065 then :
16066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16067 printf "%s\n" "not found" >&6; }
16068 GNUTLS_CFLAGS=""
16069 else $as_nop
16070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16071 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16073 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16077 ac_wine_check_funcs_save_LIBS="$LIBS"
16078 LIBS="$LIBS $GNUTLS_LIBS"
16080 for ac_func in gnutls_cipher_init
16081 do :
16082 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16083 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16084 then :
16085 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16087 else $as_nop
16088 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16091 done
16092 LIBS="$ac_wine_check_funcs_save_LIBS"
16094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16095 else $as_nop
16096 GNUTLS_CFLAGS=""
16099 CPPFLAGS=$ac_save_CPPFLAGS
16102 if test "x$ac_cv_lib_soname_gnutls" = "x"
16103 then :
16104 case "x$with_gnutls" in
16105 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16106 xno) ;;
16107 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16108 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16109 esac
16113 if test "x$with_sane" != "xno"
16114 then
16115 if ${SANE_CFLAGS:+false} :
16116 then :
16117 if test ${PKG_CONFIG+y}
16118 then :
16119 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16122 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16123 if ${SANE_LIBS:+false} :
16124 then :
16125 if test ${PKG_CONFIG+y}
16126 then :
16127 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16130 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16134 ac_save_CPPFLAGS=$CPPFLAGS
16135 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16136 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16137 if test "x$ac_cv_header_sane_sane_h" = xyes
16138 then :
16139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16140 printf %s "checking for sane_init in -lsane... " >&6; }
16141 if test ${ac_cv_lib_sane_sane_init+y}
16142 then :
16143 printf %s "(cached) " >&6
16144 else $as_nop
16145 ac_check_lib_save_LIBS=$LIBS
16146 LIBS="-lsane $SANE_LIBS $LIBS"
16147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16148 /* end confdefs.h. */
16150 /* Override any GCC internal prototype to avoid an error.
16151 Use char because int might match the return type of a GCC
16152 builtin and then its argument prototype would still apply. */
16153 char sane_init ();
16155 main (void)
16157 return sane_init ();
16159 return 0;
16161 _ACEOF
16162 if ac_fn_c_try_link "$LINENO"
16163 then :
16164 ac_cv_lib_sane_sane_init=yes
16165 else $as_nop
16166 ac_cv_lib_sane_sane_init=no
16168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16169 conftest$ac_exeext conftest.$ac_ext
16170 LIBS=$ac_check_lib_save_LIBS
16172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16173 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16174 if test "x$ac_cv_lib_sane_sane_init" = xyes
16175 then :
16181 CPPFLAGS=$ac_save_CPPFLAGS
16184 if test "$ac_cv_lib_sane_sane_init" != "yes"
16185 then :
16186 case "x$with_sane" in
16187 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16188 xno) ;;
16189 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16190 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16191 esac
16192 enable_sane_ds=${enable_sane_ds:-no}
16195 if test "x$with_usb" != "xno"
16196 then
16197 if ${USB_CFLAGS:+false} :
16198 then :
16199 if test ${PKG_CONFIG+y}
16200 then :
16201 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16205 if ${USB_LIBS:+false} :
16206 then :
16207 if test ${PKG_CONFIG+y}
16208 then :
16209 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16213 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16216 ac_save_CPPFLAGS=$CPPFLAGS
16217 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16218 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16219 if test "x$ac_cv_header_libusb_h" = xyes
16220 then :
16221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16222 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16223 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16224 then :
16225 printf %s "(cached) " >&6
16226 else $as_nop
16227 ac_check_lib_save_LIBS=$LIBS
16228 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16230 /* end confdefs.h. */
16232 /* Override any GCC internal prototype to avoid an error.
16233 Use char because int might match the return type of a GCC
16234 builtin and then its argument prototype would still apply. */
16235 char libusb_interrupt_event_handler ();
16237 main (void)
16239 return libusb_interrupt_event_handler ();
16241 return 0;
16243 _ACEOF
16244 if ac_fn_c_try_link "$LINENO"
16245 then :
16246 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16247 else $as_nop
16248 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16251 conftest$ac_exeext conftest.$ac_ext
16252 LIBS=$ac_check_lib_save_LIBS
16254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16255 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16256 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16257 then :
16259 else $as_nop
16260 USB_LIBS=""
16263 else $as_nop
16264 USB_LIBS=""
16267 CPPFLAGS=$ac_save_CPPFLAGS
16270 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16271 then :
16272 case "x$with_usb" in
16273 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16274 xno) ;;
16275 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16276 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16277 esac
16278 enable_wineusb_sys=${enable_wineusb_sys:-no}
16281 if test "x$with_v4l2" != "xno"
16282 then
16283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16284 printf %s "checking for -lv4l2... " >&6; }
16285 if test ${ac_cv_lib_soname_v4l2+y}
16286 then :
16287 printf %s "(cached) " >&6
16288 else $as_nop
16289 ac_check_soname_save_LIBS=$LIBS
16290 LIBS="-lv4l2 $LIBS"
16291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16292 /* end confdefs.h. */
16294 /* Override any GCC internal prototype to avoid an error.
16295 Use char because int might match the return type of a GCC
16296 builtin and then its argument prototype would still apply. */
16297 char v4l2_open ();
16299 main (void)
16301 return v4l2_open ();
16303 return 0;
16305 _ACEOF
16306 if ac_fn_c_try_link "$LINENO"
16307 then :
16308 case "$LIBEXT" in
16309 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16310 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'` ;;
16311 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16312 if ${ac_cv_lib_soname_v4l2:+false} :
16313 then :
16314 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16315 fi ;;
16316 esac
16317 else $as_nop
16318 ac_cv_lib_soname_v4l2=
16320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16321 conftest$ac_exeext conftest.$ac_ext
16322 LIBS=$ac_check_soname_save_LIBS
16324 if ${ac_cv_lib_soname_v4l2:+false} :
16325 then :
16326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16327 printf "%s\n" "not found" >&6; }
16329 else $as_nop
16330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16331 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16333 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16338 if test "x$ac_cv_lib_soname_v4l2" = "x"
16339 then :
16340 case "x$with_v4l2" in
16341 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16342 xno) ;;
16343 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16344 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16345 esac
16349 if test "x$with_gphoto" != "xno"
16350 then
16351 if ${GPHOTO2_CFLAGS:+false} :
16352 then :
16353 if test ${PKG_CONFIG+y}
16354 then :
16355 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16358 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16359 if ${GPHOTO2_LIBS:+false} :
16360 then :
16361 if test ${PKG_CONFIG+y}
16362 then :
16363 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16366 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16367 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16370 ac_save_CPPFLAGS=$CPPFLAGS
16371 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16372 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16373 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16374 then :
16375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16376 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16377 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16378 then :
16379 printf %s "(cached) " >&6
16380 else $as_nop
16381 ac_check_lib_save_LIBS=$LIBS
16382 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16386 /* Override any GCC internal prototype to avoid an error.
16387 Use char because int might match the return type of a GCC
16388 builtin and then its argument prototype would still apply. */
16389 char gp_camera_new ();
16391 main (void)
16393 return gp_camera_new ();
16395 return 0;
16397 _ACEOF
16398 if ac_fn_c_try_link "$LINENO"
16399 then :
16400 ac_cv_lib_gphoto2_gp_camera_new=yes
16401 else $as_nop
16402 ac_cv_lib_gphoto2_gp_camera_new=no
16404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16405 conftest$ac_exeext conftest.$ac_ext
16406 LIBS=$ac_check_lib_save_LIBS
16408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16409 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16410 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16411 then :
16417 CPPFLAGS=$ac_save_CPPFLAGS
16419 if ${GPHOTO2_PORT_CFLAGS:+false} :
16420 then :
16421 if test ${PKG_CONFIG+y}
16422 then :
16423 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16426 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16427 if ${GPHOTO2_PORT_LIBS:+false} :
16428 then :
16429 if test ${PKG_CONFIG+y}
16430 then :
16431 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16434 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16435 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16438 ac_save_CPPFLAGS=$CPPFLAGS
16439 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16440 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16441 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16442 then :
16443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16444 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16445 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16446 then :
16447 printf %s "(cached) " >&6
16448 else $as_nop
16449 ac_check_lib_save_LIBS=$LIBS
16450 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16452 /* end confdefs.h. */
16454 /* Override any GCC internal prototype to avoid an error.
16455 Use char because int might match the return type of a GCC
16456 builtin and then its argument prototype would still apply. */
16457 char gp_port_info_list_new ();
16459 main (void)
16461 return gp_port_info_list_new ();
16463 return 0;
16465 _ACEOF
16466 if ac_fn_c_try_link "$LINENO"
16467 then :
16468 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16469 else $as_nop
16470 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16473 conftest$ac_exeext conftest.$ac_ext
16474 LIBS=$ac_check_lib_save_LIBS
16476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16477 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16478 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16479 then :
16481 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16483 else $as_nop
16484 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16487 else $as_nop
16488 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16491 CPPFLAGS=$ac_save_CPPFLAGS
16494 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16495 then :
16496 case "x$with_gphoto" in
16497 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16498 xno) ;;
16499 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16500 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16501 esac
16502 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16504 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16505 then :
16506 case "x$with_gphoto" in
16507 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16508 xno) ;;
16509 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16510 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16511 esac
16516 if test "$ac_cv_header_resolv_h" = "yes"
16517 then
16518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16519 printf %s "checking for resolver library... " >&6; }
16520 if test ${ac_cv_have_resolv+y}
16521 then :
16522 printf %s "(cached) " >&6
16523 else $as_nop
16524 ac_save_LIBS="$LIBS"
16525 for lib in '' -lresolv
16527 LIBS="$lib $ac_save_LIBS"
16528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16529 /* end confdefs.h. */
16530 #ifdef HAVE_NETINET_IN_H
16531 #include <netinet/in.h>
16532 #endif
16533 #include <resolv.h>
16535 main (void)
16537 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16539 return 0;
16541 _ACEOF
16542 if ac_fn_c_try_link "$LINENO"
16543 then :
16544 ac_cv_have_resolv=${lib:-"none required"}
16545 else $as_nop
16546 ac_cv_have_resolv="not found"
16548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16549 conftest$ac_exeext conftest.$ac_ext
16550 test "x$ac_cv_have_resolv" = "xnot found" || break
16551 done
16552 LIBS="$ac_save_LIBS"
16554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16555 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16557 case "$ac_cv_have_resolv" in
16558 "not found") ;;
16559 "none required")
16561 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16564 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16566 RESOLV_LIBS=$ac_cv_have_resolv
16568 esac
16570 if test "x$ac_cv_have_resolv" != "xnot found"
16571 then
16572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16573 printf %s "checking for res_getservers... " >&6; }
16574 if test ${ac_cv_have_res_getservers+y}
16575 then :
16576 printf %s "(cached) " >&6
16577 else $as_nop
16578 ac_save_LIBS="$LIBS"
16579 LIBS="$RESOLV_LIBS $LIBS"
16580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16581 /* end confdefs.h. */
16582 #include <resolv.h>
16584 main (void)
16586 res_getservers(NULL, NULL, 0);
16588 return 0;
16590 _ACEOF
16591 if ac_fn_c_try_link "$LINENO"
16592 then :
16593 ac_cv_have_res_getservers=yes
16594 else $as_nop
16595 ac_cv_have_res_getservers=no
16597 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16598 conftest$ac_exeext conftest.$ac_ext
16599 LIBS="$ac_save_LIBS"
16601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16602 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16603 if test "$ac_cv_have_res_getservers" = "yes"
16604 then
16606 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16612 if test "x$with_freetype" != "xno"
16613 then
16614 if ${FREETYPE_CFLAGS:+false} :
16615 then :
16616 if test ${PKG_CONFIG+y}
16617 then :
16618 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16621 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16622 if ${FREETYPE_LIBS:+false} :
16623 then :
16624 if test ${PKG_CONFIG+y}
16625 then :
16626 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16629 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16630 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16633 ac_save_CPPFLAGS=$CPPFLAGS
16634 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16635 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16636 if test "x$ac_cv_header_ft2build_h" = xyes
16637 then :
16638 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16642 if test "$ac_cv_header_ft2build_h" = "yes"
16643 then
16644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16645 printf %s "checking for -lfreetype... " >&6; }
16646 if test ${ac_cv_lib_soname_freetype+y}
16647 then :
16648 printf %s "(cached) " >&6
16649 else $as_nop
16650 ac_check_soname_save_LIBS=$LIBS
16651 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16655 /* Override any GCC internal prototype to avoid an error.
16656 Use char because int might match the return type of a GCC
16657 builtin and then its argument prototype would still apply. */
16658 char FT_Init_FreeType ();
16660 main (void)
16662 return FT_Init_FreeType ();
16664 return 0;
16666 _ACEOF
16667 if ac_fn_c_try_link "$LINENO"
16668 then :
16669 case "$LIBEXT" in
16670 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16671 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'` ;;
16672 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16673 if ${ac_cv_lib_soname_freetype:+false} :
16674 then :
16675 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16676 fi ;;
16677 esac
16678 else $as_nop
16679 ac_cv_lib_soname_freetype=
16681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16682 conftest$ac_exeext conftest.$ac_ext
16683 LIBS=$ac_check_soname_save_LIBS
16685 if ${ac_cv_lib_soname_freetype:+false} :
16686 then :
16687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16688 printf "%s\n" "not found" >&6; }
16689 FREETYPE_LIBS=""
16690 else $as_nop
16691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16692 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16694 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16697 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16699 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16700 #include FT_MODULE_H
16702 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16703 then :
16705 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16711 else
16712 FREETYPE_CFLAGS=""
16713 FREETYPE_LIBS=""
16715 CPPFLAGS=$ac_save_CPPFLAGS
16718 if test "x$ac_cv_lib_soname_freetype" = x
16719 then :
16720 case "x$with_freetype" in
16721 xno) ;;
16722 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16723 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16724 esac
16725 enable_fonts=${enable_fonts:-no}
16728 ac_wine_check_funcs_save_LIBS="$LIBS"
16729 LIBS="$LIBS $PTHREAD_LIBS"
16730 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16731 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16732 then :
16733 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16737 LIBS="$ac_wine_check_funcs_save_LIBS"
16739 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16740 then
16741 if test "$ac_cv_header_gettext_po_h" = "yes"
16742 then
16743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16744 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16745 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16746 then :
16747 printf %s "(cached) " >&6
16748 else $as_nop
16749 ac_check_lib_save_LIBS=$LIBS
16750 LIBS="-lgettextpo $LIBS"
16751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16752 /* end confdefs.h. */
16754 /* Override any GCC internal prototype to avoid an error.
16755 Use char because int might match the return type of a GCC
16756 builtin and then its argument prototype would still apply. */
16757 char po_message_msgctxt ();
16759 main (void)
16761 return po_message_msgctxt ();
16763 return 0;
16765 _ACEOF
16766 if ac_fn_c_try_link "$LINENO"
16767 then :
16768 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16769 else $as_nop
16770 ac_cv_lib_gettextpo_po_message_msgctxt=no
16772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16773 conftest$ac_exeext conftest.$ac_ext
16774 LIBS=$ac_check_lib_save_LIBS
16776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16777 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16778 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16779 then :
16781 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16783 GETTEXTPO_LIBS="-lgettextpo"
16788 if test "x$GETTEXTPO_LIBS" = "x"
16789 then :
16790 case "x$with_gettextpo" in
16791 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16792 xno) ;;
16793 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16794 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16795 esac
16798 if test "$srcdir" != .
16799 then :
16800 case "x$with_gettextpo" in
16801 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16802 xno) ;;
16803 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16804 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16805 esac
16810 if test "x$with_pulse" != "xno";
16811 then
16812 if ${PULSE_CFLAGS:+false} :
16813 then :
16814 if test ${PKG_CONFIG+y}
16815 then :
16816 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16820 if ${PULSE_LIBS:+false} :
16821 then :
16822 if test ${PKG_CONFIG+y}
16823 then :
16824 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16829 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16830 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16831 ac_save_CPPFLAGS=$CPPFLAGS
16832 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16833 for ac_header in pulse/pulseaudio.h
16834 do :
16835 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16836 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16837 then :
16838 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16840 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16841 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16842 then :
16843 printf %s "(cached) " >&6
16844 else $as_nop
16845 ac_check_lib_save_LIBS=$LIBS
16846 LIBS="-lpulse $PULSE_LIBS $LIBS"
16847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16848 /* end confdefs.h. */
16850 /* Override any GCC internal prototype to avoid an error.
16851 Use char because int might match the return type of a GCC
16852 builtin and then its argument prototype would still apply. */
16853 char pa_stream_is_corked ();
16855 main (void)
16857 return pa_stream_is_corked ();
16859 return 0;
16861 _ACEOF
16862 if ac_fn_c_try_link "$LINENO"
16863 then :
16864 ac_cv_lib_pulse_pa_stream_is_corked=yes
16865 else $as_nop
16866 ac_cv_lib_pulse_pa_stream_is_corked=no
16868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16869 conftest$ac_exeext conftest.$ac_ext
16870 LIBS=$ac_check_lib_save_LIBS
16872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16873 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16874 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16875 then :
16877 else $as_nop
16878 PULSE_LIBS=""
16881 else $as_nop
16882 PULSE_LIBS=""
16885 done
16886 CPPFLAGS=$ac_save_CPPFLAGS
16889 if test -z "$PULSE_LIBS"
16890 then :
16891 case "x$with_pulse" in
16892 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16893 xno) ;;
16894 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16895 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16896 esac
16897 enable_winepulse_drv=${enable_winepulse_drv:-no}
16900 if test "x$with_gstreamer" != "xno"
16901 then
16902 if ${GSTREAMER_CFLAGS:+false} :
16903 then :
16904 if test ${PKG_CONFIG+y}
16905 then :
16906 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16910 if ${GSTREAMER_LIBS:+false} :
16911 then :
16912 if test ${PKG_CONFIG+y}
16913 then :
16914 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16920 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16921 ac_save_CPPFLAGS=$CPPFLAGS
16922 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16923 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16924 if test "x$ac_cv_header_gst_gst_h" = xyes
16925 then :
16926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16927 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h. */
16930 #include <gst/gst.h>
16932 main (void)
16934 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16936 return 0;
16938 _ACEOF
16939 if ac_fn_c_try_compile "$LINENO"
16940 then :
16941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16942 printf "%s\n" "yes" >&6; }
16943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16944 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16945 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16946 then :
16947 printf %s "(cached) " >&6
16948 else $as_nop
16949 ac_check_lib_save_LIBS=$LIBS
16950 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16952 /* end confdefs.h. */
16954 /* Override any GCC internal prototype to avoid an error.
16955 Use char because int might match the return type of a GCC
16956 builtin and then its argument prototype would still apply. */
16957 char gst_pad_new ();
16959 main (void)
16961 return gst_pad_new ();
16963 return 0;
16965 _ACEOF
16966 if ac_fn_c_try_link "$LINENO"
16967 then :
16968 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16969 else $as_nop
16970 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16973 conftest$ac_exeext conftest.$ac_ext
16974 LIBS=$ac_check_lib_save_LIBS
16976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16977 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16978 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16979 then :
16983 else $as_nop
16984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16985 printf "%s\n" "no" >&6; }
16986 ac_glib2_broken=yes
16987 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
16989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16992 CPPFLAGS=$ac_save_CPPFLAGS
16995 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
16996 then :
16997 case "x$with_gstreamer" in
16998 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
16999 xno) ;;
17000 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17001 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17002 esac
17003 enable_winegstreamer=${enable_winegstreamer:-no}
17006 ALSA_LIBS=""
17008 if test "x$with_alsa" != "xno"
17009 then
17010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17011 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17012 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17013 then :
17014 printf %s "(cached) " >&6
17015 else $as_nop
17016 ac_check_lib_save_LIBS=$LIBS
17017 LIBS="-lasound $LIBS"
17018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17019 /* end confdefs.h. */
17021 /* Override any GCC internal prototype to avoid an error.
17022 Use char because int might match the return type of a GCC
17023 builtin and then its argument prototype would still apply. */
17024 char snd_pcm_hw_params_get_access_mask ();
17026 main (void)
17028 return snd_pcm_hw_params_get_access_mask ();
17030 return 0;
17032 _ACEOF
17033 if ac_fn_c_try_link "$LINENO"
17034 then :
17035 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17036 else $as_nop
17037 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17040 conftest$ac_exeext conftest.$ac_ext
17041 LIBS=$ac_check_lib_save_LIBS
17043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17044 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17045 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17046 then :
17047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17048 /* end confdefs.h. */
17049 #include <alsa/asoundlib.h>
17051 main (void)
17053 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17055 return 0;
17057 _ACEOF
17058 if ac_fn_c_try_compile "$LINENO"
17059 then :
17060 ALSA_LIBS="-lasound"
17062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17066 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17068 if test "x$with_oss" != xno
17069 then
17070 ac_save_CPPFLAGS="$CPPFLAGS"
17071 if test -f /etc/oss.conf
17072 then
17073 . /etc/oss.conf
17075 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17076 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17077 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17078 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17079 then :
17080 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17082 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17083 then :
17085 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17087 OSS4_CFLAGS="$ac_oss_incl"
17089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17090 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17091 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17092 then :
17093 printf %s "(cached) " >&6
17094 else $as_nop
17095 ac_check_lib_save_LIBS=$LIBS
17096 LIBS="-lossaudio $LIBS"
17097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17098 /* end confdefs.h. */
17100 /* Override any GCC internal prototype to avoid an error.
17101 Use char because int might match the return type of a GCC
17102 builtin and then its argument prototype would still apply. */
17103 char _oss_ioctl ();
17105 main (void)
17107 return _oss_ioctl ();
17109 return 0;
17111 _ACEOF
17112 if ac_fn_c_try_link "$LINENO"
17113 then :
17114 ac_cv_lib_ossaudio__oss_ioctl=yes
17115 else $as_nop
17116 ac_cv_lib_ossaudio__oss_ioctl=no
17118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17119 conftest$ac_exeext conftest.$ac_ext
17120 LIBS=$ac_check_lib_save_LIBS
17122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17123 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17124 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17125 then :
17126 OSS4_LIBS="-lossaudio"
17134 CPPFLAGS="$ac_save_CPPFLAGS"
17136 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17137 then :
17138 case "x$with_oss" in
17139 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17140 xno) ;;
17141 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17142 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17143 esac
17144 enable_wineoss_drv=${enable_wineoss_drv:-no}
17147 if test "x$with_udev" != "xno"
17148 then
17149 if ${UDEV_CFLAGS:+false} :
17150 then :
17151 if test ${PKG_CONFIG+y}
17152 then :
17153 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17157 if ${UDEV_LIBS:+false} :
17158 then :
17159 if test ${PKG_CONFIG+y}
17160 then :
17161 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17165 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17168 ac_save_CPPFLAGS=$CPPFLAGS
17169 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17170 for ac_header in libudev.h
17171 do :
17172 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17173 if test "x$ac_cv_header_libudev_h" = xyes
17174 then :
17175 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17177 printf %s "checking for udev_new in -ludev... " >&6; }
17178 if test ${ac_cv_lib_udev_udev_new+y}
17179 then :
17180 printf %s "(cached) " >&6
17181 else $as_nop
17182 ac_check_lib_save_LIBS=$LIBS
17183 LIBS="-ludev $UDEV_LIBS $LIBS"
17184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17185 /* end confdefs.h. */
17187 /* Override any GCC internal prototype to avoid an error.
17188 Use char because int might match the return type of a GCC
17189 builtin and then its argument prototype would still apply. */
17190 char udev_new ();
17192 main (void)
17194 return udev_new ();
17196 return 0;
17198 _ACEOF
17199 if ac_fn_c_try_link "$LINENO"
17200 then :
17201 ac_cv_lib_udev_udev_new=yes
17202 else $as_nop
17203 ac_cv_lib_udev_udev_new=no
17205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17206 conftest$ac_exeext conftest.$ac_ext
17207 LIBS=$ac_check_lib_save_LIBS
17209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17210 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17211 if test "x$ac_cv_lib_udev_udev_new" = xyes
17212 then :
17214 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17216 else $as_nop
17217 UDEV_LIBS=""
17220 else $as_nop
17221 UDEV_LIBS=""
17224 done
17225 CPPFLAGS=$ac_save_CPPFLAGS
17228 if test "x$UDEV_LIBS" = "x"
17229 then :
17230 case "x$with_udev" in
17231 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17232 xno) ;;
17233 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17234 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17235 esac
17239 if test "x$with_unwind" != xno
17240 then
17241 if ${UNWIND_CFLAGS:+false} :
17242 then :
17243 if test ${PKG_CONFIG+y}
17244 then :
17245 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17249 if ${UNWIND_LIBS:+false} :
17250 then :
17251 if test ${PKG_CONFIG+y}
17252 then :
17253 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17257 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17260 ac_save_CPPFLAGS=$CPPFLAGS
17261 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17263 printf %s "checking for unw_step... " >&6; }
17264 if test ${wine_cv_have_unw_step+y}
17265 then :
17266 printf %s "(cached) " >&6
17267 else $as_nop
17268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17269 /* end confdefs.h. */
17270 #define UNW_LOCAL_ONLY
17271 #include <libunwind.h>
17273 main (void)
17275 unw_cursor_t cursor; unw_step( &cursor );
17277 return 0;
17279 _ACEOF
17280 if ac_fn_c_try_link "$LINENO"
17281 then :
17282 wine_cv_have_unw_step="yes"
17283 else $as_nop
17284 wine_cv_have_unw_step="no"
17286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17287 conftest$ac_exeext conftest.$ac_ext
17289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17290 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17291 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17292 then
17293 save_libs=$LIBS
17294 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17295 LIBS="$UNWIND_LIBS $LIBS"
17296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17297 printf %s "checking for unw_step in libunwind... " >&6; }
17298 if test ${wine_cv_have_libunwind_unw_step+y}
17299 then :
17300 printf %s "(cached) " >&6
17301 else $as_nop
17302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17304 #define UNW_LOCAL_ONLY
17305 #include <libunwind.h>
17307 main (void)
17309 unw_cursor_t cursor; unw_step( &cursor );
17311 return 0;
17313 _ACEOF
17314 if ac_fn_c_try_link "$LINENO"
17315 then :
17316 wine_cv_have_libunwind_unw_step="yes"
17317 else $as_nop
17318 wine_cv_have_libunwind_unw_step="no"
17320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17321 conftest$ac_exeext conftest.$ac_ext
17323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17324 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17325 LIBS=$save_libs
17327 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17328 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17329 then
17331 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17334 CPPFLAGS=$ac_save_CPPFLAGS
17337 case $host in
17338 aarch64*|*-darwin*)
17339 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17340 then :
17341 case "x$with_unwind" in
17342 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17343 xno) ;;
17344 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17345 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17346 esac
17348 fi ;;
17349 esac
17351 if test "x$with_sdl" != "xno"
17352 then
17353 if ${SDL2_CFLAGS:+false} :
17354 then :
17355 if test ${PKG_CONFIG+y}
17356 then :
17357 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17361 if ${SDL2_LIBS:+false} :
17362 then :
17363 if test ${PKG_CONFIG+y}
17364 then :
17365 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17369 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17372 ac_save_CPPFLAGS=$CPPFLAGS
17373 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17374 for ac_header in SDL.h
17375 do :
17376 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17377 if test "x$ac_cv_header_SDL_h" = xyes
17378 then :
17379 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17381 printf %s "checking for -lSDL2... " >&6; }
17382 if test ${ac_cv_lib_soname_SDL2+y}
17383 then :
17384 printf %s "(cached) " >&6
17385 else $as_nop
17386 ac_check_soname_save_LIBS=$LIBS
17387 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17389 /* end confdefs.h. */
17391 /* Override any GCC internal prototype to avoid an error.
17392 Use char because int might match the return type of a GCC
17393 builtin and then its argument prototype would still apply. */
17394 char SDL_Init ();
17396 main (void)
17398 return SDL_Init ();
17400 return 0;
17402 _ACEOF
17403 if ac_fn_c_try_link "$LINENO"
17404 then :
17405 case "$LIBEXT" in
17406 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17407 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'` ;;
17408 *) 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'`
17409 if ${ac_cv_lib_soname_SDL2:+false} :
17410 then :
17411 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17412 fi ;;
17413 esac
17414 else $as_nop
17415 ac_cv_lib_soname_SDL2=
17417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17418 conftest$ac_exeext conftest.$ac_ext
17419 LIBS=$ac_check_soname_save_LIBS
17421 if ${ac_cv_lib_soname_SDL2:+false} :
17422 then :
17423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17424 printf "%s\n" "not found" >&6; }
17426 else $as_nop
17427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17428 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17430 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17436 done
17437 CPPFLAGS=$ac_save_CPPFLAGS
17440 if test "x$ac_cv_lib_soname_SDL2" = "x"
17441 then :
17442 case "x$with_sdl" in
17443 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17444 xno) ;;
17445 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17446 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17447 esac
17451 if test "x$with_capi" != "xno"
17452 then
17453 if ${CAPI20_CFLAGS:+false} :
17454 then :
17455 if test ${PKG_CONFIG+y}
17456 then :
17457 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17461 if ${CAPI20_LIBS:+false} :
17462 then :
17463 if test ${PKG_CONFIG+y}
17464 then :
17465 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17472 ac_save_CPPFLAGS=$CPPFLAGS
17473 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17474 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17476 if test "x$ac_cv_header_capi20_h" = xyes
17477 then :
17478 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17481 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17483 if test "x$ac_cv_header_linux_capi_h" = xyes
17484 then :
17485 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17489 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17490 then
17491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17492 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17493 if test ${ac_cv_lib_capi20_capi20_register+y}
17494 then :
17495 printf %s "(cached) " >&6
17496 else $as_nop
17497 ac_check_lib_save_LIBS=$LIBS
17498 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17502 /* Override any GCC internal prototype to avoid an error.
17503 Use char because int might match the return type of a GCC
17504 builtin and then its argument prototype would still apply. */
17505 char capi20_register ();
17507 main (void)
17509 return capi20_register ();
17511 return 0;
17513 _ACEOF
17514 if ac_fn_c_try_link "$LINENO"
17515 then :
17516 ac_cv_lib_capi20_capi20_register=yes
17517 else $as_nop
17518 ac_cv_lib_capi20_capi20_register=no
17520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17521 conftest$ac_exeext conftest.$ac_ext
17522 LIBS=$ac_check_lib_save_LIBS
17524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17525 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17526 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17527 then :
17529 else $as_nop
17530 CAPI20_LIBS=""
17534 CPPFLAGS=$ac_save_CPPFLAGS
17537 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17538 then :
17539 case "x$with_capi" in
17540 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17541 xno) ;;
17542 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17543 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17544 esac
17545 enable_capi2032=${enable_capi2032:-no}
17548 if test "x$with_cups" != "xno"
17549 then
17550 if ${CUPS_CFLAGS:+false} :
17551 then :
17552 if test ${PKG_CONFIG+y}
17553 then :
17554 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17557 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17558 if ${CUPS_LIBS:+false} :
17559 then :
17560 if test ${PKG_CONFIG+y}
17561 then :
17562 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17565 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17566 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17567 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17569 ac_save_CPPFLAGS=$CPPFLAGS
17570 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17571 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17572 if test "x$ac_cv_header_cups_cups_h" = xyes
17573 then :
17574 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17577 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17578 if test "x$ac_cv_header_cups_ppd_h" = xyes
17579 then :
17580 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17584 if test "$ac_cv_header_cups_cups_h" = "yes"
17585 then
17586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17587 printf %s "checking for -lcups... " >&6; }
17588 if test ${ac_cv_lib_soname_cups+y}
17589 then :
17590 printf %s "(cached) " >&6
17591 else $as_nop
17592 ac_check_soname_save_LIBS=$LIBS
17593 LIBS="-lcups $CUPS_LIBS $LIBS"
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17597 /* Override any GCC internal prototype to avoid an error.
17598 Use char because int might match the return type of a GCC
17599 builtin and then its argument prototype would still apply. */
17600 char cupsGetDefault ();
17602 main (void)
17604 return cupsGetDefault ();
17606 return 0;
17608 _ACEOF
17609 if ac_fn_c_try_link "$LINENO"
17610 then :
17611 case "$LIBEXT" in
17612 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17613 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'` ;;
17614 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17615 if ${ac_cv_lib_soname_cups:+false} :
17616 then :
17617 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17618 fi ;;
17619 esac
17620 else $as_nop
17621 ac_cv_lib_soname_cups=
17623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17624 conftest$ac_exeext conftest.$ac_ext
17625 LIBS=$ac_check_soname_save_LIBS
17627 if ${ac_cv_lib_soname_cups:+false} :
17628 then :
17629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17630 printf "%s\n" "not found" >&6; }
17631 CUPS_LIBS=""
17632 else $as_nop
17633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17634 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17636 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17640 else
17641 CUPS_CFLAGS=""
17642 CUPS_LIBS=""
17644 CPPFLAGS=$ac_save_CPPFLAGS
17647 if test "x$ac_cv_lib_soname_cups" = "x"
17648 then :
17649 case "x$with_cups" in
17650 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17651 xno) ;;
17652 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17653 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17654 esac
17658 if test "x$with_fontconfig" != "xno"
17659 then
17660 if ${FONTCONFIG_CFLAGS:+false} :
17661 then :
17662 if test ${PKG_CONFIG+y}
17663 then :
17664 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17667 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17668 if ${FONTCONFIG_LIBS:+false} :
17669 then :
17670 if test ${PKG_CONFIG+y}
17671 then :
17672 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17675 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17679 ac_save_CPPFLAGS=$CPPFLAGS
17680 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17681 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17682 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17683 then :
17684 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17688 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17689 then
17690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17691 printf %s "checking for -lfontconfig... " >&6; }
17692 if test ${ac_cv_lib_soname_fontconfig+y}
17693 then :
17694 printf %s "(cached) " >&6
17695 else $as_nop
17696 ac_check_soname_save_LIBS=$LIBS
17697 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17699 /* end confdefs.h. */
17701 /* Override any GCC internal prototype to avoid an error.
17702 Use char because int might match the return type of a GCC
17703 builtin and then its argument prototype would still apply. */
17704 char FcInit ();
17706 main (void)
17708 return FcInit ();
17710 return 0;
17712 _ACEOF
17713 if ac_fn_c_try_link "$LINENO"
17714 then :
17715 case "$LIBEXT" in
17716 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17717 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'` ;;
17718 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17719 if ${ac_cv_lib_soname_fontconfig:+false} :
17720 then :
17721 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17722 fi ;;
17723 esac
17724 else $as_nop
17725 ac_cv_lib_soname_fontconfig=
17727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17728 conftest$ac_exeext conftest.$ac_ext
17729 LIBS=$ac_check_soname_save_LIBS
17731 if ${ac_cv_lib_soname_fontconfig:+false} :
17732 then :
17733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17734 printf "%s\n" "not found" >&6; }
17735 FONTCONFIG_CFLAGS=""
17736 else $as_nop
17737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17738 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17740 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17744 else
17745 FONTCONFIG_CFLAGS=""
17747 CPPFLAGS=$ac_save_CPPFLAGS
17750 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17751 then :
17752 case "x$with_fontconfig" in
17753 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17754 xno) ;;
17755 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17756 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17757 esac
17761 if test "x$with_krb5" != "xno"
17762 then
17763 if ${KRB5_CFLAGS:+false} :
17764 then :
17765 if test ${PKG_CONFIG+y}
17766 then :
17767 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17770 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17771 if ${KRB5_LIBS:+false} :
17772 then :
17773 if test ${PKG_CONFIG+y}
17774 then :
17775 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17778 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17782 ac_save_CPPFLAGS=$CPPFLAGS
17783 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17784 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17785 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17786 then :
17787 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17791 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17792 then
17793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17794 printf %s "checking for -lkrb5... " >&6; }
17795 if test ${ac_cv_lib_soname_krb5+y}
17796 then :
17797 printf %s "(cached) " >&6
17798 else $as_nop
17799 ac_check_soname_save_LIBS=$LIBS
17800 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17802 /* end confdefs.h. */
17804 /* Override any GCC internal prototype to avoid an error.
17805 Use char because int might match the return type of a GCC
17806 builtin and then its argument prototype would still apply. */
17807 char krb5_is_config_principal ();
17809 main (void)
17811 return krb5_is_config_principal ();
17813 return 0;
17815 _ACEOF
17816 if ac_fn_c_try_link "$LINENO"
17817 then :
17818 case "$LIBEXT" in
17819 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17820 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'` ;;
17821 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17822 if ${ac_cv_lib_soname_krb5:+false} :
17823 then :
17824 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17825 fi ;;
17826 esac
17827 else $as_nop
17828 ac_cv_lib_soname_krb5=
17830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17831 conftest$ac_exeext conftest.$ac_ext
17832 LIBS=$ac_check_soname_save_LIBS
17834 if ${ac_cv_lib_soname_krb5:+false} :
17835 then :
17836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17837 printf "%s\n" "not found" >&6; }
17838 KRB5_CFLAGS=""
17839 else $as_nop
17840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17841 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17843 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17847 else
17848 KRB5_CFLAGS=""
17850 CPPFLAGS=$ac_save_CPPFLAGS
17853 if test "x$ac_cv_lib_soname_krb5" = "x"
17854 then :
17855 case "x$with_krb5" in
17856 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17857 xno) ;;
17858 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17859 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17860 esac
17863 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17865 if test "x$with_gssapi" != "xno"
17866 then
17867 if ${GSSAPI_CFLAGS:+false} :
17868 then :
17869 if test ${PKG_CONFIG+y}
17870 then :
17871 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17874 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17875 if ${GSSAPI_LIBS:+false} :
17876 then :
17877 if test ${PKG_CONFIG+y}
17878 then :
17879 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17882 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17884 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17886 ac_save_CPPFLAGS=$CPPFLAGS
17887 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17888 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17889 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17890 then :
17891 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17894 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17895 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17896 then :
17897 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17901 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17902 then
17903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17904 printf %s "checking for -lgssapi_krb5... " >&6; }
17905 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17906 then :
17907 printf %s "(cached) " >&6
17908 else $as_nop
17909 ac_check_soname_save_LIBS=$LIBS
17910 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17912 /* end confdefs.h. */
17914 /* Override any GCC internal prototype to avoid an error.
17915 Use char because int might match the return type of a GCC
17916 builtin and then its argument prototype would still apply. */
17917 char gss_init_sec_context ();
17919 main (void)
17921 return gss_init_sec_context ();
17923 return 0;
17925 _ACEOF
17926 if ac_fn_c_try_link "$LINENO"
17927 then :
17928 case "$LIBEXT" in
17929 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17930 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'` ;;
17931 *) 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'`
17932 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17933 then :
17934 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17935 fi ;;
17936 esac
17937 else $as_nop
17938 ac_cv_lib_soname_gssapi_krb5=
17940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17941 conftest$ac_exeext conftest.$ac_ext
17942 LIBS=$ac_check_soname_save_LIBS
17944 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17945 then :
17946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17947 printf "%s\n" "not found" >&6; }
17948 GSSAPI_CFLAGS=""
17949 else $as_nop
17950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
17951 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
17953 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
17957 else
17958 GSSAPI_CFLAGS=""
17960 CPPFLAGS=$ac_save_CPPFLAGS
17963 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
17964 then :
17965 case "x$with_gssapi" in
17966 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
17967 xno) ;;
17968 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
17969 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
17970 esac
17974 if test "$ac_cv_header_AL_al_h" = "yes"
17975 then
17976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
17977 printf %s "checking for -lopenal... " >&6; }
17978 if test ${ac_cv_lib_soname_openal+y}
17979 then :
17980 printf %s "(cached) " >&6
17981 else $as_nop
17982 ac_check_soname_save_LIBS=$LIBS
17983 LIBS="-lopenal $LIBS"
17984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17985 /* end confdefs.h. */
17987 /* Override any GCC internal prototype to avoid an error.
17988 Use char because int might match the return type of a GCC
17989 builtin and then its argument prototype would still apply. */
17990 char alGetSource3i ();
17992 main (void)
17994 return alGetSource3i ();
17996 return 0;
17998 _ACEOF
17999 if ac_fn_c_try_link "$LINENO"
18000 then :
18001 case "$LIBEXT" in
18002 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18003 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'` ;;
18004 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18005 if ${ac_cv_lib_soname_openal:+false} :
18006 then :
18007 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18008 fi ;;
18009 esac
18010 else $as_nop
18011 ac_cv_lib_soname_openal=
18013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18014 conftest$ac_exeext conftest.$ac_ext
18015 LIBS=$ac_check_soname_save_LIBS
18017 if ${ac_cv_lib_soname_openal:+false} :
18018 then :
18019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18020 printf "%s\n" "not found" >&6; }
18022 else $as_nop
18023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18024 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18026 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18028 OPENAL_LIBS="-lopenal"
18030 ac_cv_lib_openal=yes
18032 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18036 if test "x$ac_cv_lib_openal" != xyes
18037 then :
18038 case "x$with_openal" in
18039 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18040 xno) ;;
18041 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18042 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18043 esac
18044 enable_openal32=${enable_openal32:-no}
18047 if test "$ac_cv_header_libprocstat_h" = "yes"
18048 then
18049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18050 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18051 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18052 then :
18053 printf %s "(cached) " >&6
18054 else $as_nop
18055 ac_check_lib_save_LIBS=$LIBS
18056 LIBS="-lprocstat $LIBS"
18057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18058 /* end confdefs.h. */
18060 /* Override any GCC internal prototype to avoid an error.
18061 Use char because int might match the return type of a GCC
18062 builtin and then its argument prototype would still apply. */
18063 char procstat_open_sysctl ();
18065 main (void)
18067 return procstat_open_sysctl ();
18069 return 0;
18071 _ACEOF
18072 if ac_fn_c_try_link "$LINENO"
18073 then :
18074 ac_cv_lib_procstat_procstat_open_sysctl=yes
18075 else $as_nop
18076 ac_cv_lib_procstat_procstat_open_sysctl=no
18078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18079 conftest$ac_exeext conftest.$ac_ext
18080 LIBS=$ac_check_lib_save_LIBS
18082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18083 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18084 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18085 then :
18087 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18089 PROCSTAT_LIBS="-lprocstat"
18095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18096 printf %s "checking for -lodbc... " >&6; }
18097 if test ${ac_cv_lib_soname_odbc+y}
18098 then :
18099 printf %s "(cached) " >&6
18100 else $as_nop
18101 ac_check_soname_save_LIBS=$LIBS
18102 LIBS="-lodbc $LIBS"
18103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18104 /* end confdefs.h. */
18106 /* Override any GCC internal prototype to avoid an error.
18107 Use char because int might match the return type of a GCC
18108 builtin and then its argument prototype would still apply. */
18109 char SQLConnect ();
18111 main (void)
18113 return SQLConnect ();
18115 return 0;
18117 _ACEOF
18118 if ac_fn_c_try_link "$LINENO"
18119 then :
18120 case "$LIBEXT" in
18121 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18122 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'` ;;
18123 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18124 if ${ac_cv_lib_soname_odbc:+false} :
18125 then :
18126 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18127 fi ;;
18128 esac
18129 else $as_nop
18130 ac_cv_lib_soname_odbc=
18132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18133 conftest$ac_exeext conftest.$ac_ext
18134 LIBS=$ac_check_soname_save_LIBS
18136 if ${ac_cv_lib_soname_odbc:+false} :
18137 then :
18138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18139 printf "%s\n" "not found" >&6; }
18140 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18142 else $as_nop
18143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18144 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18146 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18151 if test "x$with_netapi" != "xno"
18152 then
18153 if ${NETAPI_CFLAGS:+false} :
18154 then :
18155 if test ${PKG_CONFIG+y}
18156 then :
18157 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18161 if ${NETAPI_LIBS:+false} :
18162 then :
18163 if test ${PKG_CONFIG+y}
18164 then :
18165 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18172 ac_save_CPPFLAGS=$CPPFLAGS
18173 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18175 printf %s "checking for -lnetapi... " >&6; }
18176 if test ${ac_cv_lib_soname_netapi+y}
18177 then :
18178 printf %s "(cached) " >&6
18179 else $as_nop
18180 ac_check_soname_save_LIBS=$LIBS
18181 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18183 /* end confdefs.h. */
18185 /* Override any GCC internal prototype to avoid an error.
18186 Use char because int might match the return type of a GCC
18187 builtin and then its argument prototype would still apply. */
18188 char libnetapi_init ();
18190 main (void)
18192 return libnetapi_init ();
18194 return 0;
18196 _ACEOF
18197 if ac_fn_c_try_link "$LINENO"
18198 then :
18199 case "$LIBEXT" in
18200 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18201 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'` ;;
18202 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18203 if ${ac_cv_lib_soname_netapi:+false} :
18204 then :
18205 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18206 fi ;;
18207 esac
18208 else $as_nop
18209 ac_cv_lib_soname_netapi=
18211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18212 conftest$ac_exeext conftest.$ac_ext
18213 LIBS=$ac_check_soname_save_LIBS
18215 if ${ac_cv_lib_soname_netapi:+false} :
18216 then :
18217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18218 printf "%s\n" "not found" >&6; }
18219 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18221 else $as_nop
18222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18223 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18225 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18229 CPPFLAGS=$ac_save_CPPFLAGS
18232 if test "x$ac_cv_lib_soname_netapi" = "x"
18233 then :
18234 case "x$with_netapi" in
18235 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18236 xno) ;;
18237 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18238 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18239 esac
18240 enable_netapi=${enable_netapi:-no}
18244 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18245 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18246 then
18247 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18250 if test "x$with_vulkan" != "xno"
18251 then
18252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18253 printf %s "checking for -lvulkan... " >&6; }
18254 if test ${ac_cv_lib_soname_vulkan+y}
18255 then :
18256 printf %s "(cached) " >&6
18257 else $as_nop
18258 ac_check_soname_save_LIBS=$LIBS
18259 LIBS="-lvulkan $LIBS"
18260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18261 /* end confdefs.h. */
18263 /* Override any GCC internal prototype to avoid an error.
18264 Use char because int might match the return type of a GCC
18265 builtin and then its argument prototype would still apply. */
18266 char vkGetInstanceProcAddr ();
18268 main (void)
18270 return vkGetInstanceProcAddr ();
18272 return 0;
18274 _ACEOF
18275 if ac_fn_c_try_link "$LINENO"
18276 then :
18277 case "$LIBEXT" in
18278 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18279 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'` ;;
18280 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18281 if ${ac_cv_lib_soname_vulkan:+false} :
18282 then :
18283 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18284 fi ;;
18285 esac
18286 else $as_nop
18287 ac_cv_lib_soname_vulkan=
18289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18290 conftest$ac_exeext conftest.$ac_ext
18291 LIBS=$ac_check_soname_save_LIBS
18293 if ${ac_cv_lib_soname_vulkan:+false} :
18294 then :
18295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18296 printf "%s\n" "not found" >&6; }
18298 else $as_nop
18299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18300 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18302 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18306 if test "x$ac_cv_lib_soname_vulkan" = "x"
18307 then
18308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18309 printf %s "checking for -lMoltenVK... " >&6; }
18310 if test ${ac_cv_lib_soname_MoltenVK+y}
18311 then :
18312 printf %s "(cached) " >&6
18313 else $as_nop
18314 ac_check_soname_save_LIBS=$LIBS
18315 LIBS="-lMoltenVK $LIBS"
18316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18317 /* end confdefs.h. */
18319 /* Override any GCC internal prototype to avoid an error.
18320 Use char because int might match the return type of a GCC
18321 builtin and then its argument prototype would still apply. */
18322 char vkGetInstanceProcAddr ();
18324 main (void)
18326 return vkGetInstanceProcAddr ();
18328 return 0;
18330 _ACEOF
18331 if ac_fn_c_try_link "$LINENO"
18332 then :
18333 case "$LIBEXT" in
18334 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18335 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'` ;;
18336 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18337 if ${ac_cv_lib_soname_MoltenVK:+false} :
18338 then :
18339 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18340 fi ;;
18341 esac
18342 else $as_nop
18343 ac_cv_lib_soname_MoltenVK=
18345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18346 conftest$ac_exeext conftest.$ac_ext
18347 LIBS=$ac_check_soname_save_LIBS
18349 if ${ac_cv_lib_soname_MoltenVK:+false} :
18350 then :
18351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18352 printf "%s\n" "not found" >&6; }
18354 else $as_nop
18355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18356 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18358 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18364 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18365 then :
18366 case "x$with_vulkan" in
18367 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18368 xno) ;;
18369 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18370 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18371 esac
18376 if test "x${GCC}" = "xyes"
18377 then
18378 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18380 saved_CFLAGS=$CFLAGS
18381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18382 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18383 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18384 then :
18385 printf %s "(cached) " >&6
18386 else $as_nop
18387 ac_wine_try_cflags_saved=$CFLAGS
18388 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18390 /* end confdefs.h. */
18391 int main(int argc, char **argv) { return 0; }
18392 _ACEOF
18393 if ac_fn_c_try_link "$LINENO"
18394 then :
18395 ac_cv_cflags__Werror_unknown_warning_option=yes
18396 else $as_nop
18397 ac_cv_cflags__Werror_unknown_warning_option=no
18399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18400 conftest$ac_exeext conftest.$ac_ext
18401 CFLAGS=$ac_wine_try_cflags_saved
18403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18404 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18405 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18406 then :
18407 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18410 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18411 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18412 then :
18413 printf %s "(cached) " >&6
18414 else $as_nop
18415 ac_wine_try_cflags_saved=$CFLAGS
18416 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18418 /* end confdefs.h. */
18419 int main(int argc, char **argv) { return 0; }
18420 _ACEOF
18421 if ac_fn_c_try_link "$LINENO"
18422 then :
18423 ac_cv_cflags__Werror_unused_command_line_argument=yes
18424 else $as_nop
18425 ac_cv_cflags__Werror_unused_command_line_argument=no
18427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18428 conftest$ac_exeext conftest.$ac_ext
18429 CFLAGS=$ac_wine_try_cflags_saved
18431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18432 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18433 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18434 then :
18435 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18438 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18439 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18440 then :
18441 printf %s "(cached) " >&6
18442 else $as_nop
18443 ac_wine_try_cflags_saved=$CFLAGS
18444 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18446 /* end confdefs.h. */
18447 int main(int argc, char **argv) { return 0; }
18448 _ACEOF
18449 if ac_fn_c_try_link "$LINENO"
18450 then :
18451 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18452 else $as_nop
18453 ac_cv_cflags__Werror_ignored_optimization_argument=no
18455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18456 conftest$ac_exeext conftest.$ac_ext
18457 CFLAGS=$ac_wine_try_cflags_saved
18459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18460 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18461 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18462 then :
18463 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18466 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18467 if test ${ac_cv_cflags__fcf_protection_none+y}
18468 then :
18469 printf %s "(cached) " >&6
18470 else $as_nop
18471 ac_wine_try_cflags_saved=$CFLAGS
18472 CFLAGS="$CFLAGS -fcf-protection=none"
18473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18474 /* end confdefs.h. */
18475 int main(int argc, char **argv) { return 0; }
18476 _ACEOF
18477 if ac_fn_c_try_link "$LINENO"
18478 then :
18479 ac_cv_cflags__fcf_protection_none=yes
18480 else $as_nop
18481 ac_cv_cflags__fcf_protection_none=no
18483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18484 conftest$ac_exeext conftest.$ac_ext
18485 CFLAGS=$ac_wine_try_cflags_saved
18487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18488 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18489 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18490 then :
18491 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18494 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18495 if test ${ac_cv_cflags__fno_stack_protector+y}
18496 then :
18497 printf %s "(cached) " >&6
18498 else $as_nop
18499 ac_wine_try_cflags_saved=$CFLAGS
18500 CFLAGS="$CFLAGS -fno-stack-protector"
18501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18502 /* end confdefs.h. */
18503 int main(int argc, char **argv) { return 0; }
18504 _ACEOF
18505 if ac_fn_c_try_link "$LINENO"
18506 then :
18507 ac_cv_cflags__fno_stack_protector=yes
18508 else $as_nop
18509 ac_cv_cflags__fno_stack_protector=no
18511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18512 conftest$ac_exeext conftest.$ac_ext
18513 CFLAGS=$ac_wine_try_cflags_saved
18515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18516 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18517 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18518 then :
18519 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18522 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18523 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18524 then :
18525 printf %s "(cached) " >&6
18526 else $as_nop
18527 ac_wine_try_cflags_saved=$CFLAGS
18528 CFLAGS="$CFLAGS -fno-strict-aliasing"
18529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18530 /* end confdefs.h. */
18531 int main(int argc, char **argv) { return 0; }
18532 _ACEOF
18533 if ac_fn_c_try_link "$LINENO"
18534 then :
18535 ac_cv_cflags__fno_strict_aliasing=yes
18536 else $as_nop
18537 ac_cv_cflags__fno_strict_aliasing=no
18539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18540 conftest$ac_exeext conftest.$ac_ext
18541 CFLAGS=$ac_wine_try_cflags_saved
18543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18544 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18545 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18546 then :
18547 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18550 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18551 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18552 then :
18553 printf %s "(cached) " >&6
18554 else $as_nop
18555 ac_wine_try_cflags_saved=$CFLAGS
18556 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18558 /* end confdefs.h. */
18559 int main(int argc, char **argv) { return 0; }
18560 _ACEOF
18561 if ac_fn_c_try_link "$LINENO"
18562 then :
18563 ac_cv_cflags__Wdeclaration_after_statement=yes
18564 else $as_nop
18565 ac_cv_cflags__Wdeclaration_after_statement=no
18567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18568 conftest$ac_exeext conftest.$ac_ext
18569 CFLAGS=$ac_wine_try_cflags_saved
18571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18572 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18573 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18574 then :
18575 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18578 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18579 if test ${ac_cv_cflags__Wempty_body+y}
18580 then :
18581 printf %s "(cached) " >&6
18582 else $as_nop
18583 ac_wine_try_cflags_saved=$CFLAGS
18584 CFLAGS="$CFLAGS -Wempty-body"
18585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18586 /* end confdefs.h. */
18587 int main(int argc, char **argv) { return 0; }
18588 _ACEOF
18589 if ac_fn_c_try_link "$LINENO"
18590 then :
18591 ac_cv_cflags__Wempty_body=yes
18592 else $as_nop
18593 ac_cv_cflags__Wempty_body=no
18595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18596 conftest$ac_exeext conftest.$ac_ext
18597 CFLAGS=$ac_wine_try_cflags_saved
18599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18600 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18601 if test "x$ac_cv_cflags__Wempty_body" = xyes
18602 then :
18603 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18606 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18607 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18608 then :
18609 printf %s "(cached) " >&6
18610 else $as_nop
18611 ac_wine_try_cflags_saved=$CFLAGS
18612 CFLAGS="$CFLAGS -Wignored-qualifiers"
18613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18615 int main(int argc, char **argv) { return 0; }
18616 _ACEOF
18617 if ac_fn_c_try_link "$LINENO"
18618 then :
18619 ac_cv_cflags__Wignored_qualifiers=yes
18620 else $as_nop
18621 ac_cv_cflags__Wignored_qualifiers=no
18623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18624 conftest$ac_exeext conftest.$ac_ext
18625 CFLAGS=$ac_wine_try_cflags_saved
18627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18628 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18629 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18630 then :
18631 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18634 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18635 if test ${ac_cv_cflags__Winit_self+y}
18636 then :
18637 printf %s "(cached) " >&6
18638 else $as_nop
18639 ac_wine_try_cflags_saved=$CFLAGS
18640 CFLAGS="$CFLAGS -Winit-self"
18641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18642 /* end confdefs.h. */
18643 int main(int argc, char **argv) { return 0; }
18644 _ACEOF
18645 if ac_fn_c_try_link "$LINENO"
18646 then :
18647 ac_cv_cflags__Winit_self=yes
18648 else $as_nop
18649 ac_cv_cflags__Winit_self=no
18651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18652 conftest$ac_exeext conftest.$ac_ext
18653 CFLAGS=$ac_wine_try_cflags_saved
18655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18656 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18657 if test "x$ac_cv_cflags__Winit_self" = xyes
18658 then :
18659 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18662 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18663 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18664 then :
18665 printf %s "(cached) " >&6
18666 else $as_nop
18667 ac_wine_try_cflags_saved=$CFLAGS
18668 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18670 /* end confdefs.h. */
18671 int main(int argc, char **argv) { return 0; }
18672 _ACEOF
18673 if ac_fn_c_try_link "$LINENO"
18674 then :
18675 ac_cv_cflags__Wpacked_not_aligned=yes
18676 else $as_nop
18677 ac_cv_cflags__Wpacked_not_aligned=no
18679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18680 conftest$ac_exeext conftest.$ac_ext
18681 CFLAGS=$ac_wine_try_cflags_saved
18683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18684 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18685 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18686 then :
18687 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18690 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18691 if test ${ac_cv_cflags__Wpragma_pack+y}
18692 then :
18693 printf %s "(cached) " >&6
18694 else $as_nop
18695 ac_wine_try_cflags_saved=$CFLAGS
18696 CFLAGS="$CFLAGS -Wpragma-pack"
18697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18698 /* end confdefs.h. */
18699 int main(int argc, char **argv) { return 0; }
18700 _ACEOF
18701 if ac_fn_c_try_link "$LINENO"
18702 then :
18703 ac_cv_cflags__Wpragma_pack=yes
18704 else $as_nop
18705 ac_cv_cflags__Wpragma_pack=no
18707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18708 conftest$ac_exeext conftest.$ac_ext
18709 CFLAGS=$ac_wine_try_cflags_saved
18711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18712 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18713 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18714 then :
18715 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18718 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18719 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18720 then :
18721 printf %s "(cached) " >&6
18722 else $as_nop
18723 ac_wine_try_cflags_saved=$CFLAGS
18724 CFLAGS="$CFLAGS -Wshift-overflow=2"
18725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18726 /* end confdefs.h. */
18727 int main(int argc, char **argv) { return 0; }
18728 _ACEOF
18729 if ac_fn_c_try_link "$LINENO"
18730 then :
18731 ac_cv_cflags__Wshift_overflow_2=yes
18732 else $as_nop
18733 ac_cv_cflags__Wshift_overflow_2=no
18735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18736 conftest$ac_exeext conftest.$ac_ext
18737 CFLAGS=$ac_wine_try_cflags_saved
18739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18740 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18741 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18742 then :
18743 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18746 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18747 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18748 then :
18749 printf %s "(cached) " >&6
18750 else $as_nop
18751 ac_wine_try_cflags_saved=$CFLAGS
18752 CFLAGS="$CFLAGS -Wstrict-prototypes"
18753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18754 /* end confdefs.h. */
18755 int main(int argc, char **argv) { return 0; }
18756 _ACEOF
18757 if ac_fn_c_try_link "$LINENO"
18758 then :
18759 ac_cv_cflags__Wstrict_prototypes=yes
18760 else $as_nop
18761 ac_cv_cflags__Wstrict_prototypes=no
18763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18764 conftest$ac_exeext conftest.$ac_ext
18765 CFLAGS=$ac_wine_try_cflags_saved
18767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18768 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18769 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18770 then :
18771 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18774 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18775 if test ${ac_cv_cflags__Wtype_limits+y}
18776 then :
18777 printf %s "(cached) " >&6
18778 else $as_nop
18779 ac_wine_try_cflags_saved=$CFLAGS
18780 CFLAGS="$CFLAGS -Wtype-limits"
18781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18782 /* end confdefs.h. */
18783 int main(int argc, char **argv) { return 0; }
18784 _ACEOF
18785 if ac_fn_c_try_link "$LINENO"
18786 then :
18787 ac_cv_cflags__Wtype_limits=yes
18788 else $as_nop
18789 ac_cv_cflags__Wtype_limits=no
18791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18792 conftest$ac_exeext conftest.$ac_ext
18793 CFLAGS=$ac_wine_try_cflags_saved
18795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18796 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18797 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18798 then :
18799 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18802 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18803 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18804 then :
18805 printf %s "(cached) " >&6
18806 else $as_nop
18807 ac_wine_try_cflags_saved=$CFLAGS
18808 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18810 /* end confdefs.h. */
18811 int main(int argc, char **argv) { return 0; }
18812 _ACEOF
18813 if ac_fn_c_try_link "$LINENO"
18814 then :
18815 ac_cv_cflags__Wunused_but_set_parameter=yes
18816 else $as_nop
18817 ac_cv_cflags__Wunused_but_set_parameter=no
18819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18820 conftest$ac_exeext conftest.$ac_ext
18821 CFLAGS=$ac_wine_try_cflags_saved
18823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18824 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18825 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18826 then :
18827 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18830 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18831 if test ${ac_cv_cflags__Wvla+y}
18832 then :
18833 printf %s "(cached) " >&6
18834 else $as_nop
18835 ac_wine_try_cflags_saved=$CFLAGS
18836 CFLAGS="$CFLAGS -Wvla"
18837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18838 /* end confdefs.h. */
18839 int main(int argc, char **argv) { return 0; }
18840 _ACEOF
18841 if ac_fn_c_try_link "$LINENO"
18842 then :
18843 ac_cv_cflags__Wvla=yes
18844 else $as_nop
18845 ac_cv_cflags__Wvla=no
18847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18848 conftest$ac_exeext conftest.$ac_ext
18849 CFLAGS=$ac_wine_try_cflags_saved
18851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18852 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18853 if test "x$ac_cv_cflags__Wvla" = xyes
18854 then :
18855 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18858 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18859 if test ${ac_cv_cflags__Wwrite_strings+y}
18860 then :
18861 printf %s "(cached) " >&6
18862 else $as_nop
18863 ac_wine_try_cflags_saved=$CFLAGS
18864 CFLAGS="$CFLAGS -Wwrite-strings"
18865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18866 /* end confdefs.h. */
18867 int main(int argc, char **argv) { return 0; }
18868 _ACEOF
18869 if ac_fn_c_try_link "$LINENO"
18870 then :
18871 ac_cv_cflags__Wwrite_strings=yes
18872 else $as_nop
18873 ac_cv_cflags__Wwrite_strings=no
18875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18876 conftest$ac_exeext conftest.$ac_ext
18877 CFLAGS=$ac_wine_try_cflags_saved
18879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18880 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18881 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18882 then :
18883 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18886 if test -z "$CROSSTARGET"
18887 then
18888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18889 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18890 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18891 then :
18892 printf %s "(cached) " >&6
18893 else $as_nop
18894 ac_wine_try_cflags_saved=$CFLAGS
18895 CFLAGS="$CFLAGS -fexcess-precision=standard"
18896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18897 /* end confdefs.h. */
18898 int main(int argc, char **argv) { return 0; }
18899 _ACEOF
18900 if ac_fn_c_try_link "$LINENO"
18901 then :
18902 ac_cv_cflags__fexcess_precision_standard=yes
18903 else $as_nop
18904 ac_cv_cflags__fexcess_precision_standard=no
18906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18907 conftest$ac_exeext conftest.$ac_ext
18908 CFLAGS=$ac_wine_try_cflags_saved
18910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18911 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18912 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18913 then :
18914 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
18919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18920 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18921 if test ${ac_cv_cflags__Wpointer_arith+y}
18922 then :
18923 printf %s "(cached) " >&6
18924 else $as_nop
18925 ac_wine_try_cflags_saved=$CFLAGS
18926 CFLAGS="$CFLAGS -Wpointer-arith"
18927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18928 /* end confdefs.h. */
18929 int main(int argc, char **argv) { return 0; }
18930 _ACEOF
18931 if ac_fn_c_try_link "$LINENO"
18932 then :
18933 ac_cv_cflags__Wpointer_arith=yes
18934 else $as_nop
18935 ac_cv_cflags__Wpointer_arith=no
18937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18938 conftest$ac_exeext conftest.$ac_ext
18939 CFLAGS=$ac_wine_try_cflags_saved
18941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18942 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18943 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18944 then :
18945 saved_string_h_CFLAGS=$CFLAGS
18946 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18948 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18949 if test ${ac_cv_c_string_h_warnings+y}
18950 then :
18951 printf %s "(cached) " >&6
18952 else $as_nop
18953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18954 /* end confdefs.h. */
18955 #include <string.h>
18957 main (void)
18961 return 0;
18963 _ACEOF
18964 if ac_fn_c_try_compile "$LINENO"
18965 then :
18966 ac_cv_c_string_h_warnings=no
18967 else $as_nop
18968 ac_cv_c_string_h_warnings=yes
18970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18973 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18974 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18975 CFLAGS=$saved_string_h_CFLAGS
18978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18979 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18980 if test ${ac_cv_cflags__Wlogical_op+y}
18981 then :
18982 printf %s "(cached) " >&6
18983 else $as_nop
18984 ac_wine_try_cflags_saved=$CFLAGS
18985 CFLAGS="$CFLAGS -Wlogical-op"
18986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18987 /* end confdefs.h. */
18988 int main(int argc, char **argv) { return 0; }
18989 _ACEOF
18990 if ac_fn_c_try_link "$LINENO"
18991 then :
18992 ac_cv_cflags__Wlogical_op=yes
18993 else $as_nop
18994 ac_cv_cflags__Wlogical_op=no
18996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18997 conftest$ac_exeext conftest.$ac_ext
18998 CFLAGS=$ac_wine_try_cflags_saved
19000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19001 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19002 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19003 then :
19004 saved_string_h_CFLAGS=$CFLAGS
19005 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19007 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19008 if test ${ac_cv_c_logicalop_noisy+y}
19009 then :
19010 printf %s "(cached) " >&6
19011 else $as_nop
19012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19013 /* end confdefs.h. */
19014 #include <string.h>
19015 char*f(const char *h,char n) {return strchr(h,n);}
19017 main (void)
19021 return 0;
19023 _ACEOF
19024 if ac_fn_c_try_compile "$LINENO"
19025 then :
19026 ac_cv_c_logicalop_noisy=no
19027 else $as_nop
19028 ac_cv_c_logicalop_noisy=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_logicalop_noisy" >&5
19033 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19034 CFLAGS=$saved_string_h_CFLAGS
19035 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19039 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19040 if test ${wine_cv_64bit_compare_swap+y}
19041 then :
19042 printf %s "(cached) " >&6
19043 else $as_nop
19044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19045 /* end confdefs.h. */
19046 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19047 #error no
19048 #endif
19050 main (void)
19054 return 0;
19056 _ACEOF
19057 if ac_fn_c_try_compile "$LINENO"
19058 then :
19059 wine_cv_64bit_compare_swap="none needed"
19060 else $as_nop
19061 case $host_cpu in
19062 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19063 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19064 *) wine_cv_64bit_compare_swap="unknown" ;;
19065 esac
19066 if test "x$wine_cv_64bit_compare_swap" != xunknown
19067 then
19068 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19070 /* end confdefs.h. */
19071 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19072 #error no
19073 #endif
19075 main (void)
19079 return 0;
19081 _ACEOF
19082 if ac_fn_c_try_compile "$LINENO"
19083 then :
19085 else $as_nop
19086 wine_cv_64bit_compare_swap="unknown"
19088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19089 CFLAGS=$saved_CFLAGS
19092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19095 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19096 case "$wine_cv_64bit_compare_swap" in
19097 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19098 "none needed") ;;
19099 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19100 esac
19102 ac_debug_format_seen=""
19103 for ac_flag in $CFLAGS; do
19104 case $ac_flag in
19105 -gdwarf*) ac_debug_format_seen=yes ;;
19106 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19107 esac
19108 done
19109 if test "x$ac_debug_format_seen" = xdefault
19110 then
19111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19112 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19113 if test ${ac_cv_cflags__gdwarf_4+y}
19114 then :
19115 printf %s "(cached) " >&6
19116 else $as_nop
19117 ac_wine_try_cflags_saved=$CFLAGS
19118 CFLAGS="$CFLAGS -gdwarf-4"
19119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19120 /* end confdefs.h. */
19121 int main(int argc, char **argv) { return 0; }
19122 _ACEOF
19123 if ac_fn_c_try_link "$LINENO"
19124 then :
19125 ac_cv_cflags__gdwarf_4=yes
19126 else $as_nop
19127 ac_cv_cflags__gdwarf_4=no
19129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19130 conftest$ac_exeext conftest.$ac_ext
19131 CFLAGS=$ac_wine_try_cflags_saved
19133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19134 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19135 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19136 then :
19137 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19141 MSVCRTFLAGS=""
19143 case $host_os in
19144 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19145 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19146 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19147 then :
19148 printf %s "(cached) " >&6
19149 else $as_nop
19150 ac_wine_try_cflags_saved=$CFLAGS
19151 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19153 /* end confdefs.h. */
19154 int main(int argc, char **argv) { return 0; }
19155 _ACEOF
19156 if ac_fn_c_try_link "$LINENO"
19157 then :
19158 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19159 else $as_nop
19160 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19163 conftest$ac_exeext conftest.$ac_ext
19164 CFLAGS=$ac_wine_try_cflags_saved
19166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19167 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19168 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19169 then :
19170 DELAYLOADFLAG="-Wl,-delayload,"
19172 fi ;;
19173 *) MSVCRTFLAGS="-D_WIN32"
19174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19175 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19176 if test ${ac_cv_cflags__fno_builtin+y}
19177 then :
19178 printf %s "(cached) " >&6
19179 else $as_nop
19180 ac_wine_try_cflags_saved=$CFLAGS
19181 CFLAGS="$CFLAGS -fno-builtin"
19182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19183 /* end confdefs.h. */
19184 int main(int argc, char **argv) { return 0; }
19185 _ACEOF
19186 if ac_fn_c_try_link "$LINENO"
19187 then :
19188 ac_cv_cflags__fno_builtin=yes
19189 else $as_nop
19190 ac_cv_cflags__fno_builtin=no
19192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19193 conftest$ac_exeext conftest.$ac_ext
19194 CFLAGS=$ac_wine_try_cflags_saved
19196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19197 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19198 if test "x$ac_cv_cflags__fno_builtin" = xyes
19199 then :
19200 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19203 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19204 if test ${ac_cv_cflags__fshort_wchar+y}
19205 then :
19206 printf %s "(cached) " >&6
19207 else $as_nop
19208 ac_wine_try_cflags_saved=$CFLAGS
19209 CFLAGS="$CFLAGS -fshort-wchar"
19210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19211 /* end confdefs.h. */
19212 int main(int argc, char **argv) { return 0; }
19213 _ACEOF
19214 if ac_fn_c_try_link "$LINENO"
19215 then :
19216 ac_cv_cflags__fshort_wchar=yes
19217 else $as_nop
19218 ac_cv_cflags__fshort_wchar=no
19220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19221 conftest$ac_exeext conftest.$ac_ext
19222 CFLAGS=$ac_wine_try_cflags_saved
19224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19225 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19226 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19227 then :
19228 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19231 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19232 if test ${ac_cv_cflags__Wno_format+y}
19233 then :
19234 printf %s "(cached) " >&6
19235 else $as_nop
19236 ac_wine_try_cflags_saved=$CFLAGS
19237 CFLAGS="$CFLAGS -Wno-format"
19238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19239 /* end confdefs.h. */
19240 int main(int argc, char **argv) { return 0; }
19241 _ACEOF
19242 if ac_fn_c_try_link "$LINENO"
19243 then :
19244 ac_cv_cflags__Wno_format=yes
19245 else $as_nop
19246 ac_cv_cflags__Wno_format=no
19248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19249 conftest$ac_exeext conftest.$ac_ext
19250 CFLAGS=$ac_wine_try_cflags_saved
19252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19253 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19254 if test "x$ac_cv_cflags__Wno_format" = xyes
19255 then :
19256 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19257 fi ;;
19258 esac
19260 case $host_cpu in
19261 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19262 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19263 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19264 then :
19265 printf %s "(cached) " >&6
19266 else $as_nop
19267 ac_wine_try_cflags_saved=$CFLAGS
19268 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19270 /* end confdefs.h. */
19271 int main(int argc, char **argv) { return 0; }
19272 _ACEOF
19273 if ac_fn_c_try_link "$LINENO"
19274 then :
19275 ac_cv_cflags__fno_omit_frame_pointer=yes
19276 else $as_nop
19277 ac_cv_cflags__fno_omit_frame_pointer=no
19279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19280 conftest$ac_exeext conftest.$ac_ext
19281 CFLAGS=$ac_wine_try_cflags_saved
19283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19284 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19285 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19286 then :
19287 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19288 fi ;;
19289 *x86_64*)
19290 case $host_os in
19291 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19292 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19293 if test ${ac_cv_cflags__Wno_format+y}
19294 then :
19295 printf %s "(cached) " >&6
19296 else $as_nop
19297 ac_wine_try_cflags_saved=$CFLAGS
19298 CFLAGS="$CFLAGS -Wno-format"
19299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19300 /* end confdefs.h. */
19301 int main(int argc, char **argv) { return 0; }
19302 _ACEOF
19303 if ac_fn_c_try_link "$LINENO"
19304 then :
19305 ac_cv_cflags__Wno_format=yes
19306 else $as_nop
19307 ac_cv_cflags__Wno_format=no
19309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19310 conftest$ac_exeext conftest.$ac_ext
19311 CFLAGS=$ac_wine_try_cflags_saved
19313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19314 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19315 if test "x$ac_cv_cflags__Wno_format" = xyes
19316 then :
19317 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19318 fi ;;
19319 *) if test -z "$CROSSTARGET"
19320 then
19321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19322 printf %s "checking for working -mabi=ms... " >&6; }
19323 if test ${ac_cv_mabi_ms+y}
19324 then :
19325 printf %s "(cached) " >&6
19326 else $as_nop
19327 CFLAGS="$CFLAGS -mabi=ms"
19328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19329 /* end confdefs.h. */
19330 #include <stdarg.h>
19331 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19333 main (void)
19337 return 0;
19339 _ACEOF
19340 if ac_fn_c_try_compile "$LINENO"
19341 then :
19342 ac_cv_mabi_ms=yes
19343 else $as_nop
19344 ac_cv_mabi_ms=no
19346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19347 CFLAGS=$saved_CFLAGS
19349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19350 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19351 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
19353 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19354 esac ;;
19355 esac
19357 CFLAGS=$saved_CFLAGS
19359 if test "x$enable_werror" = "xyes"
19360 then
19361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19362 printf %s "checking whether the compiler supports -Werror... " >&6; }
19363 if test ${ac_cv_cflags__Werror+y}
19364 then :
19365 printf %s "(cached) " >&6
19366 else $as_nop
19367 ac_wine_try_cflags_saved=$CFLAGS
19368 CFLAGS="$CFLAGS -Werror"
19369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19370 /* end confdefs.h. */
19371 int main(int argc, char **argv) { return 0; }
19372 _ACEOF
19373 if ac_fn_c_try_link "$LINENO"
19374 then :
19375 ac_cv_cflags__Werror=yes
19376 else $as_nop
19377 ac_cv_cflags__Werror=no
19379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19380 conftest$ac_exeext conftest.$ac_ext
19381 CFLAGS=$ac_wine_try_cflags_saved
19383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19384 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19385 if test "x$ac_cv_cflags__Werror" = xyes
19386 then :
19387 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19390 if test "x$enable_build_id" = "xyes"
19391 then
19392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19393 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19394 if test ${ac_cv_cflags__Wl___build_id+y}
19395 then :
19396 printf %s "(cached) " >&6
19397 else $as_nop
19398 ac_wine_try_cflags_saved=$CFLAGS
19399 CFLAGS="$CFLAGS -Wl,--build-id"
19400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h. */
19402 int main(int argc, char **argv) { return 0; }
19403 _ACEOF
19404 if ac_fn_c_try_link "$LINENO"
19405 then :
19406 ac_cv_cflags__Wl___build_id=yes
19407 else $as_nop
19408 ac_cv_cflags__Wl___build_id=no
19410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19411 conftest$ac_exeext conftest.$ac_ext
19412 CFLAGS=$ac_wine_try_cflags_saved
19414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19415 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19416 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19417 then :
19418 CFLAGS="$CFLAGS -Wl,--build-id"
19419 LDFLAGS="$LDFLAGS -Wl,--build-id"
19425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19426 printf %s "checking for the need to disable Fortify... " >&6; }
19427 if test ${ac_cv_c_fortify_enabled+y}
19428 then :
19429 printf %s "(cached) " >&6
19430 else $as_nop
19431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19432 /* end confdefs.h. */
19433 #include <string.h>
19435 main (void)
19437 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19438 #error Fortify enabled
19439 #endif
19441 return 0;
19443 _ACEOF
19444 if ac_fn_c_try_compile "$LINENO"
19445 then :
19446 ac_cv_c_fortify_enabled=no
19447 else $as_nop
19448 ac_cv_c_fortify_enabled=yes
19450 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19453 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19454 if test "$ac_cv_c_fortify_enabled" = yes
19455 then
19456 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19461 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19462 if test ${ac_cv_c_cfi_support+y}
19463 then :
19464 printf %s "(cached) " >&6
19465 else $as_nop
19466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19467 /* end confdefs.h. */
19468 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19470 main (void)
19474 return 0;
19476 _ACEOF
19477 if ac_fn_c_try_compile "$LINENO"
19478 then :
19479 ac_cv_c_cfi_support="yes"
19480 else $as_nop
19481 ac_cv_c_cfi_support="no"
19483 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19486 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19487 if test "$ac_cv_c_cfi_support" = "yes"
19488 then
19489 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19490 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19491 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19492 else
19493 if test "x$enable_win64" = "xyes"
19494 then
19495 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19500 case $host_os in
19501 linux*)
19502 case $host_cpu in
19503 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19504 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19505 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19507 esac
19509 esac
19512 ac_save_CFLAGS="$CFLAGS"
19513 CFLAGS="$CFLAGS $BUILTINFLAG"
19514 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19515 if test "x$ac_cv_func_epoll_create" = xyes
19516 then :
19517 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19520 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19521 if test "x$ac_cv_func_fstatfs" = xyes
19522 then :
19523 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19526 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19527 if test "x$ac_cv_func_futimens" = xyes
19528 then :
19529 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19532 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19533 if test "x$ac_cv_func_futimes" = xyes
19534 then :
19535 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19538 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19539 if test "x$ac_cv_func_futimesat" = xyes
19540 then :
19541 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19544 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19545 if test "x$ac_cv_func_getattrlist" = xyes
19546 then :
19547 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19550 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19551 if test "x$ac_cv_func_getauxval" = xyes
19552 then :
19553 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19556 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19557 if test "x$ac_cv_func_getifaddrs" = xyes
19558 then :
19559 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19562 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19563 if test "x$ac_cv_func_getrandom" = xyes
19564 then :
19565 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19568 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19569 if test "x$ac_cv_func_kqueue" = xyes
19570 then :
19571 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19574 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19575 if test "x$ac_cv_func_mach_continuous_time" = xyes
19576 then :
19577 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19580 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19581 if test "x$ac_cv_func_pipe2" = xyes
19582 then :
19583 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19586 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19587 if test "x$ac_cv_func_port_create" = xyes
19588 then :
19589 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19592 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19593 if test "x$ac_cv_func_posix_fadvise" = xyes
19594 then :
19595 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19598 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19599 if test "x$ac_cv_func_posix_fallocate" = xyes
19600 then :
19601 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19604 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19605 if test "x$ac_cv_func_prctl" = xyes
19606 then :
19607 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19610 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19611 if test "x$ac_cv_func_proc_pidinfo" = xyes
19612 then :
19613 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19616 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19617 if test "x$ac_cv_func_sched_yield" = xyes
19618 then :
19619 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19622 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19623 if test "x$ac_cv_func_setproctitle" = xyes
19624 then :
19625 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19628 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19629 if test "x$ac_cv_func_setprogname" = xyes
19630 then :
19631 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19634 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19635 if test "x$ac_cv_func_sigprocmask" = xyes
19636 then :
19637 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19640 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19641 if test "x$ac_cv_func_sysinfo" = xyes
19642 then :
19643 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19646 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19647 if test "x$ac_cv_func_tcdrain" = xyes
19648 then :
19649 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19652 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19653 if test "x$ac_cv_func_thr_kill2" = xyes
19654 then :
19655 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19659 CFLAGS="$ac_save_CFLAGS"
19661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19662 printf %s "checking for library containing dlopen... " >&6; }
19663 if test ${ac_cv_search_dlopen+y}
19664 then :
19665 printf %s "(cached) " >&6
19666 else $as_nop
19667 ac_func_search_save_LIBS=$LIBS
19668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h. */
19671 /* Override any GCC internal prototype to avoid an error.
19672 Use char because int might match the return type of a GCC
19673 builtin and then its argument prototype would still apply. */
19674 char dlopen ();
19676 main (void)
19678 return dlopen ();
19680 return 0;
19682 _ACEOF
19683 for ac_lib in '' dl
19685 if test -z "$ac_lib"; then
19686 ac_res="none required"
19687 else
19688 ac_res=-l$ac_lib
19689 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19691 if ac_fn_c_try_link "$LINENO"
19692 then :
19693 ac_cv_search_dlopen=$ac_res
19695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19696 conftest$ac_exeext
19697 if test ${ac_cv_search_dlopen+y}
19698 then :
19699 break
19701 done
19702 if test ${ac_cv_search_dlopen+y}
19703 then :
19705 else $as_nop
19706 ac_cv_search_dlopen=no
19708 rm conftest.$ac_ext
19709 LIBS=$ac_func_search_save_LIBS
19711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19712 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19713 ac_res=$ac_cv_search_dlopen
19714 if test "$ac_res" != no
19715 then :
19716 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19720 ac_wine_check_funcs_save_LIBS="$LIBS"
19721 LIBS="$LIBS $DL_LIBS"
19722 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19723 if test "x$ac_cv_func_dlinfo" = xyes
19724 then :
19725 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19729 LIBS="$ac_wine_check_funcs_save_LIBS"
19731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19732 printf %s "checking for library containing gethostbyname... " >&6; }
19733 if test ${ac_cv_search_gethostbyname+y}
19734 then :
19735 printf %s "(cached) " >&6
19736 else $as_nop
19737 ac_func_search_save_LIBS=$LIBS
19738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19739 /* end confdefs.h. */
19741 /* Override any GCC internal prototype to avoid an error.
19742 Use char because int might match the return type of a GCC
19743 builtin and then its argument prototype would still apply. */
19744 char gethostbyname ();
19746 main (void)
19748 return gethostbyname ();
19750 return 0;
19752 _ACEOF
19753 for ac_lib in '' nsl
19755 if test -z "$ac_lib"; then
19756 ac_res="none required"
19757 else
19758 ac_res=-l$ac_lib
19759 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19761 if ac_fn_c_try_link "$LINENO"
19762 then :
19763 ac_cv_search_gethostbyname=$ac_res
19765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19766 conftest$ac_exeext
19767 if test ${ac_cv_search_gethostbyname+y}
19768 then :
19769 break
19771 done
19772 if test ${ac_cv_search_gethostbyname+y}
19773 then :
19775 else $as_nop
19776 ac_cv_search_gethostbyname=no
19778 rm conftest.$ac_ext
19779 LIBS=$ac_func_search_save_LIBS
19781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19782 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19783 ac_res=$ac_cv_search_gethostbyname
19784 if test "$ac_res" != no
19785 then :
19786 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19792 printf %s "checking for library containing connect... " >&6; }
19793 if test ${ac_cv_search_connect+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 connect ();
19806 main (void)
19808 return connect ();
19810 return 0;
19812 _ACEOF
19813 for ac_lib in '' socket
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_connect=$ac_res
19825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19826 conftest$ac_exeext
19827 if test ${ac_cv_search_connect+y}
19828 then :
19829 break
19831 done
19832 if test ${ac_cv_search_connect+y}
19833 then :
19835 else $as_nop
19836 ac_cv_search_connect=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_connect" >&5
19842 printf "%s\n" "$ac_cv_search_connect" >&6; }
19843 ac_res=$ac_cv_search_connect
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 inet_aton" >&5
19852 printf %s "checking for library containing inet_aton... " >&6; }
19853 if test ${ac_cv_search_inet_aton+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 inet_aton ();
19866 main (void)
19868 return inet_aton ();
19870 return 0;
19872 _ACEOF
19873 for ac_lib in '' resolv
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_inet_aton=$ac_res
19885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19886 conftest$ac_exeext
19887 if test ${ac_cv_search_inet_aton+y}
19888 then :
19889 break
19891 done
19892 if test ${ac_cv_search_inet_aton+y}
19893 then :
19895 else $as_nop
19896 ac_cv_search_inet_aton=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_inet_aton" >&5
19902 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19903 ac_res=$ac_cv_search_inet_aton
19904 if test "$ac_res" != no
19905 then :
19906 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19911 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19912 if test "x$ac_cv_func_getaddrinfo" = xyes
19913 then :
19914 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19919 case $host_os in
19920 darwin*|macosx*) ;;
19921 *) ac_save_LIBS=$LIBS
19922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19923 printf %s "checking for library containing clock_gettime... " >&6; }
19924 if test ${ac_cv_search_clock_gettime+y}
19925 then :
19926 printf %s "(cached) " >&6
19927 else $as_nop
19928 ac_func_search_save_LIBS=$LIBS
19929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19930 /* end confdefs.h. */
19932 /* Override any GCC internal prototype to avoid an error.
19933 Use char because int might match the return type of a GCC
19934 builtin and then its argument prototype would still apply. */
19935 char clock_gettime ();
19937 main (void)
19939 return clock_gettime ();
19941 return 0;
19943 _ACEOF
19944 for ac_lib in '' rt
19946 if test -z "$ac_lib"; then
19947 ac_res="none required"
19948 else
19949 ac_res=-l$ac_lib
19950 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19952 if ac_fn_c_try_link "$LINENO"
19953 then :
19954 ac_cv_search_clock_gettime=$ac_res
19956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19957 conftest$ac_exeext
19958 if test ${ac_cv_search_clock_gettime+y}
19959 then :
19960 break
19962 done
19963 if test ${ac_cv_search_clock_gettime+y}
19964 then :
19966 else $as_nop
19967 ac_cv_search_clock_gettime=no
19969 rm conftest.$ac_ext
19970 LIBS=$ac_func_search_save_LIBS
19972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19973 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19974 ac_res=$ac_cv_search_clock_gettime
19975 if test "$ac_res" != no
19976 then :
19977 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19979 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19981 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19985 LIBS=$ac_save_LIBS
19987 esac
19989 if test "x$with_ldap" != "xno"
19990 then
19991 if ${LDAP_CFLAGS:+false} :
19992 then :
19993 if test ${PKG_CONFIG+y}
19994 then :
19995 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
19999 if ${LDAP_LIBS:+false} :
20000 then :
20001 if test ${PKG_CONFIG+y}
20002 then :
20003 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20007 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20010 ac_save_CPPFLAGS=$CPPFLAGS
20011 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20012 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20013 if test "x$ac_cv_header_ldap_h" = xyes
20014 then :
20015 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20018 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20019 if test "x$ac_cv_header_lber_h" = xyes
20020 then :
20021 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20025 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20026 then
20027 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20029 if test "x$ac_cv_type_LDAPSortKey" = xyes
20030 then :
20031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20032 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20033 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20034 then :
20035 printf %s "(cached) " >&6
20036 else $as_nop
20037 ac_check_lib_save_LIBS=$LIBS
20038 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20040 /* end confdefs.h. */
20042 /* Override any GCC internal prototype to avoid an error.
20043 Use char because int might match the return type of a GCC
20044 builtin and then its argument prototype would still apply. */
20045 char ldap_initialize ();
20047 main (void)
20049 return ldap_initialize ();
20051 return 0;
20053 _ACEOF
20054 if ac_fn_c_try_link "$LINENO"
20055 then :
20056 ac_cv_lib_ldap_ldap_initialize=yes
20057 else $as_nop
20058 ac_cv_lib_ldap_ldap_initialize=no
20060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20061 conftest$ac_exeext conftest.$ac_ext
20062 LIBS=$ac_check_lib_save_LIBS
20064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20065 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20066 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20067 then :
20068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20069 printf %s "checking for ber_init in -llber... " >&6; }
20070 if test ${ac_cv_lib_lber_ber_init+y}
20071 then :
20072 printf %s "(cached) " >&6
20073 else $as_nop
20074 ac_check_lib_save_LIBS=$LIBS
20075 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20077 /* end confdefs.h. */
20079 /* Override any GCC internal prototype to avoid an error.
20080 Use char because int might match the return type of a GCC
20081 builtin and then its argument prototype would still apply. */
20082 char ber_init ();
20084 main (void)
20086 return ber_init ();
20088 return 0;
20090 _ACEOF
20091 if ac_fn_c_try_link "$LINENO"
20092 then :
20093 ac_cv_lib_lber_ber_init=yes
20094 else $as_nop
20095 ac_cv_lib_lber_ber_init=no
20097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20098 conftest$ac_exeext conftest.$ac_ext
20099 LIBS=$ac_check_lib_save_LIBS
20101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20102 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20103 if test "x$ac_cv_lib_lber_ber_init" = xyes
20104 then :
20106 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20108 else $as_nop
20109 LDAP_LIBS=""
20112 else $as_nop
20113 LDAP_LIBS=""
20116 else $as_nop
20117 LDAP_LIBS=""
20120 else
20121 LDAP_LIBS=""
20123 CPPFLAGS=$ac_save_CPPFLAGS
20126 if test "x$LDAP_LIBS" = "x"
20127 then :
20128 case "x$with_ldap" in
20129 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20130 xno) ;;
20131 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20132 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20133 esac
20137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20138 printf %s "checking for sched_setaffinity... " >&6; }
20139 if test ${wine_cv_have_sched_setaffinity+y}
20140 then :
20141 printf %s "(cached) " >&6
20142 else $as_nop
20143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20144 /* end confdefs.h. */
20145 #include <sched.h>
20147 main (void)
20149 sched_setaffinity(0, 0, 0);
20151 return 0;
20153 _ACEOF
20154 if ac_fn_c_try_link "$LINENO"
20155 then :
20156 wine_cv_have_sched_setaffinity=yes
20157 else $as_nop
20158 wine_cv_have_sched_setaffinity=no
20160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20161 conftest$ac_exeext conftest.$ac_ext
20163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20164 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20165 if test "$wine_cv_have_sched_setaffinity" = "yes"
20166 then
20168 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20174 printf %s "checking for inline... " >&6; }
20175 if test ${ac_cv_c_inline+y}
20176 then :
20177 printf %s "(cached) " >&6
20178 else $as_nop
20179 ac_cv_c_inline=no
20180 for ac_kw in inline __inline__ __inline; do
20181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20183 #ifndef __cplusplus
20184 typedef int foo_t;
20185 static $ac_kw foo_t static_foo (void) {return 0; }
20186 $ac_kw foo_t foo (void) {return 0; }
20187 #endif
20189 _ACEOF
20190 if ac_fn_c_try_compile "$LINENO"
20191 then :
20192 ac_cv_c_inline=$ac_kw
20194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20195 test "$ac_cv_c_inline" != no && break
20196 done
20199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20200 printf "%s\n" "$ac_cv_c_inline" >&6; }
20202 case $ac_cv_c_inline in
20203 inline | yes) ;;
20205 case $ac_cv_c_inline in
20206 no) ac_val=;;
20207 *) ac_val=$ac_cv_c_inline;;
20208 esac
20209 cat >>confdefs.h <<_ACEOF
20210 #ifndef __cplusplus
20211 #define inline $ac_val
20212 #endif
20213 _ACEOF
20215 esac
20217 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20218 #include <signal.h>
20220 if test "x$ac_cv_type_sigset_t" = xyes
20221 then :
20223 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20228 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20230 if test "x$ac_cv_type_request_sense" = xyes
20231 then :
20233 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20239 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20240 #include <sys/socket.h>
20241 #ifdef HAVE_SYS_SOCKETVAR_H
20242 #include <sys/socketvar.h>
20243 #endif
20244 #ifdef HAVE_NET_ROUTE_H
20245 #include <net/route.h>
20246 #endif
20247 #ifdef HAVE_NETINET_IN_H
20248 #include <netinet/in.h>
20249 #endif
20250 #ifdef HAVE_NETINET_IN_SYSTM_H
20251 #include <netinet/in_systm.h>
20252 #endif
20253 #ifdef HAVE_NETINET_IP_H
20254 #include <netinet/ip.h>
20255 #endif
20256 #ifdef HAVE_NETINET_IN_PCB_H
20257 #include <netinet/in_pcb.h>
20258 #endif
20260 if test "x$ac_cv_type_struct_xinpgen" = xyes
20261 then :
20263 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20270 printf %s "checking for sigaddset... " >&6; }
20271 if test ${wine_cv_have_sigaddset+y}
20272 then :
20273 printf %s "(cached) " >&6
20274 else $as_nop
20275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20276 /* end confdefs.h. */
20277 #include <signal.h>
20279 main (void)
20281 sigset_t set; sigaddset(&set,SIGTERM);
20283 return 0;
20285 _ACEOF
20286 if ac_fn_c_try_link "$LINENO"
20287 then :
20288 wine_cv_have_sigaddset=yes
20289 else $as_nop
20290 wine_cv_have_sigaddset=no
20292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20293 conftest$ac_exeext conftest.$ac_ext
20295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20296 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20297 if test "$wine_cv_have_sigaddset" = "yes"
20298 then
20300 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20306 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20307 if test ${wine_cv_linux_gethostbyname_r_6+y}
20308 then :
20309 printf %s "(cached) " >&6
20310 else $as_nop
20311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20312 /* end confdefs.h. */
20313 #include <netdb.h>
20315 main (void)
20318 char *name=0;
20319 struct hostent he;
20320 struct hostent *result;
20321 char *buf=0;
20322 int bufsize=0;
20323 int errnr;
20324 char *addr=0;
20325 int addrlen=0;
20326 int addrtype=0;
20327 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20328 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20331 return 0;
20333 _ACEOF
20334 if ac_fn_c_try_link "$LINENO"
20335 then :
20336 wine_cv_linux_gethostbyname_r_6=yes
20337 else $as_nop
20338 wine_cv_linux_gethostbyname_r_6=no
20341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20342 conftest$ac_exeext conftest.$ac_ext
20345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20346 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20347 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20348 then
20350 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20354 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20355 #include <sys/socket.h>
20356 #ifdef HAVE_SYS_UN_H
20357 # include <sys/un.h>
20358 #endif
20360 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20361 then :
20363 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20367 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20368 #include <sys/socket.h>
20369 #ifdef HAVE_SYS_UN_H
20370 # include <sys/un.h>
20371 #endif
20373 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20374 then :
20376 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20382 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20383 #ifdef HAVE_SCSI_SG_H
20384 #include <scsi/sg.h>
20385 #endif
20387 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20388 then :
20390 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20394 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>
20395 #ifdef HAVE_SCSI_SG_H
20396 #include <scsi/sg.h>
20397 #endif
20399 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20400 then :
20402 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20408 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20410 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20411 then :
20413 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20419 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20420 #ifdef HAVE_SYS_MTIO_H
20421 #include <sys/mtio.h>
20422 #endif
20424 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20425 then :
20427 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20431 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20432 #ifdef HAVE_SYS_MTIO_H
20433 #include <sys/mtio.h>
20434 #endif
20436 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20437 then :
20439 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20443 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20444 #ifdef HAVE_SYS_MTIO_H
20445 #include <sys/mtio.h>
20446 #endif
20448 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20449 then :
20451 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20457 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20458 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20459 then :
20461 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20465 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20466 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20467 then :
20469 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20473 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20474 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20475 then :
20477 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20481 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20482 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20483 then :
20485 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20489 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20490 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20491 then :
20493 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20497 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20498 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20499 then :
20501 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20505 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20506 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20507 then :
20509 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20513 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20514 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20515 then :
20517 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20521 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20522 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20523 then :
20525 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20529 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20530 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20531 then :
20533 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20537 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20538 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20539 then :
20541 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20547 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>
20548 #ifdef HAVE_NETINET_IN_H
20549 #include <netinet/in.h>
20550 #endif
20552 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20553 then :
20555 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20561 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
20562 #include <resolv.h>
20563 #endif
20565 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20566 then :
20568 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20574 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20575 #include <netinet/in.h>
20576 #endif
20578 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20579 then :
20581 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20587 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20588 #ifdef HAVE_SYS_SOCKETVAR_H
20589 #include <sys/socketvar.h>
20590 #endif
20591 #ifdef HAVE_NETINET_IN_H
20592 #include <netinet/in.h>
20593 #endif
20594 #ifdef HAVE_NETINET_IP_VAR_H
20595 #include <netinet/ip_var.h>
20596 #endif
20598 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20599 then :
20601 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20607 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
20608 #include <netinet/ip_var.h>
20609 #endif
20611 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20612 then :
20614 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20620 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20621 #ifdef HAVE_SYS_SOCKETVAR_H
20622 #include <sys/socketvar.h>
20623 #endif
20624 #ifdef HAVE_NETINET_IN_H
20625 #include <netinet/in.h>
20626 #endif
20627 #ifdef HAVE_NETINET_TCP_H
20628 #include <netinet/tcp.h>
20629 #endif
20630 #ifdef HAVE_NETINET_TCP_VAR_H
20631 #include <netinet/tcp_var.h>
20632 #endif
20634 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20635 then :
20637 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20643 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
20644 #include <netinet/tcp_var.h>
20645 #endif
20647 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20648 then :
20650 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20656 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20657 #ifdef HAVE_NETINET_IN_H
20658 #include <netinet/in.h>
20659 #endif
20660 #ifdef HAVE_NETINET_IP_VAR_H
20661 #include <netinet/ip_var.h>
20662 #endif
20663 #ifdef HAVE_NETINET_UDP_H
20664 #include <netinet/udp.h>
20665 #endif
20666 #ifdef HAVE_NETINET_UDP_VAR_H
20667 #include <netinet/udp_var.h>
20668 #endif
20670 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20671 then :
20673 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20679 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20680 #ifdef HAVE_NET_IF_H
20681 # include <net/if.h>
20682 #endif
20684 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20685 then :
20687 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20693 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20694 # include <sys/sysinfo.h>
20695 #endif
20697 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20698 then :
20700 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20704 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20705 # include <sys/sysinfo.h>
20706 #endif
20708 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20709 then :
20711 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20717 LIBS="$ac_save_LIBS"
20719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20720 printf %s "checking for __builtin_popcount... " >&6; }
20721 if test ${ac_cv_have___builtin_popcount+y}
20722 then :
20723 printf %s "(cached) " >&6
20724 else $as_nop
20725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20726 /* end confdefs.h. */
20729 main (void)
20731 return __builtin_popcount(1)
20733 return 0;
20735 _ACEOF
20736 if ac_fn_c_try_link "$LINENO"
20737 then :
20738 ac_cv_have___builtin_popcount="yes"
20739 else $as_nop
20740 ac_cv_have___builtin_popcount="no"
20742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20743 conftest$ac_exeext conftest.$ac_ext
20745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20746 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20747 if test "$ac_cv_have___builtin_popcount" = "yes"
20748 then
20750 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20755 printf %s "checking for __clear_cache... " >&6; }
20756 if test ${ac_cv_have___clear_cache+y}
20757 then :
20758 printf %s "(cached) " >&6
20759 else $as_nop
20760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20761 /* end confdefs.h. */
20764 main (void)
20766 __clear_cache((void*)0, (void*)0); return 0;
20768 return 0;
20770 _ACEOF
20771 if ac_fn_c_try_link "$LINENO"
20772 then :
20773 ac_cv_have___clear_cache="yes"
20774 else $as_nop
20775 ac_cv_have___clear_cache="no"
20777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20778 conftest$ac_exeext conftest.$ac_ext
20780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20781 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20782 if test "$ac_cv_have___clear_cache" = "yes"
20783 then
20785 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20790 case $host_cpu in
20791 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20792 printf %s "checking whether we need to define __i386__... " >&6; }
20793 if test ${ac_cv_cpp_def___i386__+y}
20794 then :
20795 printf %s "(cached) " >&6
20796 else $as_nop
20797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20798 /* end confdefs.h. */
20799 #ifndef __i386__
20801 #endif
20802 _ACEOF
20803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20804 $EGREP "yes" >/dev/null 2>&1
20805 then :
20806 ac_cv_cpp_def___i386__=yes
20807 else $as_nop
20808 ac_cv_cpp_def___i386__=no
20810 rm -rf conftest*
20813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20814 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20815 if test "x$ac_cv_cpp_def___i386__" = xyes
20816 then :
20817 CFLAGS="$CFLAGS -D__i386__"
20818 LINTFLAGS="$LINTFLAGS -D__i386__"
20819 fi ;;
20820 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20821 printf %s "checking whether we need to define __x86_64__... " >&6; }
20822 if test ${ac_cv_cpp_def___x86_64__+y}
20823 then :
20824 printf %s "(cached) " >&6
20825 else $as_nop
20826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20827 /* end confdefs.h. */
20828 #ifndef __x86_64__
20830 #endif
20831 _ACEOF
20832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20833 $EGREP "yes" >/dev/null 2>&1
20834 then :
20835 ac_cv_cpp_def___x86_64__=yes
20836 else $as_nop
20837 ac_cv_cpp_def___x86_64__=no
20839 rm -rf conftest*
20842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20843 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20844 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20845 then :
20846 CFLAGS="$CFLAGS -D__x86_64__"
20847 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20848 fi ;;
20849 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20850 printf %s "checking whether we need to define __sparc64__... " >&6; }
20851 if test ${ac_cv_cpp_def___sparc64__+y}
20852 then :
20853 printf %s "(cached) " >&6
20854 else $as_nop
20855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20856 /* end confdefs.h. */
20857 #ifndef __sparc64__
20859 #endif
20860 _ACEOF
20861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20862 $EGREP "yes" >/dev/null 2>&1
20863 then :
20864 ac_cv_cpp_def___sparc64__=yes
20865 else $as_nop
20866 ac_cv_cpp_def___sparc64__=no
20868 rm -rf conftest*
20871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20872 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20873 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20874 then :
20875 CFLAGS="$CFLAGS -D__sparc64__"
20876 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20877 fi ;;
20878 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20879 printf %s "checking whether we need to define __sparc__... " >&6; }
20880 if test ${ac_cv_cpp_def___sparc__+y}
20881 then :
20882 printf %s "(cached) " >&6
20883 else $as_nop
20884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20885 /* end confdefs.h. */
20886 #ifndef __sparc__
20888 #endif
20889 _ACEOF
20890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20891 $EGREP "yes" >/dev/null 2>&1
20892 then :
20893 ac_cv_cpp_def___sparc__=yes
20894 else $as_nop
20895 ac_cv_cpp_def___sparc__=no
20897 rm -rf conftest*
20900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20901 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20902 if test "x$ac_cv_cpp_def___sparc__" = xyes
20903 then :
20904 CFLAGS="$CFLAGS -D__sparc__"
20905 LINTFLAGS="$LINTFLAGS -D__sparc__"
20906 fi ;;
20907 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20908 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20909 if test ${ac_cv_cpp_def___powerpc64__+y}
20910 then :
20911 printf %s "(cached) " >&6
20912 else $as_nop
20913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20914 /* end confdefs.h. */
20915 #ifndef __powerpc64__
20917 #endif
20918 _ACEOF
20919 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20920 $EGREP "yes" >/dev/null 2>&1
20921 then :
20922 ac_cv_cpp_def___powerpc64__=yes
20923 else $as_nop
20924 ac_cv_cpp_def___powerpc64__=no
20926 rm -rf conftest*
20929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20930 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20931 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20932 then :
20933 CFLAGS="$CFLAGS -D__powerpc64__"
20934 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20935 fi ;;
20936 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20937 printf %s "checking whether we need to define __powerpc__... " >&6; }
20938 if test ${ac_cv_cpp_def___powerpc__+y}
20939 then :
20940 printf %s "(cached) " >&6
20941 else $as_nop
20942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20943 /* end confdefs.h. */
20944 #ifndef __powerpc__
20946 #endif
20947 _ACEOF
20948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20949 $EGREP "yes" >/dev/null 2>&1
20950 then :
20951 ac_cv_cpp_def___powerpc__=yes
20952 else $as_nop
20953 ac_cv_cpp_def___powerpc__=no
20955 rm -rf conftest*
20958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20959 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20960 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20961 then :
20962 CFLAGS="$CFLAGS -D__powerpc__"
20963 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20964 fi ;;
20965 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20966 printf %s "checking whether we need to define __aarch64__... " >&6; }
20967 if test ${ac_cv_cpp_def___aarch64__+y}
20968 then :
20969 printf %s "(cached) " >&6
20970 else $as_nop
20971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20972 /* end confdefs.h. */
20973 #ifndef __aarch64__
20975 #endif
20976 _ACEOF
20977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20978 $EGREP "yes" >/dev/null 2>&1
20979 then :
20980 ac_cv_cpp_def___aarch64__=yes
20981 else $as_nop
20982 ac_cv_cpp_def___aarch64__=no
20984 rm -rf conftest*
20987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20988 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20989 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20990 then :
20991 CFLAGS="$CFLAGS -D__aarch64__"
20992 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20993 fi ;;
20994 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20995 printf %s "checking whether we need to define __arm__... " >&6; }
20996 if test ${ac_cv_cpp_def___arm__+y}
20997 then :
20998 printf %s "(cached) " >&6
20999 else $as_nop
21000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21001 /* end confdefs.h. */
21002 #ifndef __arm__
21004 #endif
21005 _ACEOF
21006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21007 $EGREP "yes" >/dev/null 2>&1
21008 then :
21009 ac_cv_cpp_def___arm__=yes
21010 else $as_nop
21011 ac_cv_cpp_def___arm__=no
21013 rm -rf conftest*
21016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21017 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21018 if test "x$ac_cv_cpp_def___arm__" = xyes
21019 then :
21020 CFLAGS="$CFLAGS -D__arm__"
21021 LINTFLAGS="$LINTFLAGS -D__arm__"
21022 fi ;;
21023 esac
21025 case $host_vendor in
21026 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21027 printf %s "checking whether we need to define __sun__... " >&6; }
21028 if test ${ac_cv_cpp_def___sun__+y}
21029 then :
21030 printf %s "(cached) " >&6
21031 else $as_nop
21032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21034 #ifndef __sun__
21036 #endif
21037 _ACEOF
21038 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21039 $EGREP "yes" >/dev/null 2>&1
21040 then :
21041 ac_cv_cpp_def___sun__=yes
21042 else $as_nop
21043 ac_cv_cpp_def___sun__=no
21045 rm -rf conftest*
21048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21049 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21050 if test "x$ac_cv_cpp_def___sun__" = xyes
21051 then :
21052 CFLAGS="$CFLAGS -D__sun__"
21053 LINTFLAGS="$LINTFLAGS -D__sun__"
21054 fi ;;
21055 esac
21061 ac_config_commands="$ac_config_commands include/stamp-h"
21063 printf %s "creating Makefile rules..." >&6
21065 makedep_flags=""
21066 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21068 wine_srcdir=
21069 test "$srcdir" = . || wine_srcdir="$srcdir/"
21071 ac_config_links="$ac_config_links wine:tools/winewrapper"
21072 wine_fn_config_symlink wine
21073 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21074 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21075 wine_fn_config_symlink wine64
21078 wine_fn_config_makefile dlls/acledit enable_acledit
21079 wine_fn_config_makefile dlls/aclui enable_aclui
21080 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21081 wine_fn_config_makefile dlls/activeds enable_activeds
21082 wine_fn_config_makefile dlls/activeds/tests enable_tests
21083 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21084 wine_fn_config_makefile dlls/adsldp enable_adsldp
21085 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21086 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21087 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21088 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21089 wine_fn_config_makefile dlls/advpack enable_advpack
21090 wine_fn_config_makefile dlls/advpack/tests enable_tests
21091 wine_fn_config_makefile dlls/amsi enable_amsi
21092 wine_fn_config_makefile dlls/amstream enable_amstream
21093 wine_fn_config_makefile dlls/amstream/tests enable_tests
21094 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21095 wine_fn_config_makefile dlls/apphelp enable_apphelp
21096 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21097 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21098 wine_fn_config_makefile dlls/atl enable_atl
21099 wine_fn_config_makefile dlls/atl/tests enable_tests
21100 wine_fn_config_makefile dlls/atl100 enable_atl100
21101 wine_fn_config_makefile dlls/atl100/tests enable_tests
21102 wine_fn_config_makefile dlls/atl110 enable_atl110
21103 wine_fn_config_makefile dlls/atl80 enable_atl80
21104 wine_fn_config_makefile dlls/atl80/tests enable_tests
21105 wine_fn_config_makefile dlls/atl90 enable_atl90
21106 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21107 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21108 wine_fn_config_makefile dlls/atmlib enable_atmlib
21109 wine_fn_config_makefile dlls/authz enable_authz
21110 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21111 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21112 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21113 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21114 wine_fn_config_makefile dlls/avrt enable_avrt
21115 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21116 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21117 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21118 wine_fn_config_makefile dlls/browseui enable_browseui
21119 wine_fn_config_makefile dlls/browseui/tests enable_tests
21120 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21121 wine_fn_config_makefile dlls/cabinet enable_cabinet
21122 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21123 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21124 wine_fn_config_makefile dlls/cards enable_cards
21125 wine_fn_config_makefile dlls/cdosys enable_cdosys
21126 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21127 wine_fn_config_makefile dlls/clusapi enable_clusapi
21128 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21129 wine_fn_config_makefile dlls/combase enable_combase
21130 wine_fn_config_makefile dlls/combase/tests enable_tests
21131 wine_fn_config_makefile dlls/comcat enable_comcat
21132 wine_fn_config_makefile dlls/comcat/tests enable_tests
21133 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21134 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21135 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21136 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21137 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21138 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21139 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21140 wine_fn_config_makefile dlls/compstui enable_compstui
21141 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21142 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21143 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21144 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21145 wine_fn_config_makefile dlls/connect enable_connect
21146 wine_fn_config_makefile dlls/credui enable_credui
21147 wine_fn_config_makefile dlls/credui/tests enable_tests
21148 wine_fn_config_makefile dlls/crtdll enable_crtdll
21149 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21150 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21151 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21152 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21153 wine_fn_config_makefile dlls/cryptext enable_cryptext
21154 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21155 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21156 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21157 wine_fn_config_makefile dlls/cryptui enable_cryptui
21158 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21159 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21160 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21161 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21162 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21163 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21164 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21165 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21166 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21167 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21168 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21169 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21170 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21171 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21172 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21173 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21174 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21175 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21176 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21177 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21178 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21179 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21180 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21181 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21182 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21183 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21184 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21185 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21186 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21187 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21188 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21189 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21190 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21191 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21192 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21193 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21194 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21195 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21196 wine_fn_config_makefile dlls/d3dim enable_d3dim
21197 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21198 wine_fn_config_makefile dlls/d3drm enable_d3drm
21199 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21200 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21201 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21202 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21203 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21204 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21205 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21206 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21207 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21208 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21209 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21210 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21211 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21212 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21213 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21214 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21215 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21216 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21217 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21218 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21219 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21220 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21221 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21222 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21223 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21224 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21225 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21226 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21227 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21228 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21229 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21230 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21231 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21232 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21233 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21234 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21235 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21236 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21237 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21238 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21239 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21240 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21241 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21242 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21243 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21244 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21245 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21246 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21247 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21248 wine_fn_config_makefile dlls/davclnt enable_davclnt
21249 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21250 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21251 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21252 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21253 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21254 wine_fn_config_makefile dlls/dcomp enable_dcomp
21255 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21256 wine_fn_config_makefile dlls/ddraw enable_ddraw
21257 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21258 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21259 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21260 wine_fn_config_makefile dlls/devenum enable_devenum
21261 wine_fn_config_makefile dlls/devenum/tests enable_tests
21262 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21263 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21264 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21265 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21266 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21267 wine_fn_config_makefile dlls/difxapi enable_difxapi
21268 wine_fn_config_makefile dlls/dinput enable_dinput
21269 wine_fn_config_makefile dlls/dinput/tests enable_tests
21270 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21271 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21272 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21273 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21274 wine_fn_config_makefile dlls/dispex enable_dispex
21275 wine_fn_config_makefile dlls/dispex/tests enable_tests
21276 wine_fn_config_makefile dlls/display.drv16 enable_win16
21277 wine_fn_config_makefile dlls/dmband enable_dmband
21278 wine_fn_config_makefile dlls/dmband/tests enable_tests
21279 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21280 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21281 wine_fn_config_makefile dlls/dmime enable_dmime
21282 wine_fn_config_makefile dlls/dmime/tests enable_tests
21283 wine_fn_config_makefile dlls/dmloader enable_dmloader
21284 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21285 wine_fn_config_makefile dlls/dmscript enable_dmscript
21286 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21287 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21288 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21289 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21290 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21291 wine_fn_config_makefile dlls/dmusic enable_dmusic
21292 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21293 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21294 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21295 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21296 wine_fn_config_makefile dlls/dplay enable_dplay
21297 wine_fn_config_makefile dlls/dplayx enable_dplayx
21298 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21299 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21300 wine_fn_config_makefile dlls/dpnet enable_dpnet
21301 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21302 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21303 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21304 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21305 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21306 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21307 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21308 wine_fn_config_makefile dlls/drmclien enable_drmclien
21309 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21310 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21311 wine_fn_config_makefile dlls/dsound enable_dsound
21312 wine_fn_config_makefile dlls/dsound/tests enable_tests
21313 wine_fn_config_makefile dlls/dsquery enable_dsquery
21314 wine_fn_config_makefile dlls/dssenh enable_dssenh
21315 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21316 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21317 wine_fn_config_makefile dlls/dswave enable_dswave
21318 wine_fn_config_makefile dlls/dswave/tests enable_tests
21319 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21320 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21321 wine_fn_config_makefile dlls/dwrite enable_dwrite
21322 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21323 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21324 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21325 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21326 wine_fn_config_makefile dlls/dxgi enable_dxgi
21327 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21328 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21329 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21330 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21331 wine_fn_config_makefile dlls/esent enable_esent
21332 wine_fn_config_makefile dlls/evr enable_evr
21333 wine_fn_config_makefile dlls/evr/tests enable_tests
21334 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21335 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21336 wine_fn_config_makefile dlls/faultrep enable_faultrep
21337 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21338 wine_fn_config_makefile dlls/feclient enable_feclient
21339 wine_fn_config_makefile dlls/fltlib enable_fltlib
21340 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21341 wine_fn_config_makefile dlls/fntcache enable_fntcache
21342 wine_fn_config_makefile dlls/fontsub enable_fontsub
21343 wine_fn_config_makefile dlls/fusion enable_fusion
21344 wine_fn_config_makefile dlls/fusion/tests enable_tests
21345 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21346 wine_fn_config_makefile dlls/gameux enable_gameux
21347 wine_fn_config_makefile dlls/gameux/tests enable_tests
21348 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21349 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21350 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21351 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21352 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21353 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21354 wine_fn_config_makefile dlls/glu32 enable_glu32
21355 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21356 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21357 wine_fn_config_makefile dlls/hal enable_hal
21358 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21359 wine_fn_config_makefile dlls/hid enable_hid
21360 wine_fn_config_makefile dlls/hid/tests enable_tests
21361 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21362 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21363 wine_fn_config_makefile dlls/hlink enable_hlink
21364 wine_fn_config_makefile dlls/hlink/tests enable_tests
21365 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21366 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21367 wine_fn_config_makefile dlls/http.sys enable_http_sys
21368 wine_fn_config_makefile dlls/httpapi enable_httpapi
21369 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21370 wine_fn_config_makefile dlls/iccvid enable_iccvid
21371 wine_fn_config_makefile dlls/icmp enable_icmp
21372 wine_fn_config_makefile dlls/ieframe enable_ieframe
21373 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21374 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21375 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21376 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21377 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21378 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21379 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21380 wine_fn_config_makefile dlls/imm32 enable_imm32
21381 wine_fn_config_makefile dlls/imm32/tests enable_tests
21382 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21383 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21384 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21385 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21386 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21387 wine_fn_config_makefile dlls/infosoft enable_infosoft
21388 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21389 wine_fn_config_makefile dlls/initpki enable_initpki
21390 wine_fn_config_makefile dlls/inkobj enable_inkobj
21391 wine_fn_config_makefile dlls/inseng enable_inseng
21392 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21393 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21394 wine_fn_config_makefile dlls/iprop enable_iprop
21395 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21396 wine_fn_config_makefile dlls/itircl enable_itircl
21397 wine_fn_config_makefile dlls/itss enable_itss
21398 wine_fn_config_makefile dlls/itss/tests enable_tests
21399 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21400 wine_fn_config_makefile dlls/jscript enable_jscript
21401 wine_fn_config_makefile dlls/jscript/tests enable_tests
21402 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21403 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21404 wine_fn_config_makefile dlls/kerberos enable_kerberos
21405 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21406 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21407 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21408 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21409 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21410 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21411 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21412 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21413 wine_fn_config_makefile dlls/ksuser enable_ksuser
21414 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21415 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21416 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21417 wine_fn_config_makefile dlls/loadperf enable_loadperf
21418 wine_fn_config_makefile dlls/localspl enable_localspl
21419 wine_fn_config_makefile dlls/localspl/tests enable_tests
21420 wine_fn_config_makefile dlls/localui enable_localui
21421 wine_fn_config_makefile dlls/localui/tests enable_tests
21422 wine_fn_config_makefile dlls/lz32 enable_lz32
21423 wine_fn_config_makefile dlls/lz32/tests enable_tests
21424 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21425 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21426 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21427 wine_fn_config_makefile dlls/mapistub enable_mapistub
21428 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21429 wine_fn_config_makefile dlls/mcicda enable_mcicda
21430 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21431 wine_fn_config_makefile dlls/mciseq enable_mciseq
21432 wine_fn_config_makefile dlls/mciwave enable_mciwave
21433 wine_fn_config_makefile dlls/mf enable_mf
21434 wine_fn_config_makefile dlls/mf/tests enable_tests
21435 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21436 wine_fn_config_makefile dlls/mferror enable_mferror
21437 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21438 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21439 wine_fn_config_makefile dlls/mfplat enable_mfplat
21440 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21441 wine_fn_config_makefile dlls/mfplay enable_mfplay
21442 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21443 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21444 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21445 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21446 wine_fn_config_makefile dlls/midimap enable_midimap
21447 wine_fn_config_makefile dlls/mlang enable_mlang
21448 wine_fn_config_makefile dlls/mlang/tests enable_tests
21449 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21450 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21451 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21452 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21453 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21454 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21455 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21456 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21457 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21458 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21459 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21460 wine_fn_config_makefile dlls/mpr enable_mpr
21461 wine_fn_config_makefile dlls/mpr/tests enable_tests
21462 wine_fn_config_makefile dlls/mprapi enable_mprapi
21463 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21464 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21465 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21466 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21467 wine_fn_config_makefile dlls/msado15 enable_msado15
21468 wine_fn_config_makefile dlls/msado15/tests enable_tests
21469 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21470 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21471 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21472 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21473 wine_fn_config_makefile dlls/mscms enable_mscms
21474 wine_fn_config_makefile dlls/mscms/tests enable_tests
21475 wine_fn_config_makefile dlls/mscoree enable_mscoree
21476 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21477 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21478 wine_fn_config_makefile dlls/msctf enable_msctf
21479 wine_fn_config_makefile dlls/msctf/tests enable_tests
21480 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21481 wine_fn_config_makefile dlls/msctfp enable_msctfp
21482 wine_fn_config_makefile dlls/msdaps enable_msdaps
21483 wine_fn_config_makefile dlls/msdasql enable_msdasql
21484 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21485 wine_fn_config_makefile dlls/msdelta enable_msdelta
21486 wine_fn_config_makefile dlls/msdmo enable_msdmo
21487 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21488 wine_fn_config_makefile dlls/msdrm enable_msdrm
21489 wine_fn_config_makefile dlls/msftedit enable_msftedit
21490 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21491 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21492 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21493 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21494 wine_fn_config_makefile dlls/mshtml enable_mshtml
21495 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21496 wine_fn_config_makefile dlls/msi enable_msi
21497 wine_fn_config_makefile dlls/msi/tests enable_tests
21498 wine_fn_config_makefile dlls/msident enable_msident
21499 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21500 wine_fn_config_makefile dlls/msimsg enable_msimsg
21501 wine_fn_config_makefile dlls/msimtf enable_msimtf
21502 wine_fn_config_makefile dlls/msisip enable_msisip
21503 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21504 wine_fn_config_makefile dlls/msls31 enable_msls31
21505 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21506 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21507 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21508 wine_fn_config_makefile dlls/msports enable_msports
21509 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21510 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21511 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21512 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21513 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21514 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21515 wine_fn_config_makefile dlls/mstask enable_mstask
21516 wine_fn_config_makefile dlls/mstask/tests enable_tests
21517 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21518 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21519 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21520 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21521 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21522 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21523 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21524 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21525 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21526 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21527 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21528 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21529 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21530 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21531 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21532 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21533 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21534 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21535 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21536 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21537 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21538 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21539 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21540 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21541 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21542 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21543 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21544 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21545 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21546 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21547 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21548 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21549 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21550 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21551 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21552 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21553 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21554 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21555 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21556 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21557 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21558 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21559 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21560 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21561 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21562 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21563 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21564 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21565 wine_fn_config_makefile dlls/mswsock enable_mswsock
21566 wine_fn_config_makefile dlls/msxml enable_msxml
21567 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21568 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21569 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21570 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21571 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21572 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21573 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21574 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21575 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21576 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21577 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21578 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21579 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21580 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21581 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21582 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21583 wine_fn_config_makefile dlls/netprofm enable_netprofm
21584 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21585 wine_fn_config_makefile dlls/netutils enable_netutils
21586 wine_fn_config_makefile dlls/newdev enable_newdev
21587 wine_fn_config_makefile dlls/ninput enable_ninput
21588 wine_fn_config_makefile dlls/ninput/tests enable_tests
21589 wine_fn_config_makefile dlls/normaliz enable_normaliz
21590 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21591 wine_fn_config_makefile dlls/npptools enable_npptools
21592 wine_fn_config_makefile dlls/nsi enable_nsi
21593 wine_fn_config_makefile dlls/nsi/tests enable_tests
21594 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21595 wine_fn_config_makefile dlls/ntdll enable_ntdll
21596 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21597 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21598 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21599 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21600 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21601 wine_fn_config_makefile dlls/ntprint enable_ntprint
21602 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21603 wine_fn_config_makefile dlls/objsel enable_objsel
21604 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21605 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21606 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21607 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21608 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21609 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21610 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21611 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21612 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21613 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21614 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21615 wine_fn_config_makefile dlls/ole32 enable_ole32
21616 wine_fn_config_makefile dlls/ole32/tests enable_tests
21617 wine_fn_config_makefile dlls/oleacc enable_oleacc
21618 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21619 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21620 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21621 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21622 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21623 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21624 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21625 wine_fn_config_makefile dlls/oledlg enable_oledlg
21626 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21627 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21628 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21629 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21630 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21631 wine_fn_config_makefile dlls/opcservices enable_opcservices
21632 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21633 wine_fn_config_makefile dlls/openal32 enable_openal32
21634 wine_fn_config_makefile dlls/opencl enable_opencl
21635 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21636 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21637 wine_fn_config_makefile dlls/packager enable_packager
21638 wine_fn_config_makefile dlls/packager/tests enable_tests
21639 wine_fn_config_makefile dlls/pdh enable_pdh
21640 wine_fn_config_makefile dlls/pdh/tests enable_tests
21641 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21642 wine_fn_config_makefile dlls/pidgen enable_pidgen
21643 wine_fn_config_makefile dlls/powrprof enable_powrprof
21644 wine_fn_config_makefile dlls/printui enable_printui
21645 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21646 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21647 wine_fn_config_makefile dlls/propsys enable_propsys
21648 wine_fn_config_makefile dlls/propsys/tests enable_tests
21649 wine_fn_config_makefile dlls/psapi enable_psapi
21650 wine_fn_config_makefile dlls/psapi/tests enable_tests
21651 wine_fn_config_makefile dlls/pstorec enable_pstorec
21652 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21653 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21654 wine_fn_config_makefile dlls/qasf enable_qasf
21655 wine_fn_config_makefile dlls/qasf/tests enable_tests
21656 wine_fn_config_makefile dlls/qcap enable_qcap
21657 wine_fn_config_makefile dlls/qcap/tests enable_tests
21658 wine_fn_config_makefile dlls/qdvd enable_qdvd
21659 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21660 wine_fn_config_makefile dlls/qedit enable_qedit
21661 wine_fn_config_makefile dlls/qedit/tests enable_tests
21662 wine_fn_config_makefile dlls/qmgr enable_qmgr
21663 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21664 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21665 wine_fn_config_makefile dlls/quartz enable_quartz
21666 wine_fn_config_makefile dlls/quartz/tests enable_tests
21667 wine_fn_config_makefile dlls/query enable_query
21668 wine_fn_config_makefile dlls/qwave enable_qwave
21669 wine_fn_config_makefile dlls/qwave/tests enable_tests
21670 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21671 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21672 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21673 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21674 wine_fn_config_makefile dlls/regapi enable_regapi
21675 wine_fn_config_makefile dlls/resutils enable_resutils
21676 wine_fn_config_makefile dlls/riched20 enable_riched20
21677 wine_fn_config_makefile dlls/riched20/tests enable_tests
21678 wine_fn_config_makefile dlls/riched32 enable_riched32
21679 wine_fn_config_makefile dlls/riched32/tests enable_tests
21680 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21681 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21682 wine_fn_config_makefile dlls/rsabase enable_rsabase
21683 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21684 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21685 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21686 wine_fn_config_makefile dlls/rtutils enable_rtutils
21687 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21688 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21689 wine_fn_config_makefile dlls/samlib enable_samlib
21690 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21691 wine_fn_config_makefile dlls/sapi enable_sapi
21692 wine_fn_config_makefile dlls/sapi/tests enable_tests
21693 wine_fn_config_makefile dlls/sas enable_sas
21694 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21695 wine_fn_config_makefile dlls/sccbase enable_sccbase
21696 wine_fn_config_makefile dlls/schannel enable_schannel
21697 wine_fn_config_makefile dlls/schannel/tests enable_tests
21698 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21699 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21700 wine_fn_config_makefile dlls/scrobj enable_scrobj
21701 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21702 wine_fn_config_makefile dlls/scrrun enable_scrrun
21703 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21704 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21705 wine_fn_config_makefile dlls/sechost enable_sechost
21706 wine_fn_config_makefile dlls/secur32 enable_secur32
21707 wine_fn_config_makefile dlls/secur32/tests enable_tests
21708 wine_fn_config_makefile dlls/security enable_security
21709 wine_fn_config_makefile dlls/sensapi enable_sensapi
21710 wine_fn_config_makefile dlls/serialui enable_serialui
21711 wine_fn_config_makefile dlls/serialui/tests enable_tests
21712 wine_fn_config_makefile dlls/setupapi enable_setupapi
21713 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21714 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21715 wine_fn_config_makefile dlls/sfc enable_sfc
21716 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21717 wine_fn_config_makefile dlls/shcore enable_shcore
21718 wine_fn_config_makefile dlls/shcore/tests enable_tests
21719 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21720 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21721 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21722 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21723 wine_fn_config_makefile dlls/shell32 enable_shell32
21724 wine_fn_config_makefile dlls/shell32/tests enable_tests
21725 wine_fn_config_makefile dlls/shfolder enable_shfolder
21726 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21727 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21728 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21729 wine_fn_config_makefile dlls/slc enable_slc
21730 wine_fn_config_makefile dlls/slc/tests enable_tests
21731 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21732 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21733 wine_fn_config_makefile dlls/softpub enable_softpub
21734 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21735 wine_fn_config_makefile dlls/spoolss enable_spoolss
21736 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21737 wine_fn_config_makefile dlls/sppc enable_sppc
21738 wine_fn_config_makefile dlls/srclient enable_srclient
21739 wine_fn_config_makefile dlls/srvcli enable_srvcli
21740 wine_fn_config_makefile dlls/sspicli enable_sspicli
21741 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21742 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21743 wine_fn_config_makefile dlls/sti enable_sti
21744 wine_fn_config_makefile dlls/sti/tests enable_tests
21745 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21746 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21747 wine_fn_config_makefile dlls/strmdll enable_strmdll
21748 wine_fn_config_makefile dlls/svrapi enable_svrapi
21749 wine_fn_config_makefile dlls/sxs enable_sxs
21750 wine_fn_config_makefile dlls/sxs/tests enable_tests
21751 wine_fn_config_makefile dlls/system.drv16 enable_win16
21752 wine_fn_config_makefile dlls/t2embed enable_t2embed
21753 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21754 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21755 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21756 wine_fn_config_makefile dlls/taskschd enable_taskschd
21757 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21758 wine_fn_config_makefile dlls/tbs enable_tbs
21759 wine_fn_config_makefile dlls/tdh enable_tdh
21760 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21761 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21762 wine_fn_config_makefile dlls/traffic enable_traffic
21763 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21764 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21765 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21766 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21767 wine_fn_config_makefile dlls/tzres enable_tzres
21768 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21769 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21770 wine_fn_config_makefile dlls/uianimation enable_uianimation
21771 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21772 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21773 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21774 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21775 wine_fn_config_makefile dlls/unicows enable_unicows
21776 wine_fn_config_makefile dlls/updspapi enable_updspapi
21777 wine_fn_config_makefile dlls/url enable_url
21778 wine_fn_config_makefile dlls/urlmon enable_urlmon
21779 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21780 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21781 wine_fn_config_makefile dlls/user.exe16 enable_win16
21782 wine_fn_config_makefile dlls/user32 enable_user32
21783 wine_fn_config_makefile dlls/user32/tests enable_tests
21784 wine_fn_config_makefile dlls/userenv enable_userenv
21785 wine_fn_config_makefile dlls/userenv/tests enable_tests
21786 wine_fn_config_makefile dlls/usp10 enable_usp10
21787 wine_fn_config_makefile dlls/usp10/tests enable_tests
21788 wine_fn_config_makefile dlls/utildll enable_utildll
21789 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21790 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21791 wine_fn_config_makefile dlls/vbscript enable_vbscript
21792 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21793 wine_fn_config_makefile dlls/vcomp enable_vcomp
21794 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21795 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21796 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21797 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21798 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21799 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21800 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21801 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21802 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21803 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21804 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21805 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21806 wine_fn_config_makefile dlls/version enable_version
21807 wine_fn_config_makefile dlls/version/tests enable_tests
21808 wine_fn_config_makefile dlls/vga enable_vga
21809 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21810 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21811 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21812 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21813 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21814 wine_fn_config_makefile dlls/vssapi enable_vssapi
21815 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21816 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21817 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21818 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21819 wine_fn_config_makefile dlls/w32skrnl enable_win16
21820 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21821 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21822 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21823 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21824 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21825 wine_fn_config_makefile dlls/wdscore enable_wdscore
21826 wine_fn_config_makefile dlls/webservices enable_webservices
21827 wine_fn_config_makefile dlls/webservices/tests enable_tests
21828 wine_fn_config_makefile dlls/websocket enable_websocket
21829 wine_fn_config_makefile dlls/wer enable_wer
21830 wine_fn_config_makefile dlls/wer/tests enable_tests
21831 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21832 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21833 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21834 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21835 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21836 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21837 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21838 wine_fn_config_makefile dlls/win32u enable_win32u
21839 wine_fn_config_makefile dlls/win32u/tests enable_tests
21840 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21841 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21842 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21843 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21844 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21845 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21846 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21847 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21848 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21849 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21850 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21851 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21852 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21853 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21854 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21855 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21856 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21857 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21858 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21859 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21860 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21861 wine_fn_config_makefile dlls/wined3d enable_wined3d
21862 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21863 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21864 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21865 wine_fn_config_makefile dlls/winemapi enable_winemapi
21866 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21867 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21868 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21869 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21870 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21871 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21872 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21873 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21874 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21875 wine_fn_config_makefile dlls/wing32 enable_wing32
21876 wine_fn_config_makefile dlls/winhttp enable_winhttp
21877 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21878 wine_fn_config_makefile dlls/wininet enable_wininet
21879 wine_fn_config_makefile dlls/wininet/tests enable_tests
21880 wine_fn_config_makefile dlls/winmm enable_winmm
21881 wine_fn_config_makefile dlls/winmm/tests enable_tests
21882 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21883 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21884 wine_fn_config_makefile dlls/winscard enable_winscard
21885 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21886 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21887 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21888 wine_fn_config_makefile dlls/winsta enable_winsta
21889 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21890 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21891 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21892 wine_fn_config_makefile dlls/wintrust enable_wintrust
21893 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21894 wine_fn_config_makefile dlls/winusb enable_winusb
21895 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21896 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21897 wine_fn_config_makefile dlls/wlanui enable_wlanui
21898 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21899 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21900 wine_fn_config_makefile dlls/wmadmod enable_wmadmod
21901 wine_fn_config_makefile dlls/wmadmod/tests enable_tests
21902 wine_fn_config_makefile dlls/wmasf enable_wmasf
21903 wine_fn_config_makefile dlls/wmi enable_wmi
21904 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21905 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21906 wine_fn_config_makefile dlls/wmp enable_wmp
21907 wine_fn_config_makefile dlls/wmp/tests enable_tests
21908 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21909 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21910 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21911 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21912 wine_fn_config_makefile dlls/wow32 enable_win16
21913 wine_fn_config_makefile dlls/wow64 enable_wow64
21914 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21915 wine_fn_config_makefile dlls/wow64win enable_wow64win
21916 wine_fn_config_makefile dlls/wpc enable_wpc
21917 wine_fn_config_makefile dlls/wpc/tests enable_tests
21918 wine_fn_config_makefile dlls/wpcap enable_wpcap
21919 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21920 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21921 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21922 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21923 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21924 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21925 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21926 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21927 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21928 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21929 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21930 wine_fn_config_makefile dlls/wuapi enable_wuapi
21931 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21932 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21933 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21934 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21935 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21936 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21937 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21938 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21939 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21940 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21941 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21942 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21943 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21944 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21945 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21946 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21947 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21948 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21949 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21950 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21951 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21952 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21953 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21954 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21955 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21956 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21957 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21958 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21959 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21960 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21961 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21962 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21963 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21964 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21965 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21966 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21967 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21968 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21969 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21970 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21971 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21972 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21973 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21974 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21975 wine_fn_config_makefile dlls/xmllite enable_xmllite
21976 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21977 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21978 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21979 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21980 wine_fn_config_makefile fonts enable_fonts
21981 wine_fn_config_makefile include enable_include
21982 wine_fn_config_makefile libs/adsiid enable_adsiid
21983 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21984 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21985 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21986 wine_fn_config_makefile libs/dxguid enable_dxguid
21987 wine_fn_config_makefile libs/faudio enable_faudio
21988 wine_fn_config_makefile libs/gsm enable_gsm
21989 wine_fn_config_makefile libs/jpeg enable_jpeg
21990 wine_fn_config_makefile libs/jxr enable_jxr
21991 wine_fn_config_makefile libs/lcms2 enable_lcms2
21992 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21993 wine_fn_config_makefile libs/mpg123 enable_mpg123
21994 wine_fn_config_makefile libs/png enable_png
21995 wine_fn_config_makefile libs/strmbase enable_strmbase
21996 wine_fn_config_makefile libs/strmiids enable_strmiids
21997 wine_fn_config_makefile libs/tiff enable_tiff
21998 wine_fn_config_makefile libs/uuid enable_uuid
21999 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22000 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22001 wine_fn_config_makefile libs/wine enable_wine
22002 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22003 wine_fn_config_makefile libs/xml2 enable_xml2
22004 wine_fn_config_makefile libs/xslt enable_xslt
22005 wine_fn_config_makefile libs/zlib enable_zlib
22006 wine_fn_config_makefile loader enable_loader
22007 wine_fn_config_makefile nls enable_nls
22008 wine_fn_config_makefile po enable_po
22009 wine_fn_config_makefile programs/arp enable_arp
22010 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22011 wine_fn_config_makefile programs/attrib enable_attrib
22012 wine_fn_config_makefile programs/cabarc enable_cabarc
22013 wine_fn_config_makefile programs/cacls enable_cacls
22014 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22015 wine_fn_config_makefile programs/clock enable_clock
22016 wine_fn_config_makefile programs/cmd enable_cmd
22017 wine_fn_config_makefile programs/cmd/tests enable_tests
22018 wine_fn_config_makefile programs/conhost enable_conhost
22019 wine_fn_config_makefile programs/conhost/tests enable_tests
22020 wine_fn_config_makefile programs/control enable_control
22021 wine_fn_config_makefile programs/cscript enable_cscript
22022 wine_fn_config_makefile programs/dism enable_dism
22023 wine_fn_config_makefile programs/dllhost enable_dllhost
22024 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22025 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22026 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22027 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22028 wine_fn_config_makefile programs/eject enable_eject
22029 wine_fn_config_makefile programs/expand enable_expand
22030 wine_fn_config_makefile programs/explorer enable_explorer
22031 wine_fn_config_makefile programs/extrac32 enable_extrac32
22032 wine_fn_config_makefile programs/fc enable_fc
22033 wine_fn_config_makefile programs/find enable_find
22034 wine_fn_config_makefile programs/find/tests enable_tests
22035 wine_fn_config_makefile programs/findstr enable_findstr
22036 wine_fn_config_makefile programs/fsutil enable_fsutil
22037 wine_fn_config_makefile programs/fsutil/tests enable_tests
22038 wine_fn_config_makefile programs/hh enable_hh
22039 wine_fn_config_makefile programs/hostname enable_hostname
22040 wine_fn_config_makefile programs/icacls enable_icacls
22041 wine_fn_config_makefile programs/icinfo enable_icinfo
22042 wine_fn_config_makefile programs/iexplore enable_iexplore
22043 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22044 wine_fn_config_makefile programs/lodctr enable_lodctr
22045 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22046 wine_fn_config_makefile programs/mshta enable_mshta
22047 wine_fn_config_makefile programs/msidb enable_msidb
22048 wine_fn_config_makefile programs/msiexec enable_msiexec
22049 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22050 wine_fn_config_makefile programs/net enable_net
22051 wine_fn_config_makefile programs/netsh enable_netsh
22052 wine_fn_config_makefile programs/netstat enable_netstat
22053 wine_fn_config_makefile programs/ngen enable_ngen
22054 wine_fn_config_makefile programs/notepad enable_notepad
22055 wine_fn_config_makefile programs/oleview enable_oleview
22056 wine_fn_config_makefile programs/ping enable_ping
22057 wine_fn_config_makefile programs/plugplay enable_plugplay
22058 wine_fn_config_makefile programs/powershell enable_powershell
22059 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22060 wine_fn_config_makefile programs/progman enable_progman
22061 wine_fn_config_makefile programs/reg enable_reg
22062 wine_fn_config_makefile programs/reg/tests enable_tests
22063 wine_fn_config_makefile programs/regasm enable_regasm
22064 wine_fn_config_makefile programs/regedit enable_regedit
22065 wine_fn_config_makefile programs/regedit/tests enable_tests
22066 wine_fn_config_makefile programs/regini enable_regini
22067 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22068 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22069 wine_fn_config_makefile programs/robocopy enable_robocopy
22070 wine_fn_config_makefile programs/rpcss enable_rpcss
22071 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22072 wine_fn_config_makefile programs/rundll32 enable_rundll32
22073 wine_fn_config_makefile programs/sc enable_sc
22074 wine_fn_config_makefile programs/schtasks enable_schtasks
22075 wine_fn_config_makefile programs/schtasks/tests enable_tests
22076 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22077 wine_fn_config_makefile programs/secedit enable_secedit
22078 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22079 wine_fn_config_makefile programs/services enable_services
22080 wine_fn_config_makefile programs/services/tests enable_tests
22081 wine_fn_config_makefile programs/shutdown enable_shutdown
22082 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22083 wine_fn_config_makefile programs/start enable_start
22084 wine_fn_config_makefile programs/subst enable_subst
22085 wine_fn_config_makefile programs/svchost enable_svchost
22086 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22087 wine_fn_config_makefile programs/taskkill enable_taskkill
22088 wine_fn_config_makefile programs/tasklist enable_tasklist
22089 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22090 wine_fn_config_makefile programs/termsv enable_termsv
22091 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22092 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22093 wine_fn_config_makefile programs/view enable_view
22094 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22095 wine_fn_config_makefile programs/where enable_where
22096 wine_fn_config_makefile programs/whoami enable_whoami
22097 wine_fn_config_makefile programs/wineboot enable_wineboot
22098 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22099 wine_fn_config_makefile programs/winecfg enable_winecfg
22100 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22101 wine_fn_config_makefile programs/winedbg enable_winedbg
22102 wine_fn_config_makefile programs/winedevice enable_winedevice
22103 wine_fn_config_makefile programs/winefile enable_winefile
22104 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22105 wine_fn_config_makefile programs/winemine enable_winemine
22106 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22107 wine_fn_config_makefile programs/winepath enable_winepath
22108 wine_fn_config_makefile programs/winetest enable_winetest
22109 wine_fn_config_makefile programs/winevdm enable_win16
22110 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22111 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22112 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22113 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22114 wine_fn_config_makefile programs/winver enable_winver
22115 wine_fn_config_makefile programs/wmic enable_wmic
22116 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22117 wine_fn_config_makefile programs/wordpad enable_wordpad
22118 wine_fn_config_makefile programs/write enable_write
22119 wine_fn_config_makefile programs/wscript enable_wscript
22120 wine_fn_config_makefile programs/wscript/tests enable_tests
22121 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22122 wine_fn_config_makefile programs/wusa enable_wusa
22123 wine_fn_config_makefile programs/xcopy enable_xcopy
22124 wine_fn_config_makefile programs/xcopy/tests enable_tests
22125 wine_fn_config_makefile server enable_server
22126 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22127 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22128 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22129 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22130 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22131 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22132 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22133 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22134 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22137 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22138 wine_fn_append_file CONFIGURE_TARGETS "tags"
22139 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22140 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22141 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22142 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22143 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22144 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22146 if test "x$enable_tools" != xno
22147 then
22148 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22149 ac_config_commands="$ac_config_commands tools/makedep"
22153 ac_config_commands="$ac_config_commands Makefile"
22157 SHELL=/bin/sh
22160 wine_fn_append_rule "all: wine
22161 @echo \"Wine build complete.\"
22162 .INIT: Makefile
22163 .MAKEFILEDEPS:
22164 all: Makefile
22165 Makefile: config.status \$(MAKEDEP)
22166 @./config.status Makefile
22167 depend: \$(MAKEDEP)
22168 \$(MAKEDEP)$makedep_flags"
22171 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22172 @./config.status --recheck
22173 include/config.h: include/stamp-h
22174 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22175 @./config.status include/config.h include/stamp-h"
22177 if test "x$enable_maintainer_mode" = xyes
22178 then
22179 wine_fn_append_rule "configure: configure.ac aclocal.m4
22180 autoconf --warnings=all
22181 include/config.h.in: include/stamp-h.in
22182 include/stamp-h.in: configure.ac aclocal.m4
22183 autoheader --warnings=all
22184 @echo timestamp > \$@"
22187 if test "x$enable_tools" != xno
22188 then
22189 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22190 @./config.status tools/makedep
22191 Makefile: tools/makedep$ac_exeext"
22192 else
22193 wine_fn_append_rule "\$(MAKEDEP):
22194 @echo \"You need to run make in $toolsdir first\" && false"
22198 if test -n "$with_wine64"
22199 then
22200 case "$with_wine64" in
22201 /*) reldir="" ;;
22202 *) reldir="../" ;;
22203 esac
22204 rm -f fonts server 2>/dev/null
22205 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22206 loader/wine64 loader/wine64-preloader:
22207 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22208 $with_wine64/loader/wine:
22209 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22210 $with_wine64/loader/wine-preloader:
22211 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22212 clean::
22213 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22214 else
22215 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22216 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22217 fonts \
22218 loader/wine.inf \
22219 nls \
22220 programs/msidb/msidb \
22221 programs/msiexec/msiexec \
22222 programs/notepad/notepad \
22223 programs/regedit/regedit \
22224 programs/regsvr32/regsvr32 \
22225 programs/wineboot/wineboot \
22226 programs/winecfg/winecfg \
22227 programs/wineconsole/wineconsole \
22228 programs/winedbg/winedbg \
22229 programs/winefile/winefile \
22230 programs/winemine/winemine \
22231 programs/winepath/winepath \
22232 server/wineserver"
22234 case $host_os in
22235 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22236 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22237 esac
22241 wine_fn_append_rule "distclean:: clean
22242 rm -rf autom4te.cache
22243 maintainer-clean::
22244 rm -f configure include/config.h.in"
22247 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22248 @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)
22249 programs/winetest/build.rc: dummy
22250 @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)
22251 programs/winetest/build.nfo:
22252 @-\$(CC) -v 2>\$@
22253 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
22254 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22255 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22258 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22260 wine_fn_append_rule "TAGS etags:
22261 rm -f TAGS
22262 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22263 tags ctags:
22264 rm -f tags
22265 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22266 dummy:
22267 .PHONY: depend dummy install-manpages"
22269 printf "%s\n" " done" >&6
22270 cat >confcache <<\_ACEOF
22271 # This file is a shell script that caches the results of configure
22272 # tests run on this system so they can be shared between configure
22273 # scripts and configure runs, see configure's option --config-cache.
22274 # It is not useful on other systems. If it contains results you don't
22275 # want to keep, you may remove or edit it.
22277 # config.status only pays attention to the cache file if you give it
22278 # the --recheck option to rerun configure.
22280 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22281 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22282 # following values.
22284 _ACEOF
22286 # The following way of writing the cache mishandles newlines in values,
22287 # but we know of no workaround that is simple, portable, and efficient.
22288 # So, we kill variables containing newlines.
22289 # Ultrix sh set writes to stderr and can't be redirected directly,
22290 # and sets the high bit in the cache file unless we assign to the vars.
22292 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22293 eval ac_val=\$$ac_var
22294 case $ac_val in #(
22295 *${as_nl}*)
22296 case $ac_var in #(
22297 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22298 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22299 esac
22300 case $ac_var in #(
22301 _ | IFS | as_nl) ;; #(
22302 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22303 *) { eval $ac_var=; unset $ac_var;} ;;
22304 esac ;;
22305 esac
22306 done
22308 (set) 2>&1 |
22309 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22310 *${as_nl}ac_space=\ *)
22311 # `set' does not quote correctly, so add quotes: double-quote
22312 # substitution turns \\\\ into \\, and sed turns \\ into \.
22313 sed -n \
22314 "s/'/'\\\\''/g;
22315 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22316 ;; #(
22318 # `set' quotes correctly as required by POSIX, so do not add quotes.
22319 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22321 esac |
22322 sort
22324 sed '
22325 /^ac_cv_env_/b end
22326 t clear
22327 :clear
22328 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22329 t end
22330 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22331 :end' >>confcache
22332 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22333 if test -w "$cache_file"; then
22334 if test "x$cache_file" != "x/dev/null"; then
22335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22336 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22337 if test ! -f "$cache_file" || test -h "$cache_file"; then
22338 cat confcache >"$cache_file"
22339 else
22340 case $cache_file in #(
22341 */* | ?:*)
22342 mv -f confcache "$cache_file"$$ &&
22343 mv -f "$cache_file"$$ "$cache_file" ;; #(
22345 mv -f confcache "$cache_file" ;;
22346 esac
22349 else
22350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22351 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22354 rm -f confcache
22356 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22357 # Let make expand exec_prefix.
22358 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22360 DEFS=-DHAVE_CONFIG_H
22362 ac_libobjs=
22363 ac_ltlibobjs=
22365 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22366 # 1. Remove the extension, and $U if already installed.
22367 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22368 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22369 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22370 # will be set to the directory where LIBOBJS objects are built.
22371 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22372 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22373 done
22374 LIBOBJS=$ac_libobjs
22376 LTLIBOBJS=$ac_ltlibobjs
22380 : "${CONFIG_STATUS=./config.status}"
22381 ac_write_fail=0
22382 ac_clean_files_save=$ac_clean_files
22383 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22385 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22386 as_write_fail=0
22387 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22388 #! $SHELL
22389 # Generated by $as_me.
22390 # Run this file to recreate the current configuration.
22391 # Compiler output produced by configure, useful for debugging
22392 # configure, is in config.log if it exists.
22394 debug=false
22395 ac_cs_recheck=false
22396 ac_cs_silent=false
22398 SHELL=\${CONFIG_SHELL-$SHELL}
22399 export SHELL
22400 _ASEOF
22401 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22402 ## -------------------- ##
22403 ## M4sh Initialization. ##
22404 ## -------------------- ##
22406 # Be more Bourne compatible
22407 DUALCASE=1; export DUALCASE # for MKS sh
22408 as_nop=:
22409 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22410 then :
22411 emulate sh
22412 NULLCMD=:
22413 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22414 # is contrary to our usage. Disable this feature.
22415 alias -g '${1+"$@"}'='"$@"'
22416 setopt NO_GLOB_SUBST
22417 else $as_nop
22418 case `(set -o) 2>/dev/null` in #(
22419 *posix*) :
22420 set -o posix ;; #(
22421 *) :
22423 esac
22428 # Reset variables that may have inherited troublesome values from
22429 # the environment.
22431 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22432 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22433 # side effect of setting IFS to empty, thus disabling word splitting.)
22434 # Quoting is to prevent editors from complaining about space-tab.
22435 as_nl='
22437 export as_nl
22438 IFS=" "" $as_nl"
22440 PS1='$ '
22441 PS2='> '
22442 PS4='+ '
22444 # Ensure predictable behavior from utilities with locale-dependent output.
22445 LC_ALL=C
22446 export LC_ALL
22447 LANGUAGE=C
22448 export LANGUAGE
22450 # We cannot yet rely on "unset" to work, but we need these variables
22451 # to be unset--not just set to an empty or harmless value--now, to
22452 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22453 # also avoids known problems related to "unset" and subshell syntax
22454 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22455 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22456 do eval test \${$as_var+y} \
22457 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22458 done
22460 # Ensure that fds 0, 1, and 2 are open.
22461 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22462 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22463 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22465 # The user is always right.
22466 if ${PATH_SEPARATOR+false} :; then
22467 PATH_SEPARATOR=:
22468 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22469 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22470 PATH_SEPARATOR=';'
22475 # Find who we are. Look in the path if we contain no directory separator.
22476 as_myself=
22477 case $0 in #((
22478 *[\\/]* ) as_myself=$0 ;;
22479 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22480 for as_dir in $PATH
22482 IFS=$as_save_IFS
22483 case $as_dir in #(((
22484 '') as_dir=./ ;;
22485 */) ;;
22486 *) as_dir=$as_dir/ ;;
22487 esac
22488 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22489 done
22490 IFS=$as_save_IFS
22493 esac
22494 # We did not find ourselves, most probably we were run as `sh COMMAND'
22495 # in which case we are not to be found in the path.
22496 if test "x$as_myself" = x; then
22497 as_myself=$0
22499 if test ! -f "$as_myself"; then
22500 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22501 exit 1
22506 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22507 # ----------------------------------------
22508 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22509 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22510 # script with STATUS, using 1 if that was 0.
22511 as_fn_error ()
22513 as_status=$1; test $as_status -eq 0 && as_status=1
22514 if test "$4"; then
22515 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22516 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22518 printf "%s\n" "$as_me: error: $2" >&2
22519 as_fn_exit $as_status
22520 } # as_fn_error
22524 # as_fn_set_status STATUS
22525 # -----------------------
22526 # Set $? to STATUS, without forking.
22527 as_fn_set_status ()
22529 return $1
22530 } # as_fn_set_status
22532 # as_fn_exit STATUS
22533 # -----------------
22534 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22535 as_fn_exit ()
22537 set +e
22538 as_fn_set_status $1
22539 exit $1
22540 } # as_fn_exit
22542 # as_fn_unset VAR
22543 # ---------------
22544 # Portably unset VAR.
22545 as_fn_unset ()
22547 { eval $1=; unset $1;}
22549 as_unset=as_fn_unset
22551 # as_fn_append VAR VALUE
22552 # ----------------------
22553 # Append the text in VALUE to the end of the definition contained in VAR. Take
22554 # advantage of any shell optimizations that allow amortized linear growth over
22555 # repeated appends, instead of the typical quadratic growth present in naive
22556 # implementations.
22557 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22558 then :
22559 eval 'as_fn_append ()
22561 eval $1+=\$2
22563 else $as_nop
22564 as_fn_append ()
22566 eval $1=\$$1\$2
22568 fi # as_fn_append
22570 # as_fn_arith ARG...
22571 # ------------------
22572 # Perform arithmetic evaluation on the ARGs, and store the result in the
22573 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22574 # must be portable across $(()) and expr.
22575 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22576 then :
22577 eval 'as_fn_arith ()
22579 as_val=$(( $* ))
22581 else $as_nop
22582 as_fn_arith ()
22584 as_val=`expr "$@" || test $? -eq 1`
22586 fi # as_fn_arith
22589 if expr a : '\(a\)' >/dev/null 2>&1 &&
22590 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22591 as_expr=expr
22592 else
22593 as_expr=false
22596 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22597 as_basename=basename
22598 else
22599 as_basename=false
22602 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22603 as_dirname=dirname
22604 else
22605 as_dirname=false
22608 as_me=`$as_basename -- "$0" ||
22609 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22610 X"$0" : 'X\(//\)$' \| \
22611 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22612 printf "%s\n" X/"$0" |
22613 sed '/^.*\/\([^/][^/]*\)\/*$/{
22614 s//\1/
22617 /^X\/\(\/\/\)$/{
22618 s//\1/
22621 /^X\/\(\/\).*/{
22622 s//\1/
22625 s/.*/./; q'`
22627 # Avoid depending upon Character Ranges.
22628 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22629 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22630 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22631 as_cr_digits='0123456789'
22632 as_cr_alnum=$as_cr_Letters$as_cr_digits
22635 # Determine whether it's possible to make 'echo' print without a newline.
22636 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22637 # for compatibility with existing Makefiles.
22638 ECHO_C= ECHO_N= ECHO_T=
22639 case `echo -n x` in #(((((
22640 -n*)
22641 case `echo 'xy\c'` in
22642 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22643 xy) ECHO_C='\c';;
22644 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22645 ECHO_T=' ';;
22646 esac;;
22648 ECHO_N='-n';;
22649 esac
22651 # For backward compatibility with old third-party macros, we provide
22652 # the shell variables $as_echo and $as_echo_n. New code should use
22653 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22654 as_echo='printf %s\n'
22655 as_echo_n='printf %s'
22657 rm -f conf$$ conf$$.exe conf$$.file
22658 if test -d conf$$.dir; then
22659 rm -f conf$$.dir/conf$$.file
22660 else
22661 rm -f conf$$.dir
22662 mkdir conf$$.dir 2>/dev/null
22664 if (echo >conf$$.file) 2>/dev/null; then
22665 if ln -s conf$$.file conf$$ 2>/dev/null; then
22666 as_ln_s='ln -s'
22667 # ... but there are two gotchas:
22668 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22669 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22670 # In both cases, we have to default to `cp -pR'.
22671 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22672 as_ln_s='cp -pR'
22673 elif ln conf$$.file conf$$ 2>/dev/null; then
22674 as_ln_s=ln
22675 else
22676 as_ln_s='cp -pR'
22678 else
22679 as_ln_s='cp -pR'
22681 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22682 rmdir conf$$.dir 2>/dev/null
22685 # as_fn_mkdir_p
22686 # -------------
22687 # Create "$as_dir" as a directory, including parents if necessary.
22688 as_fn_mkdir_p ()
22691 case $as_dir in #(
22692 -*) as_dir=./$as_dir;;
22693 esac
22694 test -d "$as_dir" || eval $as_mkdir_p || {
22695 as_dirs=
22696 while :; do
22697 case $as_dir in #(
22698 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22699 *) as_qdir=$as_dir;;
22700 esac
22701 as_dirs="'$as_qdir' $as_dirs"
22702 as_dir=`$as_dirname -- "$as_dir" ||
22703 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22704 X"$as_dir" : 'X\(//\)[^/]' \| \
22705 X"$as_dir" : 'X\(//\)$' \| \
22706 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22707 printf "%s\n" X"$as_dir" |
22708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22709 s//\1/
22712 /^X\(\/\/\)[^/].*/{
22713 s//\1/
22716 /^X\(\/\/\)$/{
22717 s//\1/
22720 /^X\(\/\).*/{
22721 s//\1/
22724 s/.*/./; q'`
22725 test -d "$as_dir" && break
22726 done
22727 test -z "$as_dirs" || eval "mkdir $as_dirs"
22728 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22731 } # as_fn_mkdir_p
22732 if mkdir -p . 2>/dev/null; then
22733 as_mkdir_p='mkdir -p "$as_dir"'
22734 else
22735 test -d ./-p && rmdir ./-p
22736 as_mkdir_p=false
22740 # as_fn_executable_p FILE
22741 # -----------------------
22742 # Test if FILE is an executable regular file.
22743 as_fn_executable_p ()
22745 test -f "$1" && test -x "$1"
22746 } # as_fn_executable_p
22747 as_test_x='test -x'
22748 as_executable_p=as_fn_executable_p
22750 # Sed expression to map a string onto a valid CPP name.
22751 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22753 # Sed expression to map a string onto a valid variable name.
22754 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22757 exec 6>&1
22758 ## ----------------------------------- ##
22759 ## Main body of $CONFIG_STATUS script. ##
22760 ## ----------------------------------- ##
22761 _ASEOF
22762 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22765 # Save the log message, to keep $0 and so on meaningful, and to
22766 # report actual input values of CONFIG_FILES etc. instead of their
22767 # values after options handling.
22768 ac_log="
22769 This file was extended by Wine $as_me 7.5, which was
22770 generated by GNU Autoconf 2.71. Invocation command line was
22772 CONFIG_FILES = $CONFIG_FILES
22773 CONFIG_HEADERS = $CONFIG_HEADERS
22774 CONFIG_LINKS = $CONFIG_LINKS
22775 CONFIG_COMMANDS = $CONFIG_COMMANDS
22776 $ $0 $@
22778 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22781 _ACEOF
22784 case $ac_config_headers in *"
22785 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22786 esac
22789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22790 # Files that config.status was made for.
22791 config_headers="$ac_config_headers"
22792 config_links="$ac_config_links"
22793 config_commands="$ac_config_commands"
22795 _ACEOF
22797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22798 ac_cs_usage="\
22799 \`$as_me' instantiates files and other configuration actions
22800 from templates according to the current configuration. Unless the files
22801 and actions are specified as TAGs, all are instantiated by default.
22803 Usage: $0 [OPTION]... [TAG]...
22805 -h, --help print this help, then exit
22806 -V, --version print version number and configuration settings, then exit
22807 --config print configuration, then exit
22808 -q, --quiet, --silent
22809 do not print progress messages
22810 -d, --debug don't remove temporary files
22811 --recheck update $as_me by reconfiguring in the same conditions
22812 --header=FILE[:TEMPLATE]
22813 instantiate the configuration header FILE
22815 Configuration headers:
22816 $config_headers
22818 Configuration links:
22819 $config_links
22821 Configuration commands:
22822 $config_commands
22824 Report bugs to <wine-devel@winehq.org>.
22825 Wine home page: <https://www.winehq.org>."
22827 _ACEOF
22828 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22829 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22831 ac_cs_config='$ac_cs_config_escaped'
22832 ac_cs_version="\\
22833 Wine config.status 7.5
22834 configured by $0, generated by GNU Autoconf 2.71,
22835 with options \\"\$ac_cs_config\\"
22837 Copyright (C) 2021 Free Software Foundation, Inc.
22838 This config.status script is free software; the Free Software Foundation
22839 gives unlimited permission to copy, distribute and modify it."
22841 ac_pwd='$ac_pwd'
22842 srcdir='$srcdir'
22843 test -n "\$AWK" || AWK=awk
22844 _ACEOF
22846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22847 # The default lists apply if the user does not specify any file.
22848 ac_need_defaults=:
22849 while test $# != 0
22851 case $1 in
22852 --*=?*)
22853 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22854 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22855 ac_shift=:
22857 --*=)
22858 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22859 ac_optarg=
22860 ac_shift=:
22863 ac_option=$1
22864 ac_optarg=$2
22865 ac_shift=shift
22867 esac
22869 case $ac_option in
22870 # Handling of the options.
22871 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22872 ac_cs_recheck=: ;;
22873 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22874 printf "%s\n" "$ac_cs_version"; exit ;;
22875 --config | --confi | --conf | --con | --co | --c )
22876 printf "%s\n" "$ac_cs_config"; exit ;;
22877 --debug | --debu | --deb | --de | --d | -d )
22878 debug=: ;;
22879 --header | --heade | --head | --hea )
22880 $ac_shift
22881 case $ac_optarg in
22882 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22883 esac
22884 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22885 ac_need_defaults=false;;
22886 --he | --h)
22887 # Conflict between --help and --header
22888 as_fn_error $? "ambiguous option: \`$1'
22889 Try \`$0 --help' for more information.";;
22890 --help | --hel | -h )
22891 printf "%s\n" "$ac_cs_usage"; exit ;;
22892 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22893 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22894 ac_cs_silent=: ;;
22896 # This is an error.
22897 -*) as_fn_error $? "unrecognized option: \`$1'
22898 Try \`$0 --help' for more information." ;;
22900 *) as_fn_append ac_config_targets " $1"
22901 ac_need_defaults=false ;;
22903 esac
22904 shift
22905 done
22907 ac_configure_extra_args=
22909 if $ac_cs_silent; then
22910 exec 6>/dev/null
22911 ac_configure_extra_args="$ac_configure_extra_args --silent"
22914 _ACEOF
22915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22916 if \$ac_cs_recheck; then
22917 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22918 shift
22919 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22920 CONFIG_SHELL='$SHELL'
22921 export CONFIG_SHELL
22922 exec "\$@"
22925 _ACEOF
22926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22927 exec 5>>config.log
22929 echo
22930 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22931 ## Running $as_me. ##
22932 _ASBOX
22933 printf "%s\n" "$ac_log"
22934 } >&5
22936 _ACEOF
22937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22939 # INIT-COMMANDS
22941 wine_fn_output_makedep ()
22943 as_dir=tools; as_fn_mkdir_p
22944 $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
22946 wine_fn_output_makefile ()
22948 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22949 # This Makefile understands the following targets:
22951 # all (default): build wine
22952 # clean: remove all intermediate files
22953 # distclean: also remove all files created by configure
22954 # test: run tests
22955 # testclean: clean test results to force running all tests again
22956 # install-lib: install libraries needed to run applications
22957 # install-dev: install development environment
22958 # install: install everything
22959 # uninstall: uninstall everything
22960 # ctags: create a tags file for vim and others.
22961 # etags: create a TAGS file for Emacs.
22963 SHELL = $SHELL
22964 PATH_SEPARATOR = $PATH_SEPARATOR
22965 PACKAGE_NAME = $PACKAGE_NAME
22966 PACKAGE_TARNAME = $PACKAGE_TARNAME
22967 PACKAGE_VERSION = $PACKAGE_VERSION
22968 PACKAGE_STRING = $PACKAGE_STRING
22969 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22970 PACKAGE_URL = $PACKAGE_URL
22971 exec_prefix = $exec_prefix
22972 prefix = $prefix
22973 program_transform_name = $program_transform_name
22974 bindir = $bindir
22975 sbindir = $sbindir
22976 libexecdir = $libexecdir
22977 datarootdir = $datarootdir
22978 datadir = $datadir
22979 sysconfdir = $sysconfdir
22980 sharedstatedir = $sharedstatedir
22981 localstatedir = $localstatedir
22982 runstatedir = $runstatedir
22983 includedir = $includedir
22984 oldincludedir = $oldincludedir
22985 docdir = $docdir
22986 infodir = $infodir
22987 htmldir = $htmldir
22988 dvidir = $dvidir
22989 pdfdir = $pdfdir
22990 psdir = $psdir
22991 libdir = $libdir
22992 localedir = $localedir
22993 mandir = $mandir
22994 DEFS = $DEFS
22995 ECHO_C = $ECHO_C
22996 ECHO_N = $ECHO_N
22997 ECHO_T = $ECHO_T
22998 LIBS = $LIBS
22999 build_alias = $build_alias
23000 host_alias = $host_alias
23001 target_alias = $target_alias
23002 system_dllpath = $system_dllpath
23003 build = $build
23004 build_cpu = $build_cpu
23005 build_vendor = $build_vendor
23006 build_os = $build_os
23007 host = $host
23008 host_cpu = $host_cpu
23009 host_vendor = $host_vendor
23010 host_os = $host_os
23011 dlldir = $dlldir
23012 fontdir = $fontdir
23013 nlsdir = $nlsdir
23014 srcdir = $srcdir
23015 SET_MAKE = $SET_MAKE
23016 CC = $CC
23017 CFLAGS = $CFLAGS
23018 LDFLAGS = $LDFLAGS
23019 CPPFLAGS = $CPPFLAGS
23020 ac_ct_CC = $ac_ct_CC
23021 EXEEXT = $EXEEXT
23022 OBJEXT = $OBJEXT
23023 CXX = $CXX
23024 CXXFLAGS = $CXXFLAGS
23025 ac_ct_CXX = $ac_ct_CXX
23026 CPPBIN = $CPPBIN
23027 LD = $LD
23028 TARGETFLAGS = $TARGETFLAGS
23029 toolsext = $toolsext
23030 toolsdir = $toolsdir
23031 MAKEDEP = $MAKEDEP
23032 RUNTESTFLAGS = $RUNTESTFLAGS
23033 SED_CMD = $SED_CMD
23034 FLEX = $FLEX
23035 BISON = $BISON
23036 AR = $AR
23037 ac_ct_AR = $ac_ct_AR
23038 STRIP = $STRIP
23039 RANLIB = $RANLIB
23040 LN_S = $LN_S
23041 GREP = $GREP
23042 EGREP = $EGREP
23043 LDCONFIG = $LDCONFIG
23044 MSGFMT = $MSGFMT
23045 PKG_CONFIG = $PKG_CONFIG
23046 FONTFORGE = $FONTFORGE
23047 RSVG = $RSVG
23048 CONVERT = $CONVERT
23049 ICOTOOL = $ICOTOOL
23050 I386_LIBS = $I386_LIBS
23051 OPENGL_LIBS = $OPENGL_LIBS
23052 DLLFLAGS = $DLLFLAGS
23053 LDDLLFLAGS = $LDDLLFLAGS
23054 LDEXECFLAGS = $LDEXECFLAGS
23055 EXTRACFLAGS = $EXTRACFLAGS
23056 UNIXDLLFLAGS = $UNIXDLLFLAGS
23057 UNIXLDFLAGS = $UNIXLDFLAGS
23058 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23059 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23060 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23061 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23062 LDD = $LDD
23063 OTOOL = $OTOOL
23064 READELF = $READELF
23065 SUBDIRS = $SUBDIRS
23066 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23067 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23068 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23069 DLLTOOL = $DLLTOOL
23070 OBJC = $OBJC
23071 OBJCFLAGS = $OBJCFLAGS
23072 ac_ct_OBJC = $ac_ct_OBJC
23073 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23074 IOKIT_LIBS = $IOKIT_LIBS
23075 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23076 CORESERVICES_LIBS = $CORESERVICES_LIBS
23077 APPKIT_LIBS = $APPKIT_LIBS
23078 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23079 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23080 SECURITY_LIBS = $SECURITY_LIBS
23081 COREAUDIO_LIBS = $COREAUDIO_LIBS
23082 OPENAL_LIBS = $OPENAL_LIBS
23083 OPENCL_LIBS = $OPENCL_LIBS
23084 CARBON_LIBS = $CARBON_LIBS
23085 METAL_LIBS = $METAL_LIBS
23086 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23087 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23088 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23089 PRELINK = $PRELINK
23090 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23091 CROSSTARGET = $CROSSTARGET
23092 CROSSCC = $CROSSCC
23093 CROSSCFLAGS = $CROSSCFLAGS
23094 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23095 CROSSLDFLAGS = $CROSSLDFLAGS
23096 DELAYLOADFLAG = $DELAYLOADFLAG
23097 CROSSDEBUG = $CROSSDEBUG
23098 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23099 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23100 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23101 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23102 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23103 GSM_PE_LIBS = $GSM_PE_LIBS
23104 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23105 JPEG_PE_LIBS = $JPEG_PE_LIBS
23106 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23107 JXR_PE_LIBS = $JXR_PE_LIBS
23108 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23109 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23110 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23111 MPG123_PE_LIBS = $MPG123_PE_LIBS
23112 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23113 PNG_PE_LIBS = $PNG_PE_LIBS
23114 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23115 TIFF_PE_LIBS = $TIFF_PE_LIBS
23116 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23117 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23118 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23119 XML2_PE_LIBS = $XML2_PE_LIBS
23120 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23121 XSLT_PE_LIBS = $XSLT_PE_LIBS
23122 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23123 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23124 PTHREAD_LIBS = $PTHREAD_LIBS
23125 XMKMF = $XMKMF
23126 CPP = $CPP
23127 X_CFLAGS = $X_CFLAGS
23128 X_PRE_LIBS = $X_PRE_LIBS
23129 X_LIBS = $X_LIBS
23130 X_EXTRA_LIBS = $X_EXTRA_LIBS
23131 PCAP_LIBS = $PCAP_LIBS
23132 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23133 INOTIFY_LIBS = $INOTIFY_LIBS
23134 DBUS_CFLAGS = $DBUS_CFLAGS
23135 DBUS_LIBS = $DBUS_LIBS
23136 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23137 GNUTLS_LIBS = $GNUTLS_LIBS
23138 SANE_CFLAGS = $SANE_CFLAGS
23139 SANE_LIBS = $SANE_LIBS
23140 USB_CFLAGS = $USB_CFLAGS
23141 USB_LIBS = $USB_LIBS
23142 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23143 GPHOTO2_LIBS = $GPHOTO2_LIBS
23144 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23145 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23146 RESOLV_LIBS = $RESOLV_LIBS
23147 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23148 FREETYPE_LIBS = $FREETYPE_LIBS
23149 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23150 PULSE_CFLAGS = $PULSE_CFLAGS
23151 PULSE_LIBS = $PULSE_LIBS
23152 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23153 GSTREAMER_LIBS = $GSTREAMER_LIBS
23154 ALSA_LIBS = $ALSA_LIBS
23155 OSS4_CFLAGS = $OSS4_CFLAGS
23156 OSS4_LIBS = $OSS4_LIBS
23157 UDEV_CFLAGS = $UDEV_CFLAGS
23158 UDEV_LIBS = $UDEV_LIBS
23159 UNWIND_CFLAGS = $UNWIND_CFLAGS
23160 UNWIND_LIBS = $UNWIND_LIBS
23161 SDL2_CFLAGS = $SDL2_CFLAGS
23162 SDL2_LIBS = $SDL2_LIBS
23163 CAPI20_CFLAGS = $CAPI20_CFLAGS
23164 CAPI20_LIBS = $CAPI20_LIBS
23165 CUPS_CFLAGS = $CUPS_CFLAGS
23166 CUPS_LIBS = $CUPS_LIBS
23167 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23168 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23169 KRB5_CFLAGS = $KRB5_CFLAGS
23170 KRB5_LIBS = $KRB5_LIBS
23171 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23172 GSSAPI_LIBS = $GSSAPI_LIBS
23173 PROCSTAT_LIBS = $PROCSTAT_LIBS
23174 NETAPI_CFLAGS = $NETAPI_CFLAGS
23175 NETAPI_LIBS = $NETAPI_LIBS
23176 MSVCRTFLAGS = $MSVCRTFLAGS
23177 RT_LIBS = $RT_LIBS
23178 LDAP_CFLAGS = $LDAP_CFLAGS
23179 LDAP_LIBS = $LDAP_LIBS
23180 TAGSFLAGS = $TAGSFLAGS
23181 LIBOBJS = $LIBOBJS
23182 LTLIBOBJS = $LTLIBOBJS
23183 $SET_MAKE
23184 $wine_rules
23185 _WINE_EOF
23186 as_fn_error $? "could not create Makefile" "$LINENO" 5
23189 _ACEOF
23191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23193 # Handling of arguments.
23194 for ac_config_target in $ac_config_targets
23196 case $ac_config_target in
23197 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23198 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23199 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23200 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23201 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23202 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23204 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23205 esac
23206 done
23209 # If the user did not use the arguments to specify the items to instantiate,
23210 # then the envvar interface is used. Set only those that are not.
23211 # We use the long form for the default assignment because of an extremely
23212 # bizarre bug on SunOS 4.1.3.
23213 if $ac_need_defaults; then
23214 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23215 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23216 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23219 # Have a temporary directory for convenience. Make it in the build tree
23220 # simply because there is no reason against having it here, and in addition,
23221 # creating and moving files from /tmp can sometimes cause problems.
23222 # Hook for its removal unless debugging.
23223 # Note that there is a small window in which the directory will not be cleaned:
23224 # after its creation but before its name has been assigned to `$tmp'.
23225 $debug ||
23227 tmp= ac_tmp=
23228 trap 'exit_status=$?
23229 : "${ac_tmp:=$tmp}"
23230 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23232 trap 'as_fn_exit 1' 1 2 13 15
23234 # Create a (secure) tmp directory for tmp files.
23237 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23238 test -d "$tmp"
23239 } ||
23241 tmp=./conf$$-$RANDOM
23242 (umask 077 && mkdir "$tmp")
23243 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23244 ac_tmp=$tmp
23246 # Set up the scripts for CONFIG_HEADERS section.
23247 # No need to generate them if there are no CONFIG_HEADERS.
23248 # This happens for instance with `./config.status Makefile'.
23249 if test -n "$CONFIG_HEADERS"; then
23250 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23251 BEGIN {
23252 _ACEOF
23254 # Transform confdefs.h into an awk script `defines.awk', embedded as
23255 # here-document in config.status, that substitutes the proper values into
23256 # config.h.in to produce config.h.
23258 # Create a delimiter string that does not exist in confdefs.h, to ease
23259 # handling of long lines.
23260 ac_delim='%!_!# '
23261 for ac_last_try in false false :; do
23262 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23263 if test -z "$ac_tt"; then
23264 break
23265 elif $ac_last_try; then
23266 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23267 else
23268 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23270 done
23272 # For the awk script, D is an array of macro values keyed by name,
23273 # likewise P contains macro parameters if any. Preserve backslash
23274 # newline sequences.
23276 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23277 sed -n '
23278 s/.\{148\}/&'"$ac_delim"'/g
23279 t rset
23280 :rset
23281 s/^[ ]*#[ ]*define[ ][ ]*/ /
23282 t def
23284 :def
23285 s/\\$//
23286 t bsnl
23287 s/["\\]/\\&/g
23288 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23289 D["\1"]=" \3"/p
23290 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23292 :bsnl
23293 s/["\\]/\\&/g
23294 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23295 D["\1"]=" \3\\\\\\n"\\/p
23296 t cont
23297 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23298 t cont
23300 :cont
23302 s/.\{148\}/&'"$ac_delim"'/g
23303 t clear
23304 :clear
23305 s/\\$//
23306 t bsnlc
23307 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23309 :bsnlc
23310 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23311 b cont
23312 ' <confdefs.h | sed '
23313 s/'"$ac_delim"'/"\\\
23314 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23317 for (key in D) D_is_set[key] = 1
23318 FS = "\a"
23320 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23321 line = \$ 0
23322 split(line, arg, " ")
23323 if (arg[1] == "#") {
23324 defundef = arg[2]
23325 mac1 = arg[3]
23326 } else {
23327 defundef = substr(arg[1], 2)
23328 mac1 = arg[2]
23330 split(mac1, mac2, "(") #)
23331 macro = mac2[1]
23332 prefix = substr(line, 1, index(line, defundef) - 1)
23333 if (D_is_set[macro]) {
23334 # Preserve the white space surrounding the "#".
23335 print prefix "define", macro P[macro] D[macro]
23336 next
23337 } else {
23338 # Replace #undef with comments. This is necessary, for example,
23339 # in the case of _POSIX_SOURCE, which is predefined and required
23340 # on some systems where configure will not decide to define it.
23341 if (defundef == "undef") {
23342 print "/*", prefix defundef, macro, "*/"
23343 next
23347 { print }
23348 _ACAWK
23349 _ACEOF
23350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23351 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23352 fi # test -n "$CONFIG_HEADERS"
23355 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23356 shift
23357 for ac_tag
23359 case $ac_tag in
23360 :[FHLC]) ac_mode=$ac_tag; continue;;
23361 esac
23362 case $ac_mode$ac_tag in
23363 :[FHL]*:*);;
23364 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23365 :[FH]-) ac_tag=-:-;;
23366 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23367 esac
23368 ac_save_IFS=$IFS
23369 IFS=:
23370 set x $ac_tag
23371 IFS=$ac_save_IFS
23372 shift
23373 ac_file=$1
23374 shift
23376 case $ac_mode in
23377 :L) ac_source=$1;;
23378 :[FH])
23379 ac_file_inputs=
23380 for ac_f
23382 case $ac_f in
23383 -) ac_f="$ac_tmp/stdin";;
23384 *) # Look for the file first in the build tree, then in the source tree
23385 # (if the path is not absolute). The absolute path cannot be DOS-style,
23386 # because $ac_f cannot contain `:'.
23387 test -f "$ac_f" ||
23388 case $ac_f in
23389 [\\/$]*) false;;
23390 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23391 esac ||
23392 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23393 esac
23394 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23395 as_fn_append ac_file_inputs " '$ac_f'"
23396 done
23398 # Let's still pretend it is `configure' which instantiates (i.e., don't
23399 # use $as_me), people would be surprised to read:
23400 # /* config.h. Generated by config.status. */
23401 configure_input='Generated from '`
23402 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23403 `' by configure.'
23404 if test x"$ac_file" != x-; then
23405 configure_input="$ac_file. $configure_input"
23406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23407 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23409 # Neutralize special characters interpreted by sed in replacement strings.
23410 case $configure_input in #(
23411 *\&* | *\|* | *\\* )
23412 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23413 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23414 *) ac_sed_conf_input=$configure_input;;
23415 esac
23417 case $ac_tag in
23418 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23419 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23420 esac
23422 esac
23424 ac_dir=`$as_dirname -- "$ac_file" ||
23425 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23426 X"$ac_file" : 'X\(//\)[^/]' \| \
23427 X"$ac_file" : 'X\(//\)$' \| \
23428 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23429 printf "%s\n" X"$ac_file" |
23430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23431 s//\1/
23434 /^X\(\/\/\)[^/].*/{
23435 s//\1/
23438 /^X\(\/\/\)$/{
23439 s//\1/
23442 /^X\(\/\).*/{
23443 s//\1/
23446 s/.*/./; q'`
23447 as_dir="$ac_dir"; as_fn_mkdir_p
23448 ac_builddir=.
23450 case "$ac_dir" in
23451 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23453 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23454 # A ".." for each directory in $ac_dir_suffix.
23455 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23456 case $ac_top_builddir_sub in
23457 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23458 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23459 esac ;;
23460 esac
23461 ac_abs_top_builddir=$ac_pwd
23462 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23463 # for backward compatibility:
23464 ac_top_builddir=$ac_top_build_prefix
23466 case $srcdir in
23467 .) # We are building in place.
23468 ac_srcdir=.
23469 ac_top_srcdir=$ac_top_builddir_sub
23470 ac_abs_top_srcdir=$ac_pwd ;;
23471 [\\/]* | ?:[\\/]* ) # Absolute name.
23472 ac_srcdir=$srcdir$ac_dir_suffix;
23473 ac_top_srcdir=$srcdir
23474 ac_abs_top_srcdir=$srcdir ;;
23475 *) # Relative name.
23476 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23477 ac_top_srcdir=$ac_top_build_prefix$srcdir
23478 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23479 esac
23480 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23483 case $ac_mode in
23487 # CONFIG_HEADER
23489 if test x"$ac_file" != x-; then
23491 printf "%s\n" "/* $configure_input */" >&1 \
23492 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23493 } >"$ac_tmp/config.h" \
23494 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23495 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23497 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23498 else
23499 rm -f "$ac_file"
23500 mv "$ac_tmp/config.h" "$ac_file" \
23501 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23503 else
23504 printf "%s\n" "/* $configure_input */" >&1 \
23505 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23506 || as_fn_error $? "could not create -" "$LINENO" 5
23511 # CONFIG_LINK
23514 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23516 else
23517 # Prefer the file from the source tree if names are identical.
23518 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23519 ac_source=$srcdir/$ac_source
23522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23523 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23525 if test ! -r "$ac_source"; then
23526 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23528 rm -f "$ac_file"
23530 # Try a relative symlink, then a hard link, then a copy.
23531 case $ac_source in
23532 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23533 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23534 esac
23535 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23536 ln "$ac_source" "$ac_file" 2>/dev/null ||
23537 cp -p "$ac_source" "$ac_file" ||
23538 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23541 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23542 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23544 esac
23547 case $ac_file$ac_mode in
23548 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23549 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23550 "Makefile":C) wine_fn_output_makefile Makefile ;;
23552 esac
23553 done # for ac_tag
23556 as_fn_exit 0
23557 _ACEOF
23558 ac_clean_files=$ac_clean_files_save
23560 test $ac_write_fail = 0 ||
23561 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23564 # configure is writing to config.log, and then calls config.status.
23565 # config.status does its own redirection, appending to config.log.
23566 # Unfortunately, on DOS this fails, as config.log is still kept open
23567 # by configure, so config.status won't be able to write to it; its
23568 # output is simply discarded. So we exec the FD to /dev/null,
23569 # effectively closing config.log, so it can be properly (re)opened and
23570 # appended to by config.status. When coming back to configure, we
23571 # need to make the FD available again.
23572 if test "$no_create" != yes; then
23573 ac_cs_success=:
23574 ac_config_status_args=
23575 test "$silent" = yes &&
23576 ac_config_status_args="$ac_config_status_args --quiet"
23577 exec 5>/dev/null
23578 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23579 exec 5>>config.log
23580 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23581 # would make configure fail if this is the last instruction.
23582 $ac_cs_success || as_fn_exit 1
23584 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23586 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23590 if test "$no_create" = "yes"
23591 then
23592 exit 0
23595 ac_save_IFS="$IFS"
23596 if test "x$wine_notices" != x; then
23597 echo >&6
23598 IFS="|"
23599 for msg in $wine_notices; do
23600 IFS="$ac_save_IFS"
23601 if ${msg:+false} :
23602 then :
23604 else $as_nop
23605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23606 printf "%s\n" "$as_me: $msg" >&6;}
23608 done
23610 IFS="|"
23611 for msg in $wine_warnings; do
23612 IFS="$ac_save_IFS"
23613 if ${msg:+false} :
23614 then :
23616 else $as_nop
23617 echo >&2
23618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23619 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23621 done
23622 IFS="$ac_save_IFS"
23624 printf "%s\n" "
23625 $as_me: Finished. Do '${ac_make}' to compile Wine.
23626 " >&6