Release 7.7.
[wine.git] / configure
blobf6d0a67791277666cdcce48a1968e40d954a9712
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.7.
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.7'
615 PACKAGE_STRING='Wine 7.7'
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_wintypes
1450 enable_winusb
1451 enable_wlanapi
1452 enable_wlanui
1453 enable_wldap32
1454 enable_wmadmod
1455 enable_wmasf
1456 enable_wmi
1457 enable_wmiutils
1458 enable_wmp
1459 enable_wmphoto
1460 enable_wmvcore
1461 enable_wnaspi32
1462 enable_wow64
1463 enable_wow64cpu
1464 enable_wow64win
1465 enable_wpc
1466 enable_wpcap
1467 enable_ws2_32
1468 enable_wsdapi
1469 enable_wshom_ocx
1470 enable_wsnmp32
1471 enable_wsock32
1472 enable_wtsapi32
1473 enable_wuapi
1474 enable_wuaueng
1475 enable_x3daudio1_0
1476 enable_x3daudio1_1
1477 enable_x3daudio1_2
1478 enable_x3daudio1_3
1479 enable_x3daudio1_4
1480 enable_x3daudio1_5
1481 enable_x3daudio1_6
1482 enable_x3daudio1_7
1483 enable_xactengine2_0
1484 enable_xactengine2_4
1485 enable_xactengine2_7
1486 enable_xactengine2_9
1487 enable_xactengine3_0
1488 enable_xactengine3_1
1489 enable_xactengine3_2
1490 enable_xactengine3_3
1491 enable_xactengine3_4
1492 enable_xactengine3_5
1493 enable_xactengine3_6
1494 enable_xactengine3_7
1495 enable_xapofx1_1
1496 enable_xapofx1_2
1497 enable_xapofx1_3
1498 enable_xapofx1_4
1499 enable_xapofx1_5
1500 enable_xaudio2_0
1501 enable_xaudio2_1
1502 enable_xaudio2_2
1503 enable_xaudio2_3
1504 enable_xaudio2_4
1505 enable_xaudio2_5
1506 enable_xaudio2_6
1507 enable_xaudio2_7
1508 enable_xaudio2_8
1509 enable_xaudio2_9
1510 enable_xinput1_1
1511 enable_xinput1_2
1512 enable_xinput1_3
1513 enable_xinput1_4
1514 enable_xinput9_1_0
1515 enable_xmllite
1516 enable_xolehlp
1517 enable_xpsprint
1518 enable_xpssvcs
1519 enable_fonts
1520 enable_include
1521 enable_adsiid
1522 enable_dmoguids
1523 enable_dxerr8
1524 enable_dxerr9
1525 enable_dxguid
1526 enable_faudio
1527 enable_gsm
1528 enable_jpeg
1529 enable_jxr
1530 enable_lcms2
1531 enable_mfuuid
1532 enable_mpg123
1533 enable_png
1534 enable_strmbase
1535 enable_strmiids
1536 enable_tiff
1537 enable_uuid
1538 enable_vkd3d
1539 enable_wbemuuid
1540 enable_wine
1541 enable_wmcodecdspuuid
1542 enable_xml2
1543 enable_xslt
1544 enable_zlib
1545 enable_loader
1546 enable_nls
1547 enable_po
1548 enable_arp
1549 enable_aspnet_regiis
1550 enable_attrib
1551 enable_cabarc
1552 enable_cacls
1553 enable_chcp_com
1554 enable_clock
1555 enable_cmd
1556 enable_conhost
1557 enable_control
1558 enable_cscript
1559 enable_dism
1560 enable_dllhost
1561 enable_dplaysvr
1562 enable_dpnsvr
1563 enable_dpvsetup
1564 enable_dxdiag
1565 enable_eject
1566 enable_expand
1567 enable_explorer
1568 enable_extrac32
1569 enable_fc
1570 enable_find
1571 enable_findstr
1572 enable_fsutil
1573 enable_hh
1574 enable_hostname
1575 enable_icacls
1576 enable_icinfo
1577 enable_iexplore
1578 enable_ipconfig
1579 enable_lodctr
1580 enable_mofcomp
1581 enable_mshta
1582 enable_msidb
1583 enable_msiexec
1584 enable_msinfo32
1585 enable_net
1586 enable_netsh
1587 enable_netstat
1588 enable_ngen
1589 enable_notepad
1590 enable_oleview
1591 enable_ping
1592 enable_plugplay
1593 enable_powershell
1594 enable_presentationfontcache
1595 enable_progman
1596 enable_reg
1597 enable_regasm
1598 enable_regedit
1599 enable_regini
1600 enable_regsvcs
1601 enable_regsvr32
1602 enable_robocopy
1603 enable_rpcss
1604 enable_rundll32
1605 enable_sc
1606 enable_schtasks
1607 enable_sdbinst
1608 enable_secedit
1609 enable_servicemodelreg
1610 enable_services
1611 enable_shutdown
1612 enable_spoolsv
1613 enable_start
1614 enable_subst
1615 enable_svchost
1616 enable_systeminfo
1617 enable_taskkill
1618 enable_tasklist
1619 enable_taskmgr
1620 enable_termsv
1621 enable_uninstaller
1622 enable_unlodctr
1623 enable_view
1624 enable_wevtutil
1625 enable_where
1626 enable_whoami
1627 enable_wineboot
1628 enable_winebrowser
1629 enable_winecfg
1630 enable_wineconsole
1631 enable_winedbg
1632 enable_winedevice
1633 enable_winefile
1634 enable_winemenubuilder
1635 enable_winemine
1636 enable_winemsibuilder
1637 enable_winepath
1638 enable_winetest
1639 enable_winhlp32
1640 enable_winmgmt
1641 enable_winver
1642 enable_wmic
1643 enable_wmplayer
1644 enable_wordpad
1645 enable_write
1646 enable_wscript
1647 enable_wuauserv
1648 enable_wusa
1649 enable_xcopy
1650 enable_server
1651 enable_tools
1652 enable_sfnt2fon
1653 enable_widl
1654 enable_winebuild
1655 enable_winedump
1656 enable_winegcc
1657 enable_winemaker
1658 enable_wmc
1659 enable_wrc
1661 ac_precious_vars='build_alias
1662 host_alias
1663 target_alias
1665 CFLAGS
1666 LDFLAGS
1667 LIBS
1668 CPPFLAGS
1670 CXXFLAGS
1672 OBJC
1673 OBJCFLAGS
1674 FAUDIO_PE_CFLAGS
1675 FAUDIO_PE_LIBS
1676 GSM_PE_CFLAGS
1677 GSM_PE_LIBS
1678 JPEG_PE_CFLAGS
1679 JPEG_PE_LIBS
1680 JXR_PE_CFLAGS
1681 JXR_PE_LIBS
1682 LCMS2_PE_CFLAGS
1683 LCMS2_PE_LIBS
1684 MPG123_PE_CFLAGS
1685 MPG123_PE_LIBS
1686 PNG_PE_CFLAGS
1687 PNG_PE_LIBS
1688 TIFF_PE_CFLAGS
1689 TIFF_PE_LIBS
1690 VKD3D_PE_CFLAGS
1691 VKD3D_PE_LIBS
1692 XML2_PE_CFLAGS
1693 XML2_PE_LIBS
1694 XSLT_PE_CFLAGS
1695 XSLT_PE_LIBS
1696 ZLIB_PE_CFLAGS
1697 ZLIB_PE_LIBS
1698 XMKMF
1700 INOTIFY_CFLAGS
1701 INOTIFY_LIBS
1702 DBUS_CFLAGS
1703 DBUS_LIBS
1704 GNUTLS_CFLAGS
1705 GNUTLS_LIBS
1706 SANE_CFLAGS
1707 SANE_LIBS
1708 USB_CFLAGS
1709 USB_LIBS
1710 GPHOTO2_CFLAGS
1711 GPHOTO2_LIBS
1712 GPHOTO2_PORT_CFLAGS
1713 GPHOTO2_PORT_LIBS
1714 FREETYPE_CFLAGS
1715 FREETYPE_LIBS
1716 PULSE_CFLAGS
1717 PULSE_LIBS
1718 GSTREAMER_CFLAGS
1719 GSTREAMER_LIBS
1720 UDEV_CFLAGS
1721 UDEV_LIBS
1722 UNWIND_CFLAGS
1723 UNWIND_LIBS
1724 SDL2_CFLAGS
1725 SDL2_LIBS
1726 CAPI20_CFLAGS
1727 CAPI20_LIBS
1728 CUPS_CFLAGS
1729 CUPS_LIBS
1730 FONTCONFIG_CFLAGS
1731 FONTCONFIG_LIBS
1732 KRB5_CFLAGS
1733 KRB5_LIBS
1734 GSSAPI_CFLAGS
1735 GSSAPI_LIBS
1736 NETAPI_CFLAGS
1737 NETAPI_LIBS
1738 LDAP_CFLAGS
1739 LDAP_LIBS'
1742 # Initialize some variables set by options.
1743 ac_init_help=
1744 ac_init_version=false
1745 ac_unrecognized_opts=
1746 ac_unrecognized_sep=
1747 # The variables have the same names as the options, with
1748 # dashes changed to underlines.
1749 cache_file=/dev/null
1750 exec_prefix=NONE
1751 no_create=
1752 no_recursion=
1753 prefix=NONE
1754 program_prefix=NONE
1755 program_suffix=NONE
1756 program_transform_name=s,x,x,
1757 silent=
1758 site=
1759 srcdir=
1760 verbose=
1761 x_includes=NONE
1762 x_libraries=NONE
1764 # Installation directory options.
1765 # These are left unexpanded so users can "make install exec_prefix=/foo"
1766 # and all the variables that are supposed to be based on exec_prefix
1767 # by default will actually change.
1768 # Use braces instead of parens because sh, perl, etc. also accept them.
1769 # (The list follows the same order as the GNU Coding Standards.)
1770 bindir='${exec_prefix}/bin'
1771 sbindir='${exec_prefix}/sbin'
1772 libexecdir='${exec_prefix}/libexec'
1773 datarootdir='${prefix}/share'
1774 datadir='${datarootdir}'
1775 sysconfdir='${prefix}/etc'
1776 sharedstatedir='${prefix}/com'
1777 localstatedir='${prefix}/var'
1778 runstatedir='${localstatedir}/run'
1779 includedir='${prefix}/include'
1780 oldincludedir='/usr/include'
1781 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1782 infodir='${datarootdir}/info'
1783 htmldir='${docdir}'
1784 dvidir='${docdir}'
1785 pdfdir='${docdir}'
1786 psdir='${docdir}'
1787 libdir='${exec_prefix}/lib'
1788 localedir='${datarootdir}/locale'
1789 mandir='${datarootdir}/man'
1791 ac_prev=
1792 ac_dashdash=
1793 for ac_option
1795 # If the previous option needs an argument, assign it.
1796 if test -n "$ac_prev"; then
1797 eval $ac_prev=\$ac_option
1798 ac_prev=
1799 continue
1802 case $ac_option in
1803 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1804 *=) ac_optarg= ;;
1805 *) ac_optarg=yes ;;
1806 esac
1808 case $ac_dashdash$ac_option in
1810 ac_dashdash=yes ;;
1812 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1813 ac_prev=bindir ;;
1814 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1815 bindir=$ac_optarg ;;
1817 -build | --build | --buil | --bui | --bu)
1818 ac_prev=build_alias ;;
1819 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1820 build_alias=$ac_optarg ;;
1822 -cache-file | --cache-file | --cache-fil | --cache-fi \
1823 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1824 ac_prev=cache_file ;;
1825 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1826 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1827 cache_file=$ac_optarg ;;
1829 --config-cache | -C)
1830 cache_file=config.cache ;;
1832 -datadir | --datadir | --datadi | --datad)
1833 ac_prev=datadir ;;
1834 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1835 datadir=$ac_optarg ;;
1837 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1838 | --dataroo | --dataro | --datar)
1839 ac_prev=datarootdir ;;
1840 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1841 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1842 datarootdir=$ac_optarg ;;
1844 -disable-* | --disable-*)
1845 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1846 # Reject names that are not valid shell variable names.
1847 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1848 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1849 ac_useropt_orig=$ac_useropt
1850 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1851 case $ac_user_opts in
1853 "enable_$ac_useropt"
1854 "*) ;;
1855 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1856 ac_unrecognized_sep=', ';;
1857 esac
1858 eval enable_$ac_useropt=no ;;
1860 -docdir | --docdir | --docdi | --doc | --do)
1861 ac_prev=docdir ;;
1862 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1863 docdir=$ac_optarg ;;
1865 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1866 ac_prev=dvidir ;;
1867 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1868 dvidir=$ac_optarg ;;
1870 -enable-* | --enable-*)
1871 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1872 # Reject names that are not valid shell variable names.
1873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1874 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1875 ac_useropt_orig=$ac_useropt
1876 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1877 case $ac_user_opts in
1879 "enable_$ac_useropt"
1880 "*) ;;
1881 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1882 ac_unrecognized_sep=', ';;
1883 esac
1884 eval enable_$ac_useropt=\$ac_optarg ;;
1886 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1887 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1888 | --exec | --exe | --ex)
1889 ac_prev=exec_prefix ;;
1890 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1891 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1892 | --exec=* | --exe=* | --ex=*)
1893 exec_prefix=$ac_optarg ;;
1895 -gas | --gas | --ga | --g)
1896 # Obsolete; use --with-gas.
1897 with_gas=yes ;;
1899 -help | --help | --hel | --he | -h)
1900 ac_init_help=long ;;
1901 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1902 ac_init_help=recursive ;;
1903 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1904 ac_init_help=short ;;
1906 -host | --host | --hos | --ho)
1907 ac_prev=host_alias ;;
1908 -host=* | --host=* | --hos=* | --ho=*)
1909 host_alias=$ac_optarg ;;
1911 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1912 ac_prev=htmldir ;;
1913 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1914 | --ht=*)
1915 htmldir=$ac_optarg ;;
1917 -includedir | --includedir | --includedi | --included | --include \
1918 | --includ | --inclu | --incl | --inc)
1919 ac_prev=includedir ;;
1920 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1921 | --includ=* | --inclu=* | --incl=* | --inc=*)
1922 includedir=$ac_optarg ;;
1924 -infodir | --infodir | --infodi | --infod | --info | --inf)
1925 ac_prev=infodir ;;
1926 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1927 infodir=$ac_optarg ;;
1929 -libdir | --libdir | --libdi | --libd)
1930 ac_prev=libdir ;;
1931 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1932 libdir=$ac_optarg ;;
1934 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1935 | --libexe | --libex | --libe)
1936 ac_prev=libexecdir ;;
1937 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1938 | --libexe=* | --libex=* | --libe=*)
1939 libexecdir=$ac_optarg ;;
1941 -localedir | --localedir | --localedi | --localed | --locale)
1942 ac_prev=localedir ;;
1943 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1944 localedir=$ac_optarg ;;
1946 -localstatedir | --localstatedir | --localstatedi | --localstated \
1947 | --localstate | --localstat | --localsta | --localst | --locals)
1948 ac_prev=localstatedir ;;
1949 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1950 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1951 localstatedir=$ac_optarg ;;
1953 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1954 ac_prev=mandir ;;
1955 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1956 mandir=$ac_optarg ;;
1958 -nfp | --nfp | --nf)
1959 # Obsolete; use --without-fp.
1960 with_fp=no ;;
1962 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1963 | --no-cr | --no-c | -n)
1964 no_create=yes ;;
1966 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1967 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1968 no_recursion=yes ;;
1970 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1971 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1972 | --oldin | --oldi | --old | --ol | --o)
1973 ac_prev=oldincludedir ;;
1974 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1975 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1976 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1977 oldincludedir=$ac_optarg ;;
1979 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1980 ac_prev=prefix ;;
1981 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1982 prefix=$ac_optarg ;;
1984 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1985 | --program-pre | --program-pr | --program-p)
1986 ac_prev=program_prefix ;;
1987 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1988 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1989 program_prefix=$ac_optarg ;;
1991 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1992 | --program-suf | --program-su | --program-s)
1993 ac_prev=program_suffix ;;
1994 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1995 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1996 program_suffix=$ac_optarg ;;
1998 -program-transform-name | --program-transform-name \
1999 | --program-transform-nam | --program-transform-na \
2000 | --program-transform-n | --program-transform- \
2001 | --program-transform | --program-transfor \
2002 | --program-transfo | --program-transf \
2003 | --program-trans | --program-tran \
2004 | --progr-tra | --program-tr | --program-t)
2005 ac_prev=program_transform_name ;;
2006 -program-transform-name=* | --program-transform-name=* \
2007 | --program-transform-nam=* | --program-transform-na=* \
2008 | --program-transform-n=* | --program-transform-=* \
2009 | --program-transform=* | --program-transfor=* \
2010 | --program-transfo=* | --program-transf=* \
2011 | --program-trans=* | --program-tran=* \
2012 | --progr-tra=* | --program-tr=* | --program-t=*)
2013 program_transform_name=$ac_optarg ;;
2015 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2016 ac_prev=pdfdir ;;
2017 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2018 pdfdir=$ac_optarg ;;
2020 -psdir | --psdir | --psdi | --psd | --ps)
2021 ac_prev=psdir ;;
2022 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2023 psdir=$ac_optarg ;;
2025 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2026 | -silent | --silent | --silen | --sile | --sil)
2027 silent=yes ;;
2029 -runstatedir | --runstatedir | --runstatedi | --runstated \
2030 | --runstate | --runstat | --runsta | --runst | --runs \
2031 | --run | --ru | --r)
2032 ac_prev=runstatedir ;;
2033 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2034 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2035 | --run=* | --ru=* | --r=*)
2036 runstatedir=$ac_optarg ;;
2038 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2039 ac_prev=sbindir ;;
2040 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2041 | --sbi=* | --sb=*)
2042 sbindir=$ac_optarg ;;
2044 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2045 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2046 | --sharedst | --shareds | --shared | --share | --shar \
2047 | --sha | --sh)
2048 ac_prev=sharedstatedir ;;
2049 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2050 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2051 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2052 | --sha=* | --sh=*)
2053 sharedstatedir=$ac_optarg ;;
2055 -site | --site | --sit)
2056 ac_prev=site ;;
2057 -site=* | --site=* | --sit=*)
2058 site=$ac_optarg ;;
2060 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2061 ac_prev=srcdir ;;
2062 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2063 srcdir=$ac_optarg ;;
2065 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2066 | --syscon | --sysco | --sysc | --sys | --sy)
2067 ac_prev=sysconfdir ;;
2068 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2069 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2070 sysconfdir=$ac_optarg ;;
2072 -target | --target | --targe | --targ | --tar | --ta | --t)
2073 ac_prev=target_alias ;;
2074 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2075 target_alias=$ac_optarg ;;
2077 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2078 verbose=yes ;;
2080 -version | --version | --versio | --versi | --vers | -V)
2081 ac_init_version=: ;;
2083 -with-* | --with-*)
2084 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2085 # Reject names that are not valid shell variable names.
2086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2087 as_fn_error $? "invalid package name: \`$ac_useropt'"
2088 ac_useropt_orig=$ac_useropt
2089 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2090 case $ac_user_opts in
2092 "with_$ac_useropt"
2093 "*) ;;
2094 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2095 ac_unrecognized_sep=', ';;
2096 esac
2097 eval with_$ac_useropt=\$ac_optarg ;;
2099 -without-* | --without-*)
2100 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2101 # Reject names that are not valid shell variable names.
2102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2103 as_fn_error $? "invalid package name: \`$ac_useropt'"
2104 ac_useropt_orig=$ac_useropt
2105 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2106 case $ac_user_opts in
2108 "with_$ac_useropt"
2109 "*) ;;
2110 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2111 ac_unrecognized_sep=', ';;
2112 esac
2113 eval with_$ac_useropt=no ;;
2115 --x)
2116 # Obsolete; use --with-x.
2117 with_x=yes ;;
2119 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2120 | --x-incl | --x-inc | --x-in | --x-i)
2121 ac_prev=x_includes ;;
2122 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2123 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2124 x_includes=$ac_optarg ;;
2126 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2127 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2128 ac_prev=x_libraries ;;
2129 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2130 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2131 x_libraries=$ac_optarg ;;
2133 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2134 Try \`$0 --help' for more information"
2137 *=*)
2138 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2139 # Reject names that are not valid shell variable names.
2140 case $ac_envvar in #(
2141 '' | [0-9]* | *[!_$as_cr_alnum]* )
2142 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2143 esac
2144 eval $ac_envvar=\$ac_optarg
2145 export $ac_envvar ;;
2148 # FIXME: should be removed in autoconf 3.0.
2149 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2150 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2151 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2152 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2155 esac
2156 done
2158 if test -n "$ac_prev"; then
2159 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2160 as_fn_error $? "missing argument to $ac_option"
2163 if test -n "$ac_unrecognized_opts"; then
2164 case $enable_option_checking in
2165 no) ;;
2166 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2167 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2168 esac
2171 # Check all directory arguments for consistency.
2172 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2173 datadir sysconfdir sharedstatedir localstatedir includedir \
2174 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2175 libdir localedir mandir runstatedir
2177 eval ac_val=\$$ac_var
2178 # Remove trailing slashes.
2179 case $ac_val in
2180 */ )
2181 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2182 eval $ac_var=\$ac_val;;
2183 esac
2184 # Be sure to have absolute directory names.
2185 case $ac_val in
2186 [\\/$]* | ?:[\\/]* ) continue;;
2187 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2188 esac
2189 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2190 done
2192 # There might be people who depend on the old broken behavior: `$host'
2193 # used to hold the argument of --host etc.
2194 # FIXME: To remove some day.
2195 build=$build_alias
2196 host=$host_alias
2197 target=$target_alias
2199 # FIXME: To remove some day.
2200 if test "x$host_alias" != x; then
2201 if test "x$build_alias" = x; then
2202 cross_compiling=maybe
2203 elif test "x$build_alias" != "x$host_alias"; then
2204 cross_compiling=yes
2208 ac_tool_prefix=
2209 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2211 test "$silent" = yes && exec 6>/dev/null
2214 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2215 ac_ls_di=`ls -di .` &&
2216 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2217 as_fn_error $? "working directory cannot be determined"
2218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2219 as_fn_error $? "pwd does not report name of working directory"
2222 # Find the source files, if location was not specified.
2223 if test -z "$srcdir"; then
2224 ac_srcdir_defaulted=yes
2225 # Try the directory containing this script, then the parent directory.
2226 ac_confdir=`$as_dirname -- "$as_myself" ||
2227 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2228 X"$as_myself" : 'X\(//\)[^/]' \| \
2229 X"$as_myself" : 'X\(//\)$' \| \
2230 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2231 printf "%s\n" X"$as_myself" |
2232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2233 s//\1/
2236 /^X\(\/\/\)[^/].*/{
2237 s//\1/
2240 /^X\(\/\/\)$/{
2241 s//\1/
2244 /^X\(\/\).*/{
2245 s//\1/
2248 s/.*/./; q'`
2249 srcdir=$ac_confdir
2250 if test ! -r "$srcdir/$ac_unique_file"; then
2251 srcdir=..
2253 else
2254 ac_srcdir_defaulted=no
2256 if test ! -r "$srcdir/$ac_unique_file"; then
2257 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2258 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2260 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2261 ac_abs_confdir=`(
2262 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2263 pwd)`
2264 # When building in place, set srcdir=.
2265 if test "$ac_abs_confdir" = "$ac_pwd"; then
2266 srcdir=.
2268 # Remove unnecessary trailing slashes from srcdir.
2269 # Double slashes in file names in object file debugging info
2270 # mess up M-x gdb in Emacs.
2271 case $srcdir in
2272 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2273 esac
2274 for ac_var in $ac_precious_vars; do
2275 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2276 eval ac_env_${ac_var}_value=\$${ac_var}
2277 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2278 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2279 done
2282 # Report the --help message.
2284 if test "$ac_init_help" = "long"; then
2285 # Omit some internal or obsolete options to make the list less imposing.
2286 # This message is too long to be a string in the A/UX 3.1 sh.
2287 cat <<_ACEOF
2288 \`configure' configures Wine 7.7 to adapt to many kinds of systems.
2290 Usage: $0 [OPTION]... [VAR=VALUE]...
2292 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2293 VAR=VALUE. See below for descriptions of some of the useful variables.
2295 Defaults for the options are specified in brackets.
2297 Configuration:
2298 -h, --help display this help and exit
2299 --help=short display options specific to this package
2300 --help=recursive display the short help of all the included packages
2301 -V, --version display version information and exit
2302 -q, --quiet, --silent do not print \`checking ...' messages
2303 --cache-file=FILE cache test results in FILE [disabled]
2304 -C, --config-cache alias for \`--cache-file=config.cache'
2305 -n, --no-create do not create output files
2306 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2308 Installation directories:
2309 --prefix=PREFIX install architecture-independent files in PREFIX
2310 [$ac_default_prefix]
2311 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2312 [PREFIX]
2314 By default, \`make install' will install all the files in
2315 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2316 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2317 for instance \`--prefix=\$HOME'.
2319 For better control, use the options below.
2321 Fine tuning of the installation directories:
2322 --bindir=DIR user executables [EPREFIX/bin]
2323 --sbindir=DIR system admin executables [EPREFIX/sbin]
2324 --libexecdir=DIR program executables [EPREFIX/libexec]
2325 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2326 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2327 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2328 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2329 --libdir=DIR object code libraries [EPREFIX/lib]
2330 --includedir=DIR C header files [PREFIX/include]
2331 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2332 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2333 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2334 --infodir=DIR info documentation [DATAROOTDIR/info]
2335 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2336 --mandir=DIR man documentation [DATAROOTDIR/man]
2337 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2338 --htmldir=DIR html documentation [DOCDIR]
2339 --dvidir=DIR dvi documentation [DOCDIR]
2340 --pdfdir=DIR pdf documentation [DOCDIR]
2341 --psdir=DIR ps documentation [DOCDIR]
2342 _ACEOF
2344 cat <<\_ACEOF
2346 X features:
2347 --x-includes=DIR X include files are in DIR
2348 --x-libraries=DIR X library files are in DIR
2350 System types:
2351 --build=BUILD configure for building on BUILD [guessed]
2352 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2353 _ACEOF
2356 if test -n "$ac_init_help"; then
2357 case $ac_init_help in
2358 short | recursive ) echo "Configuration of Wine 7.7:";;
2359 esac
2360 cat <<\_ACEOF
2362 Optional Features:
2363 --disable-option-checking ignore unrecognized --enable/--with options
2364 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2365 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2366 --disable-win16 do not include Win16 support
2367 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2368 binaries)
2369 --disable-tests do not build the regression tests
2370 --enable-build-id include .buildid section in output objects
2371 --enable-maintainer-mode
2372 enable maintainer-specific build rules
2373 --enable-silent-rules use silent build rules (override: "make V=1")
2374 --enable-werror treat compilation warnings as errors
2375 --disable-largefile omit support for large files
2377 Optional Packages:
2378 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2379 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2380 --without-alsa do not use the Alsa sound support
2381 --without-capi do not use CAPI (ISDN support)
2382 --without-coreaudio do not use the CoreAudio sound support
2383 --without-cups do not use CUPS
2384 --without-dbus do not use DBus (dynamic device support)
2385 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2386 --without-fontconfig do not use fontconfig
2387 --without-freetype do not use the FreeType library
2388 --without-gettext do not use gettext
2389 --with-gettextpo use the GetTextPO library to rebuild po files
2390 --without-gphoto do not use gphoto (Digital Camera support)
2391 --without-gnutls do not use GnuTLS (schannel support)
2392 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2393 --without-gstreamer do not use GStreamer (codecs support)
2394 --without-inotify do not use inotify (filesystem change notifications)
2395 --without-krb5 do not use krb5 (Kerberos)
2396 --without-ldap do not use LDAP
2397 --without-mingw do not use the MinGW cross-compiler
2398 --without-netapi do not use the Samba NetAPI library
2399 --without-openal do not use OpenAL
2400 --without-opencl do not use OpenCL
2401 --without-opengl do not use OpenGL
2402 --without-osmesa do not use the OSMesa library
2403 --without-oss do not use the OSS sound support
2404 --without-pcap do not use the Packet Capture library
2405 --without-pthread do not use the pthread library
2406 --without-pulse do not use PulseAudio sound support
2407 --without-sane do not use SANE (scanner support)
2408 --without-sdl do not use SDL
2409 --without-udev do not use udev (plug and play support)
2410 --without-unwind do not use the libunwind library (exception
2411 handling)
2412 --without-usb do not use the libusb library
2413 --without-v4l2 do not use v4l2 (video capture)
2414 --without-vulkan do not use Vulkan
2415 --without-xcomposite do not use the Xcomposite extension
2416 --without-xcursor do not use the Xcursor extension
2417 --without-xfixes do not use Xfixes for clipboard change notifications
2418 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2419 --without-xinput do not use the Xinput extension
2420 --without-xinput2 do not use the Xinput 2 extension
2421 --without-xrandr do not use Xrandr (multi-monitor support)
2422 --without-xrender do not use the Xrender extension
2423 --without-xshape do not use the Xshape extension
2424 --without-xshm do not use XShm (shared memory extension)
2425 --without-xxf86vm do not use XFree video mode extension
2426 --with-system-dllpath=PATH
2427 load external PE dependencies from colon-separated
2428 path PATH
2429 --with-wine-tools=DIR use Wine tools from directory DIR
2430 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2431 --with-x use the X Window System
2433 Some influential environment variables:
2434 CC C compiler command
2435 CFLAGS C compiler flags
2436 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2437 nonstandard directory <lib dir>
2438 LIBS libraries to pass to the linker, e.g. -l<library>
2439 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2440 you have headers in a nonstandard directory <include dir>
2441 CXX C++ compiler command
2442 CXXFLAGS C++ compiler flags
2443 OBJC Objective C compiler command
2444 OBJCFLAGS Objective C compiler flags
2445 FAUDIO_PE_CFLAGS
2446 C compiler flags for the PE faudio, overriding the bundled
2447 version
2448 FAUDIO_PE_LIBS
2449 Linker flags for the PE faudio, overriding the bundled version
2450 GSM_PE_CFLAGS
2451 C compiler flags for the PE gsm, overriding the bundled version
2452 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2453 JPEG_PE_CFLAGS
2454 C compiler flags for the PE jpeg, overriding the bundled version
2455 JPEG_PE_LIBS
2456 Linker flags for the PE jpeg, overriding the bundled version
2457 JXR_PE_CFLAGS
2458 C compiler flags for the PE jxr, overriding the bundled version
2459 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2460 LCMS2_PE_CFLAGS
2461 C compiler flags for the PE lcms2, overriding the bundled
2462 version
2463 LCMS2_PE_LIBS
2464 Linker flags for the PE lcms2, overriding the bundled version
2465 MPG123_PE_CFLAGS
2466 C compiler flags for the PE mpg123, overriding the bundled
2467 version
2468 MPG123_PE_LIBS
2469 Linker flags for the PE mpg123, overriding the bundled version
2470 PNG_PE_CFLAGS
2471 C compiler flags for the PE png, overriding the bundled version
2472 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2473 TIFF_PE_CFLAGS
2474 C compiler flags for the PE tiff, overriding the bundled version
2475 TIFF_PE_LIBS
2476 Linker flags for the PE tiff, overriding the bundled version
2477 VKD3D_PE_CFLAGS
2478 C compiler flags for the PE vkd3d, overriding the bundled
2479 version
2480 VKD3D_PE_LIBS
2481 Linker flags for the PE vkd3d, overriding the bundled version
2482 XML2_PE_CFLAGS
2483 C compiler flags for the PE xml2, overriding the bundled version
2484 XML2_PE_LIBS
2485 Linker flags for the PE xml2, overriding the bundled version
2486 XSLT_PE_CFLAGS
2487 C compiler flags for the PE xslt, overriding the bundled version
2488 XSLT_PE_LIBS
2489 Linker flags for the PE xslt, overriding the bundled version
2490 ZLIB_PE_CFLAGS
2491 C compiler flags for the PE zlib, overriding the bundled version
2492 ZLIB_PE_LIBS
2493 Linker flags for the PE zlib, overriding the bundled version
2494 XMKMF Path to xmkmf, Makefile generator for X Window System
2495 CPP C preprocessor
2496 INOTIFY_CFLAGS
2497 C compiler flags for libinotify, overriding pkg-config
2498 INOTIFY_LIBS
2499 Linker flags for libinotify, overriding pkg-config
2500 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2501 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2502 GNUTLS_CFLAGS
2503 C compiler flags for gnutls, overriding pkg-config
2504 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2505 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2506 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2507 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2508 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2509 GPHOTO2_CFLAGS
2510 C compiler flags for libgphoto2, overriding pkg-config
2511 GPHOTO2_LIBS
2512 Linker flags for libgphoto2, overriding pkg-config
2513 GPHOTO2_PORT_CFLAGS
2514 C compiler flags for libgphoto2_port, overriding pkg-config
2515 GPHOTO2_PORT_LIBS
2516 Linker flags for libgphoto2_port, overriding pkg-config
2517 FREETYPE_CFLAGS
2518 C compiler flags for freetype2, overriding pkg-config
2519 FREETYPE_LIBS
2520 Linker flags for freetype2, overriding pkg-config
2521 PULSE_CFLAGS
2522 C compiler flags for libpulse, overriding pkg-config
2523 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2524 GSTREAMER_CFLAGS
2525 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2526 gstreamer-audio-1.0, overriding pkg-config
2527 GSTREAMER_LIBS
2528 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2529 gstreamer-audio-1.0, overriding pkg-config
2530 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2531 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2532 UNWIND_CFLAGS
2533 C compiler flags for libunwind, overriding pkg-config
2534 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2535 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2536 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2537 CAPI20_CFLAGS
2538 C compiler flags for capi20, overriding pkg-config
2539 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2540 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2541 CUPS_LIBS Linker flags for cups, overriding pkg-config
2542 FONTCONFIG_CFLAGS
2543 C compiler flags for fontconfig, overriding pkg-config
2544 FONTCONFIG_LIBS
2545 Linker flags for fontconfig, overriding pkg-config
2546 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2547 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2548 GSSAPI_CFLAGS
2549 C compiler flags for krb5-gssapi, overriding pkg-config
2550 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2551 NETAPI_CFLAGS
2552 C compiler flags for netapi, overriding pkg-config
2553 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2554 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2555 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2557 Use these variables to override the choices made by `configure' or to help
2558 it to find libraries and programs with nonstandard names/locations.
2560 Report bugs to <wine-devel@winehq.org>.
2561 Wine home page: <https://www.winehq.org>.
2562 _ACEOF
2563 ac_status=$?
2566 if test "$ac_init_help" = "recursive"; then
2567 # If there are subdirs, report their specific --help.
2568 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2569 test -d "$ac_dir" ||
2570 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2571 continue
2572 ac_builddir=.
2574 case "$ac_dir" in
2575 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2577 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2578 # A ".." for each directory in $ac_dir_suffix.
2579 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2580 case $ac_top_builddir_sub in
2581 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2582 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2583 esac ;;
2584 esac
2585 ac_abs_top_builddir=$ac_pwd
2586 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2587 # for backward compatibility:
2588 ac_top_builddir=$ac_top_build_prefix
2590 case $srcdir in
2591 .) # We are building in place.
2592 ac_srcdir=.
2593 ac_top_srcdir=$ac_top_builddir_sub
2594 ac_abs_top_srcdir=$ac_pwd ;;
2595 [\\/]* | ?:[\\/]* ) # Absolute name.
2596 ac_srcdir=$srcdir$ac_dir_suffix;
2597 ac_top_srcdir=$srcdir
2598 ac_abs_top_srcdir=$srcdir ;;
2599 *) # Relative name.
2600 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2601 ac_top_srcdir=$ac_top_build_prefix$srcdir
2602 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2603 esac
2604 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2606 cd "$ac_dir" || { ac_status=$?; continue; }
2607 # Check for configure.gnu first; this name is used for a wrapper for
2608 # Metaconfig's "Configure" on case-insensitive file systems.
2609 if test -f "$ac_srcdir/configure.gnu"; then
2610 echo &&
2611 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2612 elif test -f "$ac_srcdir/configure"; then
2613 echo &&
2614 $SHELL "$ac_srcdir/configure" --help=recursive
2615 else
2616 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2617 fi || ac_status=$?
2618 cd "$ac_pwd" || { ac_status=$?; break; }
2619 done
2622 test -n "$ac_init_help" && exit $ac_status
2623 if $ac_init_version; then
2624 cat <<\_ACEOF
2625 Wine configure 7.7
2626 generated by GNU Autoconf 2.71
2628 Copyright (C) 2021 Free Software Foundation, Inc.
2629 This configure script is free software; the Free Software Foundation
2630 gives unlimited permission to copy, distribute and modify it.
2631 _ACEOF
2632 exit
2635 ## ------------------------ ##
2636 ## Autoconf initialization. ##
2637 ## ------------------------ ##
2639 # ac_fn_c_try_compile LINENO
2640 # --------------------------
2641 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2642 ac_fn_c_try_compile ()
2644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2645 rm -f conftest.$ac_objext conftest.beam
2646 if { { ac_try="$ac_compile"
2647 case "(($ac_try" in
2648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2649 *) ac_try_echo=$ac_try;;
2650 esac
2651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2652 printf "%s\n" "$ac_try_echo"; } >&5
2653 (eval "$ac_compile") 2>conftest.err
2654 ac_status=$?
2655 if test -s conftest.err; then
2656 grep -v '^ *+' conftest.err >conftest.er1
2657 cat conftest.er1 >&5
2658 mv -f conftest.er1 conftest.err
2660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2661 test $ac_status = 0; } && {
2662 test -z "$ac_c_werror_flag" ||
2663 test ! -s conftest.err
2664 } && test -s conftest.$ac_objext
2665 then :
2666 ac_retval=0
2667 else $as_nop
2668 printf "%s\n" "$as_me: failed program was:" >&5
2669 sed 's/^/| /' conftest.$ac_ext >&5
2671 ac_retval=1
2673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2674 as_fn_set_status $ac_retval
2676 } # ac_fn_c_try_compile
2678 # ac_fn_cxx_try_compile LINENO
2679 # ----------------------------
2680 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2681 ac_fn_cxx_try_compile ()
2683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2684 rm -f conftest.$ac_objext conftest.beam
2685 if { { ac_try="$ac_compile"
2686 case "(($ac_try" in
2687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;;
2689 esac
2690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2691 printf "%s\n" "$ac_try_echo"; } >&5
2692 (eval "$ac_compile") 2>conftest.err
2693 ac_status=$?
2694 if test -s conftest.err; then
2695 grep -v '^ *+' conftest.err >conftest.er1
2696 cat conftest.er1 >&5
2697 mv -f conftest.er1 conftest.err
2699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2700 test $ac_status = 0; } && {
2701 test -z "$ac_cxx_werror_flag" ||
2702 test ! -s conftest.err
2703 } && test -s conftest.$ac_objext
2704 then :
2705 ac_retval=0
2706 else $as_nop
2707 printf "%s\n" "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.$ac_ext >&5
2710 ac_retval=1
2712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 as_fn_set_status $ac_retval
2715 } # ac_fn_cxx_try_compile
2717 # ac_fn_c_try_link LINENO
2718 # -----------------------
2719 # Try to link conftest.$ac_ext, and return whether this succeeded.
2720 ac_fn_c_try_link ()
2722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2723 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2724 if { { ac_try="$ac_link"
2725 case "(($ac_try" in
2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2728 esac
2729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2730 printf "%s\n" "$ac_try_echo"; } >&5
2731 (eval "$ac_link") 2>conftest.err
2732 ac_status=$?
2733 if test -s conftest.err; then
2734 grep -v '^ *+' conftest.err >conftest.er1
2735 cat conftest.er1 >&5
2736 mv -f conftest.er1 conftest.err
2738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2739 test $ac_status = 0; } && {
2740 test -z "$ac_c_werror_flag" ||
2741 test ! -s conftest.err
2742 } && test -s conftest$ac_exeext && {
2743 test "$cross_compiling" = yes ||
2744 test -x conftest$ac_exeext
2746 then :
2747 ac_retval=0
2748 else $as_nop
2749 printf "%s\n" "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2752 ac_retval=1
2754 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2755 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2756 # interfere with the next link command; also delete a directory that is
2757 # left behind by Apple's compiler. We do this before executing the actions.
2758 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2760 as_fn_set_status $ac_retval
2762 } # ac_fn_c_try_link
2764 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2765 # -------------------------------------------------------
2766 # Tests whether HEADER exists and can be compiled using the include files in
2767 # INCLUDES, setting the cache variable VAR accordingly.
2768 ac_fn_c_check_header_compile ()
2770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2772 printf %s "checking for $2... " >&6; }
2773 if eval test \${$3+y}
2774 then :
2775 printf %s "(cached) " >&6
2776 else $as_nop
2777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2778 /* end confdefs.h. */
2780 #include <$2>
2781 _ACEOF
2782 if ac_fn_c_try_compile "$LINENO"
2783 then :
2784 eval "$3=yes"
2785 else $as_nop
2786 eval "$3=no"
2788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2790 eval ac_res=\$$3
2791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2792 printf "%s\n" "$ac_res" >&6; }
2793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2795 } # ac_fn_c_check_header_compile
2797 # ac_fn_objc_try_compile LINENO
2798 # -----------------------------
2799 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2800 ac_fn_objc_try_compile ()
2802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2803 rm -f conftest.$ac_objext conftest.beam
2804 if { { ac_try="$ac_compile"
2805 case "(($ac_try" in
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2808 esac
2809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810 printf "%s\n" "$ac_try_echo"; } >&5
2811 (eval "$ac_compile") 2>conftest.err
2812 ac_status=$?
2813 if test -s conftest.err; then
2814 grep -v '^ *+' conftest.err >conftest.er1
2815 cat conftest.er1 >&5
2816 mv -f conftest.er1 conftest.err
2818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2819 test $ac_status = 0; } && {
2820 test -z "$ac_objc_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest.$ac_objext
2823 then :
2824 ac_retval=0
2825 else $as_nop
2826 printf "%s\n" "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2829 ac_retval=1
2831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2832 as_fn_set_status $ac_retval
2834 } # ac_fn_objc_try_compile
2836 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2837 # ----------------------------------------------------------
2838 # Tests whether HEADER exists and can be compiled using the include files in
2839 # INCLUDES, setting the cache variable VAR accordingly.
2840 ac_fn_objc_check_header_compile ()
2842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2844 printf %s "checking for $2... " >&6; }
2845 if eval test \${$3+y}
2846 then :
2847 printf %s "(cached) " >&6
2848 else $as_nop
2849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2850 /* end confdefs.h. */
2852 #include <$2>
2853 _ACEOF
2854 if ac_fn_objc_try_compile "$LINENO"
2855 then :
2856 eval "$3=yes"
2857 else $as_nop
2858 eval "$3=no"
2860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2862 eval ac_res=\$$3
2863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2864 printf "%s\n" "$ac_res" >&6; }
2865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2867 } # ac_fn_objc_check_header_compile
2869 # ac_fn_c_check_func LINENO FUNC VAR
2870 # ----------------------------------
2871 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2872 ac_fn_c_check_func ()
2874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2876 printf %s "checking for $2... " >&6; }
2877 if eval test \${$3+y}
2878 then :
2879 printf %s "(cached) " >&6
2880 else $as_nop
2881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2882 /* end confdefs.h. */
2883 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2885 #define $2 innocuous_$2
2887 /* System header to define __stub macros and hopefully few prototypes,
2888 which can conflict with char $2 (); below. */
2890 #include <limits.h>
2891 #undef $2
2893 /* Override any GCC internal prototype to avoid an error.
2894 Use char because int might match the return type of a GCC
2895 builtin and then its argument prototype would still apply. */
2896 #ifdef __cplusplus
2897 extern "C"
2898 #endif
2899 char $2 ();
2900 /* The GNU C library defines this for functions which it implements
2901 to always fail with ENOSYS. Some functions are actually named
2902 something starting with __ and the normal name is an alias. */
2903 #if defined __stub_$2 || defined __stub___$2
2904 choke me
2905 #endif
2908 main (void)
2910 return $2 ();
2912 return 0;
2914 _ACEOF
2915 if ac_fn_c_try_link "$LINENO"
2916 then :
2917 eval "$3=yes"
2918 else $as_nop
2919 eval "$3=no"
2921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2922 conftest$ac_exeext conftest.$ac_ext
2924 eval ac_res=\$$3
2925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2926 printf "%s\n" "$ac_res" >&6; }
2927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2929 } # ac_fn_c_check_func
2931 # ac_fn_c_try_cpp LINENO
2932 # ----------------------
2933 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2934 ac_fn_c_try_cpp ()
2936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2937 if { { ac_try="$ac_cpp conftest.$ac_ext"
2938 case "(($ac_try" in
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2941 esac
2942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2943 printf "%s\n" "$ac_try_echo"; } >&5
2944 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2945 ac_status=$?
2946 if test -s conftest.err; then
2947 grep -v '^ *+' conftest.err >conftest.er1
2948 cat conftest.er1 >&5
2949 mv -f conftest.er1 conftest.err
2951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2952 test $ac_status = 0; } > conftest.i && {
2953 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2954 test ! -s conftest.err
2956 then :
2957 ac_retval=0
2958 else $as_nop
2959 printf "%s\n" "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.$ac_ext >&5
2962 ac_retval=1
2964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2965 as_fn_set_status $ac_retval
2967 } # ac_fn_c_try_cpp
2969 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2970 # ----------------------------------------------------
2971 # Tries to find if the field MEMBER exists in type AGGR, after including
2972 # INCLUDES, setting cache variable VAR accordingly.
2973 ac_fn_c_check_member ()
2975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2977 printf %s "checking for $2.$3... " >&6; }
2978 if eval test \${$4+y}
2979 then :
2980 printf %s "(cached) " >&6
2981 else $as_nop
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2986 main (void)
2988 static $2 ac_aggr;
2989 if (ac_aggr.$3)
2990 return 0;
2992 return 0;
2994 _ACEOF
2995 if ac_fn_c_try_compile "$LINENO"
2996 then :
2997 eval "$4=yes"
2998 else $as_nop
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3003 main (void)
3005 static $2 ac_aggr;
3006 if (sizeof ac_aggr.$3)
3007 return 0;
3009 return 0;
3011 _ACEOF
3012 if ac_fn_c_try_compile "$LINENO"
3013 then :
3014 eval "$4=yes"
3015 else $as_nop
3016 eval "$4=no"
3018 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3020 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3022 eval ac_res=\$$4
3023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3024 printf "%s\n" "$ac_res" >&6; }
3025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3027 } # ac_fn_c_check_member
3029 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3030 # -------------------------------------------
3031 # Tests whether TYPE exists after having included INCLUDES, setting cache
3032 # variable VAR accordingly.
3033 ac_fn_c_check_type ()
3035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3037 printf %s "checking for $2... " >&6; }
3038 if eval test \${$3+y}
3039 then :
3040 printf %s "(cached) " >&6
3041 else $as_nop
3042 eval "$3=no"
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3047 main (void)
3049 if (sizeof ($2))
3050 return 0;
3052 return 0;
3054 _ACEOF
3055 if ac_fn_c_try_compile "$LINENO"
3056 then :
3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058 /* end confdefs.h. */
3061 main (void)
3063 if (sizeof (($2)))
3064 return 0;
3066 return 0;
3068 _ACEOF
3069 if ac_fn_c_try_compile "$LINENO"
3070 then :
3072 else $as_nop
3073 eval "$3=yes"
3075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3079 eval ac_res=\$$3
3080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3081 printf "%s\n" "$ac_res" >&6; }
3082 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3084 } # ac_fn_c_check_type
3085 ac_configure_args_raw=
3086 for ac_arg
3088 case $ac_arg in
3089 *\'*)
3090 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3091 esac
3092 as_fn_append ac_configure_args_raw " '$ac_arg'"
3093 done
3095 case $ac_configure_args_raw in
3096 *$as_nl*)
3097 ac_safe_unquote= ;;
3099 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3100 ac_unsafe_a="$ac_unsafe_z#~"
3101 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3102 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3103 esac
3105 cat >config.log <<_ACEOF
3106 This file contains any messages produced by compilers while
3107 running configure, to aid debugging if configure makes a mistake.
3109 It was created by Wine $as_me 7.7, which was
3110 generated by GNU Autoconf 2.71. Invocation command line was
3112 $ $0$ac_configure_args_raw
3114 _ACEOF
3115 exec 5>>config.log
3117 cat <<_ASUNAME
3118 ## --------- ##
3119 ## Platform. ##
3120 ## --------- ##
3122 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3123 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3124 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3125 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3126 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3128 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3129 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3131 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3132 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3133 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3134 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3135 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3136 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3137 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3139 _ASUNAME
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 for as_dir in $PATH
3144 IFS=$as_save_IFS
3145 case $as_dir in #(((
3146 '') as_dir=./ ;;
3147 */) ;;
3148 *) as_dir=$as_dir/ ;;
3149 esac
3150 printf "%s\n" "PATH: $as_dir"
3151 done
3152 IFS=$as_save_IFS
3154 } >&5
3156 cat >&5 <<_ACEOF
3159 ## ----------- ##
3160 ## Core tests. ##
3161 ## ----------- ##
3163 _ACEOF
3166 # Keep a trace of the command line.
3167 # Strip out --no-create and --no-recursion so they do not pile up.
3168 # Strip out --silent because we don't want to record it for future runs.
3169 # Also quote any args containing shell meta-characters.
3170 # Make two passes to allow for proper duplicate-argument suppression.
3171 ac_configure_args=
3172 ac_configure_args0=
3173 ac_configure_args1=
3174 ac_must_keep_next=false
3175 for ac_pass in 1 2
3177 for ac_arg
3179 case $ac_arg in
3180 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3181 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3182 | -silent | --silent | --silen | --sile | --sil)
3183 continue ;;
3184 *\'*)
3185 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3186 esac
3187 case $ac_pass in
3188 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3190 as_fn_append ac_configure_args1 " '$ac_arg'"
3191 if test $ac_must_keep_next = true; then
3192 ac_must_keep_next=false # Got value, back to normal.
3193 else
3194 case $ac_arg in
3195 *=* | --config-cache | -C | -disable-* | --disable-* \
3196 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3197 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3198 | -with-* | --with-* | -without-* | --without-* | --x)
3199 case "$ac_configure_args0 " in
3200 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3201 esac
3203 -* ) ac_must_keep_next=true ;;
3204 esac
3206 as_fn_append ac_configure_args " '$ac_arg'"
3208 esac
3209 done
3210 done
3211 { ac_configure_args0=; unset ac_configure_args0;}
3212 { ac_configure_args1=; unset ac_configure_args1;}
3214 # When interrupted or exit'd, cleanup temporary files, and complete
3215 # config.log. We remove comments because anyway the quotes in there
3216 # would cause problems or look ugly.
3217 # WARNING: Use '\'' to represent an apostrophe within the trap.
3218 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3219 trap 'exit_status=$?
3220 # Sanitize IFS.
3221 IFS=" "" $as_nl"
3222 # Save into config.log some information that might help in debugging.
3224 echo
3226 printf "%s\n" "## ---------------- ##
3227 ## Cache variables. ##
3228 ## ---------------- ##"
3229 echo
3230 # The following way of writing the cache mishandles newlines in values,
3232 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3233 eval ac_val=\$$ac_var
3234 case $ac_val in #(
3235 *${as_nl}*)
3236 case $ac_var in #(
3237 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3238 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3239 esac
3240 case $ac_var in #(
3241 _ | IFS | as_nl) ;; #(
3242 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3243 *) { eval $ac_var=; unset $ac_var;} ;;
3244 esac ;;
3245 esac
3246 done
3247 (set) 2>&1 |
3248 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3249 *${as_nl}ac_space=\ *)
3250 sed -n \
3251 "s/'\''/'\''\\\\'\'''\''/g;
3252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3253 ;; #(
3255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3257 esac |
3258 sort
3260 echo
3262 printf "%s\n" "## ----------------- ##
3263 ## Output variables. ##
3264 ## ----------------- ##"
3265 echo
3266 for ac_var in $ac_subst_vars
3268 eval ac_val=\$$ac_var
3269 case $ac_val in
3270 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3271 esac
3272 printf "%s\n" "$ac_var='\''$ac_val'\''"
3273 done | sort
3274 echo
3276 if test -n "$ac_subst_files"; then
3277 printf "%s\n" "## ------------------- ##
3278 ## File substitutions. ##
3279 ## ------------------- ##"
3280 echo
3281 for ac_var in $ac_subst_files
3283 eval ac_val=\$$ac_var
3284 case $ac_val in
3285 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3286 esac
3287 printf "%s\n" "$ac_var='\''$ac_val'\''"
3288 done | sort
3289 echo
3292 if test -s confdefs.h; then
3293 printf "%s\n" "## ----------- ##
3294 ## confdefs.h. ##
3295 ## ----------- ##"
3296 echo
3297 cat confdefs.h
3298 echo
3300 test "$ac_signal" != 0 &&
3301 printf "%s\n" "$as_me: caught signal $ac_signal"
3302 printf "%s\n" "$as_me: exit $exit_status"
3303 } >&5
3304 rm -f core *.core core.conftest.* &&
3305 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3306 exit $exit_status
3308 for ac_signal in 1 2 13 15; do
3309 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3310 done
3311 ac_signal=0
3313 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3314 rm -f -r conftest* confdefs.h
3316 printf "%s\n" "/* confdefs.h */" > confdefs.h
3318 # Predefined preprocessor variables.
3320 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3322 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3324 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3326 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3328 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3330 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3333 # Let the site file select an alternate cache file if it wants to.
3334 # Prefer an explicitly selected file to automatically selected ones.
3335 if test -n "$CONFIG_SITE"; then
3336 ac_site_files="$CONFIG_SITE"
3337 elif test "x$prefix" != xNONE; then
3338 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3339 else
3340 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3343 for ac_site_file in $ac_site_files
3345 case $ac_site_file in #(
3346 */*) :
3347 ;; #(
3348 *) :
3349 ac_site_file=./$ac_site_file ;;
3350 esac
3351 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3353 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3354 sed 's/^/| /' "$ac_site_file" >&5
3355 . "$ac_site_file" \
3356 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3358 as_fn_error $? "failed to load site script $ac_site_file
3359 See \`config.log' for more details" "$LINENO" 5; }
3361 done
3363 if test -r "$cache_file"; then
3364 # Some versions of bash will fail to source /dev/null (special files
3365 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3366 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3368 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3369 case $cache_file in
3370 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3371 *) . "./$cache_file";;
3372 esac
3374 else
3375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3376 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3377 >$cache_file
3380 # Test code for whether the C compiler supports C89 (global declarations)
3381 ac_c_conftest_c89_globals='
3382 /* Does the compiler advertise C89 conformance?
3383 Do not test the value of __STDC__, because some compilers set it to 0
3384 while being otherwise adequately conformant. */
3385 #if !defined __STDC__
3386 # error "Compiler does not advertise C89 conformance"
3387 #endif
3389 #include <stddef.h>
3390 #include <stdarg.h>
3391 struct stat;
3392 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3393 struct buf { int x; };
3394 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3395 static char *e (p, i)
3396 char **p;
3397 int i;
3399 return p[i];
3401 static char *f (char * (*g) (char **, int), char **p, ...)
3403 char *s;
3404 va_list v;
3405 va_start (v,p);
3406 s = g (p, va_arg (v,int));
3407 va_end (v);
3408 return s;
3411 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3412 function prototypes and stuff, but not \xHH hex character constants.
3413 These do not provoke an error unfortunately, instead are silently treated
3414 as an "x". The following induces an error, until -std is added to get
3415 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3416 array size at least. It is necessary to write \x00 == 0 to get something
3417 that is true only with -std. */
3418 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3420 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3421 inside strings and character constants. */
3422 #define FOO(x) '\''x'\''
3423 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3425 int test (int i, double x);
3426 struct s1 {int (*f) (int a);};
3427 struct s2 {int (*f) (double a);};
3428 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3429 int, int);'
3431 # Test code for whether the C compiler supports C89 (body of main).
3432 ac_c_conftest_c89_main='
3433 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3436 # Test code for whether the C compiler supports C99 (global declarations)
3437 ac_c_conftest_c99_globals='
3438 // Does the compiler advertise C99 conformance?
3439 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3440 # error "Compiler does not advertise C99 conformance"
3441 #endif
3443 #include <stdbool.h>
3444 extern int puts (const char *);
3445 extern int printf (const char *, ...);
3446 extern int dprintf (int, const char *, ...);
3447 extern void *malloc (size_t);
3449 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3450 // dprintf is used instead of fprintf to avoid needing to declare
3451 // FILE and stderr.
3452 #define debug(...) dprintf (2, __VA_ARGS__)
3453 #define showlist(...) puts (#__VA_ARGS__)
3454 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3455 static void
3456 test_varargs_macros (void)
3458 int x = 1234;
3459 int y = 5678;
3460 debug ("Flag");
3461 debug ("X = %d\n", x);
3462 showlist (The first, second, and third items.);
3463 report (x>y, "x is %d but y is %d", x, y);
3466 // Check long long types.
3467 #define BIG64 18446744073709551615ull
3468 #define BIG32 4294967295ul
3469 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3470 #if !BIG_OK
3471 #error "your preprocessor is broken"
3472 #endif
3473 #if BIG_OK
3474 #else
3475 #error "your preprocessor is broken"
3476 #endif
3477 static long long int bignum = -9223372036854775807LL;
3478 static unsigned long long int ubignum = BIG64;
3480 struct incomplete_array
3482 int datasize;
3483 double data[];
3486 struct named_init {
3487 int number;
3488 const wchar_t *name;
3489 double average;
3492 typedef const char *ccp;
3494 static inline int
3495 test_restrict (ccp restrict text)
3497 // See if C++-style comments work.
3498 // Iterate through items via the restricted pointer.
3499 // Also check for declarations in for loops.
3500 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3501 continue;
3502 return 0;
3505 // Check varargs and va_copy.
3506 static bool
3507 test_varargs (const char *format, ...)
3509 va_list args;
3510 va_start (args, format);
3511 va_list args_copy;
3512 va_copy (args_copy, args);
3514 const char *str = "";
3515 int number = 0;
3516 float fnumber = 0;
3518 while (*format)
3520 switch (*format++)
3522 case '\''s'\'': // string
3523 str = va_arg (args_copy, const char *);
3524 break;
3525 case '\''d'\'': // int
3526 number = va_arg (args_copy, int);
3527 break;
3528 case '\''f'\'': // float
3529 fnumber = va_arg (args_copy, double);
3530 break;
3531 default:
3532 break;
3535 va_end (args_copy);
3536 va_end (args);
3538 return *str && number && fnumber;
3542 # Test code for whether the C compiler supports C99 (body of main).
3543 ac_c_conftest_c99_main='
3544 // Check bool.
3545 _Bool success = false;
3546 success |= (argc != 0);
3548 // Check restrict.
3549 if (test_restrict ("String literal") == 0)
3550 success = true;
3551 char *restrict newvar = "Another string";
3553 // Check varargs.
3554 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3555 test_varargs_macros ();
3557 // Check flexible array members.
3558 struct incomplete_array *ia =
3559 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3560 ia->datasize = 10;
3561 for (int i = 0; i < ia->datasize; ++i)
3562 ia->data[i] = i * 1.234;
3564 // Check named initializers.
3565 struct named_init ni = {
3566 .number = 34,
3567 .name = L"Test wide string",
3568 .average = 543.34343,
3571 ni.number = 58;
3573 int dynamic_array[ni.number];
3574 dynamic_array[0] = argv[0][0];
3575 dynamic_array[ni.number - 1] = 543;
3577 // work around unused variable warnings
3578 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3579 || dynamic_array[ni.number - 1] != 543);
3582 # Test code for whether the C compiler supports C11 (global declarations)
3583 ac_c_conftest_c11_globals='
3584 // Does the compiler advertise C11 conformance?
3585 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3586 # error "Compiler does not advertise C11 conformance"
3587 #endif
3589 // Check _Alignas.
3590 char _Alignas (double) aligned_as_double;
3591 char _Alignas (0) no_special_alignment;
3592 extern char aligned_as_int;
3593 char _Alignas (0) _Alignas (int) aligned_as_int;
3595 // Check _Alignof.
3596 enum
3598 int_alignment = _Alignof (int),
3599 int_array_alignment = _Alignof (int[100]),
3600 char_alignment = _Alignof (char)
3602 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3604 // Check _Noreturn.
3605 int _Noreturn does_not_return (void) { for (;;) continue; }
3607 // Check _Static_assert.
3608 struct test_static_assert
3610 int x;
3611 _Static_assert (sizeof (int) <= sizeof (long int),
3612 "_Static_assert does not work in struct");
3613 long int y;
3616 // Check UTF-8 literals.
3617 #define u8 syntax error!
3618 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3620 // Check duplicate typedefs.
3621 typedef long *long_ptr;
3622 typedef long int *long_ptr;
3623 typedef long_ptr long_ptr;
3625 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3626 struct anonymous
3628 union {
3629 struct { int i; int j; };
3630 struct { int k; long int l; } w;
3632 int m;
3633 } v1;
3636 # Test code for whether the C compiler supports C11 (body of main).
3637 ac_c_conftest_c11_main='
3638 _Static_assert ((offsetof (struct anonymous, i)
3639 == offsetof (struct anonymous, w.k)),
3640 "Anonymous union alignment botch");
3641 v1.i = 2;
3642 v1.w.k = 5;
3643 ok |= v1.i != 5;
3646 # Test code for whether the C compiler supports C11 (complete).
3647 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3648 ${ac_c_conftest_c99_globals}
3649 ${ac_c_conftest_c11_globals}
3652 main (int argc, char **argv)
3654 int ok = 0;
3655 ${ac_c_conftest_c89_main}
3656 ${ac_c_conftest_c99_main}
3657 ${ac_c_conftest_c11_main}
3658 return ok;
3662 # Test code for whether the C compiler supports C99 (complete).
3663 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3664 ${ac_c_conftest_c99_globals}
3667 main (int argc, char **argv)
3669 int ok = 0;
3670 ${ac_c_conftest_c89_main}
3671 ${ac_c_conftest_c99_main}
3672 return ok;
3676 # Test code for whether the C compiler supports C89 (complete).
3677 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3680 main (int argc, char **argv)
3682 int ok = 0;
3683 ${ac_c_conftest_c89_main}
3684 return ok;
3688 # Test code for whether the C++ compiler supports C++98 (global declarations)
3689 ac_cxx_conftest_cxx98_globals='
3690 // Does the compiler advertise C++98 conformance?
3691 #if !defined __cplusplus || __cplusplus < 199711L
3692 # error "Compiler does not advertise C++98 conformance"
3693 #endif
3695 // These inclusions are to reject old compilers that
3696 // lack the unsuffixed header files.
3697 #include <cstdlib>
3698 #include <exception>
3700 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3701 extern void assert (int);
3702 namespace std {
3703 extern int strcmp (const char *, const char *);
3706 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3707 using std::exception;
3708 using std::strcmp;
3710 namespace {
3712 void test_exception_syntax()
3714 try {
3715 throw "test";
3716 } catch (const char *s) {
3717 // Extra parentheses suppress a warning when building autoconf itself,
3718 // due to lint rules shared with more typical C programs.
3719 assert (!(strcmp) (s, "test"));
3723 template <typename T> struct test_template
3725 T const val;
3726 explicit test_template(T t) : val(t) {}
3727 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3730 } // anonymous namespace
3733 # Test code for whether the C++ compiler supports C++98 (body of main)
3734 ac_cxx_conftest_cxx98_main='
3735 assert (argc);
3736 assert (! argv[0]);
3738 test_exception_syntax ();
3739 test_template<double> tt (2.0);
3740 assert (tt.add (4) == 6.0);
3741 assert (true && !false);
3745 # Test code for whether the C++ compiler supports C++11 (global declarations)
3746 ac_cxx_conftest_cxx11_globals='
3747 // Does the compiler advertise C++ 2011 conformance?
3748 #if !defined __cplusplus || __cplusplus < 201103L
3749 # error "Compiler does not advertise C++11 conformance"
3750 #endif
3752 namespace cxx11test
3754 constexpr int get_val() { return 20; }
3756 struct testinit
3758 int i;
3759 double d;
3762 class delegate
3764 public:
3765 delegate(int n) : n(n) {}
3766 delegate(): delegate(2354) {}
3768 virtual int getval() { return this->n; };
3769 protected:
3770 int n;
3773 class overridden : public delegate
3775 public:
3776 overridden(int n): delegate(n) {}
3777 virtual int getval() override final { return this->n * 2; }
3780 class nocopy
3782 public:
3783 nocopy(int i): i(i) {}
3784 nocopy() = default;
3785 nocopy(const nocopy&) = delete;
3786 nocopy & operator=(const nocopy&) = delete;
3787 private:
3788 int i;
3791 // for testing lambda expressions
3792 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3794 return f(v);
3797 // for testing variadic templates and trailing return types
3798 template <typename V> auto sum(V first) -> V
3800 return first;
3802 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3804 return first + sum(rest...);
3809 # Test code for whether the C++ compiler supports C++11 (body of main)
3810 ac_cxx_conftest_cxx11_main='
3812 // Test auto and decltype
3813 auto a1 = 6538;
3814 auto a2 = 48573953.4;
3815 auto a3 = "String literal";
3817 int total = 0;
3818 for (auto i = a3; *i; ++i) { total += *i; }
3820 decltype(a2) a4 = 34895.034;
3823 // Test constexpr
3824 short sa[cxx11test::get_val()] = { 0 };
3827 // Test initializer lists
3828 cxx11test::testinit il = { 4323, 435234.23544 };
3831 // Test range-based for
3832 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3833 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3834 for (auto &x : array) { x += 23; }
3837 // Test lambda expressions
3838 using cxx11test::eval;
3839 assert (eval ([](int x) { return x*2; }, 21) == 42);
3840 double d = 2.0;
3841 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3842 assert (d == 5.0);
3843 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3844 assert (d == 5.0);
3847 // Test use of variadic templates
3848 using cxx11test::sum;
3849 auto a = sum(1);
3850 auto b = sum(1, 2);
3851 auto c = sum(1.0, 2.0, 3.0);
3854 // Test constructor delegation
3855 cxx11test::delegate d1;
3856 cxx11test::delegate d2();
3857 cxx11test::delegate d3(45);
3860 // Test override and final
3861 cxx11test::overridden o1(55464);
3864 // Test nullptr
3865 char *c = nullptr;
3868 // Test template brackets
3869 test_template<::test_template<int>> v(test_template<int>(12));
3872 // Unicode literals
3873 char const *utf8 = u8"UTF-8 string \u2500";
3874 char16_t const *utf16 = u"UTF-8 string \u2500";
3875 char32_t const *utf32 = U"UTF-32 string \u2500";
3879 # Test code for whether the C compiler supports C++11 (complete).
3880 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3881 ${ac_cxx_conftest_cxx11_globals}
3884 main (int argc, char **argv)
3886 int ok = 0;
3887 ${ac_cxx_conftest_cxx98_main}
3888 ${ac_cxx_conftest_cxx11_main}
3889 return ok;
3893 # Test code for whether the C compiler supports C++98 (complete).
3894 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3896 main (int argc, char **argv)
3898 int ok = 0;
3899 ${ac_cxx_conftest_cxx98_main}
3900 return ok;
3904 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3905 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3906 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3907 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3908 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3909 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3910 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3911 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3912 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3914 # Auxiliary files required by this configure script.
3915 ac_aux_files="config.guess config.sub"
3917 # Locations in which to look for auxiliary files.
3918 ac_aux_dir_candidates="${srcdir}/tools"
3920 # Search for a directory containing all of the required auxiliary files,
3921 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3922 # If we don't find one directory that contains all the files we need,
3923 # we report the set of missing files from the *first* directory in
3924 # $ac_aux_dir_candidates and give up.
3925 ac_missing_aux_files=""
3926 ac_first_candidate=:
3927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3929 as_found=false
3930 for as_dir in $ac_aux_dir_candidates
3932 IFS=$as_save_IFS
3933 case $as_dir in #(((
3934 '') as_dir=./ ;;
3935 */) ;;
3936 *) as_dir=$as_dir/ ;;
3937 esac
3938 as_found=:
3940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3941 ac_aux_dir_found=yes
3942 ac_install_sh=
3943 for ac_aux in $ac_aux_files
3945 # As a special case, if "install-sh" is required, that requirement
3946 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3947 # and $ac_install_sh is set appropriately for whichever one is found.
3948 if test x"$ac_aux" = x"install-sh"
3949 then
3950 if test -f "${as_dir}install-sh"; then
3951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3952 ac_install_sh="${as_dir}install-sh -c"
3953 elif test -f "${as_dir}install.sh"; then
3954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3955 ac_install_sh="${as_dir}install.sh -c"
3956 elif test -f "${as_dir}shtool"; then
3957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3958 ac_install_sh="${as_dir}shtool install -c"
3959 else
3960 ac_aux_dir_found=no
3961 if $ac_first_candidate; then
3962 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3963 else
3964 break
3967 else
3968 if test -f "${as_dir}${ac_aux}"; then
3969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3970 else
3971 ac_aux_dir_found=no
3972 if $ac_first_candidate; then
3973 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3974 else
3975 break
3979 done
3980 if test "$ac_aux_dir_found" = yes; then
3981 ac_aux_dir="$as_dir"
3982 break
3984 ac_first_candidate=false
3986 as_found=false
3987 done
3988 IFS=$as_save_IFS
3989 if $as_found
3990 then :
3992 else $as_nop
3993 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3997 # These three variables are undocumented and unsupported,
3998 # and are intended to be withdrawn in a future Autoconf release.
3999 # They can cause serious problems if a builder's source tree is in a directory
4000 # whose full name contains unusual characters.
4001 if test -f "${ac_aux_dir}config.guess"; then
4002 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4004 if test -f "${ac_aux_dir}config.sub"; then
4005 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4007 if test -f "$ac_aux_dir/configure"; then
4008 ac_configure="$SHELL ${ac_aux_dir}configure"
4011 # Check that the precious variables saved in the cache have kept the same
4012 # value.
4013 ac_cache_corrupted=false
4014 for ac_var in $ac_precious_vars; do
4015 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4016 eval ac_new_set=\$ac_env_${ac_var}_set
4017 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4018 eval ac_new_val=\$ac_env_${ac_var}_value
4019 case $ac_old_set,$ac_new_set in
4020 set,)
4021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4022 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4023 ac_cache_corrupted=: ;;
4024 ,set)
4025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4026 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4027 ac_cache_corrupted=: ;;
4028 ,);;
4030 if test "x$ac_old_val" != "x$ac_new_val"; then
4031 # differences in whitespace do not lead to failure.
4032 ac_old_val_w=`echo x $ac_old_val`
4033 ac_new_val_w=`echo x $ac_new_val`
4034 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4036 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4037 ac_cache_corrupted=:
4038 else
4039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4040 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4041 eval $ac_var=\$ac_old_val
4043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4044 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4046 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4047 fi;;
4048 esac
4049 # Pass precious variables to config.status.
4050 if test "$ac_new_set" = set; then
4051 case $ac_new_val in
4052 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4053 *) ac_arg=$ac_var=$ac_new_val ;;
4054 esac
4055 case " $ac_configure_args " in
4056 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4057 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4058 esac
4060 done
4061 if $ac_cache_corrupted; then
4062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4063 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4065 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4066 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4067 and start over" "$LINENO" 5
4069 ## -------------------- ##
4070 ## Main body of script. ##
4071 ## -------------------- ##
4073 ac_ext=c
4074 ac_cpp='$CPP $CPPFLAGS'
4075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4081 ac_config_headers="$ac_config_headers include/config.h"
4085 libwine_version="1.0"
4088 # Check whether --enable-win16 was given.
4089 if test ${enable_win16+y}
4090 then :
4091 enableval=$enable_win16;
4094 # Check whether --enable-win64 was given.
4095 if test ${enable_win64+y}
4096 then :
4097 enableval=$enable_win64;
4100 # Check whether --enable-tests was given.
4101 if test ${enable_tests+y}
4102 then :
4103 enableval=$enable_tests;
4106 # Check whether --enable-build-id was given.
4107 if test ${enable_build_id+y}
4108 then :
4109 enableval=$enable_build_id;
4112 # Check whether --enable-maintainer-mode was given.
4113 if test ${enable_maintainer_mode+y}
4114 then :
4115 enableval=$enable_maintainer_mode;
4118 # Check whether --enable-silent-rules was given.
4119 if test ${enable_silent_rules+y}
4120 then :
4121 enableval=$enable_silent_rules;
4124 # Check whether --enable-werror was given.
4125 if test ${enable_werror+y}
4126 then :
4127 enableval=$enable_werror;
4132 # Check whether --with-alsa was given.
4133 if test ${with_alsa+y}
4134 then :
4135 withval=$with_alsa;
4139 # Check whether --with-capi was given.
4140 if test ${with_capi+y}
4141 then :
4142 withval=$with_capi;
4146 # Check whether --with-coreaudio was given.
4147 if test ${with_coreaudio+y}
4148 then :
4149 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4153 # Check whether --with-cups was given.
4154 if test ${with_cups+y}
4155 then :
4156 withval=$with_cups;
4160 # Check whether --with-dbus was given.
4161 if test ${with_dbus+y}
4162 then :
4163 withval=$with_dbus;
4167 # Check whether --with-float-abi was given.
4168 if test ${with_float_abi+y}
4169 then :
4170 withval=$with_float_abi;
4174 # Check whether --with-fontconfig was given.
4175 if test ${with_fontconfig+y}
4176 then :
4177 withval=$with_fontconfig;
4181 # Check whether --with-freetype was given.
4182 if test ${with_freetype+y}
4183 then :
4184 withval=$with_freetype;
4188 # Check whether --with-gettext was given.
4189 if test ${with_gettext+y}
4190 then :
4191 withval=$with_gettext;
4195 # Check whether --with-gettextpo was given.
4196 if test ${with_gettextpo+y}
4197 then :
4198 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4202 # Check whether --with-gphoto was given.
4203 if test ${with_gphoto+y}
4204 then :
4205 withval=$with_gphoto;
4209 # Check whether --with-gnutls was given.
4210 if test ${with_gnutls+y}
4211 then :
4212 withval=$with_gnutls;
4216 # Check whether --with-gssapi was given.
4217 if test ${with_gssapi+y}
4218 then :
4219 withval=$with_gssapi;
4223 # Check whether --with-gstreamer was given.
4224 if test ${with_gstreamer+y}
4225 then :
4226 withval=$with_gstreamer;
4230 # Check whether --with-inotify was given.
4231 if test ${with_inotify+y}
4232 then :
4233 withval=$with_inotify;
4237 # Check whether --with-krb5 was given.
4238 if test ${with_krb5+y}
4239 then :
4240 withval=$with_krb5;
4244 # Check whether --with-ldap was given.
4245 if test ${with_ldap+y}
4246 then :
4247 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4251 # Check whether --with-mingw was given.
4252 if test ${with_mingw+y}
4253 then :
4254 withval=$with_mingw;
4258 # Check whether --with-netapi was given.
4259 if test ${with_netapi+y}
4260 then :
4261 withval=$with_netapi;
4265 # Check whether --with-openal was given.
4266 if test ${with_openal+y}
4267 then :
4268 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4272 # Check whether --with-opencl was given.
4273 if test ${with_opencl+y}
4274 then :
4275 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4279 # Check whether --with-opengl was given.
4280 if test ${with_opengl+y}
4281 then :
4282 withval=$with_opengl;
4286 # Check whether --with-osmesa was given.
4287 if test ${with_osmesa+y}
4288 then :
4289 withval=$with_osmesa;
4293 # Check whether --with-oss was given.
4294 if test ${with_oss+y}
4295 then :
4296 withval=$with_oss;
4300 # Check whether --with-pcap was given.
4301 if test ${with_pcap+y}
4302 then :
4303 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4307 # Check whether --with-pthread was given.
4308 if test ${with_pthread+y}
4309 then :
4310 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4314 # Check whether --with-pulse was given.
4315 if test ${with_pulse+y}
4316 then :
4317 withval=$with_pulse;
4321 # Check whether --with-sane was given.
4322 if test ${with_sane+y}
4323 then :
4324 withval=$with_sane;
4328 # Check whether --with-sdl was given.
4329 if test ${with_sdl+y}
4330 then :
4331 withval=$with_sdl;
4335 # Check whether --with-udev was given.
4336 if test ${with_udev+y}
4337 then :
4338 withval=$with_udev;
4342 # Check whether --with-unwind was given.
4343 if test ${with_unwind+y}
4344 then :
4345 withval=$with_unwind;
4349 # Check whether --with-usb was given.
4350 if test ${with_usb+y}
4351 then :
4352 withval=$with_usb;
4356 # Check whether --with-v4l2 was given.
4357 if test ${with_v4l2+y}
4358 then :
4359 withval=$with_v4l2;
4363 # Check whether --with-vulkan was given.
4364 if test ${with_vulkan+y}
4365 then :
4366 withval=$with_vulkan;
4370 # Check whether --with-xcomposite was given.
4371 if test ${with_xcomposite+y}
4372 then :
4373 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4377 # Check whether --with-xcursor was given.
4378 if test ${with_xcursor+y}
4379 then :
4380 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4384 # Check whether --with-xfixes was given.
4385 if test ${with_xfixes+y}
4386 then :
4387 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4391 # Check whether --with-xinerama was given.
4392 if test ${with_xinerama+y}
4393 then :
4394 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4398 # Check whether --with-xinput was given.
4399 if test ${with_xinput+y}
4400 then :
4401 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4405 # Check whether --with-xinput2 was given.
4406 if test ${with_xinput2+y}
4407 then :
4408 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4412 # Check whether --with-xrandr was given.
4413 if test ${with_xrandr+y}
4414 then :
4415 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4419 # Check whether --with-xrender was given.
4420 if test ${with_xrender+y}
4421 then :
4422 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4426 # Check whether --with-xshape was given.
4427 if test ${with_xshape+y}
4428 then :
4429 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4433 # Check whether --with-xshm was given.
4434 if test ${with_xshm+y}
4435 then :
4436 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4440 # Check whether --with-xxf86vm was given.
4441 if test ${with_xxf86vm+y}
4442 then :
4443 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
4448 # Check whether --with-system-dllpath was given.
4449 if test ${with_system_dllpath+y}
4450 then :
4451 withval=$with_system_dllpath; system_dllpath=$withval
4456 # Check whether --with-wine-tools was given.
4457 if test ${with_wine_tools+y}
4458 then :
4459 withval=$with_wine_tools;
4463 # Check whether --with-wine64 was given.
4464 if test ${with_wine64+y}
4465 then :
4466 withval=$with_wine64;
4473 # Make sure we can run config.sub.
4474 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4475 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4478 printf %s "checking build system type... " >&6; }
4479 if test ${ac_cv_build+y}
4480 then :
4481 printf %s "(cached) " >&6
4482 else $as_nop
4483 ac_build_alias=$build_alias
4484 test "x$ac_build_alias" = x &&
4485 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4486 test "x$ac_build_alias" = x &&
4487 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4488 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4489 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4493 printf "%s\n" "$ac_cv_build" >&6; }
4494 case $ac_cv_build in
4495 *-*-*) ;;
4496 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4497 esac
4498 build=$ac_cv_build
4499 ac_save_IFS=$IFS; IFS='-'
4500 set x $ac_cv_build
4501 shift
4502 build_cpu=$1
4503 build_vendor=$2
4504 shift; shift
4505 # Remember, the first character of IFS is used to create $*,
4506 # except with old shells:
4507 build_os=$*
4508 IFS=$ac_save_IFS
4509 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4513 printf %s "checking host system type... " >&6; }
4514 if test ${ac_cv_host+y}
4515 then :
4516 printf %s "(cached) " >&6
4517 else $as_nop
4518 if test "x$host_alias" = x; then
4519 ac_cv_host=$ac_cv_build
4520 else
4521 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4522 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4527 printf "%s\n" "$ac_cv_host" >&6; }
4528 case $ac_cv_host in
4529 *-*-*) ;;
4530 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4531 esac
4532 host=$ac_cv_host
4533 ac_save_IFS=$IFS; IFS='-'
4534 set x $ac_cv_host
4535 shift
4536 host_cpu=$1
4537 host_vendor=$2
4538 shift; shift
4539 # Remember, the first character of IFS is used to create $*,
4540 # except with old shells:
4541 host_os=$*
4542 IFS=$ac_save_IFS
4543 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4547 dlldir=\${libdir}/wine
4549 fontdir=\${datadir}/wine/fonts
4551 nlsdir=\${datadir}/wine/nls
4556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4557 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4558 set x ${MAKE-make}
4559 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4560 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4561 then :
4562 printf %s "(cached) " >&6
4563 else $as_nop
4564 cat >conftest.make <<\_ACEOF
4565 SHELL = /bin/sh
4566 all:
4567 @echo '@@@%%%=$(MAKE)=@@@%%%'
4568 _ACEOF
4569 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4570 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4571 *@@@%%%=?*=@@@%%%*)
4572 eval ac_cv_prog_make_${ac_make}_set=yes;;
4574 eval ac_cv_prog_make_${ac_make}_set=no;;
4575 esac
4576 rm -f conftest.make
4578 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4580 printf "%s\n" "yes" >&6; }
4581 SET_MAKE=
4582 else
4583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 printf "%s\n" "no" >&6; }
4585 SET_MAKE="MAKE=${MAKE-make}"
4597 ac_ext=c
4598 ac_cpp='$CPP $CPPFLAGS'
4599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4602 if test -n "$ac_tool_prefix"; then
4603 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4604 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4606 printf %s "checking for $ac_word... " >&6; }
4607 if test ${ac_cv_prog_CC+y}
4608 then :
4609 printf %s "(cached) " >&6
4610 else $as_nop
4611 if test -n "$CC"; then
4612 ac_cv_prog_CC="$CC" # Let the user override the test.
4613 else
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH
4617 IFS=$as_save_IFS
4618 case $as_dir in #(((
4619 '') as_dir=./ ;;
4620 */) ;;
4621 *) as_dir=$as_dir/ ;;
4622 esac
4623 for ac_exec_ext in '' $ac_executable_extensions; do
4624 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4625 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4627 break 2
4629 done
4630 done
4631 IFS=$as_save_IFS
4635 CC=$ac_cv_prog_CC
4636 if test -n "$CC"; then
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4638 printf "%s\n" "$CC" >&6; }
4639 else
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 printf "%s\n" "no" >&6; }
4646 if test -z "$ac_cv_prog_CC"; then
4647 ac_ct_CC=$CC
4648 # Extract the first word of "gcc", so it can be a program name with args.
4649 set dummy gcc; ac_word=$2
4650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651 printf %s "checking for $ac_word... " >&6; }
4652 if test ${ac_cv_prog_ac_ct_CC+y}
4653 then :
4654 printf %s "(cached) " >&6
4655 else $as_nop
4656 if test -n "$ac_ct_CC"; then
4657 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4658 else
4659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660 for as_dir in $PATH
4662 IFS=$as_save_IFS
4663 case $as_dir in #(((
4664 '') as_dir=./ ;;
4665 */) ;;
4666 *) as_dir=$as_dir/ ;;
4667 esac
4668 for ac_exec_ext in '' $ac_executable_extensions; do
4669 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4670 ac_cv_prog_ac_ct_CC="gcc"
4671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4672 break 2
4674 done
4675 done
4676 IFS=$as_save_IFS
4680 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4681 if test -n "$ac_ct_CC"; then
4682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4683 printf "%s\n" "$ac_ct_CC" >&6; }
4684 else
4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 printf "%s\n" "no" >&6; }
4689 if test "x$ac_ct_CC" = x; then
4690 CC=""
4691 else
4692 case $cross_compiling:$ac_tool_warned in
4693 yes:)
4694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4695 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4696 ac_tool_warned=yes ;;
4697 esac
4698 CC=$ac_ct_CC
4700 else
4701 CC="$ac_cv_prog_CC"
4704 if test -z "$CC"; then
4705 if test -n "$ac_tool_prefix"; then
4706 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4707 set dummy ${ac_tool_prefix}cc; ac_word=$2
4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4709 printf %s "checking for $ac_word... " >&6; }
4710 if test ${ac_cv_prog_CC+y}
4711 then :
4712 printf %s "(cached) " >&6
4713 else $as_nop
4714 if test -n "$CC"; then
4715 ac_cv_prog_CC="$CC" # Let the user override the test.
4716 else
4717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4718 for as_dir in $PATH
4720 IFS=$as_save_IFS
4721 case $as_dir in #(((
4722 '') as_dir=./ ;;
4723 */) ;;
4724 *) as_dir=$as_dir/ ;;
4725 esac
4726 for ac_exec_ext in '' $ac_executable_extensions; do
4727 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4728 ac_cv_prog_CC="${ac_tool_prefix}cc"
4729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4730 break 2
4732 done
4733 done
4734 IFS=$as_save_IFS
4738 CC=$ac_cv_prog_CC
4739 if test -n "$CC"; then
4740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4741 printf "%s\n" "$CC" >&6; }
4742 else
4743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4744 printf "%s\n" "no" >&6; }
4750 if test -z "$CC"; then
4751 # Extract the first word of "cc", so it can be a program name with args.
4752 set dummy cc; ac_word=$2
4753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4754 printf %s "checking for $ac_word... " >&6; }
4755 if test ${ac_cv_prog_CC+y}
4756 then :
4757 printf %s "(cached) " >&6
4758 else $as_nop
4759 if test -n "$CC"; then
4760 ac_cv_prog_CC="$CC" # Let the user override the test.
4761 else
4762 ac_prog_rejected=no
4763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764 for as_dir in $PATH
4766 IFS=$as_save_IFS
4767 case $as_dir in #(((
4768 '') as_dir=./ ;;
4769 */) ;;
4770 *) as_dir=$as_dir/ ;;
4771 esac
4772 for ac_exec_ext in '' $ac_executable_extensions; do
4773 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4774 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4775 ac_prog_rejected=yes
4776 continue
4778 ac_cv_prog_CC="cc"
4779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4780 break 2
4782 done
4783 done
4784 IFS=$as_save_IFS
4786 if test $ac_prog_rejected = yes; then
4787 # We found a bogon in the path, so make sure we never use it.
4788 set dummy $ac_cv_prog_CC
4789 shift
4790 if test $# != 0; then
4791 # We chose a different compiler from the bogus one.
4792 # However, it has the same basename, so the bogon will be chosen
4793 # first if we set CC to just the basename; use the full file name.
4794 shift
4795 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4800 CC=$ac_cv_prog_CC
4801 if test -n "$CC"; then
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4803 printf "%s\n" "$CC" >&6; }
4804 else
4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4806 printf "%s\n" "no" >&6; }
4811 if test -z "$CC"; then
4812 if test -n "$ac_tool_prefix"; then
4813 for ac_prog in cl.exe
4815 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4816 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 printf %s "checking for $ac_word... " >&6; }
4819 if test ${ac_cv_prog_CC+y}
4820 then :
4821 printf %s "(cached) " >&6
4822 else $as_nop
4823 if test -n "$CC"; then
4824 ac_cv_prog_CC="$CC" # Let the user override the test.
4825 else
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH
4829 IFS=$as_save_IFS
4830 case $as_dir in #(((
4831 '') as_dir=./ ;;
4832 */) ;;
4833 *) as_dir=$as_dir/ ;;
4834 esac
4835 for ac_exec_ext in '' $ac_executable_extensions; do
4836 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4837 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4839 break 2
4841 done
4842 done
4843 IFS=$as_save_IFS
4847 CC=$ac_cv_prog_CC
4848 if test -n "$CC"; then
4849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4850 printf "%s\n" "$CC" >&6; }
4851 else
4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 printf "%s\n" "no" >&6; }
4857 test -n "$CC" && break
4858 done
4860 if test -z "$CC"; then
4861 ac_ct_CC=$CC
4862 for ac_prog in cl.exe
4864 # Extract the first word of "$ac_prog", so it can be a program name with args.
4865 set dummy $ac_prog; ac_word=$2
4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4867 printf %s "checking for $ac_word... " >&6; }
4868 if test ${ac_cv_prog_ac_ct_CC+y}
4869 then :
4870 printf %s "(cached) " >&6
4871 else $as_nop
4872 if test -n "$ac_ct_CC"; then
4873 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4874 else
4875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876 for as_dir in $PATH
4878 IFS=$as_save_IFS
4879 case $as_dir in #(((
4880 '') as_dir=./ ;;
4881 */) ;;
4882 *) as_dir=$as_dir/ ;;
4883 esac
4884 for ac_exec_ext in '' $ac_executable_extensions; do
4885 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4886 ac_cv_prog_ac_ct_CC="$ac_prog"
4887 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4888 break 2
4890 done
4891 done
4892 IFS=$as_save_IFS
4896 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4897 if test -n "$ac_ct_CC"; then
4898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4899 printf "%s\n" "$ac_ct_CC" >&6; }
4900 else
4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 printf "%s\n" "no" >&6; }
4906 test -n "$ac_ct_CC" && break
4907 done
4909 if test "x$ac_ct_CC" = x; then
4910 CC=""
4911 else
4912 case $cross_compiling:$ac_tool_warned in
4913 yes:)
4914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4915 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4916 ac_tool_warned=yes ;;
4917 esac
4918 CC=$ac_ct_CC
4923 if test -z "$CC"; then
4924 if test -n "$ac_tool_prefix"; then
4925 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4926 set dummy ${ac_tool_prefix}clang; ac_word=$2
4927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 printf %s "checking for $ac_word... " >&6; }
4929 if test ${ac_cv_prog_CC+y}
4930 then :
4931 printf %s "(cached) " >&6
4932 else $as_nop
4933 if test -n "$CC"; then
4934 ac_cv_prog_CC="$CC" # Let the user override the test.
4935 else
4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4937 for as_dir in $PATH
4939 IFS=$as_save_IFS
4940 case $as_dir in #(((
4941 '') as_dir=./ ;;
4942 */) ;;
4943 *) as_dir=$as_dir/ ;;
4944 esac
4945 for ac_exec_ext in '' $ac_executable_extensions; do
4946 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4947 ac_cv_prog_CC="${ac_tool_prefix}clang"
4948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4949 break 2
4951 done
4952 done
4953 IFS=$as_save_IFS
4957 CC=$ac_cv_prog_CC
4958 if test -n "$CC"; then
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4960 printf "%s\n" "$CC" >&6; }
4961 else
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4963 printf "%s\n" "no" >&6; }
4968 if test -z "$ac_cv_prog_CC"; then
4969 ac_ct_CC=$CC
4970 # Extract the first word of "clang", so it can be a program name with args.
4971 set dummy clang; ac_word=$2
4972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4973 printf %s "checking for $ac_word... " >&6; }
4974 if test ${ac_cv_prog_ac_ct_CC+y}
4975 then :
4976 printf %s "(cached) " >&6
4977 else $as_nop
4978 if test -n "$ac_ct_CC"; then
4979 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4980 else
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 for as_dir in $PATH
4984 IFS=$as_save_IFS
4985 case $as_dir in #(((
4986 '') as_dir=./ ;;
4987 */) ;;
4988 *) as_dir=$as_dir/ ;;
4989 esac
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4992 ac_cv_prog_ac_ct_CC="clang"
4993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4994 break 2
4996 done
4997 done
4998 IFS=$as_save_IFS
5002 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5003 if test -n "$ac_ct_CC"; then
5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5005 printf "%s\n" "$ac_ct_CC" >&6; }
5006 else
5007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 printf "%s\n" "no" >&6; }
5011 if test "x$ac_ct_CC" = x; then
5012 CC=""
5013 else
5014 case $cross_compiling:$ac_tool_warned in
5015 yes:)
5016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5017 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5018 ac_tool_warned=yes ;;
5019 esac
5020 CC=$ac_ct_CC
5022 else
5023 CC="$ac_cv_prog_CC"
5029 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5030 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5031 as_fn_error $? "no acceptable C compiler found in \$PATH
5032 See \`config.log' for more details" "$LINENO" 5; }
5034 # Provide some information about the compiler.
5035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5036 set X $ac_compile
5037 ac_compiler=$2
5038 for ac_option in --version -v -V -qversion -version; do
5039 { { ac_try="$ac_compiler $ac_option >&5"
5040 case "(($ac_try" in
5041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5042 *) ac_try_echo=$ac_try;;
5043 esac
5044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5045 printf "%s\n" "$ac_try_echo"; } >&5
5046 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5047 ac_status=$?
5048 if test -s conftest.err; then
5049 sed '10a\
5050 ... rest of stderr output deleted ...
5051 10q' conftest.err >conftest.er1
5052 cat conftest.er1 >&5
5054 rm -f conftest.er1 conftest.err
5055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5056 test $ac_status = 0; }
5057 done
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5063 main (void)
5067 return 0;
5069 _ACEOF
5070 ac_clean_files_save=$ac_clean_files
5071 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5072 # Try to create an executable without -o first, disregard a.out.
5073 # It will help us diagnose broken compilers, and finding out an intuition
5074 # of exeext.
5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5076 printf %s "checking whether the C compiler works... " >&6; }
5077 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5079 # The possible output files:
5080 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5082 ac_rmfiles=
5083 for ac_file in $ac_files
5085 case $ac_file in
5086 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5087 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5088 esac
5089 done
5090 rm -f $ac_rmfiles
5092 if { { ac_try="$ac_link_default"
5093 case "(($ac_try" in
5094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5096 esac
5097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5098 printf "%s\n" "$ac_try_echo"; } >&5
5099 (eval "$ac_link_default") 2>&5
5100 ac_status=$?
5101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5102 test $ac_status = 0; }
5103 then :
5104 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5105 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5106 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5107 # so that the user can short-circuit this test for compilers unknown to
5108 # Autoconf.
5109 for ac_file in $ac_files ''
5111 test -f "$ac_file" || continue
5112 case $ac_file in
5113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5115 [ab].out )
5116 # We found the default executable, but exeext='' is most
5117 # certainly right.
5118 break;;
5119 *.* )
5120 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5121 then :; else
5122 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5124 # We set ac_cv_exeext here because the later test for it is not
5125 # safe: cross compilers may not add the suffix if given an `-o'
5126 # argument, so we may need to know it at that point already.
5127 # Even if this section looks crufty: it has the advantage of
5128 # actually working.
5129 break;;
5131 break;;
5132 esac
5133 done
5134 test "$ac_cv_exeext" = no && ac_cv_exeext=
5136 else $as_nop
5137 ac_file=''
5139 if test -z "$ac_file"
5140 then :
5141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 printf "%s\n" "no" >&6; }
5143 printf "%s\n" "$as_me: failed program was:" >&5
5144 sed 's/^/| /' conftest.$ac_ext >&5
5146 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5147 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5148 as_fn_error 77 "C compiler cannot create executables
5149 See \`config.log' for more details" "$LINENO" 5; }
5150 else $as_nop
5151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5152 printf "%s\n" "yes" >&6; }
5154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5155 printf %s "checking for C compiler default output file name... " >&6; }
5156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5157 printf "%s\n" "$ac_file" >&6; }
5158 ac_exeext=$ac_cv_exeext
5160 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5161 ac_clean_files=$ac_clean_files_save
5162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5163 printf %s "checking for suffix of executables... " >&6; }
5164 if { { ac_try="$ac_link"
5165 case "(($ac_try" in
5166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5167 *) ac_try_echo=$ac_try;;
5168 esac
5169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5170 printf "%s\n" "$ac_try_echo"; } >&5
5171 (eval "$ac_link") 2>&5
5172 ac_status=$?
5173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5174 test $ac_status = 0; }
5175 then :
5176 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5177 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5178 # work properly (i.e., refer to `conftest.exe'), while it won't with
5179 # `rm'.
5180 for ac_file in conftest.exe conftest conftest.*; do
5181 test -f "$ac_file" || continue
5182 case $ac_file in
5183 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5184 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5185 break;;
5186 * ) break;;
5187 esac
5188 done
5189 else $as_nop
5190 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5191 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5192 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5193 See \`config.log' for more details" "$LINENO" 5; }
5195 rm -f conftest conftest$ac_cv_exeext
5196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5197 printf "%s\n" "$ac_cv_exeext" >&6; }
5199 rm -f conftest.$ac_ext
5200 EXEEXT=$ac_cv_exeext
5201 ac_exeext=$EXEEXT
5202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5203 /* end confdefs.h. */
5204 #include <stdio.h>
5206 main (void)
5208 FILE *f = fopen ("conftest.out", "w");
5209 return ferror (f) || fclose (f) != 0;
5212 return 0;
5214 _ACEOF
5215 ac_clean_files="$ac_clean_files conftest.out"
5216 # Check that the compiler produces executables we can run. If not, either
5217 # the compiler is broken, or we cross compile.
5218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5219 printf %s "checking whether we are cross compiling... " >&6; }
5220 if test "$cross_compiling" != yes; then
5221 { { ac_try="$ac_link"
5222 case "(($ac_try" in
5223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5224 *) ac_try_echo=$ac_try;;
5225 esac
5226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5227 printf "%s\n" "$ac_try_echo"; } >&5
5228 (eval "$ac_link") 2>&5
5229 ac_status=$?
5230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5231 test $ac_status = 0; }
5232 if { ac_try='./conftest$ac_cv_exeext'
5233 { { case "(($ac_try" in
5234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5235 *) ac_try_echo=$ac_try;;
5236 esac
5237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5238 printf "%s\n" "$ac_try_echo"; } >&5
5239 (eval "$ac_try") 2>&5
5240 ac_status=$?
5241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5242 test $ac_status = 0; }; }; then
5243 cross_compiling=no
5244 else
5245 if test "$cross_compiling" = maybe; then
5246 cross_compiling=yes
5247 else
5248 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5249 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5250 as_fn_error 77 "cannot run C compiled programs.
5251 If you meant to cross compile, use \`--host'.
5252 See \`config.log' for more details" "$LINENO" 5; }
5256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5257 printf "%s\n" "$cross_compiling" >&6; }
5259 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5260 ac_clean_files=$ac_clean_files_save
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5262 printf %s "checking for suffix of object files... " >&6; }
5263 if test ${ac_cv_objext+y}
5264 then :
5265 printf %s "(cached) " >&6
5266 else $as_nop
5267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5268 /* end confdefs.h. */
5271 main (void)
5275 return 0;
5277 _ACEOF
5278 rm -f conftest.o conftest.obj
5279 if { { ac_try="$ac_compile"
5280 case "(($ac_try" in
5281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5282 *) ac_try_echo=$ac_try;;
5283 esac
5284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5285 printf "%s\n" "$ac_try_echo"; } >&5
5286 (eval "$ac_compile") 2>&5
5287 ac_status=$?
5288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5289 test $ac_status = 0; }
5290 then :
5291 for ac_file in conftest.o conftest.obj conftest.*; do
5292 test -f "$ac_file" || continue;
5293 case $ac_file in
5294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5295 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5296 break;;
5297 esac
5298 done
5299 else $as_nop
5300 printf "%s\n" "$as_me: failed program was:" >&5
5301 sed 's/^/| /' conftest.$ac_ext >&5
5303 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5304 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5305 as_fn_error $? "cannot compute suffix of object files: cannot compile
5306 See \`config.log' for more details" "$LINENO" 5; }
5308 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5311 printf "%s\n" "$ac_cv_objext" >&6; }
5312 OBJEXT=$ac_cv_objext
5313 ac_objext=$OBJEXT
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5315 printf %s "checking whether the compiler supports GNU C... " >&6; }
5316 if test ${ac_cv_c_compiler_gnu+y}
5317 then :
5318 printf %s "(cached) " >&6
5319 else $as_nop
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5324 main (void)
5326 #ifndef __GNUC__
5327 choke me
5328 #endif
5331 return 0;
5333 _ACEOF
5334 if ac_fn_c_try_compile "$LINENO"
5335 then :
5336 ac_compiler_gnu=yes
5337 else $as_nop
5338 ac_compiler_gnu=no
5340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5341 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5345 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5348 if test $ac_compiler_gnu = yes; then
5349 GCC=yes
5350 else
5351 GCC=
5353 ac_test_CFLAGS=${CFLAGS+y}
5354 ac_save_CFLAGS=$CFLAGS
5355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5356 printf %s "checking whether $CC accepts -g... " >&6; }
5357 if test ${ac_cv_prog_cc_g+y}
5358 then :
5359 printf %s "(cached) " >&6
5360 else $as_nop
5361 ac_save_c_werror_flag=$ac_c_werror_flag
5362 ac_c_werror_flag=yes
5363 ac_cv_prog_cc_g=no
5364 CFLAGS="-g"
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5369 main (void)
5373 return 0;
5375 _ACEOF
5376 if ac_fn_c_try_compile "$LINENO"
5377 then :
5378 ac_cv_prog_cc_g=yes
5379 else $as_nop
5380 CFLAGS=""
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5385 main (void)
5389 return 0;
5391 _ACEOF
5392 if ac_fn_c_try_compile "$LINENO"
5393 then :
5395 else $as_nop
5396 ac_c_werror_flag=$ac_save_c_werror_flag
5397 CFLAGS="-g"
5398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5399 /* end confdefs.h. */
5402 main (void)
5406 return 0;
5408 _ACEOF
5409 if ac_fn_c_try_compile "$LINENO"
5410 then :
5411 ac_cv_prog_cc_g=yes
5413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5418 ac_c_werror_flag=$ac_save_c_werror_flag
5420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5421 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5422 if test $ac_test_CFLAGS; then
5423 CFLAGS=$ac_save_CFLAGS
5424 elif test $ac_cv_prog_cc_g = yes; then
5425 if test "$GCC" = yes; then
5426 CFLAGS="-g -O2"
5427 else
5428 CFLAGS="-g"
5430 else
5431 if test "$GCC" = yes; then
5432 CFLAGS="-O2"
5433 else
5434 CFLAGS=
5437 ac_prog_cc_stdc=no
5438 if test x$ac_prog_cc_stdc = xno
5439 then :
5440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5441 printf %s "checking for $CC option to enable C11 features... " >&6; }
5442 if test ${ac_cv_prog_cc_c11+y}
5443 then :
5444 printf %s "(cached) " >&6
5445 else $as_nop
5446 ac_cv_prog_cc_c11=no
5447 ac_save_CC=$CC
5448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5449 /* end confdefs.h. */
5450 $ac_c_conftest_c11_program
5451 _ACEOF
5452 for ac_arg in '' -std=gnu11
5454 CC="$ac_save_CC $ac_arg"
5455 if ac_fn_c_try_compile "$LINENO"
5456 then :
5457 ac_cv_prog_cc_c11=$ac_arg
5459 rm -f core conftest.err conftest.$ac_objext conftest.beam
5460 test "x$ac_cv_prog_cc_c11" != "xno" && break
5461 done
5462 rm -f conftest.$ac_ext
5463 CC=$ac_save_CC
5466 if test "x$ac_cv_prog_cc_c11" = xno
5467 then :
5468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5469 printf "%s\n" "unsupported" >&6; }
5470 else $as_nop
5471 if test "x$ac_cv_prog_cc_c11" = x
5472 then :
5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5474 printf "%s\n" "none needed" >&6; }
5475 else $as_nop
5476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5477 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5478 CC="$CC $ac_cv_prog_cc_c11"
5480 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5481 ac_prog_cc_stdc=c11
5484 if test x$ac_prog_cc_stdc = xno
5485 then :
5486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5487 printf %s "checking for $CC option to enable C99 features... " >&6; }
5488 if test ${ac_cv_prog_cc_c99+y}
5489 then :
5490 printf %s "(cached) " >&6
5491 else $as_nop
5492 ac_cv_prog_cc_c99=no
5493 ac_save_CC=$CC
5494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5495 /* end confdefs.h. */
5496 $ac_c_conftest_c99_program
5497 _ACEOF
5498 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5500 CC="$ac_save_CC $ac_arg"
5501 if ac_fn_c_try_compile "$LINENO"
5502 then :
5503 ac_cv_prog_cc_c99=$ac_arg
5505 rm -f core conftest.err conftest.$ac_objext conftest.beam
5506 test "x$ac_cv_prog_cc_c99" != "xno" && break
5507 done
5508 rm -f conftest.$ac_ext
5509 CC=$ac_save_CC
5512 if test "x$ac_cv_prog_cc_c99" = xno
5513 then :
5514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5515 printf "%s\n" "unsupported" >&6; }
5516 else $as_nop
5517 if test "x$ac_cv_prog_cc_c99" = x
5518 then :
5519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5520 printf "%s\n" "none needed" >&6; }
5521 else $as_nop
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5523 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5524 CC="$CC $ac_cv_prog_cc_c99"
5526 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5527 ac_prog_cc_stdc=c99
5530 if test x$ac_prog_cc_stdc = xno
5531 then :
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5533 printf %s "checking for $CC option to enable C89 features... " >&6; }
5534 if test ${ac_cv_prog_cc_c89+y}
5535 then :
5536 printf %s "(cached) " >&6
5537 else $as_nop
5538 ac_cv_prog_cc_c89=no
5539 ac_save_CC=$CC
5540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5541 /* end confdefs.h. */
5542 $ac_c_conftest_c89_program
5543 _ACEOF
5544 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5546 CC="$ac_save_CC $ac_arg"
5547 if ac_fn_c_try_compile "$LINENO"
5548 then :
5549 ac_cv_prog_cc_c89=$ac_arg
5551 rm -f core conftest.err conftest.$ac_objext conftest.beam
5552 test "x$ac_cv_prog_cc_c89" != "xno" && break
5553 done
5554 rm -f conftest.$ac_ext
5555 CC=$ac_save_CC
5558 if test "x$ac_cv_prog_cc_c89" = xno
5559 then :
5560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5561 printf "%s\n" "unsupported" >&6; }
5562 else $as_nop
5563 if test "x$ac_cv_prog_cc_c89" = x
5564 then :
5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5566 printf "%s\n" "none needed" >&6; }
5567 else $as_nop
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5569 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5570 CC="$CC $ac_cv_prog_cc_c89"
5572 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5573 ac_prog_cc_stdc=c89
5577 ac_ext=c
5578 ac_cpp='$CPP $CPPFLAGS'
5579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5589 ac_ext=cpp
5590 ac_cpp='$CXXCPP $CPPFLAGS'
5591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5594 if test -z "$CXX"; then
5595 if test -n "$CCC"; then
5596 CXX=$CCC
5597 else
5598 if test -n "$ac_tool_prefix"; then
5599 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 printf %s "checking for $ac_word... " >&6; }
5605 if test ${ac_cv_prog_CXX+y}
5606 then :
5607 printf %s "(cached) " >&6
5608 else $as_nop
5609 if test -n "$CXX"; then
5610 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5611 else
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5613 for as_dir in $PATH
5615 IFS=$as_save_IFS
5616 case $as_dir in #(((
5617 '') as_dir=./ ;;
5618 */) ;;
5619 *) as_dir=$as_dir/ ;;
5620 esac
5621 for ac_exec_ext in '' $ac_executable_extensions; do
5622 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5623 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5625 break 2
5627 done
5628 done
5629 IFS=$as_save_IFS
5633 CXX=$ac_cv_prog_CXX
5634 if test -n "$CXX"; then
5635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5636 printf "%s\n" "$CXX" >&6; }
5637 else
5638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 printf "%s\n" "no" >&6; }
5643 test -n "$CXX" && break
5644 done
5646 if test -z "$CXX"; then
5647 ac_ct_CXX=$CXX
5648 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5650 # Extract the first word of "$ac_prog", so it can be a program name with args.
5651 set dummy $ac_prog; ac_word=$2
5652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653 printf %s "checking for $ac_word... " >&6; }
5654 if test ${ac_cv_prog_ac_ct_CXX+y}
5655 then :
5656 printf %s "(cached) " >&6
5657 else $as_nop
5658 if test -n "$ac_ct_CXX"; then
5659 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5660 else
5661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5662 for as_dir in $PATH
5664 IFS=$as_save_IFS
5665 case $as_dir in #(((
5666 '') as_dir=./ ;;
5667 */) ;;
5668 *) as_dir=$as_dir/ ;;
5669 esac
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5672 ac_cv_prog_ac_ct_CXX="$ac_prog"
5673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5674 break 2
5676 done
5677 done
5678 IFS=$as_save_IFS
5682 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5683 if test -n "$ac_ct_CXX"; then
5684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5685 printf "%s\n" "$ac_ct_CXX" >&6; }
5686 else
5687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5688 printf "%s\n" "no" >&6; }
5692 test -n "$ac_ct_CXX" && break
5693 done
5695 if test "x$ac_ct_CXX" = x; then
5696 CXX="g++"
5697 else
5698 case $cross_compiling:$ac_tool_warned in
5699 yes:)
5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5701 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5702 ac_tool_warned=yes ;;
5703 esac
5704 CXX=$ac_ct_CXX
5710 # Provide some information about the compiler.
5711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5712 set X $ac_compile
5713 ac_compiler=$2
5714 for ac_option in --version -v -V -qversion; do
5715 { { ac_try="$ac_compiler $ac_option >&5"
5716 case "(($ac_try" in
5717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5718 *) ac_try_echo=$ac_try;;
5719 esac
5720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5721 printf "%s\n" "$ac_try_echo"; } >&5
5722 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5723 ac_status=$?
5724 if test -s conftest.err; then
5725 sed '10a\
5726 ... rest of stderr output deleted ...
5727 10q' conftest.err >conftest.er1
5728 cat conftest.er1 >&5
5730 rm -f conftest.er1 conftest.err
5731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5732 test $ac_status = 0; }
5733 done
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5736 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5737 if test ${ac_cv_cxx_compiler_gnu+y}
5738 then :
5739 printf %s "(cached) " >&6
5740 else $as_nop
5741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5745 main (void)
5747 #ifndef __GNUC__
5748 choke me
5749 #endif
5752 return 0;
5754 _ACEOF
5755 if ac_fn_cxx_try_compile "$LINENO"
5756 then :
5757 ac_compiler_gnu=yes
5758 else $as_nop
5759 ac_compiler_gnu=no
5761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5762 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5766 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5769 if test $ac_compiler_gnu = yes; then
5770 GXX=yes
5771 else
5772 GXX=
5774 ac_test_CXXFLAGS=${CXXFLAGS+y}
5775 ac_save_CXXFLAGS=$CXXFLAGS
5776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5777 printf %s "checking whether $CXX accepts -g... " >&6; }
5778 if test ${ac_cv_prog_cxx_g+y}
5779 then :
5780 printf %s "(cached) " >&6
5781 else $as_nop
5782 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5783 ac_cxx_werror_flag=yes
5784 ac_cv_prog_cxx_g=no
5785 CXXFLAGS="-g"
5786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5787 /* end confdefs.h. */
5790 main (void)
5794 return 0;
5796 _ACEOF
5797 if ac_fn_cxx_try_compile "$LINENO"
5798 then :
5799 ac_cv_prog_cxx_g=yes
5800 else $as_nop
5801 CXXFLAGS=""
5802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5803 /* end confdefs.h. */
5806 main (void)
5810 return 0;
5812 _ACEOF
5813 if ac_fn_cxx_try_compile "$LINENO"
5814 then :
5816 else $as_nop
5817 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5818 CXXFLAGS="-g"
5819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5823 main (void)
5827 return 0;
5829 _ACEOF
5830 if ac_fn_cxx_try_compile "$LINENO"
5831 then :
5832 ac_cv_prog_cxx_g=yes
5834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5839 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5842 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5843 if test $ac_test_CXXFLAGS; then
5844 CXXFLAGS=$ac_save_CXXFLAGS
5845 elif test $ac_cv_prog_cxx_g = yes; then
5846 if test "$GXX" = yes; then
5847 CXXFLAGS="-g -O2"
5848 else
5849 CXXFLAGS="-g"
5851 else
5852 if test "$GXX" = yes; then
5853 CXXFLAGS="-O2"
5854 else
5855 CXXFLAGS=
5858 ac_prog_cxx_stdcxx=no
5859 if test x$ac_prog_cxx_stdcxx = xno
5860 then :
5861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5862 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5863 if test ${ac_cv_prog_cxx_11+y}
5864 then :
5865 printf %s "(cached) " >&6
5866 else $as_nop
5867 ac_cv_prog_cxx_11=no
5868 ac_save_CXX=$CXX
5869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5870 /* end confdefs.h. */
5871 $ac_cxx_conftest_cxx11_program
5872 _ACEOF
5873 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5875 CXX="$ac_save_CXX $ac_arg"
5876 if ac_fn_cxx_try_compile "$LINENO"
5877 then :
5878 ac_cv_prog_cxx_cxx11=$ac_arg
5880 rm -f core conftest.err conftest.$ac_objext conftest.beam
5881 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5882 done
5883 rm -f conftest.$ac_ext
5884 CXX=$ac_save_CXX
5887 if test "x$ac_cv_prog_cxx_cxx11" = xno
5888 then :
5889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5890 printf "%s\n" "unsupported" >&6; }
5891 else $as_nop
5892 if test "x$ac_cv_prog_cxx_cxx11" = x
5893 then :
5894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5895 printf "%s\n" "none needed" >&6; }
5896 else $as_nop
5897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5898 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5899 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5901 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5902 ac_prog_cxx_stdcxx=cxx11
5905 if test x$ac_prog_cxx_stdcxx = xno
5906 then :
5907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5908 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5909 if test ${ac_cv_prog_cxx_98+y}
5910 then :
5911 printf %s "(cached) " >&6
5912 else $as_nop
5913 ac_cv_prog_cxx_98=no
5914 ac_save_CXX=$CXX
5915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5916 /* end confdefs.h. */
5917 $ac_cxx_conftest_cxx98_program
5918 _ACEOF
5919 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5921 CXX="$ac_save_CXX $ac_arg"
5922 if ac_fn_cxx_try_compile "$LINENO"
5923 then :
5924 ac_cv_prog_cxx_cxx98=$ac_arg
5926 rm -f core conftest.err conftest.$ac_objext conftest.beam
5927 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5928 done
5929 rm -f conftest.$ac_ext
5930 CXX=$ac_save_CXX
5933 if test "x$ac_cv_prog_cxx_cxx98" = xno
5934 then :
5935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5936 printf "%s\n" "unsupported" >&6; }
5937 else $as_nop
5938 if test "x$ac_cv_prog_cxx_cxx98" = x
5939 then :
5940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5941 printf "%s\n" "none needed" >&6; }
5942 else $as_nop
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5944 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5945 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5947 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5948 ac_prog_cxx_stdcxx=cxx98
5952 ac_ext=c
5953 ac_cpp='$CPP $CPPFLAGS'
5954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5958 if test -n "$ac_tool_prefix"; then
5959 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5960 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5962 printf %s "checking for $ac_word... " >&6; }
5963 if test ${ac_cv_prog_CPPBIN+y}
5964 then :
5965 printf %s "(cached) " >&6
5966 else $as_nop
5967 if test -n "$CPPBIN"; then
5968 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5969 else
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 for as_dir in $PATH
5973 IFS=$as_save_IFS
5974 case $as_dir in #(((
5975 '') as_dir=./ ;;
5976 */) ;;
5977 *) as_dir=$as_dir/ ;;
5978 esac
5979 for ac_exec_ext in '' $ac_executable_extensions; do
5980 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5981 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5983 break 2
5985 done
5986 done
5987 IFS=$as_save_IFS
5991 CPPBIN=$ac_cv_prog_CPPBIN
5992 if test -n "$CPPBIN"; then
5993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5994 printf "%s\n" "$CPPBIN" >&6; }
5995 else
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 printf "%s\n" "no" >&6; }
6002 if test -z "$ac_cv_prog_CPPBIN"; then
6003 ac_ct_CPPBIN=$CPPBIN
6004 # Extract the first word of "cpp", so it can be a program name with args.
6005 set dummy cpp; ac_word=$2
6006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6007 printf %s "checking for $ac_word... " >&6; }
6008 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6009 then :
6010 printf %s "(cached) " >&6
6011 else $as_nop
6012 if test -n "$ac_ct_CPPBIN"; then
6013 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6014 else
6015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 for as_dir in $PATH
6018 IFS=$as_save_IFS
6019 case $as_dir in #(((
6020 '') as_dir=./ ;;
6021 */) ;;
6022 *) as_dir=$as_dir/ ;;
6023 esac
6024 for ac_exec_ext in '' $ac_executable_extensions; do
6025 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6026 ac_cv_prog_ac_ct_CPPBIN="cpp"
6027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6028 break 2
6030 done
6031 done
6032 IFS=$as_save_IFS
6036 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6037 if test -n "$ac_ct_CPPBIN"; then
6038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6039 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6040 else
6041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042 printf "%s\n" "no" >&6; }
6045 if test "x$ac_ct_CPPBIN" = x; then
6046 CPPBIN="cpp"
6047 else
6048 case $cross_compiling:$ac_tool_warned in
6049 yes:)
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6051 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6052 ac_tool_warned=yes ;;
6053 esac
6054 CPPBIN=$ac_ct_CPPBIN
6056 else
6057 CPPBIN="$ac_cv_prog_CPPBIN"
6061 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6063 if test -n "$ac_tool_prefix"; then
6064 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6065 set dummy ${ac_tool_prefix}ld; ac_word=$2
6066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 printf %s "checking for $ac_word... " >&6; }
6068 if test ${ac_cv_prog_LD+y}
6069 then :
6070 printf %s "(cached) " >&6
6071 else $as_nop
6072 if test -n "$LD"; then
6073 ac_cv_prog_LD="$LD" # Let the user override the test.
6074 else
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076 for as_dir in $PATH
6078 IFS=$as_save_IFS
6079 case $as_dir in #(((
6080 '') as_dir=./ ;;
6081 */) ;;
6082 *) as_dir=$as_dir/ ;;
6083 esac
6084 for ac_exec_ext in '' $ac_executable_extensions; do
6085 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6086 ac_cv_prog_LD="${ac_tool_prefix}ld"
6087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6088 break 2
6090 done
6091 done
6092 IFS=$as_save_IFS
6096 LD=$ac_cv_prog_LD
6097 if test -n "$LD"; then
6098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6099 printf "%s\n" "$LD" >&6; }
6100 else
6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 printf "%s\n" "no" >&6; }
6107 if test -z "$ac_cv_prog_LD"; then
6108 ac_ct_LD=$LD
6109 # Extract the first word of "ld", so it can be a program name with args.
6110 set dummy ld; ac_word=$2
6111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6112 printf %s "checking for $ac_word... " >&6; }
6113 if test ${ac_cv_prog_ac_ct_LD+y}
6114 then :
6115 printf %s "(cached) " >&6
6116 else $as_nop
6117 if test -n "$ac_ct_LD"; then
6118 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6119 else
6120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6121 for as_dir in $PATH
6123 IFS=$as_save_IFS
6124 case $as_dir in #(((
6125 '') as_dir=./ ;;
6126 */) ;;
6127 *) as_dir=$as_dir/ ;;
6128 esac
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6131 ac_cv_prog_ac_ct_LD="ld"
6132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6133 break 2
6135 done
6136 done
6137 IFS=$as_save_IFS
6141 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6142 if test -n "$ac_ct_LD"; then
6143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6144 printf "%s\n" "$ac_ct_LD" >&6; }
6145 else
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147 printf "%s\n" "no" >&6; }
6150 if test "x$ac_ct_LD" = x; then
6151 LD=""
6152 else
6153 case $cross_compiling:$ac_tool_warned in
6154 yes:)
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6156 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6157 ac_tool_warned=yes ;;
6158 esac
6159 LD=$ac_ct_LD
6161 else
6162 LD="$ac_cv_prog_LD"
6166 case $host in
6167 *-darwin*)
6168 with_fontconfig=${with_fontconfig:-no}
6170 *-mingw32*|*-cygwin*)
6171 enable_win16=${enable_win16:-no}
6172 with_mingw=${with_mingw:-no}
6174 esac
6177 case $host in
6178 x86_64*|amd64*)
6179 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6180 then
6181 CC="$CC -m32"
6182 CXX="$CXX -m32"
6184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6185 printf %s "checking whether $CC works... " >&6; }
6186 if test ${wine_cv_cc_m32+y}
6187 then :
6188 printf %s "(cached) " >&6
6189 else $as_nop
6190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6194 main (void)
6198 return 0;
6200 _ACEOF
6201 if ac_fn_c_try_link "$LINENO"
6202 then :
6203 wine_cv_cc_m32=yes
6204 else $as_nop
6205 wine_cv_cc_m32=no
6207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6208 conftest$ac_exeext conftest.$ac_ext
6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6211 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6212 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
6213 host_cpu="i386"
6214 notice_platform="32-bit "
6215 TARGETFLAGS="$TARGETFLAGS -m32"
6216 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6217 export PKG_CONFIG_PATH
6218 enable_win16=${enable_win16:-yes}
6219 with_unwind=${with_unwind:-no}
6220 else
6221 if test "x${GCC}" = "xyes"
6222 then
6223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6224 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6225 if test ${wine_cv_builtin_ms_va_list+y}
6226 then :
6227 printf %s "(cached) " >&6
6228 else $as_nop
6229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6230 /* end confdefs.h. */
6231 #include <stdarg.h>
6233 main (void)
6235 void func(__builtin_ms_va_list *args);
6237 return 0;
6239 _ACEOF
6240 if ac_fn_c_try_compile "$LINENO"
6241 then :
6242 wine_cv_builtin_ms_va_list=yes
6243 else $as_nop
6244 wine_cv_builtin_ms_va_list=no
6246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6249 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6250 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
6252 CC="$CC -m64"
6253 CXX="$CXX -m64"
6254 host_cpu="x86_64"
6255 notice_platform="64-bit "
6256 TARGETFLAGS="$TARGETFLAGS -m64"
6257 enable_wow64=${enable_wow64:-yes}
6258 enable_wow64win=${enable_wow64win:-yes}
6259 enable_wow64cpu=${enable_wow64cpu:-yes}
6262 arm*)
6263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6264 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6265 if test ${wine_cv_thumb2+y}
6266 then :
6267 printf %s "(cached) " >&6
6268 else $as_nop
6269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6270 /* end confdefs.h. */
6273 main (void)
6275 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6277 return 0;
6279 _ACEOF
6280 if ac_fn_c_try_link "$LINENO"
6281 then :
6282 wine_cv_thumb2=yes
6283 else $as_nop
6284 wine_cv_thumb2=no
6286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6287 conftest$ac_exeext conftest.$ac_ext
6289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6290 printf "%s\n" "$wine_cv_thumb2" >&6; }
6291 if test x"$wine_cv_thumb2" = xyes
6292 then
6293 CFLAGS="$CFLAGS -mthumb"
6294 TARGETFLAGS="$TARGETFLAGS -mthumb"
6295 else
6296 CFLAGS="$CFLAGS -marm"
6297 TARGETFLAGS="$TARGETFLAGS -marm"
6299 case $with_float_abi in
6300 soft|softfp|hard)
6301 float_abi=$with_float_abi ;;
6303 case $host_os in
6304 *eabihf)
6305 float_abi=hard ;;
6307 float_abi=softfp
6308 saved_CFLAGS=$CFLAGS
6309 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6311 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6312 if test ${wine_cv_float_abi+y}
6313 then :
6314 printf %s "(cached) " >&6
6315 else $as_nop
6316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6320 main (void)
6322 asm("vmrs r2,fpscr");
6324 return 0;
6326 _ACEOF
6327 if ac_fn_c_try_link "$LINENO"
6328 then :
6329 wine_cv_float_abi=yes
6330 else $as_nop
6331 wine_cv_float_abi=no
6333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6334 conftest$ac_exeext conftest.$ac_ext
6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6337 printf "%s\n" "$wine_cv_float_abi" >&6; }
6338 if test $wine_cv_float_abi = no
6339 then
6340 float_abi=soft
6341 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6343 CFLAGS=$saved_CFLAGS
6344 esac
6346 esac
6347 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6348 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6350 aarch64*)
6351 enable_wow64=${enable_wow64:-yes}
6352 enable_wow64win=${enable_wow64win:-yes}
6354 i[3456789]86*)
6355 enable_win16=${enable_win16:-yes}
6356 with_unwind=${with_unwind:-no}
6358 esac
6360 enable_win16=${enable_win16:-no}
6361 enable_win64=${enable_win64:-no}
6362 enable_wow64=${enable_wow64:-no}
6363 enable_wow64win=${enable_wow64win:-no}
6364 enable_wow64cpu=${enable_wow64cpu:-no}
6366 enable_winetest=${enable_winetest:-$enable_tests}
6368 if test "x$enable_win64" = "xyes"
6369 then
6370 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6371 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6374 case $build_os in
6375 cygwin*|mingw32*) toolsext=".exe"
6377 *) toolsext=""
6379 esac
6381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6382 printf %s "checking for the directory containing the Wine tools... " >&6; }
6383 if test ${wine_cv_toolsdir+y}
6384 then :
6385 printf %s "(cached) " >&6
6386 else $as_nop
6387 wine_cv_toolsdir="$with_wine_tools"
6388 if test -z "$with_wine_tools"; then
6389 if test "$cross_compiling" = "yes"; then
6390 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6391 elif test -n "$with_wine64"; then
6392 wine_cv_toolsdir="$with_wine64"
6396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6397 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6398 if test -z "$wine_cv_toolsdir"; then
6399 wine_makedep=tools/makedep$toolsext
6400 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6401 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6402 enable_tools=${enable_tools:-no}
6403 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6404 else
6405 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6407 toolsdir=$wine_cv_toolsdir
6409 MAKEDEP=$wine_makedep
6411 RUNTESTFLAGS="-q -P wine"
6413 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'"
6416 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6417 then
6418 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6421 for ac_prog in flex
6423 # Extract the first word of "$ac_prog", so it can be a program name with args.
6424 set dummy $ac_prog; ac_word=$2
6425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 printf %s "checking for $ac_word... " >&6; }
6427 if test ${ac_cv_prog_FLEX+y}
6428 then :
6429 printf %s "(cached) " >&6
6430 else $as_nop
6431 if test -n "$FLEX"; then
6432 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6433 else
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 for as_dir in $PATH
6437 IFS=$as_save_IFS
6438 case $as_dir in #(((
6439 '') as_dir=./ ;;
6440 */) ;;
6441 *) as_dir=$as_dir/ ;;
6442 esac
6443 for ac_exec_ext in '' $ac_executable_extensions; do
6444 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6445 ac_cv_prog_FLEX="$ac_prog"
6446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6447 break 2
6449 done
6450 done
6451 IFS=$as_save_IFS
6455 FLEX=$ac_cv_prog_FLEX
6456 if test -n "$FLEX"; then
6457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6458 printf "%s\n" "$FLEX" >&6; }
6459 else
6460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6461 printf "%s\n" "no" >&6; }
6465 test -n "$FLEX" && break
6466 done
6467 test -n "$FLEX" || FLEX="none"
6469 if test "$FLEX" = "none"
6470 then
6471 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6474 printf %s "checking whether flex is recent enough... " >&6; }
6475 if test ${wine_cv_recent_flex+y}
6476 then :
6477 printf %s "(cached) " >&6
6478 else $as_nop
6479 cat >conftest.l <<EOF
6480 %top{
6481 #include "prediluvian.h"
6485 if $FLEX -t conftest.l >/dev/null 2>&5
6486 then
6487 wine_cv_recent_flex=yes
6488 else
6489 wine_cv_recent_flex=no
6492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6493 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6494 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
6496 for ac_prog in bison
6498 # Extract the first word of "$ac_prog", so it can be a program name with args.
6499 set dummy $ac_prog; ac_word=$2
6500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6501 printf %s "checking for $ac_word... " >&6; }
6502 if test ${ac_cv_prog_BISON+y}
6503 then :
6504 printf %s "(cached) " >&6
6505 else $as_nop
6506 if test -n "$BISON"; then
6507 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6508 else
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6510 for as_dir in $PATH
6512 IFS=$as_save_IFS
6513 case $as_dir in #(((
6514 '') as_dir=./ ;;
6515 */) ;;
6516 *) as_dir=$as_dir/ ;;
6517 esac
6518 for ac_exec_ext in '' $ac_executable_extensions; do
6519 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6520 ac_cv_prog_BISON="$ac_prog"
6521 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6522 break 2
6524 done
6525 done
6526 IFS=$as_save_IFS
6530 BISON=$ac_cv_prog_BISON
6531 if test -n "$BISON"; then
6532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6533 printf "%s\n" "$BISON" >&6; }
6534 else
6535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 printf "%s\n" "no" >&6; }
6540 test -n "$BISON" && break
6541 done
6542 test -n "$BISON" || BISON="none"
6544 if test "$BISON" = "none"
6545 then
6546 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6549 printf %s "checking whether bison is recent enough... " >&6; }
6550 if test ${wine_cv_recent_bison+y}
6551 then :
6552 printf %s "(cached) " >&6
6553 else $as_nop
6554 cat >conftest.y <<EOF
6555 %define parse.error verbose
6557 empty: ;
6559 if $BISON conftest.y >/dev/null 2>&5
6560 then
6561 wine_cv_recent_bison=yes
6562 else
6563 wine_cv_recent_bison=no
6566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6567 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6568 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
6570 if test -n "$ac_tool_prefix"; then
6571 for ac_prog in ar gar
6573 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6574 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6576 printf %s "checking for $ac_word... " >&6; }
6577 if test ${ac_cv_prog_AR+y}
6578 then :
6579 printf %s "(cached) " >&6
6580 else $as_nop
6581 if test -n "$AR"; then
6582 ac_cv_prog_AR="$AR" # Let the user override the test.
6583 else
6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585 for as_dir in $PATH
6587 IFS=$as_save_IFS
6588 case $as_dir in #(((
6589 '') as_dir=./ ;;
6590 */) ;;
6591 *) as_dir=$as_dir/ ;;
6592 esac
6593 for ac_exec_ext in '' $ac_executable_extensions; do
6594 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6595 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6596 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6597 break 2
6599 done
6600 done
6601 IFS=$as_save_IFS
6605 AR=$ac_cv_prog_AR
6606 if test -n "$AR"; then
6607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6608 printf "%s\n" "$AR" >&6; }
6609 else
6610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611 printf "%s\n" "no" >&6; }
6615 test -n "$AR" && break
6616 done
6618 if test -z "$AR"; then
6619 ac_ct_AR=$AR
6620 for ac_prog in ar gar
6622 # Extract the first word of "$ac_prog", so it can be a program name with args.
6623 set dummy $ac_prog; ac_word=$2
6624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6625 printf %s "checking for $ac_word... " >&6; }
6626 if test ${ac_cv_prog_ac_ct_AR+y}
6627 then :
6628 printf %s "(cached) " >&6
6629 else $as_nop
6630 if test -n "$ac_ct_AR"; then
6631 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6632 else
6633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6634 for as_dir in $PATH
6636 IFS=$as_save_IFS
6637 case $as_dir in #(((
6638 '') as_dir=./ ;;
6639 */) ;;
6640 *) as_dir=$as_dir/ ;;
6641 esac
6642 for ac_exec_ext in '' $ac_executable_extensions; do
6643 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6644 ac_cv_prog_ac_ct_AR="$ac_prog"
6645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6646 break 2
6648 done
6649 done
6650 IFS=$as_save_IFS
6654 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6655 if test -n "$ac_ct_AR"; then
6656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6657 printf "%s\n" "$ac_ct_AR" >&6; }
6658 else
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 printf "%s\n" "no" >&6; }
6664 test -n "$ac_ct_AR" && break
6665 done
6667 if test "x$ac_ct_AR" = x; then
6668 AR="ar"
6669 else
6670 case $cross_compiling:$ac_tool_warned in
6671 yes:)
6672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6673 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6674 ac_tool_warned=yes ;;
6675 esac
6676 AR=$ac_ct_AR
6680 if test -n "$ac_tool_prefix"; then
6681 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6682 set dummy ${ac_tool_prefix}strip; ac_word=$2
6683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 printf %s "checking for $ac_word... " >&6; }
6685 if test ${ac_cv_prog_STRIP+y}
6686 then :
6687 printf %s "(cached) " >&6
6688 else $as_nop
6689 if test -n "$STRIP"; then
6690 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6691 else
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693 for as_dir in $PATH
6695 IFS=$as_save_IFS
6696 case $as_dir in #(((
6697 '') as_dir=./ ;;
6698 */) ;;
6699 *) as_dir=$as_dir/ ;;
6700 esac
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6705 break 2
6707 done
6708 done
6709 IFS=$as_save_IFS
6713 STRIP=$ac_cv_prog_STRIP
6714 if test -n "$STRIP"; then
6715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6716 printf "%s\n" "$STRIP" >&6; }
6717 else
6718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 printf "%s\n" "no" >&6; }
6724 if test -z "$ac_cv_prog_STRIP"; then
6725 ac_ct_STRIP=$STRIP
6726 # Extract the first word of "strip", so it can be a program name with args.
6727 set dummy strip; ac_word=$2
6728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729 printf %s "checking for $ac_word... " >&6; }
6730 if test ${ac_cv_prog_ac_ct_STRIP+y}
6731 then :
6732 printf %s "(cached) " >&6
6733 else $as_nop
6734 if test -n "$ac_ct_STRIP"; then
6735 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6736 else
6737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6738 for as_dir in $PATH
6740 IFS=$as_save_IFS
6741 case $as_dir in #(((
6742 '') as_dir=./ ;;
6743 */) ;;
6744 *) as_dir=$as_dir/ ;;
6745 esac
6746 for ac_exec_ext in '' $ac_executable_extensions; do
6747 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6748 ac_cv_prog_ac_ct_STRIP="strip"
6749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6750 break 2
6752 done
6753 done
6754 IFS=$as_save_IFS
6758 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6759 if test -n "$ac_ct_STRIP"; then
6760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6761 printf "%s\n" "$ac_ct_STRIP" >&6; }
6762 else
6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 printf "%s\n" "no" >&6; }
6767 if test "x$ac_ct_STRIP" = x; then
6768 STRIP="strip"
6769 else
6770 case $cross_compiling:$ac_tool_warned in
6771 yes:)
6772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6773 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6774 ac_tool_warned=yes ;;
6775 esac
6776 STRIP=$ac_ct_STRIP
6778 else
6779 STRIP="$ac_cv_prog_STRIP"
6782 if test -n "$ac_tool_prefix"; then
6783 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6784 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786 printf %s "checking for $ac_word... " >&6; }
6787 if test ${ac_cv_prog_RANLIB+y}
6788 then :
6789 printf %s "(cached) " >&6
6790 else $as_nop
6791 if test -n "$RANLIB"; then
6792 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6793 else
6794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795 for as_dir in $PATH
6797 IFS=$as_save_IFS
6798 case $as_dir in #(((
6799 '') as_dir=./ ;;
6800 */) ;;
6801 *) as_dir=$as_dir/ ;;
6802 esac
6803 for ac_exec_ext in '' $ac_executable_extensions; do
6804 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6805 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6807 break 2
6809 done
6810 done
6811 IFS=$as_save_IFS
6815 RANLIB=$ac_cv_prog_RANLIB
6816 if test -n "$RANLIB"; then
6817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6818 printf "%s\n" "$RANLIB" >&6; }
6819 else
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6821 printf "%s\n" "no" >&6; }
6826 if test -z "$ac_cv_prog_RANLIB"; then
6827 ac_ct_RANLIB=$RANLIB
6828 # Extract the first word of "ranlib", so it can be a program name with args.
6829 set dummy ranlib; ac_word=$2
6830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 printf %s "checking for $ac_word... " >&6; }
6832 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6833 then :
6834 printf %s "(cached) " >&6
6835 else $as_nop
6836 if test -n "$ac_ct_RANLIB"; then
6837 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6838 else
6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6840 for as_dir in $PATH
6842 IFS=$as_save_IFS
6843 case $as_dir in #(((
6844 '') as_dir=./ ;;
6845 */) ;;
6846 *) as_dir=$as_dir/ ;;
6847 esac
6848 for ac_exec_ext in '' $ac_executable_extensions; do
6849 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6850 ac_cv_prog_ac_ct_RANLIB="ranlib"
6851 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6852 break 2
6854 done
6855 done
6856 IFS=$as_save_IFS
6860 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6861 if test -n "$ac_ct_RANLIB"; then
6862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6863 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6864 else
6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6866 printf "%s\n" "no" >&6; }
6869 if test "x$ac_ct_RANLIB" = x; then
6870 RANLIB=":"
6871 else
6872 case $cross_compiling:$ac_tool_warned in
6873 yes:)
6874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6875 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6876 ac_tool_warned=yes ;;
6877 esac
6878 RANLIB=$ac_ct_RANLIB
6880 else
6881 RANLIB="$ac_cv_prog_RANLIB"
6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6885 printf %s "checking whether ln -s works... " >&6; }
6886 LN_S=$as_ln_s
6887 if test "$LN_S" = "ln -s"; then
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6889 printf "%s\n" "yes" >&6; }
6890 else
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6892 printf "%s\n" "no, using $LN_S" >&6; }
6895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6896 printf %s "checking for grep that handles long lines and -e... " >&6; }
6897 if test ${ac_cv_path_GREP+y}
6898 then :
6899 printf %s "(cached) " >&6
6900 else $as_nop
6901 if test -z "$GREP"; then
6902 ac_path_GREP_found=false
6903 # Loop through the user's path and test for each of PROGNAME-LIST
6904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6907 IFS=$as_save_IFS
6908 case $as_dir in #(((
6909 '') as_dir=./ ;;
6910 */) ;;
6911 *) as_dir=$as_dir/ ;;
6912 esac
6913 for ac_prog in grep ggrep
6915 for ac_exec_ext in '' $ac_executable_extensions; do
6916 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6917 as_fn_executable_p "$ac_path_GREP" || continue
6918 # Check for GNU ac_path_GREP and select it if it is found.
6919 # Check for GNU $ac_path_GREP
6920 case `"$ac_path_GREP" --version 2>&1` in
6921 *GNU*)
6922 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6924 ac_count=0
6925 printf %s 0123456789 >"conftest.in"
6926 while :
6928 cat "conftest.in" "conftest.in" >"conftest.tmp"
6929 mv "conftest.tmp" "conftest.in"
6930 cp "conftest.in" "conftest.nl"
6931 printf "%s\n" 'GREP' >> "conftest.nl"
6932 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6933 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6934 as_fn_arith $ac_count + 1 && ac_count=$as_val
6935 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6936 # Best one so far, save it but keep looking for a better one
6937 ac_cv_path_GREP="$ac_path_GREP"
6938 ac_path_GREP_max=$ac_count
6940 # 10*(2^10) chars as input seems more than enough
6941 test $ac_count -gt 10 && break
6942 done
6943 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6944 esac
6946 $ac_path_GREP_found && break 3
6947 done
6948 done
6949 done
6950 IFS=$as_save_IFS
6951 if test -z "$ac_cv_path_GREP"; then
6952 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6954 else
6955 ac_cv_path_GREP=$GREP
6959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6960 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6961 GREP="$ac_cv_path_GREP"
6964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6965 printf %s "checking for egrep... " >&6; }
6966 if test ${ac_cv_path_EGREP+y}
6967 then :
6968 printf %s "(cached) " >&6
6969 else $as_nop
6970 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6971 then ac_cv_path_EGREP="$GREP -E"
6972 else
6973 if test -z "$EGREP"; then
6974 ac_path_EGREP_found=false
6975 # Loop through the user's path and test for each of PROGNAME-LIST
6976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6977 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6979 IFS=$as_save_IFS
6980 case $as_dir in #(((
6981 '') as_dir=./ ;;
6982 */) ;;
6983 *) as_dir=$as_dir/ ;;
6984 esac
6985 for ac_prog in egrep
6987 for ac_exec_ext in '' $ac_executable_extensions; do
6988 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6989 as_fn_executable_p "$ac_path_EGREP" || continue
6990 # Check for GNU ac_path_EGREP and select it if it is found.
6991 # Check for GNU $ac_path_EGREP
6992 case `"$ac_path_EGREP" --version 2>&1` in
6993 *GNU*)
6994 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6996 ac_count=0
6997 printf %s 0123456789 >"conftest.in"
6998 while :
7000 cat "conftest.in" "conftest.in" >"conftest.tmp"
7001 mv "conftest.tmp" "conftest.in"
7002 cp "conftest.in" "conftest.nl"
7003 printf "%s\n" 'EGREP' >> "conftest.nl"
7004 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7005 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7006 as_fn_arith $ac_count + 1 && ac_count=$as_val
7007 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7008 # Best one so far, save it but keep looking for a better one
7009 ac_cv_path_EGREP="$ac_path_EGREP"
7010 ac_path_EGREP_max=$ac_count
7012 # 10*(2^10) chars as input seems more than enough
7013 test $ac_count -gt 10 && break
7014 done
7015 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7016 esac
7018 $ac_path_EGREP_found && break 3
7019 done
7020 done
7021 done
7022 IFS=$as_save_IFS
7023 if test -z "$ac_cv_path_EGREP"; then
7024 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7026 else
7027 ac_cv_path_EGREP=$EGREP
7032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7033 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7034 EGREP="$ac_cv_path_EGREP"
7037 # Extract the first word of "ldconfig", so it can be a program name with args.
7038 set dummy ldconfig; ac_word=$2
7039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7040 printf %s "checking for $ac_word... " >&6; }
7041 if test ${ac_cv_path_LDCONFIG+y}
7042 then :
7043 printf %s "(cached) " >&6
7044 else $as_nop
7045 case $LDCONFIG in
7046 [\\/]* | ?:[\\/]*)
7047 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7051 for as_dir in /sbin /usr/sbin $PATH
7053 IFS=$as_save_IFS
7054 case $as_dir in #(((
7055 '') as_dir=./ ;;
7056 */) ;;
7057 *) as_dir=$as_dir/ ;;
7058 esac
7059 for ac_exec_ext in '' $ac_executable_extensions; do
7060 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7061 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7063 break 2
7065 done
7066 done
7067 IFS=$as_save_IFS
7069 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7071 esac
7073 LDCONFIG=$ac_cv_path_LDCONFIG
7074 if test -n "$LDCONFIG"; then
7075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7076 printf "%s\n" "$LDCONFIG" >&6; }
7077 else
7078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7079 printf "%s\n" "no" >&6; }
7083 for ac_prog in msgfmt
7085 # Extract the first word of "$ac_prog", so it can be a program name with args.
7086 set dummy $ac_prog; ac_word=$2
7087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 printf %s "checking for $ac_word... " >&6; }
7089 if test ${ac_cv_prog_MSGFMT+y}
7090 then :
7091 printf %s "(cached) " >&6
7092 else $as_nop
7093 if test -n "$MSGFMT"; then
7094 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7095 else
7096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7097 for as_dir in $PATH
7099 IFS=$as_save_IFS
7100 case $as_dir in #(((
7101 '') as_dir=./ ;;
7102 */) ;;
7103 *) as_dir=$as_dir/ ;;
7104 esac
7105 for ac_exec_ext in '' $ac_executable_extensions; do
7106 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7107 ac_cv_prog_MSGFMT="$ac_prog"
7108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7109 break 2
7111 done
7112 done
7113 IFS=$as_save_IFS
7117 MSGFMT=$ac_cv_prog_MSGFMT
7118 if test -n "$MSGFMT"; then
7119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7120 printf "%s\n" "$MSGFMT" >&6; }
7121 else
7122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7123 printf "%s\n" "no" >&6; }
7127 test -n "$MSGFMT" && break
7128 done
7129 test -n "$MSGFMT" || MSGFMT="false"
7131 if test ${ac_tool_prefix+y}
7132 then :
7133 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7134 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 printf %s "checking for $ac_word... " >&6; }
7137 if test ${ac_cv_prog_PKG_CONFIG+y}
7138 then :
7139 printf %s "(cached) " >&6
7140 else $as_nop
7141 if test -n "$PKG_CONFIG"; then
7142 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7143 else
7144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7145 for as_dir in $PATH
7147 IFS=$as_save_IFS
7148 case $as_dir in #(((
7149 '') as_dir=./ ;;
7150 */) ;;
7151 *) as_dir=$as_dir/ ;;
7152 esac
7153 for ac_exec_ext in '' $ac_executable_extensions; do
7154 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7155 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7157 break 2
7159 done
7160 done
7161 IFS=$as_save_IFS
7165 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7166 if test -n "$PKG_CONFIG"; then
7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7168 printf "%s\n" "$PKG_CONFIG" >&6; }
7169 else
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 printf "%s\n" "no" >&6; }
7176 if ${ac_cv_prog_PKG_CONFIG:+false} :
7177 then :
7178 if test "x$cross_compiling" = xyes
7179 then :
7181 else $as_nop
7182 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7183 # Extract the first word of "pkg-config", so it can be a program name with args.
7184 set dummy pkg-config; ac_word=$2
7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 printf %s "checking for $ac_word... " >&6; }
7187 if test ${ac_cv_prog_PKG_CONFIG+y}
7188 then :
7189 printf %s "(cached) " >&6
7190 else $as_nop
7191 if test -n "$PKG_CONFIG"; then
7192 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7193 else
7194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 for as_dir in $PATH
7197 IFS=$as_save_IFS
7198 case $as_dir in #(((
7199 '') as_dir=./ ;;
7200 */) ;;
7201 *) as_dir=$as_dir/ ;;
7202 esac
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7205 ac_cv_prog_PKG_CONFIG="pkg-config"
7206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7207 break 2
7209 done
7210 done
7211 IFS=$as_save_IFS
7215 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7216 if test -n "$PKG_CONFIG"; then
7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7218 printf "%s\n" "$PKG_CONFIG" >&6; }
7219 else
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 printf "%s\n" "no" >&6; }
7226 else $as_nop
7227 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7230 if test "x$enable_maintainer_mode" != "xyes"
7231 then
7232 FONTFORGE=""
7233 RSVG=""
7234 CONVERT=""
7235 ICOTOOL=""
7236 else
7237 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7238 for ac_prog in fontforge
7240 # Extract the first word of "$ac_prog", so it can be a program name with args.
7241 set dummy $ac_prog; ac_word=$2
7242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 printf %s "checking for $ac_word... " >&6; }
7244 if test ${ac_cv_prog_FONTFORGE+y}
7245 then :
7246 printf %s "(cached) " >&6
7247 else $as_nop
7248 if test -n "$FONTFORGE"; then
7249 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7250 else
7251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7252 for as_dir in $PATH
7254 IFS=$as_save_IFS
7255 case $as_dir in #(((
7256 '') as_dir=./ ;;
7257 */) ;;
7258 *) as_dir=$as_dir/ ;;
7259 esac
7260 for ac_exec_ext in '' $ac_executable_extensions; do
7261 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7262 ac_cv_prog_FONTFORGE="$ac_prog"
7263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7264 break 2
7266 done
7267 done
7268 IFS=$as_save_IFS
7272 FONTFORGE=$ac_cv_prog_FONTFORGE
7273 if test -n "$FONTFORGE"; then
7274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7275 printf "%s\n" "$FONTFORGE" >&6; }
7276 else
7277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7278 printf "%s\n" "no" >&6; }
7282 test -n "$FONTFORGE" && break
7283 done
7284 test -n "$FONTFORGE" || FONTFORGE="false"
7286 for ac_prog in rsvg-convert rsvg
7288 # Extract the first word of "$ac_prog", so it can be a program name with args.
7289 set dummy $ac_prog; ac_word=$2
7290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 printf %s "checking for $ac_word... " >&6; }
7292 if test ${ac_cv_prog_RSVG+y}
7293 then :
7294 printf %s "(cached) " >&6
7295 else $as_nop
7296 if test -n "$RSVG"; then
7297 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7298 else
7299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7300 for as_dir in $PATH
7302 IFS=$as_save_IFS
7303 case $as_dir in #(((
7304 '') as_dir=./ ;;
7305 */) ;;
7306 *) as_dir=$as_dir/ ;;
7307 esac
7308 for ac_exec_ext in '' $ac_executable_extensions; do
7309 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7310 ac_cv_prog_RSVG="$ac_prog"
7311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7312 break 2
7314 done
7315 done
7316 IFS=$as_save_IFS
7320 RSVG=$ac_cv_prog_RSVG
7321 if test -n "$RSVG"; then
7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7323 printf "%s\n" "$RSVG" >&6; }
7324 else
7325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 printf "%s\n" "no" >&6; }
7330 test -n "$RSVG" && break
7331 done
7332 test -n "$RSVG" || RSVG="false"
7334 for ac_prog in convert
7336 # Extract the first word of "$ac_prog", so it can be a program name with args.
7337 set dummy $ac_prog; ac_word=$2
7338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 printf %s "checking for $ac_word... " >&6; }
7340 if test ${ac_cv_prog_CONVERT+y}
7341 then :
7342 printf %s "(cached) " >&6
7343 else $as_nop
7344 if test -n "$CONVERT"; then
7345 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7346 else
7347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 for as_dir in $PATH
7350 IFS=$as_save_IFS
7351 case $as_dir in #(((
7352 '') as_dir=./ ;;
7353 */) ;;
7354 *) as_dir=$as_dir/ ;;
7355 esac
7356 for ac_exec_ext in '' $ac_executable_extensions; do
7357 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7358 ac_cv_prog_CONVERT="$ac_prog"
7359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7360 break 2
7362 done
7363 done
7364 IFS=$as_save_IFS
7368 CONVERT=$ac_cv_prog_CONVERT
7369 if test -n "$CONVERT"; then
7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7371 printf "%s\n" "$CONVERT" >&6; }
7372 else
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 printf "%s\n" "no" >&6; }
7378 test -n "$CONVERT" && break
7379 done
7380 test -n "$CONVERT" || CONVERT="false"
7382 for ac_prog in icotool
7384 # Extract the first word of "$ac_prog", so it can be a program name with args.
7385 set dummy $ac_prog; ac_word=$2
7386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7387 printf %s "checking for $ac_word... " >&6; }
7388 if test ${ac_cv_prog_ICOTOOL+y}
7389 then :
7390 printf %s "(cached) " >&6
7391 else $as_nop
7392 if test -n "$ICOTOOL"; then
7393 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7394 else
7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7396 for as_dir in $PATH
7398 IFS=$as_save_IFS
7399 case $as_dir in #(((
7400 '') as_dir=./ ;;
7401 */) ;;
7402 *) as_dir=$as_dir/ ;;
7403 esac
7404 for ac_exec_ext in '' $ac_executable_extensions; do
7405 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7406 ac_cv_prog_ICOTOOL="$ac_prog"
7407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7408 break 2
7410 done
7411 done
7412 IFS=$as_save_IFS
7416 ICOTOOL=$ac_cv_prog_ICOTOOL
7417 if test -n "$ICOTOOL"; then
7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7419 printf "%s\n" "$ICOTOOL" >&6; }
7420 else
7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 printf "%s\n" "no" >&6; }
7426 test -n "$ICOTOOL" && break
7427 done
7428 test -n "$ICOTOOL" || ICOTOOL="false"
7430 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7431 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7433 if test "$CONVERT" = false
7434 then
7435 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7436 else
7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7438 printf %s "checking for recent enough imagemagick... " >&6; }
7439 convert_version=`convert --version | head -n1`
7440 if test "x$convert_version" != "x"
7441 then
7442 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7443 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7444 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7445 then
7446 CONVERT=false
7449 if test "$CONVERT" = false
7450 then
7451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7452 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7453 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7454 else
7455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7456 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7460 if test "$ICOTOOL" = false
7461 then
7462 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7463 else
7464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7465 printf %s "checking for recent enough icotool... " >&6; }
7466 icotool_version=`icotool --version | head -n1`
7467 if test "x$icotool_version" != "x"
7468 then
7469 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7470 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7471 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7472 then
7473 ICOTOOL=false
7474 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7477 if test "$ICOTOOL" = false
7478 then
7479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7480 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7481 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7482 else
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7484 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7488 with_gettext=yes
7489 with_gettextpo=yes
7491 enable_werror=yes
7494 test "x$with_gettext" != xno || MSGFMT=false
7495 if test "$MSGFMT" != "false"
7496 then
7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7498 printf %s "checking whether msgfmt supports contexts... " >&6; }
7499 if test ${wine_cv_msgfmt_contexts+y}
7500 then :
7501 printf %s "(cached) " >&6
7502 else $as_nop
7503 cat >conftest.po <<EOF
7504 # comment
7505 msgctxt "ctxt"
7506 msgid "id"
7507 msgstr "str"
7509 if $MSGFMT -o /dev/null conftest.po 2>&5
7510 then
7511 wine_cv_msgfmt_contexts=yes
7512 else
7513 wine_cv_msgfmt_contexts=no
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7517 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7518 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7520 if test "$MSGFMT" = false
7521 then :
7522 case "x$with_gettext" in
7523 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7524 xno) ;;
7525 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7526 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7527 esac
7528 enable_po=${enable_po:-no}
7532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7533 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7534 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7535 then :
7536 printf %s "(cached) " >&6
7537 else $as_nop
7538 ac_check_lib_save_LIBS=$LIBS
7539 LIBS="-li386 $LIBS"
7540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7541 /* end confdefs.h. */
7543 /* Override any GCC internal prototype to avoid an error.
7544 Use char because int might match the return type of a GCC
7545 builtin and then its argument prototype would still apply. */
7546 char i386_set_ldt ();
7548 main (void)
7550 return i386_set_ldt ();
7552 return 0;
7554 _ACEOF
7555 if ac_fn_c_try_link "$LINENO"
7556 then :
7557 ac_cv_lib_i386_i386_set_ldt=yes
7558 else $as_nop
7559 ac_cv_lib_i386_i386_set_ldt=no
7561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7562 conftest$ac_exeext conftest.$ac_ext
7563 LIBS=$ac_check_lib_save_LIBS
7565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7566 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7567 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7568 then :
7569 I386_LIBS="-li386"
7574 OPENGL_LIBS=""
7578 # Check whether --enable-largefile was given.
7579 if test ${enable_largefile+y}
7580 then :
7581 enableval=$enable_largefile;
7584 if test "$enable_largefile" != no; then
7586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7587 printf %s "checking for special C compiler options needed for large files... " >&6; }
7588 if test ${ac_cv_sys_largefile_CC+y}
7589 then :
7590 printf %s "(cached) " >&6
7591 else $as_nop
7592 ac_cv_sys_largefile_CC=no
7593 if test "$GCC" != yes; then
7594 ac_save_CC=$CC
7595 while :; do
7596 # IRIX 6.2 and later do not support large files by default,
7597 # so use the C compiler's -n32 option if that helps.
7598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7599 /* end confdefs.h. */
7600 #include <sys/types.h>
7601 /* Check that off_t can represent 2**63 - 1 correctly.
7602 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7603 since some C++ compilers masquerading as C compilers
7604 incorrectly reject 9223372036854775807. */
7605 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7606 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7607 && LARGE_OFF_T % 2147483647 == 1)
7608 ? 1 : -1];
7610 main (void)
7614 return 0;
7616 _ACEOF
7617 if ac_fn_c_try_compile "$LINENO"
7618 then :
7619 break
7621 rm -f core conftest.err conftest.$ac_objext conftest.beam
7622 CC="$CC -n32"
7623 if ac_fn_c_try_compile "$LINENO"
7624 then :
7625 ac_cv_sys_largefile_CC=' -n32'; break
7627 rm -f core conftest.err conftest.$ac_objext conftest.beam
7628 break
7629 done
7630 CC=$ac_save_CC
7631 rm -f conftest.$ac_ext
7634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7635 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7636 if test "$ac_cv_sys_largefile_CC" != no; then
7637 CC=$CC$ac_cv_sys_largefile_CC
7640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7641 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7642 if test ${ac_cv_sys_file_offset_bits+y}
7643 then :
7644 printf %s "(cached) " >&6
7645 else $as_nop
7646 while :; do
7647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7648 /* end confdefs.h. */
7649 #include <sys/types.h>
7650 /* Check that off_t can represent 2**63 - 1 correctly.
7651 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7652 since some C++ compilers masquerading as C compilers
7653 incorrectly reject 9223372036854775807. */
7654 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7655 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7656 && LARGE_OFF_T % 2147483647 == 1)
7657 ? 1 : -1];
7659 main (void)
7663 return 0;
7665 _ACEOF
7666 if ac_fn_c_try_compile "$LINENO"
7667 then :
7668 ac_cv_sys_file_offset_bits=no; break
7670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h. */
7673 #define _FILE_OFFSET_BITS 64
7674 #include <sys/types.h>
7675 /* Check that off_t can represent 2**63 - 1 correctly.
7676 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7677 since some C++ compilers masquerading as C compilers
7678 incorrectly reject 9223372036854775807. */
7679 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7680 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7681 && LARGE_OFF_T % 2147483647 == 1)
7682 ? 1 : -1];
7684 main (void)
7688 return 0;
7690 _ACEOF
7691 if ac_fn_c_try_compile "$LINENO"
7692 then :
7693 ac_cv_sys_file_offset_bits=64; break
7695 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7696 ac_cv_sys_file_offset_bits=unknown
7697 break
7698 done
7700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7701 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7702 case $ac_cv_sys_file_offset_bits in #(
7703 no | unknown) ;;
7705 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7707 esac
7708 rm -rf conftest*
7709 if test $ac_cv_sys_file_offset_bits = unknown; then
7710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7711 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7712 if test ${ac_cv_sys_large_files+y}
7713 then :
7714 printf %s "(cached) " >&6
7715 else $as_nop
7716 while :; do
7717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7719 #include <sys/types.h>
7720 /* Check that off_t can represent 2**63 - 1 correctly.
7721 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7722 since some C++ compilers masquerading as C compilers
7723 incorrectly reject 9223372036854775807. */
7724 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7725 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7726 && LARGE_OFF_T % 2147483647 == 1)
7727 ? 1 : -1];
7729 main (void)
7733 return 0;
7735 _ACEOF
7736 if ac_fn_c_try_compile "$LINENO"
7737 then :
7738 ac_cv_sys_large_files=no; break
7740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7742 /* end confdefs.h. */
7743 #define _LARGE_FILES 1
7744 #include <sys/types.h>
7745 /* Check that off_t can represent 2**63 - 1 correctly.
7746 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7747 since some C++ compilers masquerading as C compilers
7748 incorrectly reject 9223372036854775807. */
7749 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7750 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7751 && LARGE_OFF_T % 2147483647 == 1)
7752 ? 1 : -1];
7754 main (void)
7758 return 0;
7760 _ACEOF
7761 if ac_fn_c_try_compile "$LINENO"
7762 then :
7763 ac_cv_sys_large_files=1; break
7765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7766 ac_cv_sys_large_files=unknown
7767 break
7768 done
7770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7771 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7772 case $ac_cv_sys_large_files in #(
7773 no | unknown) ;;
7775 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7777 esac
7778 rm -rf conftest*
7783 ac_header= ac_cache=
7784 for ac_item in $ac_header_c_list
7786 if test $ac_cache; then
7787 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7788 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7789 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7791 ac_header= ac_cache=
7792 elif test $ac_header; then
7793 ac_cache=$ac_item
7794 else
7795 ac_header=$ac_item
7797 done
7806 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7807 then :
7809 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7812 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7813 if test "x$ac_cv_header_AL_al_h" = xyes
7814 then :
7815 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7818 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7819 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7820 then :
7821 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7824 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7825 if test "x$ac_cv_header_CL_cl_h" = xyes
7826 then :
7827 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7830 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7831 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7832 then :
7833 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7836 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7837 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7838 then :
7839 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7842 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7843 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7844 then :
7845 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7848 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7849 if test "x$ac_cv_header_EGL_egl_h" = xyes
7850 then :
7851 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7854 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7855 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7856 then :
7857 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7860 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7861 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7862 then :
7863 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7866 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7867 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7868 then :
7869 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7872 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7873 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7874 then :
7875 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7878 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7879 if test "x$ac_cv_header_Security_Security_h" = xyes
7880 then :
7881 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7884 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7885 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7886 then :
7887 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7890 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7891 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7892 then :
7893 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7896 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7897 if test "x$ac_cv_header_arpa_inet_h" = xyes
7898 then :
7899 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7902 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7903 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7904 then :
7905 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7908 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7909 if test "x$ac_cv_header_asm_types_h" = xyes
7910 then :
7911 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7914 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7915 if test "x$ac_cv_header_asm_user_h" = xyes
7916 then :
7917 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7920 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7921 if test "x$ac_cv_header_elf_h" = xyes
7922 then :
7923 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7926 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7927 if test "x$ac_cv_header_float_h" = xyes
7928 then :
7929 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7932 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7933 if test "x$ac_cv_header_gettext_po_h" = xyes
7934 then :
7935 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7938 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7939 if test "x$ac_cv_header_libproc_h" = xyes
7940 then :
7941 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7944 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7945 if test "x$ac_cv_header_link_h" = xyes
7946 then :
7947 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7950 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7951 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7952 then :
7953 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7956 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7957 if test "x$ac_cv_header_linux_filter_h" = xyes
7958 then :
7959 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7962 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7963 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7964 then :
7965 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7968 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7969 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7970 then :
7971 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7974 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7975 if test "x$ac_cv_header_linux_input_h" = xyes
7976 then :
7977 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7980 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7981 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7982 then :
7983 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7986 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_linux_major_h" = xyes
7988 then :
7989 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7992 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7993 if test "x$ac_cv_header_linux_param_h" = xyes
7994 then :
7995 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7998 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7999 if test "x$ac_cv_header_linux_serial_h" = xyes
8000 then :
8001 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8004 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8005 if test "x$ac_cv_header_linux_types_h" = xyes
8006 then :
8007 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8010 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8011 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8012 then :
8013 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8016 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8017 if test "x$ac_cv_header_lwp_h" = xyes
8018 then :
8019 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8022 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8023 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8024 then :
8025 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8028 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8029 if test "x$ac_cv_header_mach_mach_h" = xyes
8030 then :
8031 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8034 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8035 if test "x$ac_cv_header_machine_cpu_h" = xyes
8036 then :
8037 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8040 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8041 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8042 then :
8043 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8046 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8047 if test "x$ac_cv_header_mntent_h" = xyes
8048 then :
8049 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8052 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8053 if test "x$ac_cv_header_netdb_h" = xyes
8054 then :
8055 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8058 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8059 if test "x$ac_cv_header_netinet_in_h" = xyes
8060 then :
8061 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8064 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8065 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8066 then :
8067 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8070 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8071 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8072 then :
8073 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8076 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8077 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8078 then :
8079 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8082 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8083 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8084 then :
8085 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8088 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8089 if test "x$ac_cv_header_port_h" = xyes
8090 then :
8091 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8094 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8095 if test "x$ac_cv_header_pthread_h" = xyes
8096 then :
8097 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8100 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8101 if test "x$ac_cv_header_pwd_h" = xyes
8102 then :
8103 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8106 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8107 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8108 then :
8109 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8112 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8113 if test "x$ac_cv_header_sched_h" = xyes
8114 then :
8115 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8118 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8119 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8120 then :
8121 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8124 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8125 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8126 then :
8127 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8130 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8131 if test "x$ac_cv_header_scsi_sg_h" = xyes
8132 then :
8133 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8136 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8137 if test "x$ac_cv_header_stdint_h" = xyes
8138 then :
8139 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8142 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8143 if test "x$ac_cv_header_sys_attr_h" = xyes
8144 then :
8145 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8148 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8149 if test "x$ac_cv_header_sys_auxv_h" = xyes
8150 then :
8151 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8154 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8155 if test "x$ac_cv_header_sys_cdio_h" = xyes
8156 then :
8157 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8160 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_sys_epoll_h" = xyes
8162 then :
8163 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8166 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_sys_event_h" = xyes
8168 then :
8169 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8172 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8173 if test "x$ac_cv_header_sys_filio_h" = xyes
8174 then :
8175 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8178 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_sys_ipc_h" = xyes
8180 then :
8181 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8184 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8185 if test "x$ac_cv_header_sys_link_h" = xyes
8186 then :
8187 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8190 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_sys_modem_h" = xyes
8192 then :
8193 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8196 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8197 if test "x$ac_cv_header_sys_mtio_h" = xyes
8198 then :
8199 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8202 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8203 if test "x$ac_cv_header_sys_param_h" = xyes
8204 then :
8205 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8208 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8209 if test "x$ac_cv_header_sys_prctl_h" = xyes
8210 then :
8211 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8214 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8216 then :
8217 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8220 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8221 if test "x$ac_cv_header_sys_queue_h" = xyes
8222 then :
8223 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8226 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_sys_random_h" = xyes
8228 then :
8229 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8232 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8233 if test "x$ac_cv_header_sys_resource_h" = xyes
8234 then :
8235 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8238 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8239 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8240 then :
8241 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8244 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8245 if test "x$ac_cv_header_sys_shm_h" = xyes
8246 then :
8247 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8250 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8251 if test "x$ac_cv_header_sys_signal_h" = xyes
8252 then :
8253 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8256 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8258 then :
8259 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8262 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_sys_sockio_h" = xyes
8264 then :
8265 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8268 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8269 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8270 then :
8271 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8274 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8275 if test "x$ac_cv_header_sys_strtio_h" = xyes
8276 then :
8277 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8280 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8281 if test "x$ac_cv_header_sys_syscall_h" = xyes
8282 then :
8283 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8286 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8287 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8288 then :
8289 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8292 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8293 if test "x$ac_cv_header_sys_times_h" = xyes
8294 then :
8295 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8298 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8299 if test "x$ac_cv_header_sys_uio_h" = xyes
8300 then :
8301 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8304 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8305 if test "x$ac_cv_header_sys_user_h" = xyes
8306 then :
8307 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8310 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_sys_utsname_h" = xyes
8312 then :
8313 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8316 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8317 if test "x$ac_cv_header_sys_vnode_h" = xyes
8318 then :
8319 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8322 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8323 if test "x$ac_cv_header_syscall_h" = xyes
8324 then :
8325 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8328 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8329 if test "x$ac_cv_header_utime_h" = xyes
8330 then :
8331 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8334 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8335 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8336 then :
8337 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8340 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8341 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8342 then :
8343 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8347 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8348 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8349 then :
8351 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8355 if test $ac_cv_header_sys_mkdev_h = no; then
8356 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8357 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8358 then :
8360 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8366 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8367 if test ${ac_cv_header_stat_broken+y}
8368 then :
8369 printf %s "(cached) " >&6
8370 else $as_nop
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8373 #include <sys/types.h>
8374 #include <sys/stat.h>
8376 #if defined S_ISBLK && defined S_IFDIR
8377 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8378 #endif
8380 #if defined S_ISBLK && defined S_IFCHR
8381 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8382 #endif
8384 #if defined S_ISLNK && defined S_IFREG
8385 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8386 #endif
8388 #if defined S_ISSOCK && defined S_IFREG
8389 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8390 #endif
8392 _ACEOF
8393 if ac_fn_c_try_compile "$LINENO"
8394 then :
8395 ac_cv_header_stat_broken=no
8396 else $as_nop
8397 ac_cv_header_stat_broken=yes
8399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8402 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8403 if test $ac_cv_header_stat_broken = yes; then
8405 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8411 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8412 #ifdef HAVE_SYS_PARAM_H
8413 # include <sys/param.h>
8414 #endif
8416 if test "x$ac_cv_header_sys_conf_h" = xyes
8417 then :
8418 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8421 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8422 #ifdef HAVE_SYS_PARAM_H
8423 # include <sys/param.h>
8424 #endif
8426 if test "x$ac_cv_header_sys_mount_h" = xyes
8427 then :
8428 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8431 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8432 #ifdef HAVE_SYS_PARAM_H
8433 # include <sys/param.h>
8434 #endif
8436 if test "x$ac_cv_header_sys_statfs_h" = xyes
8437 then :
8438 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8441 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8442 #ifdef HAVE_SYS_PARAM_H
8443 # include <sys/param.h>
8444 #endif
8446 if test "x$ac_cv_header_sys_user_h" = xyes
8447 then :
8448 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8451 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8452 #ifdef HAVE_SYS_PARAM_H
8453 # include <sys/param.h>
8454 #endif
8456 if test "x$ac_cv_header_sys_vfs_h" = xyes
8457 then :
8458 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8463 saved_sysctl_h_CFLAGS=$CFLAGS
8464 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8465 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8466 #ifdef HAVE_SYS_PARAM_H
8467 # include <sys/param.h>
8468 #endif
8470 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8471 then :
8472 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8476 CFLAGS=$saved_sysctl_h_CFLAGS
8478 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8479 #include <sys/socket.h>
8480 #ifdef HAVE_SYS_SOCKETVAR_H
8481 # include <sys/socketvar.h>
8482 #endif
8483 #ifdef HAVE_NET_ROUTE_H
8484 # include <net/route.h>
8485 #endif
8486 #ifdef HAVE_NETINET_IN_H
8487 # include <netinet/in.h>
8488 #endif
8489 #ifdef HAVE_NETINET_IN_SYSTM_H
8490 # include <netinet/in_systm.h>
8491 #endif
8492 #ifdef HAVE_NET_IF_H
8493 # include <net/if.h>
8494 #endif
8495 #ifdef HAVE_NETINET_IP_H
8496 # include <netinet/ip.h>
8497 #endif
8499 if test "x$ac_cv_header_netinet_ip_h" = xyes
8500 then :
8501 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8504 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8505 #include <sys/socket.h>
8506 #ifdef HAVE_SYS_SOCKETVAR_H
8507 # include <sys/socketvar.h>
8508 #endif
8509 #ifdef HAVE_NET_ROUTE_H
8510 # include <net/route.h>
8511 #endif
8512 #ifdef HAVE_NETINET_IN_H
8513 # include <netinet/in.h>
8514 #endif
8515 #ifdef HAVE_NETINET_IN_SYSTM_H
8516 # include <netinet/in_systm.h>
8517 #endif
8518 #ifdef HAVE_NET_IF_H
8519 # include <net/if.h>
8520 #endif
8521 #ifdef HAVE_NETINET_IP_H
8522 # include <netinet/ip.h>
8523 #endif
8525 if test "x$ac_cv_header_net_if_h" = xyes
8526 then :
8527 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8530 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8531 #include <sys/socket.h>
8532 #ifdef HAVE_SYS_SOCKETVAR_H
8533 # include <sys/socketvar.h>
8534 #endif
8535 #ifdef HAVE_NET_ROUTE_H
8536 # include <net/route.h>
8537 #endif
8538 #ifdef HAVE_NETINET_IN_H
8539 # include <netinet/in.h>
8540 #endif
8541 #ifdef HAVE_NETINET_IN_SYSTM_H
8542 # include <netinet/in_systm.h>
8543 #endif
8544 #ifdef HAVE_NET_IF_H
8545 # include <net/if.h>
8546 #endif
8547 #ifdef HAVE_NETINET_IP_H
8548 # include <netinet/ip.h>
8549 #endif
8551 if test "x$ac_cv_header_net_if_arp_h" = xyes
8552 then :
8553 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8556 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8557 #include <sys/socket.h>
8558 #ifdef HAVE_SYS_SOCKETVAR_H
8559 # include <sys/socketvar.h>
8560 #endif
8561 #ifdef HAVE_NET_ROUTE_H
8562 # include <net/route.h>
8563 #endif
8564 #ifdef HAVE_NETINET_IN_H
8565 # include <netinet/in.h>
8566 #endif
8567 #ifdef HAVE_NETINET_IN_SYSTM_H
8568 # include <netinet/in_systm.h>
8569 #endif
8570 #ifdef HAVE_NET_IF_H
8571 # include <net/if.h>
8572 #endif
8573 #ifdef HAVE_NETINET_IP_H
8574 # include <netinet/ip.h>
8575 #endif
8577 if test "x$ac_cv_header_net_if_dl_h" = xyes
8578 then :
8579 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8582 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8583 #include <sys/socket.h>
8584 #ifdef HAVE_SYS_SOCKETVAR_H
8585 # include <sys/socketvar.h>
8586 #endif
8587 #ifdef HAVE_NET_ROUTE_H
8588 # include <net/route.h>
8589 #endif
8590 #ifdef HAVE_NETINET_IN_H
8591 # include <netinet/in.h>
8592 #endif
8593 #ifdef HAVE_NETINET_IN_SYSTM_H
8594 # include <netinet/in_systm.h>
8595 #endif
8596 #ifdef HAVE_NET_IF_H
8597 # include <net/if.h>
8598 #endif
8599 #ifdef HAVE_NETINET_IP_H
8600 # include <netinet/ip.h>
8601 #endif
8603 if test "x$ac_cv_header_net_if_types_h" = xyes
8604 then :
8605 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8608 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8609 #include <sys/socket.h>
8610 #ifdef HAVE_SYS_SOCKETVAR_H
8611 # include <sys/socketvar.h>
8612 #endif
8613 #ifdef HAVE_NET_ROUTE_H
8614 # include <net/route.h>
8615 #endif
8616 #ifdef HAVE_NETINET_IN_H
8617 # include <netinet/in.h>
8618 #endif
8619 #ifdef HAVE_NETINET_IN_SYSTM_H
8620 # include <netinet/in_systm.h>
8621 #endif
8622 #ifdef HAVE_NET_IF_H
8623 # include <net/if.h>
8624 #endif
8625 #ifdef HAVE_NETINET_IP_H
8626 # include <netinet/ip.h>
8627 #endif
8629 if test "x$ac_cv_header_net_route_h" = xyes
8630 then :
8631 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8634 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8635 #include <sys/socket.h>
8636 #ifdef HAVE_SYS_SOCKETVAR_H
8637 # include <sys/socketvar.h>
8638 #endif
8639 #ifdef HAVE_NET_ROUTE_H
8640 # include <net/route.h>
8641 #endif
8642 #ifdef HAVE_NETINET_IN_H
8643 # include <netinet/in.h>
8644 #endif
8645 #ifdef HAVE_NETINET_IN_SYSTM_H
8646 # include <netinet/in_systm.h>
8647 #endif
8648 #ifdef HAVE_NET_IF_H
8649 # include <net/if.h>
8650 #endif
8651 #ifdef HAVE_NETINET_IP_H
8652 # include <netinet/ip.h>
8653 #endif
8655 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8656 then :
8657 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8660 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8661 #include <sys/socket.h>
8662 #ifdef HAVE_SYS_SOCKETVAR_H
8663 # include <sys/socketvar.h>
8664 #endif
8665 #ifdef HAVE_NET_ROUTE_H
8666 # include <net/route.h>
8667 #endif
8668 #ifdef HAVE_NETINET_IN_H
8669 # include <netinet/in.h>
8670 #endif
8671 #ifdef HAVE_NETINET_IN_SYSTM_H
8672 # include <netinet/in_systm.h>
8673 #endif
8674 #ifdef HAVE_NET_IF_H
8675 # include <net/if.h>
8676 #endif
8677 #ifdef HAVE_NETINET_IP_H
8678 # include <netinet/ip.h>
8679 #endif
8681 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8682 then :
8683 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8686 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8687 #include <sys/socket.h>
8688 #ifdef HAVE_SYS_SOCKETVAR_H
8689 # include <sys/socketvar.h>
8690 #endif
8691 #ifdef HAVE_NET_ROUTE_H
8692 # include <net/route.h>
8693 #endif
8694 #ifdef HAVE_NETINET_IN_H
8695 # include <netinet/in.h>
8696 #endif
8697 #ifdef HAVE_NETINET_IN_SYSTM_H
8698 # include <netinet/in_systm.h>
8699 #endif
8700 #ifdef HAVE_NET_IF_H
8701 # include <net/if.h>
8702 #endif
8703 #ifdef HAVE_NETINET_IP_H
8704 # include <netinet/ip.h>
8705 #endif
8707 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8708 then :
8709 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8712 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8713 #include <sys/socket.h>
8714 #ifdef HAVE_SYS_SOCKETVAR_H
8715 # include <sys/socketvar.h>
8716 #endif
8717 #ifdef HAVE_NET_ROUTE_H
8718 # include <net/route.h>
8719 #endif
8720 #ifdef HAVE_NETINET_IN_H
8721 # include <netinet/in.h>
8722 #endif
8723 #ifdef HAVE_NETINET_IN_SYSTM_H
8724 # include <netinet/in_systm.h>
8725 #endif
8726 #ifdef HAVE_NET_IF_H
8727 # include <net/if.h>
8728 #endif
8729 #ifdef HAVE_NETINET_IP_H
8730 # include <netinet/ip.h>
8731 #endif
8733 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8734 then :
8735 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8738 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8739 #include <sys/socket.h>
8740 #ifdef HAVE_SYS_SOCKETVAR_H
8741 # include <sys/socketvar.h>
8742 #endif
8743 #ifdef HAVE_NET_ROUTE_H
8744 # include <net/route.h>
8745 #endif
8746 #ifdef HAVE_NETINET_IN_H
8747 # include <netinet/in.h>
8748 #endif
8749 #ifdef HAVE_NETINET_IN_SYSTM_H
8750 # include <netinet/in_systm.h>
8751 #endif
8752 #ifdef HAVE_NET_IF_H
8753 # include <net/if.h>
8754 #endif
8755 #ifdef HAVE_NETINET_IP_H
8756 # include <netinet/ip.h>
8757 #endif
8759 if test "x$ac_cv_header_netinet_udp_h" = xyes
8760 then :
8761 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8764 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8765 #include <sys/socket.h>
8766 #ifdef HAVE_SYS_SOCKETVAR_H
8767 # include <sys/socketvar.h>
8768 #endif
8769 #ifdef HAVE_NET_ROUTE_H
8770 # include <net/route.h>
8771 #endif
8772 #ifdef HAVE_NETINET_IN_H
8773 # include <netinet/in.h>
8774 #endif
8775 #ifdef HAVE_NETINET_IN_SYSTM_H
8776 # include <netinet/in_systm.h>
8777 #endif
8778 #ifdef HAVE_NET_IF_H
8779 # include <net/if.h>
8780 #endif
8781 #ifdef HAVE_NETINET_IP_H
8782 # include <netinet/ip.h>
8783 #endif
8785 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8786 then :
8787 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8790 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8791 #include <sys/socket.h>
8792 #ifdef HAVE_SYS_SOCKETVAR_H
8793 # include <sys/socketvar.h>
8794 #endif
8795 #ifdef HAVE_NET_ROUTE_H
8796 # include <net/route.h>
8797 #endif
8798 #ifdef HAVE_NETINET_IN_H
8799 # include <netinet/in.h>
8800 #endif
8801 #ifdef HAVE_NETINET_IN_SYSTM_H
8802 # include <netinet/in_systm.h>
8803 #endif
8804 #ifdef HAVE_NET_IF_H
8805 # include <net/if.h>
8806 #endif
8807 #ifdef HAVE_NETINET_IP_H
8808 # include <netinet/ip.h>
8809 #endif
8811 if test "x$ac_cv_header_sys_un_h" = xyes
8812 then :
8813 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8818 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8819 #include <sys/socket.h>
8820 #ifdef HAVE_SYS_SOCKETVAR_H
8821 # include <sys/socketvar.h>
8822 #endif
8823 #ifdef HAVE_NETINET_IN_H
8824 # include <netinet/in.h>
8825 #endif
8826 #ifdef HAVE_NETINET_IN_SYSTM_H
8827 # include <netinet/in_systm.h>
8828 #endif
8829 #ifdef HAVE_NETINET_IP_H
8830 # include <netinet/ip.h>
8831 #endif
8832 #ifdef HAVE_NETINET_IP_VAR_H
8833 # include <netinet/ip_var.h>
8834 #endif
8835 #ifdef HAVE_NETINET_IP_ICMP_H
8836 # include <netinet/ip_icmp.h>
8837 #endif
8838 #ifdef HAVE_NETINET_UDP_H
8839 # include <netinet/udp.h>
8840 #endif
8841 #ifdef HAVE_NETINET_TCP_H
8842 # include <netinet/tcp.h>
8843 #endif
8845 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8846 then :
8847 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8850 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8851 #include <sys/socket.h>
8852 #ifdef HAVE_SYS_SOCKETVAR_H
8853 # include <sys/socketvar.h>
8854 #endif
8855 #ifdef HAVE_NETINET_IN_H
8856 # include <netinet/in.h>
8857 #endif
8858 #ifdef HAVE_NETINET_IN_SYSTM_H
8859 # include <netinet/in_systm.h>
8860 #endif
8861 #ifdef HAVE_NETINET_IP_H
8862 # include <netinet/ip.h>
8863 #endif
8864 #ifdef HAVE_NETINET_IP_VAR_H
8865 # include <netinet/ip_var.h>
8866 #endif
8867 #ifdef HAVE_NETINET_IP_ICMP_H
8868 # include <netinet/ip_icmp.h>
8869 #endif
8870 #ifdef HAVE_NETINET_UDP_H
8871 # include <netinet/udp.h>
8872 #endif
8873 #ifdef HAVE_NETINET_TCP_H
8874 # include <netinet/tcp.h>
8875 #endif
8877 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8878 then :
8879 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8882 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8883 #include <sys/socket.h>
8884 #ifdef HAVE_SYS_SOCKETVAR_H
8885 # include <sys/socketvar.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IN_H
8888 # include <netinet/in.h>
8889 #endif
8890 #ifdef HAVE_NETINET_IN_SYSTM_H
8891 # include <netinet/in_systm.h>
8892 #endif
8893 #ifdef HAVE_NETINET_IP_H
8894 # include <netinet/ip.h>
8895 #endif
8896 #ifdef HAVE_NETINET_IP_VAR_H
8897 # include <netinet/ip_var.h>
8898 #endif
8899 #ifdef HAVE_NETINET_IP_ICMP_H
8900 # include <netinet/ip_icmp.h>
8901 #endif
8902 #ifdef HAVE_NETINET_UDP_H
8903 # include <netinet/udp.h>
8904 #endif
8905 #ifdef HAVE_NETINET_TCP_H
8906 # include <netinet/tcp.h>
8907 #endif
8909 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8910 then :
8911 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8916 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8917 #include <sys/socket.h>
8918 #ifdef HAVE_ASM_TYPES_H
8919 # include <asm/types.h>
8920 #endif
8921 #ifdef HAVE_LINUX_TYPES_H
8922 # include <linux/types.h>
8923 #endif
8925 if test "x$ac_cv_header_linux_ipx_h" = xyes
8926 then :
8927 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8930 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8931 #include <sys/socket.h>
8932 #ifdef HAVE_ASM_TYPES_H
8933 # include <asm/types.h>
8934 #endif
8935 #ifdef HAVE_LINUX_TYPES_H
8936 # include <linux/types.h>
8937 #endif
8939 if test "x$ac_cv_header_linux_irda_h" = xyes
8940 then :
8941 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8944 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8945 #include <sys/socket.h>
8946 #ifdef HAVE_ASM_TYPES_H
8947 # include <asm/types.h>
8948 #endif
8949 #ifdef HAVE_LINUX_TYPES_H
8950 # include <linux/types.h>
8951 #endif
8953 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8954 then :
8955 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8960 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8961 #include <sys/socket.h>
8962 #ifdef HAVE_NETINET_IN_H
8963 # include <netinet/in.h>
8964 #endif
8965 #ifdef HAVE_ARPA_NAMESER_H
8966 # include <arpa/nameser.h>
8967 #endif
8969 if test "x$ac_cv_header_resolv_h" = xyes
8970 then :
8971 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8976 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8978 if test "x$ac_cv_header_ifaddrs_h" = xyes
8979 then :
8980 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8985 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8987 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8988 then :
8989 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
8994 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
8995 #ifdef HAVE_SYS_UCONTEXT_H
8996 #include <sys/ucontext.h>
8997 #endif
8999 if test "x$ac_cv_header_sys_thr_h" = xyes
9000 then :
9001 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9006 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9007 #include <pthread.h>
9008 #endif
9010 if test "x$ac_cv_header_pthread_np_h" = xyes
9011 then :
9012 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9017 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9018 #include <sys/types.h>
9019 #ifdef HAVE_ASM_TYPES_H
9020 #include <asm/types.h>
9021 #endif
9023 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9024 then :
9025 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9030 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9031 #include <sys/param.h>
9032 #endif
9033 #include <sys/socket.h>
9034 #ifdef HAVE_SYS_QUEUE_H
9035 #include <sys/queue.h>
9036 #endif
9038 if test "x$ac_cv_header_libprocstat_h" = xyes
9039 then :
9040 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9046 DLLFLAGS=""
9048 LDDLLFLAGS=""
9050 LDEXECFLAGS=""
9052 EXTRACFLAGS=""
9054 UNIXDLLFLAGS="-fPIC"
9056 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9058 TOP_INSTALL_LIB=""
9060 TOP_INSTALL_DEV=""
9062 WINELOADER_LDFLAGS=""
9064 WINEPRELOADER_LDFLAGS=""
9066 LIBEXT="so"
9067 # Extract the first word of "ldd", so it can be a program name with args.
9068 set dummy ldd; ac_word=$2
9069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9070 printf %s "checking for $ac_word... " >&6; }
9071 if test ${ac_cv_path_LDD+y}
9072 then :
9073 printf %s "(cached) " >&6
9074 else $as_nop
9075 case $LDD in
9076 [\\/]* | ?:[\\/]*)
9077 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9081 as_dummy="/sbin:/usr/sbin:$PATH"
9082 for as_dir in $as_dummy
9084 IFS=$as_save_IFS
9085 case $as_dir in #(((
9086 '') as_dir=./ ;;
9087 */) ;;
9088 *) as_dir=$as_dir/ ;;
9089 esac
9090 for ac_exec_ext in '' $ac_executable_extensions; do
9091 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9092 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9094 break 2
9096 done
9097 done
9098 IFS=$as_save_IFS
9100 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9102 esac
9104 LDD=$ac_cv_path_LDD
9105 if test -n "$LDD"; then
9106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9107 printf "%s\n" "$LDD" >&6; }
9108 else
9109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9110 printf "%s\n" "no" >&6; }
9114 if test -n "$ac_tool_prefix"; then
9115 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9116 set dummy ${ac_tool_prefix}otool; ac_word=$2
9117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9118 printf %s "checking for $ac_word... " >&6; }
9119 if test ${ac_cv_prog_OTOOL+y}
9120 then :
9121 printf %s "(cached) " >&6
9122 else $as_nop
9123 if test -n "$OTOOL"; then
9124 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9125 else
9126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9127 for as_dir in $PATH
9129 IFS=$as_save_IFS
9130 case $as_dir in #(((
9131 '') as_dir=./ ;;
9132 */) ;;
9133 *) as_dir=$as_dir/ ;;
9134 esac
9135 for ac_exec_ext in '' $ac_executable_extensions; do
9136 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9137 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9139 break 2
9141 done
9142 done
9143 IFS=$as_save_IFS
9147 OTOOL=$ac_cv_prog_OTOOL
9148 if test -n "$OTOOL"; then
9149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9150 printf "%s\n" "$OTOOL" >&6; }
9151 else
9152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9153 printf "%s\n" "no" >&6; }
9158 if test -z "$ac_cv_prog_OTOOL"; then
9159 ac_ct_OTOOL=$OTOOL
9160 # Extract the first word of "otool", so it can be a program name with args.
9161 set dummy otool; ac_word=$2
9162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9163 printf %s "checking for $ac_word... " >&6; }
9164 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9165 then :
9166 printf %s "(cached) " >&6
9167 else $as_nop
9168 if test -n "$ac_ct_OTOOL"; then
9169 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9170 else
9171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9172 for as_dir in $PATH
9174 IFS=$as_save_IFS
9175 case $as_dir in #(((
9176 '') as_dir=./ ;;
9177 */) ;;
9178 *) as_dir=$as_dir/ ;;
9179 esac
9180 for ac_exec_ext in '' $ac_executable_extensions; do
9181 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9182 ac_cv_prog_ac_ct_OTOOL="otool"
9183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9184 break 2
9186 done
9187 done
9188 IFS=$as_save_IFS
9192 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9193 if test -n "$ac_ct_OTOOL"; then
9194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9195 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9196 else
9197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9198 printf "%s\n" "no" >&6; }
9201 if test "x$ac_ct_OTOOL" = x; then
9202 OTOOL="otool"
9203 else
9204 case $cross_compiling:$ac_tool_warned in
9205 yes:)
9206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9207 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9208 ac_tool_warned=yes ;;
9209 esac
9210 OTOOL=$ac_ct_OTOOL
9212 else
9213 OTOOL="$ac_cv_prog_OTOOL"
9216 if test -n "$ac_tool_prefix"; then
9217 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9218 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9220 printf %s "checking for $ac_word... " >&6; }
9221 if test ${ac_cv_prog_READELF+y}
9222 then :
9223 printf %s "(cached) " >&6
9224 else $as_nop
9225 if test -n "$READELF"; then
9226 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9227 else
9228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9229 for as_dir in $PATH
9231 IFS=$as_save_IFS
9232 case $as_dir in #(((
9233 '') as_dir=./ ;;
9234 */) ;;
9235 *) as_dir=$as_dir/ ;;
9236 esac
9237 for ac_exec_ext in '' $ac_executable_extensions; do
9238 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9239 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9241 break 2
9243 done
9244 done
9245 IFS=$as_save_IFS
9249 READELF=$ac_cv_prog_READELF
9250 if test -n "$READELF"; then
9251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9252 printf "%s\n" "$READELF" >&6; }
9253 else
9254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9255 printf "%s\n" "no" >&6; }
9260 if test -z "$ac_cv_prog_READELF"; then
9261 ac_ct_READELF=$READELF
9262 # Extract the first word of "readelf", so it can be a program name with args.
9263 set dummy readelf; ac_word=$2
9264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9265 printf %s "checking for $ac_word... " >&6; }
9266 if test ${ac_cv_prog_ac_ct_READELF+y}
9267 then :
9268 printf %s "(cached) " >&6
9269 else $as_nop
9270 if test -n "$ac_ct_READELF"; then
9271 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9272 else
9273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9274 for as_dir in $PATH
9276 IFS=$as_save_IFS
9277 case $as_dir in #(((
9278 '') as_dir=./ ;;
9279 */) ;;
9280 *) as_dir=$as_dir/ ;;
9281 esac
9282 for ac_exec_ext in '' $ac_executable_extensions; do
9283 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9284 ac_cv_prog_ac_ct_READELF="readelf"
9285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9286 break 2
9288 done
9289 done
9290 IFS=$as_save_IFS
9294 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9295 if test -n "$ac_ct_READELF"; then
9296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9297 printf "%s\n" "$ac_ct_READELF" >&6; }
9298 else
9299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9300 printf "%s\n" "no" >&6; }
9303 if test "x$ac_ct_READELF" = x; then
9304 READELF="true"
9305 else
9306 case $cross_compiling:$ac_tool_warned in
9307 yes:)
9308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9309 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9310 ac_tool_warned=yes ;;
9311 esac
9312 READELF=$ac_ct_READELF
9314 else
9315 READELF="$ac_cv_prog_READELF"
9318 wine_rules="all:"
9319 SUBDIRS=""
9321 DISABLED_SUBDIRS=""
9323 CONFIGURE_TARGETS=""
9326 wine_fn_append_file ()
9328 as_fn_append $1 " \\$as_nl $2"
9331 wine_fn_append_rule ()
9333 as_fn_append wine_rules "$as_nl$1"
9336 wine_fn_config_makefile ()
9338 wine_fn_append_file SUBDIRS $1
9339 if eval test \"x\$"$2"\" = x"no"
9340 then :
9341 wine_fn_append_file DISABLED_SUBDIRS $1
9345 wine_fn_config_symlink ()
9347 ac_links=$@
9348 wine_fn_append_rule \
9349 "$ac_links:
9350 @./config.status \$@"
9351 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9354 wine_binary="wine"
9355 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9356 WINELOADER_PROGRAMS="$wine_binary"
9358 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9360 case $host_os in
9361 cygwin*|mingw32*)
9362 if test -n "$ac_tool_prefix"; then
9363 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9364 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9366 printf %s "checking for $ac_word... " >&6; }
9367 if test ${ac_cv_prog_DLLTOOL+y}
9368 then :
9369 printf %s "(cached) " >&6
9370 else $as_nop
9371 if test -n "$DLLTOOL"; then
9372 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9373 else
9374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9375 for as_dir in $PATH
9377 IFS=$as_save_IFS
9378 case $as_dir in #(((
9379 '') as_dir=./ ;;
9380 */) ;;
9381 *) as_dir=$as_dir/ ;;
9382 esac
9383 for ac_exec_ext in '' $ac_executable_extensions; do
9384 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9385 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9387 break 2
9389 done
9390 done
9391 IFS=$as_save_IFS
9395 DLLTOOL=$ac_cv_prog_DLLTOOL
9396 if test -n "$DLLTOOL"; then
9397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9398 printf "%s\n" "$DLLTOOL" >&6; }
9399 else
9400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9401 printf "%s\n" "no" >&6; }
9406 if test -z "$ac_cv_prog_DLLTOOL"; then
9407 ac_ct_DLLTOOL=$DLLTOOL
9408 # Extract the first word of "dlltool", so it can be a program name with args.
9409 set dummy dlltool; ac_word=$2
9410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9411 printf %s "checking for $ac_word... " >&6; }
9412 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9413 then :
9414 printf %s "(cached) " >&6
9415 else $as_nop
9416 if test -n "$ac_ct_DLLTOOL"; then
9417 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9418 else
9419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9420 for as_dir in $PATH
9422 IFS=$as_save_IFS
9423 case $as_dir in #(((
9424 '') as_dir=./ ;;
9425 */) ;;
9426 *) as_dir=$as_dir/ ;;
9427 esac
9428 for ac_exec_ext in '' $ac_executable_extensions; do
9429 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9430 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9432 break 2
9434 done
9435 done
9436 IFS=$as_save_IFS
9440 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9441 if test -n "$ac_ct_DLLTOOL"; then
9442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9443 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9444 else
9445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9446 printf "%s\n" "no" >&6; }
9449 if test "x$ac_ct_DLLTOOL" = x; then
9450 DLLTOOL="false"
9451 else
9452 case $cross_compiling:$ac_tool_warned in
9453 yes:)
9454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9455 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9456 ac_tool_warned=yes ;;
9457 esac
9458 DLLTOOL=$ac_ct_DLLTOOL
9460 else
9461 DLLTOOL="$ac_cv_prog_DLLTOOL"
9464 LIBEXT="dll"
9465 EXTRACFLAGS="-D__WINE_PE_BUILD"
9466 case $host_cpu in
9467 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9468 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9469 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9470 then :
9471 printf %s "(cached) " >&6
9472 else $as_nop
9473 ac_wine_try_cflags_saved=$CFLAGS
9474 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9476 /* end confdefs.h. */
9477 int main(int argc, char **argv) { return 0; }
9478 _ACEOF
9479 if ac_fn_c_try_link "$LINENO"
9480 then :
9481 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9482 else $as_nop
9483 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9486 conftest$ac_exeext conftest.$ac_ext
9487 CFLAGS=$ac_wine_try_cflags_saved
9489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9490 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9491 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9492 then :
9493 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9494 fi ;;
9495 esac
9496 enable_loader=${enable_loader:-no}
9497 enable_server=${enable_server:-no}
9498 with_x=${with_x:-no}
9499 with_pthread=${with_pthread:-no}
9502 darwin*|macosx*)
9503 ac_ext=m
9504 ac_cpp='$OBJCPP $CPPFLAGS'
9505 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9506 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9507 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9509 ac_ext=m
9510 ac_cpp='$OBJCPP $CPPFLAGS'
9511 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9512 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9513 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9514 if test -n "$ac_tool_prefix"; then
9515 for ac_prog in gcc objcc objc cc CC clang
9517 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9518 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9520 printf %s "checking for $ac_word... " >&6; }
9521 if test ${ac_cv_prog_OBJC+y}
9522 then :
9523 printf %s "(cached) " >&6
9524 else $as_nop
9525 if test -n "$OBJC"; then
9526 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9527 else
9528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9529 for as_dir in $PATH
9531 IFS=$as_save_IFS
9532 case $as_dir in #(((
9533 '') as_dir=./ ;;
9534 */) ;;
9535 *) as_dir=$as_dir/ ;;
9536 esac
9537 for ac_exec_ext in '' $ac_executable_extensions; do
9538 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9539 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9541 break 2
9543 done
9544 done
9545 IFS=$as_save_IFS
9549 OBJC=$ac_cv_prog_OBJC
9550 if test -n "$OBJC"; then
9551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9552 printf "%s\n" "$OBJC" >&6; }
9553 else
9554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9555 printf "%s\n" "no" >&6; }
9559 test -n "$OBJC" && break
9560 done
9562 if test -z "$OBJC"; then
9563 ac_ct_OBJC=$OBJC
9564 for ac_prog in gcc objcc objc cc CC clang
9566 # Extract the first word of "$ac_prog", so it can be a program name with args.
9567 set dummy $ac_prog; ac_word=$2
9568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9569 printf %s "checking for $ac_word... " >&6; }
9570 if test ${ac_cv_prog_ac_ct_OBJC+y}
9571 then :
9572 printf %s "(cached) " >&6
9573 else $as_nop
9574 if test -n "$ac_ct_OBJC"; then
9575 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9576 else
9577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9578 for as_dir in $PATH
9580 IFS=$as_save_IFS
9581 case $as_dir in #(((
9582 '') as_dir=./ ;;
9583 */) ;;
9584 *) as_dir=$as_dir/ ;;
9585 esac
9586 for ac_exec_ext in '' $ac_executable_extensions; do
9587 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9588 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9590 break 2
9592 done
9593 done
9594 IFS=$as_save_IFS
9598 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9599 if test -n "$ac_ct_OBJC"; then
9600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9601 printf "%s\n" "$ac_ct_OBJC" >&6; }
9602 else
9603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9604 printf "%s\n" "no" >&6; }
9608 test -n "$ac_ct_OBJC" && break
9609 done
9611 if test "x$ac_ct_OBJC" = x; then
9612 OBJC="gcc"
9613 else
9614 case $cross_compiling:$ac_tool_warned in
9615 yes:)
9616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9617 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9618 ac_tool_warned=yes ;;
9619 esac
9620 OBJC=$ac_ct_OBJC
9624 # Provide some information about the compiler.
9625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9626 set X $ac_compile
9627 ac_compiler=$2
9628 for ac_option in --version -v -V -qversion; do
9629 { { ac_try="$ac_compiler $ac_option >&5"
9630 case "(($ac_try" in
9631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9632 *) ac_try_echo=$ac_try;;
9633 esac
9634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9635 printf "%s\n" "$ac_try_echo"; } >&5
9636 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9637 ac_status=$?
9638 if test -s conftest.err; then
9639 sed '10a\
9640 ... rest of stderr output deleted ...
9641 10q' conftest.err >conftest.er1
9642 cat conftest.er1 >&5
9644 rm -f conftest.er1 conftest.err
9645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9646 test $ac_status = 0; }
9647 done
9649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9650 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9651 if test ${ac_cv_objc_compiler_gnu+y}
9652 then :
9653 printf %s "(cached) " >&6
9654 else $as_nop
9655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9656 /* end confdefs.h. */
9659 main (void)
9661 #ifndef __GNUC__
9662 choke me
9663 #endif
9666 return 0;
9668 _ACEOF
9669 if ac_fn_objc_try_compile "$LINENO"
9670 then :
9671 ac_compiler_gnu=yes
9672 else $as_nop
9673 ac_compiler_gnu=no
9675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9676 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9680 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9681 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9683 if test $ac_compiler_gnu = yes; then
9684 GOBJC=yes
9685 else
9686 GOBJC=
9688 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9689 ac_save_OBJCFLAGS=$OBJCFLAGS
9690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9691 printf %s "checking whether $OBJC accepts -g... " >&6; }
9692 if test ${ac_cv_prog_objc_g+y}
9693 then :
9694 printf %s "(cached) " >&6
9695 else $as_nop
9696 ac_save_objc_werror_flag=$ac_objc_werror_flag
9697 ac_objc_werror_flag=yes
9698 ac_cv_prog_objc_g=no
9699 OBJCFLAGS="-g"
9700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9701 /* end confdefs.h. */
9704 main (void)
9708 return 0;
9710 _ACEOF
9711 if ac_fn_objc_try_compile "$LINENO"
9712 then :
9713 ac_cv_prog_objc_g=yes
9714 else $as_nop
9715 OBJCFLAGS=""
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9720 main (void)
9724 return 0;
9726 _ACEOF
9727 if ac_fn_objc_try_compile "$LINENO"
9728 then :
9730 else $as_nop
9731 ac_objc_werror_flag=$ac_save_objc_werror_flag
9732 OBJCFLAGS="-g"
9733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h. */
9737 main (void)
9741 return 0;
9743 _ACEOF
9744 if ac_fn_objc_try_compile "$LINENO"
9745 then :
9746 ac_cv_prog_objc_g=yes
9748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9750 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9753 ac_objc_werror_flag=$ac_save_objc_werror_flag
9755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9756 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9757 if test $ac_test_OBJCFLAGS; then
9758 OBJCFLAGS=$ac_save_OBJCFLAGS
9759 elif test $ac_cv_prog_objc_g = yes; then
9760 if test "$GOBJC" = yes; then
9761 OBJCFLAGS="-g -O2"
9762 else
9763 OBJCFLAGS="-g"
9765 else
9766 if test "$GOBJC" = yes; then
9767 OBJCFLAGS="-O2"
9768 else
9769 OBJCFLAGS=
9772 ac_ext=m
9773 ac_cpp='$OBJCPP $CPPFLAGS'
9774 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9775 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9776 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9779 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9780 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9781 then :
9782 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9786 ac_ext=c
9787 ac_cpp='$CPP $CPPFLAGS'
9788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9792 LIBEXT="dylib"
9793 DLLFLAGS="$DLLFLAGS -fPIC"
9794 LDDLLFLAGS="-fPIC"
9795 COREFOUNDATION_LIBS="-framework CoreFoundation"
9797 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9799 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9801 CORESERVICES_LIBS="-framework CoreServices"
9803 APPKIT_LIBS="-framework AppKit"
9805 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9808 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9810 wine_can_build_preloader=yes
9811 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"
9812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9813 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9814 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9815 then :
9816 printf %s "(cached) " >&6
9817 else $as_nop
9818 ac_wine_try_cflags_saved=$CFLAGS
9819 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9821 /* end confdefs.h. */
9822 int main(int argc, char **argv) { return 0; }
9823 _ACEOF
9824 if ac_fn_c_try_link "$LINENO"
9825 then :
9826 ac_cv_cflags__Wl__no_new_main__e__main=yes
9827 else $as_nop
9828 ac_cv_cflags__Wl__no_new_main__e__main=no
9830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9831 conftest$ac_exeext conftest.$ac_ext
9832 CFLAGS=$ac_wine_try_cflags_saved
9834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9835 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9836 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9837 then :
9838 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9839 { 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
9840 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9841 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9842 then :
9843 printf %s "(cached) " >&6
9844 else $as_nop
9845 ac_wine_try_cflags_saved=$CFLAGS
9846 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9849 int main(int argc, char **argv) { return 0; }
9850 _ACEOF
9851 if ac_fn_c_try_link "$LINENO"
9852 then :
9853 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9854 else $as_nop
9855 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9858 conftest$ac_exeext conftest.$ac_ext
9859 CFLAGS=$ac_wine_try_cflags_saved
9861 { 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
9862 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9863 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9864 then :
9865 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9866 else $as_nop
9867 wine_can_build_preloader=no
9869 else $as_nop
9870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9871 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9872 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9873 then :
9874 printf %s "(cached) " >&6
9875 else $as_nop
9876 ac_wine_try_cflags_saved=$CFLAGS
9877 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9880 int main(int argc, char **argv) { return 0; }
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"
9883 then :
9884 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9885 else $as_nop
9886 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9889 conftest$ac_exeext conftest.$ac_ext
9890 CFLAGS=$ac_wine_try_cflags_saved
9892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9893 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9894 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9895 then :
9896 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9897 else $as_nop
9898 wine_can_build_preloader=no
9901 if test "$wine_can_build_preloader" = "yes"
9902 then
9903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9904 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9905 if test ${ac_cv_cflags__Wl__no_pie+y}
9906 then :
9907 printf %s "(cached) " >&6
9908 else $as_nop
9909 ac_wine_try_cflags_saved=$CFLAGS
9910 CFLAGS="$CFLAGS -Wl,-no_pie"
9911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9912 /* end confdefs.h. */
9913 int main(int argc, char **argv) { return 0; }
9914 _ACEOF
9915 if ac_fn_c_try_link "$LINENO"
9916 then :
9917 ac_cv_cflags__Wl__no_pie=yes
9918 else $as_nop
9919 ac_cv_cflags__Wl__no_pie=no
9921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9922 conftest$ac_exeext conftest.$ac_ext
9923 CFLAGS=$ac_wine_try_cflags_saved
9925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9926 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9927 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9928 then :
9929 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9931 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
9932 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9933 else
9934 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9937 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9938 then
9939 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9942 if test "$ac_cv_header_Security_Security_h" = "yes"
9943 then
9944 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9947 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9948 then
9949 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9951 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9953 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9954 then
9955 OPENAL_LIBS="-framework OpenAL"
9958 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
9960 ac_cv_lib_openal=yes
9962 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9963 then
9964 OPENCL_LIBS="-framework OpenCL"
9966 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9968 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9969 then
9970 ac_save_LIBS="$LIBS"
9971 LIBS="$LIBS $IOKIT_LIBS"
9972 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9973 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
9974 then :
9975 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
9979 LIBS="$ac_save_LIBS"
9982 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9983 then
9984 CARBON_LIBS="-framework Carbon"
9987 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9988 then
9989 METAL_LIBS="-framework Metal"
9993 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9994 then
9995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9996 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9997 ac_ext=m
9998 ac_cpp='$OBJCPP $CPPFLAGS'
9999 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10000 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10001 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10004 /* end confdefs.h. */
10005 #include <Metal/Metal.h>
10007 main (void)
10009 id<MTLDevice> device; device.registryID;
10011 return 0;
10013 _ACEOF
10014 if ac_fn_objc_try_compile "$LINENO"
10015 then :
10016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10017 printf "%s\n" "yes" >&6; }
10019 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10021 else $as_nop
10022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10023 printf "%s\n" "no" >&6; }
10025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10026 ac_ext=c
10027 ac_cpp='$CPP $CPPFLAGS'
10028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10034 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10035 then
10036 ac_save_LIBS="$LIBS"
10037 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10038 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10039 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10040 then :
10041 enable_winemac_drv=${enable_winemac_drv:-yes}
10044 LIBS="$ac_save_LIBS"
10047 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10048 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10050 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10052 WINELOADER_DEPENDS="wine_info.plist"
10054 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10057 linux-android*)
10059 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10061 DLLFLAGS="$DLLFLAGS -fPIC"
10062 LDDLLFLAGS="-fPIC"
10063 LDEXECFLAGS="-Wl,-pie"
10064 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10066 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10067 if test ${ac_cv_cflags__Wl__z_defs+y}
10068 then :
10069 printf %s "(cached) " >&6
10070 else $as_nop
10071 ac_wine_try_cflags_saved=$CFLAGS
10072 CFLAGS="$CFLAGS -Wl,-z,defs"
10073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10074 /* end confdefs.h. */
10075 int main(int argc, char **argv) { return 0; }
10076 _ACEOF
10077 if ac_fn_c_try_link "$LINENO"
10078 then :
10079 ac_cv_cflags__Wl__z_defs=yes
10080 else $as_nop
10081 ac_cv_cflags__Wl__z_defs=no
10083 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10084 conftest$ac_exeext conftest.$ac_ext
10085 CFLAGS=$ac_wine_try_cflags_saved
10087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10088 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10089 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10090 then :
10091 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10094 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10095 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10096 then :
10097 printf %s "(cached) " >&6
10098 else $as_nop
10099 ac_wine_try_cflags_saved=$CFLAGS
10100 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10102 /* end confdefs.h. */
10103 int main(int argc, char **argv) { return 0; }
10104 _ACEOF
10105 if ac_fn_c_try_link "$LINENO"
10106 then :
10107 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10108 else $as_nop
10109 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10112 conftest$ac_exeext conftest.$ac_ext
10113 CFLAGS=$ac_wine_try_cflags_saved
10115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10116 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10117 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10118 then :
10119 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10121 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10124 printf %s "checking for -lEGL... " >&6; }
10125 if test ${ac_cv_lib_soname_EGL+y}
10126 then :
10127 printf %s "(cached) " >&6
10128 else $as_nop
10129 ac_check_soname_save_LIBS=$LIBS
10130 LIBS="-lEGL $LIBS"
10131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10134 /* Override any GCC internal prototype to avoid an error.
10135 Use char because int might match the return type of a GCC
10136 builtin and then its argument prototype would still apply. */
10137 char eglGetProcAddress ();
10139 main (void)
10141 return eglGetProcAddress ();
10143 return 0;
10145 _ACEOF
10146 if ac_fn_c_try_link "$LINENO"
10147 then :
10148 case "$LIBEXT" in
10149 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10150 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'` ;;
10151 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10152 if ${ac_cv_lib_soname_EGL:+false} :
10153 then :
10154 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10155 fi ;;
10156 esac
10157 else $as_nop
10158 ac_cv_lib_soname_EGL=
10160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10161 conftest$ac_exeext conftest.$ac_ext
10162 LIBS=$ac_check_soname_save_LIBS
10164 if ${ac_cv_lib_soname_EGL:+false} :
10165 then :
10166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10167 printf "%s\n" "not found" >&6; }
10169 else $as_nop
10170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10171 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10173 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10178 printf %s "checking for -lGLESv2... " >&6; }
10179 if test ${ac_cv_lib_soname_GLESv2+y}
10180 then :
10181 printf %s "(cached) " >&6
10182 else $as_nop
10183 ac_check_soname_save_LIBS=$LIBS
10184 LIBS="-lGLESv2 $LIBS"
10185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10186 /* end confdefs.h. */
10188 /* Override any GCC internal prototype to avoid an error.
10189 Use char because int might match the return type of a GCC
10190 builtin and then its argument prototype would still apply. */
10191 char glFlush ();
10193 main (void)
10195 return glFlush ();
10197 return 0;
10199 _ACEOF
10200 if ac_fn_c_try_link "$LINENO"
10201 then :
10202 case "$LIBEXT" in
10203 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10204 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'` ;;
10205 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10206 if ${ac_cv_lib_soname_GLESv2:+false} :
10207 then :
10208 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10209 fi ;;
10210 esac
10211 else $as_nop
10212 ac_cv_lib_soname_GLESv2=
10214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10215 conftest$ac_exeext conftest.$ac_ext
10216 LIBS=$ac_check_soname_save_LIBS
10218 if ${ac_cv_lib_soname_GLESv2:+false} :
10219 then :
10220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10221 printf "%s\n" "not found" >&6; }
10223 else $as_nop
10224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10225 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10227 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10232 if test "x$exec_prefix" = xNONE
10233 then
10234 case $host_cpu in
10235 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10236 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10237 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10238 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10239 esac
10245 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10247 test "$ac_cv_sys_file_offset_bits" = 64 &&
10248 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10250 case $host_cpu in
10251 *i[3456789]86*)
10252 DLLFLAGS="$DLLFLAGS -fno-PIC"
10253 LDDLLFLAGS="-fno-PIC"
10254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10255 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10256 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10257 then :
10258 printf %s "(cached) " >&6
10259 else $as_nop
10260 ac_wine_try_cflags_saved=$CFLAGS
10261 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10263 /* end confdefs.h. */
10264 int main(int argc, char **argv) { return 0; }
10265 _ACEOF
10266 if ac_fn_c_try_link "$LINENO"
10267 then :
10268 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10269 else $as_nop
10270 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10273 conftest$ac_exeext conftest.$ac_ext
10274 CFLAGS=$ac_wine_try_cflags_saved
10276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10277 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10278 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10279 then :
10280 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10284 DLLFLAGS="$DLLFLAGS -fPIC"
10285 LDDLLFLAGS="-fPIC" ;;
10286 esac
10287 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10289 echo '{ global: *; };' >conftest.map
10290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10291 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10292 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10293 then :
10294 printf %s "(cached) " >&6
10295 else $as_nop
10296 ac_wine_try_cflags_saved=$CFLAGS
10297 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10299 /* end confdefs.h. */
10300 int main(int argc, char **argv) { return 0; }
10301 _ACEOF
10302 if ac_fn_c_try_link "$LINENO"
10303 then :
10304 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10305 else $as_nop
10306 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10309 conftest$ac_exeext conftest.$ac_ext
10310 CFLAGS=$ac_wine_try_cflags_saved
10312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10313 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10314 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10315 then :
10316 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10318 rm -f conftest.map
10320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10321 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10322 if test ${ac_cv_cflags__Wl__z_defs+y}
10323 then :
10324 printf %s "(cached) " >&6
10325 else $as_nop
10326 ac_wine_try_cflags_saved=$CFLAGS
10327 CFLAGS="$CFLAGS -Wl,-z,defs"
10328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10330 int main(int argc, char **argv) { return 0; }
10331 _ACEOF
10332 if ac_fn_c_try_link "$LINENO"
10333 then :
10334 ac_cv_cflags__Wl__z_defs=yes
10335 else $as_nop
10336 ac_cv_cflags__Wl__z_defs=no
10338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10339 conftest$ac_exeext conftest.$ac_ext
10340 CFLAGS=$ac_wine_try_cflags_saved
10342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10343 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10344 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10345 then :
10346 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10349 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10350 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10351 then :
10352 printf %s "(cached) " >&6
10353 else $as_nop
10354 ac_wine_try_cflags_saved=$CFLAGS
10355 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10357 /* end confdefs.h. */
10358 int main(int argc, char **argv) { return 0; }
10359 _ACEOF
10360 if ac_fn_c_try_link "$LINENO"
10361 then :
10362 ac_cv_cflags__Wl___export_dynamic=yes
10363 else $as_nop
10364 ac_cv_cflags__Wl___export_dynamic=no
10366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10367 conftest$ac_exeext conftest.$ac_ext
10368 CFLAGS=$ac_wine_try_cflags_saved
10370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10371 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10372 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10373 then :
10374 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10376 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10378 case $host_cpu in
10379 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10381 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10382 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10383 then :
10384 printf %s "(cached) " >&6
10385 else $as_nop
10386 ac_wine_try_cflags_saved=$CFLAGS
10387 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10390 int main(int argc, char **argv) { return 0; }
10391 _ACEOF
10392 if ac_fn_c_try_link "$LINENO"
10393 then :
10394 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10395 else $as_nop
10396 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10399 conftest$ac_exeext conftest.$ac_ext
10400 CFLAGS=$ac_wine_try_cflags_saved
10402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10403 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10404 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10405 then :
10406 case $host_os in
10407 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10408 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10409 esac
10410 else $as_nop
10411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10412 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10413 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10414 then :
10415 printf %s "(cached) " >&6
10416 else $as_nop
10417 ac_wine_try_cflags_saved=$CFLAGS
10418 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10421 int main(int argc, char **argv) { return 0; }
10422 _ACEOF
10423 if ac_fn_c_try_link "$LINENO"
10424 then :
10425 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10426 else $as_nop
10427 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10430 conftest$ac_exeext conftest.$ac_ext
10431 CFLAGS=$ac_wine_try_cflags_saved
10433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10434 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10435 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10436 then :
10437 case $host_os in
10438 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10439 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10440 esac
10442 # Extract the first word of "prelink", so it can be a program name with args.
10443 set dummy prelink; ac_word=$2
10444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10445 printf %s "checking for $ac_word... " >&6; }
10446 if test ${ac_cv_path_PRELINK+y}
10447 then :
10448 printf %s "(cached) " >&6
10449 else $as_nop
10450 case $PRELINK in
10451 [\\/]* | ?:[\\/]*)
10452 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10456 for as_dir in /sbin /usr/sbin $PATH
10458 IFS=$as_save_IFS
10459 case $as_dir in #(((
10460 '') as_dir=./ ;;
10461 */) ;;
10462 *) as_dir=$as_dir/ ;;
10463 esac
10464 for ac_exec_ext in '' $ac_executable_extensions; do
10465 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10466 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10468 break 2
10470 done
10471 done
10472 IFS=$as_save_IFS
10474 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10476 esac
10478 PRELINK=$ac_cv_path_PRELINK
10479 if test -n "$PRELINK"; then
10480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10481 printf "%s\n" "$PRELINK" >&6; }
10482 else
10483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10484 printf "%s\n" "no" >&6; }
10488 if test "x$PRELINK" = xfalse
10489 then
10490 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10494 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10495 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10496 then :
10497 printf %s "(cached) " >&6
10498 else $as_nop
10499 ac_wine_try_cflags_saved=$CFLAGS
10500 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10502 /* end confdefs.h. */
10503 int main(int argc, char **argv) { return 0; }
10504 _ACEOF
10505 if ac_fn_c_try_link "$LINENO"
10506 then :
10507 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10508 else $as_nop
10509 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10512 conftest$ac_exeext conftest.$ac_ext
10513 CFLAGS=$ac_wine_try_cflags_saved
10515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10516 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10517 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10518 then :
10519 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10522 esac
10523 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10525 LIBWINE_DEPENDS="wine.map"
10527 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10529 esac
10531 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10532 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10533 enable_winemac_drv=${enable_winemac_drv:-no}
10536 if test "x$with_mingw" != xno
10537 then
10538 case "x$with_mingw" in
10539 x|xyes) case "$host_cpu" in
10540 aarch64*)
10541 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10542 arm*)
10543 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10544 i[3456789]86*)
10545 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
10546 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10547 mingw32-gcc clang" ;;
10548 x86_64)
10549 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
10550 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10552 ac_prefix_list="" ;;
10553 esac
10554 for ac_prog in $ac_prefix_list
10556 # Extract the first word of "$ac_prog", so it can be a program name with args.
10557 set dummy $ac_prog; ac_word=$2
10558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10559 printf %s "checking for $ac_word... " >&6; }
10560 if test ${ac_cv_prog_CROSSCC+y}
10561 then :
10562 printf %s "(cached) " >&6
10563 else $as_nop
10564 if test -n "$CROSSCC"; then
10565 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10566 else
10567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10568 for as_dir in $PATH
10570 IFS=$as_save_IFS
10571 case $as_dir in #(((
10572 '') as_dir=./ ;;
10573 */) ;;
10574 *) as_dir=$as_dir/ ;;
10575 esac
10576 for ac_exec_ext in '' $ac_executable_extensions; do
10577 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10578 ac_cv_prog_CROSSCC="$ac_prog"
10579 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10580 break 2
10582 done
10583 done
10584 IFS=$as_save_IFS
10588 CROSSCC=$ac_cv_prog_CROSSCC
10589 if test -n "$CROSSCC"; then
10590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10591 printf "%s\n" "$CROSSCC" >&6; }
10592 else
10593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10594 printf "%s\n" "no" >&6; }
10598 test -n "$CROSSCC" && break
10599 done
10600 test -n "$CROSSCC" || CROSSCC="false"
10602 *) CROSSCC=$with_mingw ;;
10603 esac
10604 if test "$CROSSCC" != "false"
10605 then
10606 ac_save_CC="$CC"
10607 saved_CFLAGS=$CFLAGS
10608 saved_LDFLAGS=$LDFLAGS
10609 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10611 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10615 CC="$CROSSCC"
10616 CFLAGS=$CROSSCFLAGS
10617 LDFLAGS=$CROSSLDFLAGS
10618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10619 printf %s "checking whether $CROSSCC works... " >&6; }
10620 if test ${wine_cv_crosscc+y}
10621 then :
10622 printf %s "(cached) " >&6
10623 else $as_nop
10624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h. */
10628 main (void)
10632 return 0;
10634 _ACEOF
10635 if ac_fn_c_try_compile "$LINENO"
10636 then :
10637 wine_cv_crosscc=yes
10638 else $as_nop
10639 wine_cv_crosscc=no
10641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10644 printf "%s\n" "$wine_cv_crosscc" >&6; }
10645 if test $wine_cv_crosscc = yes
10646 then
10647 set x $CROSSCC
10648 shift
10649 while test $# -ge 1
10651 case "$1" in
10652 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10653 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10654 esac
10655 shift
10656 done
10658 llvm_target=$CROSSTARGET
10659 llvm_cflags="-fuse-ld=lld"
10660 if test -z "$llvm_target"
10661 then
10662 case $host_cpu in
10663 *i[3456789]86*) llvm_target=i686-windows ;;
10664 *) llvm_target=$host_cpu-windows ;;
10665 esac
10667 case $llvm_target in
10668 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10669 esac
10670 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10672 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10673 if eval test \${$as_ac_var+y}
10674 then :
10675 printf %s "(cached) " >&6
10676 else $as_nop
10677 ac_wine_try_cflags_saved=$CFLAGS
10678 ac_wine_try_cflags_saved_cc=$CC
10679 ac_wine_try_cflags_saved_exeext=$ac_exeext
10680 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10681 CC="$CROSSCC"
10682 ac_exeext=".exe"
10683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10684 /* end confdefs.h. */
10685 int __cdecl mainCRTStartup(void) { return 0; }
10686 _ACEOF
10687 if ac_fn_c_try_link "$LINENO"
10688 then :
10689 eval "$as_ac_var=yes"
10690 else $as_nop
10691 eval "$as_ac_var=no"
10693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10694 conftest$ac_exeext conftest.$ac_ext
10695 CFLAGS=$ac_wine_try_cflags_saved
10696 CC=$ac_wine_try_cflags_saved_cc
10697 ac_exeext=$ac_wine_try_cflags_saved_exeext
10699 eval ac_res=\$$as_ac_var
10700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10701 printf "%s\n" "$ac_res" >&6; }
10702 if eval test \"x\$"$as_ac_var"\" = x"yes"
10703 then :
10704 CROSSTARGET=$llvm_target
10705 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10706 DELAYLOADFLAG="-Wl,-delayload,"
10708 CFLAGS="$CFLAGS $llvm_cflags"
10711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CROSSCC option to enable C99 features" >&5
10712 printf %s "checking for $CROSSCC option to enable C99 features... " >&6; }
10713 if test ${wine_cv_crosscc_c99+y}
10714 then :
10715 printf %s "(cached) " >&6
10716 else $as_nop
10717 wine_cv_crosscc_c99=no
10718 for arg in '' '-std=gnu99'
10720 CC="$CROSSCC $arg"
10721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10722 /* end confdefs.h. */
10723 $ac_c_conftest_c99_program
10724 _ACEOF
10725 if ac_fn_c_try_compile "$LINENO"
10726 then :
10727 wine_cv_crosscc_c99=$arg
10728 else $as_nop
10729 wine_cv_crosscc_c99=no
10731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10732 test "x$wine_cv_crosscc_c99" != xno && break
10733 done
10736 case "x$wine_cv_crosscc_c99" in
10737 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10738 printf "%s\n" "none needed" >&6; } ;;
10739 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10740 printf "%s\n" "unsupported" >&6; } ;;
10741 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc_c99" >&5
10742 printf "%s\n" "$wine_cv_crosscc_c99" >&6; }
10743 CROSSCC="$CROSSCC $wine_cv_crosscc_c99" ;;
10744 esac
10746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10747 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10748 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10749 then :
10750 printf %s "(cached) " >&6
10751 else $as_nop
10752 ac_wine_try_cflags_saved=$CFLAGS
10753 ac_wine_try_cflags_saved_cc=$CC
10754 ac_wine_try_cflags_saved_exeext=$ac_exeext
10755 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10756 CC="$CROSSCC"
10757 ac_exeext=".exe"
10758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10760 int __cdecl mainCRTStartup(void) { return 0; }
10761 _ACEOF
10762 if ac_fn_c_try_link "$LINENO"
10763 then :
10764 ac_cv_crosscflags__fno_strict_aliasing=yes
10765 else $as_nop
10766 ac_cv_crosscflags__fno_strict_aliasing=no
10768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10769 conftest$ac_exeext conftest.$ac_ext
10770 CFLAGS=$ac_wine_try_cflags_saved
10771 CC=$ac_wine_try_cflags_saved_cc
10772 ac_exeext=$ac_wine_try_cflags_saved_exeext
10774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10775 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10776 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10777 then :
10778 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10781 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10782 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
10783 then :
10784 printf %s "(cached) " >&6
10785 else $as_nop
10786 ac_wine_try_cflags_saved=$CFLAGS
10787 ac_wine_try_cflags_saved_cc=$CC
10788 ac_wine_try_cflags_saved_exeext=$ac_exeext
10789 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10790 CC="$CROSSCC"
10791 ac_exeext=".exe"
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10794 int __cdecl mainCRTStartup(void) { return 0; }
10795 _ACEOF
10796 if ac_fn_c_try_link "$LINENO"
10797 then :
10798 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10799 else $as_nop
10800 ac_cv_crosscflags__Werror_unknown_warning_option=no
10802 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10803 conftest$ac_exeext conftest.$ac_ext
10804 CFLAGS=$ac_wine_try_cflags_saved
10805 CC=$ac_wine_try_cflags_saved_cc
10806 ac_exeext=$ac_wine_try_cflags_saved_exeext
10808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10809 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10810 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10811 then :
10812 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10815 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10816 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10817 then :
10818 printf %s "(cached) " >&6
10819 else $as_nop
10820 ac_wine_try_cflags_saved=$CFLAGS
10821 ac_wine_try_cflags_saved_cc=$CC
10822 ac_wine_try_cflags_saved_exeext=$ac_exeext
10823 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10824 CC="$CROSSCC"
10825 ac_exeext=".exe"
10826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10828 int __cdecl mainCRTStartup(void) { return 0; }
10829 _ACEOF
10830 if ac_fn_c_try_link "$LINENO"
10831 then :
10832 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10833 else $as_nop
10834 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10837 conftest$ac_exeext conftest.$ac_ext
10838 CFLAGS=$ac_wine_try_cflags_saved
10839 CC=$ac_wine_try_cflags_saved_cc
10840 ac_exeext=$ac_wine_try_cflags_saved_exeext
10842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10843 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10844 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10845 then :
10846 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10849 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10850 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
10851 then :
10852 printf %s "(cached) " >&6
10853 else $as_nop
10854 ac_wine_try_cflags_saved=$CFLAGS
10855 ac_wine_try_cflags_saved_cc=$CC
10856 ac_wine_try_cflags_saved_exeext=$ac_exeext
10857 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10858 CC="$CROSSCC"
10859 ac_exeext=".exe"
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10862 int __cdecl mainCRTStartup(void) { return 0; }
10863 _ACEOF
10864 if ac_fn_c_try_link "$LINENO"
10865 then :
10866 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10867 else $as_nop
10868 ac_cv_crosscflags__Wdeclaration_after_statement=no
10870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10871 conftest$ac_exeext conftest.$ac_ext
10872 CFLAGS=$ac_wine_try_cflags_saved
10873 CC=$ac_wine_try_cflags_saved_cc
10874 ac_exeext=$ac_wine_try_cflags_saved_exeext
10876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10877 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10878 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10879 then :
10880 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10883 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10884 if test ${ac_cv_crosscflags__Wempty_body+y}
10885 then :
10886 printf %s "(cached) " >&6
10887 else $as_nop
10888 ac_wine_try_cflags_saved=$CFLAGS
10889 ac_wine_try_cflags_saved_cc=$CC
10890 ac_wine_try_cflags_saved_exeext=$ac_exeext
10891 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10892 CC="$CROSSCC"
10893 ac_exeext=".exe"
10894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10895 /* end confdefs.h. */
10896 int __cdecl mainCRTStartup(void) { return 0; }
10897 _ACEOF
10898 if ac_fn_c_try_link "$LINENO"
10899 then :
10900 ac_cv_crosscflags__Wempty_body=yes
10901 else $as_nop
10902 ac_cv_crosscflags__Wempty_body=no
10904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10905 conftest$ac_exeext conftest.$ac_ext
10906 CFLAGS=$ac_wine_try_cflags_saved
10907 CC=$ac_wine_try_cflags_saved_cc
10908 ac_exeext=$ac_wine_try_cflags_saved_exeext
10910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10911 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
10912 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
10913 then :
10914 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10917 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10918 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
10919 then :
10920 printf %s "(cached) " >&6
10921 else $as_nop
10922 ac_wine_try_cflags_saved=$CFLAGS
10923 ac_wine_try_cflags_saved_cc=$CC
10924 ac_wine_try_cflags_saved_exeext=$ac_exeext
10925 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10926 CC="$CROSSCC"
10927 ac_exeext=".exe"
10928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10930 int __cdecl mainCRTStartup(void) { return 0; }
10931 _ACEOF
10932 if ac_fn_c_try_link "$LINENO"
10933 then :
10934 ac_cv_crosscflags__Wignored_qualifiers=yes
10935 else $as_nop
10936 ac_cv_crosscflags__Wignored_qualifiers=no
10938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10939 conftest$ac_exeext conftest.$ac_ext
10940 CFLAGS=$ac_wine_try_cflags_saved
10941 CC=$ac_wine_try_cflags_saved_cc
10942 ac_exeext=$ac_wine_try_cflags_saved_exeext
10944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10945 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10946 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
10947 then :
10948 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10951 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
10952 if test ${ac_cv_crosscflags__Winit_self+y}
10953 then :
10954 printf %s "(cached) " >&6
10955 else $as_nop
10956 ac_wine_try_cflags_saved=$CFLAGS
10957 ac_wine_try_cflags_saved_cc=$CC
10958 ac_wine_try_cflags_saved_exeext=$ac_exeext
10959 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10960 CC="$CROSSCC"
10961 ac_exeext=".exe"
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10964 int __cdecl mainCRTStartup(void) { return 0; }
10965 _ACEOF
10966 if ac_fn_c_try_link "$LINENO"
10967 then :
10968 ac_cv_crosscflags__Winit_self=yes
10969 else $as_nop
10970 ac_cv_crosscflags__Winit_self=no
10972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10973 conftest$ac_exeext conftest.$ac_ext
10974 CFLAGS=$ac_wine_try_cflags_saved
10975 CC=$ac_wine_try_cflags_saved_cc
10976 ac_exeext=$ac_wine_try_cflags_saved_exeext
10978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10979 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
10980 if test "x$ac_cv_crosscflags__Winit_self" = xyes
10981 then :
10982 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10985 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10986 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
10987 then :
10988 printf %s "(cached) " >&6
10989 else $as_nop
10990 ac_wine_try_cflags_saved=$CFLAGS
10991 ac_wine_try_cflags_saved_cc=$CC
10992 ac_wine_try_cflags_saved_exeext=$ac_exeext
10993 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10994 CC="$CROSSCC"
10995 ac_exeext=".exe"
10996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10997 /* end confdefs.h. */
10998 int __cdecl mainCRTStartup(void) { return 0; }
10999 _ACEOF
11000 if ac_fn_c_try_link "$LINENO"
11001 then :
11002 ac_cv_crosscflags__Wpacked_not_aligned=yes
11003 else $as_nop
11004 ac_cv_crosscflags__Wpacked_not_aligned=no
11006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11007 conftest$ac_exeext conftest.$ac_ext
11008 CFLAGS=$ac_wine_try_cflags_saved
11009 CC=$ac_wine_try_cflags_saved_cc
11010 ac_exeext=$ac_wine_try_cflags_saved_exeext
11012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11013 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11014 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11015 then :
11016 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11019 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11020 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11021 then :
11022 printf %s "(cached) " >&6
11023 else $as_nop
11024 ac_wine_try_cflags_saved=$CFLAGS
11025 ac_wine_try_cflags_saved_cc=$CC
11026 ac_wine_try_cflags_saved_exeext=$ac_exeext
11027 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11028 CC="$CROSSCC"
11029 ac_exeext=".exe"
11030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11032 int __cdecl mainCRTStartup(void) { return 0; }
11033 _ACEOF
11034 if ac_fn_c_try_link "$LINENO"
11035 then :
11036 ac_cv_crosscflags__Wpragma_pack=yes
11037 else $as_nop
11038 ac_cv_crosscflags__Wpragma_pack=no
11040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11041 conftest$ac_exeext conftest.$ac_ext
11042 CFLAGS=$ac_wine_try_cflags_saved
11043 CC=$ac_wine_try_cflags_saved_cc
11044 ac_exeext=$ac_wine_try_cflags_saved_exeext
11046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11047 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11048 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11049 then :
11050 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11053 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11054 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11055 then :
11056 printf %s "(cached) " >&6
11057 else $as_nop
11058 ac_wine_try_cflags_saved=$CFLAGS
11059 ac_wine_try_cflags_saved_cc=$CC
11060 ac_wine_try_cflags_saved_exeext=$ac_exeext
11061 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11062 CC="$CROSSCC"
11063 ac_exeext=".exe"
11064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h. */
11066 int __cdecl mainCRTStartup(void) { return 0; }
11067 _ACEOF
11068 if ac_fn_c_try_link "$LINENO"
11069 then :
11070 ac_cv_crosscflags__Wshift_overflow_2=yes
11071 else $as_nop
11072 ac_cv_crosscflags__Wshift_overflow_2=no
11074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11075 conftest$ac_exeext conftest.$ac_ext
11076 CFLAGS=$ac_wine_try_cflags_saved
11077 CC=$ac_wine_try_cflags_saved_cc
11078 ac_exeext=$ac_wine_try_cflags_saved_exeext
11080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11081 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11082 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11083 then :
11084 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11087 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11088 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11089 then :
11090 printf %s "(cached) " >&6
11091 else $as_nop
11092 ac_wine_try_cflags_saved=$CFLAGS
11093 ac_wine_try_cflags_saved_cc=$CC
11094 ac_wine_try_cflags_saved_exeext=$ac_exeext
11095 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11096 CC="$CROSSCC"
11097 ac_exeext=".exe"
11098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11099 /* end confdefs.h. */
11100 int __cdecl mainCRTStartup(void) { return 0; }
11101 _ACEOF
11102 if ac_fn_c_try_link "$LINENO"
11103 then :
11104 ac_cv_crosscflags__Wstrict_prototypes=yes
11105 else $as_nop
11106 ac_cv_crosscflags__Wstrict_prototypes=no
11108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11109 conftest$ac_exeext conftest.$ac_ext
11110 CFLAGS=$ac_wine_try_cflags_saved
11111 CC=$ac_wine_try_cflags_saved_cc
11112 ac_exeext=$ac_wine_try_cflags_saved_exeext
11114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11115 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11116 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11117 then :
11118 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11121 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11122 if test ${ac_cv_crosscflags__Wtype_limits+y}
11123 then :
11124 printf %s "(cached) " >&6
11125 else $as_nop
11126 ac_wine_try_cflags_saved=$CFLAGS
11127 ac_wine_try_cflags_saved_cc=$CC
11128 ac_wine_try_cflags_saved_exeext=$ac_exeext
11129 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11130 CC="$CROSSCC"
11131 ac_exeext=".exe"
11132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11134 int __cdecl mainCRTStartup(void) { return 0; }
11135 _ACEOF
11136 if ac_fn_c_try_link "$LINENO"
11137 then :
11138 ac_cv_crosscflags__Wtype_limits=yes
11139 else $as_nop
11140 ac_cv_crosscflags__Wtype_limits=no
11142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11143 conftest$ac_exeext conftest.$ac_ext
11144 CFLAGS=$ac_wine_try_cflags_saved
11145 CC=$ac_wine_try_cflags_saved_cc
11146 ac_exeext=$ac_wine_try_cflags_saved_exeext
11148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11149 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11150 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11151 then :
11152 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11155 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11156 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11157 then :
11158 printf %s "(cached) " >&6
11159 else $as_nop
11160 ac_wine_try_cflags_saved=$CFLAGS
11161 ac_wine_try_cflags_saved_cc=$CC
11162 ac_wine_try_cflags_saved_exeext=$ac_exeext
11163 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11164 CC="$CROSSCC"
11165 ac_exeext=".exe"
11166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11168 int __cdecl mainCRTStartup(void) { return 0; }
11169 _ACEOF
11170 if ac_fn_c_try_link "$LINENO"
11171 then :
11172 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11173 else $as_nop
11174 ac_cv_crosscflags__Wunused_but_set_parameter=no
11176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11177 conftest$ac_exeext conftest.$ac_ext
11178 CFLAGS=$ac_wine_try_cflags_saved
11179 CC=$ac_wine_try_cflags_saved_cc
11180 ac_exeext=$ac_wine_try_cflags_saved_exeext
11182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11183 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11184 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11185 then :
11186 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11189 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11190 if test ${ac_cv_crosscflags__Wvla+y}
11191 then :
11192 printf %s "(cached) " >&6
11193 else $as_nop
11194 ac_wine_try_cflags_saved=$CFLAGS
11195 ac_wine_try_cflags_saved_cc=$CC
11196 ac_wine_try_cflags_saved_exeext=$ac_exeext
11197 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11198 CC="$CROSSCC"
11199 ac_exeext=".exe"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11202 int __cdecl mainCRTStartup(void) { return 0; }
11203 _ACEOF
11204 if ac_fn_c_try_link "$LINENO"
11205 then :
11206 ac_cv_crosscflags__Wvla=yes
11207 else $as_nop
11208 ac_cv_crosscflags__Wvla=no
11210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11211 conftest$ac_exeext conftest.$ac_ext
11212 CFLAGS=$ac_wine_try_cflags_saved
11213 CC=$ac_wine_try_cflags_saved_cc
11214 ac_exeext=$ac_wine_try_cflags_saved_exeext
11216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11217 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11218 if test "x$ac_cv_crosscflags__Wvla" = xyes
11219 then :
11220 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11223 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11224 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11225 then :
11226 printf %s "(cached) " >&6
11227 else $as_nop
11228 ac_wine_try_cflags_saved=$CFLAGS
11229 ac_wine_try_cflags_saved_cc=$CC
11230 ac_wine_try_cflags_saved_exeext=$ac_exeext
11231 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11232 CC="$CROSSCC"
11233 ac_exeext=".exe"
11234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11236 int __cdecl mainCRTStartup(void) { return 0; }
11237 _ACEOF
11238 if ac_fn_c_try_link "$LINENO"
11239 then :
11240 ac_cv_crosscflags__Wwrite_strings=yes
11241 else $as_nop
11242 ac_cv_crosscflags__Wwrite_strings=no
11244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11245 conftest$ac_exeext conftest.$ac_ext
11246 CFLAGS=$ac_wine_try_cflags_saved
11247 CC=$ac_wine_try_cflags_saved_cc
11248 ac_exeext=$ac_wine_try_cflags_saved_exeext
11250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11251 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11252 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11253 then :
11254 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11257 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11258 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11259 then :
11260 printf %s "(cached) " >&6
11261 else $as_nop
11262 ac_wine_try_cflags_saved=$CFLAGS
11263 ac_wine_try_cflags_saved_cc=$CC
11264 ac_wine_try_cflags_saved_exeext=$ac_exeext
11265 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11266 CC="$CROSSCC"
11267 ac_exeext=".exe"
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11270 int __cdecl mainCRTStartup(void) { return 0; }
11271 _ACEOF
11272 if ac_fn_c_try_link "$LINENO"
11273 then :
11274 ac_cv_crosscflags__Wpointer_arith=yes
11275 else $as_nop
11276 ac_cv_crosscflags__Wpointer_arith=no
11278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11279 conftest$ac_exeext conftest.$ac_ext
11280 CFLAGS=$ac_wine_try_cflags_saved
11281 CC=$ac_wine_try_cflags_saved_cc
11282 ac_exeext=$ac_wine_try_cflags_saved_exeext
11284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11285 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11286 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11287 then :
11288 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11291 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11292 if test ${ac_cv_crosscflags__Wlogical_op+y}
11293 then :
11294 printf %s "(cached) " >&6
11295 else $as_nop
11296 ac_wine_try_cflags_saved=$CFLAGS
11297 ac_wine_try_cflags_saved_cc=$CC
11298 ac_wine_try_cflags_saved_exeext=$ac_exeext
11299 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11300 CC="$CROSSCC"
11301 ac_exeext=".exe"
11302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11304 int __cdecl mainCRTStartup(void) { return 0; }
11305 _ACEOF
11306 if ac_fn_c_try_link "$LINENO"
11307 then :
11308 ac_cv_crosscflags__Wlogical_op=yes
11309 else $as_nop
11310 ac_cv_crosscflags__Wlogical_op=no
11312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11313 conftest$ac_exeext conftest.$ac_ext
11314 CFLAGS=$ac_wine_try_cflags_saved
11315 CC=$ac_wine_try_cflags_saved_cc
11316 ac_exeext=$ac_wine_try_cflags_saved_exeext
11318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11319 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11320 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11321 then :
11322 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11325 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11326 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11327 then :
11328 printf %s "(cached) " >&6
11329 else $as_nop
11330 ac_wine_try_cflags_saved=$CFLAGS
11331 ac_wine_try_cflags_saved_cc=$CC
11332 ac_wine_try_cflags_saved_exeext=$ac_exeext
11333 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11334 CC="$CROSSCC"
11335 ac_exeext=".exe"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11338 int __cdecl mainCRTStartup(void) { return 0; }
11339 _ACEOF
11340 if ac_fn_c_try_link "$LINENO"
11341 then :
11342 ac_cv_crosscflags__Wabsolute_value=yes
11343 else $as_nop
11344 ac_cv_crosscflags__Wabsolute_value=no
11346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11347 conftest$ac_exeext conftest.$ac_ext
11348 CFLAGS=$ac_wine_try_cflags_saved
11349 CC=$ac_wine_try_cflags_saved_cc
11350 ac_exeext=$ac_wine_try_cflags_saved_exeext
11352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11353 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11354 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11355 then :
11356 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11359 case $host_cpu in
11360 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11361 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11362 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11363 then :
11364 printf %s "(cached) " >&6
11365 else $as_nop
11366 ac_wine_try_cflags_saved=$CFLAGS
11367 ac_wine_try_cflags_saved_cc=$CC
11368 ac_wine_try_cflags_saved_exeext=$ac_exeext
11369 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11370 CC="$CROSSCC"
11371 ac_exeext=".exe"
11372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11373 /* end confdefs.h. */
11374 int __cdecl mainCRTStartup(void) { return 0; }
11375 _ACEOF
11376 if ac_fn_c_try_link "$LINENO"
11377 then :
11378 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11379 else $as_nop
11380 ac_cv_crosscflags__fno_omit_frame_pointer=no
11382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11383 conftest$ac_exeext conftest.$ac_ext
11384 CFLAGS=$ac_wine_try_cflags_saved
11385 CC=$ac_wine_try_cflags_saved_cc
11386 ac_exeext=$ac_wine_try_cflags_saved_exeext
11388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11389 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11390 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11391 then :
11392 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11393 fi ;;
11394 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11395 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11396 if test ${ac_cv_crosscflags__Wno_format+y}
11397 then :
11398 printf %s "(cached) " >&6
11399 else $as_nop
11400 ac_wine_try_cflags_saved=$CFLAGS
11401 ac_wine_try_cflags_saved_cc=$CC
11402 ac_wine_try_cflags_saved_exeext=$ac_exeext
11403 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11404 CC="$CROSSCC"
11405 ac_exeext=".exe"
11406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11408 int __cdecl mainCRTStartup(void) { return 0; }
11409 _ACEOF
11410 if ac_fn_c_try_link "$LINENO"
11411 then :
11412 ac_cv_crosscflags__Wno_format=yes
11413 else $as_nop
11414 ac_cv_crosscflags__Wno_format=no
11416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11417 conftest$ac_exeext conftest.$ac_ext
11418 CFLAGS=$ac_wine_try_cflags_saved
11419 CC=$ac_wine_try_cflags_saved_cc
11420 ac_exeext=$ac_wine_try_cflags_saved_exeext
11422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11423 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11424 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11425 then :
11426 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11429 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11430 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11431 then :
11432 printf %s "(cached) " >&6
11433 else $as_nop
11434 ac_wine_try_cflags_saved=$CFLAGS
11435 ac_wine_try_cflags_saved_cc=$CC
11436 ac_wine_try_cflags_saved_exeext=$ac_exeext
11437 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11438 CC="$CROSSCC"
11439 ac_exeext=".exe"
11440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11441 /* end confdefs.h. */
11442 int __cdecl mainCRTStartup(void) { return 0; }
11443 _ACEOF
11444 if ac_fn_c_try_link "$LINENO"
11445 then :
11446 ac_cv_crosscflags__Wformat_overflow=yes
11447 else $as_nop
11448 ac_cv_crosscflags__Wformat_overflow=no
11450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11451 conftest$ac_exeext conftest.$ac_ext
11452 CFLAGS=$ac_wine_try_cflags_saved
11453 CC=$ac_wine_try_cflags_saved_cc
11454 ac_exeext=$ac_wine_try_cflags_saved_exeext
11456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11457 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11458 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11459 then :
11460 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11463 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11464 if test ${ac_cv_crosscflags__Wnonnull+y}
11465 then :
11466 printf %s "(cached) " >&6
11467 else $as_nop
11468 ac_wine_try_cflags_saved=$CFLAGS
11469 ac_wine_try_cflags_saved_cc=$CC
11470 ac_wine_try_cflags_saved_exeext=$ac_exeext
11471 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11472 CC="$CROSSCC"
11473 ac_exeext=".exe"
11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475 /* end confdefs.h. */
11476 int __cdecl mainCRTStartup(void) { return 0; }
11477 _ACEOF
11478 if ac_fn_c_try_link "$LINENO"
11479 then :
11480 ac_cv_crosscflags__Wnonnull=yes
11481 else $as_nop
11482 ac_cv_crosscflags__Wnonnull=no
11484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11485 conftest$ac_exeext conftest.$ac_ext
11486 CFLAGS=$ac_wine_try_cflags_saved
11487 CC=$ac_wine_try_cflags_saved_cc
11488 ac_exeext=$ac_wine_try_cflags_saved_exeext
11490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11491 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11492 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11493 then :
11494 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11497 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11498 if test ${ac_cv_crosscflags__mcx16+y}
11499 then :
11500 printf %s "(cached) " >&6
11501 else $as_nop
11502 ac_wine_try_cflags_saved=$CFLAGS
11503 ac_wine_try_cflags_saved_cc=$CC
11504 ac_wine_try_cflags_saved_exeext=$ac_exeext
11505 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11506 CC="$CROSSCC"
11507 ac_exeext=".exe"
11508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11510 int __cdecl mainCRTStartup(void) { return 0; }
11511 _ACEOF
11512 if ac_fn_c_try_link "$LINENO"
11513 then :
11514 ac_cv_crosscflags__mcx16=yes
11515 else $as_nop
11516 ac_cv_crosscflags__mcx16=no
11518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11519 conftest$ac_exeext conftest.$ac_ext
11520 CFLAGS=$ac_wine_try_cflags_saved
11521 CC=$ac_wine_try_cflags_saved_cc
11522 ac_exeext=$ac_wine_try_cflags_saved_exeext
11524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11525 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11526 if test "x$ac_cv_crosscflags__mcx16" = xyes
11527 then :
11528 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11529 fi ;;
11530 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11531 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11532 if test ${ac_cv_crosscflags__Wno_format+y}
11533 then :
11534 printf %s "(cached) " >&6
11535 else $as_nop
11536 ac_wine_try_cflags_saved=$CFLAGS
11537 ac_wine_try_cflags_saved_cc=$CC
11538 ac_wine_try_cflags_saved_exeext=$ac_exeext
11539 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11540 CC="$CROSSCC"
11541 ac_exeext=".exe"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11544 int __cdecl mainCRTStartup(void) { return 0; }
11545 _ACEOF
11546 if ac_fn_c_try_link "$LINENO"
11547 then :
11548 ac_cv_crosscflags__Wno_format=yes
11549 else $as_nop
11550 ac_cv_crosscflags__Wno_format=no
11552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11553 conftest$ac_exeext conftest.$ac_ext
11554 CFLAGS=$ac_wine_try_cflags_saved
11555 CC=$ac_wine_try_cflags_saved_cc
11556 ac_exeext=$ac_wine_try_cflags_saved_exeext
11558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11559 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11560 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11561 then :
11562 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11563 fi ;;
11564 esac
11567 if test -z "$CROSSDEBUG"
11568 then
11569 for ac_flag in $CROSSCFLAGS; do
11570 case $ac_flag in
11571 -gdwarf*) CROSSDEBUG=dwarf ;;
11572 -gcodeview) CROSSDEBUG=pdb ;;
11573 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11574 esac
11575 done
11578 ac_debug_format_seen=""
11579 for ac_flag in $CROSSCFLAGS; do
11580 case $ac_flag in
11581 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11582 esac
11583 done
11584 if test "x$ac_debug_format_seen" = x
11585 then
11586 case $CROSSDEBUG in
11587 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11588 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11589 if test ${ac_cv_crosscflags__gdwarf_4+y}
11590 then :
11591 printf %s "(cached) " >&6
11592 else $as_nop
11593 ac_wine_try_cflags_saved=$CFLAGS
11594 ac_wine_try_cflags_saved_cc=$CC
11595 ac_wine_try_cflags_saved_exeext=$ac_exeext
11596 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11597 CC="$CROSSCC"
11598 ac_exeext=".exe"
11599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h. */
11601 int __cdecl mainCRTStartup(void) { return 0; }
11602 _ACEOF
11603 if ac_fn_c_try_link "$LINENO"
11604 then :
11605 ac_cv_crosscflags__gdwarf_4=yes
11606 else $as_nop
11607 ac_cv_crosscflags__gdwarf_4=no
11609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11610 conftest$ac_exeext conftest.$ac_ext
11611 CFLAGS=$ac_wine_try_cflags_saved
11612 CC=$ac_wine_try_cflags_saved_cc
11613 ac_exeext=$ac_wine_try_cflags_saved_exeext
11615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11616 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11617 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11618 then :
11619 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11620 fi ;;
11621 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11622 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11623 if test ${ac_cv_crosscflags__gcodeview+y}
11624 then :
11625 printf %s "(cached) " >&6
11626 else $as_nop
11627 ac_wine_try_cflags_saved=$CFLAGS
11628 ac_wine_try_cflags_saved_cc=$CC
11629 ac_wine_try_cflags_saved_exeext=$ac_exeext
11630 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11631 CC="$CROSSCC"
11632 ac_exeext=".exe"
11633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11634 /* end confdefs.h. */
11635 int __cdecl mainCRTStartup(void) { return 0; }
11636 _ACEOF
11637 if ac_fn_c_try_link "$LINENO"
11638 then :
11639 ac_cv_crosscflags__gcodeview=yes
11640 else $as_nop
11641 ac_cv_crosscflags__gcodeview=no
11643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11644 conftest$ac_exeext conftest.$ac_ext
11645 CFLAGS=$ac_wine_try_cflags_saved
11646 CC=$ac_wine_try_cflags_saved_cc
11647 ac_exeext=$ac_wine_try_cflags_saved_exeext
11649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11650 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11651 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11652 then :
11653 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11654 fi ;;
11655 esac
11658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11659 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11660 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11661 then :
11662 printf %s "(cached) " >&6
11663 else $as_nop
11664 ac_wine_try_cflags_saved=$CFLAGS
11665 ac_wine_try_cflags_saved_cc=$CC
11666 ac_wine_try_cflags_saved_exeext=$ac_exeext
11667 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11668 CC="$CROSSCC"
11669 ac_exeext=".exe"
11670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11671 /* end confdefs.h. */
11672 int __cdecl mainCRTStartup(void) { return 0; }
11673 _ACEOF
11674 if ac_fn_c_try_link "$LINENO"
11675 then :
11676 ac_cv_crosscflags__fexcess_precision_standard=yes
11677 else $as_nop
11678 ac_cv_crosscflags__fexcess_precision_standard=no
11680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11681 conftest$ac_exeext conftest.$ac_ext
11682 CFLAGS=$ac_wine_try_cflags_saved
11683 CC=$ac_wine_try_cflags_saved_cc
11684 ac_exeext=$ac_wine_try_cflags_saved_exeext
11686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11687 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11688 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11689 then :
11690 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11694 if test "x$enable_werror" = "xyes"
11695 then
11696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11697 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11698 if test ${ac_cv_crosscflags__Werror+y}
11699 then :
11700 printf %s "(cached) " >&6
11701 else $as_nop
11702 ac_wine_try_cflags_saved=$CFLAGS
11703 ac_wine_try_cflags_saved_cc=$CC
11704 ac_wine_try_cflags_saved_exeext=$ac_exeext
11705 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11706 CC="$CROSSCC"
11707 ac_exeext=".exe"
11708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11709 /* end confdefs.h. */
11710 int __cdecl mainCRTStartup(void) { return 0; }
11711 _ACEOF
11712 if ac_fn_c_try_link "$LINENO"
11713 then :
11714 ac_cv_crosscflags__Werror=yes
11715 else $as_nop
11716 ac_cv_crosscflags__Werror=no
11718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11719 conftest$ac_exeext conftest.$ac_ext
11720 CFLAGS=$ac_wine_try_cflags_saved
11721 CC=$ac_wine_try_cflags_saved_cc
11722 ac_exeext=$ac_wine_try_cflags_saved_exeext
11724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11725 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11726 if test "x$ac_cv_crosscflags__Werror" = xyes
11727 then :
11728 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11731 if test "x$enable_build_id" = "xyes"
11732 then
11733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11734 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11735 if test ${ac_cv_crosscflags__Wl___build_id+y}
11736 then :
11737 printf %s "(cached) " >&6
11738 else $as_nop
11739 ac_wine_try_cflags_saved=$CFLAGS
11740 ac_wine_try_cflags_saved_cc=$CC
11741 ac_wine_try_cflags_saved_exeext=$ac_exeext
11742 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11743 CC="$CROSSCC"
11744 ac_exeext=".exe"
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11747 int __cdecl mainCRTStartup(void) { return 0; }
11748 _ACEOF
11749 if ac_fn_c_try_link "$LINENO"
11750 then :
11751 ac_cv_crosscflags__Wl___build_id=yes
11752 else $as_nop
11753 ac_cv_crosscflags__Wl___build_id=no
11755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11756 conftest$ac_exeext conftest.$ac_ext
11757 CFLAGS=$ac_wine_try_cflags_saved
11758 CC=$ac_wine_try_cflags_saved_cc
11759 ac_exeext=$ac_wine_try_cflags_saved_exeext
11761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11762 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11763 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11764 then :
11765 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11766 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11770 CFLAGS=$saved_CFLAGS
11771 LDFLAGS=$saved_LDFLAGS
11772 CC="$ac_save_CC"
11775 if test "x$CROSSTARGET" = "x"
11776 then :
11777 case "x$with_mingw" in
11778 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11779 xno) ;;
11780 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11781 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11782 esac
11786 case $host_cpu in
11787 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 ;;
11788 esac
11791 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11792 then
11793 case "$host_cpu" in
11794 i[3456789]86*)
11795 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11797 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11798 esac
11799 for ac_prog in $ac_prefix_list
11801 # Extract the first word of "$ac_prog", so it can be a program name with args.
11802 set dummy $ac_prog; ac_word=$2
11803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11804 printf %s "checking for $ac_word... " >&6; }
11805 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11806 then :
11807 printf %s "(cached) " >&6
11808 else $as_nop
11809 if test -n "$MINGW_PKG_CONFIG"; then
11810 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11811 else
11812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11813 for as_dir in $PATH
11815 IFS=$as_save_IFS
11816 case $as_dir in #(((
11817 '') as_dir=./ ;;
11818 */) ;;
11819 *) as_dir=$as_dir/ ;;
11820 esac
11821 for ac_exec_ext in '' $ac_executable_extensions; do
11822 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11823 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11825 break 2
11827 done
11828 done
11829 IFS=$as_save_IFS
11833 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11834 if test -n "$MINGW_PKG_CONFIG"; then
11835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11836 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11837 else
11838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11839 printf "%s\n" "no" >&6; }
11843 test -n "$MINGW_PKG_CONFIG" && break
11844 done
11845 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11847 if ${FAUDIO_PE_CFLAGS:+false} :
11848 then :
11849 if test ${MINGW_PKG_CONFIG+y}
11850 then :
11851 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11854 if ${FAUDIO_PE_LIBS:+false} :
11855 then :
11856 if test ${MINGW_PKG_CONFIG+y}
11857 then :
11858 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11861 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11862 ac_save_CPPFLAGS=$CPPFLAGS
11863 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11865 printf %s "checking for MinGW FAudio.h... " >&6; }
11866 if test ${ac_cv_mingw_header_FAudio_h+y}
11867 then :
11868 printf %s "(cached) " >&6
11869 else $as_nop
11870 ac_wine_check_headers_saved_cc=$CC
11871 ac_wine_check_headers_saved_exeext=$ac_exeext
11872 CC="$CROSSCC"
11873 ac_exeext=".exe"
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 #include <FAudio.h>
11879 main (void)
11883 return 0;
11885 _ACEOF
11886 if ac_fn_c_try_compile "$LINENO"
11887 then :
11888 ac_cv_mingw_header_FAudio_h=yes
11889 else $as_nop
11890 ac_cv_mingw_header_FAudio_h=no
11892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11893 CC=$ac_wine_check_headers_saved_cc
11894 ac_exeext=$ac_wine_check_headers_saved_exeext
11896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11897 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11898 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11899 then :
11900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11901 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11902 if test ${ac_cv_mingw_lib_FAudio+y}
11903 then :
11904 printf %s "(cached) " >&6
11905 else $as_nop
11906 ac_wine_check_headers_saved_cc=$CC
11907 ac_wine_check_headers_saved_exeext=$ac_exeext
11908 ac_wine_check_headers_saved_libs=$LIBS
11909 CC="$CROSSCC"
11910 ac_exeext=".exe"
11911 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h. */
11915 /* Override any GCC internal prototype to avoid an error.
11916 Use char because int might match the return type of a GCC
11917 builtin and then its argument prototype would still apply. */
11918 char FAudio_CommitOperationSet ();
11920 main (void)
11922 return FAudio_CommitOperationSet ();
11924 return 0;
11926 _ACEOF
11927 if ac_fn_c_try_link "$LINENO"
11928 then :
11929 ac_cv_mingw_lib_FAudio=yes
11930 else $as_nop
11931 ac_cv_mingw_lib_FAudio=no
11933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11934 conftest$ac_exeext conftest.$ac_ext
11935 CC=$ac_wine_check_headers_saved_cc
11936 ac_exeext=$ac_wine_check_headers_saved_exeext
11937 LIBS=$ac_wine_check_headers_saved_libs
11939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11940 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11941 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11942 then :
11944 else $as_nop
11945 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11947 else $as_nop
11948 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11950 CPPFLAGS=$ac_save_CPPFLAGS
11952 if test "x$FAUDIO_PE_LIBS" = "x"
11953 then
11954 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11957 if ${JPEG_PE_CFLAGS:+false} :
11958 then :
11959 if test ${MINGW_PKG_CONFIG+y}
11960 then :
11961 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11964 if ${JPEG_PE_LIBS:+false} :
11965 then :
11966 if test ${MINGW_PKG_CONFIG+y}
11967 then :
11968 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11972 ac_save_CPPFLAGS=$CPPFLAGS
11973 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11975 printf %s "checking for MinGW jpeglib.h... " >&6; }
11976 if test ${ac_cv_mingw_header_jpeglib_h+y}
11977 then :
11978 printf %s "(cached) " >&6
11979 else $as_nop
11980 ac_wine_check_headers_saved_cc=$CC
11981 ac_wine_check_headers_saved_exeext=$ac_exeext
11982 CC="$CROSSCC"
11983 ac_exeext=".exe"
11984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11986 #include <stddef.h>
11987 #include <stdio.h>
11988 #include <jpeglib.h>
11990 main (void)
11994 return 0;
11996 _ACEOF
11997 if ac_fn_c_try_compile "$LINENO"
11998 then :
11999 ac_cv_mingw_header_jpeglib_h=yes
12000 else $as_nop
12001 ac_cv_mingw_header_jpeglib_h=no
12003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12004 CC=$ac_wine_check_headers_saved_cc
12005 ac_exeext=$ac_wine_check_headers_saved_exeext
12007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12008 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12009 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12010 then :
12011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12012 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12013 if test ${ac_cv_mingw_lib_jpeg+y}
12014 then :
12015 printf %s "(cached) " >&6
12016 else $as_nop
12017 ac_wine_check_headers_saved_cc=$CC
12018 ac_wine_check_headers_saved_exeext=$ac_exeext
12019 ac_wine_check_headers_saved_libs=$LIBS
12020 CC="$CROSSCC"
12021 ac_exeext=".exe"
12022 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12024 /* end confdefs.h. */
12026 /* Override any GCC internal prototype to avoid an error.
12027 Use char because int might match the return type of a GCC
12028 builtin and then its argument prototype would still apply. */
12029 char jpeg_start_decompress ();
12031 main (void)
12033 return jpeg_start_decompress ();
12035 return 0;
12037 _ACEOF
12038 if ac_fn_c_try_link "$LINENO"
12039 then :
12040 ac_cv_mingw_lib_jpeg=yes
12041 else $as_nop
12042 ac_cv_mingw_lib_jpeg=no
12044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12045 conftest$ac_exeext conftest.$ac_ext
12046 CC=$ac_wine_check_headers_saved_cc
12047 ac_exeext=$ac_wine_check_headers_saved_exeext
12048 LIBS=$ac_wine_check_headers_saved_libs
12050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12051 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12052 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12053 then :
12055 else $as_nop
12056 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12058 else $as_nop
12059 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12061 CPPFLAGS=$ac_save_CPPFLAGS
12063 if test "x$JPEG_PE_LIBS" = "x"
12064 then
12065 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12068 if ${LCMS2_PE_CFLAGS:+false} :
12069 then :
12070 if test ${MINGW_PKG_CONFIG+y}
12071 then :
12072 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12075 if ${LCMS2_PE_LIBS:+false} :
12076 then :
12077 if test ${MINGW_PKG_CONFIG+y}
12078 then :
12079 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12082 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12083 ac_save_CPPFLAGS=$CPPFLAGS
12084 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12086 printf %s "checking for MinGW lcms2.h... " >&6; }
12087 if test ${ac_cv_mingw_header_lcms2_h+y}
12088 then :
12089 printf %s "(cached) " >&6
12090 else $as_nop
12091 ac_wine_check_headers_saved_cc=$CC
12092 ac_wine_check_headers_saved_exeext=$ac_exeext
12093 CC="$CROSSCC"
12094 ac_exeext=".exe"
12095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12096 /* end confdefs.h. */
12098 #include <lcms2.h>
12100 main (void)
12104 return 0;
12106 _ACEOF
12107 if ac_fn_c_try_compile "$LINENO"
12108 then :
12109 ac_cv_mingw_header_lcms2_h=yes
12110 else $as_nop
12111 ac_cv_mingw_header_lcms2_h=no
12113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12114 CC=$ac_wine_check_headers_saved_cc
12115 ac_exeext=$ac_wine_check_headers_saved_exeext
12117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12118 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12119 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12120 then :
12121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12122 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12123 if test ${ac_cv_mingw_lib_lcms2+y}
12124 then :
12125 printf %s "(cached) " >&6
12126 else $as_nop
12127 ac_wine_check_headers_saved_cc=$CC
12128 ac_wine_check_headers_saved_exeext=$ac_exeext
12129 ac_wine_check_headers_saved_libs=$LIBS
12130 CC="$CROSSCC"
12131 ac_exeext=".exe"
12132 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12136 /* Override any GCC internal prototype to avoid an error.
12137 Use char because int might match the return type of a GCC
12138 builtin and then its argument prototype would still apply. */
12139 char cmsOpenProfileFromFile ();
12141 main (void)
12143 return cmsOpenProfileFromFile ();
12145 return 0;
12147 _ACEOF
12148 if ac_fn_c_try_link "$LINENO"
12149 then :
12150 ac_cv_mingw_lib_lcms2=yes
12151 else $as_nop
12152 ac_cv_mingw_lib_lcms2=no
12154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12155 conftest$ac_exeext conftest.$ac_ext
12156 CC=$ac_wine_check_headers_saved_cc
12157 ac_exeext=$ac_wine_check_headers_saved_exeext
12158 LIBS=$ac_wine_check_headers_saved_libs
12160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12161 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12162 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12163 then :
12165 else $as_nop
12166 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12168 else $as_nop
12169 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12171 CPPFLAGS=$ac_save_CPPFLAGS
12173 if test "x$LCMS2_PE_LIBS" = "x"
12174 then
12175 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12178 if ${MPG123_PE_CFLAGS:+false} :
12179 then :
12180 if test ${MINGW_PKG_CONFIG+y}
12181 then :
12182 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12185 if ${MPG123_PE_LIBS:+false} :
12186 then :
12187 if test ${MINGW_PKG_CONFIG+y}
12188 then :
12189 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12192 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12193 ac_save_CPPFLAGS=$CPPFLAGS
12194 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12196 printf %s "checking for MinGW mpg123.h... " >&6; }
12197 if test ${ac_cv_mingw_header_mpg123_h+y}
12198 then :
12199 printf %s "(cached) " >&6
12200 else $as_nop
12201 ac_wine_check_headers_saved_cc=$CC
12202 ac_wine_check_headers_saved_exeext=$ac_exeext
12203 CC="$CROSSCC"
12204 ac_exeext=".exe"
12205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h. */
12208 #include <mpg123.h>
12210 main (void)
12214 return 0;
12216 _ACEOF
12217 if ac_fn_c_try_compile "$LINENO"
12218 then :
12219 ac_cv_mingw_header_mpg123_h=yes
12220 else $as_nop
12221 ac_cv_mingw_header_mpg123_h=no
12223 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12224 CC=$ac_wine_check_headers_saved_cc
12225 ac_exeext=$ac_wine_check_headers_saved_exeext
12227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12228 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12229 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12230 then :
12231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12232 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12233 if test ${ac_cv_mingw_lib_mpg123+y}
12234 then :
12235 printf %s "(cached) " >&6
12236 else $as_nop
12237 ac_wine_check_headers_saved_cc=$CC
12238 ac_wine_check_headers_saved_exeext=$ac_exeext
12239 ac_wine_check_headers_saved_libs=$LIBS
12240 CC="$CROSSCC"
12241 ac_exeext=".exe"
12242 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12246 /* Override any GCC internal prototype to avoid an error.
12247 Use char because int might match the return type of a GCC
12248 builtin and then its argument prototype would still apply. */
12249 char mpg123_feed ();
12251 main (void)
12253 return mpg123_feed ();
12255 return 0;
12257 _ACEOF
12258 if ac_fn_c_try_link "$LINENO"
12259 then :
12260 ac_cv_mingw_lib_mpg123=yes
12261 else $as_nop
12262 ac_cv_mingw_lib_mpg123=no
12264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12265 conftest$ac_exeext conftest.$ac_ext
12266 CC=$ac_wine_check_headers_saved_cc
12267 ac_exeext=$ac_wine_check_headers_saved_exeext
12268 LIBS=$ac_wine_check_headers_saved_libs
12270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12271 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12272 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12273 then :
12275 else $as_nop
12276 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12278 else $as_nop
12279 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12281 CPPFLAGS=$ac_save_CPPFLAGS
12283 if test "x$MPG123_PE_LIBS" = "x"
12284 then
12285 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12288 if ${PNG_PE_CFLAGS:+false} :
12289 then :
12290 if test ${MINGW_PKG_CONFIG+y}
12291 then :
12292 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12295 if ${PNG_PE_LIBS:+false} :
12296 then :
12297 if test ${MINGW_PKG_CONFIG+y}
12298 then :
12299 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12303 ac_save_CPPFLAGS=$CPPFLAGS
12304 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12306 printf %s "checking for MinGW png.h... " >&6; }
12307 if test ${ac_cv_mingw_header_png_h+y}
12308 then :
12309 printf %s "(cached) " >&6
12310 else $as_nop
12311 ac_wine_check_headers_saved_cc=$CC
12312 ac_wine_check_headers_saved_exeext=$ac_exeext
12313 CC="$CROSSCC"
12314 ac_exeext=".exe"
12315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12318 #include <png.h>
12320 main (void)
12324 return 0;
12326 _ACEOF
12327 if ac_fn_c_try_compile "$LINENO"
12328 then :
12329 ac_cv_mingw_header_png_h=yes
12330 else $as_nop
12331 ac_cv_mingw_header_png_h=no
12333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12334 CC=$ac_wine_check_headers_saved_cc
12335 ac_exeext=$ac_wine_check_headers_saved_exeext
12337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12338 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12339 if test "x$ac_cv_mingw_header_png_h" = xyes
12340 then :
12341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12342 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12343 if test ${ac_cv_mingw_lib_png+y}
12344 then :
12345 printf %s "(cached) " >&6
12346 else $as_nop
12347 ac_wine_check_headers_saved_cc=$CC
12348 ac_wine_check_headers_saved_exeext=$ac_exeext
12349 ac_wine_check_headers_saved_libs=$LIBS
12350 CC="$CROSSCC"
12351 ac_exeext=".exe"
12352 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12354 /* end confdefs.h. */
12356 /* Override any GCC internal prototype to avoid an error.
12357 Use char because int might match the return type of a GCC
12358 builtin and then its argument prototype would still apply. */
12359 char png_create_read_struct ();
12361 main (void)
12363 return png_create_read_struct ();
12365 return 0;
12367 _ACEOF
12368 if ac_fn_c_try_link "$LINENO"
12369 then :
12370 ac_cv_mingw_lib_png=yes
12371 else $as_nop
12372 ac_cv_mingw_lib_png=no
12374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12375 conftest$ac_exeext conftest.$ac_ext
12376 CC=$ac_wine_check_headers_saved_cc
12377 ac_exeext=$ac_wine_check_headers_saved_exeext
12378 LIBS=$ac_wine_check_headers_saved_libs
12380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12381 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12382 if test "x$ac_cv_mingw_lib_png" = xyes
12383 then :
12385 else $as_nop
12386 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12388 else $as_nop
12389 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12391 CPPFLAGS=$ac_save_CPPFLAGS
12393 if test "x$PNG_PE_LIBS" = "x"
12394 then
12395 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12398 if ${TIFF_PE_CFLAGS:+false} :
12399 then :
12400 if test ${MINGW_PKG_CONFIG+y}
12401 then :
12402 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12405 if ${TIFF_PE_LIBS:+false} :
12406 then :
12407 if test ${MINGW_PKG_CONFIG+y}
12408 then :
12409 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12413 ac_save_CPPFLAGS=$CPPFLAGS
12414 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12416 printf %s "checking for MinGW tiffio.h... " >&6; }
12417 if test ${ac_cv_mingw_header_tiffio_h+y}
12418 then :
12419 printf %s "(cached) " >&6
12420 else $as_nop
12421 ac_wine_check_headers_saved_cc=$CC
12422 ac_wine_check_headers_saved_exeext=$ac_exeext
12423 CC="$CROSSCC"
12424 ac_exeext=".exe"
12425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12428 #include <tiffio.h>
12430 main (void)
12434 return 0;
12436 _ACEOF
12437 if ac_fn_c_try_compile "$LINENO"
12438 then :
12439 ac_cv_mingw_header_tiffio_h=yes
12440 else $as_nop
12441 ac_cv_mingw_header_tiffio_h=no
12443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12444 CC=$ac_wine_check_headers_saved_cc
12445 ac_exeext=$ac_wine_check_headers_saved_exeext
12447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12448 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12449 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12450 then :
12451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12452 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12453 if test ${ac_cv_mingw_lib_tiff+y}
12454 then :
12455 printf %s "(cached) " >&6
12456 else $as_nop
12457 ac_wine_check_headers_saved_cc=$CC
12458 ac_wine_check_headers_saved_exeext=$ac_exeext
12459 ac_wine_check_headers_saved_libs=$LIBS
12460 CC="$CROSSCC"
12461 ac_exeext=".exe"
12462 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12466 /* Override any GCC internal prototype to avoid an error.
12467 Use char because int might match the return type of a GCC
12468 builtin and then its argument prototype would still apply. */
12469 char TIFFClientOpen ();
12471 main (void)
12473 return TIFFClientOpen ();
12475 return 0;
12477 _ACEOF
12478 if ac_fn_c_try_link "$LINENO"
12479 then :
12480 ac_cv_mingw_lib_tiff=yes
12481 else $as_nop
12482 ac_cv_mingw_lib_tiff=no
12484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12485 conftest$ac_exeext conftest.$ac_ext
12486 CC=$ac_wine_check_headers_saved_cc
12487 ac_exeext=$ac_wine_check_headers_saved_exeext
12488 LIBS=$ac_wine_check_headers_saved_libs
12490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12491 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12492 if test "x$ac_cv_mingw_lib_tiff" = xyes
12493 then :
12495 else $as_nop
12496 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12498 else $as_nop
12499 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12501 CPPFLAGS=$ac_save_CPPFLAGS
12503 if test "x$TIFF_PE_LIBS" = "x"
12504 then
12505 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12508 if ${XML2_PE_CFLAGS:+false} :
12509 then :
12510 if test ${MINGW_PKG_CONFIG+y}
12511 then :
12512 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12515 if ${XML2_PE_LIBS:+false} :
12516 then :
12517 if test ${MINGW_PKG_CONFIG+y}
12518 then :
12519 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12522 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12523 ac_save_CPPFLAGS=$CPPFLAGS
12524 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12526 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12527 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12528 then :
12529 printf %s "(cached) " >&6
12530 else $as_nop
12531 ac_wine_check_headers_saved_cc=$CC
12532 ac_wine_check_headers_saved_exeext=$ac_exeext
12533 CC="$CROSSCC"
12534 ac_exeext=".exe"
12535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12536 /* end confdefs.h. */
12538 #include <libxml/parser.h>
12540 main (void)
12544 return 0;
12546 _ACEOF
12547 if ac_fn_c_try_compile "$LINENO"
12548 then :
12549 ac_cv_mingw_header_libxml_parser_h=yes
12550 else $as_nop
12551 ac_cv_mingw_header_libxml_parser_h=no
12553 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12554 CC=$ac_wine_check_headers_saved_cc
12555 ac_exeext=$ac_wine_check_headers_saved_exeext
12557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12558 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12559 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12560 then :
12563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12564 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12565 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12566 then :
12567 printf %s "(cached) " >&6
12568 else $as_nop
12569 ac_wine_check_headers_saved_cc=$CC
12570 ac_wine_check_headers_saved_exeext=$ac_exeext
12571 CC="$CROSSCC"
12572 ac_exeext=".exe"
12573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12574 /* end confdefs.h. */
12576 #include <libxml/xmlsave.h>
12578 main (void)
12582 return 0;
12584 _ACEOF
12585 if ac_fn_c_try_compile "$LINENO"
12586 then :
12587 ac_cv_mingw_header_libxml_xmlsave_h=yes
12588 else $as_nop
12589 ac_cv_mingw_header_libxml_xmlsave_h=no
12591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12592 CC=$ac_wine_check_headers_saved_cc
12593 ac_exeext=$ac_wine_check_headers_saved_exeext
12595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12596 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12597 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12598 then :
12601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12602 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12603 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12604 then :
12605 printf %s "(cached) " >&6
12606 else $as_nop
12607 ac_wine_check_headers_saved_cc=$CC
12608 ac_wine_check_headers_saved_exeext=$ac_exeext
12609 CC="$CROSSCC"
12610 ac_exeext=".exe"
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 #include <libxml/SAX2.h>
12616 main (void)
12620 return 0;
12622 _ACEOF
12623 if ac_fn_c_try_compile "$LINENO"
12624 then :
12625 ac_cv_mingw_header_libxml_SAX2_h=yes
12626 else $as_nop
12627 ac_cv_mingw_header_libxml_SAX2_h=no
12629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12630 CC=$ac_wine_check_headers_saved_cc
12631 ac_exeext=$ac_wine_check_headers_saved_exeext
12633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12634 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12635 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12636 then :
12639 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"
12640 then
12641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12642 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12643 if test ${ac_cv_mingw_lib_xml2+y}
12644 then :
12645 printf %s "(cached) " >&6
12646 else $as_nop
12647 ac_wine_check_headers_saved_cc=$CC
12648 ac_wine_check_headers_saved_exeext=$ac_exeext
12649 ac_wine_check_headers_saved_libs=$LIBS
12650 CC="$CROSSCC"
12651 ac_exeext=".exe"
12652 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12654 /* end confdefs.h. */
12656 /* Override any GCC internal prototype to avoid an error.
12657 Use char because int might match the return type of a GCC
12658 builtin and then its argument prototype would still apply. */
12659 char xmlFirstElementChild ();
12661 main (void)
12663 return xmlFirstElementChild ();
12665 return 0;
12667 _ACEOF
12668 if ac_fn_c_try_link "$LINENO"
12669 then :
12670 ac_cv_mingw_lib_xml2=yes
12671 else $as_nop
12672 ac_cv_mingw_lib_xml2=no
12674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12675 conftest$ac_exeext conftest.$ac_ext
12676 CC=$ac_wine_check_headers_saved_cc
12677 ac_exeext=$ac_wine_check_headers_saved_exeext
12678 LIBS=$ac_wine_check_headers_saved_libs
12680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12681 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12682 if test "x$ac_cv_mingw_lib_xml2" = xyes
12683 then :
12685 else $as_nop
12686 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12688 else
12689 XML2_PE_CFLAGS=""
12690 XML2_PE_LIBS=""
12692 CPPFLAGS=$ac_save_CPPFLAGS
12694 if test "x$XML2_PE_LIBS" = "x"
12695 then
12696 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12699 if ${XSLT_PE_CFLAGS:+false} :
12700 then :
12701 if test ${MINGW_PKG_CONFIG+y}
12702 then :
12703 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12706 if ${XSLT_PE_LIBS:+false} :
12707 then :
12708 if test ${MINGW_PKG_CONFIG+y}
12709 then :
12710 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12713 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12714 ac_save_CPPFLAGS=$CPPFLAGS
12715 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12717 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12718 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12719 then :
12720 printf %s "(cached) " >&6
12721 else $as_nop
12722 ac_wine_check_headers_saved_cc=$CC
12723 ac_wine_check_headers_saved_exeext=$ac_exeext
12724 CC="$CROSSCC"
12725 ac_exeext=".exe"
12726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12727 /* end confdefs.h. */
12729 #include <libxslt/pattern.h>
12731 main (void)
12735 return 0;
12737 _ACEOF
12738 if ac_fn_c_try_compile "$LINENO"
12739 then :
12740 ac_cv_mingw_header_libxslt_pattern_h=yes
12741 else $as_nop
12742 ac_cv_mingw_header_libxslt_pattern_h=no
12744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12745 CC=$ac_wine_check_headers_saved_cc
12746 ac_exeext=$ac_wine_check_headers_saved_exeext
12748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12749 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12750 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12751 then :
12754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12755 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12756 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12757 then :
12758 printf %s "(cached) " >&6
12759 else $as_nop
12760 ac_wine_check_headers_saved_cc=$CC
12761 ac_wine_check_headers_saved_exeext=$ac_exeext
12762 CC="$CROSSCC"
12763 ac_exeext=".exe"
12764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12765 /* end confdefs.h. */
12767 #include <libxslt/transform.h>
12769 main (void)
12773 return 0;
12775 _ACEOF
12776 if ac_fn_c_try_compile "$LINENO"
12777 then :
12778 ac_cv_mingw_header_libxslt_transform_h=yes
12779 else $as_nop
12780 ac_cv_mingw_header_libxslt_transform_h=no
12782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12783 CC=$ac_wine_check_headers_saved_cc
12784 ac_exeext=$ac_wine_check_headers_saved_exeext
12786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12787 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12788 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12789 then :
12792 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12793 then
12794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12795 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12796 if test ${ac_cv_mingw_lib_xslt+y}
12797 then :
12798 printf %s "(cached) " >&6
12799 else $as_nop
12800 ac_wine_check_headers_saved_cc=$CC
12801 ac_wine_check_headers_saved_exeext=$ac_exeext
12802 ac_wine_check_headers_saved_libs=$LIBS
12803 CC="$CROSSCC"
12804 ac_exeext=".exe"
12805 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12807 /* end confdefs.h. */
12809 /* Override any GCC internal prototype to avoid an error.
12810 Use char because int might match the return type of a GCC
12811 builtin and then its argument prototype would still apply. */
12812 char xsltCompilePattern ();
12814 main (void)
12816 return xsltCompilePattern ();
12818 return 0;
12820 _ACEOF
12821 if ac_fn_c_try_link "$LINENO"
12822 then :
12823 ac_cv_mingw_lib_xslt=yes
12824 else $as_nop
12825 ac_cv_mingw_lib_xslt=no
12827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12828 conftest$ac_exeext conftest.$ac_ext
12829 CC=$ac_wine_check_headers_saved_cc
12830 ac_exeext=$ac_wine_check_headers_saved_exeext
12831 LIBS=$ac_wine_check_headers_saved_libs
12833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12834 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12835 if test "x$ac_cv_mingw_lib_xslt" = xyes
12836 then :
12838 else $as_nop
12839 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12841 else
12842 XSLT_PE_CFLAGS=""
12843 XSLT_PE_LIBS=""
12845 CPPFLAGS=$ac_save_CPPFLAGS
12847 if test "x$XSLT_PE_LIBS" = "x"
12848 then
12849 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12852 if ${VKD3D_PE_CFLAGS:+false} :
12853 then :
12854 if test ${MINGW_PKG_CONFIG+y}
12855 then :
12856 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12859 if ${VKD3D_PE_LIBS:+false} :
12860 then :
12861 if test ${MINGW_PKG_CONFIG+y}
12862 then :
12863 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12866 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12867 ac_save_CPPFLAGS=$CPPFLAGS
12868 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12870 printf %s "checking for MinGW vkd3d.h... " >&6; }
12871 if test ${ac_cv_mingw_header_vkd3d_h+y}
12872 then :
12873 printf %s "(cached) " >&6
12874 else $as_nop
12875 ac_wine_check_headers_saved_cc=$CC
12876 ac_wine_check_headers_saved_exeext=$ac_exeext
12877 CC="$CROSSCC"
12878 ac_exeext=".exe"
12879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12882 #include <vkd3d.h>
12884 main (void)
12888 return 0;
12890 _ACEOF
12891 if ac_fn_c_try_compile "$LINENO"
12892 then :
12893 ac_cv_mingw_header_vkd3d_h=yes
12894 else $as_nop
12895 ac_cv_mingw_header_vkd3d_h=no
12897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12898 CC=$ac_wine_check_headers_saved_cc
12899 ac_exeext=$ac_wine_check_headers_saved_exeext
12901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12902 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12903 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12904 then :
12907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12908 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12909 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12910 then :
12911 printf %s "(cached) " >&6
12912 else $as_nop
12913 ac_wine_check_headers_saved_cc=$CC
12914 ac_wine_check_headers_saved_exeext=$ac_exeext
12915 CC="$CROSSCC"
12916 ac_exeext=".exe"
12917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12918 /* end confdefs.h. */
12920 #include <vkd3d_shader.h>
12922 main (void)
12926 return 0;
12928 _ACEOF
12929 if ac_fn_c_try_compile "$LINENO"
12930 then :
12931 ac_cv_mingw_header_vkd3d_shader_h=yes
12932 else $as_nop
12933 ac_cv_mingw_header_vkd3d_shader_h=no
12935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12936 CC=$ac_wine_check_headers_saved_cc
12937 ac_exeext=$ac_wine_check_headers_saved_exeext
12939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12940 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12941 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12942 then :
12945 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12946 then
12947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d" >&5
12948 printf %s "checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d... " >&6; }
12949 if test ${ac_cv_mingw_lib_vkd3d+y}
12950 then :
12951 printf %s "(cached) " >&6
12952 else $as_nop
12953 ac_wine_check_headers_saved_cc=$CC
12954 ac_wine_check_headers_saved_exeext=$ac_exeext
12955 ac_wine_check_headers_saved_libs=$LIBS
12956 CC="$CROSSCC"
12957 ac_exeext=".exe"
12958 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12960 /* end confdefs.h. */
12962 /* Override any GCC internal prototype to avoid an error.
12963 Use char because int might match the return type of a GCC
12964 builtin and then its argument prototype would still apply. */
12965 char vkd3d_serialize_versioned_root_signature ();
12967 main (void)
12969 return vkd3d_serialize_versioned_root_signature ();
12971 return 0;
12973 _ACEOF
12974 if ac_fn_c_try_link "$LINENO"
12975 then :
12976 ac_cv_mingw_lib_vkd3d=yes
12977 else $as_nop
12978 ac_cv_mingw_lib_vkd3d=no
12980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12981 conftest$ac_exeext conftest.$ac_ext
12982 CC=$ac_wine_check_headers_saved_cc
12983 ac_exeext=$ac_wine_check_headers_saved_exeext
12984 LIBS=$ac_wine_check_headers_saved_libs
12986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12987 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12988 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12989 then :
12991 else $as_nop
12994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12995 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12996 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12997 then :
12998 printf %s "(cached) " >&6
12999 else $as_nop
13000 ac_wine_check_headers_saved_cc=$CC
13001 ac_wine_check_headers_saved_exeext=$ac_exeext
13002 ac_wine_check_headers_saved_libs=$LIBS
13003 CC="$CROSSCC"
13004 ac_exeext=".exe"
13005 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13009 /* Override any GCC internal prototype to avoid an error.
13010 Use char because int might match the return type of a GCC
13011 builtin and then its argument prototype would still apply. */
13012 char vkd3d_shader_compile ();
13014 main (void)
13016 return vkd3d_shader_compile ();
13018 return 0;
13020 _ACEOF
13021 if ac_fn_c_try_link "$LINENO"
13022 then :
13023 ac_cv_mingw_lib_vkd3d_shader=yes
13024 else $as_nop
13025 ac_cv_mingw_lib_vkd3d_shader=no
13027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13028 conftest$ac_exeext conftest.$ac_ext
13029 CC=$ac_wine_check_headers_saved_cc
13030 ac_exeext=$ac_wine_check_headers_saved_exeext
13031 LIBS=$ac_wine_check_headers_saved_libs
13033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13034 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13035 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13036 then :
13038 else $as_nop
13041 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13042 then
13043 VKD3D_PE_CFLAGS=""
13044 VKD3D_PE_LIBS=""
13046 else
13047 VKD3D_PE_CFLAGS=""
13048 VKD3D_PE_LIBS=""
13050 CPPFLAGS=$ac_save_CPPFLAGS
13052 if test "x$VKD3D_PE_LIBS" = "x"
13053 then
13054 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found; using bundled version."
13057 if ${ZLIB_PE_CFLAGS:+false} :
13058 then :
13059 if test ${MINGW_PKG_CONFIG+y}
13060 then :
13061 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13064 if ${ZLIB_PE_LIBS:+false} :
13065 then :
13066 if test ${MINGW_PKG_CONFIG+y}
13067 then :
13068 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13071 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13072 ac_save_CPPFLAGS=$CPPFLAGS
13073 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13075 printf %s "checking for MinGW zlib.h... " >&6; }
13076 if test ${ac_cv_mingw_header_zlib_h+y}
13077 then :
13078 printf %s "(cached) " >&6
13079 else $as_nop
13080 ac_wine_check_headers_saved_cc=$CC
13081 ac_wine_check_headers_saved_exeext=$ac_exeext
13082 CC="$CROSSCC"
13083 ac_exeext=".exe"
13084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13085 /* end confdefs.h. */
13087 #include <zlib.h>
13089 main (void)
13093 return 0;
13095 _ACEOF
13096 if ac_fn_c_try_compile "$LINENO"
13097 then :
13098 ac_cv_mingw_header_zlib_h=yes
13099 else $as_nop
13100 ac_cv_mingw_header_zlib_h=no
13102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13103 CC=$ac_wine_check_headers_saved_cc
13104 ac_exeext=$ac_wine_check_headers_saved_exeext
13106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13107 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13108 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13109 then :
13110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13111 printf %s "checking for inflate in MinGW -lz... " >&6; }
13112 if test ${ac_cv_mingw_lib_z+y}
13113 then :
13114 printf %s "(cached) " >&6
13115 else $as_nop
13116 ac_wine_check_headers_saved_cc=$CC
13117 ac_wine_check_headers_saved_exeext=$ac_exeext
13118 ac_wine_check_headers_saved_libs=$LIBS
13119 CC="$CROSSCC"
13120 ac_exeext=".exe"
13121 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13123 /* end confdefs.h. */
13125 /* Override any GCC internal prototype to avoid an error.
13126 Use char because int might match the return type of a GCC
13127 builtin and then its argument prototype would still apply. */
13128 char inflate ();
13130 main (void)
13132 return inflate ();
13134 return 0;
13136 _ACEOF
13137 if ac_fn_c_try_link "$LINENO"
13138 then :
13139 ac_cv_mingw_lib_z=yes
13140 else $as_nop
13141 ac_cv_mingw_lib_z=no
13143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13144 conftest$ac_exeext conftest.$ac_ext
13145 CC=$ac_wine_check_headers_saved_cc
13146 ac_exeext=$ac_wine_check_headers_saved_exeext
13147 LIBS=$ac_wine_check_headers_saved_libs
13149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13150 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13151 if test "x$ac_cv_mingw_lib_z" = xyes
13152 then :
13154 else $as_nop
13155 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13157 else $as_nop
13158 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13160 CPPFLAGS=$ac_save_CPPFLAGS
13162 if test "x$ZLIB_PE_LIBS" = "x"
13163 then
13164 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13168 if ${FAUDIO_PE_LIBS:+false} :
13169 then :
13170 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13171 if ${FAUDIO_PE_CFLAGS:+false} :
13172 then :
13173 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13174 else $as_nop
13175 enable_faudio=no
13177 else $as_nop
13178 enable_faudio=no
13180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13183 if ${GSM_PE_LIBS:+false} :
13184 then :
13185 GSM_PE_LIBS=gsm
13186 if ${GSM_PE_CFLAGS:+false} :
13187 then :
13188 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13189 else $as_nop
13190 enable_gsm=no
13192 else $as_nop
13193 enable_gsm=no
13195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13198 if ${JPEG_PE_LIBS:+false} :
13199 then :
13200 JPEG_PE_LIBS=jpeg
13201 if ${JPEG_PE_CFLAGS:+false} :
13202 then :
13203 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13204 else $as_nop
13205 enable_jpeg=no
13207 else $as_nop
13208 enable_jpeg=no
13210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13213 if ${JXR_PE_LIBS:+false} :
13214 then :
13215 JXR_PE_LIBS=jxr
13216 if ${JXR_PE_CFLAGS:+false} :
13217 then :
13218 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13219 else $as_nop
13220 enable_jxr=no
13222 else $as_nop
13223 enable_jxr=no
13225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13228 if ${LCMS2_PE_LIBS:+false} :
13229 then :
13230 LCMS2_PE_LIBS=lcms2
13231 if ${LCMS2_PE_CFLAGS:+false} :
13232 then :
13233 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13234 else $as_nop
13235 enable_lcms2=no
13237 else $as_nop
13238 enable_lcms2=no
13240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13243 if ${MPG123_PE_LIBS:+false} :
13244 then :
13245 MPG123_PE_LIBS=mpg123
13246 if ${MPG123_PE_CFLAGS:+false} :
13247 then :
13248 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13249 else $as_nop
13250 enable_mpg123=no
13252 else $as_nop
13253 enable_mpg123=no
13255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13258 if ${PNG_PE_LIBS:+false} :
13259 then :
13260 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13261 if ${PNG_PE_CFLAGS:+false} :
13262 then :
13263 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13264 else $as_nop
13265 enable_png=no
13267 else $as_nop
13268 enable_png=no
13270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13273 if ${TIFF_PE_LIBS:+false} :
13274 then :
13275 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13276 if ${TIFF_PE_CFLAGS:+false} :
13277 then :
13278 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13279 else $as_nop
13280 enable_tiff=no
13282 else $as_nop
13283 enable_tiff=no
13285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13288 if ${VKD3D_PE_LIBS:+false} :
13289 then :
13290 VKD3D_PE_LIBS=vkd3d
13291 if ${VKD3D_PE_CFLAGS:+false} :
13292 then :
13293 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13294 else $as_nop
13295 enable_vkd3d=no
13297 else $as_nop
13298 enable_vkd3d=no
13300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13303 if ${XML2_PE_LIBS:+false} :
13304 then :
13305 XML2_PE_LIBS=xml2
13306 if ${XML2_PE_CFLAGS:+false} :
13307 then :
13308 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13309 else $as_nop
13310 enable_xml2=no
13312 else $as_nop
13313 enable_xml2=no
13315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13318 if ${XSLT_PE_LIBS:+false} :
13319 then :
13320 XSLT_PE_LIBS=xslt
13321 if ${XSLT_PE_CFLAGS:+false} :
13322 then :
13323 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13324 else $as_nop
13325 enable_xslt=no
13327 else $as_nop
13328 enable_xslt=no
13330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13333 if ${ZLIB_PE_LIBS:+false} :
13334 then :
13335 ZLIB_PE_LIBS=z
13336 if ${ZLIB_PE_CFLAGS:+false} :
13337 then :
13338 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13339 else $as_nop
13340 enable_zlib=no
13342 else $as_nop
13343 enable_zlib=no
13345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13350 if test "$ac_cv_header_pthread_h" = "yes"
13351 then
13352 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13353 if test "x$ac_cv_func_pthread_create" = xyes
13354 then :
13356 else $as_nop
13357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13358 printf %s "checking for pthread_create in -lpthread... " >&6; }
13359 if test ${ac_cv_lib_pthread_pthread_create+y}
13360 then :
13361 printf %s "(cached) " >&6
13362 else $as_nop
13363 ac_check_lib_save_LIBS=$LIBS
13364 LIBS="-lpthread $LIBS"
13365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13366 /* end confdefs.h. */
13368 /* Override any GCC internal prototype to avoid an error.
13369 Use char because int might match the return type of a GCC
13370 builtin and then its argument prototype would still apply. */
13371 char pthread_create ();
13373 main (void)
13375 return pthread_create ();
13377 return 0;
13379 _ACEOF
13380 if ac_fn_c_try_link "$LINENO"
13381 then :
13382 ac_cv_lib_pthread_pthread_create=yes
13383 else $as_nop
13384 ac_cv_lib_pthread_pthread_create=no
13386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13387 conftest$ac_exeext conftest.$ac_ext
13388 LIBS=$ac_check_lib_save_LIBS
13390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13391 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13392 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13393 then :
13394 PTHREAD_LIBS="-lpthread"
13401 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13402 then :
13403 case "x$with_pthread" in
13404 xno) ;;
13405 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13406 Wine cannot support threads without libpthread.
13407 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13408 esac
13413 ac_ext=c
13414 ac_cpp='$CPP $CPPFLAGS'
13415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13419 printf %s "checking how to run the C preprocessor... " >&6; }
13420 # On Suns, sometimes $CPP names a directory.
13421 if test -n "$CPP" && test -d "$CPP"; then
13422 CPP=
13424 if test -z "$CPP"; then
13425 if test ${ac_cv_prog_CPP+y}
13426 then :
13427 printf %s "(cached) " >&6
13428 else $as_nop
13429 # Double quotes because $CC needs to be expanded
13430 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13432 ac_preproc_ok=false
13433 for ac_c_preproc_warn_flag in '' yes
13435 # Use a header file that comes with gcc, so configuring glibc
13436 # with a fresh cross-compiler works.
13437 # On the NeXT, cc -E runs the code through the compiler's parser,
13438 # not just through cpp. "Syntax error" is here to catch this case.
13439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13440 /* end confdefs.h. */
13441 #include <limits.h>
13442 Syntax error
13443 _ACEOF
13444 if ac_fn_c_try_cpp "$LINENO"
13445 then :
13447 else $as_nop
13448 # Broken: fails on valid input.
13449 continue
13451 rm -f conftest.err conftest.i conftest.$ac_ext
13453 # OK, works on sane cases. Now check whether nonexistent headers
13454 # can be detected and how.
13455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13456 /* end confdefs.h. */
13457 #include <ac_nonexistent.h>
13458 _ACEOF
13459 if ac_fn_c_try_cpp "$LINENO"
13460 then :
13461 # Broken: success on invalid input.
13462 continue
13463 else $as_nop
13464 # Passes both tests.
13465 ac_preproc_ok=:
13466 break
13468 rm -f conftest.err conftest.i conftest.$ac_ext
13470 done
13471 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13472 rm -f conftest.i conftest.err conftest.$ac_ext
13473 if $ac_preproc_ok
13474 then :
13475 break
13478 done
13479 ac_cv_prog_CPP=$CPP
13482 CPP=$ac_cv_prog_CPP
13483 else
13484 ac_cv_prog_CPP=$CPP
13486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13487 printf "%s\n" "$CPP" >&6; }
13488 ac_preproc_ok=false
13489 for ac_c_preproc_warn_flag in '' yes
13491 # Use a header file that comes with gcc, so configuring glibc
13492 # with a fresh cross-compiler works.
13493 # On the NeXT, cc -E runs the code through the compiler's parser,
13494 # not just through cpp. "Syntax error" is here to catch this case.
13495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13496 /* end confdefs.h. */
13497 #include <limits.h>
13498 Syntax error
13499 _ACEOF
13500 if ac_fn_c_try_cpp "$LINENO"
13501 then :
13503 else $as_nop
13504 # Broken: fails on valid input.
13505 continue
13507 rm -f conftest.err conftest.i conftest.$ac_ext
13509 # OK, works on sane cases. Now check whether nonexistent headers
13510 # can be detected and how.
13511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13512 /* end confdefs.h. */
13513 #include <ac_nonexistent.h>
13514 _ACEOF
13515 if ac_fn_c_try_cpp "$LINENO"
13516 then :
13517 # Broken: success on invalid input.
13518 continue
13519 else $as_nop
13520 # Passes both tests.
13521 ac_preproc_ok=:
13522 break
13524 rm -f conftest.err conftest.i conftest.$ac_ext
13526 done
13527 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13528 rm -f conftest.i conftest.err conftest.$ac_ext
13529 if $ac_preproc_ok
13530 then :
13532 else $as_nop
13533 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13534 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13535 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13536 See \`config.log' for more details" "$LINENO" 5; }
13539 ac_ext=c
13540 ac_cpp='$CPP $CPPFLAGS'
13541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13547 printf %s "checking for X... " >&6; }
13550 # Check whether --with-x was given.
13551 if test ${with_x+y}
13552 then :
13553 withval=$with_x;
13556 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13557 if test "x$with_x" = xno; then
13558 # The user explicitly disabled X.
13559 have_x=disabled
13560 else
13561 case $x_includes,$x_libraries in #(
13562 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13563 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13564 then :
13565 printf %s "(cached) " >&6
13566 else $as_nop
13567 # One or both of the vars are not set, and there is no cached value.
13568 ac_x_includes=no
13569 ac_x_libraries=no
13570 # Do we need to do anything special at all?
13571 ac_save_LIBS=$LIBS
13572 LIBS="-lX11 $LIBS"
13573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13574 /* end confdefs.h. */
13575 #include <X11/Xlib.h>
13577 main (void)
13579 XrmInitialize ()
13581 return 0;
13583 _ACEOF
13584 if ac_fn_c_try_link "$LINENO"
13585 then :
13586 # We can compile and link X programs with no special options.
13587 ac_x_includes=
13588 ac_x_libraries=
13590 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13591 conftest$ac_exeext conftest.$ac_ext
13592 LIBS="$ac_save_LIBS"
13593 # If that didn't work, only try xmkmf and file system searches
13594 # for native compilation.
13595 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13596 then :
13597 rm -f -r conftest.dir
13598 if mkdir conftest.dir; then
13599 cd conftest.dir
13600 cat >Imakefile <<'_ACEOF'
13601 incroot:
13602 @echo incroot='${INCROOT}'
13603 usrlibdir:
13604 @echo usrlibdir='${USRLIBDIR}'
13605 libdir:
13606 @echo libdir='${LIBDIR}'
13607 _ACEOF
13608 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13609 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13610 for ac_var in incroot usrlibdir libdir; do
13611 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13612 done
13613 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13614 for ac_extension in a so sl dylib la dll; do
13615 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13616 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13617 ac_im_usrlibdir=$ac_im_libdir; break
13619 done
13620 # Screen out bogus values from the imake configuration. They are
13621 # bogus both because they are the default anyway, and because
13622 # using them would break gcc on systems where it needs fixed includes.
13623 case $ac_im_incroot in
13624 /usr/include) ac_x_includes= ;;
13625 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13626 esac
13627 case $ac_im_usrlibdir in
13628 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13629 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13630 esac
13632 cd ..
13633 rm -f -r conftest.dir
13636 # Standard set of common directories for X headers.
13637 # Check X11 before X11Rn because it is often a symlink to the current release.
13638 ac_x_header_dirs='
13639 /usr/X11/include
13640 /usr/X11R7/include
13641 /usr/X11R6/include
13642 /usr/X11R5/include
13643 /usr/X11R4/include
13645 /usr/include/X11
13646 /usr/include/X11R7
13647 /usr/include/X11R6
13648 /usr/include/X11R5
13649 /usr/include/X11R4
13651 /usr/local/X11/include
13652 /usr/local/X11R7/include
13653 /usr/local/X11R6/include
13654 /usr/local/X11R5/include
13655 /usr/local/X11R4/include
13657 /usr/local/include/X11
13658 /usr/local/include/X11R7
13659 /usr/local/include/X11R6
13660 /usr/local/include/X11R5
13661 /usr/local/include/X11R4
13663 /opt/X11/include
13665 /usr/X386/include
13666 /usr/x386/include
13667 /usr/XFree86/include/X11
13669 /usr/include
13670 /usr/local/include
13671 /usr/unsupported/include
13672 /usr/athena/include
13673 /usr/local/x11r5/include
13674 /usr/lpp/Xamples/include
13676 /usr/openwin/include
13677 /usr/openwin/share/include'
13679 if test "$ac_x_includes" = no; then
13680 # Guess where to find include files, by looking for Xlib.h.
13681 # First, try using that file with no special directory specified.
13682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13683 /* end confdefs.h. */
13684 #include <X11/Xlib.h>
13685 _ACEOF
13686 if ac_fn_c_try_cpp "$LINENO"
13687 then :
13688 # We can compile using X headers with no special include directory.
13689 ac_x_includes=
13690 else $as_nop
13691 for ac_dir in $ac_x_header_dirs; do
13692 if test -r "$ac_dir/X11/Xlib.h"; then
13693 ac_x_includes=$ac_dir
13694 break
13696 done
13698 rm -f conftest.err conftest.i conftest.$ac_ext
13699 fi # $ac_x_includes = no
13701 if test "$ac_x_libraries" = no; then
13702 # Check for the libraries.
13703 # See if we find them without any special options.
13704 # Don't add to $LIBS permanently.
13705 ac_save_LIBS=$LIBS
13706 LIBS="-lX11 $LIBS"
13707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13708 /* end confdefs.h. */
13709 #include <X11/Xlib.h>
13711 main (void)
13713 XrmInitialize ()
13715 return 0;
13717 _ACEOF
13718 if ac_fn_c_try_link "$LINENO"
13719 then :
13720 LIBS=$ac_save_LIBS
13721 # We can link X programs with no special library path.
13722 ac_x_libraries=
13723 else $as_nop
13724 LIBS=$ac_save_LIBS
13725 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13727 # Don't even attempt the hair of trying to link an X program!
13728 for ac_extension in a so sl dylib la dll; do
13729 if test -r "$ac_dir/libX11.$ac_extension"; then
13730 ac_x_libraries=$ac_dir
13731 break 2
13733 done
13734 done
13736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13737 conftest$ac_exeext conftest.$ac_ext
13738 fi # $ac_x_libraries = no
13741 # Record the results.
13742 case $ac_x_includes,$ac_x_libraries in #(
13743 no,* | *,no | *\'*) :
13744 # Didn't find X, or a directory has "'" in its name.
13745 ac_cv_have_x="have_x=no" ;; #(
13746 *) :
13747 # Record where we found X for the cache.
13748 ac_cv_have_x="have_x=yes\
13749 ac_x_includes='$ac_x_includes'\
13750 ac_x_libraries='$ac_x_libraries'" ;;
13751 esac
13753 ;; #(
13754 *) have_x=yes;;
13755 esac
13756 eval "$ac_cv_have_x"
13757 fi # $with_x != no
13759 if test "$have_x" != yes; then
13760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13761 printf "%s\n" "$have_x" >&6; }
13762 no_x=yes
13763 else
13764 # If each of the values was on the command line, it overrides each guess.
13765 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13766 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13767 # Update the cache value to reflect the command line values.
13768 ac_cv_have_x="have_x=yes\
13769 ac_x_includes='$x_includes'\
13770 ac_x_libraries='$x_libraries'"
13771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13772 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13775 if test "$no_x" = yes; then
13776 # Not all programs may use this symbol, but it does not hurt to define it.
13778 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13780 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13781 else
13782 if test -n "$x_includes"; then
13783 X_CFLAGS="$X_CFLAGS -I$x_includes"
13786 # It would also be nice to do this for all -L options, not just this one.
13787 if test -n "$x_libraries"; then
13788 X_LIBS="$X_LIBS -L$x_libraries"
13789 # For Solaris; some versions of Sun CC require a space after -R and
13790 # others require no space. Words are not sufficient . . . .
13791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13792 printf %s "checking whether -R must be followed by a space... " >&6; }
13793 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13794 ac_xsave_c_werror_flag=$ac_c_werror_flag
13795 ac_c_werror_flag=yes
13796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13800 main (void)
13804 return 0;
13806 _ACEOF
13807 if ac_fn_c_try_link "$LINENO"
13808 then :
13809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13810 printf "%s\n" "no" >&6; }
13811 X_LIBS="$X_LIBS -R$x_libraries"
13812 else $as_nop
13813 LIBS="$ac_xsave_LIBS -R $x_libraries"
13814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13815 /* end confdefs.h. */
13818 main (void)
13822 return 0;
13824 _ACEOF
13825 if ac_fn_c_try_link "$LINENO"
13826 then :
13827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13828 printf "%s\n" "yes" >&6; }
13829 X_LIBS="$X_LIBS -R $x_libraries"
13830 else $as_nop
13831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13832 printf "%s\n" "neither works" >&6; }
13834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13835 conftest$ac_exeext conftest.$ac_ext
13837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13838 conftest$ac_exeext conftest.$ac_ext
13839 ac_c_werror_flag=$ac_xsave_c_werror_flag
13840 LIBS=$ac_xsave_LIBS
13843 # Check for system-dependent libraries X programs must link with.
13844 # Do this before checking for the system-independent R6 libraries
13845 # (-lICE), since we may need -lsocket or whatever for X linking.
13847 if test "$ISC" = yes; then
13848 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13849 else
13850 # Martyn Johnson says this is needed for Ultrix, if the X
13851 # libraries were built with DECnet support. And Karl Berry says
13852 # the Alpha needs dnet_stub (dnet does not exist).
13853 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13855 /* end confdefs.h. */
13857 /* Override any GCC internal prototype to avoid an error.
13858 Use char because int might match the return type of a GCC
13859 builtin and then its argument prototype would still apply. */
13860 char XOpenDisplay ();
13862 main (void)
13864 return XOpenDisplay ();
13866 return 0;
13868 _ACEOF
13869 if ac_fn_c_try_link "$LINENO"
13870 then :
13872 else $as_nop
13873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13874 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13875 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13876 then :
13877 printf %s "(cached) " >&6
13878 else $as_nop
13879 ac_check_lib_save_LIBS=$LIBS
13880 LIBS="-ldnet $LIBS"
13881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h. */
13884 /* Override any GCC internal prototype to avoid an error.
13885 Use char because int might match the return type of a GCC
13886 builtin and then its argument prototype would still apply. */
13887 char dnet_ntoa ();
13889 main (void)
13891 return dnet_ntoa ();
13893 return 0;
13895 _ACEOF
13896 if ac_fn_c_try_link "$LINENO"
13897 then :
13898 ac_cv_lib_dnet_dnet_ntoa=yes
13899 else $as_nop
13900 ac_cv_lib_dnet_dnet_ntoa=no
13902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13903 conftest$ac_exeext conftest.$ac_ext
13904 LIBS=$ac_check_lib_save_LIBS
13906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13907 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13908 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13909 then :
13910 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13913 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13915 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13916 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13917 then :
13918 printf %s "(cached) " >&6
13919 else $as_nop
13920 ac_check_lib_save_LIBS=$LIBS
13921 LIBS="-ldnet_stub $LIBS"
13922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13923 /* end confdefs.h. */
13925 /* Override any GCC internal prototype to avoid an error.
13926 Use char because int might match the return type of a GCC
13927 builtin and then its argument prototype would still apply. */
13928 char dnet_ntoa ();
13930 main (void)
13932 return dnet_ntoa ();
13934 return 0;
13936 _ACEOF
13937 if ac_fn_c_try_link "$LINENO"
13938 then :
13939 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13940 else $as_nop
13941 ac_cv_lib_dnet_stub_dnet_ntoa=no
13943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13944 conftest$ac_exeext conftest.$ac_ext
13945 LIBS=$ac_check_lib_save_LIBS
13947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13948 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13949 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13950 then :
13951 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13957 conftest$ac_exeext conftest.$ac_ext
13958 LIBS="$ac_xsave_LIBS"
13960 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13961 # to get the SysV transport functions.
13962 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13963 # needs -lnsl.
13964 # The nsl library prevents programs from opening the X display
13965 # on Irix 5.2, according to T.E. Dickey.
13966 # The functions gethostbyname, getservbyname, and inet_addr are
13967 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13968 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13969 if test "x$ac_cv_func_gethostbyname" = xyes
13970 then :
13974 if test $ac_cv_func_gethostbyname = no; then
13975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13976 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13977 if test ${ac_cv_lib_nsl_gethostbyname+y}
13978 then :
13979 printf %s "(cached) " >&6
13980 else $as_nop
13981 ac_check_lib_save_LIBS=$LIBS
13982 LIBS="-lnsl $LIBS"
13983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13984 /* end confdefs.h. */
13986 /* Override any GCC internal prototype to avoid an error.
13987 Use char because int might match the return type of a GCC
13988 builtin and then its argument prototype would still apply. */
13989 char gethostbyname ();
13991 main (void)
13993 return gethostbyname ();
13995 return 0;
13997 _ACEOF
13998 if ac_fn_c_try_link "$LINENO"
13999 then :
14000 ac_cv_lib_nsl_gethostbyname=yes
14001 else $as_nop
14002 ac_cv_lib_nsl_gethostbyname=no
14004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14005 conftest$ac_exeext conftest.$ac_ext
14006 LIBS=$ac_check_lib_save_LIBS
14008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14009 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14010 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14011 then :
14012 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14015 if test $ac_cv_lib_nsl_gethostbyname = no; then
14016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14017 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14018 if test ${ac_cv_lib_bsd_gethostbyname+y}
14019 then :
14020 printf %s "(cached) " >&6
14021 else $as_nop
14022 ac_check_lib_save_LIBS=$LIBS
14023 LIBS="-lbsd $LIBS"
14024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14025 /* end confdefs.h. */
14027 /* Override any GCC internal prototype to avoid an error.
14028 Use char because int might match the return type of a GCC
14029 builtin and then its argument prototype would still apply. */
14030 char gethostbyname ();
14032 main (void)
14034 return gethostbyname ();
14036 return 0;
14038 _ACEOF
14039 if ac_fn_c_try_link "$LINENO"
14040 then :
14041 ac_cv_lib_bsd_gethostbyname=yes
14042 else $as_nop
14043 ac_cv_lib_bsd_gethostbyname=no
14045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14046 conftest$ac_exeext conftest.$ac_ext
14047 LIBS=$ac_check_lib_save_LIBS
14049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14050 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14051 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14052 then :
14053 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14059 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14060 # socket/setsockopt and other routines are undefined under SCO ODT
14061 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14062 # on later versions), says Simon Leinen: it contains gethostby*
14063 # variants that don't use the name server (or something). -lsocket
14064 # must be given before -lnsl if both are needed. We assume that
14065 # if connect needs -lnsl, so does gethostbyname.
14066 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14067 if test "x$ac_cv_func_connect" = xyes
14068 then :
14072 if test $ac_cv_func_connect = no; then
14073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14074 printf %s "checking for connect in -lsocket... " >&6; }
14075 if test ${ac_cv_lib_socket_connect+y}
14076 then :
14077 printf %s "(cached) " >&6
14078 else $as_nop
14079 ac_check_lib_save_LIBS=$LIBS
14080 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14084 /* Override any GCC internal prototype to avoid an error.
14085 Use char because int might match the return type of a GCC
14086 builtin and then its argument prototype would still apply. */
14087 char connect ();
14089 main (void)
14091 return connect ();
14093 return 0;
14095 _ACEOF
14096 if ac_fn_c_try_link "$LINENO"
14097 then :
14098 ac_cv_lib_socket_connect=yes
14099 else $as_nop
14100 ac_cv_lib_socket_connect=no
14102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14103 conftest$ac_exeext conftest.$ac_ext
14104 LIBS=$ac_check_lib_save_LIBS
14106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14107 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14108 if test "x$ac_cv_lib_socket_connect" = xyes
14109 then :
14110 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14115 # Guillermo Gomez says -lposix is necessary on A/UX.
14116 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14117 if test "x$ac_cv_func_remove" = xyes
14118 then :
14122 if test $ac_cv_func_remove = no; then
14123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14124 printf %s "checking for remove in -lposix... " >&6; }
14125 if test ${ac_cv_lib_posix_remove+y}
14126 then :
14127 printf %s "(cached) " >&6
14128 else $as_nop
14129 ac_check_lib_save_LIBS=$LIBS
14130 LIBS="-lposix $LIBS"
14131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14134 /* Override any GCC internal prototype to avoid an error.
14135 Use char because int might match the return type of a GCC
14136 builtin and then its argument prototype would still apply. */
14137 char remove ();
14139 main (void)
14141 return remove ();
14143 return 0;
14145 _ACEOF
14146 if ac_fn_c_try_link "$LINENO"
14147 then :
14148 ac_cv_lib_posix_remove=yes
14149 else $as_nop
14150 ac_cv_lib_posix_remove=no
14152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14153 conftest$ac_exeext conftest.$ac_ext
14154 LIBS=$ac_check_lib_save_LIBS
14156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14157 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14158 if test "x$ac_cv_lib_posix_remove" = xyes
14159 then :
14160 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14165 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14166 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14167 if test "x$ac_cv_func_shmat" = xyes
14168 then :
14172 if test $ac_cv_func_shmat = no; then
14173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14174 printf %s "checking for shmat in -lipc... " >&6; }
14175 if test ${ac_cv_lib_ipc_shmat+y}
14176 then :
14177 printf %s "(cached) " >&6
14178 else $as_nop
14179 ac_check_lib_save_LIBS=$LIBS
14180 LIBS="-lipc $LIBS"
14181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14184 /* Override any GCC internal prototype to avoid an error.
14185 Use char because int might match the return type of a GCC
14186 builtin and then its argument prototype would still apply. */
14187 char shmat ();
14189 main (void)
14191 return shmat ();
14193 return 0;
14195 _ACEOF
14196 if ac_fn_c_try_link "$LINENO"
14197 then :
14198 ac_cv_lib_ipc_shmat=yes
14199 else $as_nop
14200 ac_cv_lib_ipc_shmat=no
14202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14203 conftest$ac_exeext conftest.$ac_ext
14204 LIBS=$ac_check_lib_save_LIBS
14206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14207 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14208 if test "x$ac_cv_lib_ipc_shmat" = xyes
14209 then :
14210 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14216 # Check for libraries that X11R6 Xt/Xaw programs need.
14217 ac_save_LDFLAGS=$LDFLAGS
14218 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14219 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14220 # check for ICE first), but we must link in the order -lSM -lICE or
14221 # we get undefined symbols. So assume we have SM if we have ICE.
14222 # These have to be linked with before -lX11, unlike the other
14223 # libraries we check for below, so use a different variable.
14224 # John Interrante, Karl Berry
14225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14226 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14227 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14228 then :
14229 printf %s "(cached) " >&6
14230 else $as_nop
14231 ac_check_lib_save_LIBS=$LIBS
14232 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14234 /* end confdefs.h. */
14236 /* Override any GCC internal prototype to avoid an error.
14237 Use char because int might match the return type of a GCC
14238 builtin and then its argument prototype would still apply. */
14239 char IceConnectionNumber ();
14241 main (void)
14243 return IceConnectionNumber ();
14245 return 0;
14247 _ACEOF
14248 if ac_fn_c_try_link "$LINENO"
14249 then :
14250 ac_cv_lib_ICE_IceConnectionNumber=yes
14251 else $as_nop
14252 ac_cv_lib_ICE_IceConnectionNumber=no
14254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14255 conftest$ac_exeext conftest.$ac_ext
14256 LIBS=$ac_check_lib_save_LIBS
14258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14259 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14260 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14261 then :
14262 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14265 LDFLAGS=$ac_save_LDFLAGS
14270 if test "$have_x" = "yes"
14271 then
14272 ac_save_CPPFLAGS="$CPPFLAGS"
14273 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14276 printf %s "checking for -lX11... " >&6; }
14277 if test ${ac_cv_lib_soname_X11+y}
14278 then :
14279 printf %s "(cached) " >&6
14280 else $as_nop
14281 ac_check_soname_save_LIBS=$LIBS
14282 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14286 /* Override any GCC internal prototype to avoid an error.
14287 Use char because int might match the return type of a GCC
14288 builtin and then its argument prototype would still apply. */
14289 char XCreateWindow ();
14291 main (void)
14293 return XCreateWindow ();
14295 return 0;
14297 _ACEOF
14298 if ac_fn_c_try_link "$LINENO"
14299 then :
14300 case "$LIBEXT" in
14301 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14302 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'` ;;
14303 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14304 if ${ac_cv_lib_soname_X11:+false} :
14305 then :
14306 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14307 fi ;;
14308 esac
14309 else $as_nop
14310 ac_cv_lib_soname_X11=
14312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14313 conftest$ac_exeext conftest.$ac_ext
14314 LIBS=$ac_check_soname_save_LIBS
14316 if ${ac_cv_lib_soname_X11:+false} :
14317 then :
14318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14319 printf "%s\n" "not found" >&6; }
14321 else $as_nop
14322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14323 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14325 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14330 printf %s "checking for -lXext... " >&6; }
14331 if test ${ac_cv_lib_soname_Xext+y}
14332 then :
14333 printf %s "(cached) " >&6
14334 else $as_nop
14335 ac_check_soname_save_LIBS=$LIBS
14336 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14340 /* Override any GCC internal prototype to avoid an error.
14341 Use char because int might match the return type of a GCC
14342 builtin and then its argument prototype would still apply. */
14343 char XextCreateExtension ();
14345 main (void)
14347 return XextCreateExtension ();
14349 return 0;
14351 _ACEOF
14352 if ac_fn_c_try_link "$LINENO"
14353 then :
14354 case "$LIBEXT" in
14355 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14356 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'` ;;
14357 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14358 if ${ac_cv_lib_soname_Xext:+false} :
14359 then :
14360 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14361 fi ;;
14362 esac
14363 else $as_nop
14364 ac_cv_lib_soname_Xext=
14366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14367 conftest$ac_exeext conftest.$ac_ext
14368 LIBS=$ac_check_soname_save_LIBS
14370 if ${ac_cv_lib_soname_Xext:+false} :
14371 then :
14372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14373 printf "%s\n" "not found" >&6; }
14375 else $as_nop
14376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14377 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14379 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14381 X_LIBS="$X_LIBS -lXext"
14383 X_LIBS="$X_LIBS -lX11"
14385 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14386 # include <X11/Xlib.h>
14387 #endif
14388 #ifdef HAVE_X11_XUTIL_H
14389 # include <X11/Xutil.h>
14390 #endif
14392 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14393 then :
14394 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14397 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14398 # include <X11/Xlib.h>
14399 #endif
14400 #ifdef HAVE_X11_XUTIL_H
14401 # include <X11/Xutil.h>
14402 #endif
14404 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14405 then :
14406 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14409 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14410 # include <X11/Xlib.h>
14411 #endif
14412 #ifdef HAVE_X11_XUTIL_H
14413 # include <X11/Xutil.h>
14414 #endif
14416 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14417 then :
14418 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14421 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14422 # include <X11/Xlib.h>
14423 #endif
14424 #ifdef HAVE_X11_XUTIL_H
14425 # include <X11/Xutil.h>
14426 #endif
14428 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14429 then :
14430 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14433 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14434 # include <X11/Xlib.h>
14435 #endif
14436 #ifdef HAVE_X11_XUTIL_H
14437 # include <X11/Xutil.h>
14438 #endif
14440 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14441 then :
14442 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14445 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14446 # include <X11/Xlib.h>
14447 #endif
14448 #ifdef HAVE_X11_XUTIL_H
14449 # include <X11/Xutil.h>
14450 #endif
14452 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14453 then :
14454 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14457 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14458 # include <X11/Xlib.h>
14459 #endif
14460 #ifdef HAVE_X11_XUTIL_H
14461 # include <X11/Xutil.h>
14462 #endif
14464 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14465 then :
14466 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14469 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14470 # include <X11/Xlib.h>
14471 #endif
14472 #ifdef HAVE_X11_XUTIL_H
14473 # include <X11/Xutil.h>
14474 #endif
14476 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14477 then :
14478 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14481 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14482 # include <X11/Xlib.h>
14483 #endif
14484 #ifdef HAVE_X11_XUTIL_H
14485 # include <X11/Xutil.h>
14486 #endif
14488 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14489 then :
14490 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14493 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14494 # include <X11/Xlib.h>
14495 #endif
14496 #ifdef HAVE_X11_XUTIL_H
14497 # include <X11/Xutil.h>
14498 #endif
14500 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14501 then :
14502 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14505 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14506 # include <X11/Xlib.h>
14507 #endif
14508 #ifdef HAVE_X11_XUTIL_H
14509 # include <X11/Xutil.h>
14510 #endif
14512 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14513 then :
14514 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14517 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14518 # include <X11/Xlib.h>
14519 #endif
14520 #ifdef HAVE_X11_XUTIL_H
14521 # include <X11/Xutil.h>
14522 #endif
14524 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14525 then :
14526 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14529 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14530 # include <X11/Xlib.h>
14531 #endif
14532 #ifdef HAVE_X11_XUTIL_H
14533 # include <X11/Xutil.h>
14534 #endif
14536 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14537 then :
14538 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14541 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14542 # include <X11/Xlib.h>
14543 #endif
14544 #ifdef HAVE_X11_XUTIL_H
14545 # include <X11/Xutil.h>
14546 #endif
14548 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14549 then :
14550 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14553 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14554 # include <X11/Xlib.h>
14555 #endif
14556 #ifdef HAVE_X11_XUTIL_H
14557 # include <X11/Xutil.h>
14558 #endif
14560 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14561 then :
14562 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14567 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14568 then
14569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14570 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14571 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14572 then :
14573 printf %s "(cached) " >&6
14574 else $as_nop
14575 ac_check_lib_save_LIBS=$LIBS
14576 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14578 /* end confdefs.h. */
14580 /* Override any GCC internal prototype to avoid an error.
14581 Use char because int might match the return type of a GCC
14582 builtin and then its argument prototype would still apply. */
14583 char XkbQueryExtension ();
14585 main (void)
14587 return XkbQueryExtension ();
14589 return 0;
14591 _ACEOF
14592 if ac_fn_c_try_link "$LINENO"
14593 then :
14594 ac_cv_lib_X11_XkbQueryExtension=yes
14595 else $as_nop
14596 ac_cv_lib_X11_XkbQueryExtension=no
14598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14599 conftest$ac_exeext conftest.$ac_ext
14600 LIBS=$ac_check_lib_save_LIBS
14602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14603 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14604 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14605 then :
14607 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14613 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14614 then
14615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14616 printf %s "checking for -lXcursor... " >&6; }
14617 if test ${ac_cv_lib_soname_Xcursor+y}
14618 then :
14619 printf %s "(cached) " >&6
14620 else $as_nop
14621 ac_check_soname_save_LIBS=$LIBS
14622 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14624 /* end confdefs.h. */
14626 /* Override any GCC internal prototype to avoid an error.
14627 Use char because int might match the return type of a GCC
14628 builtin and then its argument prototype would still apply. */
14629 char XcursorImageLoadCursor ();
14631 main (void)
14633 return XcursorImageLoadCursor ();
14635 return 0;
14637 _ACEOF
14638 if ac_fn_c_try_link "$LINENO"
14639 then :
14640 case "$LIBEXT" in
14641 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14642 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'` ;;
14643 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14644 if ${ac_cv_lib_soname_Xcursor:+false} :
14645 then :
14646 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14647 fi ;;
14648 esac
14649 else $as_nop
14650 ac_cv_lib_soname_Xcursor=
14652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14653 conftest$ac_exeext conftest.$ac_ext
14654 LIBS=$ac_check_soname_save_LIBS
14656 if ${ac_cv_lib_soname_Xcursor:+false} :
14657 then :
14658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14659 printf "%s\n" "not found" >&6; }
14661 else $as_nop
14662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14663 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14665 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14670 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14671 then :
14672 case "x$with_xcursor" in
14673 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14674 xno) ;;
14675 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14676 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14677 esac
14681 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14682 then
14683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14684 printf %s "checking for -lXi... " >&6; }
14685 if test ${ac_cv_lib_soname_Xi+y}
14686 then :
14687 printf %s "(cached) " >&6
14688 else $as_nop
14689 ac_check_soname_save_LIBS=$LIBS
14690 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14692 /* end confdefs.h. */
14694 /* Override any GCC internal prototype to avoid an error.
14695 Use char because int might match the return type of a GCC
14696 builtin and then its argument prototype would still apply. */
14697 char XOpenDevice ();
14699 main (void)
14701 return XOpenDevice ();
14703 return 0;
14705 _ACEOF
14706 if ac_fn_c_try_link "$LINENO"
14707 then :
14708 case "$LIBEXT" in
14709 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14710 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'` ;;
14711 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14712 if ${ac_cv_lib_soname_Xi:+false} :
14713 then :
14714 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14715 fi ;;
14716 esac
14717 else $as_nop
14718 ac_cv_lib_soname_Xi=
14720 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14721 conftest$ac_exeext conftest.$ac_ext
14722 LIBS=$ac_check_soname_save_LIBS
14724 if ${ac_cv_lib_soname_Xi:+false} :
14725 then :
14726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14727 printf "%s\n" "not found" >&6; }
14729 else $as_nop
14730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14731 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14733 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14738 if test "x$ac_cv_lib_soname_Xi" = "x"
14739 then :
14740 case "x$with_xinput" in
14741 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14742 xno) ;;
14743 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14744 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14745 esac
14749 if test "x$ac_cv_lib_soname_Xi" != x
14750 then
14751 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14752 then :
14753 case "x$with_xinput2" in
14754 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14755 xno) ;;
14756 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14757 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14758 esac
14763 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14764 then
14765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14766 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14767 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14768 then :
14769 printf %s "(cached) " >&6
14770 else $as_nop
14771 ac_check_lib_save_LIBS=$LIBS
14772 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h. */
14776 /* Override any GCC internal prototype to avoid an error.
14777 Use char because int might match the return type of a GCC
14778 builtin and then its argument prototype would still apply. */
14779 char XShmQueryExtension ();
14781 main (void)
14783 return XShmQueryExtension ();
14785 return 0;
14787 _ACEOF
14788 if ac_fn_c_try_link "$LINENO"
14789 then :
14790 ac_cv_lib_Xext_XShmQueryExtension=yes
14791 else $as_nop
14792 ac_cv_lib_Xext_XShmQueryExtension=no
14794 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14795 conftest$ac_exeext conftest.$ac_ext
14796 LIBS=$ac_check_lib_save_LIBS
14798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14799 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14800 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14801 then :
14803 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14808 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14809 then :
14810 case "x$with_xshm" in
14811 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14812 xno) ;;
14813 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14814 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14815 esac
14819 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14820 then
14821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14822 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14823 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14824 then :
14825 printf %s "(cached) " >&6
14826 else $as_nop
14827 ac_check_lib_save_LIBS=$LIBS
14828 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14830 /* end confdefs.h. */
14832 /* Override any GCC internal prototype to avoid an error.
14833 Use char because int might match the return type of a GCC
14834 builtin and then its argument prototype would still apply. */
14835 char XShapeQueryExtension ();
14837 main (void)
14839 return XShapeQueryExtension ();
14841 return 0;
14843 _ACEOF
14844 if ac_fn_c_try_link "$LINENO"
14845 then :
14846 ac_cv_lib_Xext_XShapeQueryExtension=yes
14847 else $as_nop
14848 ac_cv_lib_Xext_XShapeQueryExtension=no
14850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14851 conftest$ac_exeext conftest.$ac_ext
14852 LIBS=$ac_check_lib_save_LIBS
14854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14855 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14856 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14857 then :
14859 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14864 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14865 then :
14866 case "x$with_xshape" in
14867 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14868 xno) ;;
14869 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14870 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14871 esac
14875 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14876 then
14877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14878 printf %s "checking for -lXxf86vm... " >&6; }
14879 if test ${ac_cv_lib_soname_Xxf86vm+y}
14880 then :
14881 printf %s "(cached) " >&6
14882 else $as_nop
14883 ac_check_soname_save_LIBS=$LIBS
14884 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14888 /* Override any GCC internal prototype to avoid an error.
14889 Use char because int might match the return type of a GCC
14890 builtin and then its argument prototype would still apply. */
14891 char XF86VidModeQueryExtension ();
14893 main (void)
14895 return XF86VidModeQueryExtension ();
14897 return 0;
14899 _ACEOF
14900 if ac_fn_c_try_link "$LINENO"
14901 then :
14902 case "$LIBEXT" in
14903 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14904 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'` ;;
14905 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14906 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14907 then :
14908 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14909 fi ;;
14910 esac
14911 else $as_nop
14912 ac_cv_lib_soname_Xxf86vm=
14914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14915 conftest$ac_exeext conftest.$ac_ext
14916 LIBS=$ac_check_soname_save_LIBS
14918 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14919 then :
14920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14921 printf "%s\n" "not found" >&6; }
14923 else $as_nop
14924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14925 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14927 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14932 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14933 then :
14934 case "x$with_xxf86vm" in
14935 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14936 xno) ;;
14937 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14938 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14939 esac
14943 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14944 then
14945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14946 printf %s "checking for -lXrender... " >&6; }
14947 if test ${ac_cv_lib_soname_Xrender+y}
14948 then :
14949 printf %s "(cached) " >&6
14950 else $as_nop
14951 ac_check_soname_save_LIBS=$LIBS
14952 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14956 /* Override any GCC internal prototype to avoid an error.
14957 Use char because int might match the return type of a GCC
14958 builtin and then its argument prototype would still apply. */
14959 char XRenderQueryExtension ();
14961 main (void)
14963 return XRenderQueryExtension ();
14965 return 0;
14967 _ACEOF
14968 if ac_fn_c_try_link "$LINENO"
14969 then :
14970 case "$LIBEXT" in
14971 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14972 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'` ;;
14973 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14974 if ${ac_cv_lib_soname_Xrender:+false} :
14975 then :
14976 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14977 fi ;;
14978 esac
14979 else $as_nop
14980 ac_cv_lib_soname_Xrender=
14982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14983 conftest$ac_exeext conftest.$ac_ext
14984 LIBS=$ac_check_soname_save_LIBS
14986 if ${ac_cv_lib_soname_Xrender:+false} :
14987 then :
14988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14989 printf "%s\n" "not found" >&6; }
14991 else $as_nop
14992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14993 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14995 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14998 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14999 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15000 then :
15001 printf %s "(cached) " >&6
15002 else $as_nop
15003 ac_check_lib_save_LIBS=$LIBS
15004 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15008 /* Override any GCC internal prototype to avoid an error.
15009 Use char because int might match the return type of a GCC
15010 builtin and then its argument prototype would still apply. */
15011 char XRenderSetPictureTransform ();
15013 main (void)
15015 return XRenderSetPictureTransform ();
15017 return 0;
15019 _ACEOF
15020 if ac_fn_c_try_link "$LINENO"
15021 then :
15022 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15023 else $as_nop
15024 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15027 conftest$ac_exeext conftest.$ac_ext
15028 LIBS=$ac_check_lib_save_LIBS
15030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15031 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15032 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15033 then :
15035 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15040 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15041 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15042 then :
15043 printf %s "(cached) " >&6
15044 else $as_nop
15045 ac_check_lib_save_LIBS=$LIBS
15046 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15048 /* end confdefs.h. */
15050 /* Override any GCC internal prototype to avoid an error.
15051 Use char because int might match the return type of a GCC
15052 builtin and then its argument prototype would still apply. */
15053 char XRenderCreateLinearGradient ();
15055 main (void)
15057 return XRenderCreateLinearGradient ();
15059 return 0;
15061 _ACEOF
15062 if ac_fn_c_try_link "$LINENO"
15063 then :
15064 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15065 else $as_nop
15066 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15069 conftest$ac_exeext conftest.$ac_ext
15070 LIBS=$ac_check_lib_save_LIBS
15072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15073 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15074 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15075 then :
15077 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15084 if test "x$ac_cv_lib_soname_Xrender" = "x"
15085 then :
15086 case "x$with_xrender" in
15087 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15088 xno) ;;
15089 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15090 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15091 esac
15095 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15096 then
15097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15098 /* end confdefs.h. */
15099 #include <X11/Xlib.h>
15100 #include <X11/extensions/Xrandr.h>
15102 main (void)
15104 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15106 return 0;
15108 _ACEOF
15109 if ac_fn_c_try_compile "$LINENO"
15110 then :
15111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15112 printf %s "checking for -lXrandr... " >&6; }
15113 if test ${ac_cv_lib_soname_Xrandr+y}
15114 then :
15115 printf %s "(cached) " >&6
15116 else $as_nop
15117 ac_check_soname_save_LIBS=$LIBS
15118 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15120 /* end confdefs.h. */
15122 /* Override any GCC internal prototype to avoid an error.
15123 Use char because int might match the return type of a GCC
15124 builtin and then its argument prototype would still apply. */
15125 char XRRQueryExtension ();
15127 main (void)
15129 return XRRQueryExtension ();
15131 return 0;
15133 _ACEOF
15134 if ac_fn_c_try_link "$LINENO"
15135 then :
15136 case "$LIBEXT" in
15137 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15138 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'` ;;
15139 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15140 if ${ac_cv_lib_soname_Xrandr:+false} :
15141 then :
15142 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15143 fi ;;
15144 esac
15145 else $as_nop
15146 ac_cv_lib_soname_Xrandr=
15148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15149 conftest$ac_exeext conftest.$ac_ext
15150 LIBS=$ac_check_soname_save_LIBS
15152 if ${ac_cv_lib_soname_Xrandr:+false} :
15153 then :
15154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15155 printf "%s\n" "not found" >&6; }
15157 else $as_nop
15158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15159 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15161 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15165 #include <X11/Xlib.h>
15166 #include <X11/extensions/Xrandr.h>
15168 main (void)
15170 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15172 return 0;
15174 _ACEOF
15175 if ac_fn_c_try_compile "$LINENO"
15176 then :
15178 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15180 else $as_nop
15181 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15188 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15189 then :
15190 case "x$with_xrandr" in
15191 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15192 xno) ;;
15193 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15194 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15195 esac
15199 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15200 then
15201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15202 /* end confdefs.h. */
15203 #include <X11/Xlib.h>
15204 #include <X11/extensions/Xfixes.h>
15206 main (void)
15208 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15210 return 0;
15212 _ACEOF
15213 if ac_fn_c_try_compile "$LINENO"
15214 then :
15215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15216 printf %s "checking for -lXfixes... " >&6; }
15217 if test ${ac_cv_lib_soname_Xfixes+y}
15218 then :
15219 printf %s "(cached) " >&6
15220 else $as_nop
15221 ac_check_soname_save_LIBS=$LIBS
15222 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15226 /* Override any GCC internal prototype to avoid an error.
15227 Use char because int might match the return type of a GCC
15228 builtin and then its argument prototype would still apply. */
15229 char XFixesQueryVersion ();
15231 main (void)
15233 return XFixesQueryVersion ();
15235 return 0;
15237 _ACEOF
15238 if ac_fn_c_try_link "$LINENO"
15239 then :
15240 case "$LIBEXT" in
15241 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15242 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'` ;;
15243 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15244 if ${ac_cv_lib_soname_Xfixes:+false} :
15245 then :
15246 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15247 fi ;;
15248 esac
15249 else $as_nop
15250 ac_cv_lib_soname_Xfixes=
15252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15253 conftest$ac_exeext conftest.$ac_ext
15254 LIBS=$ac_check_soname_save_LIBS
15256 if ${ac_cv_lib_soname_Xfixes:+false} :
15257 then :
15258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15259 printf "%s\n" "not found" >&6; }
15261 else $as_nop
15262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15263 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15265 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15272 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15273 then :
15274 case "x$with_xfixes" in
15275 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15276 xno) ;;
15277 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15278 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15279 esac
15283 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15284 then
15285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15286 /* end confdefs.h. */
15287 #include <X11/Xlib.h>
15288 #include <X11/extensions/Xinerama.h>
15290 main (void)
15292 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15294 return 0;
15296 _ACEOF
15297 if ac_fn_c_try_compile "$LINENO"
15298 then :
15299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15300 printf %s "checking for -lXinerama... " >&6; }
15301 if test ${ac_cv_lib_soname_Xinerama+y}
15302 then :
15303 printf %s "(cached) " >&6
15304 else $as_nop
15305 ac_check_soname_save_LIBS=$LIBS
15306 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15310 /* Override any GCC internal prototype to avoid an error.
15311 Use char because int might match the return type of a GCC
15312 builtin and then its argument prototype would still apply. */
15313 char XineramaQueryScreens ();
15315 main (void)
15317 return XineramaQueryScreens ();
15319 return 0;
15321 _ACEOF
15322 if ac_fn_c_try_link "$LINENO"
15323 then :
15324 case "$LIBEXT" in
15325 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15326 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'` ;;
15327 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15328 if ${ac_cv_lib_soname_Xinerama:+false} :
15329 then :
15330 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15331 fi ;;
15332 esac
15333 else $as_nop
15334 ac_cv_lib_soname_Xinerama=
15336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15337 conftest$ac_exeext conftest.$ac_ext
15338 LIBS=$ac_check_soname_save_LIBS
15340 if ${ac_cv_lib_soname_Xinerama:+false} :
15341 then :
15342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15343 printf "%s\n" "not found" >&6; }
15345 else $as_nop
15346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15347 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15349 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15354 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15356 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15357 then :
15358 case "x$with_xinerama" in
15359 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15360 xno) ;;
15361 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15362 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15363 esac
15367 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15368 then
15369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15370 printf %s "checking for -lXcomposite... " >&6; }
15371 if test ${ac_cv_lib_soname_Xcomposite+y}
15372 then :
15373 printf %s "(cached) " >&6
15374 else $as_nop
15375 ac_check_soname_save_LIBS=$LIBS
15376 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15380 /* Override any GCC internal prototype to avoid an error.
15381 Use char because int might match the return type of a GCC
15382 builtin and then its argument prototype would still apply. */
15383 char XCompositeRedirectWindow ();
15385 main (void)
15387 return XCompositeRedirectWindow ();
15389 return 0;
15391 _ACEOF
15392 if ac_fn_c_try_link "$LINENO"
15393 then :
15394 case "$LIBEXT" in
15395 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15396 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'` ;;
15397 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15398 if ${ac_cv_lib_soname_Xcomposite:+false} :
15399 then :
15400 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15401 fi ;;
15402 esac
15403 else $as_nop
15404 ac_cv_lib_soname_Xcomposite=
15406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15407 conftest$ac_exeext conftest.$ac_ext
15408 LIBS=$ac_check_soname_save_LIBS
15410 if ${ac_cv_lib_soname_Xcomposite:+false} :
15411 then :
15412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15413 printf "%s\n" "not found" >&6; }
15415 else $as_nop
15416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15417 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15419 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15424 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15425 then :
15426 case "x$with_xcomposite" in
15427 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15428 xno) ;;
15429 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15430 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15431 esac
15435 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15436 #include <X11/Xlib.h>
15437 #endif
15439 if test "x$ac_cv_member_XICCallback_callback" = xyes
15440 then :
15442 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15446 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15447 #include <X11/Xlib.h>
15448 #endif
15450 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15451 then :
15453 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15460 opengl_msg=""
15461 if test "x$with_opengl" != "xno"
15462 then
15463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15464 printf %s "checking for -lGL... " >&6; }
15465 if test ${ac_cv_lib_soname_GL+y}
15466 then :
15467 printf %s "(cached) " >&6
15468 else $as_nop
15469 ac_check_soname_save_LIBS=$LIBS
15470 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15472 /* end confdefs.h. */
15474 /* Override any GCC internal prototype to avoid an error.
15475 Use char because int might match the return type of a GCC
15476 builtin and then its argument prototype would still apply. */
15477 char glXCreateContext ();
15479 main (void)
15481 return glXCreateContext ();
15483 return 0;
15485 _ACEOF
15486 if ac_fn_c_try_link "$LINENO"
15487 then :
15488 case "$LIBEXT" in
15489 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15490 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'` ;;
15491 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15492 if ${ac_cv_lib_soname_GL:+false} :
15493 then :
15494 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15495 fi ;;
15496 esac
15497 else $as_nop
15498 ac_cv_lib_soname_GL=
15500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15501 conftest$ac_exeext conftest.$ac_ext
15502 LIBS=$ac_check_soname_save_LIBS
15504 if ${ac_cv_lib_soname_GL:+false} :
15505 then :
15506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15507 printf "%s\n" "not found" >&6; }
15508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15509 printf %s "checking for -lGL... " >&6; }
15510 if test ${ac_cv_lib_soname_GL+y}
15511 then :
15512 printf %s "(cached) " >&6
15513 else $as_nop
15514 ac_check_soname_save_LIBS=$LIBS
15515 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"
15516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15517 /* end confdefs.h. */
15519 /* Override any GCC internal prototype to avoid an error.
15520 Use char because int might match the return type of a GCC
15521 builtin and then its argument prototype would still apply. */
15522 char glXCreateContext ();
15524 main (void)
15526 return glXCreateContext ();
15528 return 0;
15530 _ACEOF
15531 if ac_fn_c_try_link "$LINENO"
15532 then :
15533 case "$LIBEXT" in
15534 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15535 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'` ;;
15536 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15537 if ${ac_cv_lib_soname_GL:+false} :
15538 then :
15539 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15540 fi ;;
15541 esac
15542 else $as_nop
15543 ac_cv_lib_soname_GL=
15545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15546 conftest$ac_exeext conftest.$ac_ext
15547 LIBS=$ac_check_soname_save_LIBS
15549 if ${ac_cv_lib_soname_GL:+false} :
15550 then :
15551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15552 printf "%s\n" "not found" >&6; }
15553 if test -f /usr/X11R6/lib/libGL.a
15554 then
15555 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15556 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15557 else
15558 opengl_msg="No OpenGL library found on this system."
15560 else $as_nop
15561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15562 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15564 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15566 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"
15568 else $as_nop
15569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15570 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15572 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15574 OPENGL_LIBS="-lGL"
15576 if test "x$with_osmesa" != "xno"
15577 then
15578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15579 printf %s "checking for -lOSMesa... " >&6; }
15580 if test ${ac_cv_lib_soname_OSMesa+y}
15581 then :
15582 printf %s "(cached) " >&6
15583 else $as_nop
15584 ac_check_soname_save_LIBS=$LIBS
15585 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15587 /* end confdefs.h. */
15589 /* Override any GCC internal prototype to avoid an error.
15590 Use char because int might match the return type of a GCC
15591 builtin and then its argument prototype would still apply. */
15592 char OSMesaGetProcAddress ();
15594 main (void)
15596 return OSMesaGetProcAddress ();
15598 return 0;
15600 _ACEOF
15601 if ac_fn_c_try_link "$LINENO"
15602 then :
15603 case "$LIBEXT" in
15604 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15605 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'` ;;
15606 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15607 if ${ac_cv_lib_soname_OSMesa:+false} :
15608 then :
15609 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15610 fi ;;
15611 esac
15612 else $as_nop
15613 ac_cv_lib_soname_OSMesa=
15615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15616 conftest$ac_exeext conftest.$ac_ext
15617 LIBS=$ac_check_soname_save_LIBS
15619 if ${ac_cv_lib_soname_OSMesa:+false} :
15620 then :
15621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15622 printf "%s\n" "not found" >&6; }
15624 else $as_nop
15625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15626 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15628 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15632 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15633 then :
15634 case "x$with_osmesa" in
15635 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15636 xno) ;;
15637 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15638 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15639 esac
15644 if test -n "$opengl_msg"
15645 then :
15646 case "x$with_opengl" in
15647 x) as_fn_append wine_warnings "|$opengl_msg
15648 OpenGL and Direct3D won't be supported." ;;
15649 xno) ;;
15650 *) as_fn_error $? "$opengl_msg
15651 OpenGL and Direct3D won't be supported.
15652 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15653 esac
15657 CPPFLAGS="$ac_save_CPPFLAGS"
15658 else
15659 X_CFLAGS=""
15660 X_LIBS=""
15663 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15664 then
15665 if test "x$X_LIBS" = "x"
15666 then :
15667 case "x$with_x" in
15668 xno) ;;
15669 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15670 without X support, which probably isn't what you want. You will need
15671 to install ${notice_platform}development packages of Xlib at the very least.
15672 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15673 esac
15674 enable_winex11_drv=${enable_winex11_drv:-no}
15676 else
15677 if test "x$X_LIBS" = "x"
15678 then :
15679 case "x$with_x" in
15680 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15681 xno) ;;
15682 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15683 This is an error since --with-x was requested." "$LINENO" 5 ;;
15684 esac
15685 enable_winex11_drv=${enable_winex11_drv:-no}
15689 if test "$ac_cv_header_CL_cl_h" = "yes"
15690 then
15691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15692 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15693 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15694 then :
15695 printf %s "(cached) " >&6
15696 else $as_nop
15697 ac_check_lib_save_LIBS=$LIBS
15698 LIBS="-lOpenCL $LIBS"
15699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15700 /* end confdefs.h. */
15702 /* Override any GCC internal prototype to avoid an error.
15703 Use char because int might match the return type of a GCC
15704 builtin and then its argument prototype would still apply. */
15705 char clGetPlatformInfo ();
15707 main (void)
15709 return clGetPlatformInfo ();
15711 return 0;
15713 _ACEOF
15714 if ac_fn_c_try_link "$LINENO"
15715 then :
15716 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15717 else $as_nop
15718 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15720 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15721 conftest$ac_exeext conftest.$ac_ext
15722 LIBS=$ac_check_lib_save_LIBS
15724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15725 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15726 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15727 then :
15728 OPENCL_LIBS="-lOpenCL"
15733 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15734 then :
15735 case "x$with_opencl" in
15736 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15737 xno) ;;
15738 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15739 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15740 esac
15741 enable_opencl=${enable_opencl:-no}
15744 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15745 then
15746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15747 printf %s "checking for pcap_create in -lpcap... " >&6; }
15748 if test ${ac_cv_lib_pcap_pcap_create+y}
15749 then :
15750 printf %s "(cached) " >&6
15751 else $as_nop
15752 ac_check_lib_save_LIBS=$LIBS
15753 LIBS="-lpcap $LIBS"
15754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15755 /* end confdefs.h. */
15757 /* Override any GCC internal prototype to avoid an error.
15758 Use char because int might match the return type of a GCC
15759 builtin and then its argument prototype would still apply. */
15760 char pcap_create ();
15762 main (void)
15764 return pcap_create ();
15766 return 0;
15768 _ACEOF
15769 if ac_fn_c_try_link "$LINENO"
15770 then :
15771 ac_cv_lib_pcap_pcap_create=yes
15772 else $as_nop
15773 ac_cv_lib_pcap_pcap_create=no
15775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15776 conftest$ac_exeext conftest.$ac_ext
15777 LIBS=$ac_check_lib_save_LIBS
15779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15780 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15781 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15782 then :
15783 PCAP_LIBS="-lpcap"
15788 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15789 then :
15790 case "x$with_pcap" in
15791 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15792 xno) ;;
15793 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15794 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15795 esac
15796 enable_wpcap=${enable_wpcap:-no}
15799 if test "x$with_inotify" != "xno"
15800 then
15801 if ${INOTIFY_CFLAGS:+false} :
15802 then :
15803 if test ${PKG_CONFIG+y}
15804 then :
15805 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15809 if ${INOTIFY_LIBS:+false} :
15810 then :
15811 if test ${PKG_CONFIG+y}
15812 then :
15813 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15820 ac_save_CPPFLAGS=$CPPFLAGS
15821 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15822 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15823 if test "x$ac_cv_header_sys_inotify_h" = xyes
15824 then :
15825 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15830 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15831 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15832 then :
15833 printf %s "(cached) " >&6
15834 else $as_nop
15835 ac_check_lib_save_LIBS=$LIBS
15836 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15838 /* end confdefs.h. */
15840 /* Override any GCC internal prototype to avoid an error.
15841 Use char because int might match the return type of a GCC
15842 builtin and then its argument prototype would still apply. */
15843 char inotify_add_watch ();
15845 main (void)
15847 return inotify_add_watch ();
15849 return 0;
15851 _ACEOF
15852 if ac_fn_c_try_link "$LINENO"
15853 then :
15854 ac_cv_lib_inotify_inotify_add_watch=yes
15855 else $as_nop
15856 ac_cv_lib_inotify_inotify_add_watch=no
15858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15859 conftest$ac_exeext conftest.$ac_ext
15860 LIBS=$ac_check_lib_save_LIBS
15862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15863 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15864 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15865 then :
15867 else $as_nop
15868 INOTIFY_LIBS=""
15871 CPPFLAGS=$ac_save_CPPFLAGS
15874 if test "$ac_cv_header_sys_inotify_h" != "yes"
15875 then :
15876 case "x$with_inotify" in
15877 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15878 xno) ;;
15879 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15880 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15881 esac
15885 if test "x$with_dbus" != "xno"
15886 then
15887 if ${DBUS_CFLAGS:+false} :
15888 then :
15889 if test ${PKG_CONFIG+y}
15890 then :
15891 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15895 if ${DBUS_LIBS:+false} :
15896 then :
15897 if test ${PKG_CONFIG+y}
15898 then :
15899 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15905 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15906 ac_save_CPPFLAGS=$CPPFLAGS
15907 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15908 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15909 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15910 then :
15911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15912 printf %s "checking for -ldbus-1... " >&6; }
15913 if test ${ac_cv_lib_soname_dbus_1+y}
15914 then :
15915 printf %s "(cached) " >&6
15916 else $as_nop
15917 ac_check_soname_save_LIBS=$LIBS
15918 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15920 /* end confdefs.h. */
15922 /* Override any GCC internal prototype to avoid an error.
15923 Use char because int might match the return type of a GCC
15924 builtin and then its argument prototype would still apply. */
15925 char dbus_connection_close ();
15927 main (void)
15929 return dbus_connection_close ();
15931 return 0;
15933 _ACEOF
15934 if ac_fn_c_try_link "$LINENO"
15935 then :
15936 case "$LIBEXT" in
15937 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15938 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'` ;;
15939 *) 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'`
15940 if ${ac_cv_lib_soname_dbus_1:+false} :
15941 then :
15942 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15943 fi ;;
15944 esac
15945 else $as_nop
15946 ac_cv_lib_soname_dbus_1=
15948 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15949 conftest$ac_exeext conftest.$ac_ext
15950 LIBS=$ac_check_soname_save_LIBS
15952 if ${ac_cv_lib_soname_dbus_1:+false} :
15953 then :
15954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15955 printf "%s\n" "not found" >&6; }
15956 DBUS_CFLAGS=""
15957 else $as_nop
15958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15959 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15961 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15965 else $as_nop
15966 DBUS_CFLAGS=""
15969 CPPFLAGS=$ac_save_CPPFLAGS
15972 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
15973 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15974 then :
15975 case "x$with_dbus" in
15976 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15977 xno) ;;
15978 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15979 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15980 esac
15984 if test "x$with_gnutls" != "xno"
15985 then
15986 if ${GNUTLS_CFLAGS:+false} :
15987 then :
15988 if test ${PKG_CONFIG+y}
15989 then :
15990 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
15994 if ${GNUTLS_LIBS:+false} :
15995 then :
15996 if test ${PKG_CONFIG+y}
15997 then :
15998 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16002 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16005 ac_save_CPPFLAGS=$CPPFLAGS
16006 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16007 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16008 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16009 then :
16010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16011 /* end confdefs.h. */
16012 #include <gnutls/gnutls.h>
16013 #include <gnutls/crypto.h>
16015 main (void)
16017 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16019 return 0;
16021 _ACEOF
16022 if ac_fn_c_try_compile "$LINENO"
16023 then :
16024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16025 printf %s "checking for -lgnutls... " >&6; }
16026 if test ${ac_cv_lib_soname_gnutls+y}
16027 then :
16028 printf %s "(cached) " >&6
16029 else $as_nop
16030 ac_check_soname_save_LIBS=$LIBS
16031 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16033 /* end confdefs.h. */
16035 /* Override any GCC internal prototype to avoid an error.
16036 Use char because int might match the return type of a GCC
16037 builtin and then its argument prototype would still apply. */
16038 char gnutls_global_init ();
16040 main (void)
16042 return gnutls_global_init ();
16044 return 0;
16046 _ACEOF
16047 if ac_fn_c_try_link "$LINENO"
16048 then :
16049 case "$LIBEXT" in
16050 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16051 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'` ;;
16052 *) 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'`
16053 if ${ac_cv_lib_soname_gnutls:+false} :
16054 then :
16055 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'`
16056 fi ;;
16057 esac
16058 else $as_nop
16059 ac_cv_lib_soname_gnutls=
16061 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16062 conftest$ac_exeext conftest.$ac_ext
16063 LIBS=$ac_check_soname_save_LIBS
16065 if ${ac_cv_lib_soname_gnutls:+false} :
16066 then :
16067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16068 printf "%s\n" "not found" >&6; }
16069 GNUTLS_CFLAGS=""
16070 else $as_nop
16071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16072 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16074 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16078 ac_wine_check_funcs_save_LIBS="$LIBS"
16079 LIBS="$LIBS $GNUTLS_LIBS"
16081 for ac_func in gnutls_cipher_init
16082 do :
16083 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16084 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16085 then :
16086 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16088 else $as_nop
16089 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16092 done
16093 LIBS="$ac_wine_check_funcs_save_LIBS"
16095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16096 else $as_nop
16097 GNUTLS_CFLAGS=""
16100 CPPFLAGS=$ac_save_CPPFLAGS
16103 if test "x$ac_cv_lib_soname_gnutls" = "x"
16104 then :
16105 case "x$with_gnutls" in
16106 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16107 xno) ;;
16108 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16109 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16110 esac
16114 if test "x$with_sane" != "xno"
16115 then
16116 if ${SANE_CFLAGS:+false} :
16117 then :
16118 if test ${PKG_CONFIG+y}
16119 then :
16120 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16123 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16124 if ${SANE_LIBS:+false} :
16125 then :
16126 if test ${PKG_CONFIG+y}
16127 then :
16128 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16131 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16135 ac_save_CPPFLAGS=$CPPFLAGS
16136 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16137 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16138 if test "x$ac_cv_header_sane_sane_h" = xyes
16139 then :
16140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16141 printf %s "checking for sane_init in -lsane... " >&6; }
16142 if test ${ac_cv_lib_sane_sane_init+y}
16143 then :
16144 printf %s "(cached) " >&6
16145 else $as_nop
16146 ac_check_lib_save_LIBS=$LIBS
16147 LIBS="-lsane $SANE_LIBS $LIBS"
16148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16149 /* end confdefs.h. */
16151 /* Override any GCC internal prototype to avoid an error.
16152 Use char because int might match the return type of a GCC
16153 builtin and then its argument prototype would still apply. */
16154 char sane_init ();
16156 main (void)
16158 return sane_init ();
16160 return 0;
16162 _ACEOF
16163 if ac_fn_c_try_link "$LINENO"
16164 then :
16165 ac_cv_lib_sane_sane_init=yes
16166 else $as_nop
16167 ac_cv_lib_sane_sane_init=no
16169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16170 conftest$ac_exeext conftest.$ac_ext
16171 LIBS=$ac_check_lib_save_LIBS
16173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16174 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16175 if test "x$ac_cv_lib_sane_sane_init" = xyes
16176 then :
16182 CPPFLAGS=$ac_save_CPPFLAGS
16185 if test "$ac_cv_lib_sane_sane_init" != "yes"
16186 then :
16187 case "x$with_sane" in
16188 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16189 xno) ;;
16190 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16191 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16192 esac
16193 enable_sane_ds=${enable_sane_ds:-no}
16196 if test "x$with_usb" != "xno"
16197 then
16198 if ${USB_CFLAGS:+false} :
16199 then :
16200 if test ${PKG_CONFIG+y}
16201 then :
16202 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16206 if ${USB_LIBS:+false} :
16207 then :
16208 if test ${PKG_CONFIG+y}
16209 then :
16210 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16214 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16217 ac_save_CPPFLAGS=$CPPFLAGS
16218 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16219 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16220 if test "x$ac_cv_header_libusb_h" = xyes
16221 then :
16222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16223 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16224 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16225 then :
16226 printf %s "(cached) " >&6
16227 else $as_nop
16228 ac_check_lib_save_LIBS=$LIBS
16229 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16231 /* end confdefs.h. */
16233 /* Override any GCC internal prototype to avoid an error.
16234 Use char because int might match the return type of a GCC
16235 builtin and then its argument prototype would still apply. */
16236 char libusb_interrupt_event_handler ();
16238 main (void)
16240 return libusb_interrupt_event_handler ();
16242 return 0;
16244 _ACEOF
16245 if ac_fn_c_try_link "$LINENO"
16246 then :
16247 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16248 else $as_nop
16249 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16252 conftest$ac_exeext conftest.$ac_ext
16253 LIBS=$ac_check_lib_save_LIBS
16255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16256 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16257 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16258 then :
16260 else $as_nop
16261 USB_LIBS=""
16264 else $as_nop
16265 USB_LIBS=""
16268 CPPFLAGS=$ac_save_CPPFLAGS
16271 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16272 then :
16273 case "x$with_usb" in
16274 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16275 xno) ;;
16276 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16277 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16278 esac
16279 enable_wineusb_sys=${enable_wineusb_sys:-no}
16282 if test "x$with_v4l2" != "xno"
16283 then
16284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16285 printf %s "checking for -lv4l2... " >&6; }
16286 if test ${ac_cv_lib_soname_v4l2+y}
16287 then :
16288 printf %s "(cached) " >&6
16289 else $as_nop
16290 ac_check_soname_save_LIBS=$LIBS
16291 LIBS="-lv4l2 $LIBS"
16292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16293 /* end confdefs.h. */
16295 /* Override any GCC internal prototype to avoid an error.
16296 Use char because int might match the return type of a GCC
16297 builtin and then its argument prototype would still apply. */
16298 char v4l2_open ();
16300 main (void)
16302 return v4l2_open ();
16304 return 0;
16306 _ACEOF
16307 if ac_fn_c_try_link "$LINENO"
16308 then :
16309 case "$LIBEXT" in
16310 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16311 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'` ;;
16312 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16313 if ${ac_cv_lib_soname_v4l2:+false} :
16314 then :
16315 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16316 fi ;;
16317 esac
16318 else $as_nop
16319 ac_cv_lib_soname_v4l2=
16321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16322 conftest$ac_exeext conftest.$ac_ext
16323 LIBS=$ac_check_soname_save_LIBS
16325 if ${ac_cv_lib_soname_v4l2:+false} :
16326 then :
16327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16328 printf "%s\n" "not found" >&6; }
16330 else $as_nop
16331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16332 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16334 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16339 if test "x$ac_cv_lib_soname_v4l2" = "x"
16340 then :
16341 case "x$with_v4l2" in
16342 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16343 xno) ;;
16344 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16345 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16346 esac
16350 if test "x$with_gphoto" != "xno"
16351 then
16352 if ${GPHOTO2_CFLAGS:+false} :
16353 then :
16354 if test ${PKG_CONFIG+y}
16355 then :
16356 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16359 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16360 if ${GPHOTO2_LIBS:+false} :
16361 then :
16362 if test ${PKG_CONFIG+y}
16363 then :
16364 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16367 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16368 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16371 ac_save_CPPFLAGS=$CPPFLAGS
16372 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16373 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16374 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16375 then :
16376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16377 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16378 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16379 then :
16380 printf %s "(cached) " >&6
16381 else $as_nop
16382 ac_check_lib_save_LIBS=$LIBS
16383 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16385 /* end confdefs.h. */
16387 /* Override any GCC internal prototype to avoid an error.
16388 Use char because int might match the return type of a GCC
16389 builtin and then its argument prototype would still apply. */
16390 char gp_camera_new ();
16392 main (void)
16394 return gp_camera_new ();
16396 return 0;
16398 _ACEOF
16399 if ac_fn_c_try_link "$LINENO"
16400 then :
16401 ac_cv_lib_gphoto2_gp_camera_new=yes
16402 else $as_nop
16403 ac_cv_lib_gphoto2_gp_camera_new=no
16405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16406 conftest$ac_exeext conftest.$ac_ext
16407 LIBS=$ac_check_lib_save_LIBS
16409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16410 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16411 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16412 then :
16418 CPPFLAGS=$ac_save_CPPFLAGS
16420 if ${GPHOTO2_PORT_CFLAGS:+false} :
16421 then :
16422 if test ${PKG_CONFIG+y}
16423 then :
16424 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16427 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16428 if ${GPHOTO2_PORT_LIBS:+false} :
16429 then :
16430 if test ${PKG_CONFIG+y}
16431 then :
16432 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16435 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16436 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16439 ac_save_CPPFLAGS=$CPPFLAGS
16440 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16441 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16442 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16443 then :
16444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16445 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16446 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16447 then :
16448 printf %s "(cached) " >&6
16449 else $as_nop
16450 ac_check_lib_save_LIBS=$LIBS
16451 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16455 /* Override any GCC internal prototype to avoid an error.
16456 Use char because int might match the return type of a GCC
16457 builtin and then its argument prototype would still apply. */
16458 char gp_port_info_list_new ();
16460 main (void)
16462 return gp_port_info_list_new ();
16464 return 0;
16466 _ACEOF
16467 if ac_fn_c_try_link "$LINENO"
16468 then :
16469 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16470 else $as_nop
16471 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16474 conftest$ac_exeext conftest.$ac_ext
16475 LIBS=$ac_check_lib_save_LIBS
16477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16478 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16479 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16480 then :
16482 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16484 else $as_nop
16485 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16488 else $as_nop
16489 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16492 CPPFLAGS=$ac_save_CPPFLAGS
16495 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16496 then :
16497 case "x$with_gphoto" in
16498 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16499 xno) ;;
16500 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16501 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16502 esac
16503 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16505 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16506 then :
16507 case "x$with_gphoto" in
16508 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16509 xno) ;;
16510 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16511 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16512 esac
16517 if test "$ac_cv_header_resolv_h" = "yes"
16518 then
16519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16520 printf %s "checking for resolver library... " >&6; }
16521 if test ${ac_cv_have_resolv+y}
16522 then :
16523 printf %s "(cached) " >&6
16524 else $as_nop
16525 ac_save_LIBS="$LIBS"
16526 for lib in '' -lresolv
16528 LIBS="$lib $ac_save_LIBS"
16529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h. */
16531 #ifdef HAVE_NETINET_IN_H
16532 #include <netinet/in.h>
16533 #endif
16534 #include <resolv.h>
16536 main (void)
16538 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16540 return 0;
16542 _ACEOF
16543 if ac_fn_c_try_link "$LINENO"
16544 then :
16545 ac_cv_have_resolv=${lib:-"none required"}
16546 else $as_nop
16547 ac_cv_have_resolv="not found"
16549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16550 conftest$ac_exeext conftest.$ac_ext
16551 test "x$ac_cv_have_resolv" = "xnot found" || break
16552 done
16553 LIBS="$ac_save_LIBS"
16555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16556 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16558 case "$ac_cv_have_resolv" in
16559 "not found") ;;
16560 "none required")
16562 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16565 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16567 RESOLV_LIBS=$ac_cv_have_resolv
16569 esac
16571 if test "x$ac_cv_have_resolv" != "xnot found"
16572 then
16573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16574 printf %s "checking for res_getservers... " >&6; }
16575 if test ${ac_cv_have_res_getservers+y}
16576 then :
16577 printf %s "(cached) " >&6
16578 else $as_nop
16579 ac_save_LIBS="$LIBS"
16580 LIBS="$RESOLV_LIBS $LIBS"
16581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16582 /* end confdefs.h. */
16583 #include <resolv.h>
16585 main (void)
16587 res_getservers(NULL, NULL, 0);
16589 return 0;
16591 _ACEOF
16592 if ac_fn_c_try_link "$LINENO"
16593 then :
16594 ac_cv_have_res_getservers=yes
16595 else $as_nop
16596 ac_cv_have_res_getservers=no
16598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16599 conftest$ac_exeext conftest.$ac_ext
16600 LIBS="$ac_save_LIBS"
16602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16603 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16604 if test "$ac_cv_have_res_getservers" = "yes"
16605 then
16607 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16613 if test "x$with_freetype" != "xno"
16614 then
16615 if ${FREETYPE_CFLAGS:+false} :
16616 then :
16617 if test ${PKG_CONFIG+y}
16618 then :
16619 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16622 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16623 if ${FREETYPE_LIBS:+false} :
16624 then :
16625 if test ${PKG_CONFIG+y}
16626 then :
16627 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16630 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16631 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16634 ac_save_CPPFLAGS=$CPPFLAGS
16635 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16636 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16637 if test "x$ac_cv_header_ft2build_h" = xyes
16638 then :
16639 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16643 if test "$ac_cv_header_ft2build_h" = "yes"
16644 then
16645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16646 printf %s "checking for -lfreetype... " >&6; }
16647 if test ${ac_cv_lib_soname_freetype+y}
16648 then :
16649 printf %s "(cached) " >&6
16650 else $as_nop
16651 ac_check_soname_save_LIBS=$LIBS
16652 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16654 /* end confdefs.h. */
16656 /* Override any GCC internal prototype to avoid an error.
16657 Use char because int might match the return type of a GCC
16658 builtin and then its argument prototype would still apply. */
16659 char FT_Init_FreeType ();
16661 main (void)
16663 return FT_Init_FreeType ();
16665 return 0;
16667 _ACEOF
16668 if ac_fn_c_try_link "$LINENO"
16669 then :
16670 case "$LIBEXT" in
16671 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16672 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'` ;;
16673 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16674 if ${ac_cv_lib_soname_freetype:+false} :
16675 then :
16676 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16677 fi ;;
16678 esac
16679 else $as_nop
16680 ac_cv_lib_soname_freetype=
16682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16683 conftest$ac_exeext conftest.$ac_ext
16684 LIBS=$ac_check_soname_save_LIBS
16686 if ${ac_cv_lib_soname_freetype:+false} :
16687 then :
16688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16689 printf "%s\n" "not found" >&6; }
16690 FREETYPE_LIBS=""
16691 else $as_nop
16692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16693 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16695 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16698 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16700 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16701 #include FT_MODULE_H
16703 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16704 then :
16706 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16712 else
16713 FREETYPE_CFLAGS=""
16714 FREETYPE_LIBS=""
16716 CPPFLAGS=$ac_save_CPPFLAGS
16719 if test "x$ac_cv_lib_soname_freetype" = x
16720 then :
16721 case "x$with_freetype" in
16722 xno) ;;
16723 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16724 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16725 esac
16726 enable_fonts=${enable_fonts:-no}
16729 ac_wine_check_funcs_save_LIBS="$LIBS"
16730 LIBS="$LIBS $PTHREAD_LIBS"
16731 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16732 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16733 then :
16734 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16738 LIBS="$ac_wine_check_funcs_save_LIBS"
16740 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16741 then
16742 if test "$ac_cv_header_gettext_po_h" = "yes"
16743 then
16744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16745 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16746 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16747 then :
16748 printf %s "(cached) " >&6
16749 else $as_nop
16750 ac_check_lib_save_LIBS=$LIBS
16751 LIBS="-lgettextpo $LIBS"
16752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16753 /* end confdefs.h. */
16755 /* Override any GCC internal prototype to avoid an error.
16756 Use char because int might match the return type of a GCC
16757 builtin and then its argument prototype would still apply. */
16758 char po_message_msgctxt ();
16760 main (void)
16762 return po_message_msgctxt ();
16764 return 0;
16766 _ACEOF
16767 if ac_fn_c_try_link "$LINENO"
16768 then :
16769 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16770 else $as_nop
16771 ac_cv_lib_gettextpo_po_message_msgctxt=no
16773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16774 conftest$ac_exeext conftest.$ac_ext
16775 LIBS=$ac_check_lib_save_LIBS
16777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16778 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16779 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16780 then :
16782 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16784 GETTEXTPO_LIBS="-lgettextpo"
16789 if test "x$GETTEXTPO_LIBS" = "x"
16790 then :
16791 case "x$with_gettextpo" in
16792 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16793 xno) ;;
16794 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16795 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16796 esac
16799 if test "$srcdir" != .
16800 then :
16801 case "x$with_gettextpo" in
16802 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16803 xno) ;;
16804 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16805 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16806 esac
16811 if test "x$with_pulse" != "xno";
16812 then
16813 if ${PULSE_CFLAGS:+false} :
16814 then :
16815 if test ${PKG_CONFIG+y}
16816 then :
16817 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16821 if ${PULSE_LIBS:+false} :
16822 then :
16823 if test ${PKG_CONFIG+y}
16824 then :
16825 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16830 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16832 ac_save_CPPFLAGS=$CPPFLAGS
16833 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16834 for ac_header in pulse/pulseaudio.h
16835 do :
16836 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16837 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16838 then :
16839 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16841 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16842 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16843 then :
16844 printf %s "(cached) " >&6
16845 else $as_nop
16846 ac_check_lib_save_LIBS=$LIBS
16847 LIBS="-lpulse $PULSE_LIBS $LIBS"
16848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16849 /* end confdefs.h. */
16851 /* Override any GCC internal prototype to avoid an error.
16852 Use char because int might match the return type of a GCC
16853 builtin and then its argument prototype would still apply. */
16854 char pa_stream_is_corked ();
16856 main (void)
16858 return pa_stream_is_corked ();
16860 return 0;
16862 _ACEOF
16863 if ac_fn_c_try_link "$LINENO"
16864 then :
16865 ac_cv_lib_pulse_pa_stream_is_corked=yes
16866 else $as_nop
16867 ac_cv_lib_pulse_pa_stream_is_corked=no
16869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16870 conftest$ac_exeext conftest.$ac_ext
16871 LIBS=$ac_check_lib_save_LIBS
16873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16874 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16875 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16876 then :
16878 else $as_nop
16879 PULSE_LIBS=""
16882 else $as_nop
16883 PULSE_LIBS=""
16886 done
16887 CPPFLAGS=$ac_save_CPPFLAGS
16890 if test -z "$PULSE_LIBS"
16891 then :
16892 case "x$with_pulse" in
16893 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16894 xno) ;;
16895 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16896 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16897 esac
16898 enable_winepulse_drv=${enable_winepulse_drv:-no}
16901 if test "x$with_gstreamer" != "xno"
16902 then
16903 if ${GSTREAMER_CFLAGS:+false} :
16904 then :
16905 if test ${PKG_CONFIG+y}
16906 then :
16907 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16911 if ${GSTREAMER_LIBS:+false} :
16912 then :
16913 if test ${PKG_CONFIG+y}
16914 then :
16915 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16920 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16921 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16922 ac_save_CPPFLAGS=$CPPFLAGS
16923 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16924 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16925 if test "x$ac_cv_header_gst_gst_h" = xyes
16926 then :
16927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16928 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16931 #include <gst/gst.h>
16933 main (void)
16935 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16937 return 0;
16939 _ACEOF
16940 if ac_fn_c_try_compile "$LINENO"
16941 then :
16942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16943 printf "%s\n" "yes" >&6; }
16944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16945 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16946 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16947 then :
16948 printf %s "(cached) " >&6
16949 else $as_nop
16950 ac_check_lib_save_LIBS=$LIBS
16951 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16955 /* Override any GCC internal prototype to avoid an error.
16956 Use char because int might match the return type of a GCC
16957 builtin and then its argument prototype would still apply. */
16958 char gst_pad_new ();
16960 main (void)
16962 return gst_pad_new ();
16964 return 0;
16966 _ACEOF
16967 if ac_fn_c_try_link "$LINENO"
16968 then :
16969 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16970 else $as_nop
16971 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16974 conftest$ac_exeext conftest.$ac_ext
16975 LIBS=$ac_check_lib_save_LIBS
16977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16978 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16979 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16980 then :
16984 else $as_nop
16985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16986 printf "%s\n" "no" >&6; }
16987 ac_glib2_broken=yes
16988 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
16990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16993 CPPFLAGS=$ac_save_CPPFLAGS
16996 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
16997 then :
16998 case "x$with_gstreamer" in
16999 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17000 xno) ;;
17001 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17002 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17003 esac
17004 enable_winegstreamer=${enable_winegstreamer:-no}
17007 ALSA_LIBS=""
17009 if test "x$with_alsa" != "xno"
17010 then
17011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17012 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17013 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17014 then :
17015 printf %s "(cached) " >&6
17016 else $as_nop
17017 ac_check_lib_save_LIBS=$LIBS
17018 LIBS="-lasound $LIBS"
17019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17022 /* Override any GCC internal prototype to avoid an error.
17023 Use char because int might match the return type of a GCC
17024 builtin and then its argument prototype would still apply. */
17025 char snd_pcm_hw_params_get_access_mask ();
17027 main (void)
17029 return snd_pcm_hw_params_get_access_mask ();
17031 return 0;
17033 _ACEOF
17034 if ac_fn_c_try_link "$LINENO"
17035 then :
17036 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17037 else $as_nop
17038 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17041 conftest$ac_exeext conftest.$ac_ext
17042 LIBS=$ac_check_lib_save_LIBS
17044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17045 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17046 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17047 then :
17048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17049 /* end confdefs.h. */
17050 #include <alsa/asoundlib.h>
17052 main (void)
17054 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17056 return 0;
17058 _ACEOF
17059 if ac_fn_c_try_compile "$LINENO"
17060 then :
17061 ALSA_LIBS="-lasound"
17063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17067 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17069 if test "x$with_oss" != xno
17070 then
17071 ac_save_CPPFLAGS="$CPPFLAGS"
17072 if test -f /etc/oss.conf
17073 then
17074 . /etc/oss.conf
17076 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17077 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17078 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17079 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17080 then :
17081 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17083 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17084 then :
17086 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17088 OSS4_CFLAGS="$ac_oss_incl"
17090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17091 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17092 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17093 then :
17094 printf %s "(cached) " >&6
17095 else $as_nop
17096 ac_check_lib_save_LIBS=$LIBS
17097 LIBS="-lossaudio $LIBS"
17098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17101 /* Override any GCC internal prototype to avoid an error.
17102 Use char because int might match the return type of a GCC
17103 builtin and then its argument prototype would still apply. */
17104 char _oss_ioctl ();
17106 main (void)
17108 return _oss_ioctl ();
17110 return 0;
17112 _ACEOF
17113 if ac_fn_c_try_link "$LINENO"
17114 then :
17115 ac_cv_lib_ossaudio__oss_ioctl=yes
17116 else $as_nop
17117 ac_cv_lib_ossaudio__oss_ioctl=no
17119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17120 conftest$ac_exeext conftest.$ac_ext
17121 LIBS=$ac_check_lib_save_LIBS
17123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17124 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17125 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17126 then :
17127 OSS4_LIBS="-lossaudio"
17135 CPPFLAGS="$ac_save_CPPFLAGS"
17137 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17138 then :
17139 case "x$with_oss" in
17140 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17141 xno) ;;
17142 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17143 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17144 esac
17145 enable_wineoss_drv=${enable_wineoss_drv:-no}
17148 if test "x$with_udev" != "xno"
17149 then
17150 if ${UDEV_CFLAGS:+false} :
17151 then :
17152 if test ${PKG_CONFIG+y}
17153 then :
17154 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17158 if ${UDEV_LIBS:+false} :
17159 then :
17160 if test ${PKG_CONFIG+y}
17161 then :
17162 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17166 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17169 ac_save_CPPFLAGS=$CPPFLAGS
17170 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17171 for ac_header in libudev.h
17172 do :
17173 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17174 if test "x$ac_cv_header_libudev_h" = xyes
17175 then :
17176 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17178 printf %s "checking for udev_new in -ludev... " >&6; }
17179 if test ${ac_cv_lib_udev_udev_new+y}
17180 then :
17181 printf %s "(cached) " >&6
17182 else $as_nop
17183 ac_check_lib_save_LIBS=$LIBS
17184 LIBS="-ludev $UDEV_LIBS $LIBS"
17185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17188 /* Override any GCC internal prototype to avoid an error.
17189 Use char because int might match the return type of a GCC
17190 builtin and then its argument prototype would still apply. */
17191 char udev_new ();
17193 main (void)
17195 return udev_new ();
17197 return 0;
17199 _ACEOF
17200 if ac_fn_c_try_link "$LINENO"
17201 then :
17202 ac_cv_lib_udev_udev_new=yes
17203 else $as_nop
17204 ac_cv_lib_udev_udev_new=no
17206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17207 conftest$ac_exeext conftest.$ac_ext
17208 LIBS=$ac_check_lib_save_LIBS
17210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17211 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17212 if test "x$ac_cv_lib_udev_udev_new" = xyes
17213 then :
17215 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17217 else $as_nop
17218 UDEV_LIBS=""
17221 else $as_nop
17222 UDEV_LIBS=""
17225 done
17226 CPPFLAGS=$ac_save_CPPFLAGS
17229 if test "x$UDEV_LIBS" = "x"
17230 then :
17231 case "x$with_udev" in
17232 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17233 xno) ;;
17234 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17235 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17236 esac
17240 if test "x$with_unwind" != xno
17241 then
17242 if ${UNWIND_CFLAGS:+false} :
17243 then :
17244 if test ${PKG_CONFIG+y}
17245 then :
17246 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17250 if ${UNWIND_LIBS:+false} :
17251 then :
17252 if test ${PKG_CONFIG+y}
17253 then :
17254 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17258 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17261 ac_save_CPPFLAGS=$CPPFLAGS
17262 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17264 printf %s "checking for unw_step... " >&6; }
17265 if test ${wine_cv_have_unw_step+y}
17266 then :
17267 printf %s "(cached) " >&6
17268 else $as_nop
17269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17270 /* end confdefs.h. */
17271 #define UNW_LOCAL_ONLY
17272 #include <libunwind.h>
17274 main (void)
17276 unw_cursor_t cursor; unw_step( &cursor );
17278 return 0;
17280 _ACEOF
17281 if ac_fn_c_try_link "$LINENO"
17282 then :
17283 wine_cv_have_unw_step="yes"
17284 else $as_nop
17285 wine_cv_have_unw_step="no"
17287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17288 conftest$ac_exeext conftest.$ac_ext
17290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17291 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17292 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17293 then
17294 save_libs=$LIBS
17295 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17296 LIBS="$UNWIND_LIBS $LIBS"
17297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17298 printf %s "checking for unw_step in libunwind... " >&6; }
17299 if test ${wine_cv_have_libunwind_unw_step+y}
17300 then :
17301 printf %s "(cached) " >&6
17302 else $as_nop
17303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17305 #define UNW_LOCAL_ONLY
17306 #include <libunwind.h>
17308 main (void)
17310 unw_cursor_t cursor; unw_step( &cursor );
17312 return 0;
17314 _ACEOF
17315 if ac_fn_c_try_link "$LINENO"
17316 then :
17317 wine_cv_have_libunwind_unw_step="yes"
17318 else $as_nop
17319 wine_cv_have_libunwind_unw_step="no"
17321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17322 conftest$ac_exeext conftest.$ac_ext
17324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17325 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17326 LIBS=$save_libs
17328 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17329 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17330 then
17332 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17335 CPPFLAGS=$ac_save_CPPFLAGS
17338 case $host in
17339 aarch64*|*-darwin*)
17340 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17341 then :
17342 case "x$with_unwind" in
17343 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17344 xno) ;;
17345 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17346 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17347 esac
17349 fi ;;
17350 esac
17352 if test "x$with_sdl" != "xno"
17353 then
17354 if ${SDL2_CFLAGS:+false} :
17355 then :
17356 if test ${PKG_CONFIG+y}
17357 then :
17358 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17362 if ${SDL2_LIBS:+false} :
17363 then :
17364 if test ${PKG_CONFIG+y}
17365 then :
17366 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17370 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17373 ac_save_CPPFLAGS=$CPPFLAGS
17374 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17375 for ac_header in SDL.h
17376 do :
17377 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17378 if test "x$ac_cv_header_SDL_h" = xyes
17379 then :
17380 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17382 printf %s "checking for -lSDL2... " >&6; }
17383 if test ${ac_cv_lib_soname_SDL2+y}
17384 then :
17385 printf %s "(cached) " >&6
17386 else $as_nop
17387 ac_check_soname_save_LIBS=$LIBS
17388 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17392 /* Override any GCC internal prototype to avoid an error.
17393 Use char because int might match the return type of a GCC
17394 builtin and then its argument prototype would still apply. */
17395 char SDL_Init ();
17397 main (void)
17399 return SDL_Init ();
17401 return 0;
17403 _ACEOF
17404 if ac_fn_c_try_link "$LINENO"
17405 then :
17406 case "$LIBEXT" in
17407 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17408 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'` ;;
17409 *) 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'`
17410 if ${ac_cv_lib_soname_SDL2:+false} :
17411 then :
17412 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17413 fi ;;
17414 esac
17415 else $as_nop
17416 ac_cv_lib_soname_SDL2=
17418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17419 conftest$ac_exeext conftest.$ac_ext
17420 LIBS=$ac_check_soname_save_LIBS
17422 if ${ac_cv_lib_soname_SDL2:+false} :
17423 then :
17424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17425 printf "%s\n" "not found" >&6; }
17427 else $as_nop
17428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17429 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17431 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17437 done
17438 CPPFLAGS=$ac_save_CPPFLAGS
17441 if test "x$ac_cv_lib_soname_SDL2" = "x"
17442 then :
17443 case "x$with_sdl" in
17444 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17445 xno) ;;
17446 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17447 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17448 esac
17452 if test "x$with_capi" != "xno"
17453 then
17454 if ${CAPI20_CFLAGS:+false} :
17455 then :
17456 if test ${PKG_CONFIG+y}
17457 then :
17458 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17462 if ${CAPI20_LIBS:+false} :
17463 then :
17464 if test ${PKG_CONFIG+y}
17465 then :
17466 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17473 ac_save_CPPFLAGS=$CPPFLAGS
17474 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17475 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17477 if test "x$ac_cv_header_capi20_h" = xyes
17478 then :
17479 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17482 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17484 if test "x$ac_cv_header_linux_capi_h" = xyes
17485 then :
17486 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17490 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17491 then
17492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17493 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17494 if test ${ac_cv_lib_capi20_capi20_register+y}
17495 then :
17496 printf %s "(cached) " >&6
17497 else $as_nop
17498 ac_check_lib_save_LIBS=$LIBS
17499 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17501 /* end confdefs.h. */
17503 /* Override any GCC internal prototype to avoid an error.
17504 Use char because int might match the return type of a GCC
17505 builtin and then its argument prototype would still apply. */
17506 char capi20_register ();
17508 main (void)
17510 return capi20_register ();
17512 return 0;
17514 _ACEOF
17515 if ac_fn_c_try_link "$LINENO"
17516 then :
17517 ac_cv_lib_capi20_capi20_register=yes
17518 else $as_nop
17519 ac_cv_lib_capi20_capi20_register=no
17521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17522 conftest$ac_exeext conftest.$ac_ext
17523 LIBS=$ac_check_lib_save_LIBS
17525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17526 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17527 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17528 then :
17530 else $as_nop
17531 CAPI20_LIBS=""
17535 CPPFLAGS=$ac_save_CPPFLAGS
17538 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17539 then :
17540 case "x$with_capi" in
17541 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17542 xno) ;;
17543 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17544 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17545 esac
17546 enable_capi2032=${enable_capi2032:-no}
17549 if test "x$with_cups" != "xno"
17550 then
17551 if ${CUPS_CFLAGS:+false} :
17552 then :
17553 if test ${PKG_CONFIG+y}
17554 then :
17555 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17558 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17559 if ${CUPS_LIBS:+false} :
17560 then :
17561 if test ${PKG_CONFIG+y}
17562 then :
17563 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17566 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17567 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17570 ac_save_CPPFLAGS=$CPPFLAGS
17571 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17572 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17573 if test "x$ac_cv_header_cups_cups_h" = xyes
17574 then :
17575 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17578 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17579 if test "x$ac_cv_header_cups_ppd_h" = xyes
17580 then :
17581 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17585 if test "$ac_cv_header_cups_cups_h" = "yes"
17586 then
17587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17588 printf %s "checking for -lcups... " >&6; }
17589 if test ${ac_cv_lib_soname_cups+y}
17590 then :
17591 printf %s "(cached) " >&6
17592 else $as_nop
17593 ac_check_soname_save_LIBS=$LIBS
17594 LIBS="-lcups $CUPS_LIBS $LIBS"
17595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17598 /* Override any GCC internal prototype to avoid an error.
17599 Use char because int might match the return type of a GCC
17600 builtin and then its argument prototype would still apply. */
17601 char cupsGetDefault ();
17603 main (void)
17605 return cupsGetDefault ();
17607 return 0;
17609 _ACEOF
17610 if ac_fn_c_try_link "$LINENO"
17611 then :
17612 case "$LIBEXT" in
17613 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17614 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'` ;;
17615 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17616 if ${ac_cv_lib_soname_cups:+false} :
17617 then :
17618 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17619 fi ;;
17620 esac
17621 else $as_nop
17622 ac_cv_lib_soname_cups=
17624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17625 conftest$ac_exeext conftest.$ac_ext
17626 LIBS=$ac_check_soname_save_LIBS
17628 if ${ac_cv_lib_soname_cups:+false} :
17629 then :
17630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17631 printf "%s\n" "not found" >&6; }
17632 CUPS_LIBS=""
17633 else $as_nop
17634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17635 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17637 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17641 else
17642 CUPS_CFLAGS=""
17643 CUPS_LIBS=""
17645 CPPFLAGS=$ac_save_CPPFLAGS
17648 if test "x$ac_cv_lib_soname_cups" = "x"
17649 then :
17650 case "x$with_cups" in
17651 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17652 xno) ;;
17653 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17654 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17655 esac
17659 if test "x$with_fontconfig" != "xno"
17660 then
17661 if ${FONTCONFIG_CFLAGS:+false} :
17662 then :
17663 if test ${PKG_CONFIG+y}
17664 then :
17665 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17668 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17669 if ${FONTCONFIG_LIBS:+false} :
17670 then :
17671 if test ${PKG_CONFIG+y}
17672 then :
17673 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17676 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17680 ac_save_CPPFLAGS=$CPPFLAGS
17681 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17682 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17683 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17684 then :
17685 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17689 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17690 then
17691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17692 printf %s "checking for -lfontconfig... " >&6; }
17693 if test ${ac_cv_lib_soname_fontconfig+y}
17694 then :
17695 printf %s "(cached) " >&6
17696 else $as_nop
17697 ac_check_soname_save_LIBS=$LIBS
17698 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17700 /* end confdefs.h. */
17702 /* Override any GCC internal prototype to avoid an error.
17703 Use char because int might match the return type of a GCC
17704 builtin and then its argument prototype would still apply. */
17705 char FcInit ();
17707 main (void)
17709 return FcInit ();
17711 return 0;
17713 _ACEOF
17714 if ac_fn_c_try_link "$LINENO"
17715 then :
17716 case "$LIBEXT" in
17717 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17718 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'` ;;
17719 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17720 if ${ac_cv_lib_soname_fontconfig:+false} :
17721 then :
17722 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17723 fi ;;
17724 esac
17725 else $as_nop
17726 ac_cv_lib_soname_fontconfig=
17728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17729 conftest$ac_exeext conftest.$ac_ext
17730 LIBS=$ac_check_soname_save_LIBS
17732 if ${ac_cv_lib_soname_fontconfig:+false} :
17733 then :
17734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17735 printf "%s\n" "not found" >&6; }
17736 FONTCONFIG_CFLAGS=""
17737 else $as_nop
17738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17739 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17741 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17745 else
17746 FONTCONFIG_CFLAGS=""
17748 CPPFLAGS=$ac_save_CPPFLAGS
17751 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17752 then :
17753 case "x$with_fontconfig" in
17754 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17755 xno) ;;
17756 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17757 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17758 esac
17762 if test "x$with_krb5" != "xno"
17763 then
17764 if ${KRB5_CFLAGS:+false} :
17765 then :
17766 if test ${PKG_CONFIG+y}
17767 then :
17768 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17771 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17772 if ${KRB5_LIBS:+false} :
17773 then :
17774 if test ${PKG_CONFIG+y}
17775 then :
17776 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17779 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17783 ac_save_CPPFLAGS=$CPPFLAGS
17784 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17785 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17786 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17787 then :
17788 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17792 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17793 then
17794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17795 printf %s "checking for -lkrb5... " >&6; }
17796 if test ${ac_cv_lib_soname_krb5+y}
17797 then :
17798 printf %s "(cached) " >&6
17799 else $as_nop
17800 ac_check_soname_save_LIBS=$LIBS
17801 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17805 /* Override any GCC internal prototype to avoid an error.
17806 Use char because int might match the return type of a GCC
17807 builtin and then its argument prototype would still apply. */
17808 char krb5_is_config_principal ();
17810 main (void)
17812 return krb5_is_config_principal ();
17814 return 0;
17816 _ACEOF
17817 if ac_fn_c_try_link "$LINENO"
17818 then :
17819 case "$LIBEXT" in
17820 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17821 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'` ;;
17822 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17823 if ${ac_cv_lib_soname_krb5:+false} :
17824 then :
17825 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17826 fi ;;
17827 esac
17828 else $as_nop
17829 ac_cv_lib_soname_krb5=
17831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17832 conftest$ac_exeext conftest.$ac_ext
17833 LIBS=$ac_check_soname_save_LIBS
17835 if ${ac_cv_lib_soname_krb5:+false} :
17836 then :
17837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17838 printf "%s\n" "not found" >&6; }
17839 KRB5_CFLAGS=""
17840 else $as_nop
17841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17842 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17844 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17848 else
17849 KRB5_CFLAGS=""
17851 CPPFLAGS=$ac_save_CPPFLAGS
17854 if test "x$ac_cv_lib_soname_krb5" = "x"
17855 then :
17856 case "x$with_krb5" in
17857 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17858 xno) ;;
17859 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17860 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17861 esac
17864 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17866 if test "x$with_gssapi" != "xno"
17867 then
17868 if ${GSSAPI_CFLAGS:+false} :
17869 then :
17870 if test ${PKG_CONFIG+y}
17871 then :
17872 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17875 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17876 if ${GSSAPI_LIBS:+false} :
17877 then :
17878 if test ${PKG_CONFIG+y}
17879 then :
17880 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17883 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17887 ac_save_CPPFLAGS=$CPPFLAGS
17888 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17889 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17890 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17891 then :
17892 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17895 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17896 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17897 then :
17898 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17902 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17903 then
17904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17905 printf %s "checking for -lgssapi_krb5... " >&6; }
17906 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17907 then :
17908 printf %s "(cached) " >&6
17909 else $as_nop
17910 ac_check_soname_save_LIBS=$LIBS
17911 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17913 /* end confdefs.h. */
17915 /* Override any GCC internal prototype to avoid an error.
17916 Use char because int might match the return type of a GCC
17917 builtin and then its argument prototype would still apply. */
17918 char gss_init_sec_context ();
17920 main (void)
17922 return gss_init_sec_context ();
17924 return 0;
17926 _ACEOF
17927 if ac_fn_c_try_link "$LINENO"
17928 then :
17929 case "$LIBEXT" in
17930 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17931 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'` ;;
17932 *) 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'`
17933 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17934 then :
17935 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17936 fi ;;
17937 esac
17938 else $as_nop
17939 ac_cv_lib_soname_gssapi_krb5=
17941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17942 conftest$ac_exeext conftest.$ac_ext
17943 LIBS=$ac_check_soname_save_LIBS
17945 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17946 then :
17947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17948 printf "%s\n" "not found" >&6; }
17949 GSSAPI_CFLAGS=""
17950 else $as_nop
17951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
17952 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
17954 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
17958 else
17959 GSSAPI_CFLAGS=""
17961 CPPFLAGS=$ac_save_CPPFLAGS
17964 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
17965 then :
17966 case "x$with_gssapi" in
17967 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
17968 xno) ;;
17969 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
17970 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
17971 esac
17975 if test "$ac_cv_header_AL_al_h" = "yes"
17976 then
17977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
17978 printf %s "checking for -lopenal... " >&6; }
17979 if test ${ac_cv_lib_soname_openal+y}
17980 then :
17981 printf %s "(cached) " >&6
17982 else $as_nop
17983 ac_check_soname_save_LIBS=$LIBS
17984 LIBS="-lopenal $LIBS"
17985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17988 /* Override any GCC internal prototype to avoid an error.
17989 Use char because int might match the return type of a GCC
17990 builtin and then its argument prototype would still apply. */
17991 char alGetSource3i ();
17993 main (void)
17995 return alGetSource3i ();
17997 return 0;
17999 _ACEOF
18000 if ac_fn_c_try_link "$LINENO"
18001 then :
18002 case "$LIBEXT" in
18003 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18004 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'` ;;
18005 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18006 if ${ac_cv_lib_soname_openal:+false} :
18007 then :
18008 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18009 fi ;;
18010 esac
18011 else $as_nop
18012 ac_cv_lib_soname_openal=
18014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18015 conftest$ac_exeext conftest.$ac_ext
18016 LIBS=$ac_check_soname_save_LIBS
18018 if ${ac_cv_lib_soname_openal:+false} :
18019 then :
18020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18021 printf "%s\n" "not found" >&6; }
18023 else $as_nop
18024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18025 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18027 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18029 OPENAL_LIBS="-lopenal"
18031 ac_cv_lib_openal=yes
18033 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18037 if test "x$ac_cv_lib_openal" != xyes
18038 then :
18039 case "x$with_openal" in
18040 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18041 xno) ;;
18042 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18043 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18044 esac
18045 enable_openal32=${enable_openal32:-no}
18048 if test "$ac_cv_header_libprocstat_h" = "yes"
18049 then
18050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18051 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18052 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18053 then :
18054 printf %s "(cached) " >&6
18055 else $as_nop
18056 ac_check_lib_save_LIBS=$LIBS
18057 LIBS="-lprocstat $LIBS"
18058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18059 /* end confdefs.h. */
18061 /* Override any GCC internal prototype to avoid an error.
18062 Use char because int might match the return type of a GCC
18063 builtin and then its argument prototype would still apply. */
18064 char procstat_open_sysctl ();
18066 main (void)
18068 return procstat_open_sysctl ();
18070 return 0;
18072 _ACEOF
18073 if ac_fn_c_try_link "$LINENO"
18074 then :
18075 ac_cv_lib_procstat_procstat_open_sysctl=yes
18076 else $as_nop
18077 ac_cv_lib_procstat_procstat_open_sysctl=no
18079 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18080 conftest$ac_exeext conftest.$ac_ext
18081 LIBS=$ac_check_lib_save_LIBS
18083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18084 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18085 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18086 then :
18088 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18090 PROCSTAT_LIBS="-lprocstat"
18096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18097 printf %s "checking for -lodbc... " >&6; }
18098 if test ${ac_cv_lib_soname_odbc+y}
18099 then :
18100 printf %s "(cached) " >&6
18101 else $as_nop
18102 ac_check_soname_save_LIBS=$LIBS
18103 LIBS="-lodbc $LIBS"
18104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18105 /* end confdefs.h. */
18107 /* Override any GCC internal prototype to avoid an error.
18108 Use char because int might match the return type of a GCC
18109 builtin and then its argument prototype would still apply. */
18110 char SQLConnect ();
18112 main (void)
18114 return SQLConnect ();
18116 return 0;
18118 _ACEOF
18119 if ac_fn_c_try_link "$LINENO"
18120 then :
18121 case "$LIBEXT" in
18122 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18123 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'` ;;
18124 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18125 if ${ac_cv_lib_soname_odbc:+false} :
18126 then :
18127 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18128 fi ;;
18129 esac
18130 else $as_nop
18131 ac_cv_lib_soname_odbc=
18133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18134 conftest$ac_exeext conftest.$ac_ext
18135 LIBS=$ac_check_soname_save_LIBS
18137 if ${ac_cv_lib_soname_odbc:+false} :
18138 then :
18139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18140 printf "%s\n" "not found" >&6; }
18141 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18143 else $as_nop
18144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18145 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18147 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18152 if test "x$with_netapi" != "xno"
18153 then
18154 if ${NETAPI_CFLAGS:+false} :
18155 then :
18156 if test ${PKG_CONFIG+y}
18157 then :
18158 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18162 if ${NETAPI_LIBS:+false} :
18163 then :
18164 if test ${PKG_CONFIG+y}
18165 then :
18166 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18173 ac_save_CPPFLAGS=$CPPFLAGS
18174 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18176 printf %s "checking for -lnetapi... " >&6; }
18177 if test ${ac_cv_lib_soname_netapi+y}
18178 then :
18179 printf %s "(cached) " >&6
18180 else $as_nop
18181 ac_check_soname_save_LIBS=$LIBS
18182 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18184 /* end confdefs.h. */
18186 /* Override any GCC internal prototype to avoid an error.
18187 Use char because int might match the return type of a GCC
18188 builtin and then its argument prototype would still apply. */
18189 char libnetapi_init ();
18191 main (void)
18193 return libnetapi_init ();
18195 return 0;
18197 _ACEOF
18198 if ac_fn_c_try_link "$LINENO"
18199 then :
18200 case "$LIBEXT" in
18201 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18202 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'` ;;
18203 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18204 if ${ac_cv_lib_soname_netapi:+false} :
18205 then :
18206 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18207 fi ;;
18208 esac
18209 else $as_nop
18210 ac_cv_lib_soname_netapi=
18212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18213 conftest$ac_exeext conftest.$ac_ext
18214 LIBS=$ac_check_soname_save_LIBS
18216 if ${ac_cv_lib_soname_netapi:+false} :
18217 then :
18218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18219 printf "%s\n" "not found" >&6; }
18220 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18222 else $as_nop
18223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18224 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18226 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18230 CPPFLAGS=$ac_save_CPPFLAGS
18233 if test "x$ac_cv_lib_soname_netapi" = "x"
18234 then :
18235 case "x$with_netapi" in
18236 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18237 xno) ;;
18238 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18239 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18240 esac
18241 enable_netapi=${enable_netapi:-no}
18245 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18246 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18247 then
18248 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18251 if test "x$with_vulkan" != "xno"
18252 then
18253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18254 printf %s "checking for -lvulkan... " >&6; }
18255 if test ${ac_cv_lib_soname_vulkan+y}
18256 then :
18257 printf %s "(cached) " >&6
18258 else $as_nop
18259 ac_check_soname_save_LIBS=$LIBS
18260 LIBS="-lvulkan $LIBS"
18261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18262 /* end confdefs.h. */
18264 /* Override any GCC internal prototype to avoid an error.
18265 Use char because int might match the return type of a GCC
18266 builtin and then its argument prototype would still apply. */
18267 char vkGetInstanceProcAddr ();
18269 main (void)
18271 return vkGetInstanceProcAddr ();
18273 return 0;
18275 _ACEOF
18276 if ac_fn_c_try_link "$LINENO"
18277 then :
18278 case "$LIBEXT" in
18279 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18280 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'` ;;
18281 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18282 if ${ac_cv_lib_soname_vulkan:+false} :
18283 then :
18284 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18285 fi ;;
18286 esac
18287 else $as_nop
18288 ac_cv_lib_soname_vulkan=
18290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18291 conftest$ac_exeext conftest.$ac_ext
18292 LIBS=$ac_check_soname_save_LIBS
18294 if ${ac_cv_lib_soname_vulkan:+false} :
18295 then :
18296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18297 printf "%s\n" "not found" >&6; }
18299 else $as_nop
18300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18301 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18303 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18307 if test "x$ac_cv_lib_soname_vulkan" = "x"
18308 then
18309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18310 printf %s "checking for -lMoltenVK... " >&6; }
18311 if test ${ac_cv_lib_soname_MoltenVK+y}
18312 then :
18313 printf %s "(cached) " >&6
18314 else $as_nop
18315 ac_check_soname_save_LIBS=$LIBS
18316 LIBS="-lMoltenVK $LIBS"
18317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18318 /* end confdefs.h. */
18320 /* Override any GCC internal prototype to avoid an error.
18321 Use char because int might match the return type of a GCC
18322 builtin and then its argument prototype would still apply. */
18323 char vkGetInstanceProcAddr ();
18325 main (void)
18327 return vkGetInstanceProcAddr ();
18329 return 0;
18331 _ACEOF
18332 if ac_fn_c_try_link "$LINENO"
18333 then :
18334 case "$LIBEXT" in
18335 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18336 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'` ;;
18337 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18338 if ${ac_cv_lib_soname_MoltenVK:+false} :
18339 then :
18340 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18341 fi ;;
18342 esac
18343 else $as_nop
18344 ac_cv_lib_soname_MoltenVK=
18346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18347 conftest$ac_exeext conftest.$ac_ext
18348 LIBS=$ac_check_soname_save_LIBS
18350 if ${ac_cv_lib_soname_MoltenVK:+false} :
18351 then :
18352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18353 printf "%s\n" "not found" >&6; }
18355 else $as_nop
18356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18357 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18359 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18365 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18366 then :
18367 case "x$with_vulkan" in
18368 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18369 xno) ;;
18370 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18371 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18372 esac
18377 if test "x${GCC}" = "xyes"
18378 then
18379 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18381 saved_CFLAGS=$CFLAGS
18382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18383 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18384 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18385 then :
18386 printf %s "(cached) " >&6
18387 else $as_nop
18388 ac_wine_try_cflags_saved=$CFLAGS
18389 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18391 /* end confdefs.h. */
18392 int main(int argc, char **argv) { return 0; }
18393 _ACEOF
18394 if ac_fn_c_try_link "$LINENO"
18395 then :
18396 ac_cv_cflags__Werror_unknown_warning_option=yes
18397 else $as_nop
18398 ac_cv_cflags__Werror_unknown_warning_option=no
18400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18401 conftest$ac_exeext conftest.$ac_ext
18402 CFLAGS=$ac_wine_try_cflags_saved
18404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18405 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18406 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18407 then :
18408 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18411 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18412 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18413 then :
18414 printf %s "(cached) " >&6
18415 else $as_nop
18416 ac_wine_try_cflags_saved=$CFLAGS
18417 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18419 /* end confdefs.h. */
18420 int main(int argc, char **argv) { return 0; }
18421 _ACEOF
18422 if ac_fn_c_try_link "$LINENO"
18423 then :
18424 ac_cv_cflags__Werror_unused_command_line_argument=yes
18425 else $as_nop
18426 ac_cv_cflags__Werror_unused_command_line_argument=no
18428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18429 conftest$ac_exeext conftest.$ac_ext
18430 CFLAGS=$ac_wine_try_cflags_saved
18432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18433 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18434 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18435 then :
18436 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18439 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18440 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18441 then :
18442 printf %s "(cached) " >&6
18443 else $as_nop
18444 ac_wine_try_cflags_saved=$CFLAGS
18445 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h. */
18448 int main(int argc, char **argv) { return 0; }
18449 _ACEOF
18450 if ac_fn_c_try_link "$LINENO"
18451 then :
18452 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18453 else $as_nop
18454 ac_cv_cflags__Werror_ignored_optimization_argument=no
18456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18457 conftest$ac_exeext conftest.$ac_ext
18458 CFLAGS=$ac_wine_try_cflags_saved
18460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18461 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18462 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18463 then :
18464 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18467 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18468 if test ${ac_cv_cflags__fcf_protection_none+y}
18469 then :
18470 printf %s "(cached) " >&6
18471 else $as_nop
18472 ac_wine_try_cflags_saved=$CFLAGS
18473 CFLAGS="$CFLAGS -fcf-protection=none"
18474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18475 /* end confdefs.h. */
18476 int main(int argc, char **argv) { return 0; }
18477 _ACEOF
18478 if ac_fn_c_try_link "$LINENO"
18479 then :
18480 ac_cv_cflags__fcf_protection_none=yes
18481 else $as_nop
18482 ac_cv_cflags__fcf_protection_none=no
18484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18485 conftest$ac_exeext conftest.$ac_ext
18486 CFLAGS=$ac_wine_try_cflags_saved
18488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18489 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18490 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18491 then :
18492 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18495 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18496 if test ${ac_cv_cflags__fno_stack_protector+y}
18497 then :
18498 printf %s "(cached) " >&6
18499 else $as_nop
18500 ac_wine_try_cflags_saved=$CFLAGS
18501 CFLAGS="$CFLAGS -fno-stack-protector"
18502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18503 /* end confdefs.h. */
18504 int main(int argc, char **argv) { return 0; }
18505 _ACEOF
18506 if ac_fn_c_try_link "$LINENO"
18507 then :
18508 ac_cv_cflags__fno_stack_protector=yes
18509 else $as_nop
18510 ac_cv_cflags__fno_stack_protector=no
18512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18513 conftest$ac_exeext conftest.$ac_ext
18514 CFLAGS=$ac_wine_try_cflags_saved
18516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18517 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18518 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18519 then :
18520 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18523 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18524 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18525 then :
18526 printf %s "(cached) " >&6
18527 else $as_nop
18528 ac_wine_try_cflags_saved=$CFLAGS
18529 CFLAGS="$CFLAGS -fno-strict-aliasing"
18530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18531 /* end confdefs.h. */
18532 int main(int argc, char **argv) { return 0; }
18533 _ACEOF
18534 if ac_fn_c_try_link "$LINENO"
18535 then :
18536 ac_cv_cflags__fno_strict_aliasing=yes
18537 else $as_nop
18538 ac_cv_cflags__fno_strict_aliasing=no
18540 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18541 conftest$ac_exeext conftest.$ac_ext
18542 CFLAGS=$ac_wine_try_cflags_saved
18544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18545 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18546 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18547 then :
18548 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18551 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18552 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18553 then :
18554 printf %s "(cached) " >&6
18555 else $as_nop
18556 ac_wine_try_cflags_saved=$CFLAGS
18557 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18559 /* end confdefs.h. */
18560 int main(int argc, char **argv) { return 0; }
18561 _ACEOF
18562 if ac_fn_c_try_link "$LINENO"
18563 then :
18564 ac_cv_cflags__Wdeclaration_after_statement=yes
18565 else $as_nop
18566 ac_cv_cflags__Wdeclaration_after_statement=no
18568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18569 conftest$ac_exeext conftest.$ac_ext
18570 CFLAGS=$ac_wine_try_cflags_saved
18572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18573 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18574 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18575 then :
18576 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18579 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18580 if test ${ac_cv_cflags__Wempty_body+y}
18581 then :
18582 printf %s "(cached) " >&6
18583 else $as_nop
18584 ac_wine_try_cflags_saved=$CFLAGS
18585 CFLAGS="$CFLAGS -Wempty-body"
18586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18587 /* end confdefs.h. */
18588 int main(int argc, char **argv) { return 0; }
18589 _ACEOF
18590 if ac_fn_c_try_link "$LINENO"
18591 then :
18592 ac_cv_cflags__Wempty_body=yes
18593 else $as_nop
18594 ac_cv_cflags__Wempty_body=no
18596 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18597 conftest$ac_exeext conftest.$ac_ext
18598 CFLAGS=$ac_wine_try_cflags_saved
18600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18601 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18602 if test "x$ac_cv_cflags__Wempty_body" = xyes
18603 then :
18604 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18607 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18608 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18609 then :
18610 printf %s "(cached) " >&6
18611 else $as_nop
18612 ac_wine_try_cflags_saved=$CFLAGS
18613 CFLAGS="$CFLAGS -Wignored-qualifiers"
18614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18615 /* end confdefs.h. */
18616 int main(int argc, char **argv) { return 0; }
18617 _ACEOF
18618 if ac_fn_c_try_link "$LINENO"
18619 then :
18620 ac_cv_cflags__Wignored_qualifiers=yes
18621 else $as_nop
18622 ac_cv_cflags__Wignored_qualifiers=no
18624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18625 conftest$ac_exeext conftest.$ac_ext
18626 CFLAGS=$ac_wine_try_cflags_saved
18628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18629 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18630 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18631 then :
18632 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18635 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18636 if test ${ac_cv_cflags__Winit_self+y}
18637 then :
18638 printf %s "(cached) " >&6
18639 else $as_nop
18640 ac_wine_try_cflags_saved=$CFLAGS
18641 CFLAGS="$CFLAGS -Winit-self"
18642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h. */
18644 int main(int argc, char **argv) { return 0; }
18645 _ACEOF
18646 if ac_fn_c_try_link "$LINENO"
18647 then :
18648 ac_cv_cflags__Winit_self=yes
18649 else $as_nop
18650 ac_cv_cflags__Winit_self=no
18652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18653 conftest$ac_exeext conftest.$ac_ext
18654 CFLAGS=$ac_wine_try_cflags_saved
18656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18657 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18658 if test "x$ac_cv_cflags__Winit_self" = xyes
18659 then :
18660 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18663 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18664 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18665 then :
18666 printf %s "(cached) " >&6
18667 else $as_nop
18668 ac_wine_try_cflags_saved=$CFLAGS
18669 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18671 /* end confdefs.h. */
18672 int main(int argc, char **argv) { return 0; }
18673 _ACEOF
18674 if ac_fn_c_try_link "$LINENO"
18675 then :
18676 ac_cv_cflags__Wpacked_not_aligned=yes
18677 else $as_nop
18678 ac_cv_cflags__Wpacked_not_aligned=no
18680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18681 conftest$ac_exeext conftest.$ac_ext
18682 CFLAGS=$ac_wine_try_cflags_saved
18684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18685 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18686 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18687 then :
18688 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18691 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18692 if test ${ac_cv_cflags__Wpragma_pack+y}
18693 then :
18694 printf %s "(cached) " >&6
18695 else $as_nop
18696 ac_wine_try_cflags_saved=$CFLAGS
18697 CFLAGS="$CFLAGS -Wpragma-pack"
18698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18699 /* end confdefs.h. */
18700 int main(int argc, char **argv) { return 0; }
18701 _ACEOF
18702 if ac_fn_c_try_link "$LINENO"
18703 then :
18704 ac_cv_cflags__Wpragma_pack=yes
18705 else $as_nop
18706 ac_cv_cflags__Wpragma_pack=no
18708 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18709 conftest$ac_exeext conftest.$ac_ext
18710 CFLAGS=$ac_wine_try_cflags_saved
18712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18713 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18714 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18715 then :
18716 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18719 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18720 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18721 then :
18722 printf %s "(cached) " >&6
18723 else $as_nop
18724 ac_wine_try_cflags_saved=$CFLAGS
18725 CFLAGS="$CFLAGS -Wshift-overflow=2"
18726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18727 /* end confdefs.h. */
18728 int main(int argc, char **argv) { return 0; }
18729 _ACEOF
18730 if ac_fn_c_try_link "$LINENO"
18731 then :
18732 ac_cv_cflags__Wshift_overflow_2=yes
18733 else $as_nop
18734 ac_cv_cflags__Wshift_overflow_2=no
18736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18737 conftest$ac_exeext conftest.$ac_ext
18738 CFLAGS=$ac_wine_try_cflags_saved
18740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18741 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18742 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18743 then :
18744 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18747 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18748 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18749 then :
18750 printf %s "(cached) " >&6
18751 else $as_nop
18752 ac_wine_try_cflags_saved=$CFLAGS
18753 CFLAGS="$CFLAGS -Wstrict-prototypes"
18754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18755 /* end confdefs.h. */
18756 int main(int argc, char **argv) { return 0; }
18757 _ACEOF
18758 if ac_fn_c_try_link "$LINENO"
18759 then :
18760 ac_cv_cflags__Wstrict_prototypes=yes
18761 else $as_nop
18762 ac_cv_cflags__Wstrict_prototypes=no
18764 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18765 conftest$ac_exeext conftest.$ac_ext
18766 CFLAGS=$ac_wine_try_cflags_saved
18768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18769 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18770 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18771 then :
18772 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18775 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18776 if test ${ac_cv_cflags__Wtype_limits+y}
18777 then :
18778 printf %s "(cached) " >&6
18779 else $as_nop
18780 ac_wine_try_cflags_saved=$CFLAGS
18781 CFLAGS="$CFLAGS -Wtype-limits"
18782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18783 /* end confdefs.h. */
18784 int main(int argc, char **argv) { return 0; }
18785 _ACEOF
18786 if ac_fn_c_try_link "$LINENO"
18787 then :
18788 ac_cv_cflags__Wtype_limits=yes
18789 else $as_nop
18790 ac_cv_cflags__Wtype_limits=no
18792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18793 conftest$ac_exeext conftest.$ac_ext
18794 CFLAGS=$ac_wine_try_cflags_saved
18796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18797 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18798 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18799 then :
18800 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18803 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18804 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18805 then :
18806 printf %s "(cached) " >&6
18807 else $as_nop
18808 ac_wine_try_cflags_saved=$CFLAGS
18809 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18811 /* end confdefs.h. */
18812 int main(int argc, char **argv) { return 0; }
18813 _ACEOF
18814 if ac_fn_c_try_link "$LINENO"
18815 then :
18816 ac_cv_cflags__Wunused_but_set_parameter=yes
18817 else $as_nop
18818 ac_cv_cflags__Wunused_but_set_parameter=no
18820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18821 conftest$ac_exeext conftest.$ac_ext
18822 CFLAGS=$ac_wine_try_cflags_saved
18824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18825 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18826 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18827 then :
18828 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18831 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18832 if test ${ac_cv_cflags__Wvla+y}
18833 then :
18834 printf %s "(cached) " >&6
18835 else $as_nop
18836 ac_wine_try_cflags_saved=$CFLAGS
18837 CFLAGS="$CFLAGS -Wvla"
18838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18839 /* end confdefs.h. */
18840 int main(int argc, char **argv) { return 0; }
18841 _ACEOF
18842 if ac_fn_c_try_link "$LINENO"
18843 then :
18844 ac_cv_cflags__Wvla=yes
18845 else $as_nop
18846 ac_cv_cflags__Wvla=no
18848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18849 conftest$ac_exeext conftest.$ac_ext
18850 CFLAGS=$ac_wine_try_cflags_saved
18852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18853 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18854 if test "x$ac_cv_cflags__Wvla" = xyes
18855 then :
18856 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18859 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18860 if test ${ac_cv_cflags__Wwrite_strings+y}
18861 then :
18862 printf %s "(cached) " >&6
18863 else $as_nop
18864 ac_wine_try_cflags_saved=$CFLAGS
18865 CFLAGS="$CFLAGS -Wwrite-strings"
18866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18867 /* end confdefs.h. */
18868 int main(int argc, char **argv) { return 0; }
18869 _ACEOF
18870 if ac_fn_c_try_link "$LINENO"
18871 then :
18872 ac_cv_cflags__Wwrite_strings=yes
18873 else $as_nop
18874 ac_cv_cflags__Wwrite_strings=no
18876 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18877 conftest$ac_exeext conftest.$ac_ext
18878 CFLAGS=$ac_wine_try_cflags_saved
18880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18881 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18882 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18883 then :
18884 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18887 if test -z "$CROSSTARGET"
18888 then
18889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18890 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18891 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18892 then :
18893 printf %s "(cached) " >&6
18894 else $as_nop
18895 ac_wine_try_cflags_saved=$CFLAGS
18896 CFLAGS="$CFLAGS -fexcess-precision=standard"
18897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18898 /* end confdefs.h. */
18899 int main(int argc, char **argv) { return 0; }
18900 _ACEOF
18901 if ac_fn_c_try_link "$LINENO"
18902 then :
18903 ac_cv_cflags__fexcess_precision_standard=yes
18904 else $as_nop
18905 ac_cv_cflags__fexcess_precision_standard=no
18907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18908 conftest$ac_exeext conftest.$ac_ext
18909 CFLAGS=$ac_wine_try_cflags_saved
18911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18912 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18913 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18914 then :
18915 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
18920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18921 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18922 if test ${ac_cv_cflags__Wpointer_arith+y}
18923 then :
18924 printf %s "(cached) " >&6
18925 else $as_nop
18926 ac_wine_try_cflags_saved=$CFLAGS
18927 CFLAGS="$CFLAGS -Wpointer-arith"
18928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18929 /* end confdefs.h. */
18930 int main(int argc, char **argv) { return 0; }
18931 _ACEOF
18932 if ac_fn_c_try_link "$LINENO"
18933 then :
18934 ac_cv_cflags__Wpointer_arith=yes
18935 else $as_nop
18936 ac_cv_cflags__Wpointer_arith=no
18938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18939 conftest$ac_exeext conftest.$ac_ext
18940 CFLAGS=$ac_wine_try_cflags_saved
18942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18943 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18944 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18945 then :
18946 saved_string_h_CFLAGS=$CFLAGS
18947 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18949 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18950 if test ${ac_cv_c_string_h_warnings+y}
18951 then :
18952 printf %s "(cached) " >&6
18953 else $as_nop
18954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18955 /* end confdefs.h. */
18956 #include <string.h>
18958 main (void)
18962 return 0;
18964 _ACEOF
18965 if ac_fn_c_try_compile "$LINENO"
18966 then :
18967 ac_cv_c_string_h_warnings=no
18968 else $as_nop
18969 ac_cv_c_string_h_warnings=yes
18971 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18974 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18975 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18976 CFLAGS=$saved_string_h_CFLAGS
18979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18980 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18981 if test ${ac_cv_cflags__Wlogical_op+y}
18982 then :
18983 printf %s "(cached) " >&6
18984 else $as_nop
18985 ac_wine_try_cflags_saved=$CFLAGS
18986 CFLAGS="$CFLAGS -Wlogical-op"
18987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18988 /* end confdefs.h. */
18989 int main(int argc, char **argv) { return 0; }
18990 _ACEOF
18991 if ac_fn_c_try_link "$LINENO"
18992 then :
18993 ac_cv_cflags__Wlogical_op=yes
18994 else $as_nop
18995 ac_cv_cflags__Wlogical_op=no
18997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18998 conftest$ac_exeext conftest.$ac_ext
18999 CFLAGS=$ac_wine_try_cflags_saved
19001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19002 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19003 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19004 then :
19005 saved_string_h_CFLAGS=$CFLAGS
19006 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19008 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19009 if test ${ac_cv_c_logicalop_noisy+y}
19010 then :
19011 printf %s "(cached) " >&6
19012 else $as_nop
19013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19014 /* end confdefs.h. */
19015 #include <string.h>
19016 char*f(const char *h,char n) {return strchr(h,n);}
19018 main (void)
19022 return 0;
19024 _ACEOF
19025 if ac_fn_c_try_compile "$LINENO"
19026 then :
19027 ac_cv_c_logicalop_noisy=no
19028 else $as_nop
19029 ac_cv_c_logicalop_noisy=yes
19031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19034 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19035 CFLAGS=$saved_string_h_CFLAGS
19036 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19040 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19041 if test ${wine_cv_64bit_compare_swap+y}
19042 then :
19043 printf %s "(cached) " >&6
19044 else $as_nop
19045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19046 /* end confdefs.h. */
19047 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19048 #error no
19049 #endif
19051 main (void)
19055 return 0;
19057 _ACEOF
19058 if ac_fn_c_try_compile "$LINENO"
19059 then :
19060 wine_cv_64bit_compare_swap="none needed"
19061 else $as_nop
19062 case $host_cpu in
19063 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19064 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19065 *) wine_cv_64bit_compare_swap="unknown" ;;
19066 esac
19067 if test "x$wine_cv_64bit_compare_swap" != xunknown
19068 then
19069 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19071 /* end confdefs.h. */
19072 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19073 #error no
19074 #endif
19076 main (void)
19080 return 0;
19082 _ACEOF
19083 if ac_fn_c_try_compile "$LINENO"
19084 then :
19086 else $as_nop
19087 wine_cv_64bit_compare_swap="unknown"
19089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19090 CFLAGS=$saved_CFLAGS
19093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19096 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19097 case "$wine_cv_64bit_compare_swap" in
19098 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19099 "none needed") ;;
19100 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19101 esac
19103 ac_debug_format_seen=""
19104 for ac_flag in $CFLAGS; do
19105 case $ac_flag in
19106 -gdwarf*) ac_debug_format_seen=yes ;;
19107 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19108 esac
19109 done
19110 if test "x$ac_debug_format_seen" = xdefault
19111 then
19112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19113 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19114 if test ${ac_cv_cflags__gdwarf_4+y}
19115 then :
19116 printf %s "(cached) " >&6
19117 else $as_nop
19118 ac_wine_try_cflags_saved=$CFLAGS
19119 CFLAGS="$CFLAGS -gdwarf-4"
19120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19121 /* end confdefs.h. */
19122 int main(int argc, char **argv) { return 0; }
19123 _ACEOF
19124 if ac_fn_c_try_link "$LINENO"
19125 then :
19126 ac_cv_cflags__gdwarf_4=yes
19127 else $as_nop
19128 ac_cv_cflags__gdwarf_4=no
19130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19131 conftest$ac_exeext conftest.$ac_ext
19132 CFLAGS=$ac_wine_try_cflags_saved
19134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19135 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19136 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19137 then :
19138 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19142 MSVCRTFLAGS=""
19144 case $host_os in
19145 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19146 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19147 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19148 then :
19149 printf %s "(cached) " >&6
19150 else $as_nop
19151 ac_wine_try_cflags_saved=$CFLAGS
19152 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19154 /* end confdefs.h. */
19155 int main(int argc, char **argv) { return 0; }
19156 _ACEOF
19157 if ac_fn_c_try_link "$LINENO"
19158 then :
19159 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19160 else $as_nop
19161 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19164 conftest$ac_exeext conftest.$ac_ext
19165 CFLAGS=$ac_wine_try_cflags_saved
19167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19168 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19169 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19170 then :
19171 DELAYLOADFLAG="-Wl,-delayload,"
19173 fi ;;
19174 *) MSVCRTFLAGS="-D_WIN32"
19175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19176 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19177 if test ${ac_cv_cflags__fno_builtin+y}
19178 then :
19179 printf %s "(cached) " >&6
19180 else $as_nop
19181 ac_wine_try_cflags_saved=$CFLAGS
19182 CFLAGS="$CFLAGS -fno-builtin"
19183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19184 /* end confdefs.h. */
19185 int main(int argc, char **argv) { return 0; }
19186 _ACEOF
19187 if ac_fn_c_try_link "$LINENO"
19188 then :
19189 ac_cv_cflags__fno_builtin=yes
19190 else $as_nop
19191 ac_cv_cflags__fno_builtin=no
19193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19194 conftest$ac_exeext conftest.$ac_ext
19195 CFLAGS=$ac_wine_try_cflags_saved
19197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19198 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19199 if test "x$ac_cv_cflags__fno_builtin" = xyes
19200 then :
19201 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19204 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19205 if test ${ac_cv_cflags__fshort_wchar+y}
19206 then :
19207 printf %s "(cached) " >&6
19208 else $as_nop
19209 ac_wine_try_cflags_saved=$CFLAGS
19210 CFLAGS="$CFLAGS -fshort-wchar"
19211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19212 /* end confdefs.h. */
19213 int main(int argc, char **argv) { return 0; }
19214 _ACEOF
19215 if ac_fn_c_try_link "$LINENO"
19216 then :
19217 ac_cv_cflags__fshort_wchar=yes
19218 else $as_nop
19219 ac_cv_cflags__fshort_wchar=no
19221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19222 conftest$ac_exeext conftest.$ac_ext
19223 CFLAGS=$ac_wine_try_cflags_saved
19225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19226 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19227 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19228 then :
19229 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19232 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19233 if test ${ac_cv_cflags__Wno_format+y}
19234 then :
19235 printf %s "(cached) " >&6
19236 else $as_nop
19237 ac_wine_try_cflags_saved=$CFLAGS
19238 CFLAGS="$CFLAGS -Wno-format"
19239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19240 /* end confdefs.h. */
19241 int main(int argc, char **argv) { return 0; }
19242 _ACEOF
19243 if ac_fn_c_try_link "$LINENO"
19244 then :
19245 ac_cv_cflags__Wno_format=yes
19246 else $as_nop
19247 ac_cv_cflags__Wno_format=no
19249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19250 conftest$ac_exeext conftest.$ac_ext
19251 CFLAGS=$ac_wine_try_cflags_saved
19253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19254 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19255 if test "x$ac_cv_cflags__Wno_format" = xyes
19256 then :
19257 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19258 fi ;;
19259 esac
19261 case $host_cpu in
19262 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19263 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19264 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19265 then :
19266 printf %s "(cached) " >&6
19267 else $as_nop
19268 ac_wine_try_cflags_saved=$CFLAGS
19269 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19271 /* end confdefs.h. */
19272 int main(int argc, char **argv) { return 0; }
19273 _ACEOF
19274 if ac_fn_c_try_link "$LINENO"
19275 then :
19276 ac_cv_cflags__fno_omit_frame_pointer=yes
19277 else $as_nop
19278 ac_cv_cflags__fno_omit_frame_pointer=no
19280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19281 conftest$ac_exeext conftest.$ac_ext
19282 CFLAGS=$ac_wine_try_cflags_saved
19284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19285 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19286 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19287 then :
19288 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19289 fi ;;
19290 *x86_64*)
19291 case $host_os in
19292 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19293 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19294 if test ${ac_cv_cflags__Wno_format+y}
19295 then :
19296 printf %s "(cached) " >&6
19297 else $as_nop
19298 ac_wine_try_cflags_saved=$CFLAGS
19299 CFLAGS="$CFLAGS -Wno-format"
19300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19301 /* end confdefs.h. */
19302 int main(int argc, char **argv) { return 0; }
19303 _ACEOF
19304 if ac_fn_c_try_link "$LINENO"
19305 then :
19306 ac_cv_cflags__Wno_format=yes
19307 else $as_nop
19308 ac_cv_cflags__Wno_format=no
19310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19311 conftest$ac_exeext conftest.$ac_ext
19312 CFLAGS=$ac_wine_try_cflags_saved
19314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19315 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19316 if test "x$ac_cv_cflags__Wno_format" = xyes
19317 then :
19318 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19319 fi ;;
19320 *) if test -z "$CROSSTARGET"
19321 then
19322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19323 printf %s "checking for working -mabi=ms... " >&6; }
19324 if test ${ac_cv_mabi_ms+y}
19325 then :
19326 printf %s "(cached) " >&6
19327 else $as_nop
19328 CFLAGS="$CFLAGS -mabi=ms"
19329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19331 #include <stdarg.h>
19332 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19334 main (void)
19338 return 0;
19340 _ACEOF
19341 if ac_fn_c_try_compile "$LINENO"
19342 then :
19343 ac_cv_mabi_ms=yes
19344 else $as_nop
19345 ac_cv_mabi_ms=no
19347 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19348 CFLAGS=$saved_CFLAGS
19350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19351 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19352 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
19354 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19355 esac ;;
19356 esac
19358 CFLAGS=$saved_CFLAGS
19360 if test "x$enable_werror" = "xyes"
19361 then
19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19363 printf %s "checking whether the compiler supports -Werror... " >&6; }
19364 if test ${ac_cv_cflags__Werror+y}
19365 then :
19366 printf %s "(cached) " >&6
19367 else $as_nop
19368 ac_wine_try_cflags_saved=$CFLAGS
19369 CFLAGS="$CFLAGS -Werror"
19370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19372 int main(int argc, char **argv) { return 0; }
19373 _ACEOF
19374 if ac_fn_c_try_link "$LINENO"
19375 then :
19376 ac_cv_cflags__Werror=yes
19377 else $as_nop
19378 ac_cv_cflags__Werror=no
19380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19381 conftest$ac_exeext conftest.$ac_ext
19382 CFLAGS=$ac_wine_try_cflags_saved
19384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19385 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19386 if test "x$ac_cv_cflags__Werror" = xyes
19387 then :
19388 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19391 if test "x$enable_build_id" = "xyes"
19392 then
19393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19394 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19395 if test ${ac_cv_cflags__Wl___build_id+y}
19396 then :
19397 printf %s "(cached) " >&6
19398 else $as_nop
19399 ac_wine_try_cflags_saved=$CFLAGS
19400 CFLAGS="$CFLAGS -Wl,--build-id"
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403 int main(int argc, char **argv) { return 0; }
19404 _ACEOF
19405 if ac_fn_c_try_link "$LINENO"
19406 then :
19407 ac_cv_cflags__Wl___build_id=yes
19408 else $as_nop
19409 ac_cv_cflags__Wl___build_id=no
19411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19412 conftest$ac_exeext conftest.$ac_ext
19413 CFLAGS=$ac_wine_try_cflags_saved
19415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19416 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19417 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19418 then :
19419 CFLAGS="$CFLAGS -Wl,--build-id"
19420 LDFLAGS="$LDFLAGS -Wl,--build-id"
19426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19427 printf %s "checking for the need to disable Fortify... " >&6; }
19428 if test ${ac_cv_c_fortify_enabled+y}
19429 then :
19430 printf %s "(cached) " >&6
19431 else $as_nop
19432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19434 #include <string.h>
19436 main (void)
19438 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19439 #error Fortify enabled
19440 #endif
19442 return 0;
19444 _ACEOF
19445 if ac_fn_c_try_compile "$LINENO"
19446 then :
19447 ac_cv_c_fortify_enabled=no
19448 else $as_nop
19449 ac_cv_c_fortify_enabled=yes
19451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19454 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19455 if test "$ac_cv_c_fortify_enabled" = yes
19456 then
19457 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19462 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19463 if test ${ac_cv_c_cfi_support+y}
19464 then :
19465 printf %s "(cached) " >&6
19466 else $as_nop
19467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19469 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19471 main (void)
19475 return 0;
19477 _ACEOF
19478 if ac_fn_c_try_compile "$LINENO"
19479 then :
19480 ac_cv_c_cfi_support="yes"
19481 else $as_nop
19482 ac_cv_c_cfi_support="no"
19484 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19487 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19488 if test "$ac_cv_c_cfi_support" = "yes"
19489 then
19490 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19491 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19492 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19493 else
19494 if test "x$enable_win64" = "xyes"
19495 then
19496 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19501 case $host_os in
19502 linux*)
19503 case $host_cpu in
19504 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19505 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19506 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19508 esac
19510 esac
19513 ac_save_CFLAGS="$CFLAGS"
19514 CFLAGS="$CFLAGS $BUILTINFLAG"
19515 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19516 if test "x$ac_cv_func_epoll_create" = xyes
19517 then :
19518 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19521 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19522 if test "x$ac_cv_func_fstatfs" = xyes
19523 then :
19524 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19527 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19528 if test "x$ac_cv_func_futimens" = xyes
19529 then :
19530 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19533 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19534 if test "x$ac_cv_func_futimes" = xyes
19535 then :
19536 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19539 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19540 if test "x$ac_cv_func_futimesat" = xyes
19541 then :
19542 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19545 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19546 if test "x$ac_cv_func_getattrlist" = xyes
19547 then :
19548 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19551 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19552 if test "x$ac_cv_func_getauxval" = xyes
19553 then :
19554 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19557 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19558 if test "x$ac_cv_func_getifaddrs" = xyes
19559 then :
19560 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19563 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19564 if test "x$ac_cv_func_getrandom" = xyes
19565 then :
19566 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19569 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19570 if test "x$ac_cv_func_kqueue" = xyes
19571 then :
19572 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19575 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19576 if test "x$ac_cv_func_mach_continuous_time" = xyes
19577 then :
19578 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19581 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19582 if test "x$ac_cv_func_pipe2" = xyes
19583 then :
19584 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19587 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19588 if test "x$ac_cv_func_port_create" = xyes
19589 then :
19590 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19593 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19594 if test "x$ac_cv_func_posix_fadvise" = xyes
19595 then :
19596 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19599 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19600 if test "x$ac_cv_func_posix_fallocate" = xyes
19601 then :
19602 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19605 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19606 if test "x$ac_cv_func_prctl" = xyes
19607 then :
19608 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19611 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19612 if test "x$ac_cv_func_proc_pidinfo" = xyes
19613 then :
19614 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19617 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19618 if test "x$ac_cv_func_sched_yield" = xyes
19619 then :
19620 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19623 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19624 if test "x$ac_cv_func_setproctitle" = xyes
19625 then :
19626 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19629 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19630 if test "x$ac_cv_func_setprogname" = xyes
19631 then :
19632 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19635 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19636 if test "x$ac_cv_func_sigprocmask" = xyes
19637 then :
19638 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19641 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19642 if test "x$ac_cv_func_sysinfo" = xyes
19643 then :
19644 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19647 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19648 if test "x$ac_cv_func_tcdrain" = xyes
19649 then :
19650 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19653 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19654 if test "x$ac_cv_func_thr_kill2" = xyes
19655 then :
19656 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19660 CFLAGS="$ac_save_CFLAGS"
19662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19663 printf %s "checking for library containing dlopen... " >&6; }
19664 if test ${ac_cv_search_dlopen+y}
19665 then :
19666 printf %s "(cached) " >&6
19667 else $as_nop
19668 ac_func_search_save_LIBS=$LIBS
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19672 /* Override any GCC internal prototype to avoid an error.
19673 Use char because int might match the return type of a GCC
19674 builtin and then its argument prototype would still apply. */
19675 char dlopen ();
19677 main (void)
19679 return dlopen ();
19681 return 0;
19683 _ACEOF
19684 for ac_lib in '' dl
19686 if test -z "$ac_lib"; then
19687 ac_res="none required"
19688 else
19689 ac_res=-l$ac_lib
19690 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19692 if ac_fn_c_try_link "$LINENO"
19693 then :
19694 ac_cv_search_dlopen=$ac_res
19696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19697 conftest$ac_exeext
19698 if test ${ac_cv_search_dlopen+y}
19699 then :
19700 break
19702 done
19703 if test ${ac_cv_search_dlopen+y}
19704 then :
19706 else $as_nop
19707 ac_cv_search_dlopen=no
19709 rm conftest.$ac_ext
19710 LIBS=$ac_func_search_save_LIBS
19712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19713 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19714 ac_res=$ac_cv_search_dlopen
19715 if test "$ac_res" != no
19716 then :
19717 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19721 ac_wine_check_funcs_save_LIBS="$LIBS"
19722 LIBS="$LIBS $DL_LIBS"
19723 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19724 if test "x$ac_cv_func_dlinfo" = xyes
19725 then :
19726 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19730 LIBS="$ac_wine_check_funcs_save_LIBS"
19732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19733 printf %s "checking for library containing gethostbyname... " >&6; }
19734 if test ${ac_cv_search_gethostbyname+y}
19735 then :
19736 printf %s "(cached) " >&6
19737 else $as_nop
19738 ac_func_search_save_LIBS=$LIBS
19739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19740 /* end confdefs.h. */
19742 /* Override any GCC internal prototype to avoid an error.
19743 Use char because int might match the return type of a GCC
19744 builtin and then its argument prototype would still apply. */
19745 char gethostbyname ();
19747 main (void)
19749 return gethostbyname ();
19751 return 0;
19753 _ACEOF
19754 for ac_lib in '' nsl
19756 if test -z "$ac_lib"; then
19757 ac_res="none required"
19758 else
19759 ac_res=-l$ac_lib
19760 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19762 if ac_fn_c_try_link "$LINENO"
19763 then :
19764 ac_cv_search_gethostbyname=$ac_res
19766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19767 conftest$ac_exeext
19768 if test ${ac_cv_search_gethostbyname+y}
19769 then :
19770 break
19772 done
19773 if test ${ac_cv_search_gethostbyname+y}
19774 then :
19776 else $as_nop
19777 ac_cv_search_gethostbyname=no
19779 rm conftest.$ac_ext
19780 LIBS=$ac_func_search_save_LIBS
19782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19783 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19784 ac_res=$ac_cv_search_gethostbyname
19785 if test "$ac_res" != no
19786 then :
19787 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19793 printf %s "checking for library containing connect... " >&6; }
19794 if test ${ac_cv_search_connect+y}
19795 then :
19796 printf %s "(cached) " >&6
19797 else $as_nop
19798 ac_func_search_save_LIBS=$LIBS
19799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19800 /* end confdefs.h. */
19802 /* Override any GCC internal prototype to avoid an error.
19803 Use char because int might match the return type of a GCC
19804 builtin and then its argument prototype would still apply. */
19805 char connect ();
19807 main (void)
19809 return connect ();
19811 return 0;
19813 _ACEOF
19814 for ac_lib in '' socket
19816 if test -z "$ac_lib"; then
19817 ac_res="none required"
19818 else
19819 ac_res=-l$ac_lib
19820 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19822 if ac_fn_c_try_link "$LINENO"
19823 then :
19824 ac_cv_search_connect=$ac_res
19826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19827 conftest$ac_exeext
19828 if test ${ac_cv_search_connect+y}
19829 then :
19830 break
19832 done
19833 if test ${ac_cv_search_connect+y}
19834 then :
19836 else $as_nop
19837 ac_cv_search_connect=no
19839 rm conftest.$ac_ext
19840 LIBS=$ac_func_search_save_LIBS
19842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19843 printf "%s\n" "$ac_cv_search_connect" >&6; }
19844 ac_res=$ac_cv_search_connect
19845 if test "$ac_res" != no
19846 then :
19847 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19853 printf %s "checking for library containing inet_aton... " >&6; }
19854 if test ${ac_cv_search_inet_aton+y}
19855 then :
19856 printf %s "(cached) " >&6
19857 else $as_nop
19858 ac_func_search_save_LIBS=$LIBS
19859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19860 /* end confdefs.h. */
19862 /* Override any GCC internal prototype to avoid an error.
19863 Use char because int might match the return type of a GCC
19864 builtin and then its argument prototype would still apply. */
19865 char inet_aton ();
19867 main (void)
19869 return inet_aton ();
19871 return 0;
19873 _ACEOF
19874 for ac_lib in '' resolv
19876 if test -z "$ac_lib"; then
19877 ac_res="none required"
19878 else
19879 ac_res=-l$ac_lib
19880 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19882 if ac_fn_c_try_link "$LINENO"
19883 then :
19884 ac_cv_search_inet_aton=$ac_res
19886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19887 conftest$ac_exeext
19888 if test ${ac_cv_search_inet_aton+y}
19889 then :
19890 break
19892 done
19893 if test ${ac_cv_search_inet_aton+y}
19894 then :
19896 else $as_nop
19897 ac_cv_search_inet_aton=no
19899 rm conftest.$ac_ext
19900 LIBS=$ac_func_search_save_LIBS
19902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19903 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19904 ac_res=$ac_cv_search_inet_aton
19905 if test "$ac_res" != no
19906 then :
19907 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19912 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19913 if test "x$ac_cv_func_getaddrinfo" = xyes
19914 then :
19915 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19920 case $host_os in
19921 darwin*|macosx*) ;;
19922 *) ac_save_LIBS=$LIBS
19923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19924 printf %s "checking for library containing clock_gettime... " >&6; }
19925 if test ${ac_cv_search_clock_gettime+y}
19926 then :
19927 printf %s "(cached) " >&6
19928 else $as_nop
19929 ac_func_search_save_LIBS=$LIBS
19930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19931 /* end confdefs.h. */
19933 /* Override any GCC internal prototype to avoid an error.
19934 Use char because int might match the return type of a GCC
19935 builtin and then its argument prototype would still apply. */
19936 char clock_gettime ();
19938 main (void)
19940 return clock_gettime ();
19942 return 0;
19944 _ACEOF
19945 for ac_lib in '' rt
19947 if test -z "$ac_lib"; then
19948 ac_res="none required"
19949 else
19950 ac_res=-l$ac_lib
19951 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19953 if ac_fn_c_try_link "$LINENO"
19954 then :
19955 ac_cv_search_clock_gettime=$ac_res
19957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19958 conftest$ac_exeext
19959 if test ${ac_cv_search_clock_gettime+y}
19960 then :
19961 break
19963 done
19964 if test ${ac_cv_search_clock_gettime+y}
19965 then :
19967 else $as_nop
19968 ac_cv_search_clock_gettime=no
19970 rm conftest.$ac_ext
19971 LIBS=$ac_func_search_save_LIBS
19973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19974 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19975 ac_res=$ac_cv_search_clock_gettime
19976 if test "$ac_res" != no
19977 then :
19978 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19980 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19982 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19986 LIBS=$ac_save_LIBS
19988 esac
19990 if test "x$with_ldap" != "xno"
19991 then
19992 if ${LDAP_CFLAGS:+false} :
19993 then :
19994 if test ${PKG_CONFIG+y}
19995 then :
19996 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20000 if ${LDAP_LIBS:+false} :
20001 then :
20002 if test ${PKG_CONFIG+y}
20003 then :
20004 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20008 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20011 ac_save_CPPFLAGS=$CPPFLAGS
20012 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20013 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20014 if test "x$ac_cv_header_ldap_h" = xyes
20015 then :
20016 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20019 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20020 if test "x$ac_cv_header_lber_h" = xyes
20021 then :
20022 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20026 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20027 then
20028 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20030 if test "x$ac_cv_type_LDAPSortKey" = xyes
20031 then :
20032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20033 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20034 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20035 then :
20036 printf %s "(cached) " >&6
20037 else $as_nop
20038 ac_check_lib_save_LIBS=$LIBS
20039 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20041 /* end confdefs.h. */
20043 /* Override any GCC internal prototype to avoid an error.
20044 Use char because int might match the return type of a GCC
20045 builtin and then its argument prototype would still apply. */
20046 char ldap_initialize ();
20048 main (void)
20050 return ldap_initialize ();
20052 return 0;
20054 _ACEOF
20055 if ac_fn_c_try_link "$LINENO"
20056 then :
20057 ac_cv_lib_ldap_ldap_initialize=yes
20058 else $as_nop
20059 ac_cv_lib_ldap_ldap_initialize=no
20061 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20062 conftest$ac_exeext conftest.$ac_ext
20063 LIBS=$ac_check_lib_save_LIBS
20065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20066 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20067 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20068 then :
20069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20070 printf %s "checking for ber_init in -llber... " >&6; }
20071 if test ${ac_cv_lib_lber_ber_init+y}
20072 then :
20073 printf %s "(cached) " >&6
20074 else $as_nop
20075 ac_check_lib_save_LIBS=$LIBS
20076 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20078 /* end confdefs.h. */
20080 /* Override any GCC internal prototype to avoid an error.
20081 Use char because int might match the return type of a GCC
20082 builtin and then its argument prototype would still apply. */
20083 char ber_init ();
20085 main (void)
20087 return ber_init ();
20089 return 0;
20091 _ACEOF
20092 if ac_fn_c_try_link "$LINENO"
20093 then :
20094 ac_cv_lib_lber_ber_init=yes
20095 else $as_nop
20096 ac_cv_lib_lber_ber_init=no
20098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20099 conftest$ac_exeext conftest.$ac_ext
20100 LIBS=$ac_check_lib_save_LIBS
20102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20103 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20104 if test "x$ac_cv_lib_lber_ber_init" = xyes
20105 then :
20107 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20109 else $as_nop
20110 LDAP_LIBS=""
20113 else $as_nop
20114 LDAP_LIBS=""
20117 else $as_nop
20118 LDAP_LIBS=""
20121 else
20122 LDAP_LIBS=""
20124 CPPFLAGS=$ac_save_CPPFLAGS
20127 if test "x$LDAP_LIBS" = "x"
20128 then :
20129 case "x$with_ldap" in
20130 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20131 xno) ;;
20132 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20133 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20134 esac
20138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20139 printf %s "checking for sched_setaffinity... " >&6; }
20140 if test ${wine_cv_have_sched_setaffinity+y}
20141 then :
20142 printf %s "(cached) " >&6
20143 else $as_nop
20144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20145 /* end confdefs.h. */
20146 #include <sched.h>
20148 main (void)
20150 sched_setaffinity(0, 0, 0);
20152 return 0;
20154 _ACEOF
20155 if ac_fn_c_try_link "$LINENO"
20156 then :
20157 wine_cv_have_sched_setaffinity=yes
20158 else $as_nop
20159 wine_cv_have_sched_setaffinity=no
20161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20162 conftest$ac_exeext conftest.$ac_ext
20164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20165 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20166 if test "$wine_cv_have_sched_setaffinity" = "yes"
20167 then
20169 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20175 printf %s "checking for inline... " >&6; }
20176 if test ${ac_cv_c_inline+y}
20177 then :
20178 printf %s "(cached) " >&6
20179 else $as_nop
20180 ac_cv_c_inline=no
20181 for ac_kw in inline __inline__ __inline; do
20182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20183 /* end confdefs.h. */
20184 #ifndef __cplusplus
20185 typedef int foo_t;
20186 static $ac_kw foo_t static_foo (void) {return 0; }
20187 $ac_kw foo_t foo (void) {return 0; }
20188 #endif
20190 _ACEOF
20191 if ac_fn_c_try_compile "$LINENO"
20192 then :
20193 ac_cv_c_inline=$ac_kw
20195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20196 test "$ac_cv_c_inline" != no && break
20197 done
20200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20201 printf "%s\n" "$ac_cv_c_inline" >&6; }
20203 case $ac_cv_c_inline in
20204 inline | yes) ;;
20206 case $ac_cv_c_inline in
20207 no) ac_val=;;
20208 *) ac_val=$ac_cv_c_inline;;
20209 esac
20210 cat >>confdefs.h <<_ACEOF
20211 #ifndef __cplusplus
20212 #define inline $ac_val
20213 #endif
20214 _ACEOF
20216 esac
20218 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20219 #include <signal.h>
20221 if test "x$ac_cv_type_sigset_t" = xyes
20222 then :
20224 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20229 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20231 if test "x$ac_cv_type_request_sense" = xyes
20232 then :
20234 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20240 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20241 #include <sys/socket.h>
20242 #ifdef HAVE_SYS_SOCKETVAR_H
20243 #include <sys/socketvar.h>
20244 #endif
20245 #ifdef HAVE_NET_ROUTE_H
20246 #include <net/route.h>
20247 #endif
20248 #ifdef HAVE_NETINET_IN_H
20249 #include <netinet/in.h>
20250 #endif
20251 #ifdef HAVE_NETINET_IN_SYSTM_H
20252 #include <netinet/in_systm.h>
20253 #endif
20254 #ifdef HAVE_NETINET_IP_H
20255 #include <netinet/ip.h>
20256 #endif
20257 #ifdef HAVE_NETINET_IN_PCB_H
20258 #include <netinet/in_pcb.h>
20259 #endif
20261 if test "x$ac_cv_type_struct_xinpgen" = xyes
20262 then :
20264 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20271 printf %s "checking for sigaddset... " >&6; }
20272 if test ${wine_cv_have_sigaddset+y}
20273 then :
20274 printf %s "(cached) " >&6
20275 else $as_nop
20276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20277 /* end confdefs.h. */
20278 #include <signal.h>
20280 main (void)
20282 sigset_t set; sigaddset(&set,SIGTERM);
20284 return 0;
20286 _ACEOF
20287 if ac_fn_c_try_link "$LINENO"
20288 then :
20289 wine_cv_have_sigaddset=yes
20290 else $as_nop
20291 wine_cv_have_sigaddset=no
20293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20294 conftest$ac_exeext conftest.$ac_ext
20296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20297 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20298 if test "$wine_cv_have_sigaddset" = "yes"
20299 then
20301 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20307 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20308 if test ${wine_cv_linux_gethostbyname_r_6+y}
20309 then :
20310 printf %s "(cached) " >&6
20311 else $as_nop
20312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20313 /* end confdefs.h. */
20314 #include <netdb.h>
20316 main (void)
20319 char *name=0;
20320 struct hostent he;
20321 struct hostent *result;
20322 char *buf=0;
20323 int bufsize=0;
20324 int errnr;
20325 char *addr=0;
20326 int addrlen=0;
20327 int addrtype=0;
20328 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20329 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20332 return 0;
20334 _ACEOF
20335 if ac_fn_c_try_link "$LINENO"
20336 then :
20337 wine_cv_linux_gethostbyname_r_6=yes
20338 else $as_nop
20339 wine_cv_linux_gethostbyname_r_6=no
20342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20343 conftest$ac_exeext conftest.$ac_ext
20346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20347 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20348 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20349 then
20351 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20355 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20356 #include <sys/socket.h>
20357 #ifdef HAVE_SYS_UN_H
20358 # include <sys/un.h>
20359 #endif
20361 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20362 then :
20364 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20368 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20369 #include <sys/socket.h>
20370 #ifdef HAVE_SYS_UN_H
20371 # include <sys/un.h>
20372 #endif
20374 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20375 then :
20377 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20383 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20384 #ifdef HAVE_SCSI_SG_H
20385 #include <scsi/sg.h>
20386 #endif
20388 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20389 then :
20391 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20395 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>
20396 #ifdef HAVE_SCSI_SG_H
20397 #include <scsi/sg.h>
20398 #endif
20400 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20401 then :
20403 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20409 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20411 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20412 then :
20414 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20420 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20421 #ifdef HAVE_SYS_MTIO_H
20422 #include <sys/mtio.h>
20423 #endif
20425 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20426 then :
20428 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20432 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20433 #ifdef HAVE_SYS_MTIO_H
20434 #include <sys/mtio.h>
20435 #endif
20437 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20438 then :
20440 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20444 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20445 #ifdef HAVE_SYS_MTIO_H
20446 #include <sys/mtio.h>
20447 #endif
20449 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20450 then :
20452 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20458 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20459 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20460 then :
20462 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20466 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20467 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20468 then :
20470 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20474 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20475 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20476 then :
20478 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20482 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20483 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20484 then :
20486 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20490 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20491 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20492 then :
20494 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20498 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20499 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20500 then :
20502 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20506 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20507 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20508 then :
20510 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20514 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20515 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20516 then :
20518 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20522 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20523 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20524 then :
20526 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20530 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20531 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20532 then :
20534 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20538 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20539 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20540 then :
20542 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20548 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>
20549 #ifdef HAVE_NETINET_IN_H
20550 #include <netinet/in.h>
20551 #endif
20553 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20554 then :
20556 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20562 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
20563 #include <resolv.h>
20564 #endif
20566 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20567 then :
20569 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20575 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20576 #include <netinet/in.h>
20577 #endif
20579 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20580 then :
20582 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20588 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20589 #ifdef HAVE_SYS_SOCKETVAR_H
20590 #include <sys/socketvar.h>
20591 #endif
20592 #ifdef HAVE_NETINET_IN_H
20593 #include <netinet/in.h>
20594 #endif
20595 #ifdef HAVE_NETINET_IP_VAR_H
20596 #include <netinet/ip_var.h>
20597 #endif
20599 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20600 then :
20602 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20608 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
20609 #include <netinet/ip_var.h>
20610 #endif
20612 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20613 then :
20615 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20621 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20622 #ifdef HAVE_SYS_SOCKETVAR_H
20623 #include <sys/socketvar.h>
20624 #endif
20625 #ifdef HAVE_NETINET_IN_H
20626 #include <netinet/in.h>
20627 #endif
20628 #ifdef HAVE_NETINET_TCP_H
20629 #include <netinet/tcp.h>
20630 #endif
20631 #ifdef HAVE_NETINET_TCP_VAR_H
20632 #include <netinet/tcp_var.h>
20633 #endif
20635 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20636 then :
20638 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20644 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
20645 #include <netinet/tcp_var.h>
20646 #endif
20648 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20649 then :
20651 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20657 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20658 #ifdef HAVE_NETINET_IN_H
20659 #include <netinet/in.h>
20660 #endif
20661 #ifdef HAVE_NETINET_IP_VAR_H
20662 #include <netinet/ip_var.h>
20663 #endif
20664 #ifdef HAVE_NETINET_UDP_H
20665 #include <netinet/udp.h>
20666 #endif
20667 #ifdef HAVE_NETINET_UDP_VAR_H
20668 #include <netinet/udp_var.h>
20669 #endif
20671 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20672 then :
20674 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20680 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20681 #ifdef HAVE_NET_IF_H
20682 # include <net/if.h>
20683 #endif
20685 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20686 then :
20688 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20694 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20695 # include <sys/sysinfo.h>
20696 #endif
20698 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20699 then :
20701 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20705 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20706 # include <sys/sysinfo.h>
20707 #endif
20709 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20710 then :
20712 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20718 LIBS="$ac_save_LIBS"
20720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20721 printf %s "checking for __builtin_popcount... " >&6; }
20722 if test ${ac_cv_have___builtin_popcount+y}
20723 then :
20724 printf %s "(cached) " >&6
20725 else $as_nop
20726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20727 /* end confdefs.h. */
20730 main (void)
20732 return __builtin_popcount(1)
20734 return 0;
20736 _ACEOF
20737 if ac_fn_c_try_link "$LINENO"
20738 then :
20739 ac_cv_have___builtin_popcount="yes"
20740 else $as_nop
20741 ac_cv_have___builtin_popcount="no"
20743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20744 conftest$ac_exeext conftest.$ac_ext
20746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20747 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20748 if test "$ac_cv_have___builtin_popcount" = "yes"
20749 then
20751 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20756 printf %s "checking for __clear_cache... " >&6; }
20757 if test ${ac_cv_have___clear_cache+y}
20758 then :
20759 printf %s "(cached) " >&6
20760 else $as_nop
20761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20762 /* end confdefs.h. */
20765 main (void)
20767 __clear_cache((void*)0, (void*)0); return 0;
20769 return 0;
20771 _ACEOF
20772 if ac_fn_c_try_link "$LINENO"
20773 then :
20774 ac_cv_have___clear_cache="yes"
20775 else $as_nop
20776 ac_cv_have___clear_cache="no"
20778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20779 conftest$ac_exeext conftest.$ac_ext
20781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20782 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20783 if test "$ac_cv_have___clear_cache" = "yes"
20784 then
20786 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20791 case $host_cpu in
20792 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20793 printf %s "checking whether we need to define __i386__... " >&6; }
20794 if test ${ac_cv_cpp_def___i386__+y}
20795 then :
20796 printf %s "(cached) " >&6
20797 else $as_nop
20798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20799 /* end confdefs.h. */
20800 #ifndef __i386__
20802 #endif
20803 _ACEOF
20804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20805 $EGREP "yes" >/dev/null 2>&1
20806 then :
20807 ac_cv_cpp_def___i386__=yes
20808 else $as_nop
20809 ac_cv_cpp_def___i386__=no
20811 rm -rf conftest*
20814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20815 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20816 if test "x$ac_cv_cpp_def___i386__" = xyes
20817 then :
20818 CFLAGS="$CFLAGS -D__i386__"
20819 LINTFLAGS="$LINTFLAGS -D__i386__"
20820 fi ;;
20821 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20822 printf %s "checking whether we need to define __x86_64__... " >&6; }
20823 if test ${ac_cv_cpp_def___x86_64__+y}
20824 then :
20825 printf %s "(cached) " >&6
20826 else $as_nop
20827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20828 /* end confdefs.h. */
20829 #ifndef __x86_64__
20831 #endif
20832 _ACEOF
20833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20834 $EGREP "yes" >/dev/null 2>&1
20835 then :
20836 ac_cv_cpp_def___x86_64__=yes
20837 else $as_nop
20838 ac_cv_cpp_def___x86_64__=no
20840 rm -rf conftest*
20843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20844 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20845 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20846 then :
20847 CFLAGS="$CFLAGS -D__x86_64__"
20848 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20849 fi ;;
20850 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20851 printf %s "checking whether we need to define __sparc64__... " >&6; }
20852 if test ${ac_cv_cpp_def___sparc64__+y}
20853 then :
20854 printf %s "(cached) " >&6
20855 else $as_nop
20856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20857 /* end confdefs.h. */
20858 #ifndef __sparc64__
20860 #endif
20861 _ACEOF
20862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20863 $EGREP "yes" >/dev/null 2>&1
20864 then :
20865 ac_cv_cpp_def___sparc64__=yes
20866 else $as_nop
20867 ac_cv_cpp_def___sparc64__=no
20869 rm -rf conftest*
20872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20873 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20874 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20875 then :
20876 CFLAGS="$CFLAGS -D__sparc64__"
20877 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20878 fi ;;
20879 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20880 printf %s "checking whether we need to define __sparc__... " >&6; }
20881 if test ${ac_cv_cpp_def___sparc__+y}
20882 then :
20883 printf %s "(cached) " >&6
20884 else $as_nop
20885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20886 /* end confdefs.h. */
20887 #ifndef __sparc__
20889 #endif
20890 _ACEOF
20891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20892 $EGREP "yes" >/dev/null 2>&1
20893 then :
20894 ac_cv_cpp_def___sparc__=yes
20895 else $as_nop
20896 ac_cv_cpp_def___sparc__=no
20898 rm -rf conftest*
20901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20902 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20903 if test "x$ac_cv_cpp_def___sparc__" = xyes
20904 then :
20905 CFLAGS="$CFLAGS -D__sparc__"
20906 LINTFLAGS="$LINTFLAGS -D__sparc__"
20907 fi ;;
20908 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20909 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20910 if test ${ac_cv_cpp_def___powerpc64__+y}
20911 then :
20912 printf %s "(cached) " >&6
20913 else $as_nop
20914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20915 /* end confdefs.h. */
20916 #ifndef __powerpc64__
20918 #endif
20919 _ACEOF
20920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20921 $EGREP "yes" >/dev/null 2>&1
20922 then :
20923 ac_cv_cpp_def___powerpc64__=yes
20924 else $as_nop
20925 ac_cv_cpp_def___powerpc64__=no
20927 rm -rf conftest*
20930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20931 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20932 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20933 then :
20934 CFLAGS="$CFLAGS -D__powerpc64__"
20935 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20936 fi ;;
20937 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20938 printf %s "checking whether we need to define __powerpc__... " >&6; }
20939 if test ${ac_cv_cpp_def___powerpc__+y}
20940 then :
20941 printf %s "(cached) " >&6
20942 else $as_nop
20943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20944 /* end confdefs.h. */
20945 #ifndef __powerpc__
20947 #endif
20948 _ACEOF
20949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20950 $EGREP "yes" >/dev/null 2>&1
20951 then :
20952 ac_cv_cpp_def___powerpc__=yes
20953 else $as_nop
20954 ac_cv_cpp_def___powerpc__=no
20956 rm -rf conftest*
20959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20960 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20961 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20962 then :
20963 CFLAGS="$CFLAGS -D__powerpc__"
20964 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20965 fi ;;
20966 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20967 printf %s "checking whether we need to define __aarch64__... " >&6; }
20968 if test ${ac_cv_cpp_def___aarch64__+y}
20969 then :
20970 printf %s "(cached) " >&6
20971 else $as_nop
20972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20973 /* end confdefs.h. */
20974 #ifndef __aarch64__
20976 #endif
20977 _ACEOF
20978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20979 $EGREP "yes" >/dev/null 2>&1
20980 then :
20981 ac_cv_cpp_def___aarch64__=yes
20982 else $as_nop
20983 ac_cv_cpp_def___aarch64__=no
20985 rm -rf conftest*
20988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20989 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20990 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20991 then :
20992 CFLAGS="$CFLAGS -D__aarch64__"
20993 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20994 fi ;;
20995 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20996 printf %s "checking whether we need to define __arm__... " >&6; }
20997 if test ${ac_cv_cpp_def___arm__+y}
20998 then :
20999 printf %s "(cached) " >&6
21000 else $as_nop
21001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21002 /* end confdefs.h. */
21003 #ifndef __arm__
21005 #endif
21006 _ACEOF
21007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21008 $EGREP "yes" >/dev/null 2>&1
21009 then :
21010 ac_cv_cpp_def___arm__=yes
21011 else $as_nop
21012 ac_cv_cpp_def___arm__=no
21014 rm -rf conftest*
21017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21018 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21019 if test "x$ac_cv_cpp_def___arm__" = xyes
21020 then :
21021 CFLAGS="$CFLAGS -D__arm__"
21022 LINTFLAGS="$LINTFLAGS -D__arm__"
21023 fi ;;
21024 esac
21026 case $host_vendor in
21027 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21028 printf %s "checking whether we need to define __sun__... " >&6; }
21029 if test ${ac_cv_cpp_def___sun__+y}
21030 then :
21031 printf %s "(cached) " >&6
21032 else $as_nop
21033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21034 /* end confdefs.h. */
21035 #ifndef __sun__
21037 #endif
21038 _ACEOF
21039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21040 $EGREP "yes" >/dev/null 2>&1
21041 then :
21042 ac_cv_cpp_def___sun__=yes
21043 else $as_nop
21044 ac_cv_cpp_def___sun__=no
21046 rm -rf conftest*
21049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21050 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21051 if test "x$ac_cv_cpp_def___sun__" = xyes
21052 then :
21053 CFLAGS="$CFLAGS -D__sun__"
21054 LINTFLAGS="$LINTFLAGS -D__sun__"
21055 fi ;;
21056 esac
21062 ac_config_commands="$ac_config_commands include/stamp-h"
21064 printf %s "creating Makefile rules..." >&6
21066 makedep_flags=""
21067 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21069 wine_srcdir=
21070 test "$srcdir" = . || wine_srcdir="$srcdir/"
21072 ac_config_links="$ac_config_links wine:tools/winewrapper"
21073 wine_fn_config_symlink wine
21074 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21075 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21076 wine_fn_config_symlink wine64
21079 wine_fn_config_makefile dlls/acledit enable_acledit
21080 wine_fn_config_makefile dlls/aclui enable_aclui
21081 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21082 wine_fn_config_makefile dlls/activeds enable_activeds
21083 wine_fn_config_makefile dlls/activeds/tests enable_tests
21084 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21085 wine_fn_config_makefile dlls/adsldp enable_adsldp
21086 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21087 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21088 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21089 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21090 wine_fn_config_makefile dlls/advpack enable_advpack
21091 wine_fn_config_makefile dlls/advpack/tests enable_tests
21092 wine_fn_config_makefile dlls/amsi enable_amsi
21093 wine_fn_config_makefile dlls/amstream enable_amstream
21094 wine_fn_config_makefile dlls/amstream/tests enable_tests
21095 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21096 wine_fn_config_makefile dlls/apphelp enable_apphelp
21097 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21098 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21099 wine_fn_config_makefile dlls/atl enable_atl
21100 wine_fn_config_makefile dlls/atl/tests enable_tests
21101 wine_fn_config_makefile dlls/atl100 enable_atl100
21102 wine_fn_config_makefile dlls/atl100/tests enable_tests
21103 wine_fn_config_makefile dlls/atl110 enable_atl110
21104 wine_fn_config_makefile dlls/atl80 enable_atl80
21105 wine_fn_config_makefile dlls/atl80/tests enable_tests
21106 wine_fn_config_makefile dlls/atl90 enable_atl90
21107 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21108 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21109 wine_fn_config_makefile dlls/atmlib enable_atmlib
21110 wine_fn_config_makefile dlls/authz enable_authz
21111 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21112 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21113 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21114 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21115 wine_fn_config_makefile dlls/avrt enable_avrt
21116 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21117 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21118 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21119 wine_fn_config_makefile dlls/browseui enable_browseui
21120 wine_fn_config_makefile dlls/browseui/tests enable_tests
21121 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21122 wine_fn_config_makefile dlls/cabinet enable_cabinet
21123 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21124 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21125 wine_fn_config_makefile dlls/cards enable_cards
21126 wine_fn_config_makefile dlls/cdosys enable_cdosys
21127 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21128 wine_fn_config_makefile dlls/clusapi enable_clusapi
21129 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21130 wine_fn_config_makefile dlls/combase enable_combase
21131 wine_fn_config_makefile dlls/combase/tests enable_tests
21132 wine_fn_config_makefile dlls/comcat enable_comcat
21133 wine_fn_config_makefile dlls/comcat/tests enable_tests
21134 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21135 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21136 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21137 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21138 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21139 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21140 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21141 wine_fn_config_makefile dlls/compstui enable_compstui
21142 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21143 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21144 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21145 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21146 wine_fn_config_makefile dlls/connect enable_connect
21147 wine_fn_config_makefile dlls/credui enable_credui
21148 wine_fn_config_makefile dlls/credui/tests enable_tests
21149 wine_fn_config_makefile dlls/crtdll enable_crtdll
21150 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21151 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21152 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21153 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21154 wine_fn_config_makefile dlls/cryptext enable_cryptext
21155 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21156 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21157 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21158 wine_fn_config_makefile dlls/cryptui enable_cryptui
21159 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21160 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21161 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21162 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21163 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21164 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21165 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21166 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21167 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21168 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21169 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21170 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21171 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21172 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21173 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21174 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21175 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21176 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21177 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21178 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21179 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21180 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21181 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21182 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21183 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21184 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21185 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21186 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21187 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21188 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21189 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21190 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21191 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21192 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21193 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21194 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21195 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21196 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21197 wine_fn_config_makefile dlls/d3dim enable_d3dim
21198 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21199 wine_fn_config_makefile dlls/d3drm enable_d3drm
21200 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21201 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21202 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21203 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21204 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21205 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21206 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21207 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21208 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21209 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21210 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21211 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21212 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21213 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21214 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21215 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21216 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21217 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21218 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21219 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21220 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21221 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21222 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21223 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21224 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21225 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21226 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21227 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21228 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21229 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21230 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21231 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21232 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21233 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21234 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21235 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21236 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21237 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21238 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21239 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21240 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21241 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21242 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21243 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21244 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21245 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21246 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21247 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21248 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21249 wine_fn_config_makefile dlls/davclnt enable_davclnt
21250 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21251 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21252 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21253 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21254 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21255 wine_fn_config_makefile dlls/dcomp enable_dcomp
21256 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21257 wine_fn_config_makefile dlls/ddraw enable_ddraw
21258 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21259 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21260 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21261 wine_fn_config_makefile dlls/devenum enable_devenum
21262 wine_fn_config_makefile dlls/devenum/tests enable_tests
21263 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21264 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21265 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21266 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21267 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21268 wine_fn_config_makefile dlls/difxapi enable_difxapi
21269 wine_fn_config_makefile dlls/dinput enable_dinput
21270 wine_fn_config_makefile dlls/dinput/tests enable_tests
21271 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21272 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21273 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21274 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21275 wine_fn_config_makefile dlls/dispex enable_dispex
21276 wine_fn_config_makefile dlls/dispex/tests enable_tests
21277 wine_fn_config_makefile dlls/display.drv16 enable_win16
21278 wine_fn_config_makefile dlls/dmband enable_dmband
21279 wine_fn_config_makefile dlls/dmband/tests enable_tests
21280 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21281 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21282 wine_fn_config_makefile dlls/dmime enable_dmime
21283 wine_fn_config_makefile dlls/dmime/tests enable_tests
21284 wine_fn_config_makefile dlls/dmloader enable_dmloader
21285 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21286 wine_fn_config_makefile dlls/dmscript enable_dmscript
21287 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21288 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21289 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21290 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21291 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21292 wine_fn_config_makefile dlls/dmusic enable_dmusic
21293 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21294 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21295 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21296 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21297 wine_fn_config_makefile dlls/dplay enable_dplay
21298 wine_fn_config_makefile dlls/dplayx enable_dplayx
21299 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21300 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21301 wine_fn_config_makefile dlls/dpnet enable_dpnet
21302 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21303 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21304 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21305 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21306 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21307 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21308 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21309 wine_fn_config_makefile dlls/drmclien enable_drmclien
21310 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21311 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21312 wine_fn_config_makefile dlls/dsound enable_dsound
21313 wine_fn_config_makefile dlls/dsound/tests enable_tests
21314 wine_fn_config_makefile dlls/dsquery enable_dsquery
21315 wine_fn_config_makefile dlls/dssenh enable_dssenh
21316 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21317 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21318 wine_fn_config_makefile dlls/dswave enable_dswave
21319 wine_fn_config_makefile dlls/dswave/tests enable_tests
21320 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21321 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21322 wine_fn_config_makefile dlls/dwrite enable_dwrite
21323 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21324 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21325 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21326 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21327 wine_fn_config_makefile dlls/dxgi enable_dxgi
21328 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21329 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21330 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21331 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21332 wine_fn_config_makefile dlls/esent enable_esent
21333 wine_fn_config_makefile dlls/evr enable_evr
21334 wine_fn_config_makefile dlls/evr/tests enable_tests
21335 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21336 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21337 wine_fn_config_makefile dlls/faultrep enable_faultrep
21338 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21339 wine_fn_config_makefile dlls/feclient enable_feclient
21340 wine_fn_config_makefile dlls/fltlib enable_fltlib
21341 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21342 wine_fn_config_makefile dlls/fntcache enable_fntcache
21343 wine_fn_config_makefile dlls/fontsub enable_fontsub
21344 wine_fn_config_makefile dlls/fusion enable_fusion
21345 wine_fn_config_makefile dlls/fusion/tests enable_tests
21346 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21347 wine_fn_config_makefile dlls/gameux enable_gameux
21348 wine_fn_config_makefile dlls/gameux/tests enable_tests
21349 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21350 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21351 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21352 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21353 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21354 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21355 wine_fn_config_makefile dlls/glu32 enable_glu32
21356 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21357 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21358 wine_fn_config_makefile dlls/hal enable_hal
21359 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21360 wine_fn_config_makefile dlls/hid enable_hid
21361 wine_fn_config_makefile dlls/hid/tests enable_tests
21362 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21363 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21364 wine_fn_config_makefile dlls/hlink enable_hlink
21365 wine_fn_config_makefile dlls/hlink/tests enable_tests
21366 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21367 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21368 wine_fn_config_makefile dlls/http.sys enable_http_sys
21369 wine_fn_config_makefile dlls/httpapi enable_httpapi
21370 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21371 wine_fn_config_makefile dlls/iccvid enable_iccvid
21372 wine_fn_config_makefile dlls/icmp enable_icmp
21373 wine_fn_config_makefile dlls/ieframe enable_ieframe
21374 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21375 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21376 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21377 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21378 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21379 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21380 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21381 wine_fn_config_makefile dlls/imm32 enable_imm32
21382 wine_fn_config_makefile dlls/imm32/tests enable_tests
21383 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21384 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21385 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21386 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21387 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21388 wine_fn_config_makefile dlls/infosoft enable_infosoft
21389 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21390 wine_fn_config_makefile dlls/initpki enable_initpki
21391 wine_fn_config_makefile dlls/inkobj enable_inkobj
21392 wine_fn_config_makefile dlls/inseng enable_inseng
21393 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21394 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21395 wine_fn_config_makefile dlls/iprop enable_iprop
21396 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21397 wine_fn_config_makefile dlls/itircl enable_itircl
21398 wine_fn_config_makefile dlls/itss enable_itss
21399 wine_fn_config_makefile dlls/itss/tests enable_tests
21400 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21401 wine_fn_config_makefile dlls/jscript enable_jscript
21402 wine_fn_config_makefile dlls/jscript/tests enable_tests
21403 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21404 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21405 wine_fn_config_makefile dlls/kerberos enable_kerberos
21406 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21407 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21408 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21409 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21410 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21411 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21412 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21413 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21414 wine_fn_config_makefile dlls/ksuser enable_ksuser
21415 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21416 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21417 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21418 wine_fn_config_makefile dlls/loadperf enable_loadperf
21419 wine_fn_config_makefile dlls/localspl enable_localspl
21420 wine_fn_config_makefile dlls/localspl/tests enable_tests
21421 wine_fn_config_makefile dlls/localui enable_localui
21422 wine_fn_config_makefile dlls/localui/tests enable_tests
21423 wine_fn_config_makefile dlls/lz32 enable_lz32
21424 wine_fn_config_makefile dlls/lz32/tests enable_tests
21425 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21426 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21427 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21428 wine_fn_config_makefile dlls/mapistub enable_mapistub
21429 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21430 wine_fn_config_makefile dlls/mcicda enable_mcicda
21431 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21432 wine_fn_config_makefile dlls/mciseq enable_mciseq
21433 wine_fn_config_makefile dlls/mciwave enable_mciwave
21434 wine_fn_config_makefile dlls/mf enable_mf
21435 wine_fn_config_makefile dlls/mf/tests enable_tests
21436 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21437 wine_fn_config_makefile dlls/mferror enable_mferror
21438 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21439 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21440 wine_fn_config_makefile dlls/mfplat enable_mfplat
21441 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21442 wine_fn_config_makefile dlls/mfplay enable_mfplay
21443 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21444 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21445 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21446 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21447 wine_fn_config_makefile dlls/midimap enable_midimap
21448 wine_fn_config_makefile dlls/mlang enable_mlang
21449 wine_fn_config_makefile dlls/mlang/tests enable_tests
21450 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21451 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21452 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21453 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21454 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21455 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21456 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21457 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21458 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21459 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21460 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21461 wine_fn_config_makefile dlls/mpr enable_mpr
21462 wine_fn_config_makefile dlls/mpr/tests enable_tests
21463 wine_fn_config_makefile dlls/mprapi enable_mprapi
21464 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21465 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21466 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21467 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21468 wine_fn_config_makefile dlls/msado15 enable_msado15
21469 wine_fn_config_makefile dlls/msado15/tests enable_tests
21470 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21471 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21472 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21473 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21474 wine_fn_config_makefile dlls/mscms enable_mscms
21475 wine_fn_config_makefile dlls/mscms/tests enable_tests
21476 wine_fn_config_makefile dlls/mscoree enable_mscoree
21477 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21478 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21479 wine_fn_config_makefile dlls/msctf enable_msctf
21480 wine_fn_config_makefile dlls/msctf/tests enable_tests
21481 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21482 wine_fn_config_makefile dlls/msctfp enable_msctfp
21483 wine_fn_config_makefile dlls/msdaps enable_msdaps
21484 wine_fn_config_makefile dlls/msdasql enable_msdasql
21485 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21486 wine_fn_config_makefile dlls/msdelta enable_msdelta
21487 wine_fn_config_makefile dlls/msdmo enable_msdmo
21488 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21489 wine_fn_config_makefile dlls/msdrm enable_msdrm
21490 wine_fn_config_makefile dlls/msftedit enable_msftedit
21491 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21492 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21493 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21494 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21495 wine_fn_config_makefile dlls/mshtml enable_mshtml
21496 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21497 wine_fn_config_makefile dlls/msi enable_msi
21498 wine_fn_config_makefile dlls/msi/tests enable_tests
21499 wine_fn_config_makefile dlls/msident enable_msident
21500 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21501 wine_fn_config_makefile dlls/msimsg enable_msimsg
21502 wine_fn_config_makefile dlls/msimtf enable_msimtf
21503 wine_fn_config_makefile dlls/msisip enable_msisip
21504 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21505 wine_fn_config_makefile dlls/msls31 enable_msls31
21506 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21507 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21508 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21509 wine_fn_config_makefile dlls/msports enable_msports
21510 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21511 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21512 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21513 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21514 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21515 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21516 wine_fn_config_makefile dlls/mstask enable_mstask
21517 wine_fn_config_makefile dlls/mstask/tests enable_tests
21518 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21519 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21520 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21521 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21522 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21523 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21524 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21525 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21526 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21527 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21528 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21529 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21530 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21531 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21532 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21533 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21534 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21535 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21536 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21537 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21538 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21539 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21540 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21541 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21542 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21543 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21544 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21545 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21546 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21547 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21548 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21549 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21550 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21551 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21552 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21553 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21554 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21555 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21556 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21557 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21558 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21559 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21560 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21561 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21562 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21563 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21564 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21565 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21566 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21567 wine_fn_config_makefile dlls/mswsock enable_mswsock
21568 wine_fn_config_makefile dlls/msxml enable_msxml
21569 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21570 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21571 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21572 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21573 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21574 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21575 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21576 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21577 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21578 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21579 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21580 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21581 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21582 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21583 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21584 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21585 wine_fn_config_makefile dlls/netprofm enable_netprofm
21586 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21587 wine_fn_config_makefile dlls/netutils enable_netutils
21588 wine_fn_config_makefile dlls/newdev enable_newdev
21589 wine_fn_config_makefile dlls/ninput enable_ninput
21590 wine_fn_config_makefile dlls/ninput/tests enable_tests
21591 wine_fn_config_makefile dlls/normaliz enable_normaliz
21592 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21593 wine_fn_config_makefile dlls/npptools enable_npptools
21594 wine_fn_config_makefile dlls/nsi enable_nsi
21595 wine_fn_config_makefile dlls/nsi/tests enable_tests
21596 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21597 wine_fn_config_makefile dlls/ntdll enable_ntdll
21598 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21599 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21600 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21601 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21602 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21603 wine_fn_config_makefile dlls/ntprint enable_ntprint
21604 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21605 wine_fn_config_makefile dlls/objsel enable_objsel
21606 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21607 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21608 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21609 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21610 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21611 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21612 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21613 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21614 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21615 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21616 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21617 wine_fn_config_makefile dlls/ole32 enable_ole32
21618 wine_fn_config_makefile dlls/ole32/tests enable_tests
21619 wine_fn_config_makefile dlls/oleacc enable_oleacc
21620 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21621 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21622 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21623 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21624 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21625 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21626 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21627 wine_fn_config_makefile dlls/oledlg enable_oledlg
21628 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21629 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21630 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21631 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21632 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21633 wine_fn_config_makefile dlls/opcservices enable_opcservices
21634 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21635 wine_fn_config_makefile dlls/openal32 enable_openal32
21636 wine_fn_config_makefile dlls/opencl enable_opencl
21637 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21638 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21639 wine_fn_config_makefile dlls/packager enable_packager
21640 wine_fn_config_makefile dlls/packager/tests enable_tests
21641 wine_fn_config_makefile dlls/pdh enable_pdh
21642 wine_fn_config_makefile dlls/pdh/tests enable_tests
21643 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21644 wine_fn_config_makefile dlls/pidgen enable_pidgen
21645 wine_fn_config_makefile dlls/powrprof enable_powrprof
21646 wine_fn_config_makefile dlls/printui enable_printui
21647 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21648 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21649 wine_fn_config_makefile dlls/propsys enable_propsys
21650 wine_fn_config_makefile dlls/propsys/tests enable_tests
21651 wine_fn_config_makefile dlls/psapi enable_psapi
21652 wine_fn_config_makefile dlls/psapi/tests enable_tests
21653 wine_fn_config_makefile dlls/pstorec enable_pstorec
21654 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21655 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21656 wine_fn_config_makefile dlls/qasf enable_qasf
21657 wine_fn_config_makefile dlls/qasf/tests enable_tests
21658 wine_fn_config_makefile dlls/qcap enable_qcap
21659 wine_fn_config_makefile dlls/qcap/tests enable_tests
21660 wine_fn_config_makefile dlls/qdvd enable_qdvd
21661 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21662 wine_fn_config_makefile dlls/qedit enable_qedit
21663 wine_fn_config_makefile dlls/qedit/tests enable_tests
21664 wine_fn_config_makefile dlls/qmgr enable_qmgr
21665 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21666 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21667 wine_fn_config_makefile dlls/quartz enable_quartz
21668 wine_fn_config_makefile dlls/quartz/tests enable_tests
21669 wine_fn_config_makefile dlls/query enable_query
21670 wine_fn_config_makefile dlls/qwave enable_qwave
21671 wine_fn_config_makefile dlls/qwave/tests enable_tests
21672 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21673 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21674 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21675 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21676 wine_fn_config_makefile dlls/regapi enable_regapi
21677 wine_fn_config_makefile dlls/resutils enable_resutils
21678 wine_fn_config_makefile dlls/riched20 enable_riched20
21679 wine_fn_config_makefile dlls/riched20/tests enable_tests
21680 wine_fn_config_makefile dlls/riched32 enable_riched32
21681 wine_fn_config_makefile dlls/riched32/tests enable_tests
21682 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21683 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21684 wine_fn_config_makefile dlls/rsabase enable_rsabase
21685 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21686 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21687 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21688 wine_fn_config_makefile dlls/rtutils enable_rtutils
21689 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21690 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21691 wine_fn_config_makefile dlls/samlib enable_samlib
21692 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21693 wine_fn_config_makefile dlls/sapi enable_sapi
21694 wine_fn_config_makefile dlls/sapi/tests enable_tests
21695 wine_fn_config_makefile dlls/sas enable_sas
21696 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21697 wine_fn_config_makefile dlls/sccbase enable_sccbase
21698 wine_fn_config_makefile dlls/schannel enable_schannel
21699 wine_fn_config_makefile dlls/schannel/tests enable_tests
21700 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21701 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21702 wine_fn_config_makefile dlls/scrobj enable_scrobj
21703 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21704 wine_fn_config_makefile dlls/scrrun enable_scrrun
21705 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21706 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21707 wine_fn_config_makefile dlls/sechost enable_sechost
21708 wine_fn_config_makefile dlls/secur32 enable_secur32
21709 wine_fn_config_makefile dlls/secur32/tests enable_tests
21710 wine_fn_config_makefile dlls/security enable_security
21711 wine_fn_config_makefile dlls/sensapi enable_sensapi
21712 wine_fn_config_makefile dlls/serialui enable_serialui
21713 wine_fn_config_makefile dlls/serialui/tests enable_tests
21714 wine_fn_config_makefile dlls/setupapi enable_setupapi
21715 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21716 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21717 wine_fn_config_makefile dlls/sfc enable_sfc
21718 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21719 wine_fn_config_makefile dlls/shcore enable_shcore
21720 wine_fn_config_makefile dlls/shcore/tests enable_tests
21721 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21722 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21723 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21724 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21725 wine_fn_config_makefile dlls/shell32 enable_shell32
21726 wine_fn_config_makefile dlls/shell32/tests enable_tests
21727 wine_fn_config_makefile dlls/shfolder enable_shfolder
21728 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21729 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21730 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21731 wine_fn_config_makefile dlls/slc enable_slc
21732 wine_fn_config_makefile dlls/slc/tests enable_tests
21733 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21734 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21735 wine_fn_config_makefile dlls/softpub enable_softpub
21736 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21737 wine_fn_config_makefile dlls/spoolss enable_spoolss
21738 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21739 wine_fn_config_makefile dlls/sppc enable_sppc
21740 wine_fn_config_makefile dlls/srclient enable_srclient
21741 wine_fn_config_makefile dlls/srvcli enable_srvcli
21742 wine_fn_config_makefile dlls/sspicli enable_sspicli
21743 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21744 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21745 wine_fn_config_makefile dlls/sti enable_sti
21746 wine_fn_config_makefile dlls/sti/tests enable_tests
21747 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21748 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21749 wine_fn_config_makefile dlls/strmdll enable_strmdll
21750 wine_fn_config_makefile dlls/svrapi enable_svrapi
21751 wine_fn_config_makefile dlls/sxs enable_sxs
21752 wine_fn_config_makefile dlls/sxs/tests enable_tests
21753 wine_fn_config_makefile dlls/system.drv16 enable_win16
21754 wine_fn_config_makefile dlls/t2embed enable_t2embed
21755 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21756 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21757 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21758 wine_fn_config_makefile dlls/taskschd enable_taskschd
21759 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21760 wine_fn_config_makefile dlls/tbs enable_tbs
21761 wine_fn_config_makefile dlls/tdh enable_tdh
21762 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21763 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21764 wine_fn_config_makefile dlls/traffic enable_traffic
21765 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21766 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21767 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21768 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21769 wine_fn_config_makefile dlls/tzres enable_tzres
21770 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21771 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21772 wine_fn_config_makefile dlls/uianimation enable_uianimation
21773 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21774 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21775 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21776 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21777 wine_fn_config_makefile dlls/unicows enable_unicows
21778 wine_fn_config_makefile dlls/updspapi enable_updspapi
21779 wine_fn_config_makefile dlls/url enable_url
21780 wine_fn_config_makefile dlls/urlmon enable_urlmon
21781 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21782 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21783 wine_fn_config_makefile dlls/user.exe16 enable_win16
21784 wine_fn_config_makefile dlls/user32 enable_user32
21785 wine_fn_config_makefile dlls/user32/tests enable_tests
21786 wine_fn_config_makefile dlls/userenv enable_userenv
21787 wine_fn_config_makefile dlls/userenv/tests enable_tests
21788 wine_fn_config_makefile dlls/usp10 enable_usp10
21789 wine_fn_config_makefile dlls/usp10/tests enable_tests
21790 wine_fn_config_makefile dlls/utildll enable_utildll
21791 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21792 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21793 wine_fn_config_makefile dlls/vbscript enable_vbscript
21794 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21795 wine_fn_config_makefile dlls/vcomp enable_vcomp
21796 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21797 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21798 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21799 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21800 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21801 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21802 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21803 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21804 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21805 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21806 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21807 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21808 wine_fn_config_makefile dlls/version enable_version
21809 wine_fn_config_makefile dlls/version/tests enable_tests
21810 wine_fn_config_makefile dlls/vga enable_vga
21811 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21812 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21813 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21814 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21815 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21816 wine_fn_config_makefile dlls/vssapi enable_vssapi
21817 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21818 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21819 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21820 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21821 wine_fn_config_makefile dlls/w32skrnl enable_win16
21822 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21823 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21824 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21825 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21826 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21827 wine_fn_config_makefile dlls/wdscore enable_wdscore
21828 wine_fn_config_makefile dlls/webservices enable_webservices
21829 wine_fn_config_makefile dlls/webservices/tests enable_tests
21830 wine_fn_config_makefile dlls/websocket enable_websocket
21831 wine_fn_config_makefile dlls/wer enable_wer
21832 wine_fn_config_makefile dlls/wer/tests enable_tests
21833 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21834 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21835 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21836 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21837 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21838 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21839 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21840 wine_fn_config_makefile dlls/win32u enable_win32u
21841 wine_fn_config_makefile dlls/win32u/tests enable_tests
21842 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21843 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21844 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21845 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21846 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21847 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21848 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21849 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21850 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21851 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21852 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21853 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21854 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21855 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21856 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21857 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21858 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21859 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21860 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21861 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21862 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21863 wine_fn_config_makefile dlls/wined3d enable_wined3d
21864 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21865 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21866 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21867 wine_fn_config_makefile dlls/winemapi enable_winemapi
21868 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21869 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21870 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21871 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21872 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21873 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21874 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21875 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21876 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21877 wine_fn_config_makefile dlls/wing32 enable_wing32
21878 wine_fn_config_makefile dlls/winhttp enable_winhttp
21879 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21880 wine_fn_config_makefile dlls/wininet enable_wininet
21881 wine_fn_config_makefile dlls/wininet/tests enable_tests
21882 wine_fn_config_makefile dlls/winmm enable_winmm
21883 wine_fn_config_makefile dlls/winmm/tests enable_tests
21884 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21885 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21886 wine_fn_config_makefile dlls/winscard enable_winscard
21887 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21888 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21889 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21890 wine_fn_config_makefile dlls/winsta enable_winsta
21891 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21892 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21893 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21894 wine_fn_config_makefile dlls/wintrust enable_wintrust
21895 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21896 wine_fn_config_makefile dlls/wintypes enable_wintypes
21897 wine_fn_config_makefile dlls/winusb enable_winusb
21898 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21899 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21900 wine_fn_config_makefile dlls/wlanui enable_wlanui
21901 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21902 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21903 wine_fn_config_makefile dlls/wmadmod enable_wmadmod
21904 wine_fn_config_makefile dlls/wmadmod/tests enable_tests
21905 wine_fn_config_makefile dlls/wmasf enable_wmasf
21906 wine_fn_config_makefile dlls/wmi enable_wmi
21907 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21908 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21909 wine_fn_config_makefile dlls/wmp enable_wmp
21910 wine_fn_config_makefile dlls/wmp/tests enable_tests
21911 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21912 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21913 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21914 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21915 wine_fn_config_makefile dlls/wow32 enable_win16
21916 wine_fn_config_makefile dlls/wow64 enable_wow64
21917 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21918 wine_fn_config_makefile dlls/wow64win enable_wow64win
21919 wine_fn_config_makefile dlls/wpc enable_wpc
21920 wine_fn_config_makefile dlls/wpc/tests enable_tests
21921 wine_fn_config_makefile dlls/wpcap enable_wpcap
21922 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21923 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21924 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21925 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21926 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21927 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21928 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21929 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21930 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21931 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21932 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21933 wine_fn_config_makefile dlls/wuapi enable_wuapi
21934 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21935 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21936 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21937 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21938 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21939 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21940 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21941 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21942 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21943 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21944 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21945 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21946 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21947 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21948 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21949 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21950 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21951 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21952 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21953 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21954 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21955 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21956 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21957 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21958 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21959 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21960 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21961 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21962 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21963 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21964 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21965 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21966 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21967 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21968 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21969 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21970 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21971 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21972 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21973 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21974 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21975 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21976 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21977 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21978 wine_fn_config_makefile dlls/xmllite enable_xmllite
21979 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21980 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21981 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21982 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21983 wine_fn_config_makefile fonts enable_fonts
21984 wine_fn_config_makefile include enable_include
21985 wine_fn_config_makefile libs/adsiid enable_adsiid
21986 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21987 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21988 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21989 wine_fn_config_makefile libs/dxguid enable_dxguid
21990 wine_fn_config_makefile libs/faudio enable_faudio
21991 wine_fn_config_makefile libs/gsm enable_gsm
21992 wine_fn_config_makefile libs/jpeg enable_jpeg
21993 wine_fn_config_makefile libs/jxr enable_jxr
21994 wine_fn_config_makefile libs/lcms2 enable_lcms2
21995 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21996 wine_fn_config_makefile libs/mpg123 enable_mpg123
21997 wine_fn_config_makefile libs/png enable_png
21998 wine_fn_config_makefile libs/strmbase enable_strmbase
21999 wine_fn_config_makefile libs/strmiids enable_strmiids
22000 wine_fn_config_makefile libs/tiff enable_tiff
22001 wine_fn_config_makefile libs/uuid enable_uuid
22002 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22003 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22004 wine_fn_config_makefile libs/wine enable_wine
22005 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22006 wine_fn_config_makefile libs/xml2 enable_xml2
22007 wine_fn_config_makefile libs/xslt enable_xslt
22008 wine_fn_config_makefile libs/zlib enable_zlib
22009 wine_fn_config_makefile loader enable_loader
22010 wine_fn_config_makefile nls enable_nls
22011 wine_fn_config_makefile po enable_po
22012 wine_fn_config_makefile programs/arp enable_arp
22013 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22014 wine_fn_config_makefile programs/attrib enable_attrib
22015 wine_fn_config_makefile programs/cabarc enable_cabarc
22016 wine_fn_config_makefile programs/cacls enable_cacls
22017 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22018 wine_fn_config_makefile programs/clock enable_clock
22019 wine_fn_config_makefile programs/cmd enable_cmd
22020 wine_fn_config_makefile programs/cmd/tests enable_tests
22021 wine_fn_config_makefile programs/conhost enable_conhost
22022 wine_fn_config_makefile programs/conhost/tests enable_tests
22023 wine_fn_config_makefile programs/control enable_control
22024 wine_fn_config_makefile programs/cscript enable_cscript
22025 wine_fn_config_makefile programs/dism enable_dism
22026 wine_fn_config_makefile programs/dllhost enable_dllhost
22027 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22028 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22029 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22030 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22031 wine_fn_config_makefile programs/eject enable_eject
22032 wine_fn_config_makefile programs/expand enable_expand
22033 wine_fn_config_makefile programs/explorer enable_explorer
22034 wine_fn_config_makefile programs/extrac32 enable_extrac32
22035 wine_fn_config_makefile programs/fc enable_fc
22036 wine_fn_config_makefile programs/find enable_find
22037 wine_fn_config_makefile programs/find/tests enable_tests
22038 wine_fn_config_makefile programs/findstr enable_findstr
22039 wine_fn_config_makefile programs/fsutil enable_fsutil
22040 wine_fn_config_makefile programs/fsutil/tests enable_tests
22041 wine_fn_config_makefile programs/hh enable_hh
22042 wine_fn_config_makefile programs/hostname enable_hostname
22043 wine_fn_config_makefile programs/icacls enable_icacls
22044 wine_fn_config_makefile programs/icinfo enable_icinfo
22045 wine_fn_config_makefile programs/iexplore enable_iexplore
22046 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22047 wine_fn_config_makefile programs/lodctr enable_lodctr
22048 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22049 wine_fn_config_makefile programs/mshta enable_mshta
22050 wine_fn_config_makefile programs/msidb enable_msidb
22051 wine_fn_config_makefile programs/msiexec enable_msiexec
22052 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22053 wine_fn_config_makefile programs/net enable_net
22054 wine_fn_config_makefile programs/netsh enable_netsh
22055 wine_fn_config_makefile programs/netstat enable_netstat
22056 wine_fn_config_makefile programs/ngen enable_ngen
22057 wine_fn_config_makefile programs/notepad enable_notepad
22058 wine_fn_config_makefile programs/oleview enable_oleview
22059 wine_fn_config_makefile programs/ping enable_ping
22060 wine_fn_config_makefile programs/plugplay enable_plugplay
22061 wine_fn_config_makefile programs/powershell enable_powershell
22062 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22063 wine_fn_config_makefile programs/progman enable_progman
22064 wine_fn_config_makefile programs/reg enable_reg
22065 wine_fn_config_makefile programs/reg/tests enable_tests
22066 wine_fn_config_makefile programs/regasm enable_regasm
22067 wine_fn_config_makefile programs/regedit enable_regedit
22068 wine_fn_config_makefile programs/regedit/tests enable_tests
22069 wine_fn_config_makefile programs/regini enable_regini
22070 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22071 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22072 wine_fn_config_makefile programs/robocopy enable_robocopy
22073 wine_fn_config_makefile programs/rpcss enable_rpcss
22074 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22075 wine_fn_config_makefile programs/rundll32 enable_rundll32
22076 wine_fn_config_makefile programs/sc enable_sc
22077 wine_fn_config_makefile programs/schtasks enable_schtasks
22078 wine_fn_config_makefile programs/schtasks/tests enable_tests
22079 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22080 wine_fn_config_makefile programs/secedit enable_secedit
22081 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22082 wine_fn_config_makefile programs/services enable_services
22083 wine_fn_config_makefile programs/services/tests enable_tests
22084 wine_fn_config_makefile programs/shutdown enable_shutdown
22085 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22086 wine_fn_config_makefile programs/start enable_start
22087 wine_fn_config_makefile programs/subst enable_subst
22088 wine_fn_config_makefile programs/svchost enable_svchost
22089 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22090 wine_fn_config_makefile programs/taskkill enable_taskkill
22091 wine_fn_config_makefile programs/tasklist enable_tasklist
22092 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22093 wine_fn_config_makefile programs/termsv enable_termsv
22094 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22095 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22096 wine_fn_config_makefile programs/view enable_view
22097 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22098 wine_fn_config_makefile programs/where enable_where
22099 wine_fn_config_makefile programs/whoami enable_whoami
22100 wine_fn_config_makefile programs/wineboot enable_wineboot
22101 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22102 wine_fn_config_makefile programs/winecfg enable_winecfg
22103 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22104 wine_fn_config_makefile programs/winedbg enable_winedbg
22105 wine_fn_config_makefile programs/winedevice enable_winedevice
22106 wine_fn_config_makefile programs/winefile enable_winefile
22107 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22108 wine_fn_config_makefile programs/winemine enable_winemine
22109 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22110 wine_fn_config_makefile programs/winepath enable_winepath
22111 wine_fn_config_makefile programs/winetest enable_winetest
22112 wine_fn_config_makefile programs/winevdm enable_win16
22113 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22114 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22115 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22116 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22117 wine_fn_config_makefile programs/winver enable_winver
22118 wine_fn_config_makefile programs/wmic enable_wmic
22119 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22120 wine_fn_config_makefile programs/wordpad enable_wordpad
22121 wine_fn_config_makefile programs/write enable_write
22122 wine_fn_config_makefile programs/wscript enable_wscript
22123 wine_fn_config_makefile programs/wscript/tests enable_tests
22124 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22125 wine_fn_config_makefile programs/wusa enable_wusa
22126 wine_fn_config_makefile programs/xcopy enable_xcopy
22127 wine_fn_config_makefile programs/xcopy/tests enable_tests
22128 wine_fn_config_makefile server enable_server
22129 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22130 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22131 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22132 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22133 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22134 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22135 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22136 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22137 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22140 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22141 wine_fn_append_file CONFIGURE_TARGETS "tags"
22142 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22143 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22144 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22145 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22146 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22147 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22149 if test "x$enable_tools" != xno
22150 then
22151 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22152 ac_config_commands="$ac_config_commands tools/makedep"
22156 ac_config_commands="$ac_config_commands Makefile"
22160 SHELL=/bin/sh
22163 wine_fn_append_rule "all: wine
22164 @echo \"Wine build complete.\"
22165 .INIT: Makefile
22166 .MAKEFILEDEPS:
22167 all: Makefile
22168 Makefile: config.status \$(MAKEDEP)
22169 @./config.status Makefile
22170 depend: \$(MAKEDEP)
22171 \$(MAKEDEP)$makedep_flags"
22174 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22175 @./config.status --recheck
22176 include/config.h: include/stamp-h
22177 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22178 @./config.status include/config.h include/stamp-h"
22180 if test "x$enable_maintainer_mode" = xyes
22181 then
22182 wine_fn_append_rule "configure: configure.ac aclocal.m4
22183 autoconf --warnings=all
22184 include/config.h.in: include/stamp-h.in
22185 include/stamp-h.in: configure.ac aclocal.m4
22186 autoheader --warnings=all
22187 @echo timestamp > \$@"
22190 if test "x$enable_tools" != xno
22191 then
22192 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22193 @./config.status tools/makedep
22194 Makefile: tools/makedep$ac_exeext"
22195 else
22196 wine_fn_append_rule "\$(MAKEDEP):
22197 @echo \"You need to run make in $toolsdir first\" && false"
22201 if test -n "$with_wine64"
22202 then
22203 case "$with_wine64" in
22204 /*) reldir="" ;;
22205 *) reldir="../" ;;
22206 esac
22207 rm -f fonts server 2>/dev/null
22208 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22209 loader/wine64 loader/wine64-preloader:
22210 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22211 $with_wine64/loader/wine:
22212 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22213 $with_wine64/loader/wine-preloader:
22214 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22215 clean::
22216 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22217 else
22218 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22219 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22220 fonts \
22221 loader/wine.inf \
22222 nls \
22223 programs/msidb/msidb \
22224 programs/msiexec/msiexec \
22225 programs/notepad/notepad \
22226 programs/regedit/regedit \
22227 programs/regsvr32/regsvr32 \
22228 programs/wineboot/wineboot \
22229 programs/winecfg/winecfg \
22230 programs/wineconsole/wineconsole \
22231 programs/winedbg/winedbg \
22232 programs/winefile/winefile \
22233 programs/winemine/winemine \
22234 programs/winepath/winepath \
22235 server/wineserver"
22237 case $host_os in
22238 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22239 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22240 esac
22244 wine_fn_append_rule "distclean:: clean
22245 rm -rf autom4te.cache
22246 maintainer-clean::
22247 rm -f configure include/config.h.in"
22250 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22251 @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)
22252 programs/winetest/build.rc: dummy
22253 @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)
22254 programs/winetest/build.nfo:
22255 @-\$(CC) -v 2>\$@
22256 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
22257 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22258 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22261 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22263 wine_fn_append_rule "TAGS etags:
22264 rm -f TAGS
22265 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22266 tags ctags:
22267 rm -f tags
22268 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22269 dummy:
22270 .PHONY: depend dummy install-manpages"
22272 printf "%s\n" " done" >&6
22273 cat >confcache <<\_ACEOF
22274 # This file is a shell script that caches the results of configure
22275 # tests run on this system so they can be shared between configure
22276 # scripts and configure runs, see configure's option --config-cache.
22277 # It is not useful on other systems. If it contains results you don't
22278 # want to keep, you may remove or edit it.
22280 # config.status only pays attention to the cache file if you give it
22281 # the --recheck option to rerun configure.
22283 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22284 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22285 # following values.
22287 _ACEOF
22289 # The following way of writing the cache mishandles newlines in values,
22290 # but we know of no workaround that is simple, portable, and efficient.
22291 # So, we kill variables containing newlines.
22292 # Ultrix sh set writes to stderr and can't be redirected directly,
22293 # and sets the high bit in the cache file unless we assign to the vars.
22295 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22296 eval ac_val=\$$ac_var
22297 case $ac_val in #(
22298 *${as_nl}*)
22299 case $ac_var in #(
22300 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22301 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22302 esac
22303 case $ac_var in #(
22304 _ | IFS | as_nl) ;; #(
22305 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22306 *) { eval $ac_var=; unset $ac_var;} ;;
22307 esac ;;
22308 esac
22309 done
22311 (set) 2>&1 |
22312 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22313 *${as_nl}ac_space=\ *)
22314 # `set' does not quote correctly, so add quotes: double-quote
22315 # substitution turns \\\\ into \\, and sed turns \\ into \.
22316 sed -n \
22317 "s/'/'\\\\''/g;
22318 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22319 ;; #(
22321 # `set' quotes correctly as required by POSIX, so do not add quotes.
22322 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22324 esac |
22325 sort
22327 sed '
22328 /^ac_cv_env_/b end
22329 t clear
22330 :clear
22331 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22332 t end
22333 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22334 :end' >>confcache
22335 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22336 if test -w "$cache_file"; then
22337 if test "x$cache_file" != "x/dev/null"; then
22338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22339 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22340 if test ! -f "$cache_file" || test -h "$cache_file"; then
22341 cat confcache >"$cache_file"
22342 else
22343 case $cache_file in #(
22344 */* | ?:*)
22345 mv -f confcache "$cache_file"$$ &&
22346 mv -f "$cache_file"$$ "$cache_file" ;; #(
22348 mv -f confcache "$cache_file" ;;
22349 esac
22352 else
22353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22354 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22357 rm -f confcache
22359 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22360 # Let make expand exec_prefix.
22361 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22363 DEFS=-DHAVE_CONFIG_H
22365 ac_libobjs=
22366 ac_ltlibobjs=
22368 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22369 # 1. Remove the extension, and $U if already installed.
22370 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22371 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22372 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22373 # will be set to the directory where LIBOBJS objects are built.
22374 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22375 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22376 done
22377 LIBOBJS=$ac_libobjs
22379 LTLIBOBJS=$ac_ltlibobjs
22383 : "${CONFIG_STATUS=./config.status}"
22384 ac_write_fail=0
22385 ac_clean_files_save=$ac_clean_files
22386 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22388 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22389 as_write_fail=0
22390 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22391 #! $SHELL
22392 # Generated by $as_me.
22393 # Run this file to recreate the current configuration.
22394 # Compiler output produced by configure, useful for debugging
22395 # configure, is in config.log if it exists.
22397 debug=false
22398 ac_cs_recheck=false
22399 ac_cs_silent=false
22401 SHELL=\${CONFIG_SHELL-$SHELL}
22402 export SHELL
22403 _ASEOF
22404 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22405 ## -------------------- ##
22406 ## M4sh Initialization. ##
22407 ## -------------------- ##
22409 # Be more Bourne compatible
22410 DUALCASE=1; export DUALCASE # for MKS sh
22411 as_nop=:
22412 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22413 then :
22414 emulate sh
22415 NULLCMD=:
22416 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22417 # is contrary to our usage. Disable this feature.
22418 alias -g '${1+"$@"}'='"$@"'
22419 setopt NO_GLOB_SUBST
22420 else $as_nop
22421 case `(set -o) 2>/dev/null` in #(
22422 *posix*) :
22423 set -o posix ;; #(
22424 *) :
22426 esac
22431 # Reset variables that may have inherited troublesome values from
22432 # the environment.
22434 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22435 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22436 # side effect of setting IFS to empty, thus disabling word splitting.)
22437 # Quoting is to prevent editors from complaining about space-tab.
22438 as_nl='
22440 export as_nl
22441 IFS=" "" $as_nl"
22443 PS1='$ '
22444 PS2='> '
22445 PS4='+ '
22447 # Ensure predictable behavior from utilities with locale-dependent output.
22448 LC_ALL=C
22449 export LC_ALL
22450 LANGUAGE=C
22451 export LANGUAGE
22453 # We cannot yet rely on "unset" to work, but we need these variables
22454 # to be unset--not just set to an empty or harmless value--now, to
22455 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22456 # also avoids known problems related to "unset" and subshell syntax
22457 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22458 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22459 do eval test \${$as_var+y} \
22460 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22461 done
22463 # Ensure that fds 0, 1, and 2 are open.
22464 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22465 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22466 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22468 # The user is always right.
22469 if ${PATH_SEPARATOR+false} :; then
22470 PATH_SEPARATOR=:
22471 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22472 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22473 PATH_SEPARATOR=';'
22478 # Find who we are. Look in the path if we contain no directory separator.
22479 as_myself=
22480 case $0 in #((
22481 *[\\/]* ) as_myself=$0 ;;
22482 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22483 for as_dir in $PATH
22485 IFS=$as_save_IFS
22486 case $as_dir in #(((
22487 '') as_dir=./ ;;
22488 */) ;;
22489 *) as_dir=$as_dir/ ;;
22490 esac
22491 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22492 done
22493 IFS=$as_save_IFS
22496 esac
22497 # We did not find ourselves, most probably we were run as `sh COMMAND'
22498 # in which case we are not to be found in the path.
22499 if test "x$as_myself" = x; then
22500 as_myself=$0
22502 if test ! -f "$as_myself"; then
22503 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22504 exit 1
22509 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22510 # ----------------------------------------
22511 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22512 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22513 # script with STATUS, using 1 if that was 0.
22514 as_fn_error ()
22516 as_status=$1; test $as_status -eq 0 && as_status=1
22517 if test "$4"; then
22518 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22521 printf "%s\n" "$as_me: error: $2" >&2
22522 as_fn_exit $as_status
22523 } # as_fn_error
22527 # as_fn_set_status STATUS
22528 # -----------------------
22529 # Set $? to STATUS, without forking.
22530 as_fn_set_status ()
22532 return $1
22533 } # as_fn_set_status
22535 # as_fn_exit STATUS
22536 # -----------------
22537 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22538 as_fn_exit ()
22540 set +e
22541 as_fn_set_status $1
22542 exit $1
22543 } # as_fn_exit
22545 # as_fn_unset VAR
22546 # ---------------
22547 # Portably unset VAR.
22548 as_fn_unset ()
22550 { eval $1=; unset $1;}
22552 as_unset=as_fn_unset
22554 # as_fn_append VAR VALUE
22555 # ----------------------
22556 # Append the text in VALUE to the end of the definition contained in VAR. Take
22557 # advantage of any shell optimizations that allow amortized linear growth over
22558 # repeated appends, instead of the typical quadratic growth present in naive
22559 # implementations.
22560 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22561 then :
22562 eval 'as_fn_append ()
22564 eval $1+=\$2
22566 else $as_nop
22567 as_fn_append ()
22569 eval $1=\$$1\$2
22571 fi # as_fn_append
22573 # as_fn_arith ARG...
22574 # ------------------
22575 # Perform arithmetic evaluation on the ARGs, and store the result in the
22576 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22577 # must be portable across $(()) and expr.
22578 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22579 then :
22580 eval 'as_fn_arith ()
22582 as_val=$(( $* ))
22584 else $as_nop
22585 as_fn_arith ()
22587 as_val=`expr "$@" || test $? -eq 1`
22589 fi # as_fn_arith
22592 if expr a : '\(a\)' >/dev/null 2>&1 &&
22593 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22594 as_expr=expr
22595 else
22596 as_expr=false
22599 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22600 as_basename=basename
22601 else
22602 as_basename=false
22605 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22606 as_dirname=dirname
22607 else
22608 as_dirname=false
22611 as_me=`$as_basename -- "$0" ||
22612 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22613 X"$0" : 'X\(//\)$' \| \
22614 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22615 printf "%s\n" X/"$0" |
22616 sed '/^.*\/\([^/][^/]*\)\/*$/{
22617 s//\1/
22620 /^X\/\(\/\/\)$/{
22621 s//\1/
22624 /^X\/\(\/\).*/{
22625 s//\1/
22628 s/.*/./; q'`
22630 # Avoid depending upon Character Ranges.
22631 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22632 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22633 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22634 as_cr_digits='0123456789'
22635 as_cr_alnum=$as_cr_Letters$as_cr_digits
22638 # Determine whether it's possible to make 'echo' print without a newline.
22639 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22640 # for compatibility with existing Makefiles.
22641 ECHO_C= ECHO_N= ECHO_T=
22642 case `echo -n x` in #(((((
22643 -n*)
22644 case `echo 'xy\c'` in
22645 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22646 xy) ECHO_C='\c';;
22647 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22648 ECHO_T=' ';;
22649 esac;;
22651 ECHO_N='-n';;
22652 esac
22654 # For backward compatibility with old third-party macros, we provide
22655 # the shell variables $as_echo and $as_echo_n. New code should use
22656 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22657 as_echo='printf %s\n'
22658 as_echo_n='printf %s'
22660 rm -f conf$$ conf$$.exe conf$$.file
22661 if test -d conf$$.dir; then
22662 rm -f conf$$.dir/conf$$.file
22663 else
22664 rm -f conf$$.dir
22665 mkdir conf$$.dir 2>/dev/null
22667 if (echo >conf$$.file) 2>/dev/null; then
22668 if ln -s conf$$.file conf$$ 2>/dev/null; then
22669 as_ln_s='ln -s'
22670 # ... but there are two gotchas:
22671 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22672 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22673 # In both cases, we have to default to `cp -pR'.
22674 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22675 as_ln_s='cp -pR'
22676 elif ln conf$$.file conf$$ 2>/dev/null; then
22677 as_ln_s=ln
22678 else
22679 as_ln_s='cp -pR'
22681 else
22682 as_ln_s='cp -pR'
22684 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22685 rmdir conf$$.dir 2>/dev/null
22688 # as_fn_mkdir_p
22689 # -------------
22690 # Create "$as_dir" as a directory, including parents if necessary.
22691 as_fn_mkdir_p ()
22694 case $as_dir in #(
22695 -*) as_dir=./$as_dir;;
22696 esac
22697 test -d "$as_dir" || eval $as_mkdir_p || {
22698 as_dirs=
22699 while :; do
22700 case $as_dir in #(
22701 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22702 *) as_qdir=$as_dir;;
22703 esac
22704 as_dirs="'$as_qdir' $as_dirs"
22705 as_dir=`$as_dirname -- "$as_dir" ||
22706 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22707 X"$as_dir" : 'X\(//\)[^/]' \| \
22708 X"$as_dir" : 'X\(//\)$' \| \
22709 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22710 printf "%s\n" X"$as_dir" |
22711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22712 s//\1/
22715 /^X\(\/\/\)[^/].*/{
22716 s//\1/
22719 /^X\(\/\/\)$/{
22720 s//\1/
22723 /^X\(\/\).*/{
22724 s//\1/
22727 s/.*/./; q'`
22728 test -d "$as_dir" && break
22729 done
22730 test -z "$as_dirs" || eval "mkdir $as_dirs"
22731 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22734 } # as_fn_mkdir_p
22735 if mkdir -p . 2>/dev/null; then
22736 as_mkdir_p='mkdir -p "$as_dir"'
22737 else
22738 test -d ./-p && rmdir ./-p
22739 as_mkdir_p=false
22743 # as_fn_executable_p FILE
22744 # -----------------------
22745 # Test if FILE is an executable regular file.
22746 as_fn_executable_p ()
22748 test -f "$1" && test -x "$1"
22749 } # as_fn_executable_p
22750 as_test_x='test -x'
22751 as_executable_p=as_fn_executable_p
22753 # Sed expression to map a string onto a valid CPP name.
22754 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22756 # Sed expression to map a string onto a valid variable name.
22757 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22760 exec 6>&1
22761 ## ----------------------------------- ##
22762 ## Main body of $CONFIG_STATUS script. ##
22763 ## ----------------------------------- ##
22764 _ASEOF
22765 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22768 # Save the log message, to keep $0 and so on meaningful, and to
22769 # report actual input values of CONFIG_FILES etc. instead of their
22770 # values after options handling.
22771 ac_log="
22772 This file was extended by Wine $as_me 7.7, which was
22773 generated by GNU Autoconf 2.71. Invocation command line was
22775 CONFIG_FILES = $CONFIG_FILES
22776 CONFIG_HEADERS = $CONFIG_HEADERS
22777 CONFIG_LINKS = $CONFIG_LINKS
22778 CONFIG_COMMANDS = $CONFIG_COMMANDS
22779 $ $0 $@
22781 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22784 _ACEOF
22787 case $ac_config_headers in *"
22788 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22789 esac
22792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22793 # Files that config.status was made for.
22794 config_headers="$ac_config_headers"
22795 config_links="$ac_config_links"
22796 config_commands="$ac_config_commands"
22798 _ACEOF
22800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22801 ac_cs_usage="\
22802 \`$as_me' instantiates files and other configuration actions
22803 from templates according to the current configuration. Unless the files
22804 and actions are specified as TAGs, all are instantiated by default.
22806 Usage: $0 [OPTION]... [TAG]...
22808 -h, --help print this help, then exit
22809 -V, --version print version number and configuration settings, then exit
22810 --config print configuration, then exit
22811 -q, --quiet, --silent
22812 do not print progress messages
22813 -d, --debug don't remove temporary files
22814 --recheck update $as_me by reconfiguring in the same conditions
22815 --header=FILE[:TEMPLATE]
22816 instantiate the configuration header FILE
22818 Configuration headers:
22819 $config_headers
22821 Configuration links:
22822 $config_links
22824 Configuration commands:
22825 $config_commands
22827 Report bugs to <wine-devel@winehq.org>.
22828 Wine home page: <https://www.winehq.org>."
22830 _ACEOF
22831 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22832 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22834 ac_cs_config='$ac_cs_config_escaped'
22835 ac_cs_version="\\
22836 Wine config.status 7.7
22837 configured by $0, generated by GNU Autoconf 2.71,
22838 with options \\"\$ac_cs_config\\"
22840 Copyright (C) 2021 Free Software Foundation, Inc.
22841 This config.status script is free software; the Free Software Foundation
22842 gives unlimited permission to copy, distribute and modify it."
22844 ac_pwd='$ac_pwd'
22845 srcdir='$srcdir'
22846 test -n "\$AWK" || AWK=awk
22847 _ACEOF
22849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22850 # The default lists apply if the user does not specify any file.
22851 ac_need_defaults=:
22852 while test $# != 0
22854 case $1 in
22855 --*=?*)
22856 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22857 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22858 ac_shift=:
22860 --*=)
22861 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22862 ac_optarg=
22863 ac_shift=:
22866 ac_option=$1
22867 ac_optarg=$2
22868 ac_shift=shift
22870 esac
22872 case $ac_option in
22873 # Handling of the options.
22874 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22875 ac_cs_recheck=: ;;
22876 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22877 printf "%s\n" "$ac_cs_version"; exit ;;
22878 --config | --confi | --conf | --con | --co | --c )
22879 printf "%s\n" "$ac_cs_config"; exit ;;
22880 --debug | --debu | --deb | --de | --d | -d )
22881 debug=: ;;
22882 --header | --heade | --head | --hea )
22883 $ac_shift
22884 case $ac_optarg in
22885 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22886 esac
22887 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22888 ac_need_defaults=false;;
22889 --he | --h)
22890 # Conflict between --help and --header
22891 as_fn_error $? "ambiguous option: \`$1'
22892 Try \`$0 --help' for more information.";;
22893 --help | --hel | -h )
22894 printf "%s\n" "$ac_cs_usage"; exit ;;
22895 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22896 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22897 ac_cs_silent=: ;;
22899 # This is an error.
22900 -*) as_fn_error $? "unrecognized option: \`$1'
22901 Try \`$0 --help' for more information." ;;
22903 *) as_fn_append ac_config_targets " $1"
22904 ac_need_defaults=false ;;
22906 esac
22907 shift
22908 done
22910 ac_configure_extra_args=
22912 if $ac_cs_silent; then
22913 exec 6>/dev/null
22914 ac_configure_extra_args="$ac_configure_extra_args --silent"
22917 _ACEOF
22918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22919 if \$ac_cs_recheck; then
22920 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22921 shift
22922 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22923 CONFIG_SHELL='$SHELL'
22924 export CONFIG_SHELL
22925 exec "\$@"
22928 _ACEOF
22929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22930 exec 5>>config.log
22932 echo
22933 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22934 ## Running $as_me. ##
22935 _ASBOX
22936 printf "%s\n" "$ac_log"
22937 } >&5
22939 _ACEOF
22940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22942 # INIT-COMMANDS
22944 wine_fn_output_makedep ()
22946 as_dir=tools; as_fn_mkdir_p
22947 $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
22949 wine_fn_output_makefile ()
22951 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22952 # This Makefile understands the following targets:
22954 # all (default): build wine
22955 # clean: remove all intermediate files
22956 # distclean: also remove all files created by configure
22957 # test: run tests
22958 # testclean: clean test results to force running all tests again
22959 # install-lib: install libraries needed to run applications
22960 # install-dev: install development environment
22961 # install: install everything
22962 # uninstall: uninstall everything
22963 # ctags: create a tags file for vim and others.
22964 # etags: create a TAGS file for Emacs.
22966 SHELL = $SHELL
22967 PATH_SEPARATOR = $PATH_SEPARATOR
22968 PACKAGE_NAME = $PACKAGE_NAME
22969 PACKAGE_TARNAME = $PACKAGE_TARNAME
22970 PACKAGE_VERSION = $PACKAGE_VERSION
22971 PACKAGE_STRING = $PACKAGE_STRING
22972 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22973 PACKAGE_URL = $PACKAGE_URL
22974 exec_prefix = $exec_prefix
22975 prefix = $prefix
22976 program_transform_name = $program_transform_name
22977 bindir = $bindir
22978 sbindir = $sbindir
22979 libexecdir = $libexecdir
22980 datarootdir = $datarootdir
22981 datadir = $datadir
22982 sysconfdir = $sysconfdir
22983 sharedstatedir = $sharedstatedir
22984 localstatedir = $localstatedir
22985 runstatedir = $runstatedir
22986 includedir = $includedir
22987 oldincludedir = $oldincludedir
22988 docdir = $docdir
22989 infodir = $infodir
22990 htmldir = $htmldir
22991 dvidir = $dvidir
22992 pdfdir = $pdfdir
22993 psdir = $psdir
22994 libdir = $libdir
22995 localedir = $localedir
22996 mandir = $mandir
22997 DEFS = $DEFS
22998 ECHO_C = $ECHO_C
22999 ECHO_N = $ECHO_N
23000 ECHO_T = $ECHO_T
23001 LIBS = $LIBS
23002 build_alias = $build_alias
23003 host_alias = $host_alias
23004 target_alias = $target_alias
23005 system_dllpath = $system_dllpath
23006 build = $build
23007 build_cpu = $build_cpu
23008 build_vendor = $build_vendor
23009 build_os = $build_os
23010 host = $host
23011 host_cpu = $host_cpu
23012 host_vendor = $host_vendor
23013 host_os = $host_os
23014 dlldir = $dlldir
23015 fontdir = $fontdir
23016 nlsdir = $nlsdir
23017 srcdir = $srcdir
23018 SET_MAKE = $SET_MAKE
23019 CC = $CC
23020 CFLAGS = $CFLAGS
23021 LDFLAGS = $LDFLAGS
23022 CPPFLAGS = $CPPFLAGS
23023 ac_ct_CC = $ac_ct_CC
23024 EXEEXT = $EXEEXT
23025 OBJEXT = $OBJEXT
23026 CXX = $CXX
23027 CXXFLAGS = $CXXFLAGS
23028 ac_ct_CXX = $ac_ct_CXX
23029 CPPBIN = $CPPBIN
23030 LD = $LD
23031 TARGETFLAGS = $TARGETFLAGS
23032 toolsext = $toolsext
23033 toolsdir = $toolsdir
23034 MAKEDEP = $MAKEDEP
23035 RUNTESTFLAGS = $RUNTESTFLAGS
23036 SED_CMD = $SED_CMD
23037 FLEX = $FLEX
23038 BISON = $BISON
23039 AR = $AR
23040 ac_ct_AR = $ac_ct_AR
23041 STRIP = $STRIP
23042 RANLIB = $RANLIB
23043 LN_S = $LN_S
23044 GREP = $GREP
23045 EGREP = $EGREP
23046 LDCONFIG = $LDCONFIG
23047 MSGFMT = $MSGFMT
23048 PKG_CONFIG = $PKG_CONFIG
23049 FONTFORGE = $FONTFORGE
23050 RSVG = $RSVG
23051 CONVERT = $CONVERT
23052 ICOTOOL = $ICOTOOL
23053 I386_LIBS = $I386_LIBS
23054 OPENGL_LIBS = $OPENGL_LIBS
23055 DLLFLAGS = $DLLFLAGS
23056 LDDLLFLAGS = $LDDLLFLAGS
23057 LDEXECFLAGS = $LDEXECFLAGS
23058 EXTRACFLAGS = $EXTRACFLAGS
23059 UNIXDLLFLAGS = $UNIXDLLFLAGS
23060 UNIXLDFLAGS = $UNIXLDFLAGS
23061 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23062 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23063 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23064 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23065 LDD = $LDD
23066 OTOOL = $OTOOL
23067 READELF = $READELF
23068 SUBDIRS = $SUBDIRS
23069 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23070 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23071 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23072 DLLTOOL = $DLLTOOL
23073 OBJC = $OBJC
23074 OBJCFLAGS = $OBJCFLAGS
23075 ac_ct_OBJC = $ac_ct_OBJC
23076 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23077 IOKIT_LIBS = $IOKIT_LIBS
23078 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23079 CORESERVICES_LIBS = $CORESERVICES_LIBS
23080 APPKIT_LIBS = $APPKIT_LIBS
23081 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23082 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23083 SECURITY_LIBS = $SECURITY_LIBS
23084 COREAUDIO_LIBS = $COREAUDIO_LIBS
23085 OPENAL_LIBS = $OPENAL_LIBS
23086 OPENCL_LIBS = $OPENCL_LIBS
23087 CARBON_LIBS = $CARBON_LIBS
23088 METAL_LIBS = $METAL_LIBS
23089 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23090 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23091 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23092 PRELINK = $PRELINK
23093 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23094 CROSSTARGET = $CROSSTARGET
23095 CROSSCC = $CROSSCC
23096 CROSSCFLAGS = $CROSSCFLAGS
23097 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23098 CROSSLDFLAGS = $CROSSLDFLAGS
23099 DELAYLOADFLAG = $DELAYLOADFLAG
23100 CROSSDEBUG = $CROSSDEBUG
23101 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23102 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23103 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23104 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23105 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23106 GSM_PE_LIBS = $GSM_PE_LIBS
23107 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23108 JPEG_PE_LIBS = $JPEG_PE_LIBS
23109 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23110 JXR_PE_LIBS = $JXR_PE_LIBS
23111 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23112 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23113 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23114 MPG123_PE_LIBS = $MPG123_PE_LIBS
23115 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23116 PNG_PE_LIBS = $PNG_PE_LIBS
23117 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23118 TIFF_PE_LIBS = $TIFF_PE_LIBS
23119 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23120 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23121 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23122 XML2_PE_LIBS = $XML2_PE_LIBS
23123 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23124 XSLT_PE_LIBS = $XSLT_PE_LIBS
23125 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23126 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23127 PTHREAD_LIBS = $PTHREAD_LIBS
23128 XMKMF = $XMKMF
23129 CPP = $CPP
23130 X_CFLAGS = $X_CFLAGS
23131 X_PRE_LIBS = $X_PRE_LIBS
23132 X_LIBS = $X_LIBS
23133 X_EXTRA_LIBS = $X_EXTRA_LIBS
23134 PCAP_LIBS = $PCAP_LIBS
23135 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23136 INOTIFY_LIBS = $INOTIFY_LIBS
23137 DBUS_CFLAGS = $DBUS_CFLAGS
23138 DBUS_LIBS = $DBUS_LIBS
23139 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23140 GNUTLS_LIBS = $GNUTLS_LIBS
23141 SANE_CFLAGS = $SANE_CFLAGS
23142 SANE_LIBS = $SANE_LIBS
23143 USB_CFLAGS = $USB_CFLAGS
23144 USB_LIBS = $USB_LIBS
23145 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23146 GPHOTO2_LIBS = $GPHOTO2_LIBS
23147 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23148 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23149 RESOLV_LIBS = $RESOLV_LIBS
23150 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23151 FREETYPE_LIBS = $FREETYPE_LIBS
23152 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23153 PULSE_CFLAGS = $PULSE_CFLAGS
23154 PULSE_LIBS = $PULSE_LIBS
23155 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23156 GSTREAMER_LIBS = $GSTREAMER_LIBS
23157 ALSA_LIBS = $ALSA_LIBS
23158 OSS4_CFLAGS = $OSS4_CFLAGS
23159 OSS4_LIBS = $OSS4_LIBS
23160 UDEV_CFLAGS = $UDEV_CFLAGS
23161 UDEV_LIBS = $UDEV_LIBS
23162 UNWIND_CFLAGS = $UNWIND_CFLAGS
23163 UNWIND_LIBS = $UNWIND_LIBS
23164 SDL2_CFLAGS = $SDL2_CFLAGS
23165 SDL2_LIBS = $SDL2_LIBS
23166 CAPI20_CFLAGS = $CAPI20_CFLAGS
23167 CAPI20_LIBS = $CAPI20_LIBS
23168 CUPS_CFLAGS = $CUPS_CFLAGS
23169 CUPS_LIBS = $CUPS_LIBS
23170 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23171 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23172 KRB5_CFLAGS = $KRB5_CFLAGS
23173 KRB5_LIBS = $KRB5_LIBS
23174 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23175 GSSAPI_LIBS = $GSSAPI_LIBS
23176 PROCSTAT_LIBS = $PROCSTAT_LIBS
23177 NETAPI_CFLAGS = $NETAPI_CFLAGS
23178 NETAPI_LIBS = $NETAPI_LIBS
23179 MSVCRTFLAGS = $MSVCRTFLAGS
23180 RT_LIBS = $RT_LIBS
23181 LDAP_CFLAGS = $LDAP_CFLAGS
23182 LDAP_LIBS = $LDAP_LIBS
23183 TAGSFLAGS = $TAGSFLAGS
23184 LIBOBJS = $LIBOBJS
23185 LTLIBOBJS = $LTLIBOBJS
23186 $SET_MAKE
23187 $wine_rules
23188 _WINE_EOF
23189 as_fn_error $? "could not create Makefile" "$LINENO" 5
23192 _ACEOF
23194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23196 # Handling of arguments.
23197 for ac_config_target in $ac_config_targets
23199 case $ac_config_target in
23200 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23201 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23202 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23203 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23204 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23205 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23207 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23208 esac
23209 done
23212 # If the user did not use the arguments to specify the items to instantiate,
23213 # then the envvar interface is used. Set only those that are not.
23214 # We use the long form for the default assignment because of an extremely
23215 # bizarre bug on SunOS 4.1.3.
23216 if $ac_need_defaults; then
23217 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23218 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23219 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23222 # Have a temporary directory for convenience. Make it in the build tree
23223 # simply because there is no reason against having it here, and in addition,
23224 # creating and moving files from /tmp can sometimes cause problems.
23225 # Hook for its removal unless debugging.
23226 # Note that there is a small window in which the directory will not be cleaned:
23227 # after its creation but before its name has been assigned to `$tmp'.
23228 $debug ||
23230 tmp= ac_tmp=
23231 trap 'exit_status=$?
23232 : "${ac_tmp:=$tmp}"
23233 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23235 trap 'as_fn_exit 1' 1 2 13 15
23237 # Create a (secure) tmp directory for tmp files.
23240 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23241 test -d "$tmp"
23242 } ||
23244 tmp=./conf$$-$RANDOM
23245 (umask 077 && mkdir "$tmp")
23246 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23247 ac_tmp=$tmp
23249 # Set up the scripts for CONFIG_HEADERS section.
23250 # No need to generate them if there are no CONFIG_HEADERS.
23251 # This happens for instance with `./config.status Makefile'.
23252 if test -n "$CONFIG_HEADERS"; then
23253 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23254 BEGIN {
23255 _ACEOF
23257 # Transform confdefs.h into an awk script `defines.awk', embedded as
23258 # here-document in config.status, that substitutes the proper values into
23259 # config.h.in to produce config.h.
23261 # Create a delimiter string that does not exist in confdefs.h, to ease
23262 # handling of long lines.
23263 ac_delim='%!_!# '
23264 for ac_last_try in false false :; do
23265 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23266 if test -z "$ac_tt"; then
23267 break
23268 elif $ac_last_try; then
23269 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23270 else
23271 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23273 done
23275 # For the awk script, D is an array of macro values keyed by name,
23276 # likewise P contains macro parameters if any. Preserve backslash
23277 # newline sequences.
23279 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23280 sed -n '
23281 s/.\{148\}/&'"$ac_delim"'/g
23282 t rset
23283 :rset
23284 s/^[ ]*#[ ]*define[ ][ ]*/ /
23285 t def
23287 :def
23288 s/\\$//
23289 t bsnl
23290 s/["\\]/\\&/g
23291 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23292 D["\1"]=" \3"/p
23293 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23295 :bsnl
23296 s/["\\]/\\&/g
23297 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23298 D["\1"]=" \3\\\\\\n"\\/p
23299 t cont
23300 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23301 t cont
23303 :cont
23305 s/.\{148\}/&'"$ac_delim"'/g
23306 t clear
23307 :clear
23308 s/\\$//
23309 t bsnlc
23310 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23312 :bsnlc
23313 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23314 b cont
23315 ' <confdefs.h | sed '
23316 s/'"$ac_delim"'/"\\\
23317 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23320 for (key in D) D_is_set[key] = 1
23321 FS = "\a"
23323 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23324 line = \$ 0
23325 split(line, arg, " ")
23326 if (arg[1] == "#") {
23327 defundef = arg[2]
23328 mac1 = arg[3]
23329 } else {
23330 defundef = substr(arg[1], 2)
23331 mac1 = arg[2]
23333 split(mac1, mac2, "(") #)
23334 macro = mac2[1]
23335 prefix = substr(line, 1, index(line, defundef) - 1)
23336 if (D_is_set[macro]) {
23337 # Preserve the white space surrounding the "#".
23338 print prefix "define", macro P[macro] D[macro]
23339 next
23340 } else {
23341 # Replace #undef with comments. This is necessary, for example,
23342 # in the case of _POSIX_SOURCE, which is predefined and required
23343 # on some systems where configure will not decide to define it.
23344 if (defundef == "undef") {
23345 print "/*", prefix defundef, macro, "*/"
23346 next
23350 { print }
23351 _ACAWK
23352 _ACEOF
23353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23354 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23355 fi # test -n "$CONFIG_HEADERS"
23358 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23359 shift
23360 for ac_tag
23362 case $ac_tag in
23363 :[FHLC]) ac_mode=$ac_tag; continue;;
23364 esac
23365 case $ac_mode$ac_tag in
23366 :[FHL]*:*);;
23367 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23368 :[FH]-) ac_tag=-:-;;
23369 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23370 esac
23371 ac_save_IFS=$IFS
23372 IFS=:
23373 set x $ac_tag
23374 IFS=$ac_save_IFS
23375 shift
23376 ac_file=$1
23377 shift
23379 case $ac_mode in
23380 :L) ac_source=$1;;
23381 :[FH])
23382 ac_file_inputs=
23383 for ac_f
23385 case $ac_f in
23386 -) ac_f="$ac_tmp/stdin";;
23387 *) # Look for the file first in the build tree, then in the source tree
23388 # (if the path is not absolute). The absolute path cannot be DOS-style,
23389 # because $ac_f cannot contain `:'.
23390 test -f "$ac_f" ||
23391 case $ac_f in
23392 [\\/$]*) false;;
23393 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23394 esac ||
23395 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23396 esac
23397 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23398 as_fn_append ac_file_inputs " '$ac_f'"
23399 done
23401 # Let's still pretend it is `configure' which instantiates (i.e., don't
23402 # use $as_me), people would be surprised to read:
23403 # /* config.h. Generated by config.status. */
23404 configure_input='Generated from '`
23405 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23406 `' by configure.'
23407 if test x"$ac_file" != x-; then
23408 configure_input="$ac_file. $configure_input"
23409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23410 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23412 # Neutralize special characters interpreted by sed in replacement strings.
23413 case $configure_input in #(
23414 *\&* | *\|* | *\\* )
23415 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23416 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23417 *) ac_sed_conf_input=$configure_input;;
23418 esac
23420 case $ac_tag in
23421 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23422 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23423 esac
23425 esac
23427 ac_dir=`$as_dirname -- "$ac_file" ||
23428 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23429 X"$ac_file" : 'X\(//\)[^/]' \| \
23430 X"$ac_file" : 'X\(//\)$' \| \
23431 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23432 printf "%s\n" X"$ac_file" |
23433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23434 s//\1/
23437 /^X\(\/\/\)[^/].*/{
23438 s//\1/
23441 /^X\(\/\/\)$/{
23442 s//\1/
23445 /^X\(\/\).*/{
23446 s//\1/
23449 s/.*/./; q'`
23450 as_dir="$ac_dir"; as_fn_mkdir_p
23451 ac_builddir=.
23453 case "$ac_dir" in
23454 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23456 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23457 # A ".." for each directory in $ac_dir_suffix.
23458 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23459 case $ac_top_builddir_sub in
23460 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23461 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23462 esac ;;
23463 esac
23464 ac_abs_top_builddir=$ac_pwd
23465 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23466 # for backward compatibility:
23467 ac_top_builddir=$ac_top_build_prefix
23469 case $srcdir in
23470 .) # We are building in place.
23471 ac_srcdir=.
23472 ac_top_srcdir=$ac_top_builddir_sub
23473 ac_abs_top_srcdir=$ac_pwd ;;
23474 [\\/]* | ?:[\\/]* ) # Absolute name.
23475 ac_srcdir=$srcdir$ac_dir_suffix;
23476 ac_top_srcdir=$srcdir
23477 ac_abs_top_srcdir=$srcdir ;;
23478 *) # Relative name.
23479 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23480 ac_top_srcdir=$ac_top_build_prefix$srcdir
23481 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23482 esac
23483 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23486 case $ac_mode in
23490 # CONFIG_HEADER
23492 if test x"$ac_file" != x-; then
23494 printf "%s\n" "/* $configure_input */" >&1 \
23495 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23496 } >"$ac_tmp/config.h" \
23497 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23498 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23500 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23501 else
23502 rm -f "$ac_file"
23503 mv "$ac_tmp/config.h" "$ac_file" \
23504 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23506 else
23507 printf "%s\n" "/* $configure_input */" >&1 \
23508 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23509 || as_fn_error $? "could not create -" "$LINENO" 5
23514 # CONFIG_LINK
23517 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23519 else
23520 # Prefer the file from the source tree if names are identical.
23521 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23522 ac_source=$srcdir/$ac_source
23525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23526 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23528 if test ! -r "$ac_source"; then
23529 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23531 rm -f "$ac_file"
23533 # Try a relative symlink, then a hard link, then a copy.
23534 case $ac_source in
23535 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23536 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23537 esac
23538 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23539 ln "$ac_source" "$ac_file" 2>/dev/null ||
23540 cp -p "$ac_source" "$ac_file" ||
23541 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23544 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23545 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23547 esac
23550 case $ac_file$ac_mode in
23551 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23552 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23553 "Makefile":C) wine_fn_output_makefile Makefile ;;
23555 esac
23556 done # for ac_tag
23559 as_fn_exit 0
23560 _ACEOF
23561 ac_clean_files=$ac_clean_files_save
23563 test $ac_write_fail = 0 ||
23564 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23567 # configure is writing to config.log, and then calls config.status.
23568 # config.status does its own redirection, appending to config.log.
23569 # Unfortunately, on DOS this fails, as config.log is still kept open
23570 # by configure, so config.status won't be able to write to it; its
23571 # output is simply discarded. So we exec the FD to /dev/null,
23572 # effectively closing config.log, so it can be properly (re)opened and
23573 # appended to by config.status. When coming back to configure, we
23574 # need to make the FD available again.
23575 if test "$no_create" != yes; then
23576 ac_cs_success=:
23577 ac_config_status_args=
23578 test "$silent" = yes &&
23579 ac_config_status_args="$ac_config_status_args --quiet"
23580 exec 5>/dev/null
23581 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23582 exec 5>>config.log
23583 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23584 # would make configure fail if this is the last instruction.
23585 $ac_cs_success || as_fn_exit 1
23587 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23589 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23593 if test "$no_create" = "yes"
23594 then
23595 exit 0
23598 ac_save_IFS="$IFS"
23599 if test "x$wine_notices" != x; then
23600 echo >&6
23601 IFS="|"
23602 for msg in $wine_notices; do
23603 IFS="$ac_save_IFS"
23604 if ${msg:+false} :
23605 then :
23607 else $as_nop
23608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23609 printf "%s\n" "$as_me: $msg" >&6;}
23611 done
23613 IFS="|"
23614 for msg in $wine_warnings; do
23615 IFS="$ac_save_IFS"
23616 if ${msg:+false} :
23617 then :
23619 else $as_nop
23620 echo >&2
23621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23622 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23624 done
23625 IFS="$ac_save_IFS"
23627 printf "%s\n" "
23628 $as_me: Finished. Do '${ac_make}' to compile Wine.
23629 " >&6