quartz/tests: Add tests for MPEG audio decoder output media type enumeration.
[wine.git] / configure
blob30546b3b1fc743c922daf3242f8b69d3f1f8a49d
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_windows_networking
1421 enable_windowscodecs
1422 enable_windowscodecsext
1423 enable_winealsa_drv
1424 enable_wineandroid_drv
1425 enable_winebus_sys
1426 enable_winecoreaudio_drv
1427 enable_winecrt0
1428 enable_wined3d
1429 enable_winegstreamer
1430 enable_winehid_sys
1431 enable_winemac_drv
1432 enable_winemapi
1433 enable_wineoss_drv
1434 enable_wineps_drv
1435 enable_winepulse_drv
1436 enable_wineusb_sys
1437 enable_winevulkan
1438 enable_winex11_drv
1439 enable_winexinput_sys
1440 enable_wing32
1441 enable_winhttp
1442 enable_wininet
1443 enable_winmm
1444 enable_winnls32
1445 enable_winscard
1446 enable_winspool_drv
1447 enable_winsta
1448 enable_wintab32
1449 enable_wintrust
1450 enable_wintypes
1451 enable_winusb
1452 enable_wlanapi
1453 enable_wlanui
1454 enable_wldap32
1455 enable_wmadmod
1456 enable_wmasf
1457 enable_wmi
1458 enable_wmiutils
1459 enable_wmp
1460 enable_wmphoto
1461 enable_wmvcore
1462 enable_wnaspi32
1463 enable_wow64
1464 enable_wow64cpu
1465 enable_wow64win
1466 enable_wpc
1467 enable_wpcap
1468 enable_ws2_32
1469 enable_wsdapi
1470 enable_wshom_ocx
1471 enable_wsnmp32
1472 enable_wsock32
1473 enable_wtsapi32
1474 enable_wuapi
1475 enable_wuaueng
1476 enable_x3daudio1_0
1477 enable_x3daudio1_1
1478 enable_x3daudio1_2
1479 enable_x3daudio1_3
1480 enable_x3daudio1_4
1481 enable_x3daudio1_5
1482 enable_x3daudio1_6
1483 enable_x3daudio1_7
1484 enable_xactengine2_0
1485 enable_xactengine2_4
1486 enable_xactengine2_7
1487 enable_xactengine2_9
1488 enable_xactengine3_0
1489 enable_xactengine3_1
1490 enable_xactengine3_2
1491 enable_xactengine3_3
1492 enable_xactengine3_4
1493 enable_xactengine3_5
1494 enable_xactengine3_6
1495 enable_xactengine3_7
1496 enable_xapofx1_1
1497 enable_xapofx1_2
1498 enable_xapofx1_3
1499 enable_xapofx1_4
1500 enable_xapofx1_5
1501 enable_xaudio2_0
1502 enable_xaudio2_1
1503 enable_xaudio2_2
1504 enable_xaudio2_3
1505 enable_xaudio2_4
1506 enable_xaudio2_5
1507 enable_xaudio2_6
1508 enable_xaudio2_7
1509 enable_xaudio2_8
1510 enable_xaudio2_9
1511 enable_xinput1_1
1512 enable_xinput1_2
1513 enable_xinput1_3
1514 enable_xinput1_4
1515 enable_xinput9_1_0
1516 enable_xmllite
1517 enable_xolehlp
1518 enable_xpsprint
1519 enable_xpssvcs
1520 enable_fonts
1521 enable_include
1522 enable_adsiid
1523 enable_dmoguids
1524 enable_dxerr8
1525 enable_dxerr9
1526 enable_dxguid
1527 enable_faudio
1528 enable_gsm
1529 enable_jpeg
1530 enable_jxr
1531 enable_lcms2
1532 enable_mfuuid
1533 enable_mpg123
1534 enable_png
1535 enable_strmbase
1536 enable_strmiids
1537 enable_tiff
1538 enable_uuid
1539 enable_vkd3d
1540 enable_wbemuuid
1541 enable_wine
1542 enable_wmcodecdspuuid
1543 enable_xml2
1544 enable_xslt
1545 enable_zlib
1546 enable_loader
1547 enable_nls
1548 enable_po
1549 enable_arp
1550 enable_aspnet_regiis
1551 enable_attrib
1552 enable_cabarc
1553 enable_cacls
1554 enable_chcp_com
1555 enable_clock
1556 enable_cmd
1557 enable_conhost
1558 enable_control
1559 enable_cscript
1560 enable_dism
1561 enable_dllhost
1562 enable_dplaysvr
1563 enable_dpnsvr
1564 enable_dpvsetup
1565 enable_dxdiag
1566 enable_eject
1567 enable_expand
1568 enable_explorer
1569 enable_extrac32
1570 enable_fc
1571 enable_find
1572 enable_findstr
1573 enable_fsutil
1574 enable_hh
1575 enable_hostname
1576 enable_icacls
1577 enable_icinfo
1578 enable_iexplore
1579 enable_ipconfig
1580 enable_lodctr
1581 enable_mofcomp
1582 enable_mshta
1583 enable_msidb
1584 enable_msiexec
1585 enable_msinfo32
1586 enable_net
1587 enable_netsh
1588 enable_netstat
1589 enable_ngen
1590 enable_notepad
1591 enable_oleview
1592 enable_ping
1593 enable_plugplay
1594 enable_powershell
1595 enable_presentationfontcache
1596 enable_progman
1597 enable_reg
1598 enable_regasm
1599 enable_regedit
1600 enable_regini
1601 enable_regsvcs
1602 enable_regsvr32
1603 enable_robocopy
1604 enable_rpcss
1605 enable_rundll32
1606 enable_sc
1607 enable_schtasks
1608 enable_sdbinst
1609 enable_secedit
1610 enable_servicemodelreg
1611 enable_services
1612 enable_shutdown
1613 enable_spoolsv
1614 enable_start
1615 enable_subst
1616 enable_svchost
1617 enable_systeminfo
1618 enable_taskkill
1619 enable_tasklist
1620 enable_taskmgr
1621 enable_termsv
1622 enable_uninstaller
1623 enable_unlodctr
1624 enable_view
1625 enable_wevtutil
1626 enable_where
1627 enable_whoami
1628 enable_wineboot
1629 enable_winebrowser
1630 enable_winecfg
1631 enable_wineconsole
1632 enable_winedbg
1633 enable_winedevice
1634 enable_winefile
1635 enable_winemenubuilder
1636 enable_winemine
1637 enable_winemsibuilder
1638 enable_winepath
1639 enable_winetest
1640 enable_winhlp32
1641 enable_winmgmt
1642 enable_winver
1643 enable_wmic
1644 enable_wmplayer
1645 enable_wordpad
1646 enable_write
1647 enable_wscript
1648 enable_wuauserv
1649 enable_wusa
1650 enable_xcopy
1651 enable_server
1652 enable_tools
1653 enable_sfnt2fon
1654 enable_widl
1655 enable_winebuild
1656 enable_winedump
1657 enable_winegcc
1658 enable_winemaker
1659 enable_wmc
1660 enable_wrc
1662 ac_precious_vars='build_alias
1663 host_alias
1664 target_alias
1666 CFLAGS
1667 LDFLAGS
1668 LIBS
1669 CPPFLAGS
1671 CXXFLAGS
1673 OBJC
1674 OBJCFLAGS
1675 FAUDIO_PE_CFLAGS
1676 FAUDIO_PE_LIBS
1677 GSM_PE_CFLAGS
1678 GSM_PE_LIBS
1679 JPEG_PE_CFLAGS
1680 JPEG_PE_LIBS
1681 JXR_PE_CFLAGS
1682 JXR_PE_LIBS
1683 LCMS2_PE_CFLAGS
1684 LCMS2_PE_LIBS
1685 MPG123_PE_CFLAGS
1686 MPG123_PE_LIBS
1687 PNG_PE_CFLAGS
1688 PNG_PE_LIBS
1689 TIFF_PE_CFLAGS
1690 TIFF_PE_LIBS
1691 VKD3D_PE_CFLAGS
1692 VKD3D_PE_LIBS
1693 XML2_PE_CFLAGS
1694 XML2_PE_LIBS
1695 XSLT_PE_CFLAGS
1696 XSLT_PE_LIBS
1697 ZLIB_PE_CFLAGS
1698 ZLIB_PE_LIBS
1699 XMKMF
1701 INOTIFY_CFLAGS
1702 INOTIFY_LIBS
1703 DBUS_CFLAGS
1704 DBUS_LIBS
1705 GNUTLS_CFLAGS
1706 GNUTLS_LIBS
1707 SANE_CFLAGS
1708 SANE_LIBS
1709 USB_CFLAGS
1710 USB_LIBS
1711 GPHOTO2_CFLAGS
1712 GPHOTO2_LIBS
1713 GPHOTO2_PORT_CFLAGS
1714 GPHOTO2_PORT_LIBS
1715 FREETYPE_CFLAGS
1716 FREETYPE_LIBS
1717 PULSE_CFLAGS
1718 PULSE_LIBS
1719 GSTREAMER_CFLAGS
1720 GSTREAMER_LIBS
1721 UDEV_CFLAGS
1722 UDEV_LIBS
1723 UNWIND_CFLAGS
1724 UNWIND_LIBS
1725 SDL2_CFLAGS
1726 SDL2_LIBS
1727 CAPI20_CFLAGS
1728 CAPI20_LIBS
1729 CUPS_CFLAGS
1730 CUPS_LIBS
1731 FONTCONFIG_CFLAGS
1732 FONTCONFIG_LIBS
1733 KRB5_CFLAGS
1734 KRB5_LIBS
1735 GSSAPI_CFLAGS
1736 GSSAPI_LIBS
1737 NETAPI_CFLAGS
1738 NETAPI_LIBS
1739 LDAP_CFLAGS
1740 LDAP_LIBS'
1743 # Initialize some variables set by options.
1744 ac_init_help=
1745 ac_init_version=false
1746 ac_unrecognized_opts=
1747 ac_unrecognized_sep=
1748 # The variables have the same names as the options, with
1749 # dashes changed to underlines.
1750 cache_file=/dev/null
1751 exec_prefix=NONE
1752 no_create=
1753 no_recursion=
1754 prefix=NONE
1755 program_prefix=NONE
1756 program_suffix=NONE
1757 program_transform_name=s,x,x,
1758 silent=
1759 site=
1760 srcdir=
1761 verbose=
1762 x_includes=NONE
1763 x_libraries=NONE
1765 # Installation directory options.
1766 # These are left unexpanded so users can "make install exec_prefix=/foo"
1767 # and all the variables that are supposed to be based on exec_prefix
1768 # by default will actually change.
1769 # Use braces instead of parens because sh, perl, etc. also accept them.
1770 # (The list follows the same order as the GNU Coding Standards.)
1771 bindir='${exec_prefix}/bin'
1772 sbindir='${exec_prefix}/sbin'
1773 libexecdir='${exec_prefix}/libexec'
1774 datarootdir='${prefix}/share'
1775 datadir='${datarootdir}'
1776 sysconfdir='${prefix}/etc'
1777 sharedstatedir='${prefix}/com'
1778 localstatedir='${prefix}/var'
1779 runstatedir='${localstatedir}/run'
1780 includedir='${prefix}/include'
1781 oldincludedir='/usr/include'
1782 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1783 infodir='${datarootdir}/info'
1784 htmldir='${docdir}'
1785 dvidir='${docdir}'
1786 pdfdir='${docdir}'
1787 psdir='${docdir}'
1788 libdir='${exec_prefix}/lib'
1789 localedir='${datarootdir}/locale'
1790 mandir='${datarootdir}/man'
1792 ac_prev=
1793 ac_dashdash=
1794 for ac_option
1796 # If the previous option needs an argument, assign it.
1797 if test -n "$ac_prev"; then
1798 eval $ac_prev=\$ac_option
1799 ac_prev=
1800 continue
1803 case $ac_option in
1804 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1805 *=) ac_optarg= ;;
1806 *) ac_optarg=yes ;;
1807 esac
1809 case $ac_dashdash$ac_option in
1811 ac_dashdash=yes ;;
1813 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1814 ac_prev=bindir ;;
1815 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1816 bindir=$ac_optarg ;;
1818 -build | --build | --buil | --bui | --bu)
1819 ac_prev=build_alias ;;
1820 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1821 build_alias=$ac_optarg ;;
1823 -cache-file | --cache-file | --cache-fil | --cache-fi \
1824 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1825 ac_prev=cache_file ;;
1826 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1827 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1828 cache_file=$ac_optarg ;;
1830 --config-cache | -C)
1831 cache_file=config.cache ;;
1833 -datadir | --datadir | --datadi | --datad)
1834 ac_prev=datadir ;;
1835 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1836 datadir=$ac_optarg ;;
1838 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1839 | --dataroo | --dataro | --datar)
1840 ac_prev=datarootdir ;;
1841 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1842 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1843 datarootdir=$ac_optarg ;;
1845 -disable-* | --disable-*)
1846 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1847 # Reject names that are not valid shell variable names.
1848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1849 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1850 ac_useropt_orig=$ac_useropt
1851 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1852 case $ac_user_opts in
1854 "enable_$ac_useropt"
1855 "*) ;;
1856 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1857 ac_unrecognized_sep=', ';;
1858 esac
1859 eval enable_$ac_useropt=no ;;
1861 -docdir | --docdir | --docdi | --doc | --do)
1862 ac_prev=docdir ;;
1863 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1864 docdir=$ac_optarg ;;
1866 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1867 ac_prev=dvidir ;;
1868 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1869 dvidir=$ac_optarg ;;
1871 -enable-* | --enable-*)
1872 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1873 # Reject names that are not valid shell variable names.
1874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1875 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1876 ac_useropt_orig=$ac_useropt
1877 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1878 case $ac_user_opts in
1880 "enable_$ac_useropt"
1881 "*) ;;
1882 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1883 ac_unrecognized_sep=', ';;
1884 esac
1885 eval enable_$ac_useropt=\$ac_optarg ;;
1887 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1888 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1889 | --exec | --exe | --ex)
1890 ac_prev=exec_prefix ;;
1891 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1892 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1893 | --exec=* | --exe=* | --ex=*)
1894 exec_prefix=$ac_optarg ;;
1896 -gas | --gas | --ga | --g)
1897 # Obsolete; use --with-gas.
1898 with_gas=yes ;;
1900 -help | --help | --hel | --he | -h)
1901 ac_init_help=long ;;
1902 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1903 ac_init_help=recursive ;;
1904 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1905 ac_init_help=short ;;
1907 -host | --host | --hos | --ho)
1908 ac_prev=host_alias ;;
1909 -host=* | --host=* | --hos=* | --ho=*)
1910 host_alias=$ac_optarg ;;
1912 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1913 ac_prev=htmldir ;;
1914 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1915 | --ht=*)
1916 htmldir=$ac_optarg ;;
1918 -includedir | --includedir | --includedi | --included | --include \
1919 | --includ | --inclu | --incl | --inc)
1920 ac_prev=includedir ;;
1921 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1922 | --includ=* | --inclu=* | --incl=* | --inc=*)
1923 includedir=$ac_optarg ;;
1925 -infodir | --infodir | --infodi | --infod | --info | --inf)
1926 ac_prev=infodir ;;
1927 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1928 infodir=$ac_optarg ;;
1930 -libdir | --libdir | --libdi | --libd)
1931 ac_prev=libdir ;;
1932 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1933 libdir=$ac_optarg ;;
1935 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1936 | --libexe | --libex | --libe)
1937 ac_prev=libexecdir ;;
1938 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1939 | --libexe=* | --libex=* | --libe=*)
1940 libexecdir=$ac_optarg ;;
1942 -localedir | --localedir | --localedi | --localed | --locale)
1943 ac_prev=localedir ;;
1944 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1945 localedir=$ac_optarg ;;
1947 -localstatedir | --localstatedir | --localstatedi | --localstated \
1948 | --localstate | --localstat | --localsta | --localst | --locals)
1949 ac_prev=localstatedir ;;
1950 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1951 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1952 localstatedir=$ac_optarg ;;
1954 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1955 ac_prev=mandir ;;
1956 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1957 mandir=$ac_optarg ;;
1959 -nfp | --nfp | --nf)
1960 # Obsolete; use --without-fp.
1961 with_fp=no ;;
1963 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1964 | --no-cr | --no-c | -n)
1965 no_create=yes ;;
1967 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1968 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1969 no_recursion=yes ;;
1971 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1972 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1973 | --oldin | --oldi | --old | --ol | --o)
1974 ac_prev=oldincludedir ;;
1975 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1976 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1977 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1978 oldincludedir=$ac_optarg ;;
1980 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1981 ac_prev=prefix ;;
1982 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1983 prefix=$ac_optarg ;;
1985 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1986 | --program-pre | --program-pr | --program-p)
1987 ac_prev=program_prefix ;;
1988 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1989 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1990 program_prefix=$ac_optarg ;;
1992 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1993 | --program-suf | --program-su | --program-s)
1994 ac_prev=program_suffix ;;
1995 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1996 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1997 program_suffix=$ac_optarg ;;
1999 -program-transform-name | --program-transform-name \
2000 | --program-transform-nam | --program-transform-na \
2001 | --program-transform-n | --program-transform- \
2002 | --program-transform | --program-transfor \
2003 | --program-transfo | --program-transf \
2004 | --program-trans | --program-tran \
2005 | --progr-tra | --program-tr | --program-t)
2006 ac_prev=program_transform_name ;;
2007 -program-transform-name=* | --program-transform-name=* \
2008 | --program-transform-nam=* | --program-transform-na=* \
2009 | --program-transform-n=* | --program-transform-=* \
2010 | --program-transform=* | --program-transfor=* \
2011 | --program-transfo=* | --program-transf=* \
2012 | --program-trans=* | --program-tran=* \
2013 | --progr-tra=* | --program-tr=* | --program-t=*)
2014 program_transform_name=$ac_optarg ;;
2016 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2017 ac_prev=pdfdir ;;
2018 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2019 pdfdir=$ac_optarg ;;
2021 -psdir | --psdir | --psdi | --psd | --ps)
2022 ac_prev=psdir ;;
2023 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2024 psdir=$ac_optarg ;;
2026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2027 | -silent | --silent | --silen | --sile | --sil)
2028 silent=yes ;;
2030 -runstatedir | --runstatedir | --runstatedi | --runstated \
2031 | --runstate | --runstat | --runsta | --runst | --runs \
2032 | --run | --ru | --r)
2033 ac_prev=runstatedir ;;
2034 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2035 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2036 | --run=* | --ru=* | --r=*)
2037 runstatedir=$ac_optarg ;;
2039 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2040 ac_prev=sbindir ;;
2041 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2042 | --sbi=* | --sb=*)
2043 sbindir=$ac_optarg ;;
2045 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2046 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2047 | --sharedst | --shareds | --shared | --share | --shar \
2048 | --sha | --sh)
2049 ac_prev=sharedstatedir ;;
2050 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2051 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2052 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2053 | --sha=* | --sh=*)
2054 sharedstatedir=$ac_optarg ;;
2056 -site | --site | --sit)
2057 ac_prev=site ;;
2058 -site=* | --site=* | --sit=*)
2059 site=$ac_optarg ;;
2061 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2062 ac_prev=srcdir ;;
2063 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2064 srcdir=$ac_optarg ;;
2066 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2067 | --syscon | --sysco | --sysc | --sys | --sy)
2068 ac_prev=sysconfdir ;;
2069 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2070 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2071 sysconfdir=$ac_optarg ;;
2073 -target | --target | --targe | --targ | --tar | --ta | --t)
2074 ac_prev=target_alias ;;
2075 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2076 target_alias=$ac_optarg ;;
2078 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2079 verbose=yes ;;
2081 -version | --version | --versio | --versi | --vers | -V)
2082 ac_init_version=: ;;
2084 -with-* | --with-*)
2085 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2086 # Reject names that are not valid shell variable names.
2087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2088 as_fn_error $? "invalid package name: \`$ac_useropt'"
2089 ac_useropt_orig=$ac_useropt
2090 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2091 case $ac_user_opts in
2093 "with_$ac_useropt"
2094 "*) ;;
2095 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2096 ac_unrecognized_sep=', ';;
2097 esac
2098 eval with_$ac_useropt=\$ac_optarg ;;
2100 -without-* | --without-*)
2101 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2102 # Reject names that are not valid shell variable names.
2103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2104 as_fn_error $? "invalid package name: \`$ac_useropt'"
2105 ac_useropt_orig=$ac_useropt
2106 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2107 case $ac_user_opts in
2109 "with_$ac_useropt"
2110 "*) ;;
2111 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2112 ac_unrecognized_sep=', ';;
2113 esac
2114 eval with_$ac_useropt=no ;;
2116 --x)
2117 # Obsolete; use --with-x.
2118 with_x=yes ;;
2120 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2121 | --x-incl | --x-inc | --x-in | --x-i)
2122 ac_prev=x_includes ;;
2123 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2124 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2125 x_includes=$ac_optarg ;;
2127 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2128 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2129 ac_prev=x_libraries ;;
2130 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2131 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2132 x_libraries=$ac_optarg ;;
2134 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2135 Try \`$0 --help' for more information"
2138 *=*)
2139 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2140 # Reject names that are not valid shell variable names.
2141 case $ac_envvar in #(
2142 '' | [0-9]* | *[!_$as_cr_alnum]* )
2143 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2144 esac
2145 eval $ac_envvar=\$ac_optarg
2146 export $ac_envvar ;;
2149 # FIXME: should be removed in autoconf 3.0.
2150 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2151 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2152 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2153 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2156 esac
2157 done
2159 if test -n "$ac_prev"; then
2160 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2161 as_fn_error $? "missing argument to $ac_option"
2164 if test -n "$ac_unrecognized_opts"; then
2165 case $enable_option_checking in
2166 no) ;;
2167 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2168 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2169 esac
2172 # Check all directory arguments for consistency.
2173 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2174 datadir sysconfdir sharedstatedir localstatedir includedir \
2175 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2176 libdir localedir mandir runstatedir
2178 eval ac_val=\$$ac_var
2179 # Remove trailing slashes.
2180 case $ac_val in
2181 */ )
2182 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2183 eval $ac_var=\$ac_val;;
2184 esac
2185 # Be sure to have absolute directory names.
2186 case $ac_val in
2187 [\\/$]* | ?:[\\/]* ) continue;;
2188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2189 esac
2190 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2191 done
2193 # There might be people who depend on the old broken behavior: `$host'
2194 # used to hold the argument of --host etc.
2195 # FIXME: To remove some day.
2196 build=$build_alias
2197 host=$host_alias
2198 target=$target_alias
2200 # FIXME: To remove some day.
2201 if test "x$host_alias" != x; then
2202 if test "x$build_alias" = x; then
2203 cross_compiling=maybe
2204 elif test "x$build_alias" != "x$host_alias"; then
2205 cross_compiling=yes
2209 ac_tool_prefix=
2210 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2212 test "$silent" = yes && exec 6>/dev/null
2215 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2216 ac_ls_di=`ls -di .` &&
2217 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2218 as_fn_error $? "working directory cannot be determined"
2219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2220 as_fn_error $? "pwd does not report name of working directory"
2223 # Find the source files, if location was not specified.
2224 if test -z "$srcdir"; then
2225 ac_srcdir_defaulted=yes
2226 # Try the directory containing this script, then the parent directory.
2227 ac_confdir=`$as_dirname -- "$as_myself" ||
2228 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2229 X"$as_myself" : 'X\(//\)[^/]' \| \
2230 X"$as_myself" : 'X\(//\)$' \| \
2231 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2232 printf "%s\n" X"$as_myself" |
2233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2234 s//\1/
2237 /^X\(\/\/\)[^/].*/{
2238 s//\1/
2241 /^X\(\/\/\)$/{
2242 s//\1/
2245 /^X\(\/\).*/{
2246 s//\1/
2249 s/.*/./; q'`
2250 srcdir=$ac_confdir
2251 if test ! -r "$srcdir/$ac_unique_file"; then
2252 srcdir=..
2254 else
2255 ac_srcdir_defaulted=no
2257 if test ! -r "$srcdir/$ac_unique_file"; then
2258 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2259 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2261 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2262 ac_abs_confdir=`(
2263 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2264 pwd)`
2265 # When building in place, set srcdir=.
2266 if test "$ac_abs_confdir" = "$ac_pwd"; then
2267 srcdir=.
2269 # Remove unnecessary trailing slashes from srcdir.
2270 # Double slashes in file names in object file debugging info
2271 # mess up M-x gdb in Emacs.
2272 case $srcdir in
2273 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2274 esac
2275 for ac_var in $ac_precious_vars; do
2276 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2277 eval ac_env_${ac_var}_value=\$${ac_var}
2278 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2279 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2280 done
2283 # Report the --help message.
2285 if test "$ac_init_help" = "long"; then
2286 # Omit some internal or obsolete options to make the list less imposing.
2287 # This message is too long to be a string in the A/UX 3.1 sh.
2288 cat <<_ACEOF
2289 \`configure' configures Wine 7.7 to adapt to many kinds of systems.
2291 Usage: $0 [OPTION]... [VAR=VALUE]...
2293 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2294 VAR=VALUE. See below for descriptions of some of the useful variables.
2296 Defaults for the options are specified in brackets.
2298 Configuration:
2299 -h, --help display this help and exit
2300 --help=short display options specific to this package
2301 --help=recursive display the short help of all the included packages
2302 -V, --version display version information and exit
2303 -q, --quiet, --silent do not print \`checking ...' messages
2304 --cache-file=FILE cache test results in FILE [disabled]
2305 -C, --config-cache alias for \`--cache-file=config.cache'
2306 -n, --no-create do not create output files
2307 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2309 Installation directories:
2310 --prefix=PREFIX install architecture-independent files in PREFIX
2311 [$ac_default_prefix]
2312 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2313 [PREFIX]
2315 By default, \`make install' will install all the files in
2316 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2317 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2318 for instance \`--prefix=\$HOME'.
2320 For better control, use the options below.
2322 Fine tuning of the installation directories:
2323 --bindir=DIR user executables [EPREFIX/bin]
2324 --sbindir=DIR system admin executables [EPREFIX/sbin]
2325 --libexecdir=DIR program executables [EPREFIX/libexec]
2326 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2327 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2328 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2329 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2330 --libdir=DIR object code libraries [EPREFIX/lib]
2331 --includedir=DIR C header files [PREFIX/include]
2332 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2333 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2334 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2335 --infodir=DIR info documentation [DATAROOTDIR/info]
2336 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2337 --mandir=DIR man documentation [DATAROOTDIR/man]
2338 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2339 --htmldir=DIR html documentation [DOCDIR]
2340 --dvidir=DIR dvi documentation [DOCDIR]
2341 --pdfdir=DIR pdf documentation [DOCDIR]
2342 --psdir=DIR ps documentation [DOCDIR]
2343 _ACEOF
2345 cat <<\_ACEOF
2347 X features:
2348 --x-includes=DIR X include files are in DIR
2349 --x-libraries=DIR X library files are in DIR
2351 System types:
2352 --build=BUILD configure for building on BUILD [guessed]
2353 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2354 _ACEOF
2357 if test -n "$ac_init_help"; then
2358 case $ac_init_help in
2359 short | recursive ) echo "Configuration of Wine 7.7:";;
2360 esac
2361 cat <<\_ACEOF
2363 Optional Features:
2364 --disable-option-checking ignore unrecognized --enable/--with options
2365 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2366 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2367 --disable-win16 do not include Win16 support
2368 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2369 binaries)
2370 --disable-tests do not build the regression tests
2371 --enable-build-id include .buildid section in output objects
2372 --enable-maintainer-mode
2373 enable maintainer-specific build rules
2374 --enable-silent-rules use silent build rules (override: "make V=1")
2375 --enable-werror treat compilation warnings as errors
2376 --disable-largefile omit support for large files
2378 Optional Packages:
2379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2381 --without-alsa do not use the Alsa sound support
2382 --without-capi do not use CAPI (ISDN support)
2383 --without-coreaudio do not use the CoreAudio sound support
2384 --without-cups do not use CUPS
2385 --without-dbus do not use DBus (dynamic device support)
2386 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2387 --without-fontconfig do not use fontconfig
2388 --without-freetype do not use the FreeType library
2389 --without-gettext do not use gettext
2390 --with-gettextpo use the GetTextPO library to rebuild po files
2391 --without-gphoto do not use gphoto (Digital Camera support)
2392 --without-gnutls do not use GnuTLS (schannel support)
2393 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2394 --without-gstreamer do not use GStreamer (codecs support)
2395 --without-inotify do not use inotify (filesystem change notifications)
2396 --without-krb5 do not use krb5 (Kerberos)
2397 --without-ldap do not use LDAP
2398 --without-mingw do not use the MinGW cross-compiler
2399 --without-netapi do not use the Samba NetAPI library
2400 --without-openal do not use OpenAL
2401 --without-opencl do not use OpenCL
2402 --without-opengl do not use OpenGL
2403 --without-osmesa do not use the OSMesa library
2404 --without-oss do not use the OSS sound support
2405 --without-pcap do not use the Packet Capture library
2406 --without-pthread do not use the pthread library
2407 --without-pulse do not use PulseAudio sound support
2408 --without-sane do not use SANE (scanner support)
2409 --without-sdl do not use SDL
2410 --without-udev do not use udev (plug and play support)
2411 --without-unwind do not use the libunwind library (exception
2412 handling)
2413 --without-usb do not use the libusb library
2414 --without-v4l2 do not use v4l2 (video capture)
2415 --without-vulkan do not use Vulkan
2416 --without-xcomposite do not use the Xcomposite extension
2417 --without-xcursor do not use the Xcursor extension
2418 --without-xfixes do not use Xfixes for clipboard change notifications
2419 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2420 --without-xinput do not use the Xinput extension
2421 --without-xinput2 do not use the Xinput 2 extension
2422 --without-xrandr do not use Xrandr (multi-monitor support)
2423 --without-xrender do not use the Xrender extension
2424 --without-xshape do not use the Xshape extension
2425 --without-xshm do not use XShm (shared memory extension)
2426 --without-xxf86vm do not use XFree video mode extension
2427 --with-system-dllpath=PATH
2428 load external PE dependencies from colon-separated
2429 path PATH
2430 --with-wine-tools=DIR use Wine tools from directory DIR
2431 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2432 --with-x use the X Window System
2434 Some influential environment variables:
2435 CC C compiler command
2436 CFLAGS C compiler flags
2437 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2438 nonstandard directory <lib dir>
2439 LIBS libraries to pass to the linker, e.g. -l<library>
2440 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2441 you have headers in a nonstandard directory <include dir>
2442 CXX C++ compiler command
2443 CXXFLAGS C++ compiler flags
2444 OBJC Objective C compiler command
2445 OBJCFLAGS Objective C compiler flags
2446 FAUDIO_PE_CFLAGS
2447 C compiler flags for the PE faudio, overriding the bundled
2448 version
2449 FAUDIO_PE_LIBS
2450 Linker flags for the PE faudio, overriding the bundled version
2451 GSM_PE_CFLAGS
2452 C compiler flags for the PE gsm, overriding the bundled version
2453 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2454 JPEG_PE_CFLAGS
2455 C compiler flags for the PE jpeg, overriding the bundled version
2456 JPEG_PE_LIBS
2457 Linker flags for the PE jpeg, overriding the bundled version
2458 JXR_PE_CFLAGS
2459 C compiler flags for the PE jxr, overriding the bundled version
2460 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2461 LCMS2_PE_CFLAGS
2462 C compiler flags for the PE lcms2, overriding the bundled
2463 version
2464 LCMS2_PE_LIBS
2465 Linker flags for the PE lcms2, overriding the bundled version
2466 MPG123_PE_CFLAGS
2467 C compiler flags for the PE mpg123, overriding the bundled
2468 version
2469 MPG123_PE_LIBS
2470 Linker flags for the PE mpg123, overriding the bundled version
2471 PNG_PE_CFLAGS
2472 C compiler flags for the PE png, overriding the bundled version
2473 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2474 TIFF_PE_CFLAGS
2475 C compiler flags for the PE tiff, overriding the bundled version
2476 TIFF_PE_LIBS
2477 Linker flags for the PE tiff, overriding the bundled version
2478 VKD3D_PE_CFLAGS
2479 C compiler flags for the PE vkd3d, overriding the bundled
2480 version
2481 VKD3D_PE_LIBS
2482 Linker flags for the PE vkd3d, overriding the bundled version
2483 XML2_PE_CFLAGS
2484 C compiler flags for the PE xml2, overriding the bundled version
2485 XML2_PE_LIBS
2486 Linker flags for the PE xml2, overriding the bundled version
2487 XSLT_PE_CFLAGS
2488 C compiler flags for the PE xslt, overriding the bundled version
2489 XSLT_PE_LIBS
2490 Linker flags for the PE xslt, overriding the bundled version
2491 ZLIB_PE_CFLAGS
2492 C compiler flags for the PE zlib, overriding the bundled version
2493 ZLIB_PE_LIBS
2494 Linker flags for the PE zlib, overriding the bundled version
2495 XMKMF Path to xmkmf, Makefile generator for X Window System
2496 CPP C preprocessor
2497 INOTIFY_CFLAGS
2498 C compiler flags for libinotify, overriding pkg-config
2499 INOTIFY_LIBS
2500 Linker flags for libinotify, overriding pkg-config
2501 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2502 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2503 GNUTLS_CFLAGS
2504 C compiler flags for gnutls, overriding pkg-config
2505 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2506 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2507 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2508 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2509 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2510 GPHOTO2_CFLAGS
2511 C compiler flags for libgphoto2, overriding pkg-config
2512 GPHOTO2_LIBS
2513 Linker flags for libgphoto2, overriding pkg-config
2514 GPHOTO2_PORT_CFLAGS
2515 C compiler flags for libgphoto2_port, overriding pkg-config
2516 GPHOTO2_PORT_LIBS
2517 Linker flags for libgphoto2_port, overriding pkg-config
2518 FREETYPE_CFLAGS
2519 C compiler flags for freetype2, overriding pkg-config
2520 FREETYPE_LIBS
2521 Linker flags for freetype2, overriding pkg-config
2522 PULSE_CFLAGS
2523 C compiler flags for libpulse, overriding pkg-config
2524 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2525 GSTREAMER_CFLAGS
2526 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2527 gstreamer-audio-1.0, overriding pkg-config
2528 GSTREAMER_LIBS
2529 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2530 gstreamer-audio-1.0, overriding pkg-config
2531 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2532 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2533 UNWIND_CFLAGS
2534 C compiler flags for libunwind, overriding pkg-config
2535 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2536 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2537 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2538 CAPI20_CFLAGS
2539 C compiler flags for capi20, overriding pkg-config
2540 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2541 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2542 CUPS_LIBS Linker flags for cups, overriding pkg-config
2543 FONTCONFIG_CFLAGS
2544 C compiler flags for fontconfig, overriding pkg-config
2545 FONTCONFIG_LIBS
2546 Linker flags for fontconfig, overriding pkg-config
2547 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2548 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2549 GSSAPI_CFLAGS
2550 C compiler flags for krb5-gssapi, overriding pkg-config
2551 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2552 NETAPI_CFLAGS
2553 C compiler flags for netapi, overriding pkg-config
2554 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2555 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2556 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2558 Use these variables to override the choices made by `configure' or to help
2559 it to find libraries and programs with nonstandard names/locations.
2561 Report bugs to <wine-devel@winehq.org>.
2562 Wine home page: <https://www.winehq.org>.
2563 _ACEOF
2564 ac_status=$?
2567 if test "$ac_init_help" = "recursive"; then
2568 # If there are subdirs, report their specific --help.
2569 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2570 test -d "$ac_dir" ||
2571 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2572 continue
2573 ac_builddir=.
2575 case "$ac_dir" in
2576 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2578 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2579 # A ".." for each directory in $ac_dir_suffix.
2580 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2581 case $ac_top_builddir_sub in
2582 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2583 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2584 esac ;;
2585 esac
2586 ac_abs_top_builddir=$ac_pwd
2587 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2588 # for backward compatibility:
2589 ac_top_builddir=$ac_top_build_prefix
2591 case $srcdir in
2592 .) # We are building in place.
2593 ac_srcdir=.
2594 ac_top_srcdir=$ac_top_builddir_sub
2595 ac_abs_top_srcdir=$ac_pwd ;;
2596 [\\/]* | ?:[\\/]* ) # Absolute name.
2597 ac_srcdir=$srcdir$ac_dir_suffix;
2598 ac_top_srcdir=$srcdir
2599 ac_abs_top_srcdir=$srcdir ;;
2600 *) # Relative name.
2601 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2602 ac_top_srcdir=$ac_top_build_prefix$srcdir
2603 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2604 esac
2605 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2607 cd "$ac_dir" || { ac_status=$?; continue; }
2608 # Check for configure.gnu first; this name is used for a wrapper for
2609 # Metaconfig's "Configure" on case-insensitive file systems.
2610 if test -f "$ac_srcdir/configure.gnu"; then
2611 echo &&
2612 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2613 elif test -f "$ac_srcdir/configure"; then
2614 echo &&
2615 $SHELL "$ac_srcdir/configure" --help=recursive
2616 else
2617 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2618 fi || ac_status=$?
2619 cd "$ac_pwd" || { ac_status=$?; break; }
2620 done
2623 test -n "$ac_init_help" && exit $ac_status
2624 if $ac_init_version; then
2625 cat <<\_ACEOF
2626 Wine configure 7.7
2627 generated by GNU Autoconf 2.71
2629 Copyright (C) 2021 Free Software Foundation, Inc.
2630 This configure script is free software; the Free Software Foundation
2631 gives unlimited permission to copy, distribute and modify it.
2632 _ACEOF
2633 exit
2636 ## ------------------------ ##
2637 ## Autoconf initialization. ##
2638 ## ------------------------ ##
2640 # ac_fn_c_try_compile LINENO
2641 # --------------------------
2642 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2643 ac_fn_c_try_compile ()
2645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2646 rm -f conftest.$ac_objext conftest.beam
2647 if { { ac_try="$ac_compile"
2648 case "(($ac_try" in
2649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2650 *) ac_try_echo=$ac_try;;
2651 esac
2652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2653 printf "%s\n" "$ac_try_echo"; } >&5
2654 (eval "$ac_compile") 2>conftest.err
2655 ac_status=$?
2656 if test -s conftest.err; then
2657 grep -v '^ *+' conftest.err >conftest.er1
2658 cat conftest.er1 >&5
2659 mv -f conftest.er1 conftest.err
2661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2662 test $ac_status = 0; } && {
2663 test -z "$ac_c_werror_flag" ||
2664 test ! -s conftest.err
2665 } && test -s conftest.$ac_objext
2666 then :
2667 ac_retval=0
2668 else $as_nop
2669 printf "%s\n" "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2672 ac_retval=1
2674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2675 as_fn_set_status $ac_retval
2677 } # ac_fn_c_try_compile
2679 # ac_fn_cxx_try_compile LINENO
2680 # ----------------------------
2681 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2682 ac_fn_cxx_try_compile ()
2684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2685 rm -f conftest.$ac_objext conftest.beam
2686 if { { ac_try="$ac_compile"
2687 case "(($ac_try" in
2688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2689 *) ac_try_echo=$ac_try;;
2690 esac
2691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2692 printf "%s\n" "$ac_try_echo"; } >&5
2693 (eval "$ac_compile") 2>conftest.err
2694 ac_status=$?
2695 if test -s conftest.err; then
2696 grep -v '^ *+' conftest.err >conftest.er1
2697 cat conftest.er1 >&5
2698 mv -f conftest.er1 conftest.err
2700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2701 test $ac_status = 0; } && {
2702 test -z "$ac_cxx_werror_flag" ||
2703 test ! -s conftest.err
2704 } && test -s conftest.$ac_objext
2705 then :
2706 ac_retval=0
2707 else $as_nop
2708 printf "%s\n" "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2711 ac_retval=1
2713 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2714 as_fn_set_status $ac_retval
2716 } # ac_fn_cxx_try_compile
2718 # ac_fn_c_try_link LINENO
2719 # -----------------------
2720 # Try to link conftest.$ac_ext, and return whether this succeeded.
2721 ac_fn_c_try_link ()
2723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2724 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2725 if { { ac_try="$ac_link"
2726 case "(($ac_try" in
2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2729 esac
2730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2731 printf "%s\n" "$ac_try_echo"; } >&5
2732 (eval "$ac_link") 2>conftest.err
2733 ac_status=$?
2734 if test -s conftest.err; then
2735 grep -v '^ *+' conftest.err >conftest.er1
2736 cat conftest.er1 >&5
2737 mv -f conftest.er1 conftest.err
2739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740 test $ac_status = 0; } && {
2741 test -z "$ac_c_werror_flag" ||
2742 test ! -s conftest.err
2743 } && test -s conftest$ac_exeext && {
2744 test "$cross_compiling" = yes ||
2745 test -x conftest$ac_exeext
2747 then :
2748 ac_retval=0
2749 else $as_nop
2750 printf "%s\n" "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2753 ac_retval=1
2755 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2756 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2757 # interfere with the next link command; also delete a directory that is
2758 # left behind by Apple's compiler. We do this before executing the actions.
2759 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2761 as_fn_set_status $ac_retval
2763 } # ac_fn_c_try_link
2765 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2766 # -------------------------------------------------------
2767 # Tests whether HEADER exists and can be compiled using the include files in
2768 # INCLUDES, setting the cache variable VAR accordingly.
2769 ac_fn_c_check_header_compile ()
2771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2773 printf %s "checking for $2... " >&6; }
2774 if eval test \${$3+y}
2775 then :
2776 printf %s "(cached) " >&6
2777 else $as_nop
2778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h. */
2781 #include <$2>
2782 _ACEOF
2783 if ac_fn_c_try_compile "$LINENO"
2784 then :
2785 eval "$3=yes"
2786 else $as_nop
2787 eval "$3=no"
2789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2791 eval ac_res=\$$3
2792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2793 printf "%s\n" "$ac_res" >&6; }
2794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2796 } # ac_fn_c_check_header_compile
2798 # ac_fn_objc_try_compile LINENO
2799 # -----------------------------
2800 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2801 ac_fn_objc_try_compile ()
2803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2804 rm -f conftest.$ac_objext conftest.beam
2805 if { { ac_try="$ac_compile"
2806 case "(($ac_try" in
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2809 esac
2810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2811 printf "%s\n" "$ac_try_echo"; } >&5
2812 (eval "$ac_compile") 2>conftest.err
2813 ac_status=$?
2814 if test -s conftest.err; then
2815 grep -v '^ *+' conftest.err >conftest.er1
2816 cat conftest.er1 >&5
2817 mv -f conftest.er1 conftest.err
2819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2820 test $ac_status = 0; } && {
2821 test -z "$ac_objc_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext
2824 then :
2825 ac_retval=0
2826 else $as_nop
2827 printf "%s\n" "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2830 ac_retval=1
2832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2833 as_fn_set_status $ac_retval
2835 } # ac_fn_objc_try_compile
2837 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2838 # ----------------------------------------------------------
2839 # Tests whether HEADER exists and can be compiled using the include files in
2840 # INCLUDES, setting the cache variable VAR accordingly.
2841 ac_fn_objc_check_header_compile ()
2843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2845 printf %s "checking for $2... " >&6; }
2846 if eval test \${$3+y}
2847 then :
2848 printf %s "(cached) " >&6
2849 else $as_nop
2850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2851 /* end confdefs.h. */
2853 #include <$2>
2854 _ACEOF
2855 if ac_fn_objc_try_compile "$LINENO"
2856 then :
2857 eval "$3=yes"
2858 else $as_nop
2859 eval "$3=no"
2861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2863 eval ac_res=\$$3
2864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2865 printf "%s\n" "$ac_res" >&6; }
2866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2868 } # ac_fn_objc_check_header_compile
2870 # ac_fn_c_check_func LINENO FUNC VAR
2871 # ----------------------------------
2872 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2873 ac_fn_c_check_func ()
2875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2877 printf %s "checking for $2... " >&6; }
2878 if eval test \${$3+y}
2879 then :
2880 printf %s "(cached) " >&6
2881 else $as_nop
2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2886 #define $2 innocuous_$2
2888 /* System header to define __stub macros and hopefully few prototypes,
2889 which can conflict with char $2 (); below. */
2891 #include <limits.h>
2892 #undef $2
2894 /* Override any GCC internal prototype to avoid an error.
2895 Use char because int might match the return type of a GCC
2896 builtin and then its argument prototype would still apply. */
2897 #ifdef __cplusplus
2898 extern "C"
2899 #endif
2900 char $2 ();
2901 /* The GNU C library defines this for functions which it implements
2902 to always fail with ENOSYS. Some functions are actually named
2903 something starting with __ and the normal name is an alias. */
2904 #if defined __stub_$2 || defined __stub___$2
2905 choke me
2906 #endif
2909 main (void)
2911 return $2 ();
2913 return 0;
2915 _ACEOF
2916 if ac_fn_c_try_link "$LINENO"
2917 then :
2918 eval "$3=yes"
2919 else $as_nop
2920 eval "$3=no"
2922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2923 conftest$ac_exeext conftest.$ac_ext
2925 eval ac_res=\$$3
2926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2927 printf "%s\n" "$ac_res" >&6; }
2928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2930 } # ac_fn_c_check_func
2932 # ac_fn_c_try_cpp LINENO
2933 # ----------------------
2934 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2935 ac_fn_c_try_cpp ()
2937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2938 if { { ac_try="$ac_cpp conftest.$ac_ext"
2939 case "(($ac_try" in
2940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941 *) ac_try_echo=$ac_try;;
2942 esac
2943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2944 printf "%s\n" "$ac_try_echo"; } >&5
2945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2946 ac_status=$?
2947 if test -s conftest.err; then
2948 grep -v '^ *+' conftest.err >conftest.er1
2949 cat conftest.er1 >&5
2950 mv -f conftest.er1 conftest.err
2952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953 test $ac_status = 0; } > conftest.i && {
2954 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2955 test ! -s conftest.err
2957 then :
2958 ac_retval=0
2959 else $as_nop
2960 printf "%s\n" "$as_me: failed program was:" >&5
2961 sed 's/^/| /' conftest.$ac_ext >&5
2963 ac_retval=1
2965 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2966 as_fn_set_status $ac_retval
2968 } # ac_fn_c_try_cpp
2970 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2971 # ----------------------------------------------------
2972 # Tries to find if the field MEMBER exists in type AGGR, after including
2973 # INCLUDES, setting cache variable VAR accordingly.
2974 ac_fn_c_check_member ()
2976 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2978 printf %s "checking for $2.$3... " >&6; }
2979 if eval test \${$4+y}
2980 then :
2981 printf %s "(cached) " >&6
2982 else $as_nop
2983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2984 /* end confdefs.h. */
2987 main (void)
2989 static $2 ac_aggr;
2990 if (ac_aggr.$3)
2991 return 0;
2993 return 0;
2995 _ACEOF
2996 if ac_fn_c_try_compile "$LINENO"
2997 then :
2998 eval "$4=yes"
2999 else $as_nop
3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h. */
3004 main (void)
3006 static $2 ac_aggr;
3007 if (sizeof ac_aggr.$3)
3008 return 0;
3010 return 0;
3012 _ACEOF
3013 if ac_fn_c_try_compile "$LINENO"
3014 then :
3015 eval "$4=yes"
3016 else $as_nop
3017 eval "$4=no"
3019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3021 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3023 eval ac_res=\$$4
3024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3025 printf "%s\n" "$ac_res" >&6; }
3026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3028 } # ac_fn_c_check_member
3030 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3031 # -------------------------------------------
3032 # Tests whether TYPE exists after having included INCLUDES, setting cache
3033 # variable VAR accordingly.
3034 ac_fn_c_check_type ()
3036 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3038 printf %s "checking for $2... " >&6; }
3039 if eval test \${$3+y}
3040 then :
3041 printf %s "(cached) " >&6
3042 else $as_nop
3043 eval "$3=no"
3044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3048 main (void)
3050 if (sizeof ($2))
3051 return 0;
3053 return 0;
3055 _ACEOF
3056 if ac_fn_c_try_compile "$LINENO"
3057 then :
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3062 main (void)
3064 if (sizeof (($2)))
3065 return 0;
3067 return 0;
3069 _ACEOF
3070 if ac_fn_c_try_compile "$LINENO"
3071 then :
3073 else $as_nop
3074 eval "$3=yes"
3076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3080 eval ac_res=\$$3
3081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3082 printf "%s\n" "$ac_res" >&6; }
3083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3085 } # ac_fn_c_check_type
3086 ac_configure_args_raw=
3087 for ac_arg
3089 case $ac_arg in
3090 *\'*)
3091 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3092 esac
3093 as_fn_append ac_configure_args_raw " '$ac_arg'"
3094 done
3096 case $ac_configure_args_raw in
3097 *$as_nl*)
3098 ac_safe_unquote= ;;
3100 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3101 ac_unsafe_a="$ac_unsafe_z#~"
3102 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3103 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3104 esac
3106 cat >config.log <<_ACEOF
3107 This file contains any messages produced by compilers while
3108 running configure, to aid debugging if configure makes a mistake.
3110 It was created by Wine $as_me 7.7, which was
3111 generated by GNU Autoconf 2.71. Invocation command line was
3113 $ $0$ac_configure_args_raw
3115 _ACEOF
3116 exec 5>>config.log
3118 cat <<_ASUNAME
3119 ## --------- ##
3120 ## Platform. ##
3121 ## --------- ##
3123 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3124 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3125 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3126 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3127 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3129 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3130 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3132 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3133 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3134 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3135 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3136 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3137 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3138 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3140 _ASUNAME
3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3143 for as_dir in $PATH
3145 IFS=$as_save_IFS
3146 case $as_dir in #(((
3147 '') as_dir=./ ;;
3148 */) ;;
3149 *) as_dir=$as_dir/ ;;
3150 esac
3151 printf "%s\n" "PATH: $as_dir"
3152 done
3153 IFS=$as_save_IFS
3155 } >&5
3157 cat >&5 <<_ACEOF
3160 ## ----------- ##
3161 ## Core tests. ##
3162 ## ----------- ##
3164 _ACEOF
3167 # Keep a trace of the command line.
3168 # Strip out --no-create and --no-recursion so they do not pile up.
3169 # Strip out --silent because we don't want to record it for future runs.
3170 # Also quote any args containing shell meta-characters.
3171 # Make two passes to allow for proper duplicate-argument suppression.
3172 ac_configure_args=
3173 ac_configure_args0=
3174 ac_configure_args1=
3175 ac_must_keep_next=false
3176 for ac_pass in 1 2
3178 for ac_arg
3180 case $ac_arg in
3181 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3183 | -silent | --silent | --silen | --sile | --sil)
3184 continue ;;
3185 *\'*)
3186 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3187 esac
3188 case $ac_pass in
3189 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3191 as_fn_append ac_configure_args1 " '$ac_arg'"
3192 if test $ac_must_keep_next = true; then
3193 ac_must_keep_next=false # Got value, back to normal.
3194 else
3195 case $ac_arg in
3196 *=* | --config-cache | -C | -disable-* | --disable-* \
3197 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3198 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3199 | -with-* | --with-* | -without-* | --without-* | --x)
3200 case "$ac_configure_args0 " in
3201 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3202 esac
3204 -* ) ac_must_keep_next=true ;;
3205 esac
3207 as_fn_append ac_configure_args " '$ac_arg'"
3209 esac
3210 done
3211 done
3212 { ac_configure_args0=; unset ac_configure_args0;}
3213 { ac_configure_args1=; unset ac_configure_args1;}
3215 # When interrupted or exit'd, cleanup temporary files, and complete
3216 # config.log. We remove comments because anyway the quotes in there
3217 # would cause problems or look ugly.
3218 # WARNING: Use '\'' to represent an apostrophe within the trap.
3219 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3220 trap 'exit_status=$?
3221 # Sanitize IFS.
3222 IFS=" "" $as_nl"
3223 # Save into config.log some information that might help in debugging.
3225 echo
3227 printf "%s\n" "## ---------------- ##
3228 ## Cache variables. ##
3229 ## ---------------- ##"
3230 echo
3231 # The following way of writing the cache mishandles newlines in values,
3233 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3234 eval ac_val=\$$ac_var
3235 case $ac_val in #(
3236 *${as_nl}*)
3237 case $ac_var in #(
3238 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3239 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3240 esac
3241 case $ac_var in #(
3242 _ | IFS | as_nl) ;; #(
3243 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3244 *) { eval $ac_var=; unset $ac_var;} ;;
3245 esac ;;
3246 esac
3247 done
3248 (set) 2>&1 |
3249 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3250 *${as_nl}ac_space=\ *)
3251 sed -n \
3252 "s/'\''/'\''\\\\'\'''\''/g;
3253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3254 ;; #(
3256 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3258 esac |
3259 sort
3261 echo
3263 printf "%s\n" "## ----------------- ##
3264 ## Output variables. ##
3265 ## ----------------- ##"
3266 echo
3267 for ac_var in $ac_subst_vars
3269 eval ac_val=\$$ac_var
3270 case $ac_val in
3271 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3272 esac
3273 printf "%s\n" "$ac_var='\''$ac_val'\''"
3274 done | sort
3275 echo
3277 if test -n "$ac_subst_files"; then
3278 printf "%s\n" "## ------------------- ##
3279 ## File substitutions. ##
3280 ## ------------------- ##"
3281 echo
3282 for ac_var in $ac_subst_files
3284 eval ac_val=\$$ac_var
3285 case $ac_val in
3286 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3287 esac
3288 printf "%s\n" "$ac_var='\''$ac_val'\''"
3289 done | sort
3290 echo
3293 if test -s confdefs.h; then
3294 printf "%s\n" "## ----------- ##
3295 ## confdefs.h. ##
3296 ## ----------- ##"
3297 echo
3298 cat confdefs.h
3299 echo
3301 test "$ac_signal" != 0 &&
3302 printf "%s\n" "$as_me: caught signal $ac_signal"
3303 printf "%s\n" "$as_me: exit $exit_status"
3304 } >&5
3305 rm -f core *.core core.conftest.* &&
3306 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3307 exit $exit_status
3309 for ac_signal in 1 2 13 15; do
3310 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3311 done
3312 ac_signal=0
3314 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3315 rm -f -r conftest* confdefs.h
3317 printf "%s\n" "/* confdefs.h */" > confdefs.h
3319 # Predefined preprocessor variables.
3321 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3323 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3325 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3327 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3329 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3331 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3334 # Let the site file select an alternate cache file if it wants to.
3335 # Prefer an explicitly selected file to automatically selected ones.
3336 if test -n "$CONFIG_SITE"; then
3337 ac_site_files="$CONFIG_SITE"
3338 elif test "x$prefix" != xNONE; then
3339 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3340 else
3341 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3344 for ac_site_file in $ac_site_files
3346 case $ac_site_file in #(
3347 */*) :
3348 ;; #(
3349 *) :
3350 ac_site_file=./$ac_site_file ;;
3351 esac
3352 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3354 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3355 sed 's/^/| /' "$ac_site_file" >&5
3356 . "$ac_site_file" \
3357 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3359 as_fn_error $? "failed to load site script $ac_site_file
3360 See \`config.log' for more details" "$LINENO" 5; }
3362 done
3364 if test -r "$cache_file"; then
3365 # Some versions of bash will fail to source /dev/null (special files
3366 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3367 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3369 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3370 case $cache_file in
3371 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3372 *) . "./$cache_file";;
3373 esac
3375 else
3376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3377 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3378 >$cache_file
3381 # Test code for whether the C compiler supports C89 (global declarations)
3382 ac_c_conftest_c89_globals='
3383 /* Does the compiler advertise C89 conformance?
3384 Do not test the value of __STDC__, because some compilers set it to 0
3385 while being otherwise adequately conformant. */
3386 #if !defined __STDC__
3387 # error "Compiler does not advertise C89 conformance"
3388 #endif
3390 #include <stddef.h>
3391 #include <stdarg.h>
3392 struct stat;
3393 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3394 struct buf { int x; };
3395 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3396 static char *e (p, i)
3397 char **p;
3398 int i;
3400 return p[i];
3402 static char *f (char * (*g) (char **, int), char **p, ...)
3404 char *s;
3405 va_list v;
3406 va_start (v,p);
3407 s = g (p, va_arg (v,int));
3408 va_end (v);
3409 return s;
3412 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3413 function prototypes and stuff, but not \xHH hex character constants.
3414 These do not provoke an error unfortunately, instead are silently treated
3415 as an "x". The following induces an error, until -std is added to get
3416 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3417 array size at least. It is necessary to write \x00 == 0 to get something
3418 that is true only with -std. */
3419 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3421 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3422 inside strings and character constants. */
3423 #define FOO(x) '\''x'\''
3424 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3426 int test (int i, double x);
3427 struct s1 {int (*f) (int a);};
3428 struct s2 {int (*f) (double a);};
3429 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3430 int, int);'
3432 # Test code for whether the C compiler supports C89 (body of main).
3433 ac_c_conftest_c89_main='
3434 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3437 # Test code for whether the C compiler supports C99 (global declarations)
3438 ac_c_conftest_c99_globals='
3439 // Does the compiler advertise C99 conformance?
3440 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3441 # error "Compiler does not advertise C99 conformance"
3442 #endif
3444 #include <stdbool.h>
3445 extern int puts (const char *);
3446 extern int printf (const char *, ...);
3447 extern int dprintf (int, const char *, ...);
3448 extern void *malloc (size_t);
3450 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3451 // dprintf is used instead of fprintf to avoid needing to declare
3452 // FILE and stderr.
3453 #define debug(...) dprintf (2, __VA_ARGS__)
3454 #define showlist(...) puts (#__VA_ARGS__)
3455 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3456 static void
3457 test_varargs_macros (void)
3459 int x = 1234;
3460 int y = 5678;
3461 debug ("Flag");
3462 debug ("X = %d\n", x);
3463 showlist (The first, second, and third items.);
3464 report (x>y, "x is %d but y is %d", x, y);
3467 // Check long long types.
3468 #define BIG64 18446744073709551615ull
3469 #define BIG32 4294967295ul
3470 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3471 #if !BIG_OK
3472 #error "your preprocessor is broken"
3473 #endif
3474 #if BIG_OK
3475 #else
3476 #error "your preprocessor is broken"
3477 #endif
3478 static long long int bignum = -9223372036854775807LL;
3479 static unsigned long long int ubignum = BIG64;
3481 struct incomplete_array
3483 int datasize;
3484 double data[];
3487 struct named_init {
3488 int number;
3489 const wchar_t *name;
3490 double average;
3493 typedef const char *ccp;
3495 static inline int
3496 test_restrict (ccp restrict text)
3498 // See if C++-style comments work.
3499 // Iterate through items via the restricted pointer.
3500 // Also check for declarations in for loops.
3501 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3502 continue;
3503 return 0;
3506 // Check varargs and va_copy.
3507 static bool
3508 test_varargs (const char *format, ...)
3510 va_list args;
3511 va_start (args, format);
3512 va_list args_copy;
3513 va_copy (args_copy, args);
3515 const char *str = "";
3516 int number = 0;
3517 float fnumber = 0;
3519 while (*format)
3521 switch (*format++)
3523 case '\''s'\'': // string
3524 str = va_arg (args_copy, const char *);
3525 break;
3526 case '\''d'\'': // int
3527 number = va_arg (args_copy, int);
3528 break;
3529 case '\''f'\'': // float
3530 fnumber = va_arg (args_copy, double);
3531 break;
3532 default:
3533 break;
3536 va_end (args_copy);
3537 va_end (args);
3539 return *str && number && fnumber;
3543 # Test code for whether the C compiler supports C99 (body of main).
3544 ac_c_conftest_c99_main='
3545 // Check bool.
3546 _Bool success = false;
3547 success |= (argc != 0);
3549 // Check restrict.
3550 if (test_restrict ("String literal") == 0)
3551 success = true;
3552 char *restrict newvar = "Another string";
3554 // Check varargs.
3555 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3556 test_varargs_macros ();
3558 // Check flexible array members.
3559 struct incomplete_array *ia =
3560 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3561 ia->datasize = 10;
3562 for (int i = 0; i < ia->datasize; ++i)
3563 ia->data[i] = i * 1.234;
3565 // Check named initializers.
3566 struct named_init ni = {
3567 .number = 34,
3568 .name = L"Test wide string",
3569 .average = 543.34343,
3572 ni.number = 58;
3574 int dynamic_array[ni.number];
3575 dynamic_array[0] = argv[0][0];
3576 dynamic_array[ni.number - 1] = 543;
3578 // work around unused variable warnings
3579 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3580 || dynamic_array[ni.number - 1] != 543);
3583 # Test code for whether the C compiler supports C11 (global declarations)
3584 ac_c_conftest_c11_globals='
3585 // Does the compiler advertise C11 conformance?
3586 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3587 # error "Compiler does not advertise C11 conformance"
3588 #endif
3590 // Check _Alignas.
3591 char _Alignas (double) aligned_as_double;
3592 char _Alignas (0) no_special_alignment;
3593 extern char aligned_as_int;
3594 char _Alignas (0) _Alignas (int) aligned_as_int;
3596 // Check _Alignof.
3597 enum
3599 int_alignment = _Alignof (int),
3600 int_array_alignment = _Alignof (int[100]),
3601 char_alignment = _Alignof (char)
3603 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3605 // Check _Noreturn.
3606 int _Noreturn does_not_return (void) { for (;;) continue; }
3608 // Check _Static_assert.
3609 struct test_static_assert
3611 int x;
3612 _Static_assert (sizeof (int) <= sizeof (long int),
3613 "_Static_assert does not work in struct");
3614 long int y;
3617 // Check UTF-8 literals.
3618 #define u8 syntax error!
3619 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3621 // Check duplicate typedefs.
3622 typedef long *long_ptr;
3623 typedef long int *long_ptr;
3624 typedef long_ptr long_ptr;
3626 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3627 struct anonymous
3629 union {
3630 struct { int i; int j; };
3631 struct { int k; long int l; } w;
3633 int m;
3634 } v1;
3637 # Test code for whether the C compiler supports C11 (body of main).
3638 ac_c_conftest_c11_main='
3639 _Static_assert ((offsetof (struct anonymous, i)
3640 == offsetof (struct anonymous, w.k)),
3641 "Anonymous union alignment botch");
3642 v1.i = 2;
3643 v1.w.k = 5;
3644 ok |= v1.i != 5;
3647 # Test code for whether the C compiler supports C11 (complete).
3648 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3649 ${ac_c_conftest_c99_globals}
3650 ${ac_c_conftest_c11_globals}
3653 main (int argc, char **argv)
3655 int ok = 0;
3656 ${ac_c_conftest_c89_main}
3657 ${ac_c_conftest_c99_main}
3658 ${ac_c_conftest_c11_main}
3659 return ok;
3663 # Test code for whether the C compiler supports C99 (complete).
3664 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3665 ${ac_c_conftest_c99_globals}
3668 main (int argc, char **argv)
3670 int ok = 0;
3671 ${ac_c_conftest_c89_main}
3672 ${ac_c_conftest_c99_main}
3673 return ok;
3677 # Test code for whether the C compiler supports C89 (complete).
3678 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3681 main (int argc, char **argv)
3683 int ok = 0;
3684 ${ac_c_conftest_c89_main}
3685 return ok;
3689 # Test code for whether the C++ compiler supports C++98 (global declarations)
3690 ac_cxx_conftest_cxx98_globals='
3691 // Does the compiler advertise C++98 conformance?
3692 #if !defined __cplusplus || __cplusplus < 199711L
3693 # error "Compiler does not advertise C++98 conformance"
3694 #endif
3696 // These inclusions are to reject old compilers that
3697 // lack the unsuffixed header files.
3698 #include <cstdlib>
3699 #include <exception>
3701 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3702 extern void assert (int);
3703 namespace std {
3704 extern int strcmp (const char *, const char *);
3707 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3708 using std::exception;
3709 using std::strcmp;
3711 namespace {
3713 void test_exception_syntax()
3715 try {
3716 throw "test";
3717 } catch (const char *s) {
3718 // Extra parentheses suppress a warning when building autoconf itself,
3719 // due to lint rules shared with more typical C programs.
3720 assert (!(strcmp) (s, "test"));
3724 template <typename T> struct test_template
3726 T const val;
3727 explicit test_template(T t) : val(t) {}
3728 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3731 } // anonymous namespace
3734 # Test code for whether the C++ compiler supports C++98 (body of main)
3735 ac_cxx_conftest_cxx98_main='
3736 assert (argc);
3737 assert (! argv[0]);
3739 test_exception_syntax ();
3740 test_template<double> tt (2.0);
3741 assert (tt.add (4) == 6.0);
3742 assert (true && !false);
3746 # Test code for whether the C++ compiler supports C++11 (global declarations)
3747 ac_cxx_conftest_cxx11_globals='
3748 // Does the compiler advertise C++ 2011 conformance?
3749 #if !defined __cplusplus || __cplusplus < 201103L
3750 # error "Compiler does not advertise C++11 conformance"
3751 #endif
3753 namespace cxx11test
3755 constexpr int get_val() { return 20; }
3757 struct testinit
3759 int i;
3760 double d;
3763 class delegate
3765 public:
3766 delegate(int n) : n(n) {}
3767 delegate(): delegate(2354) {}
3769 virtual int getval() { return this->n; };
3770 protected:
3771 int n;
3774 class overridden : public delegate
3776 public:
3777 overridden(int n): delegate(n) {}
3778 virtual int getval() override final { return this->n * 2; }
3781 class nocopy
3783 public:
3784 nocopy(int i): i(i) {}
3785 nocopy() = default;
3786 nocopy(const nocopy&) = delete;
3787 nocopy & operator=(const nocopy&) = delete;
3788 private:
3789 int i;
3792 // for testing lambda expressions
3793 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3795 return f(v);
3798 // for testing variadic templates and trailing return types
3799 template <typename V> auto sum(V first) -> V
3801 return first;
3803 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3805 return first + sum(rest...);
3810 # Test code for whether the C++ compiler supports C++11 (body of main)
3811 ac_cxx_conftest_cxx11_main='
3813 // Test auto and decltype
3814 auto a1 = 6538;
3815 auto a2 = 48573953.4;
3816 auto a3 = "String literal";
3818 int total = 0;
3819 for (auto i = a3; *i; ++i) { total += *i; }
3821 decltype(a2) a4 = 34895.034;
3824 // Test constexpr
3825 short sa[cxx11test::get_val()] = { 0 };
3828 // Test initializer lists
3829 cxx11test::testinit il = { 4323, 435234.23544 };
3832 // Test range-based for
3833 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3834 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3835 for (auto &x : array) { x += 23; }
3838 // Test lambda expressions
3839 using cxx11test::eval;
3840 assert (eval ([](int x) { return x*2; }, 21) == 42);
3841 double d = 2.0;
3842 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3843 assert (d == 5.0);
3844 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3845 assert (d == 5.0);
3848 // Test use of variadic templates
3849 using cxx11test::sum;
3850 auto a = sum(1);
3851 auto b = sum(1, 2);
3852 auto c = sum(1.0, 2.0, 3.0);
3855 // Test constructor delegation
3856 cxx11test::delegate d1;
3857 cxx11test::delegate d2();
3858 cxx11test::delegate d3(45);
3861 // Test override and final
3862 cxx11test::overridden o1(55464);
3865 // Test nullptr
3866 char *c = nullptr;
3869 // Test template brackets
3870 test_template<::test_template<int>> v(test_template<int>(12));
3873 // Unicode literals
3874 char const *utf8 = u8"UTF-8 string \u2500";
3875 char16_t const *utf16 = u"UTF-8 string \u2500";
3876 char32_t const *utf32 = U"UTF-32 string \u2500";
3880 # Test code for whether the C compiler supports C++11 (complete).
3881 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3882 ${ac_cxx_conftest_cxx11_globals}
3885 main (int argc, char **argv)
3887 int ok = 0;
3888 ${ac_cxx_conftest_cxx98_main}
3889 ${ac_cxx_conftest_cxx11_main}
3890 return ok;
3894 # Test code for whether the C compiler supports C++98 (complete).
3895 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3897 main (int argc, char **argv)
3899 int ok = 0;
3900 ${ac_cxx_conftest_cxx98_main}
3901 return ok;
3905 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3906 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3907 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3908 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3909 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3910 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3911 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3912 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3913 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3915 # Auxiliary files required by this configure script.
3916 ac_aux_files="config.guess config.sub"
3918 # Locations in which to look for auxiliary files.
3919 ac_aux_dir_candidates="${srcdir}/tools"
3921 # Search for a directory containing all of the required auxiliary files,
3922 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3923 # If we don't find one directory that contains all the files we need,
3924 # we report the set of missing files from the *first* directory in
3925 # $ac_aux_dir_candidates and give up.
3926 ac_missing_aux_files=""
3927 ac_first_candidate=:
3928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930 as_found=false
3931 for as_dir in $ac_aux_dir_candidates
3933 IFS=$as_save_IFS
3934 case $as_dir in #(((
3935 '') as_dir=./ ;;
3936 */) ;;
3937 *) as_dir=$as_dir/ ;;
3938 esac
3939 as_found=:
3941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3942 ac_aux_dir_found=yes
3943 ac_install_sh=
3944 for ac_aux in $ac_aux_files
3946 # As a special case, if "install-sh" is required, that requirement
3947 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3948 # and $ac_install_sh is set appropriately for whichever one is found.
3949 if test x"$ac_aux" = x"install-sh"
3950 then
3951 if test -f "${as_dir}install-sh"; then
3952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3953 ac_install_sh="${as_dir}install-sh -c"
3954 elif test -f "${as_dir}install.sh"; then
3955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3956 ac_install_sh="${as_dir}install.sh -c"
3957 elif test -f "${as_dir}shtool"; then
3958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3959 ac_install_sh="${as_dir}shtool install -c"
3960 else
3961 ac_aux_dir_found=no
3962 if $ac_first_candidate; then
3963 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3964 else
3965 break
3968 else
3969 if test -f "${as_dir}${ac_aux}"; then
3970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3971 else
3972 ac_aux_dir_found=no
3973 if $ac_first_candidate; then
3974 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3975 else
3976 break
3980 done
3981 if test "$ac_aux_dir_found" = yes; then
3982 ac_aux_dir="$as_dir"
3983 break
3985 ac_first_candidate=false
3987 as_found=false
3988 done
3989 IFS=$as_save_IFS
3990 if $as_found
3991 then :
3993 else $as_nop
3994 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3998 # These three variables are undocumented and unsupported,
3999 # and are intended to be withdrawn in a future Autoconf release.
4000 # They can cause serious problems if a builder's source tree is in a directory
4001 # whose full name contains unusual characters.
4002 if test -f "${ac_aux_dir}config.guess"; then
4003 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4005 if test -f "${ac_aux_dir}config.sub"; then
4006 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4008 if test -f "$ac_aux_dir/configure"; then
4009 ac_configure="$SHELL ${ac_aux_dir}configure"
4012 # Check that the precious variables saved in the cache have kept the same
4013 # value.
4014 ac_cache_corrupted=false
4015 for ac_var in $ac_precious_vars; do
4016 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4017 eval ac_new_set=\$ac_env_${ac_var}_set
4018 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4019 eval ac_new_val=\$ac_env_${ac_var}_value
4020 case $ac_old_set,$ac_new_set in
4021 set,)
4022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4023 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4024 ac_cache_corrupted=: ;;
4025 ,set)
4026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4027 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4028 ac_cache_corrupted=: ;;
4029 ,);;
4031 if test "x$ac_old_val" != "x$ac_new_val"; then
4032 # differences in whitespace do not lead to failure.
4033 ac_old_val_w=`echo x $ac_old_val`
4034 ac_new_val_w=`echo x $ac_new_val`
4035 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4037 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4038 ac_cache_corrupted=:
4039 else
4040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4041 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4042 eval $ac_var=\$ac_old_val
4044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4045 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4047 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4048 fi;;
4049 esac
4050 # Pass precious variables to config.status.
4051 if test "$ac_new_set" = set; then
4052 case $ac_new_val in
4053 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4054 *) ac_arg=$ac_var=$ac_new_val ;;
4055 esac
4056 case " $ac_configure_args " in
4057 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4058 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4059 esac
4061 done
4062 if $ac_cache_corrupted; then
4063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4064 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4066 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4067 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4068 and start over" "$LINENO" 5
4070 ## -------------------- ##
4071 ## Main body of script. ##
4072 ## -------------------- ##
4074 ac_ext=c
4075 ac_cpp='$CPP $CPPFLAGS'
4076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4082 ac_config_headers="$ac_config_headers include/config.h"
4086 libwine_version="1.0"
4089 # Check whether --enable-win16 was given.
4090 if test ${enable_win16+y}
4091 then :
4092 enableval=$enable_win16;
4095 # Check whether --enable-win64 was given.
4096 if test ${enable_win64+y}
4097 then :
4098 enableval=$enable_win64;
4101 # Check whether --enable-tests was given.
4102 if test ${enable_tests+y}
4103 then :
4104 enableval=$enable_tests;
4107 # Check whether --enable-build-id was given.
4108 if test ${enable_build_id+y}
4109 then :
4110 enableval=$enable_build_id;
4113 # Check whether --enable-maintainer-mode was given.
4114 if test ${enable_maintainer_mode+y}
4115 then :
4116 enableval=$enable_maintainer_mode;
4119 # Check whether --enable-silent-rules was given.
4120 if test ${enable_silent_rules+y}
4121 then :
4122 enableval=$enable_silent_rules;
4125 # Check whether --enable-werror was given.
4126 if test ${enable_werror+y}
4127 then :
4128 enableval=$enable_werror;
4133 # Check whether --with-alsa was given.
4134 if test ${with_alsa+y}
4135 then :
4136 withval=$with_alsa;
4140 # Check whether --with-capi was given.
4141 if test ${with_capi+y}
4142 then :
4143 withval=$with_capi;
4147 # Check whether --with-coreaudio was given.
4148 if test ${with_coreaudio+y}
4149 then :
4150 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4154 # Check whether --with-cups was given.
4155 if test ${with_cups+y}
4156 then :
4157 withval=$with_cups;
4161 # Check whether --with-dbus was given.
4162 if test ${with_dbus+y}
4163 then :
4164 withval=$with_dbus;
4168 # Check whether --with-float-abi was given.
4169 if test ${with_float_abi+y}
4170 then :
4171 withval=$with_float_abi;
4175 # Check whether --with-fontconfig was given.
4176 if test ${with_fontconfig+y}
4177 then :
4178 withval=$with_fontconfig;
4182 # Check whether --with-freetype was given.
4183 if test ${with_freetype+y}
4184 then :
4185 withval=$with_freetype;
4189 # Check whether --with-gettext was given.
4190 if test ${with_gettext+y}
4191 then :
4192 withval=$with_gettext;
4196 # Check whether --with-gettextpo was given.
4197 if test ${with_gettextpo+y}
4198 then :
4199 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4203 # Check whether --with-gphoto was given.
4204 if test ${with_gphoto+y}
4205 then :
4206 withval=$with_gphoto;
4210 # Check whether --with-gnutls was given.
4211 if test ${with_gnutls+y}
4212 then :
4213 withval=$with_gnutls;
4217 # Check whether --with-gssapi was given.
4218 if test ${with_gssapi+y}
4219 then :
4220 withval=$with_gssapi;
4224 # Check whether --with-gstreamer was given.
4225 if test ${with_gstreamer+y}
4226 then :
4227 withval=$with_gstreamer;
4231 # Check whether --with-inotify was given.
4232 if test ${with_inotify+y}
4233 then :
4234 withval=$with_inotify;
4238 # Check whether --with-krb5 was given.
4239 if test ${with_krb5+y}
4240 then :
4241 withval=$with_krb5;
4245 # Check whether --with-ldap was given.
4246 if test ${with_ldap+y}
4247 then :
4248 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4252 # Check whether --with-mingw was given.
4253 if test ${with_mingw+y}
4254 then :
4255 withval=$with_mingw;
4259 # Check whether --with-netapi was given.
4260 if test ${with_netapi+y}
4261 then :
4262 withval=$with_netapi;
4266 # Check whether --with-openal was given.
4267 if test ${with_openal+y}
4268 then :
4269 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4273 # Check whether --with-opencl was given.
4274 if test ${with_opencl+y}
4275 then :
4276 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4280 # Check whether --with-opengl was given.
4281 if test ${with_opengl+y}
4282 then :
4283 withval=$with_opengl;
4287 # Check whether --with-osmesa was given.
4288 if test ${with_osmesa+y}
4289 then :
4290 withval=$with_osmesa;
4294 # Check whether --with-oss was given.
4295 if test ${with_oss+y}
4296 then :
4297 withval=$with_oss;
4301 # Check whether --with-pcap was given.
4302 if test ${with_pcap+y}
4303 then :
4304 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4308 # Check whether --with-pthread was given.
4309 if test ${with_pthread+y}
4310 then :
4311 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4315 # Check whether --with-pulse was given.
4316 if test ${with_pulse+y}
4317 then :
4318 withval=$with_pulse;
4322 # Check whether --with-sane was given.
4323 if test ${with_sane+y}
4324 then :
4325 withval=$with_sane;
4329 # Check whether --with-sdl was given.
4330 if test ${with_sdl+y}
4331 then :
4332 withval=$with_sdl;
4336 # Check whether --with-udev was given.
4337 if test ${with_udev+y}
4338 then :
4339 withval=$with_udev;
4343 # Check whether --with-unwind was given.
4344 if test ${with_unwind+y}
4345 then :
4346 withval=$with_unwind;
4350 # Check whether --with-usb was given.
4351 if test ${with_usb+y}
4352 then :
4353 withval=$with_usb;
4357 # Check whether --with-v4l2 was given.
4358 if test ${with_v4l2+y}
4359 then :
4360 withval=$with_v4l2;
4364 # Check whether --with-vulkan was given.
4365 if test ${with_vulkan+y}
4366 then :
4367 withval=$with_vulkan;
4371 # Check whether --with-xcomposite was given.
4372 if test ${with_xcomposite+y}
4373 then :
4374 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4378 # Check whether --with-xcursor was given.
4379 if test ${with_xcursor+y}
4380 then :
4381 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4385 # Check whether --with-xfixes was given.
4386 if test ${with_xfixes+y}
4387 then :
4388 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4392 # Check whether --with-xinerama was given.
4393 if test ${with_xinerama+y}
4394 then :
4395 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4399 # Check whether --with-xinput was given.
4400 if test ${with_xinput+y}
4401 then :
4402 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4406 # Check whether --with-xinput2 was given.
4407 if test ${with_xinput2+y}
4408 then :
4409 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4413 # Check whether --with-xrandr was given.
4414 if test ${with_xrandr+y}
4415 then :
4416 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4420 # Check whether --with-xrender was given.
4421 if test ${with_xrender+y}
4422 then :
4423 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4427 # Check whether --with-xshape was given.
4428 if test ${with_xshape+y}
4429 then :
4430 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4434 # Check whether --with-xshm was given.
4435 if test ${with_xshm+y}
4436 then :
4437 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4441 # Check whether --with-xxf86vm was given.
4442 if test ${with_xxf86vm+y}
4443 then :
4444 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4449 # Check whether --with-system-dllpath was given.
4450 if test ${with_system_dllpath+y}
4451 then :
4452 withval=$with_system_dllpath; system_dllpath=$withval
4457 # Check whether --with-wine-tools was given.
4458 if test ${with_wine_tools+y}
4459 then :
4460 withval=$with_wine_tools;
4464 # Check whether --with-wine64 was given.
4465 if test ${with_wine64+y}
4466 then :
4467 withval=$with_wine64;
4474 # Make sure we can run config.sub.
4475 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4476 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4479 printf %s "checking build system type... " >&6; }
4480 if test ${ac_cv_build+y}
4481 then :
4482 printf %s "(cached) " >&6
4483 else $as_nop
4484 ac_build_alias=$build_alias
4485 test "x$ac_build_alias" = x &&
4486 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4487 test "x$ac_build_alias" = x &&
4488 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4489 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4490 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4494 printf "%s\n" "$ac_cv_build" >&6; }
4495 case $ac_cv_build in
4496 *-*-*) ;;
4497 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4498 esac
4499 build=$ac_cv_build
4500 ac_save_IFS=$IFS; IFS='-'
4501 set x $ac_cv_build
4502 shift
4503 build_cpu=$1
4504 build_vendor=$2
4505 shift; shift
4506 # Remember, the first character of IFS is used to create $*,
4507 # except with old shells:
4508 build_os=$*
4509 IFS=$ac_save_IFS
4510 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4514 printf %s "checking host system type... " >&6; }
4515 if test ${ac_cv_host+y}
4516 then :
4517 printf %s "(cached) " >&6
4518 else $as_nop
4519 if test "x$host_alias" = x; then
4520 ac_cv_host=$ac_cv_build
4521 else
4522 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4523 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4528 printf "%s\n" "$ac_cv_host" >&6; }
4529 case $ac_cv_host in
4530 *-*-*) ;;
4531 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4532 esac
4533 host=$ac_cv_host
4534 ac_save_IFS=$IFS; IFS='-'
4535 set x $ac_cv_host
4536 shift
4537 host_cpu=$1
4538 host_vendor=$2
4539 shift; shift
4540 # Remember, the first character of IFS is used to create $*,
4541 # except with old shells:
4542 host_os=$*
4543 IFS=$ac_save_IFS
4544 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4548 dlldir=\${libdir}/wine
4550 fontdir=\${datadir}/wine/fonts
4552 nlsdir=\${datadir}/wine/nls
4557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4558 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4559 set x ${MAKE-make}
4560 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4561 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4562 then :
4563 printf %s "(cached) " >&6
4564 else $as_nop
4565 cat >conftest.make <<\_ACEOF
4566 SHELL = /bin/sh
4567 all:
4568 @echo '@@@%%%=$(MAKE)=@@@%%%'
4569 _ACEOF
4570 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4571 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4572 *@@@%%%=?*=@@@%%%*)
4573 eval ac_cv_prog_make_${ac_make}_set=yes;;
4575 eval ac_cv_prog_make_${ac_make}_set=no;;
4576 esac
4577 rm -f conftest.make
4579 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4581 printf "%s\n" "yes" >&6; }
4582 SET_MAKE=
4583 else
4584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4585 printf "%s\n" "no" >&6; }
4586 SET_MAKE="MAKE=${MAKE-make}"
4598 ac_ext=c
4599 ac_cpp='$CPP $CPPFLAGS'
4600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4603 if test -n "$ac_tool_prefix"; then
4604 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4605 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 printf %s "checking for $ac_word... " >&6; }
4608 if test ${ac_cv_prog_CC+y}
4609 then :
4610 printf %s "(cached) " >&6
4611 else $as_nop
4612 if test -n "$CC"; then
4613 ac_cv_prog_CC="$CC" # Let the user override the test.
4614 else
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 for as_dir in $PATH
4618 IFS=$as_save_IFS
4619 case $as_dir in #(((
4620 '') as_dir=./ ;;
4621 */) ;;
4622 *) as_dir=$as_dir/ ;;
4623 esac
4624 for ac_exec_ext in '' $ac_executable_extensions; do
4625 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4626 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4628 break 2
4630 done
4631 done
4632 IFS=$as_save_IFS
4636 CC=$ac_cv_prog_CC
4637 if test -n "$CC"; then
4638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4639 printf "%s\n" "$CC" >&6; }
4640 else
4641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 printf "%s\n" "no" >&6; }
4647 if test -z "$ac_cv_prog_CC"; then
4648 ac_ct_CC=$CC
4649 # Extract the first word of "gcc", so it can be a program name with args.
4650 set dummy gcc; ac_word=$2
4651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 printf %s "checking for $ac_word... " >&6; }
4653 if test ${ac_cv_prog_ac_ct_CC+y}
4654 then :
4655 printf %s "(cached) " >&6
4656 else $as_nop
4657 if test -n "$ac_ct_CC"; then
4658 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4659 else
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661 for as_dir in $PATH
4663 IFS=$as_save_IFS
4664 case $as_dir in #(((
4665 '') as_dir=./ ;;
4666 */) ;;
4667 *) as_dir=$as_dir/ ;;
4668 esac
4669 for ac_exec_ext in '' $ac_executable_extensions; do
4670 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4671 ac_cv_prog_ac_ct_CC="gcc"
4672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4673 break 2
4675 done
4676 done
4677 IFS=$as_save_IFS
4681 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4682 if test -n "$ac_ct_CC"; then
4683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4684 printf "%s\n" "$ac_ct_CC" >&6; }
4685 else
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 printf "%s\n" "no" >&6; }
4690 if test "x$ac_ct_CC" = x; then
4691 CC=""
4692 else
4693 case $cross_compiling:$ac_tool_warned in
4694 yes:)
4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4696 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4697 ac_tool_warned=yes ;;
4698 esac
4699 CC=$ac_ct_CC
4701 else
4702 CC="$ac_cv_prog_CC"
4705 if test -z "$CC"; then
4706 if test -n "$ac_tool_prefix"; then
4707 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4708 set dummy ${ac_tool_prefix}cc; ac_word=$2
4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4710 printf %s "checking for $ac_word... " >&6; }
4711 if test ${ac_cv_prog_CC+y}
4712 then :
4713 printf %s "(cached) " >&6
4714 else $as_nop
4715 if test -n "$CC"; then
4716 ac_cv_prog_CC="$CC" # Let the user override the test.
4717 else
4718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4719 for as_dir in $PATH
4721 IFS=$as_save_IFS
4722 case $as_dir in #(((
4723 '') as_dir=./ ;;
4724 */) ;;
4725 *) as_dir=$as_dir/ ;;
4726 esac
4727 for ac_exec_ext in '' $ac_executable_extensions; do
4728 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4729 ac_cv_prog_CC="${ac_tool_prefix}cc"
4730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4731 break 2
4733 done
4734 done
4735 IFS=$as_save_IFS
4739 CC=$ac_cv_prog_CC
4740 if test -n "$CC"; then
4741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4742 printf "%s\n" "$CC" >&6; }
4743 else
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745 printf "%s\n" "no" >&6; }
4751 if test -z "$CC"; then
4752 # Extract the first word of "cc", so it can be a program name with args.
4753 set dummy cc; ac_word=$2
4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4755 printf %s "checking for $ac_word... " >&6; }
4756 if test ${ac_cv_prog_CC+y}
4757 then :
4758 printf %s "(cached) " >&6
4759 else $as_nop
4760 if test -n "$CC"; then
4761 ac_cv_prog_CC="$CC" # Let the user override the test.
4762 else
4763 ac_prog_rejected=no
4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4765 for as_dir in $PATH
4767 IFS=$as_save_IFS
4768 case $as_dir in #(((
4769 '') as_dir=./ ;;
4770 */) ;;
4771 *) as_dir=$as_dir/ ;;
4772 esac
4773 for ac_exec_ext in '' $ac_executable_extensions; do
4774 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4775 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4776 ac_prog_rejected=yes
4777 continue
4779 ac_cv_prog_CC="cc"
4780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4781 break 2
4783 done
4784 done
4785 IFS=$as_save_IFS
4787 if test $ac_prog_rejected = yes; then
4788 # We found a bogon in the path, so make sure we never use it.
4789 set dummy $ac_cv_prog_CC
4790 shift
4791 if test $# != 0; then
4792 # We chose a different compiler from the bogus one.
4793 # However, it has the same basename, so the bogon will be chosen
4794 # first if we set CC to just the basename; use the full file name.
4795 shift
4796 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4801 CC=$ac_cv_prog_CC
4802 if test -n "$CC"; then
4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4804 printf "%s\n" "$CC" >&6; }
4805 else
4806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4807 printf "%s\n" "no" >&6; }
4812 if test -z "$CC"; then
4813 if test -n "$ac_tool_prefix"; then
4814 for ac_prog in cl.exe
4816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4817 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4819 printf %s "checking for $ac_word... " >&6; }
4820 if test ${ac_cv_prog_CC+y}
4821 then :
4822 printf %s "(cached) " >&6
4823 else $as_nop
4824 if test -n "$CC"; then
4825 ac_cv_prog_CC="$CC" # Let the user override the test.
4826 else
4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 for as_dir in $PATH
4830 IFS=$as_save_IFS
4831 case $as_dir in #(((
4832 '') as_dir=./ ;;
4833 */) ;;
4834 *) as_dir=$as_dir/ ;;
4835 esac
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4838 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4840 break 2
4842 done
4843 done
4844 IFS=$as_save_IFS
4848 CC=$ac_cv_prog_CC
4849 if test -n "$CC"; then
4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4851 printf "%s\n" "$CC" >&6; }
4852 else
4853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 printf "%s\n" "no" >&6; }
4858 test -n "$CC" && break
4859 done
4861 if test -z "$CC"; then
4862 ac_ct_CC=$CC
4863 for ac_prog in cl.exe
4865 # Extract the first word of "$ac_prog", so it can be a program name with args.
4866 set dummy $ac_prog; ac_word=$2
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 printf %s "checking for $ac_word... " >&6; }
4869 if test ${ac_cv_prog_ac_ct_CC+y}
4870 then :
4871 printf %s "(cached) " >&6
4872 else $as_nop
4873 if test -n "$ac_ct_CC"; then
4874 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4875 else
4876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4877 for as_dir in $PATH
4879 IFS=$as_save_IFS
4880 case $as_dir in #(((
4881 '') as_dir=./ ;;
4882 */) ;;
4883 *) as_dir=$as_dir/ ;;
4884 esac
4885 for ac_exec_ext in '' $ac_executable_extensions; do
4886 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4887 ac_cv_prog_ac_ct_CC="$ac_prog"
4888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4889 break 2
4891 done
4892 done
4893 IFS=$as_save_IFS
4897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4898 if test -n "$ac_ct_CC"; then
4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4900 printf "%s\n" "$ac_ct_CC" >&6; }
4901 else
4902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 printf "%s\n" "no" >&6; }
4907 test -n "$ac_ct_CC" && break
4908 done
4910 if test "x$ac_ct_CC" = x; then
4911 CC=""
4912 else
4913 case $cross_compiling:$ac_tool_warned in
4914 yes:)
4915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4916 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4917 ac_tool_warned=yes ;;
4918 esac
4919 CC=$ac_ct_CC
4924 if test -z "$CC"; then
4925 if test -n "$ac_tool_prefix"; then
4926 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4927 set dummy ${ac_tool_prefix}clang; ac_word=$2
4928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 printf %s "checking for $ac_word... " >&6; }
4930 if test ${ac_cv_prog_CC+y}
4931 then :
4932 printf %s "(cached) " >&6
4933 else $as_nop
4934 if test -n "$CC"; then
4935 ac_cv_prog_CC="$CC" # Let the user override the test.
4936 else
4937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4938 for as_dir in $PATH
4940 IFS=$as_save_IFS
4941 case $as_dir in #(((
4942 '') as_dir=./ ;;
4943 */) ;;
4944 *) as_dir=$as_dir/ ;;
4945 esac
4946 for ac_exec_ext in '' $ac_executable_extensions; do
4947 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_CC="${ac_tool_prefix}clang"
4949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4950 break 2
4952 done
4953 done
4954 IFS=$as_save_IFS
4958 CC=$ac_cv_prog_CC
4959 if test -n "$CC"; then
4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4961 printf "%s\n" "$CC" >&6; }
4962 else
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 printf "%s\n" "no" >&6; }
4969 if test -z "$ac_cv_prog_CC"; then
4970 ac_ct_CC=$CC
4971 # Extract the first word of "clang", so it can be a program name with args.
4972 set dummy clang; ac_word=$2
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 printf %s "checking for $ac_word... " >&6; }
4975 if test ${ac_cv_prog_ac_ct_CC+y}
4976 then :
4977 printf %s "(cached) " >&6
4978 else $as_nop
4979 if test -n "$ac_ct_CC"; then
4980 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4981 else
4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 for as_dir in $PATH
4985 IFS=$as_save_IFS
4986 case $as_dir in #(((
4987 '') as_dir=./ ;;
4988 */) ;;
4989 *) as_dir=$as_dir/ ;;
4990 esac
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_ac_ct_CC="clang"
4994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5004 if test -n "$ac_ct_CC"; then
5005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5006 printf "%s\n" "$ac_ct_CC" >&6; }
5007 else
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 printf "%s\n" "no" >&6; }
5012 if test "x$ac_ct_CC" = x; then
5013 CC=""
5014 else
5015 case $cross_compiling:$ac_tool_warned in
5016 yes:)
5017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5020 esac
5021 CC=$ac_ct_CC
5023 else
5024 CC="$ac_cv_prog_CC"
5030 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5031 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5032 as_fn_error $? "no acceptable C compiler found in \$PATH
5033 See \`config.log' for more details" "$LINENO" 5; }
5035 # Provide some information about the compiler.
5036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5037 set X $ac_compile
5038 ac_compiler=$2
5039 for ac_option in --version -v -V -qversion -version; do
5040 { { ac_try="$ac_compiler $ac_option >&5"
5041 case "(($ac_try" in
5042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5043 *) ac_try_echo=$ac_try;;
5044 esac
5045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5046 printf "%s\n" "$ac_try_echo"; } >&5
5047 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5048 ac_status=$?
5049 if test -s conftest.err; then
5050 sed '10a\
5051 ... rest of stderr output deleted ...
5052 10q' conftest.err >conftest.er1
5053 cat conftest.er1 >&5
5055 rm -f conftest.er1 conftest.err
5056 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5057 test $ac_status = 0; }
5058 done
5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5064 main (void)
5068 return 0;
5070 _ACEOF
5071 ac_clean_files_save=$ac_clean_files
5072 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5073 # Try to create an executable without -o first, disregard a.out.
5074 # It will help us diagnose broken compilers, and finding out an intuition
5075 # of exeext.
5076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5077 printf %s "checking whether the C compiler works... " >&6; }
5078 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5080 # The possible output files:
5081 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5083 ac_rmfiles=
5084 for ac_file in $ac_files
5086 case $ac_file in
5087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5088 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5089 esac
5090 done
5091 rm -f $ac_rmfiles
5093 if { { ac_try="$ac_link_default"
5094 case "(($ac_try" in
5095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5096 *) ac_try_echo=$ac_try;;
5097 esac
5098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5099 printf "%s\n" "$ac_try_echo"; } >&5
5100 (eval "$ac_link_default") 2>&5
5101 ac_status=$?
5102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5103 test $ac_status = 0; }
5104 then :
5105 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5106 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5107 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5108 # so that the user can short-circuit this test for compilers unknown to
5109 # Autoconf.
5110 for ac_file in $ac_files ''
5112 test -f "$ac_file" || continue
5113 case $ac_file in
5114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5116 [ab].out )
5117 # We found the default executable, but exeext='' is most
5118 # certainly right.
5119 break;;
5120 *.* )
5121 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5122 then :; else
5123 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5125 # We set ac_cv_exeext here because the later test for it is not
5126 # safe: cross compilers may not add the suffix if given an `-o'
5127 # argument, so we may need to know it at that point already.
5128 # Even if this section looks crufty: it has the advantage of
5129 # actually working.
5130 break;;
5132 break;;
5133 esac
5134 done
5135 test "$ac_cv_exeext" = no && ac_cv_exeext=
5137 else $as_nop
5138 ac_file=''
5140 if test -z "$ac_file"
5141 then :
5142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 printf "%s\n" "no" >&6; }
5144 printf "%s\n" "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5147 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5148 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5149 as_fn_error 77 "C compiler cannot create executables
5150 See \`config.log' for more details" "$LINENO" 5; }
5151 else $as_nop
5152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5153 printf "%s\n" "yes" >&6; }
5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5156 printf %s "checking for C compiler default output file name... " >&6; }
5157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5158 printf "%s\n" "$ac_file" >&6; }
5159 ac_exeext=$ac_cv_exeext
5161 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5162 ac_clean_files=$ac_clean_files_save
5163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5164 printf %s "checking for suffix of executables... " >&6; }
5165 if { { ac_try="$ac_link"
5166 case "(($ac_try" in
5167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5168 *) ac_try_echo=$ac_try;;
5169 esac
5170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5171 printf "%s\n" "$ac_try_echo"; } >&5
5172 (eval "$ac_link") 2>&5
5173 ac_status=$?
5174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5175 test $ac_status = 0; }
5176 then :
5177 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5178 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5179 # work properly (i.e., refer to `conftest.exe'), while it won't with
5180 # `rm'.
5181 for ac_file in conftest.exe conftest conftest.*; do
5182 test -f "$ac_file" || continue
5183 case $ac_file in
5184 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5185 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5186 break;;
5187 * ) break;;
5188 esac
5189 done
5190 else $as_nop
5191 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5192 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5193 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5194 See \`config.log' for more details" "$LINENO" 5; }
5196 rm -f conftest conftest$ac_cv_exeext
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5198 printf "%s\n" "$ac_cv_exeext" >&6; }
5200 rm -f conftest.$ac_ext
5201 EXEEXT=$ac_cv_exeext
5202 ac_exeext=$EXEEXT
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5205 #include <stdio.h>
5207 main (void)
5209 FILE *f = fopen ("conftest.out", "w");
5210 return ferror (f) || fclose (f) != 0;
5213 return 0;
5215 _ACEOF
5216 ac_clean_files="$ac_clean_files conftest.out"
5217 # Check that the compiler produces executables we can run. If not, either
5218 # the compiler is broken, or we cross compile.
5219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5220 printf %s "checking whether we are cross compiling... " >&6; }
5221 if test "$cross_compiling" != yes; then
5222 { { ac_try="$ac_link"
5223 case "(($ac_try" in
5224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5225 *) ac_try_echo=$ac_try;;
5226 esac
5227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5228 printf "%s\n" "$ac_try_echo"; } >&5
5229 (eval "$ac_link") 2>&5
5230 ac_status=$?
5231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5232 test $ac_status = 0; }
5233 if { ac_try='./conftest$ac_cv_exeext'
5234 { { case "(($ac_try" in
5235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5236 *) ac_try_echo=$ac_try;;
5237 esac
5238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5239 printf "%s\n" "$ac_try_echo"; } >&5
5240 (eval "$ac_try") 2>&5
5241 ac_status=$?
5242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5243 test $ac_status = 0; }; }; then
5244 cross_compiling=no
5245 else
5246 if test "$cross_compiling" = maybe; then
5247 cross_compiling=yes
5248 else
5249 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5250 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5251 as_fn_error 77 "cannot run C compiled programs.
5252 If you meant to cross compile, use \`--host'.
5253 See \`config.log' for more details" "$LINENO" 5; }
5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5258 printf "%s\n" "$cross_compiling" >&6; }
5260 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5261 ac_clean_files=$ac_clean_files_save
5262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5263 printf %s "checking for suffix of object files... " >&6; }
5264 if test ${ac_cv_objext+y}
5265 then :
5266 printf %s "(cached) " >&6
5267 else $as_nop
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5272 main (void)
5276 return 0;
5278 _ACEOF
5279 rm -f conftest.o conftest.obj
5280 if { { ac_try="$ac_compile"
5281 case "(($ac_try" in
5282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5283 *) ac_try_echo=$ac_try;;
5284 esac
5285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5286 printf "%s\n" "$ac_try_echo"; } >&5
5287 (eval "$ac_compile") 2>&5
5288 ac_status=$?
5289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5290 test $ac_status = 0; }
5291 then :
5292 for ac_file in conftest.o conftest.obj conftest.*; do
5293 test -f "$ac_file" || continue;
5294 case $ac_file in
5295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5296 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5297 break;;
5298 esac
5299 done
5300 else $as_nop
5301 printf "%s\n" "$as_me: failed program was:" >&5
5302 sed 's/^/| /' conftest.$ac_ext >&5
5304 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5305 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5306 as_fn_error $? "cannot compute suffix of object files: cannot compile
5307 See \`config.log' for more details" "$LINENO" 5; }
5309 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5312 printf "%s\n" "$ac_cv_objext" >&6; }
5313 OBJEXT=$ac_cv_objext
5314 ac_objext=$OBJEXT
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5316 printf %s "checking whether the compiler supports GNU C... " >&6; }
5317 if test ${ac_cv_c_compiler_gnu+y}
5318 then :
5319 printf %s "(cached) " >&6
5320 else $as_nop
5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5325 main (void)
5327 #ifndef __GNUC__
5328 choke me
5329 #endif
5332 return 0;
5334 _ACEOF
5335 if ac_fn_c_try_compile "$LINENO"
5336 then :
5337 ac_compiler_gnu=yes
5338 else $as_nop
5339 ac_compiler_gnu=no
5341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5342 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5346 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5349 if test $ac_compiler_gnu = yes; then
5350 GCC=yes
5351 else
5352 GCC=
5354 ac_test_CFLAGS=${CFLAGS+y}
5355 ac_save_CFLAGS=$CFLAGS
5356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5357 printf %s "checking whether $CC accepts -g... " >&6; }
5358 if test ${ac_cv_prog_cc_g+y}
5359 then :
5360 printf %s "(cached) " >&6
5361 else $as_nop
5362 ac_save_c_werror_flag=$ac_c_werror_flag
5363 ac_c_werror_flag=yes
5364 ac_cv_prog_cc_g=no
5365 CFLAGS="-g"
5366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5367 /* end confdefs.h. */
5370 main (void)
5374 return 0;
5376 _ACEOF
5377 if ac_fn_c_try_compile "$LINENO"
5378 then :
5379 ac_cv_prog_cc_g=yes
5380 else $as_nop
5381 CFLAGS=""
5382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5383 /* end confdefs.h. */
5386 main (void)
5390 return 0;
5392 _ACEOF
5393 if ac_fn_c_try_compile "$LINENO"
5394 then :
5396 else $as_nop
5397 ac_c_werror_flag=$ac_save_c_werror_flag
5398 CFLAGS="-g"
5399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5403 main (void)
5407 return 0;
5409 _ACEOF
5410 if ac_fn_c_try_compile "$LINENO"
5411 then :
5412 ac_cv_prog_cc_g=yes
5414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5419 ac_c_werror_flag=$ac_save_c_werror_flag
5421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5422 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5423 if test $ac_test_CFLAGS; then
5424 CFLAGS=$ac_save_CFLAGS
5425 elif test $ac_cv_prog_cc_g = yes; then
5426 if test "$GCC" = yes; then
5427 CFLAGS="-g -O2"
5428 else
5429 CFLAGS="-g"
5431 else
5432 if test "$GCC" = yes; then
5433 CFLAGS="-O2"
5434 else
5435 CFLAGS=
5438 ac_prog_cc_stdc=no
5439 if test x$ac_prog_cc_stdc = xno
5440 then :
5441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5442 printf %s "checking for $CC option to enable C11 features... " >&6; }
5443 if test ${ac_cv_prog_cc_c11+y}
5444 then :
5445 printf %s "(cached) " >&6
5446 else $as_nop
5447 ac_cv_prog_cc_c11=no
5448 ac_save_CC=$CC
5449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5450 /* end confdefs.h. */
5451 $ac_c_conftest_c11_program
5452 _ACEOF
5453 for ac_arg in '' -std=gnu11
5455 CC="$ac_save_CC $ac_arg"
5456 if ac_fn_c_try_compile "$LINENO"
5457 then :
5458 ac_cv_prog_cc_c11=$ac_arg
5460 rm -f core conftest.err conftest.$ac_objext conftest.beam
5461 test "x$ac_cv_prog_cc_c11" != "xno" && break
5462 done
5463 rm -f conftest.$ac_ext
5464 CC=$ac_save_CC
5467 if test "x$ac_cv_prog_cc_c11" = xno
5468 then :
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5470 printf "%s\n" "unsupported" >&6; }
5471 else $as_nop
5472 if test "x$ac_cv_prog_cc_c11" = x
5473 then :
5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5475 printf "%s\n" "none needed" >&6; }
5476 else $as_nop
5477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5478 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5479 CC="$CC $ac_cv_prog_cc_c11"
5481 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5482 ac_prog_cc_stdc=c11
5485 if test x$ac_prog_cc_stdc = xno
5486 then :
5487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5488 printf %s "checking for $CC option to enable C99 features... " >&6; }
5489 if test ${ac_cv_prog_cc_c99+y}
5490 then :
5491 printf %s "(cached) " >&6
5492 else $as_nop
5493 ac_cv_prog_cc_c99=no
5494 ac_save_CC=$CC
5495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5497 $ac_c_conftest_c99_program
5498 _ACEOF
5499 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5501 CC="$ac_save_CC $ac_arg"
5502 if ac_fn_c_try_compile "$LINENO"
5503 then :
5504 ac_cv_prog_cc_c99=$ac_arg
5506 rm -f core conftest.err conftest.$ac_objext conftest.beam
5507 test "x$ac_cv_prog_cc_c99" != "xno" && break
5508 done
5509 rm -f conftest.$ac_ext
5510 CC=$ac_save_CC
5513 if test "x$ac_cv_prog_cc_c99" = xno
5514 then :
5515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5516 printf "%s\n" "unsupported" >&6; }
5517 else $as_nop
5518 if test "x$ac_cv_prog_cc_c99" = x
5519 then :
5520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5521 printf "%s\n" "none needed" >&6; }
5522 else $as_nop
5523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5524 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5525 CC="$CC $ac_cv_prog_cc_c99"
5527 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5528 ac_prog_cc_stdc=c99
5531 if test x$ac_prog_cc_stdc = xno
5532 then :
5533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5534 printf %s "checking for $CC option to enable C89 features... " >&6; }
5535 if test ${ac_cv_prog_cc_c89+y}
5536 then :
5537 printf %s "(cached) " >&6
5538 else $as_nop
5539 ac_cv_prog_cc_c89=no
5540 ac_save_CC=$CC
5541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5542 /* end confdefs.h. */
5543 $ac_c_conftest_c89_program
5544 _ACEOF
5545 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5547 CC="$ac_save_CC $ac_arg"
5548 if ac_fn_c_try_compile "$LINENO"
5549 then :
5550 ac_cv_prog_cc_c89=$ac_arg
5552 rm -f core conftest.err conftest.$ac_objext conftest.beam
5553 test "x$ac_cv_prog_cc_c89" != "xno" && break
5554 done
5555 rm -f conftest.$ac_ext
5556 CC=$ac_save_CC
5559 if test "x$ac_cv_prog_cc_c89" = xno
5560 then :
5561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5562 printf "%s\n" "unsupported" >&6; }
5563 else $as_nop
5564 if test "x$ac_cv_prog_cc_c89" = x
5565 then :
5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5567 printf "%s\n" "none needed" >&6; }
5568 else $as_nop
5569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5570 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5571 CC="$CC $ac_cv_prog_cc_c89"
5573 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5574 ac_prog_cc_stdc=c89
5578 ac_ext=c
5579 ac_cpp='$CPP $CPPFLAGS'
5580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5590 ac_ext=cpp
5591 ac_cpp='$CXXCPP $CPPFLAGS'
5592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5595 if test -z "$CXX"; then
5596 if test -n "$CCC"; then
5597 CXX=$CCC
5598 else
5599 if test -n "$ac_tool_prefix"; then
5600 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5605 printf %s "checking for $ac_word... " >&6; }
5606 if test ${ac_cv_prog_CXX+y}
5607 then :
5608 printf %s "(cached) " >&6
5609 else $as_nop
5610 if test -n "$CXX"; then
5611 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5612 else
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 for as_dir in $PATH
5616 IFS=$as_save_IFS
5617 case $as_dir in #(((
5618 '') as_dir=./ ;;
5619 */) ;;
5620 *) as_dir=$as_dir/ ;;
5621 esac
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5624 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5626 break 2
5628 done
5629 done
5630 IFS=$as_save_IFS
5634 CXX=$ac_cv_prog_CXX
5635 if test -n "$CXX"; then
5636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5637 printf "%s\n" "$CXX" >&6; }
5638 else
5639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 printf "%s\n" "no" >&6; }
5644 test -n "$CXX" && break
5645 done
5647 if test -z "$CXX"; then
5648 ac_ct_CXX=$CXX
5649 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5651 # Extract the first word of "$ac_prog", so it can be a program name with args.
5652 set dummy $ac_prog; ac_word=$2
5653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5654 printf %s "checking for $ac_word... " >&6; }
5655 if test ${ac_cv_prog_ac_ct_CXX+y}
5656 then :
5657 printf %s "(cached) " >&6
5658 else $as_nop
5659 if test -n "$ac_ct_CXX"; then
5660 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5661 else
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5663 for as_dir in $PATH
5665 IFS=$as_save_IFS
5666 case $as_dir in #(((
5667 '') as_dir=./ ;;
5668 */) ;;
5669 *) as_dir=$as_dir/ ;;
5670 esac
5671 for ac_exec_ext in '' $ac_executable_extensions; do
5672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5673 ac_cv_prog_ac_ct_CXX="$ac_prog"
5674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5675 break 2
5677 done
5678 done
5679 IFS=$as_save_IFS
5683 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5684 if test -n "$ac_ct_CXX"; then
5685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5686 printf "%s\n" "$ac_ct_CXX" >&6; }
5687 else
5688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689 printf "%s\n" "no" >&6; }
5693 test -n "$ac_ct_CXX" && break
5694 done
5696 if test "x$ac_ct_CXX" = x; then
5697 CXX="g++"
5698 else
5699 case $cross_compiling:$ac_tool_warned in
5700 yes:)
5701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5702 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5703 ac_tool_warned=yes ;;
5704 esac
5705 CXX=$ac_ct_CXX
5711 # Provide some information about the compiler.
5712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5713 set X $ac_compile
5714 ac_compiler=$2
5715 for ac_option in --version -v -V -qversion; do
5716 { { ac_try="$ac_compiler $ac_option >&5"
5717 case "(($ac_try" in
5718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5719 *) ac_try_echo=$ac_try;;
5720 esac
5721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5722 printf "%s\n" "$ac_try_echo"; } >&5
5723 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5724 ac_status=$?
5725 if test -s conftest.err; then
5726 sed '10a\
5727 ... rest of stderr output deleted ...
5728 10q' conftest.err >conftest.er1
5729 cat conftest.er1 >&5
5731 rm -f conftest.er1 conftest.err
5732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5733 test $ac_status = 0; }
5734 done
5736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5737 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5738 if test ${ac_cv_cxx_compiler_gnu+y}
5739 then :
5740 printf %s "(cached) " >&6
5741 else $as_nop
5742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5743 /* end confdefs.h. */
5746 main (void)
5748 #ifndef __GNUC__
5749 choke me
5750 #endif
5753 return 0;
5755 _ACEOF
5756 if ac_fn_cxx_try_compile "$LINENO"
5757 then :
5758 ac_compiler_gnu=yes
5759 else $as_nop
5760 ac_compiler_gnu=no
5762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5763 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5767 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5770 if test $ac_compiler_gnu = yes; then
5771 GXX=yes
5772 else
5773 GXX=
5775 ac_test_CXXFLAGS=${CXXFLAGS+y}
5776 ac_save_CXXFLAGS=$CXXFLAGS
5777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5778 printf %s "checking whether $CXX accepts -g... " >&6; }
5779 if test ${ac_cv_prog_cxx_g+y}
5780 then :
5781 printf %s "(cached) " >&6
5782 else $as_nop
5783 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5784 ac_cxx_werror_flag=yes
5785 ac_cv_prog_cxx_g=no
5786 CXXFLAGS="-g"
5787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5788 /* end confdefs.h. */
5791 main (void)
5795 return 0;
5797 _ACEOF
5798 if ac_fn_cxx_try_compile "$LINENO"
5799 then :
5800 ac_cv_prog_cxx_g=yes
5801 else $as_nop
5802 CXXFLAGS=""
5803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h. */
5807 main (void)
5811 return 0;
5813 _ACEOF
5814 if ac_fn_cxx_try_compile "$LINENO"
5815 then :
5817 else $as_nop
5818 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5819 CXXFLAGS="-g"
5820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5821 /* end confdefs.h. */
5824 main (void)
5828 return 0;
5830 _ACEOF
5831 if ac_fn_cxx_try_compile "$LINENO"
5832 then :
5833 ac_cv_prog_cxx_g=yes
5835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5840 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5843 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5844 if test $ac_test_CXXFLAGS; then
5845 CXXFLAGS=$ac_save_CXXFLAGS
5846 elif test $ac_cv_prog_cxx_g = yes; then
5847 if test "$GXX" = yes; then
5848 CXXFLAGS="-g -O2"
5849 else
5850 CXXFLAGS="-g"
5852 else
5853 if test "$GXX" = yes; then
5854 CXXFLAGS="-O2"
5855 else
5856 CXXFLAGS=
5859 ac_prog_cxx_stdcxx=no
5860 if test x$ac_prog_cxx_stdcxx = xno
5861 then :
5862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5863 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5864 if test ${ac_cv_prog_cxx_11+y}
5865 then :
5866 printf %s "(cached) " >&6
5867 else $as_nop
5868 ac_cv_prog_cxx_11=no
5869 ac_save_CXX=$CXX
5870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5871 /* end confdefs.h. */
5872 $ac_cxx_conftest_cxx11_program
5873 _ACEOF
5874 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5876 CXX="$ac_save_CXX $ac_arg"
5877 if ac_fn_cxx_try_compile "$LINENO"
5878 then :
5879 ac_cv_prog_cxx_cxx11=$ac_arg
5881 rm -f core conftest.err conftest.$ac_objext conftest.beam
5882 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5883 done
5884 rm -f conftest.$ac_ext
5885 CXX=$ac_save_CXX
5888 if test "x$ac_cv_prog_cxx_cxx11" = xno
5889 then :
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5891 printf "%s\n" "unsupported" >&6; }
5892 else $as_nop
5893 if test "x$ac_cv_prog_cxx_cxx11" = x
5894 then :
5895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5896 printf "%s\n" "none needed" >&6; }
5897 else $as_nop
5898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5899 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5900 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5902 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5903 ac_prog_cxx_stdcxx=cxx11
5906 if test x$ac_prog_cxx_stdcxx = xno
5907 then :
5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5909 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5910 if test ${ac_cv_prog_cxx_98+y}
5911 then :
5912 printf %s "(cached) " >&6
5913 else $as_nop
5914 ac_cv_prog_cxx_98=no
5915 ac_save_CXX=$CXX
5916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5917 /* end confdefs.h. */
5918 $ac_cxx_conftest_cxx98_program
5919 _ACEOF
5920 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5922 CXX="$ac_save_CXX $ac_arg"
5923 if ac_fn_cxx_try_compile "$LINENO"
5924 then :
5925 ac_cv_prog_cxx_cxx98=$ac_arg
5927 rm -f core conftest.err conftest.$ac_objext conftest.beam
5928 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5929 done
5930 rm -f conftest.$ac_ext
5931 CXX=$ac_save_CXX
5934 if test "x$ac_cv_prog_cxx_cxx98" = xno
5935 then :
5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5937 printf "%s\n" "unsupported" >&6; }
5938 else $as_nop
5939 if test "x$ac_cv_prog_cxx_cxx98" = x
5940 then :
5941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5942 printf "%s\n" "none needed" >&6; }
5943 else $as_nop
5944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5945 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5946 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5948 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5949 ac_prog_cxx_stdcxx=cxx98
5953 ac_ext=c
5954 ac_cpp='$CPP $CPPFLAGS'
5955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5959 if test -n "$ac_tool_prefix"; then
5960 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5961 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 printf %s "checking for $ac_word... " >&6; }
5964 if test ${ac_cv_prog_CPPBIN+y}
5965 then :
5966 printf %s "(cached) " >&6
5967 else $as_nop
5968 if test -n "$CPPBIN"; then
5969 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5970 else
5971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972 for as_dir in $PATH
5974 IFS=$as_save_IFS
5975 case $as_dir in #(((
5976 '') as_dir=./ ;;
5977 */) ;;
5978 *) as_dir=$as_dir/ ;;
5979 esac
5980 for ac_exec_ext in '' $ac_executable_extensions; do
5981 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5982 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5984 break 2
5986 done
5987 done
5988 IFS=$as_save_IFS
5992 CPPBIN=$ac_cv_prog_CPPBIN
5993 if test -n "$CPPBIN"; then
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5995 printf "%s\n" "$CPPBIN" >&6; }
5996 else
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998 printf "%s\n" "no" >&6; }
6003 if test -z "$ac_cv_prog_CPPBIN"; then
6004 ac_ct_CPPBIN=$CPPBIN
6005 # Extract the first word of "cpp", so it can be a program name with args.
6006 set dummy cpp; ac_word=$2
6007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6008 printf %s "checking for $ac_word... " >&6; }
6009 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6010 then :
6011 printf %s "(cached) " >&6
6012 else $as_nop
6013 if test -n "$ac_ct_CPPBIN"; then
6014 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6015 else
6016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6017 for as_dir in $PATH
6019 IFS=$as_save_IFS
6020 case $as_dir in #(((
6021 '') as_dir=./ ;;
6022 */) ;;
6023 *) as_dir=$as_dir/ ;;
6024 esac
6025 for ac_exec_ext in '' $ac_executable_extensions; do
6026 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6027 ac_cv_prog_ac_ct_CPPBIN="cpp"
6028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6029 break 2
6031 done
6032 done
6033 IFS=$as_save_IFS
6037 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6038 if test -n "$ac_ct_CPPBIN"; then
6039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6040 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6041 else
6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 printf "%s\n" "no" >&6; }
6046 if test "x$ac_ct_CPPBIN" = x; then
6047 CPPBIN="cpp"
6048 else
6049 case $cross_compiling:$ac_tool_warned in
6050 yes:)
6051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6052 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6053 ac_tool_warned=yes ;;
6054 esac
6055 CPPBIN=$ac_ct_CPPBIN
6057 else
6058 CPPBIN="$ac_cv_prog_CPPBIN"
6062 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6064 if test -n "$ac_tool_prefix"; then
6065 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6066 set dummy ${ac_tool_prefix}ld; ac_word=$2
6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6068 printf %s "checking for $ac_word... " >&6; }
6069 if test ${ac_cv_prog_LD+y}
6070 then :
6071 printf %s "(cached) " >&6
6072 else $as_nop
6073 if test -n "$LD"; then
6074 ac_cv_prog_LD="$LD" # Let the user override the test.
6075 else
6076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077 for as_dir in $PATH
6079 IFS=$as_save_IFS
6080 case $as_dir in #(((
6081 '') as_dir=./ ;;
6082 */) ;;
6083 *) as_dir=$as_dir/ ;;
6084 esac
6085 for ac_exec_ext in '' $ac_executable_extensions; do
6086 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6087 ac_cv_prog_LD="${ac_tool_prefix}ld"
6088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6089 break 2
6091 done
6092 done
6093 IFS=$as_save_IFS
6097 LD=$ac_cv_prog_LD
6098 if test -n "$LD"; then
6099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6100 printf "%s\n" "$LD" >&6; }
6101 else
6102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103 printf "%s\n" "no" >&6; }
6108 if test -z "$ac_cv_prog_LD"; then
6109 ac_ct_LD=$LD
6110 # Extract the first word of "ld", so it can be a program name with args.
6111 set dummy ld; ac_word=$2
6112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6113 printf %s "checking for $ac_word... " >&6; }
6114 if test ${ac_cv_prog_ac_ct_LD+y}
6115 then :
6116 printf %s "(cached) " >&6
6117 else $as_nop
6118 if test -n "$ac_ct_LD"; then
6119 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6120 else
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 for as_dir in $PATH
6124 IFS=$as_save_IFS
6125 case $as_dir in #(((
6126 '') as_dir=./ ;;
6127 */) ;;
6128 *) as_dir=$as_dir/ ;;
6129 esac
6130 for ac_exec_ext in '' $ac_executable_extensions; do
6131 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6132 ac_cv_prog_ac_ct_LD="ld"
6133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6134 break 2
6136 done
6137 done
6138 IFS=$as_save_IFS
6142 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6143 if test -n "$ac_ct_LD"; then
6144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6145 printf "%s\n" "$ac_ct_LD" >&6; }
6146 else
6147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6148 printf "%s\n" "no" >&6; }
6151 if test "x$ac_ct_LD" = x; then
6152 LD=""
6153 else
6154 case $cross_compiling:$ac_tool_warned in
6155 yes:)
6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6157 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6158 ac_tool_warned=yes ;;
6159 esac
6160 LD=$ac_ct_LD
6162 else
6163 LD="$ac_cv_prog_LD"
6167 case $host in
6168 *-darwin*)
6169 with_fontconfig=${with_fontconfig:-no}
6171 *-mingw32*|*-cygwin*)
6172 enable_win16=${enable_win16:-no}
6173 with_mingw=${with_mingw:-no}
6175 esac
6178 case $host in
6179 x86_64*|amd64*)
6180 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6181 then
6182 CC="$CC -m32"
6183 CXX="$CXX -m32"
6185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6186 printf %s "checking whether $CC works... " >&6; }
6187 if test ${wine_cv_cc_m32+y}
6188 then :
6189 printf %s "(cached) " >&6
6190 else $as_nop
6191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6192 /* end confdefs.h. */
6195 main (void)
6199 return 0;
6201 _ACEOF
6202 if ac_fn_c_try_link "$LINENO"
6203 then :
6204 wine_cv_cc_m32=yes
6205 else $as_nop
6206 wine_cv_cc_m32=no
6208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6209 conftest$ac_exeext conftest.$ac_ext
6211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6212 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6213 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
6214 host_cpu="i386"
6215 notice_platform="32-bit "
6216 TARGETFLAGS="$TARGETFLAGS -m32"
6217 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6218 export PKG_CONFIG_PATH
6219 enable_win16=${enable_win16:-yes}
6220 with_unwind=${with_unwind:-no}
6221 else
6222 if test "x${GCC}" = "xyes"
6223 then
6224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6225 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6226 if test ${wine_cv_builtin_ms_va_list+y}
6227 then :
6228 printf %s "(cached) " >&6
6229 else $as_nop
6230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6231 /* end confdefs.h. */
6232 #include <stdarg.h>
6234 main (void)
6236 void func(__builtin_ms_va_list *args);
6238 return 0;
6240 _ACEOF
6241 if ac_fn_c_try_compile "$LINENO"
6242 then :
6243 wine_cv_builtin_ms_va_list=yes
6244 else $as_nop
6245 wine_cv_builtin_ms_va_list=no
6247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6250 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6251 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6253 CC="$CC -m64"
6254 CXX="$CXX -m64"
6255 host_cpu="x86_64"
6256 notice_platform="64-bit "
6257 TARGETFLAGS="$TARGETFLAGS -m64"
6258 enable_wow64=${enable_wow64:-yes}
6259 enable_wow64win=${enable_wow64win:-yes}
6260 enable_wow64cpu=${enable_wow64cpu:-yes}
6263 arm*)
6264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6265 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6266 if test ${wine_cv_thumb2+y}
6267 then :
6268 printf %s "(cached) " >&6
6269 else $as_nop
6270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6271 /* end confdefs.h. */
6274 main (void)
6276 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6278 return 0;
6280 _ACEOF
6281 if ac_fn_c_try_link "$LINENO"
6282 then :
6283 wine_cv_thumb2=yes
6284 else $as_nop
6285 wine_cv_thumb2=no
6287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6288 conftest$ac_exeext conftest.$ac_ext
6290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6291 printf "%s\n" "$wine_cv_thumb2" >&6; }
6292 if test x"$wine_cv_thumb2" = xyes
6293 then
6294 CFLAGS="$CFLAGS -mthumb"
6295 TARGETFLAGS="$TARGETFLAGS -mthumb"
6296 else
6297 CFLAGS="$CFLAGS -marm"
6298 TARGETFLAGS="$TARGETFLAGS -marm"
6300 case $with_float_abi in
6301 soft|softfp|hard)
6302 float_abi=$with_float_abi ;;
6304 case $host_os in
6305 *eabihf)
6306 float_abi=hard ;;
6308 float_abi=softfp
6309 saved_CFLAGS=$CFLAGS
6310 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6312 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6313 if test ${wine_cv_float_abi+y}
6314 then :
6315 printf %s "(cached) " >&6
6316 else $as_nop
6317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6321 main (void)
6323 asm("vmrs r2,fpscr");
6325 return 0;
6327 _ACEOF
6328 if ac_fn_c_try_link "$LINENO"
6329 then :
6330 wine_cv_float_abi=yes
6331 else $as_nop
6332 wine_cv_float_abi=no
6334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6335 conftest$ac_exeext conftest.$ac_ext
6337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6338 printf "%s\n" "$wine_cv_float_abi" >&6; }
6339 if test $wine_cv_float_abi = no
6340 then
6341 float_abi=soft
6342 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6344 CFLAGS=$saved_CFLAGS
6345 esac
6347 esac
6348 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6349 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6351 aarch64*)
6352 enable_wow64=${enable_wow64:-yes}
6353 enable_wow64win=${enable_wow64win:-yes}
6355 i[3456789]86*)
6356 enable_win16=${enable_win16:-yes}
6357 with_unwind=${with_unwind:-no}
6359 esac
6361 enable_win16=${enable_win16:-no}
6362 enable_win64=${enable_win64:-no}
6363 enable_wow64=${enable_wow64:-no}
6364 enable_wow64win=${enable_wow64win:-no}
6365 enable_wow64cpu=${enable_wow64cpu:-no}
6367 enable_winetest=${enable_winetest:-$enable_tests}
6369 if test "x$enable_win64" = "xyes"
6370 then
6371 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6372 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6375 case $build_os in
6376 cygwin*|mingw32*) toolsext=".exe"
6378 *) toolsext=""
6380 esac
6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6383 printf %s "checking for the directory containing the Wine tools... " >&6; }
6384 if test ${wine_cv_toolsdir+y}
6385 then :
6386 printf %s "(cached) " >&6
6387 else $as_nop
6388 wine_cv_toolsdir="$with_wine_tools"
6389 if test -z "$with_wine_tools"; then
6390 if test "$cross_compiling" = "yes"; then
6391 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6392 elif test -n "$with_wine64"; then
6393 wine_cv_toolsdir="$with_wine64"
6397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6398 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6399 if test -z "$wine_cv_toolsdir"; then
6400 wine_makedep=tools/makedep$toolsext
6401 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6402 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6403 enable_tools=${enable_tools:-no}
6404 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6405 else
6406 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6408 toolsdir=$wine_cv_toolsdir
6410 MAKEDEP=$wine_makedep
6412 RUNTESTFLAGS="-q -P wine"
6414 SED_CMD="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
6417 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6418 then
6419 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6422 for ac_prog in flex
6424 # Extract the first word of "$ac_prog", so it can be a program name with args.
6425 set dummy $ac_prog; ac_word=$2
6426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 printf %s "checking for $ac_word... " >&6; }
6428 if test ${ac_cv_prog_FLEX+y}
6429 then :
6430 printf %s "(cached) " >&6
6431 else $as_nop
6432 if test -n "$FLEX"; then
6433 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6438 IFS=$as_save_IFS
6439 case $as_dir in #(((
6440 '') as_dir=./ ;;
6441 */) ;;
6442 *) as_dir=$as_dir/ ;;
6443 esac
6444 for ac_exec_ext in '' $ac_executable_extensions; do
6445 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6446 ac_cv_prog_FLEX="$ac_prog"
6447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6448 break 2
6450 done
6451 done
6452 IFS=$as_save_IFS
6456 FLEX=$ac_cv_prog_FLEX
6457 if test -n "$FLEX"; then
6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6459 printf "%s\n" "$FLEX" >&6; }
6460 else
6461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6462 printf "%s\n" "no" >&6; }
6466 test -n "$FLEX" && break
6467 done
6468 test -n "$FLEX" || FLEX="none"
6470 if test "$FLEX" = "none"
6471 then
6472 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6475 printf %s "checking whether flex is recent enough... " >&6; }
6476 if test ${wine_cv_recent_flex+y}
6477 then :
6478 printf %s "(cached) " >&6
6479 else $as_nop
6480 cat >conftest.l <<EOF
6481 %top{
6482 #include "prediluvian.h"
6486 if $FLEX -t conftest.l >/dev/null 2>&5
6487 then
6488 wine_cv_recent_flex=yes
6489 else
6490 wine_cv_recent_flex=no
6493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6494 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6495 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
6497 for ac_prog in bison
6499 # Extract the first word of "$ac_prog", so it can be a program name with args.
6500 set dummy $ac_prog; ac_word=$2
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 printf %s "checking for $ac_word... " >&6; }
6503 if test ${ac_cv_prog_BISON+y}
6504 then :
6505 printf %s "(cached) " >&6
6506 else $as_nop
6507 if test -n "$BISON"; then
6508 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6509 else
6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 for as_dir in $PATH
6513 IFS=$as_save_IFS
6514 case $as_dir in #(((
6515 '') as_dir=./ ;;
6516 */) ;;
6517 *) as_dir=$as_dir/ ;;
6518 esac
6519 for ac_exec_ext in '' $ac_executable_extensions; do
6520 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6521 ac_cv_prog_BISON="$ac_prog"
6522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6523 break 2
6525 done
6526 done
6527 IFS=$as_save_IFS
6531 BISON=$ac_cv_prog_BISON
6532 if test -n "$BISON"; then
6533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6534 printf "%s\n" "$BISON" >&6; }
6535 else
6536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537 printf "%s\n" "no" >&6; }
6541 test -n "$BISON" && break
6542 done
6543 test -n "$BISON" || BISON="none"
6545 if test "$BISON" = "none"
6546 then
6547 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6550 printf %s "checking whether bison is recent enough... " >&6; }
6551 if test ${wine_cv_recent_bison+y}
6552 then :
6553 printf %s "(cached) " >&6
6554 else $as_nop
6555 cat >conftest.y <<EOF
6556 %define parse.error verbose
6558 empty: ;
6560 if $BISON conftest.y >/dev/null 2>&5
6561 then
6562 wine_cv_recent_bison=yes
6563 else
6564 wine_cv_recent_bison=no
6567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6568 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6569 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
6571 if test -n "$ac_tool_prefix"; then
6572 for ac_prog in ar gar
6574 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6575 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577 printf %s "checking for $ac_word... " >&6; }
6578 if test ${ac_cv_prog_AR+y}
6579 then :
6580 printf %s "(cached) " >&6
6581 else $as_nop
6582 if test -n "$AR"; then
6583 ac_cv_prog_AR="$AR" # Let the user override the test.
6584 else
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 for as_dir in $PATH
6588 IFS=$as_save_IFS
6589 case $as_dir in #(((
6590 '') as_dir=./ ;;
6591 */) ;;
6592 *) as_dir=$as_dir/ ;;
6593 esac
6594 for ac_exec_ext in '' $ac_executable_extensions; do
6595 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6596 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6598 break 2
6600 done
6601 done
6602 IFS=$as_save_IFS
6606 AR=$ac_cv_prog_AR
6607 if test -n "$AR"; then
6608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6609 printf "%s\n" "$AR" >&6; }
6610 else
6611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612 printf "%s\n" "no" >&6; }
6616 test -n "$AR" && break
6617 done
6619 if test -z "$AR"; then
6620 ac_ct_AR=$AR
6621 for ac_prog in ar gar
6623 # Extract the first word of "$ac_prog", so it can be a program name with args.
6624 set dummy $ac_prog; ac_word=$2
6625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626 printf %s "checking for $ac_word... " >&6; }
6627 if test ${ac_cv_prog_ac_ct_AR+y}
6628 then :
6629 printf %s "(cached) " >&6
6630 else $as_nop
6631 if test -n "$ac_ct_AR"; then
6632 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6633 else
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 for as_dir in $PATH
6637 IFS=$as_save_IFS
6638 case $as_dir in #(((
6639 '') as_dir=./ ;;
6640 */) ;;
6641 *) as_dir=$as_dir/ ;;
6642 esac
6643 for ac_exec_ext in '' $ac_executable_extensions; do
6644 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6645 ac_cv_prog_ac_ct_AR="$ac_prog"
6646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6647 break 2
6649 done
6650 done
6651 IFS=$as_save_IFS
6655 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6656 if test -n "$ac_ct_AR"; then
6657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6658 printf "%s\n" "$ac_ct_AR" >&6; }
6659 else
6660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 printf "%s\n" "no" >&6; }
6665 test -n "$ac_ct_AR" && break
6666 done
6668 if test "x$ac_ct_AR" = x; then
6669 AR="ar"
6670 else
6671 case $cross_compiling:$ac_tool_warned in
6672 yes:)
6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6674 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6675 ac_tool_warned=yes ;;
6676 esac
6677 AR=$ac_ct_AR
6681 if test -n "$ac_tool_prefix"; then
6682 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6683 set dummy ${ac_tool_prefix}strip; ac_word=$2
6684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 printf %s "checking for $ac_word... " >&6; }
6686 if test ${ac_cv_prog_STRIP+y}
6687 then :
6688 printf %s "(cached) " >&6
6689 else $as_nop
6690 if test -n "$STRIP"; then
6691 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6692 else
6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6694 for as_dir in $PATH
6696 IFS=$as_save_IFS
6697 case $as_dir in #(((
6698 '') as_dir=./ ;;
6699 */) ;;
6700 *) as_dir=$as_dir/ ;;
6701 esac
6702 for ac_exec_ext in '' $ac_executable_extensions; do
6703 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6704 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6706 break 2
6708 done
6709 done
6710 IFS=$as_save_IFS
6714 STRIP=$ac_cv_prog_STRIP
6715 if test -n "$STRIP"; then
6716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6717 printf "%s\n" "$STRIP" >&6; }
6718 else
6719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 printf "%s\n" "no" >&6; }
6725 if test -z "$ac_cv_prog_STRIP"; then
6726 ac_ct_STRIP=$STRIP
6727 # Extract the first word of "strip", so it can be a program name with args.
6728 set dummy strip; ac_word=$2
6729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6730 printf %s "checking for $ac_word... " >&6; }
6731 if test ${ac_cv_prog_ac_ct_STRIP+y}
6732 then :
6733 printf %s "(cached) " >&6
6734 else $as_nop
6735 if test -n "$ac_ct_STRIP"; then
6736 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6737 else
6738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739 for as_dir in $PATH
6741 IFS=$as_save_IFS
6742 case $as_dir in #(((
6743 '') as_dir=./ ;;
6744 */) ;;
6745 *) as_dir=$as_dir/ ;;
6746 esac
6747 for ac_exec_ext in '' $ac_executable_extensions; do
6748 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6749 ac_cv_prog_ac_ct_STRIP="strip"
6750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6751 break 2
6753 done
6754 done
6755 IFS=$as_save_IFS
6759 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6760 if test -n "$ac_ct_STRIP"; then
6761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6762 printf "%s\n" "$ac_ct_STRIP" >&6; }
6763 else
6764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6765 printf "%s\n" "no" >&6; }
6768 if test "x$ac_ct_STRIP" = x; then
6769 STRIP="strip"
6770 else
6771 case $cross_compiling:$ac_tool_warned in
6772 yes:)
6773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6774 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6775 ac_tool_warned=yes ;;
6776 esac
6777 STRIP=$ac_ct_STRIP
6779 else
6780 STRIP="$ac_cv_prog_STRIP"
6783 if test -n "$ac_tool_prefix"; then
6784 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6785 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6787 printf %s "checking for $ac_word... " >&6; }
6788 if test ${ac_cv_prog_RANLIB+y}
6789 then :
6790 printf %s "(cached) " >&6
6791 else $as_nop
6792 if test -n "$RANLIB"; then
6793 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6794 else
6795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6796 for as_dir in $PATH
6798 IFS=$as_save_IFS
6799 case $as_dir in #(((
6800 '') as_dir=./ ;;
6801 */) ;;
6802 *) as_dir=$as_dir/ ;;
6803 esac
6804 for ac_exec_ext in '' $ac_executable_extensions; do
6805 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6806 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6808 break 2
6810 done
6811 done
6812 IFS=$as_save_IFS
6816 RANLIB=$ac_cv_prog_RANLIB
6817 if test -n "$RANLIB"; then
6818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6819 printf "%s\n" "$RANLIB" >&6; }
6820 else
6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 printf "%s\n" "no" >&6; }
6827 if test -z "$ac_cv_prog_RANLIB"; then
6828 ac_ct_RANLIB=$RANLIB
6829 # Extract the first word of "ranlib", so it can be a program name with args.
6830 set dummy ranlib; ac_word=$2
6831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6832 printf %s "checking for $ac_word... " >&6; }
6833 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6834 then :
6835 printf %s "(cached) " >&6
6836 else $as_nop
6837 if test -n "$ac_ct_RANLIB"; then
6838 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6839 else
6840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6841 for as_dir in $PATH
6843 IFS=$as_save_IFS
6844 case $as_dir in #(((
6845 '') as_dir=./ ;;
6846 */) ;;
6847 *) as_dir=$as_dir/ ;;
6848 esac
6849 for ac_exec_ext in '' $ac_executable_extensions; do
6850 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6851 ac_cv_prog_ac_ct_RANLIB="ranlib"
6852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6853 break 2
6855 done
6856 done
6857 IFS=$as_save_IFS
6861 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6862 if test -n "$ac_ct_RANLIB"; then
6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6864 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6865 else
6866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867 printf "%s\n" "no" >&6; }
6870 if test "x$ac_ct_RANLIB" = x; then
6871 RANLIB=":"
6872 else
6873 case $cross_compiling:$ac_tool_warned in
6874 yes:)
6875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6876 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6877 ac_tool_warned=yes ;;
6878 esac
6879 RANLIB=$ac_ct_RANLIB
6881 else
6882 RANLIB="$ac_cv_prog_RANLIB"
6885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6886 printf %s "checking whether ln -s works... " >&6; }
6887 LN_S=$as_ln_s
6888 if test "$LN_S" = "ln -s"; then
6889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6890 printf "%s\n" "yes" >&6; }
6891 else
6892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6893 printf "%s\n" "no, using $LN_S" >&6; }
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6897 printf %s "checking for grep that handles long lines and -e... " >&6; }
6898 if test ${ac_cv_path_GREP+y}
6899 then :
6900 printf %s "(cached) " >&6
6901 else $as_nop
6902 if test -z "$GREP"; then
6903 ac_path_GREP_found=false
6904 # Loop through the user's path and test for each of PROGNAME-LIST
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6908 IFS=$as_save_IFS
6909 case $as_dir in #(((
6910 '') as_dir=./ ;;
6911 */) ;;
6912 *) as_dir=$as_dir/ ;;
6913 esac
6914 for ac_prog in grep ggrep
6916 for ac_exec_ext in '' $ac_executable_extensions; do
6917 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6918 as_fn_executable_p "$ac_path_GREP" || continue
6919 # Check for GNU ac_path_GREP and select it if it is found.
6920 # Check for GNU $ac_path_GREP
6921 case `"$ac_path_GREP" --version 2>&1` in
6922 *GNU*)
6923 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6925 ac_count=0
6926 printf %s 0123456789 >"conftest.in"
6927 while :
6929 cat "conftest.in" "conftest.in" >"conftest.tmp"
6930 mv "conftest.tmp" "conftest.in"
6931 cp "conftest.in" "conftest.nl"
6932 printf "%s\n" 'GREP' >> "conftest.nl"
6933 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6934 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6935 as_fn_arith $ac_count + 1 && ac_count=$as_val
6936 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6937 # Best one so far, save it but keep looking for a better one
6938 ac_cv_path_GREP="$ac_path_GREP"
6939 ac_path_GREP_max=$ac_count
6941 # 10*(2^10) chars as input seems more than enough
6942 test $ac_count -gt 10 && break
6943 done
6944 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6945 esac
6947 $ac_path_GREP_found && break 3
6948 done
6949 done
6950 done
6951 IFS=$as_save_IFS
6952 if test -z "$ac_cv_path_GREP"; then
6953 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6955 else
6956 ac_cv_path_GREP=$GREP
6960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6961 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6962 GREP="$ac_cv_path_GREP"
6965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6966 printf %s "checking for egrep... " >&6; }
6967 if test ${ac_cv_path_EGREP+y}
6968 then :
6969 printf %s "(cached) " >&6
6970 else $as_nop
6971 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6972 then ac_cv_path_EGREP="$GREP -E"
6973 else
6974 if test -z "$EGREP"; then
6975 ac_path_EGREP_found=false
6976 # Loop through the user's path and test for each of PROGNAME-LIST
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6980 IFS=$as_save_IFS
6981 case $as_dir in #(((
6982 '') as_dir=./ ;;
6983 */) ;;
6984 *) as_dir=$as_dir/ ;;
6985 esac
6986 for ac_prog in egrep
6988 for ac_exec_ext in '' $ac_executable_extensions; do
6989 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6990 as_fn_executable_p "$ac_path_EGREP" || continue
6991 # Check for GNU ac_path_EGREP and select it if it is found.
6992 # Check for GNU $ac_path_EGREP
6993 case `"$ac_path_EGREP" --version 2>&1` in
6994 *GNU*)
6995 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6997 ac_count=0
6998 printf %s 0123456789 >"conftest.in"
6999 while :
7001 cat "conftest.in" "conftest.in" >"conftest.tmp"
7002 mv "conftest.tmp" "conftest.in"
7003 cp "conftest.in" "conftest.nl"
7004 printf "%s\n" 'EGREP' >> "conftest.nl"
7005 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7006 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7007 as_fn_arith $ac_count + 1 && ac_count=$as_val
7008 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7009 # Best one so far, save it but keep looking for a better one
7010 ac_cv_path_EGREP="$ac_path_EGREP"
7011 ac_path_EGREP_max=$ac_count
7013 # 10*(2^10) chars as input seems more than enough
7014 test $ac_count -gt 10 && break
7015 done
7016 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7017 esac
7019 $ac_path_EGREP_found && break 3
7020 done
7021 done
7022 done
7023 IFS=$as_save_IFS
7024 if test -z "$ac_cv_path_EGREP"; then
7025 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7027 else
7028 ac_cv_path_EGREP=$EGREP
7033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7034 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7035 EGREP="$ac_cv_path_EGREP"
7038 # Extract the first word of "ldconfig", so it can be a program name with args.
7039 set dummy ldconfig; ac_word=$2
7040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7041 printf %s "checking for $ac_word... " >&6; }
7042 if test ${ac_cv_path_LDCONFIG+y}
7043 then :
7044 printf %s "(cached) " >&6
7045 else $as_nop
7046 case $LDCONFIG in
7047 [\\/]* | ?:[\\/]*)
7048 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7052 for as_dir in /sbin /usr/sbin $PATH
7054 IFS=$as_save_IFS
7055 case $as_dir in #(((
7056 '') as_dir=./ ;;
7057 */) ;;
7058 *) as_dir=$as_dir/ ;;
7059 esac
7060 for ac_exec_ext in '' $ac_executable_extensions; do
7061 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7062 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7064 break 2
7066 done
7067 done
7068 IFS=$as_save_IFS
7070 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7072 esac
7074 LDCONFIG=$ac_cv_path_LDCONFIG
7075 if test -n "$LDCONFIG"; then
7076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7077 printf "%s\n" "$LDCONFIG" >&6; }
7078 else
7079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7080 printf "%s\n" "no" >&6; }
7084 for ac_prog in msgfmt
7086 # Extract the first word of "$ac_prog", so it can be a program name with args.
7087 set dummy $ac_prog; ac_word=$2
7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 printf %s "checking for $ac_word... " >&6; }
7090 if test ${ac_cv_prog_MSGFMT+y}
7091 then :
7092 printf %s "(cached) " >&6
7093 else $as_nop
7094 if test -n "$MSGFMT"; then
7095 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7096 else
7097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7098 for as_dir in $PATH
7100 IFS=$as_save_IFS
7101 case $as_dir in #(((
7102 '') as_dir=./ ;;
7103 */) ;;
7104 *) as_dir=$as_dir/ ;;
7105 esac
7106 for ac_exec_ext in '' $ac_executable_extensions; do
7107 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7108 ac_cv_prog_MSGFMT="$ac_prog"
7109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7110 break 2
7112 done
7113 done
7114 IFS=$as_save_IFS
7118 MSGFMT=$ac_cv_prog_MSGFMT
7119 if test -n "$MSGFMT"; then
7120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7121 printf "%s\n" "$MSGFMT" >&6; }
7122 else
7123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 printf "%s\n" "no" >&6; }
7128 test -n "$MSGFMT" && break
7129 done
7130 test -n "$MSGFMT" || MSGFMT="false"
7132 if test ${ac_tool_prefix+y}
7133 then :
7134 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7135 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 printf %s "checking for $ac_word... " >&6; }
7138 if test ${ac_cv_prog_PKG_CONFIG+y}
7139 then :
7140 printf %s "(cached) " >&6
7141 else $as_nop
7142 if test -n "$PKG_CONFIG"; then
7143 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7144 else
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7146 for as_dir in $PATH
7148 IFS=$as_save_IFS
7149 case $as_dir in #(((
7150 '') as_dir=./ ;;
7151 */) ;;
7152 *) as_dir=$as_dir/ ;;
7153 esac
7154 for ac_exec_ext in '' $ac_executable_extensions; do
7155 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7156 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7158 break 2
7160 done
7161 done
7162 IFS=$as_save_IFS
7166 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7167 if test -n "$PKG_CONFIG"; then
7168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7169 printf "%s\n" "$PKG_CONFIG" >&6; }
7170 else
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172 printf "%s\n" "no" >&6; }
7177 if ${ac_cv_prog_PKG_CONFIG:+false} :
7178 then :
7179 if test "x$cross_compiling" = xyes
7180 then :
7182 else $as_nop
7183 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7184 # Extract the first word of "pkg-config", so it can be a program name with args.
7185 set dummy pkg-config; ac_word=$2
7186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7187 printf %s "checking for $ac_word... " >&6; }
7188 if test ${ac_cv_prog_PKG_CONFIG+y}
7189 then :
7190 printf %s "(cached) " >&6
7191 else $as_nop
7192 if test -n "$PKG_CONFIG"; then
7193 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7194 else
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7196 for as_dir in $PATH
7198 IFS=$as_save_IFS
7199 case $as_dir in #(((
7200 '') as_dir=./ ;;
7201 */) ;;
7202 *) as_dir=$as_dir/ ;;
7203 esac
7204 for ac_exec_ext in '' $ac_executable_extensions; do
7205 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7206 ac_cv_prog_PKG_CONFIG="pkg-config"
7207 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7208 break 2
7210 done
7211 done
7212 IFS=$as_save_IFS
7216 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7217 if test -n "$PKG_CONFIG"; then
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7219 printf "%s\n" "$PKG_CONFIG" >&6; }
7220 else
7221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7222 printf "%s\n" "no" >&6; }
7227 else $as_nop
7228 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7231 if test "x$enable_maintainer_mode" != "xyes"
7232 then
7233 FONTFORGE=""
7234 RSVG=""
7235 CONVERT=""
7236 ICOTOOL=""
7237 else
7238 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7239 for ac_prog in fontforge
7241 # Extract the first word of "$ac_prog", so it can be a program name with args.
7242 set dummy $ac_prog; ac_word=$2
7243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7244 printf %s "checking for $ac_word... " >&6; }
7245 if test ${ac_cv_prog_FONTFORGE+y}
7246 then :
7247 printf %s "(cached) " >&6
7248 else $as_nop
7249 if test -n "$FONTFORGE"; then
7250 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7251 else
7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7253 for as_dir in $PATH
7255 IFS=$as_save_IFS
7256 case $as_dir in #(((
7257 '') as_dir=./ ;;
7258 */) ;;
7259 *) as_dir=$as_dir/ ;;
7260 esac
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7263 ac_cv_prog_FONTFORGE="$ac_prog"
7264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7265 break 2
7267 done
7268 done
7269 IFS=$as_save_IFS
7273 FONTFORGE=$ac_cv_prog_FONTFORGE
7274 if test -n "$FONTFORGE"; then
7275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7276 printf "%s\n" "$FONTFORGE" >&6; }
7277 else
7278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 printf "%s\n" "no" >&6; }
7283 test -n "$FONTFORGE" && break
7284 done
7285 test -n "$FONTFORGE" || FONTFORGE="false"
7287 for ac_prog in rsvg-convert rsvg
7289 # Extract the first word of "$ac_prog", so it can be a program name with args.
7290 set dummy $ac_prog; ac_word=$2
7291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7292 printf %s "checking for $ac_word... " >&6; }
7293 if test ${ac_cv_prog_RSVG+y}
7294 then :
7295 printf %s "(cached) " >&6
7296 else $as_nop
7297 if test -n "$RSVG"; then
7298 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7299 else
7300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301 for as_dir in $PATH
7303 IFS=$as_save_IFS
7304 case $as_dir in #(((
7305 '') as_dir=./ ;;
7306 */) ;;
7307 *) as_dir=$as_dir/ ;;
7308 esac
7309 for ac_exec_ext in '' $ac_executable_extensions; do
7310 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7311 ac_cv_prog_RSVG="$ac_prog"
7312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7313 break 2
7315 done
7316 done
7317 IFS=$as_save_IFS
7321 RSVG=$ac_cv_prog_RSVG
7322 if test -n "$RSVG"; then
7323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7324 printf "%s\n" "$RSVG" >&6; }
7325 else
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7327 printf "%s\n" "no" >&6; }
7331 test -n "$RSVG" && break
7332 done
7333 test -n "$RSVG" || RSVG="false"
7335 for ac_prog in convert
7337 # Extract the first word of "$ac_prog", so it can be a program name with args.
7338 set dummy $ac_prog; ac_word=$2
7339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340 printf %s "checking for $ac_word... " >&6; }
7341 if test ${ac_cv_prog_CONVERT+y}
7342 then :
7343 printf %s "(cached) " >&6
7344 else $as_nop
7345 if test -n "$CONVERT"; then
7346 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7347 else
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 for as_dir in $PATH
7351 IFS=$as_save_IFS
7352 case $as_dir in #(((
7353 '') as_dir=./ ;;
7354 */) ;;
7355 *) as_dir=$as_dir/ ;;
7356 esac
7357 for ac_exec_ext in '' $ac_executable_extensions; do
7358 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7359 ac_cv_prog_CONVERT="$ac_prog"
7360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7361 break 2
7363 done
7364 done
7365 IFS=$as_save_IFS
7369 CONVERT=$ac_cv_prog_CONVERT
7370 if test -n "$CONVERT"; then
7371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7372 printf "%s\n" "$CONVERT" >&6; }
7373 else
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375 printf "%s\n" "no" >&6; }
7379 test -n "$CONVERT" && break
7380 done
7381 test -n "$CONVERT" || CONVERT="false"
7383 for ac_prog in icotool
7385 # Extract the first word of "$ac_prog", so it can be a program name with args.
7386 set dummy $ac_prog; ac_word=$2
7387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7388 printf %s "checking for $ac_word... " >&6; }
7389 if test ${ac_cv_prog_ICOTOOL+y}
7390 then :
7391 printf %s "(cached) " >&6
7392 else $as_nop
7393 if test -n "$ICOTOOL"; then
7394 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7395 else
7396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7397 for as_dir in $PATH
7399 IFS=$as_save_IFS
7400 case $as_dir in #(((
7401 '') as_dir=./ ;;
7402 */) ;;
7403 *) as_dir=$as_dir/ ;;
7404 esac
7405 for ac_exec_ext in '' $ac_executable_extensions; do
7406 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7407 ac_cv_prog_ICOTOOL="$ac_prog"
7408 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7409 break 2
7411 done
7412 done
7413 IFS=$as_save_IFS
7417 ICOTOOL=$ac_cv_prog_ICOTOOL
7418 if test -n "$ICOTOOL"; then
7419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7420 printf "%s\n" "$ICOTOOL" >&6; }
7421 else
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423 printf "%s\n" "no" >&6; }
7427 test -n "$ICOTOOL" && break
7428 done
7429 test -n "$ICOTOOL" || ICOTOOL="false"
7431 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7432 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7434 if test "$CONVERT" = false
7435 then
7436 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7437 else
7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7439 printf %s "checking for recent enough imagemagick... " >&6; }
7440 convert_version=`convert --version | head -n1`
7441 if test "x$convert_version" != "x"
7442 then
7443 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7444 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7445 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7446 then
7447 CONVERT=false
7450 if test "$CONVERT" = false
7451 then
7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7453 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7454 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7455 else
7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7457 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7461 if test "$ICOTOOL" = false
7462 then
7463 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7464 else
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7466 printf %s "checking for recent enough icotool... " >&6; }
7467 icotool_version=`icotool --version | head -n1`
7468 if test "x$icotool_version" != "x"
7469 then
7470 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7471 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7472 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7473 then
7474 ICOTOOL=false
7475 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7478 if test "$ICOTOOL" = false
7479 then
7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7481 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7482 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7483 else
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7485 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7489 with_gettext=yes
7490 with_gettextpo=yes
7492 enable_werror=yes
7495 test "x$with_gettext" != xno || MSGFMT=false
7496 if test "$MSGFMT" != "false"
7497 then
7498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7499 printf %s "checking whether msgfmt supports contexts... " >&6; }
7500 if test ${wine_cv_msgfmt_contexts+y}
7501 then :
7502 printf %s "(cached) " >&6
7503 else $as_nop
7504 cat >conftest.po <<EOF
7505 # comment
7506 msgctxt "ctxt"
7507 msgid "id"
7508 msgstr "str"
7510 if $MSGFMT -o /dev/null conftest.po 2>&5
7511 then
7512 wine_cv_msgfmt_contexts=yes
7513 else
7514 wine_cv_msgfmt_contexts=no
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7518 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7519 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7521 if test "$MSGFMT" = false
7522 then :
7523 case "x$with_gettext" in
7524 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7525 xno) ;;
7526 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7527 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7528 esac
7529 enable_po=${enable_po:-no}
7533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7534 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7535 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7536 then :
7537 printf %s "(cached) " >&6
7538 else $as_nop
7539 ac_check_lib_save_LIBS=$LIBS
7540 LIBS="-li386 $LIBS"
7541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h. */
7544 /* Override any GCC internal prototype to avoid an error.
7545 Use char because int might match the return type of a GCC
7546 builtin and then its argument prototype would still apply. */
7547 char i386_set_ldt ();
7549 main (void)
7551 return i386_set_ldt ();
7553 return 0;
7555 _ACEOF
7556 if ac_fn_c_try_link "$LINENO"
7557 then :
7558 ac_cv_lib_i386_i386_set_ldt=yes
7559 else $as_nop
7560 ac_cv_lib_i386_i386_set_ldt=no
7562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7563 conftest$ac_exeext conftest.$ac_ext
7564 LIBS=$ac_check_lib_save_LIBS
7566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7567 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7568 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7569 then :
7570 I386_LIBS="-li386"
7575 OPENGL_LIBS=""
7579 # Check whether --enable-largefile was given.
7580 if test ${enable_largefile+y}
7581 then :
7582 enableval=$enable_largefile;
7585 if test "$enable_largefile" != no; then
7587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7588 printf %s "checking for special C compiler options needed for large files... " >&6; }
7589 if test ${ac_cv_sys_largefile_CC+y}
7590 then :
7591 printf %s "(cached) " >&6
7592 else $as_nop
7593 ac_cv_sys_largefile_CC=no
7594 if test "$GCC" != yes; then
7595 ac_save_CC=$CC
7596 while :; do
7597 # IRIX 6.2 and later do not support large files by default,
7598 # so use the C compiler's -n32 option if that helps.
7599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7600 /* end confdefs.h. */
7601 #include <sys/types.h>
7602 /* Check that off_t can represent 2**63 - 1 correctly.
7603 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7604 since some C++ compilers masquerading as C compilers
7605 incorrectly reject 9223372036854775807. */
7606 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7607 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7608 && LARGE_OFF_T % 2147483647 == 1)
7609 ? 1 : -1];
7611 main (void)
7615 return 0;
7617 _ACEOF
7618 if ac_fn_c_try_compile "$LINENO"
7619 then :
7620 break
7622 rm -f core conftest.err conftest.$ac_objext conftest.beam
7623 CC="$CC -n32"
7624 if ac_fn_c_try_compile "$LINENO"
7625 then :
7626 ac_cv_sys_largefile_CC=' -n32'; break
7628 rm -f core conftest.err conftest.$ac_objext conftest.beam
7629 break
7630 done
7631 CC=$ac_save_CC
7632 rm -f conftest.$ac_ext
7635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7636 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7637 if test "$ac_cv_sys_largefile_CC" != no; then
7638 CC=$CC$ac_cv_sys_largefile_CC
7641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7642 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7643 if test ${ac_cv_sys_file_offset_bits+y}
7644 then :
7645 printf %s "(cached) " >&6
7646 else $as_nop
7647 while :; do
7648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7649 /* end confdefs.h. */
7650 #include <sys/types.h>
7651 /* Check that off_t can represent 2**63 - 1 correctly.
7652 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7653 since some C++ compilers masquerading as C compilers
7654 incorrectly reject 9223372036854775807. */
7655 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7656 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7657 && LARGE_OFF_T % 2147483647 == 1)
7658 ? 1 : -1];
7660 main (void)
7664 return 0;
7666 _ACEOF
7667 if ac_fn_c_try_compile "$LINENO"
7668 then :
7669 ac_cv_sys_file_offset_bits=no; break
7671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7674 #define _FILE_OFFSET_BITS 64
7675 #include <sys/types.h>
7676 /* Check that off_t can represent 2**63 - 1 correctly.
7677 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7678 since some C++ compilers masquerading as C compilers
7679 incorrectly reject 9223372036854775807. */
7680 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7681 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7682 && LARGE_OFF_T % 2147483647 == 1)
7683 ? 1 : -1];
7685 main (void)
7689 return 0;
7691 _ACEOF
7692 if ac_fn_c_try_compile "$LINENO"
7693 then :
7694 ac_cv_sys_file_offset_bits=64; break
7696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7697 ac_cv_sys_file_offset_bits=unknown
7698 break
7699 done
7701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7702 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7703 case $ac_cv_sys_file_offset_bits in #(
7704 no | unknown) ;;
7706 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7708 esac
7709 rm -rf conftest*
7710 if test $ac_cv_sys_file_offset_bits = unknown; then
7711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7712 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7713 if test ${ac_cv_sys_large_files+y}
7714 then :
7715 printf %s "(cached) " >&6
7716 else $as_nop
7717 while :; do
7718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7719 /* end confdefs.h. */
7720 #include <sys/types.h>
7721 /* Check that off_t can represent 2**63 - 1 correctly.
7722 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7723 since some C++ compilers masquerading as C compilers
7724 incorrectly reject 9223372036854775807. */
7725 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7726 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7727 && LARGE_OFF_T % 2147483647 == 1)
7728 ? 1 : -1];
7730 main (void)
7734 return 0;
7736 _ACEOF
7737 if ac_fn_c_try_compile "$LINENO"
7738 then :
7739 ac_cv_sys_large_files=no; break
7741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7743 /* end confdefs.h. */
7744 #define _LARGE_FILES 1
7745 #include <sys/types.h>
7746 /* Check that off_t can represent 2**63 - 1 correctly.
7747 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7748 since some C++ compilers masquerading as C compilers
7749 incorrectly reject 9223372036854775807. */
7750 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7751 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7752 && LARGE_OFF_T % 2147483647 == 1)
7753 ? 1 : -1];
7755 main (void)
7759 return 0;
7761 _ACEOF
7762 if ac_fn_c_try_compile "$LINENO"
7763 then :
7764 ac_cv_sys_large_files=1; break
7766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7767 ac_cv_sys_large_files=unknown
7768 break
7769 done
7771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7772 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7773 case $ac_cv_sys_large_files in #(
7774 no | unknown) ;;
7776 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7778 esac
7779 rm -rf conftest*
7784 ac_header= ac_cache=
7785 for ac_item in $ac_header_c_list
7787 if test $ac_cache; then
7788 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7789 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7790 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7792 ac_header= ac_cache=
7793 elif test $ac_header; then
7794 ac_cache=$ac_item
7795 else
7796 ac_header=$ac_item
7798 done
7807 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7808 then :
7810 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7813 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7814 if test "x$ac_cv_header_AL_al_h" = xyes
7815 then :
7816 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7819 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7820 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7821 then :
7822 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7825 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7826 if test "x$ac_cv_header_CL_cl_h" = xyes
7827 then :
7828 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7831 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7832 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7833 then :
7834 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7837 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7838 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7839 then :
7840 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7843 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7844 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7845 then :
7846 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7849 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7850 if test "x$ac_cv_header_EGL_egl_h" = xyes
7851 then :
7852 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7855 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7856 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7857 then :
7858 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7861 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7862 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7863 then :
7864 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7867 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7869 then :
7870 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7875 then :
7876 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_Security_Security_h" = xyes
7881 then :
7882 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7887 then :
7888 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7893 then :
7894 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_arpa_inet_h" = xyes
7899 then :
7900 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7905 then :
7906 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_asm_types_h" = xyes
7911 then :
7912 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_asm_user_h" = xyes
7917 then :
7918 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_elf_h" = xyes
7923 then :
7924 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_float_h" = xyes
7929 then :
7930 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_gettext_po_h" = xyes
7935 then :
7936 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_libproc_h" = xyes
7941 then :
7942 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_link_h" = xyes
7947 then :
7948 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7953 then :
7954 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_linux_filter_h" = xyes
7959 then :
7960 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7965 then :
7966 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7971 then :
7972 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_linux_input_h" = xyes
7977 then :
7978 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7983 then :
7984 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_linux_major_h" = xyes
7989 then :
7990 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_linux_param_h" = xyes
7995 then :
7996 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_linux_serial_h" = xyes
8001 then :
8002 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_linux_types_h" = xyes
8007 then :
8008 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8013 then :
8014 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_lwp_h" = xyes
8019 then :
8020 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8025 then :
8026 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_mach_mach_h" = xyes
8031 then :
8032 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_machine_cpu_h" = xyes
8037 then :
8038 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8043 then :
8044 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_mntent_h" = xyes
8049 then :
8050 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_netdb_h" = xyes
8055 then :
8056 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_netinet_in_h" = xyes
8061 then :
8062 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8067 then :
8068 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8073 then :
8074 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8079 then :
8080 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8085 then :
8086 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_port_h" = xyes
8091 then :
8092 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_pthread_h" = xyes
8097 then :
8098 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_pwd_h" = xyes
8103 then :
8104 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8109 then :
8110 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_sched_h" = xyes
8115 then :
8116 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8121 then :
8122 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8127 then :
8128 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_scsi_sg_h" = xyes
8133 then :
8134 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_stdint_h" = xyes
8139 then :
8140 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_attr_h" = xyes
8145 then :
8146 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_auxv_h" = xyes
8151 then :
8152 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_cdio_h" = xyes
8157 then :
8158 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_epoll_h" = xyes
8163 then :
8164 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_event_h" = xyes
8169 then :
8170 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_filio_h" = xyes
8175 then :
8176 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_ipc_h" = xyes
8181 then :
8182 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_link_h" = xyes
8187 then :
8188 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_modem_h" = xyes
8193 then :
8194 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_mtio_h" = xyes
8199 then :
8200 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_param_h" = xyes
8205 then :
8206 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_prctl_h" = xyes
8211 then :
8212 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8217 then :
8218 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_queue_h" = xyes
8223 then :
8224 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_random_h" = xyes
8229 then :
8230 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_resource_h" = xyes
8235 then :
8236 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8241 then :
8242 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_shm_h" = xyes
8247 then :
8248 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_signal_h" = xyes
8253 then :
8254 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8259 then :
8260 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_sockio_h" = xyes
8265 then :
8266 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8271 then :
8272 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_strtio_h" = xyes
8277 then :
8278 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_sys_syscall_h" = xyes
8283 then :
8284 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8289 then :
8290 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_sys_times_h" = xyes
8295 then :
8296 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_sys_uio_h" = xyes
8301 then :
8302 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_sys_user_h" = xyes
8307 then :
8308 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8311 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8312 if test "x$ac_cv_header_sys_utsname_h" = xyes
8313 then :
8314 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8317 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8318 if test "x$ac_cv_header_sys_vnode_h" = xyes
8319 then :
8320 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8323 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8324 if test "x$ac_cv_header_syscall_h" = xyes
8325 then :
8326 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8329 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8330 if test "x$ac_cv_header_utime_h" = xyes
8331 then :
8332 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8335 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8337 then :
8338 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8341 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8342 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8343 then :
8344 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8348 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8349 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8350 then :
8352 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8356 if test $ac_cv_header_sys_mkdev_h = no; then
8357 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8358 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8359 then :
8361 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8367 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8368 if test ${ac_cv_header_stat_broken+y}
8369 then :
8370 printf %s "(cached) " >&6
8371 else $as_nop
8372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8373 /* end confdefs.h. */
8374 #include <sys/types.h>
8375 #include <sys/stat.h>
8377 #if defined S_ISBLK && defined S_IFDIR
8378 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8379 #endif
8381 #if defined S_ISBLK && defined S_IFCHR
8382 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8383 #endif
8385 #if defined S_ISLNK && defined S_IFREG
8386 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8387 #endif
8389 #if defined S_ISSOCK && defined S_IFREG
8390 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8391 #endif
8393 _ACEOF
8394 if ac_fn_c_try_compile "$LINENO"
8395 then :
8396 ac_cv_header_stat_broken=no
8397 else $as_nop
8398 ac_cv_header_stat_broken=yes
8400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8403 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8404 if test $ac_cv_header_stat_broken = yes; then
8406 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8412 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8413 #ifdef HAVE_SYS_PARAM_H
8414 # include <sys/param.h>
8415 #endif
8417 if test "x$ac_cv_header_sys_conf_h" = xyes
8418 then :
8419 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8422 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8423 #ifdef HAVE_SYS_PARAM_H
8424 # include <sys/param.h>
8425 #endif
8427 if test "x$ac_cv_header_sys_mount_h" = xyes
8428 then :
8429 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8432 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8433 #ifdef HAVE_SYS_PARAM_H
8434 # include <sys/param.h>
8435 #endif
8437 if test "x$ac_cv_header_sys_statfs_h" = xyes
8438 then :
8439 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8442 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8443 #ifdef HAVE_SYS_PARAM_H
8444 # include <sys/param.h>
8445 #endif
8447 if test "x$ac_cv_header_sys_user_h" = xyes
8448 then :
8449 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8452 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8453 #ifdef HAVE_SYS_PARAM_H
8454 # include <sys/param.h>
8455 #endif
8457 if test "x$ac_cv_header_sys_vfs_h" = xyes
8458 then :
8459 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8464 saved_sysctl_h_CFLAGS=$CFLAGS
8465 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8466 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8467 #ifdef HAVE_SYS_PARAM_H
8468 # include <sys/param.h>
8469 #endif
8471 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8472 then :
8473 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8477 CFLAGS=$saved_sysctl_h_CFLAGS
8479 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8480 #include <sys/socket.h>
8481 #ifdef HAVE_SYS_SOCKETVAR_H
8482 # include <sys/socketvar.h>
8483 #endif
8484 #ifdef HAVE_NET_ROUTE_H
8485 # include <net/route.h>
8486 #endif
8487 #ifdef HAVE_NETINET_IN_H
8488 # include <netinet/in.h>
8489 #endif
8490 #ifdef HAVE_NETINET_IN_SYSTM_H
8491 # include <netinet/in_systm.h>
8492 #endif
8493 #ifdef HAVE_NET_IF_H
8494 # include <net/if.h>
8495 #endif
8496 #ifdef HAVE_NETINET_IP_H
8497 # include <netinet/ip.h>
8498 #endif
8500 if test "x$ac_cv_header_netinet_ip_h" = xyes
8501 then :
8502 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8505 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8506 #include <sys/socket.h>
8507 #ifdef HAVE_SYS_SOCKETVAR_H
8508 # include <sys/socketvar.h>
8509 #endif
8510 #ifdef HAVE_NET_ROUTE_H
8511 # include <net/route.h>
8512 #endif
8513 #ifdef HAVE_NETINET_IN_H
8514 # include <netinet/in.h>
8515 #endif
8516 #ifdef HAVE_NETINET_IN_SYSTM_H
8517 # include <netinet/in_systm.h>
8518 #endif
8519 #ifdef HAVE_NET_IF_H
8520 # include <net/if.h>
8521 #endif
8522 #ifdef HAVE_NETINET_IP_H
8523 # include <netinet/ip.h>
8524 #endif
8526 if test "x$ac_cv_header_net_if_h" = xyes
8527 then :
8528 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8531 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8532 #include <sys/socket.h>
8533 #ifdef HAVE_SYS_SOCKETVAR_H
8534 # include <sys/socketvar.h>
8535 #endif
8536 #ifdef HAVE_NET_ROUTE_H
8537 # include <net/route.h>
8538 #endif
8539 #ifdef HAVE_NETINET_IN_H
8540 # include <netinet/in.h>
8541 #endif
8542 #ifdef HAVE_NETINET_IN_SYSTM_H
8543 # include <netinet/in_systm.h>
8544 #endif
8545 #ifdef HAVE_NET_IF_H
8546 # include <net/if.h>
8547 #endif
8548 #ifdef HAVE_NETINET_IP_H
8549 # include <netinet/ip.h>
8550 #endif
8552 if test "x$ac_cv_header_net_if_arp_h" = xyes
8553 then :
8554 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8557 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8558 #include <sys/socket.h>
8559 #ifdef HAVE_SYS_SOCKETVAR_H
8560 # include <sys/socketvar.h>
8561 #endif
8562 #ifdef HAVE_NET_ROUTE_H
8563 # include <net/route.h>
8564 #endif
8565 #ifdef HAVE_NETINET_IN_H
8566 # include <netinet/in.h>
8567 #endif
8568 #ifdef HAVE_NETINET_IN_SYSTM_H
8569 # include <netinet/in_systm.h>
8570 #endif
8571 #ifdef HAVE_NET_IF_H
8572 # include <net/if.h>
8573 #endif
8574 #ifdef HAVE_NETINET_IP_H
8575 # include <netinet/ip.h>
8576 #endif
8578 if test "x$ac_cv_header_net_if_dl_h" = xyes
8579 then :
8580 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8583 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8584 #include <sys/socket.h>
8585 #ifdef HAVE_SYS_SOCKETVAR_H
8586 # include <sys/socketvar.h>
8587 #endif
8588 #ifdef HAVE_NET_ROUTE_H
8589 # include <net/route.h>
8590 #endif
8591 #ifdef HAVE_NETINET_IN_H
8592 # include <netinet/in.h>
8593 #endif
8594 #ifdef HAVE_NETINET_IN_SYSTM_H
8595 # include <netinet/in_systm.h>
8596 #endif
8597 #ifdef HAVE_NET_IF_H
8598 # include <net/if.h>
8599 #endif
8600 #ifdef HAVE_NETINET_IP_H
8601 # include <netinet/ip.h>
8602 #endif
8604 if test "x$ac_cv_header_net_if_types_h" = xyes
8605 then :
8606 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8609 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8610 #include <sys/socket.h>
8611 #ifdef HAVE_SYS_SOCKETVAR_H
8612 # include <sys/socketvar.h>
8613 #endif
8614 #ifdef HAVE_NET_ROUTE_H
8615 # include <net/route.h>
8616 #endif
8617 #ifdef HAVE_NETINET_IN_H
8618 # include <netinet/in.h>
8619 #endif
8620 #ifdef HAVE_NETINET_IN_SYSTM_H
8621 # include <netinet/in_systm.h>
8622 #endif
8623 #ifdef HAVE_NET_IF_H
8624 # include <net/if.h>
8625 #endif
8626 #ifdef HAVE_NETINET_IP_H
8627 # include <netinet/ip.h>
8628 #endif
8630 if test "x$ac_cv_header_net_route_h" = xyes
8631 then :
8632 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8635 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8636 #include <sys/socket.h>
8637 #ifdef HAVE_SYS_SOCKETVAR_H
8638 # include <sys/socketvar.h>
8639 #endif
8640 #ifdef HAVE_NET_ROUTE_H
8641 # include <net/route.h>
8642 #endif
8643 #ifdef HAVE_NETINET_IN_H
8644 # include <netinet/in.h>
8645 #endif
8646 #ifdef HAVE_NETINET_IN_SYSTM_H
8647 # include <netinet/in_systm.h>
8648 #endif
8649 #ifdef HAVE_NET_IF_H
8650 # include <net/if.h>
8651 #endif
8652 #ifdef HAVE_NETINET_IP_H
8653 # include <netinet/ip.h>
8654 #endif
8656 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8657 then :
8658 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8661 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8662 #include <sys/socket.h>
8663 #ifdef HAVE_SYS_SOCKETVAR_H
8664 # include <sys/socketvar.h>
8665 #endif
8666 #ifdef HAVE_NET_ROUTE_H
8667 # include <net/route.h>
8668 #endif
8669 #ifdef HAVE_NETINET_IN_H
8670 # include <netinet/in.h>
8671 #endif
8672 #ifdef HAVE_NETINET_IN_SYSTM_H
8673 # include <netinet/in_systm.h>
8674 #endif
8675 #ifdef HAVE_NET_IF_H
8676 # include <net/if.h>
8677 #endif
8678 #ifdef HAVE_NETINET_IP_H
8679 # include <netinet/ip.h>
8680 #endif
8682 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8683 then :
8684 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8687 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8688 #include <sys/socket.h>
8689 #ifdef HAVE_SYS_SOCKETVAR_H
8690 # include <sys/socketvar.h>
8691 #endif
8692 #ifdef HAVE_NET_ROUTE_H
8693 # include <net/route.h>
8694 #endif
8695 #ifdef HAVE_NETINET_IN_H
8696 # include <netinet/in.h>
8697 #endif
8698 #ifdef HAVE_NETINET_IN_SYSTM_H
8699 # include <netinet/in_systm.h>
8700 #endif
8701 #ifdef HAVE_NET_IF_H
8702 # include <net/if.h>
8703 #endif
8704 #ifdef HAVE_NETINET_IP_H
8705 # include <netinet/ip.h>
8706 #endif
8708 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8709 then :
8710 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8713 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8714 #include <sys/socket.h>
8715 #ifdef HAVE_SYS_SOCKETVAR_H
8716 # include <sys/socketvar.h>
8717 #endif
8718 #ifdef HAVE_NET_ROUTE_H
8719 # include <net/route.h>
8720 #endif
8721 #ifdef HAVE_NETINET_IN_H
8722 # include <netinet/in.h>
8723 #endif
8724 #ifdef HAVE_NETINET_IN_SYSTM_H
8725 # include <netinet/in_systm.h>
8726 #endif
8727 #ifdef HAVE_NET_IF_H
8728 # include <net/if.h>
8729 #endif
8730 #ifdef HAVE_NETINET_IP_H
8731 # include <netinet/ip.h>
8732 #endif
8734 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8735 then :
8736 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8739 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8740 #include <sys/socket.h>
8741 #ifdef HAVE_SYS_SOCKETVAR_H
8742 # include <sys/socketvar.h>
8743 #endif
8744 #ifdef HAVE_NET_ROUTE_H
8745 # include <net/route.h>
8746 #endif
8747 #ifdef HAVE_NETINET_IN_H
8748 # include <netinet/in.h>
8749 #endif
8750 #ifdef HAVE_NETINET_IN_SYSTM_H
8751 # include <netinet/in_systm.h>
8752 #endif
8753 #ifdef HAVE_NET_IF_H
8754 # include <net/if.h>
8755 #endif
8756 #ifdef HAVE_NETINET_IP_H
8757 # include <netinet/ip.h>
8758 #endif
8760 if test "x$ac_cv_header_netinet_udp_h" = xyes
8761 then :
8762 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8765 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8766 #include <sys/socket.h>
8767 #ifdef HAVE_SYS_SOCKETVAR_H
8768 # include <sys/socketvar.h>
8769 #endif
8770 #ifdef HAVE_NET_ROUTE_H
8771 # include <net/route.h>
8772 #endif
8773 #ifdef HAVE_NETINET_IN_H
8774 # include <netinet/in.h>
8775 #endif
8776 #ifdef HAVE_NETINET_IN_SYSTM_H
8777 # include <netinet/in_systm.h>
8778 #endif
8779 #ifdef HAVE_NET_IF_H
8780 # include <net/if.h>
8781 #endif
8782 #ifdef HAVE_NETINET_IP_H
8783 # include <netinet/ip.h>
8784 #endif
8786 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8787 then :
8788 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8791 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8792 #include <sys/socket.h>
8793 #ifdef HAVE_SYS_SOCKETVAR_H
8794 # include <sys/socketvar.h>
8795 #endif
8796 #ifdef HAVE_NET_ROUTE_H
8797 # include <net/route.h>
8798 #endif
8799 #ifdef HAVE_NETINET_IN_H
8800 # include <netinet/in.h>
8801 #endif
8802 #ifdef HAVE_NETINET_IN_SYSTM_H
8803 # include <netinet/in_systm.h>
8804 #endif
8805 #ifdef HAVE_NET_IF_H
8806 # include <net/if.h>
8807 #endif
8808 #ifdef HAVE_NETINET_IP_H
8809 # include <netinet/ip.h>
8810 #endif
8812 if test "x$ac_cv_header_sys_un_h" = xyes
8813 then :
8814 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8819 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8820 #include <sys/socket.h>
8821 #ifdef HAVE_SYS_SOCKETVAR_H
8822 # include <sys/socketvar.h>
8823 #endif
8824 #ifdef HAVE_NETINET_IN_H
8825 # include <netinet/in.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IN_SYSTM_H
8828 # include <netinet/in_systm.h>
8829 #endif
8830 #ifdef HAVE_NETINET_IP_H
8831 # include <netinet/ip.h>
8832 #endif
8833 #ifdef HAVE_NETINET_IP_VAR_H
8834 # include <netinet/ip_var.h>
8835 #endif
8836 #ifdef HAVE_NETINET_IP_ICMP_H
8837 # include <netinet/ip_icmp.h>
8838 #endif
8839 #ifdef HAVE_NETINET_UDP_H
8840 # include <netinet/udp.h>
8841 #endif
8842 #ifdef HAVE_NETINET_TCP_H
8843 # include <netinet/tcp.h>
8844 #endif
8846 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8847 then :
8848 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8851 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8852 #include <sys/socket.h>
8853 #ifdef HAVE_SYS_SOCKETVAR_H
8854 # include <sys/socketvar.h>
8855 #endif
8856 #ifdef HAVE_NETINET_IN_H
8857 # include <netinet/in.h>
8858 #endif
8859 #ifdef HAVE_NETINET_IN_SYSTM_H
8860 # include <netinet/in_systm.h>
8861 #endif
8862 #ifdef HAVE_NETINET_IP_H
8863 # include <netinet/ip.h>
8864 #endif
8865 #ifdef HAVE_NETINET_IP_VAR_H
8866 # include <netinet/ip_var.h>
8867 #endif
8868 #ifdef HAVE_NETINET_IP_ICMP_H
8869 # include <netinet/ip_icmp.h>
8870 #endif
8871 #ifdef HAVE_NETINET_UDP_H
8872 # include <netinet/udp.h>
8873 #endif
8874 #ifdef HAVE_NETINET_TCP_H
8875 # include <netinet/tcp.h>
8876 #endif
8878 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8879 then :
8880 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8883 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8884 #include <sys/socket.h>
8885 #ifdef HAVE_SYS_SOCKETVAR_H
8886 # include <sys/socketvar.h>
8887 #endif
8888 #ifdef HAVE_NETINET_IN_H
8889 # include <netinet/in.h>
8890 #endif
8891 #ifdef HAVE_NETINET_IN_SYSTM_H
8892 # include <netinet/in_systm.h>
8893 #endif
8894 #ifdef HAVE_NETINET_IP_H
8895 # include <netinet/ip.h>
8896 #endif
8897 #ifdef HAVE_NETINET_IP_VAR_H
8898 # include <netinet/ip_var.h>
8899 #endif
8900 #ifdef HAVE_NETINET_IP_ICMP_H
8901 # include <netinet/ip_icmp.h>
8902 #endif
8903 #ifdef HAVE_NETINET_UDP_H
8904 # include <netinet/udp.h>
8905 #endif
8906 #ifdef HAVE_NETINET_TCP_H
8907 # include <netinet/tcp.h>
8908 #endif
8910 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8911 then :
8912 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8917 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8918 #include <sys/socket.h>
8919 #ifdef HAVE_ASM_TYPES_H
8920 # include <asm/types.h>
8921 #endif
8922 #ifdef HAVE_LINUX_TYPES_H
8923 # include <linux/types.h>
8924 #endif
8926 if test "x$ac_cv_header_linux_ipx_h" = xyes
8927 then :
8928 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8931 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8932 #include <sys/socket.h>
8933 #ifdef HAVE_ASM_TYPES_H
8934 # include <asm/types.h>
8935 #endif
8936 #ifdef HAVE_LINUX_TYPES_H
8937 # include <linux/types.h>
8938 #endif
8940 if test "x$ac_cv_header_linux_irda_h" = xyes
8941 then :
8942 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8945 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8946 #include <sys/socket.h>
8947 #ifdef HAVE_ASM_TYPES_H
8948 # include <asm/types.h>
8949 #endif
8950 #ifdef HAVE_LINUX_TYPES_H
8951 # include <linux/types.h>
8952 #endif
8954 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8955 then :
8956 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8961 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8962 #include <sys/socket.h>
8963 #ifdef HAVE_NETINET_IN_H
8964 # include <netinet/in.h>
8965 #endif
8966 #ifdef HAVE_ARPA_NAMESER_H
8967 # include <arpa/nameser.h>
8968 #endif
8970 if test "x$ac_cv_header_resolv_h" = xyes
8971 then :
8972 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8977 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8979 if test "x$ac_cv_header_ifaddrs_h" = xyes
8980 then :
8981 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8986 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8988 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8989 then :
8990 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
8995 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
8996 #ifdef HAVE_SYS_UCONTEXT_H
8997 #include <sys/ucontext.h>
8998 #endif
9000 if test "x$ac_cv_header_sys_thr_h" = xyes
9001 then :
9002 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9007 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9008 #include <pthread.h>
9009 #endif
9011 if test "x$ac_cv_header_pthread_np_h" = xyes
9012 then :
9013 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9018 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9019 #include <sys/types.h>
9020 #ifdef HAVE_ASM_TYPES_H
9021 #include <asm/types.h>
9022 #endif
9024 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9025 then :
9026 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9031 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9032 #include <sys/param.h>
9033 #endif
9034 #include <sys/socket.h>
9035 #ifdef HAVE_SYS_QUEUE_H
9036 #include <sys/queue.h>
9037 #endif
9039 if test "x$ac_cv_header_libprocstat_h" = xyes
9040 then :
9041 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9047 DLLFLAGS=""
9049 LDDLLFLAGS=""
9051 LDEXECFLAGS=""
9053 EXTRACFLAGS=""
9055 UNIXDLLFLAGS="-fPIC"
9057 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9059 TOP_INSTALL_LIB=""
9061 TOP_INSTALL_DEV=""
9063 WINELOADER_LDFLAGS=""
9065 WINEPRELOADER_LDFLAGS=""
9067 LIBEXT="so"
9068 # Extract the first word of "ldd", so it can be a program name with args.
9069 set dummy ldd; ac_word=$2
9070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9071 printf %s "checking for $ac_word... " >&6; }
9072 if test ${ac_cv_path_LDD+y}
9073 then :
9074 printf %s "(cached) " >&6
9075 else $as_nop
9076 case $LDD in
9077 [\\/]* | ?:[\\/]*)
9078 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9082 as_dummy="/sbin:/usr/sbin:$PATH"
9083 for as_dir in $as_dummy
9085 IFS=$as_save_IFS
9086 case $as_dir in #(((
9087 '') as_dir=./ ;;
9088 */) ;;
9089 *) as_dir=$as_dir/ ;;
9090 esac
9091 for ac_exec_ext in '' $ac_executable_extensions; do
9092 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9093 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9095 break 2
9097 done
9098 done
9099 IFS=$as_save_IFS
9101 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9103 esac
9105 LDD=$ac_cv_path_LDD
9106 if test -n "$LDD"; then
9107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9108 printf "%s\n" "$LDD" >&6; }
9109 else
9110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9111 printf "%s\n" "no" >&6; }
9115 if test -n "$ac_tool_prefix"; then
9116 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9117 set dummy ${ac_tool_prefix}otool; ac_word=$2
9118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9119 printf %s "checking for $ac_word... " >&6; }
9120 if test ${ac_cv_prog_OTOOL+y}
9121 then :
9122 printf %s "(cached) " >&6
9123 else $as_nop
9124 if test -n "$OTOOL"; then
9125 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9126 else
9127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9128 for as_dir in $PATH
9130 IFS=$as_save_IFS
9131 case $as_dir in #(((
9132 '') as_dir=./ ;;
9133 */) ;;
9134 *) as_dir=$as_dir/ ;;
9135 esac
9136 for ac_exec_ext in '' $ac_executable_extensions; do
9137 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9138 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9140 break 2
9142 done
9143 done
9144 IFS=$as_save_IFS
9148 OTOOL=$ac_cv_prog_OTOOL
9149 if test -n "$OTOOL"; then
9150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9151 printf "%s\n" "$OTOOL" >&6; }
9152 else
9153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9154 printf "%s\n" "no" >&6; }
9159 if test -z "$ac_cv_prog_OTOOL"; then
9160 ac_ct_OTOOL=$OTOOL
9161 # Extract the first word of "otool", so it can be a program name with args.
9162 set dummy otool; ac_word=$2
9163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9164 printf %s "checking for $ac_word... " >&6; }
9165 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9166 then :
9167 printf %s "(cached) " >&6
9168 else $as_nop
9169 if test -n "$ac_ct_OTOOL"; then
9170 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9171 else
9172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9173 for as_dir in $PATH
9175 IFS=$as_save_IFS
9176 case $as_dir in #(((
9177 '') as_dir=./ ;;
9178 */) ;;
9179 *) as_dir=$as_dir/ ;;
9180 esac
9181 for ac_exec_ext in '' $ac_executable_extensions; do
9182 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9183 ac_cv_prog_ac_ct_OTOOL="otool"
9184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9185 break 2
9187 done
9188 done
9189 IFS=$as_save_IFS
9193 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9194 if test -n "$ac_ct_OTOOL"; then
9195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9196 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9197 else
9198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9199 printf "%s\n" "no" >&6; }
9202 if test "x$ac_ct_OTOOL" = x; then
9203 OTOOL="otool"
9204 else
9205 case $cross_compiling:$ac_tool_warned in
9206 yes:)
9207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9208 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9209 ac_tool_warned=yes ;;
9210 esac
9211 OTOOL=$ac_ct_OTOOL
9213 else
9214 OTOOL="$ac_cv_prog_OTOOL"
9217 if test -n "$ac_tool_prefix"; then
9218 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9219 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9221 printf %s "checking for $ac_word... " >&6; }
9222 if test ${ac_cv_prog_READELF+y}
9223 then :
9224 printf %s "(cached) " >&6
9225 else $as_nop
9226 if test -n "$READELF"; then
9227 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9228 else
9229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9230 for as_dir in $PATH
9232 IFS=$as_save_IFS
9233 case $as_dir in #(((
9234 '') as_dir=./ ;;
9235 */) ;;
9236 *) as_dir=$as_dir/ ;;
9237 esac
9238 for ac_exec_ext in '' $ac_executable_extensions; do
9239 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9240 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9242 break 2
9244 done
9245 done
9246 IFS=$as_save_IFS
9250 READELF=$ac_cv_prog_READELF
9251 if test -n "$READELF"; then
9252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9253 printf "%s\n" "$READELF" >&6; }
9254 else
9255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9256 printf "%s\n" "no" >&6; }
9261 if test -z "$ac_cv_prog_READELF"; then
9262 ac_ct_READELF=$READELF
9263 # Extract the first word of "readelf", so it can be a program name with args.
9264 set dummy readelf; ac_word=$2
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9266 printf %s "checking for $ac_word... " >&6; }
9267 if test ${ac_cv_prog_ac_ct_READELF+y}
9268 then :
9269 printf %s "(cached) " >&6
9270 else $as_nop
9271 if test -n "$ac_ct_READELF"; then
9272 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9273 else
9274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9275 for as_dir in $PATH
9277 IFS=$as_save_IFS
9278 case $as_dir in #(((
9279 '') as_dir=./ ;;
9280 */) ;;
9281 *) as_dir=$as_dir/ ;;
9282 esac
9283 for ac_exec_ext in '' $ac_executable_extensions; do
9284 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9285 ac_cv_prog_ac_ct_READELF="readelf"
9286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9287 break 2
9289 done
9290 done
9291 IFS=$as_save_IFS
9295 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9296 if test -n "$ac_ct_READELF"; then
9297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9298 printf "%s\n" "$ac_ct_READELF" >&6; }
9299 else
9300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9301 printf "%s\n" "no" >&6; }
9304 if test "x$ac_ct_READELF" = x; then
9305 READELF="true"
9306 else
9307 case $cross_compiling:$ac_tool_warned in
9308 yes:)
9309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9310 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9311 ac_tool_warned=yes ;;
9312 esac
9313 READELF=$ac_ct_READELF
9315 else
9316 READELF="$ac_cv_prog_READELF"
9319 wine_rules="all:"
9320 SUBDIRS=""
9322 DISABLED_SUBDIRS=""
9324 CONFIGURE_TARGETS=""
9327 wine_fn_append_file ()
9329 as_fn_append $1 " \\$as_nl $2"
9332 wine_fn_append_rule ()
9334 as_fn_append wine_rules "$as_nl$1"
9337 wine_fn_config_makefile ()
9339 wine_fn_append_file SUBDIRS $1
9340 if eval test \"x\$"$2"\" = x"no"
9341 then :
9342 wine_fn_append_file DISABLED_SUBDIRS $1
9346 wine_fn_config_symlink ()
9348 ac_links=$@
9349 wine_fn_append_rule \
9350 "$ac_links:
9351 @./config.status \$@"
9352 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9355 wine_binary="wine"
9356 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9357 WINELOADER_PROGRAMS="$wine_binary"
9359 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9361 case $host_os in
9362 cygwin*|mingw32*)
9363 if test -n "$ac_tool_prefix"; then
9364 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9365 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9367 printf %s "checking for $ac_word... " >&6; }
9368 if test ${ac_cv_prog_DLLTOOL+y}
9369 then :
9370 printf %s "(cached) " >&6
9371 else $as_nop
9372 if test -n "$DLLTOOL"; then
9373 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9374 else
9375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9376 for as_dir in $PATH
9378 IFS=$as_save_IFS
9379 case $as_dir in #(((
9380 '') as_dir=./ ;;
9381 */) ;;
9382 *) as_dir=$as_dir/ ;;
9383 esac
9384 for ac_exec_ext in '' $ac_executable_extensions; do
9385 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9386 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9388 break 2
9390 done
9391 done
9392 IFS=$as_save_IFS
9396 DLLTOOL=$ac_cv_prog_DLLTOOL
9397 if test -n "$DLLTOOL"; then
9398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9399 printf "%s\n" "$DLLTOOL" >&6; }
9400 else
9401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9402 printf "%s\n" "no" >&6; }
9407 if test -z "$ac_cv_prog_DLLTOOL"; then
9408 ac_ct_DLLTOOL=$DLLTOOL
9409 # Extract the first word of "dlltool", so it can be a program name with args.
9410 set dummy dlltool; ac_word=$2
9411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9412 printf %s "checking for $ac_word... " >&6; }
9413 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9414 then :
9415 printf %s "(cached) " >&6
9416 else $as_nop
9417 if test -n "$ac_ct_DLLTOOL"; then
9418 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9419 else
9420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9421 for as_dir in $PATH
9423 IFS=$as_save_IFS
9424 case $as_dir in #(((
9425 '') as_dir=./ ;;
9426 */) ;;
9427 *) as_dir=$as_dir/ ;;
9428 esac
9429 for ac_exec_ext in '' $ac_executable_extensions; do
9430 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9431 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9433 break 2
9435 done
9436 done
9437 IFS=$as_save_IFS
9441 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9442 if test -n "$ac_ct_DLLTOOL"; then
9443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9444 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9445 else
9446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9447 printf "%s\n" "no" >&6; }
9450 if test "x$ac_ct_DLLTOOL" = x; then
9451 DLLTOOL="false"
9452 else
9453 case $cross_compiling:$ac_tool_warned in
9454 yes:)
9455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9456 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9457 ac_tool_warned=yes ;;
9458 esac
9459 DLLTOOL=$ac_ct_DLLTOOL
9461 else
9462 DLLTOOL="$ac_cv_prog_DLLTOOL"
9465 LIBEXT="dll"
9466 EXTRACFLAGS="-D__WINE_PE_BUILD"
9467 case $host_cpu in
9468 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9469 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9470 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9471 then :
9472 printf %s "(cached) " >&6
9473 else $as_nop
9474 ac_wine_try_cflags_saved=$CFLAGS
9475 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9478 int main(int argc, char **argv) { return 0; }
9479 _ACEOF
9480 if ac_fn_c_try_link "$LINENO"
9481 then :
9482 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9483 else $as_nop
9484 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9487 conftest$ac_exeext conftest.$ac_ext
9488 CFLAGS=$ac_wine_try_cflags_saved
9490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9491 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9492 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9493 then :
9494 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9495 fi ;;
9496 esac
9497 enable_loader=${enable_loader:-no}
9498 enable_server=${enable_server:-no}
9499 with_x=${with_x:-no}
9500 with_pthread=${with_pthread:-no}
9503 darwin*|macosx*)
9504 ac_ext=m
9505 ac_cpp='$OBJCPP $CPPFLAGS'
9506 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9507 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9508 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9510 ac_ext=m
9511 ac_cpp='$OBJCPP $CPPFLAGS'
9512 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9513 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9514 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9515 if test -n "$ac_tool_prefix"; then
9516 for ac_prog in gcc objcc objc cc CC clang
9518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9519 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9521 printf %s "checking for $ac_word... " >&6; }
9522 if test ${ac_cv_prog_OBJC+y}
9523 then :
9524 printf %s "(cached) " >&6
9525 else $as_nop
9526 if test -n "$OBJC"; then
9527 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9528 else
9529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9530 for as_dir in $PATH
9532 IFS=$as_save_IFS
9533 case $as_dir in #(((
9534 '') as_dir=./ ;;
9535 */) ;;
9536 *) as_dir=$as_dir/ ;;
9537 esac
9538 for ac_exec_ext in '' $ac_executable_extensions; do
9539 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9540 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9542 break 2
9544 done
9545 done
9546 IFS=$as_save_IFS
9550 OBJC=$ac_cv_prog_OBJC
9551 if test -n "$OBJC"; then
9552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9553 printf "%s\n" "$OBJC" >&6; }
9554 else
9555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9556 printf "%s\n" "no" >&6; }
9560 test -n "$OBJC" && break
9561 done
9563 if test -z "$OBJC"; then
9564 ac_ct_OBJC=$OBJC
9565 for ac_prog in gcc objcc objc cc CC clang
9567 # Extract the first word of "$ac_prog", so it can be a program name with args.
9568 set dummy $ac_prog; ac_word=$2
9569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9570 printf %s "checking for $ac_word... " >&6; }
9571 if test ${ac_cv_prog_ac_ct_OBJC+y}
9572 then :
9573 printf %s "(cached) " >&6
9574 else $as_nop
9575 if test -n "$ac_ct_OBJC"; then
9576 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9577 else
9578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9579 for as_dir in $PATH
9581 IFS=$as_save_IFS
9582 case $as_dir in #(((
9583 '') as_dir=./ ;;
9584 */) ;;
9585 *) as_dir=$as_dir/ ;;
9586 esac
9587 for ac_exec_ext in '' $ac_executable_extensions; do
9588 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9589 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9591 break 2
9593 done
9594 done
9595 IFS=$as_save_IFS
9599 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9600 if test -n "$ac_ct_OBJC"; then
9601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9602 printf "%s\n" "$ac_ct_OBJC" >&6; }
9603 else
9604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9605 printf "%s\n" "no" >&6; }
9609 test -n "$ac_ct_OBJC" && break
9610 done
9612 if test "x$ac_ct_OBJC" = x; then
9613 OBJC="gcc"
9614 else
9615 case $cross_compiling:$ac_tool_warned in
9616 yes:)
9617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9618 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9619 ac_tool_warned=yes ;;
9620 esac
9621 OBJC=$ac_ct_OBJC
9625 # Provide some information about the compiler.
9626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9627 set X $ac_compile
9628 ac_compiler=$2
9629 for ac_option in --version -v -V -qversion; do
9630 { { ac_try="$ac_compiler $ac_option >&5"
9631 case "(($ac_try" in
9632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9633 *) ac_try_echo=$ac_try;;
9634 esac
9635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9636 printf "%s\n" "$ac_try_echo"; } >&5
9637 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9638 ac_status=$?
9639 if test -s conftest.err; then
9640 sed '10a\
9641 ... rest of stderr output deleted ...
9642 10q' conftest.err >conftest.er1
9643 cat conftest.er1 >&5
9645 rm -f conftest.er1 conftest.err
9646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9647 test $ac_status = 0; }
9648 done
9650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9651 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9652 if test ${ac_cv_objc_compiler_gnu+y}
9653 then :
9654 printf %s "(cached) " >&6
9655 else $as_nop
9656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9657 /* end confdefs.h. */
9660 main (void)
9662 #ifndef __GNUC__
9663 choke me
9664 #endif
9667 return 0;
9669 _ACEOF
9670 if ac_fn_objc_try_compile "$LINENO"
9671 then :
9672 ac_compiler_gnu=yes
9673 else $as_nop
9674 ac_compiler_gnu=no
9676 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9677 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9681 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9682 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9684 if test $ac_compiler_gnu = yes; then
9685 GOBJC=yes
9686 else
9687 GOBJC=
9689 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9690 ac_save_OBJCFLAGS=$OBJCFLAGS
9691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9692 printf %s "checking whether $OBJC accepts -g... " >&6; }
9693 if test ${ac_cv_prog_objc_g+y}
9694 then :
9695 printf %s "(cached) " >&6
9696 else $as_nop
9697 ac_save_objc_werror_flag=$ac_objc_werror_flag
9698 ac_objc_werror_flag=yes
9699 ac_cv_prog_objc_g=no
9700 OBJCFLAGS="-g"
9701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9702 /* end confdefs.h. */
9705 main (void)
9709 return 0;
9711 _ACEOF
9712 if ac_fn_objc_try_compile "$LINENO"
9713 then :
9714 ac_cv_prog_objc_g=yes
9715 else $as_nop
9716 OBJCFLAGS=""
9717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9718 /* end confdefs.h. */
9721 main (void)
9725 return 0;
9727 _ACEOF
9728 if ac_fn_objc_try_compile "$LINENO"
9729 then :
9731 else $as_nop
9732 ac_objc_werror_flag=$ac_save_objc_werror_flag
9733 OBJCFLAGS="-g"
9734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9735 /* end confdefs.h. */
9738 main (void)
9742 return 0;
9744 _ACEOF
9745 if ac_fn_objc_try_compile "$LINENO"
9746 then :
9747 ac_cv_prog_objc_g=yes
9749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9754 ac_objc_werror_flag=$ac_save_objc_werror_flag
9756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9757 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9758 if test $ac_test_OBJCFLAGS; then
9759 OBJCFLAGS=$ac_save_OBJCFLAGS
9760 elif test $ac_cv_prog_objc_g = yes; then
9761 if test "$GOBJC" = yes; then
9762 OBJCFLAGS="-g -O2"
9763 else
9764 OBJCFLAGS="-g"
9766 else
9767 if test "$GOBJC" = yes; then
9768 OBJCFLAGS="-O2"
9769 else
9770 OBJCFLAGS=
9773 ac_ext=m
9774 ac_cpp='$OBJCPP $CPPFLAGS'
9775 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9776 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9777 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9780 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9781 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9782 then :
9783 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9787 ac_ext=c
9788 ac_cpp='$CPP $CPPFLAGS'
9789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9793 LIBEXT="dylib"
9794 DLLFLAGS="$DLLFLAGS -fPIC"
9795 LDDLLFLAGS="-fPIC"
9796 COREFOUNDATION_LIBS="-framework CoreFoundation"
9798 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9800 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9802 CORESERVICES_LIBS="-framework CoreServices"
9804 APPKIT_LIBS="-framework AppKit"
9806 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9809 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9811 wine_can_build_preloader=yes
9812 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"
9813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9814 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9815 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9816 then :
9817 printf %s "(cached) " >&6
9818 else $as_nop
9819 ac_wine_try_cflags_saved=$CFLAGS
9820 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9822 /* end confdefs.h. */
9823 int main(int argc, char **argv) { return 0; }
9824 _ACEOF
9825 if ac_fn_c_try_link "$LINENO"
9826 then :
9827 ac_cv_cflags__Wl__no_new_main__e__main=yes
9828 else $as_nop
9829 ac_cv_cflags__Wl__no_new_main__e__main=no
9831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9832 conftest$ac_exeext conftest.$ac_ext
9833 CFLAGS=$ac_wine_try_cflags_saved
9835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9836 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9837 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9838 then :
9839 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9840 { 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
9841 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9842 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9843 then :
9844 printf %s "(cached) " >&6
9845 else $as_nop
9846 ac_wine_try_cflags_saved=$CFLAGS
9847 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9850 int main(int argc, char **argv) { return 0; }
9851 _ACEOF
9852 if ac_fn_c_try_link "$LINENO"
9853 then :
9854 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9855 else $as_nop
9856 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9859 conftest$ac_exeext conftest.$ac_ext
9860 CFLAGS=$ac_wine_try_cflags_saved
9862 { 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
9863 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9864 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9865 then :
9866 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9867 else $as_nop
9868 wine_can_build_preloader=no
9870 else $as_nop
9871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9872 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9873 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9874 then :
9875 printf %s "(cached) " >&6
9876 else $as_nop
9877 ac_wine_try_cflags_saved=$CFLAGS
9878 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9881 int main(int argc, char **argv) { return 0; }
9882 _ACEOF
9883 if ac_fn_c_try_link "$LINENO"
9884 then :
9885 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9886 else $as_nop
9887 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9890 conftest$ac_exeext conftest.$ac_ext
9891 CFLAGS=$ac_wine_try_cflags_saved
9893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9894 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9895 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9896 then :
9897 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9898 else $as_nop
9899 wine_can_build_preloader=no
9902 if test "$wine_can_build_preloader" = "yes"
9903 then
9904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9905 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9906 if test ${ac_cv_cflags__Wl__no_pie+y}
9907 then :
9908 printf %s "(cached) " >&6
9909 else $as_nop
9910 ac_wine_try_cflags_saved=$CFLAGS
9911 CFLAGS="$CFLAGS -Wl,-no_pie"
9912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9913 /* end confdefs.h. */
9914 int main(int argc, char **argv) { return 0; }
9915 _ACEOF
9916 if ac_fn_c_try_link "$LINENO"
9917 then :
9918 ac_cv_cflags__Wl__no_pie=yes
9919 else $as_nop
9920 ac_cv_cflags__Wl__no_pie=no
9922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9923 conftest$ac_exeext conftest.$ac_ext
9924 CFLAGS=$ac_wine_try_cflags_saved
9926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9927 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9928 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9929 then :
9930 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9932 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
9933 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9934 else
9935 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9938 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9939 then
9940 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9943 if test "$ac_cv_header_Security_Security_h" = "yes"
9944 then
9945 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9948 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9949 then
9950 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9952 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9954 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9955 then
9956 OPENAL_LIBS="-framework OpenAL"
9959 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
9961 ac_cv_lib_openal=yes
9963 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9964 then
9965 OPENCL_LIBS="-framework OpenCL"
9967 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9969 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9970 then
9971 ac_save_LIBS="$LIBS"
9972 LIBS="$LIBS $IOKIT_LIBS"
9973 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9974 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
9975 then :
9976 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
9980 LIBS="$ac_save_LIBS"
9983 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9984 then
9985 CARBON_LIBS="-framework Carbon"
9988 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9989 then
9990 METAL_LIBS="-framework Metal"
9994 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9995 then
9996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9997 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9998 ac_ext=m
9999 ac_cpp='$OBJCPP $CPPFLAGS'
10000 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10001 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10002 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10006 #include <Metal/Metal.h>
10008 main (void)
10010 id<MTLDevice> device; device.registryID;
10012 return 0;
10014 _ACEOF
10015 if ac_fn_objc_try_compile "$LINENO"
10016 then :
10017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10018 printf "%s\n" "yes" >&6; }
10020 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10022 else $as_nop
10023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10024 printf "%s\n" "no" >&6; }
10026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10027 ac_ext=c
10028 ac_cpp='$CPP $CPPFLAGS'
10029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10035 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10036 then
10037 ac_save_LIBS="$LIBS"
10038 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10039 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10040 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10041 then :
10042 enable_winemac_drv=${enable_winemac_drv:-yes}
10045 LIBS="$ac_save_LIBS"
10048 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10049 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10051 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10053 WINELOADER_DEPENDS="wine_info.plist"
10055 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10058 linux-android*)
10060 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10062 DLLFLAGS="$DLLFLAGS -fPIC"
10063 LDDLLFLAGS="-fPIC"
10064 LDEXECFLAGS="-Wl,-pie"
10065 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10067 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10068 if test ${ac_cv_cflags__Wl__z_defs+y}
10069 then :
10070 printf %s "(cached) " >&6
10071 else $as_nop
10072 ac_wine_try_cflags_saved=$CFLAGS
10073 CFLAGS="$CFLAGS -Wl,-z,defs"
10074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10076 int main(int argc, char **argv) { return 0; }
10077 _ACEOF
10078 if ac_fn_c_try_link "$LINENO"
10079 then :
10080 ac_cv_cflags__Wl__z_defs=yes
10081 else $as_nop
10082 ac_cv_cflags__Wl__z_defs=no
10084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10085 conftest$ac_exeext conftest.$ac_ext
10086 CFLAGS=$ac_wine_try_cflags_saved
10088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10089 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10090 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10091 then :
10092 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10095 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10096 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10097 then :
10098 printf %s "(cached) " >&6
10099 else $as_nop
10100 ac_wine_try_cflags_saved=$CFLAGS
10101 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10103 /* end confdefs.h. */
10104 int main(int argc, char **argv) { return 0; }
10105 _ACEOF
10106 if ac_fn_c_try_link "$LINENO"
10107 then :
10108 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10109 else $as_nop
10110 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10113 conftest$ac_exeext conftest.$ac_ext
10114 CFLAGS=$ac_wine_try_cflags_saved
10116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10117 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10118 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10119 then :
10120 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10122 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10125 printf %s "checking for -lEGL... " >&6; }
10126 if test ${ac_cv_lib_soname_EGL+y}
10127 then :
10128 printf %s "(cached) " >&6
10129 else $as_nop
10130 ac_check_soname_save_LIBS=$LIBS
10131 LIBS="-lEGL $LIBS"
10132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10133 /* end confdefs.h. */
10135 /* Override any GCC internal prototype to avoid an error.
10136 Use char because int might match the return type of a GCC
10137 builtin and then its argument prototype would still apply. */
10138 char eglGetProcAddress ();
10140 main (void)
10142 return eglGetProcAddress ();
10144 return 0;
10146 _ACEOF
10147 if ac_fn_c_try_link "$LINENO"
10148 then :
10149 case "$LIBEXT" in
10150 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10151 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'` ;;
10152 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10153 if ${ac_cv_lib_soname_EGL:+false} :
10154 then :
10155 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10156 fi ;;
10157 esac
10158 else $as_nop
10159 ac_cv_lib_soname_EGL=
10161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10162 conftest$ac_exeext conftest.$ac_ext
10163 LIBS=$ac_check_soname_save_LIBS
10165 if ${ac_cv_lib_soname_EGL:+false} :
10166 then :
10167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10168 printf "%s\n" "not found" >&6; }
10170 else $as_nop
10171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10172 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10174 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10179 printf %s "checking for -lGLESv2... " >&6; }
10180 if test ${ac_cv_lib_soname_GLESv2+y}
10181 then :
10182 printf %s "(cached) " >&6
10183 else $as_nop
10184 ac_check_soname_save_LIBS=$LIBS
10185 LIBS="-lGLESv2 $LIBS"
10186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10187 /* end confdefs.h. */
10189 /* Override any GCC internal prototype to avoid an error.
10190 Use char because int might match the return type of a GCC
10191 builtin and then its argument prototype would still apply. */
10192 char glFlush ();
10194 main (void)
10196 return glFlush ();
10198 return 0;
10200 _ACEOF
10201 if ac_fn_c_try_link "$LINENO"
10202 then :
10203 case "$LIBEXT" in
10204 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10205 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'` ;;
10206 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10207 if ${ac_cv_lib_soname_GLESv2:+false} :
10208 then :
10209 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10210 fi ;;
10211 esac
10212 else $as_nop
10213 ac_cv_lib_soname_GLESv2=
10215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10216 conftest$ac_exeext conftest.$ac_ext
10217 LIBS=$ac_check_soname_save_LIBS
10219 if ${ac_cv_lib_soname_GLESv2:+false} :
10220 then :
10221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10222 printf "%s\n" "not found" >&6; }
10224 else $as_nop
10225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10226 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10228 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10233 if test "x$exec_prefix" = xNONE
10234 then
10235 case $host_cpu in
10236 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10237 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10238 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10239 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10240 esac
10246 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10248 test "$ac_cv_sys_file_offset_bits" = 64 &&
10249 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10251 case $host_cpu in
10252 *i[3456789]86*)
10253 DLLFLAGS="$DLLFLAGS -fno-PIC"
10254 LDDLLFLAGS="-fno-PIC"
10255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10256 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10257 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10258 then :
10259 printf %s "(cached) " >&6
10260 else $as_nop
10261 ac_wine_try_cflags_saved=$CFLAGS
10262 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10264 /* end confdefs.h. */
10265 int main(int argc, char **argv) { return 0; }
10266 _ACEOF
10267 if ac_fn_c_try_link "$LINENO"
10268 then :
10269 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10270 else $as_nop
10271 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10274 conftest$ac_exeext conftest.$ac_ext
10275 CFLAGS=$ac_wine_try_cflags_saved
10277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10278 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10279 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10280 then :
10281 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10285 DLLFLAGS="$DLLFLAGS -fPIC"
10286 LDDLLFLAGS="-fPIC" ;;
10287 esac
10288 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10290 echo '{ global: *; };' >conftest.map
10291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10292 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10293 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10294 then :
10295 printf %s "(cached) " >&6
10296 else $as_nop
10297 ac_wine_try_cflags_saved=$CFLAGS
10298 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10300 /* end confdefs.h. */
10301 int main(int argc, char **argv) { return 0; }
10302 _ACEOF
10303 if ac_fn_c_try_link "$LINENO"
10304 then :
10305 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10306 else $as_nop
10307 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10310 conftest$ac_exeext conftest.$ac_ext
10311 CFLAGS=$ac_wine_try_cflags_saved
10313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10314 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10315 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10316 then :
10317 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10319 rm -f conftest.map
10321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10322 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10323 if test ${ac_cv_cflags__Wl__z_defs+y}
10324 then :
10325 printf %s "(cached) " >&6
10326 else $as_nop
10327 ac_wine_try_cflags_saved=$CFLAGS
10328 CFLAGS="$CFLAGS -Wl,-z,defs"
10329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10331 int main(int argc, char **argv) { return 0; }
10332 _ACEOF
10333 if ac_fn_c_try_link "$LINENO"
10334 then :
10335 ac_cv_cflags__Wl__z_defs=yes
10336 else $as_nop
10337 ac_cv_cflags__Wl__z_defs=no
10339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10340 conftest$ac_exeext conftest.$ac_ext
10341 CFLAGS=$ac_wine_try_cflags_saved
10343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10344 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10345 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10346 then :
10347 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10350 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10351 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10352 then :
10353 printf %s "(cached) " >&6
10354 else $as_nop
10355 ac_wine_try_cflags_saved=$CFLAGS
10356 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10359 int main(int argc, char **argv) { return 0; }
10360 _ACEOF
10361 if ac_fn_c_try_link "$LINENO"
10362 then :
10363 ac_cv_cflags__Wl___export_dynamic=yes
10364 else $as_nop
10365 ac_cv_cflags__Wl___export_dynamic=no
10367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10368 conftest$ac_exeext conftest.$ac_ext
10369 CFLAGS=$ac_wine_try_cflags_saved
10371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10372 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10373 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10374 then :
10375 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10377 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10379 case $host_cpu in
10380 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10382 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10383 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10384 then :
10385 printf %s "(cached) " >&6
10386 else $as_nop
10387 ac_wine_try_cflags_saved=$CFLAGS
10388 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10391 int main(int argc, char **argv) { return 0; }
10392 _ACEOF
10393 if ac_fn_c_try_link "$LINENO"
10394 then :
10395 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10396 else $as_nop
10397 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10400 conftest$ac_exeext conftest.$ac_ext
10401 CFLAGS=$ac_wine_try_cflags_saved
10403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10404 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10405 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10406 then :
10407 case $host_os in
10408 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10409 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10410 esac
10411 else $as_nop
10412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10413 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10414 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10415 then :
10416 printf %s "(cached) " >&6
10417 else $as_nop
10418 ac_wine_try_cflags_saved=$CFLAGS
10419 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10422 int main(int argc, char **argv) { return 0; }
10423 _ACEOF
10424 if ac_fn_c_try_link "$LINENO"
10425 then :
10426 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10427 else $as_nop
10428 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10431 conftest$ac_exeext conftest.$ac_ext
10432 CFLAGS=$ac_wine_try_cflags_saved
10434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10435 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10436 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10437 then :
10438 case $host_os in
10439 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10440 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10441 esac
10443 # Extract the first word of "prelink", so it can be a program name with args.
10444 set dummy prelink; ac_word=$2
10445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10446 printf %s "checking for $ac_word... " >&6; }
10447 if test ${ac_cv_path_PRELINK+y}
10448 then :
10449 printf %s "(cached) " >&6
10450 else $as_nop
10451 case $PRELINK in
10452 [\\/]* | ?:[\\/]*)
10453 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10457 for as_dir in /sbin /usr/sbin $PATH
10459 IFS=$as_save_IFS
10460 case $as_dir in #(((
10461 '') as_dir=./ ;;
10462 */) ;;
10463 *) as_dir=$as_dir/ ;;
10464 esac
10465 for ac_exec_ext in '' $ac_executable_extensions; do
10466 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10467 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10469 break 2
10471 done
10472 done
10473 IFS=$as_save_IFS
10475 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10477 esac
10479 PRELINK=$ac_cv_path_PRELINK
10480 if test -n "$PRELINK"; then
10481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10482 printf "%s\n" "$PRELINK" >&6; }
10483 else
10484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10485 printf "%s\n" "no" >&6; }
10489 if test "x$PRELINK" = xfalse
10490 then
10491 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10495 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10496 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10497 then :
10498 printf %s "(cached) " >&6
10499 else $as_nop
10500 ac_wine_try_cflags_saved=$CFLAGS
10501 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10503 /* end confdefs.h. */
10504 int main(int argc, char **argv) { return 0; }
10505 _ACEOF
10506 if ac_fn_c_try_link "$LINENO"
10507 then :
10508 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10509 else $as_nop
10510 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10513 conftest$ac_exeext conftest.$ac_ext
10514 CFLAGS=$ac_wine_try_cflags_saved
10516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10517 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10518 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10519 then :
10520 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10523 esac
10524 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10526 LIBWINE_DEPENDS="wine.map"
10528 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10530 esac
10532 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10533 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10534 enable_winemac_drv=${enable_winemac_drv:-no}
10537 if test "x$with_mingw" != xno
10538 then
10539 case "x$with_mingw" in
10540 x|xyes) case "$host_cpu" in
10541 aarch64*)
10542 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10543 arm*)
10544 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10545 i[3456789]86*)
10546 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
10547 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10548 mingw32-gcc clang" ;;
10549 x86_64)
10550 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
10551 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10553 ac_prefix_list="" ;;
10554 esac
10555 for ac_prog in $ac_prefix_list
10557 # Extract the first word of "$ac_prog", so it can be a program name with args.
10558 set dummy $ac_prog; ac_word=$2
10559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10560 printf %s "checking for $ac_word... " >&6; }
10561 if test ${ac_cv_prog_CROSSCC+y}
10562 then :
10563 printf %s "(cached) " >&6
10564 else $as_nop
10565 if test -n "$CROSSCC"; then
10566 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10567 else
10568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10569 for as_dir in $PATH
10571 IFS=$as_save_IFS
10572 case $as_dir in #(((
10573 '') as_dir=./ ;;
10574 */) ;;
10575 *) as_dir=$as_dir/ ;;
10576 esac
10577 for ac_exec_ext in '' $ac_executable_extensions; do
10578 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10579 ac_cv_prog_CROSSCC="$ac_prog"
10580 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10581 break 2
10583 done
10584 done
10585 IFS=$as_save_IFS
10589 CROSSCC=$ac_cv_prog_CROSSCC
10590 if test -n "$CROSSCC"; then
10591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10592 printf "%s\n" "$CROSSCC" >&6; }
10593 else
10594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10595 printf "%s\n" "no" >&6; }
10599 test -n "$CROSSCC" && break
10600 done
10601 test -n "$CROSSCC" || CROSSCC="false"
10603 *) CROSSCC=$with_mingw ;;
10604 esac
10605 if test "$CROSSCC" != "false"
10606 then
10607 ac_save_CC="$CC"
10608 saved_CFLAGS=$CFLAGS
10609 saved_LDFLAGS=$LDFLAGS
10610 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10612 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10616 CC="$CROSSCC"
10617 CFLAGS=$CROSSCFLAGS
10618 LDFLAGS=$CROSSLDFLAGS
10619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10620 printf %s "checking whether $CROSSCC works... " >&6; }
10621 if test ${wine_cv_crosscc+y}
10622 then :
10623 printf %s "(cached) " >&6
10624 else $as_nop
10625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10626 /* end confdefs.h. */
10629 main (void)
10633 return 0;
10635 _ACEOF
10636 if ac_fn_c_try_compile "$LINENO"
10637 then :
10638 wine_cv_crosscc=yes
10639 else $as_nop
10640 wine_cv_crosscc=no
10642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10645 printf "%s\n" "$wine_cv_crosscc" >&6; }
10646 if test $wine_cv_crosscc = yes
10647 then
10648 set x $CROSSCC
10649 shift
10650 while test $# -ge 1
10652 case "$1" in
10653 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10654 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10655 esac
10656 shift
10657 done
10659 llvm_target=$CROSSTARGET
10660 llvm_cflags="-fuse-ld=lld"
10661 if test -z "$llvm_target"
10662 then
10663 case $host_cpu in
10664 *i[3456789]86*) llvm_target=i686-windows ;;
10665 *) llvm_target=$host_cpu-windows ;;
10666 esac
10668 case $llvm_target in
10669 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10670 esac
10671 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10673 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10674 if eval test \${$as_ac_var+y}
10675 then :
10676 printf %s "(cached) " >&6
10677 else $as_nop
10678 ac_wine_try_cflags_saved=$CFLAGS
10679 ac_wine_try_cflags_saved_cc=$CC
10680 ac_wine_try_cflags_saved_exeext=$ac_exeext
10681 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10682 CC="$CROSSCC"
10683 ac_exeext=".exe"
10684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10685 /* end confdefs.h. */
10686 int __cdecl mainCRTStartup(void) { return 0; }
10687 _ACEOF
10688 if ac_fn_c_try_link "$LINENO"
10689 then :
10690 eval "$as_ac_var=yes"
10691 else $as_nop
10692 eval "$as_ac_var=no"
10694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10695 conftest$ac_exeext conftest.$ac_ext
10696 CFLAGS=$ac_wine_try_cflags_saved
10697 CC=$ac_wine_try_cflags_saved_cc
10698 ac_exeext=$ac_wine_try_cflags_saved_exeext
10700 eval ac_res=\$$as_ac_var
10701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10702 printf "%s\n" "$ac_res" >&6; }
10703 if eval test \"x\$"$as_ac_var"\" = x"yes"
10704 then :
10705 CROSSTARGET=$llvm_target
10706 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10707 DELAYLOADFLAG="-Wl,-delayload,"
10709 CFLAGS="$CFLAGS $llvm_cflags"
10712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CROSSCC option to enable C99 features" >&5
10713 printf %s "checking for $CROSSCC option to enable C99 features... " >&6; }
10714 if test ${wine_cv_crosscc_c99+y}
10715 then :
10716 printf %s "(cached) " >&6
10717 else $as_nop
10718 wine_cv_crosscc_c99=no
10719 for arg in '' '-std=gnu99'
10721 CC="$CROSSCC $arg"
10722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10724 $ac_c_conftest_c99_program
10725 _ACEOF
10726 if ac_fn_c_try_compile "$LINENO"
10727 then :
10728 wine_cv_crosscc_c99=$arg
10729 else $as_nop
10730 wine_cv_crosscc_c99=no
10732 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10733 test "x$wine_cv_crosscc_c99" != xno && break
10734 done
10737 case "x$wine_cv_crosscc_c99" in
10738 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10739 printf "%s\n" "none needed" >&6; } ;;
10740 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10741 printf "%s\n" "unsupported" >&6; } ;;
10742 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc_c99" >&5
10743 printf "%s\n" "$wine_cv_crosscc_c99" >&6; }
10744 CROSSCC="$CROSSCC $wine_cv_crosscc_c99" ;;
10745 esac
10747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10748 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10749 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10750 then :
10751 printf %s "(cached) " >&6
10752 else $as_nop
10753 ac_wine_try_cflags_saved=$CFLAGS
10754 ac_wine_try_cflags_saved_cc=$CC
10755 ac_wine_try_cflags_saved_exeext=$ac_exeext
10756 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10757 CC="$CROSSCC"
10758 ac_exeext=".exe"
10759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h. */
10761 int __cdecl mainCRTStartup(void) { return 0; }
10762 _ACEOF
10763 if ac_fn_c_try_link "$LINENO"
10764 then :
10765 ac_cv_crosscflags__fno_strict_aliasing=yes
10766 else $as_nop
10767 ac_cv_crosscflags__fno_strict_aliasing=no
10769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10770 conftest$ac_exeext conftest.$ac_ext
10771 CFLAGS=$ac_wine_try_cflags_saved
10772 CC=$ac_wine_try_cflags_saved_cc
10773 ac_exeext=$ac_wine_try_cflags_saved_exeext
10775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10776 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10777 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10778 then :
10779 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10782 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10783 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
10784 then :
10785 printf %s "(cached) " >&6
10786 else $as_nop
10787 ac_wine_try_cflags_saved=$CFLAGS
10788 ac_wine_try_cflags_saved_cc=$CC
10789 ac_wine_try_cflags_saved_exeext=$ac_exeext
10790 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10791 CC="$CROSSCC"
10792 ac_exeext=".exe"
10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10795 int __cdecl mainCRTStartup(void) { return 0; }
10796 _ACEOF
10797 if ac_fn_c_try_link "$LINENO"
10798 then :
10799 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10800 else $as_nop
10801 ac_cv_crosscflags__Werror_unknown_warning_option=no
10803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10804 conftest$ac_exeext conftest.$ac_ext
10805 CFLAGS=$ac_wine_try_cflags_saved
10806 CC=$ac_wine_try_cflags_saved_cc
10807 ac_exeext=$ac_wine_try_cflags_saved_exeext
10809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10810 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10811 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10812 then :
10813 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10816 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10817 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10818 then :
10819 printf %s "(cached) " >&6
10820 else $as_nop
10821 ac_wine_try_cflags_saved=$CFLAGS
10822 ac_wine_try_cflags_saved_cc=$CC
10823 ac_wine_try_cflags_saved_exeext=$ac_exeext
10824 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10825 CC="$CROSSCC"
10826 ac_exeext=".exe"
10827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10828 /* end confdefs.h. */
10829 int __cdecl mainCRTStartup(void) { return 0; }
10830 _ACEOF
10831 if ac_fn_c_try_link "$LINENO"
10832 then :
10833 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10834 else $as_nop
10835 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10838 conftest$ac_exeext conftest.$ac_ext
10839 CFLAGS=$ac_wine_try_cflags_saved
10840 CC=$ac_wine_try_cflags_saved_cc
10841 ac_exeext=$ac_wine_try_cflags_saved_exeext
10843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10844 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10845 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10846 then :
10847 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10850 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10851 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
10852 then :
10853 printf %s "(cached) " >&6
10854 else $as_nop
10855 ac_wine_try_cflags_saved=$CFLAGS
10856 ac_wine_try_cflags_saved_cc=$CC
10857 ac_wine_try_cflags_saved_exeext=$ac_exeext
10858 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10859 CC="$CROSSCC"
10860 ac_exeext=".exe"
10861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10863 int __cdecl mainCRTStartup(void) { return 0; }
10864 _ACEOF
10865 if ac_fn_c_try_link "$LINENO"
10866 then :
10867 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10868 else $as_nop
10869 ac_cv_crosscflags__Wdeclaration_after_statement=no
10871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10872 conftest$ac_exeext conftest.$ac_ext
10873 CFLAGS=$ac_wine_try_cflags_saved
10874 CC=$ac_wine_try_cflags_saved_cc
10875 ac_exeext=$ac_wine_try_cflags_saved_exeext
10877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10878 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10879 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10880 then :
10881 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10884 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10885 if test ${ac_cv_crosscflags__Wempty_body+y}
10886 then :
10887 printf %s "(cached) " >&6
10888 else $as_nop
10889 ac_wine_try_cflags_saved=$CFLAGS
10890 ac_wine_try_cflags_saved_cc=$CC
10891 ac_wine_try_cflags_saved_exeext=$ac_exeext
10892 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10893 CC="$CROSSCC"
10894 ac_exeext=".exe"
10895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10897 int __cdecl mainCRTStartup(void) { return 0; }
10898 _ACEOF
10899 if ac_fn_c_try_link "$LINENO"
10900 then :
10901 ac_cv_crosscflags__Wempty_body=yes
10902 else $as_nop
10903 ac_cv_crosscflags__Wempty_body=no
10905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10906 conftest$ac_exeext conftest.$ac_ext
10907 CFLAGS=$ac_wine_try_cflags_saved
10908 CC=$ac_wine_try_cflags_saved_cc
10909 ac_exeext=$ac_wine_try_cflags_saved_exeext
10911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10912 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
10913 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
10914 then :
10915 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10918 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10919 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
10920 then :
10921 printf %s "(cached) " >&6
10922 else $as_nop
10923 ac_wine_try_cflags_saved=$CFLAGS
10924 ac_wine_try_cflags_saved_cc=$CC
10925 ac_wine_try_cflags_saved_exeext=$ac_exeext
10926 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10927 CC="$CROSSCC"
10928 ac_exeext=".exe"
10929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10931 int __cdecl mainCRTStartup(void) { return 0; }
10932 _ACEOF
10933 if ac_fn_c_try_link "$LINENO"
10934 then :
10935 ac_cv_crosscflags__Wignored_qualifiers=yes
10936 else $as_nop
10937 ac_cv_crosscflags__Wignored_qualifiers=no
10939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10940 conftest$ac_exeext conftest.$ac_ext
10941 CFLAGS=$ac_wine_try_cflags_saved
10942 CC=$ac_wine_try_cflags_saved_cc
10943 ac_exeext=$ac_wine_try_cflags_saved_exeext
10945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10946 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10947 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
10948 then :
10949 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10952 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
10953 if test ${ac_cv_crosscflags__Winit_self+y}
10954 then :
10955 printf %s "(cached) " >&6
10956 else $as_nop
10957 ac_wine_try_cflags_saved=$CFLAGS
10958 ac_wine_try_cflags_saved_cc=$CC
10959 ac_wine_try_cflags_saved_exeext=$ac_exeext
10960 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10961 CC="$CROSSCC"
10962 ac_exeext=".exe"
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10965 int __cdecl mainCRTStartup(void) { return 0; }
10966 _ACEOF
10967 if ac_fn_c_try_link "$LINENO"
10968 then :
10969 ac_cv_crosscflags__Winit_self=yes
10970 else $as_nop
10971 ac_cv_crosscflags__Winit_self=no
10973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10974 conftest$ac_exeext conftest.$ac_ext
10975 CFLAGS=$ac_wine_try_cflags_saved
10976 CC=$ac_wine_try_cflags_saved_cc
10977 ac_exeext=$ac_wine_try_cflags_saved_exeext
10979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10980 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
10981 if test "x$ac_cv_crosscflags__Winit_self" = xyes
10982 then :
10983 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10986 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10987 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
10988 then :
10989 printf %s "(cached) " >&6
10990 else $as_nop
10991 ac_wine_try_cflags_saved=$CFLAGS
10992 ac_wine_try_cflags_saved_cc=$CC
10993 ac_wine_try_cflags_saved_exeext=$ac_exeext
10994 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10995 CC="$CROSSCC"
10996 ac_exeext=".exe"
10997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10998 /* end confdefs.h. */
10999 int __cdecl mainCRTStartup(void) { return 0; }
11000 _ACEOF
11001 if ac_fn_c_try_link "$LINENO"
11002 then :
11003 ac_cv_crosscflags__Wpacked_not_aligned=yes
11004 else $as_nop
11005 ac_cv_crosscflags__Wpacked_not_aligned=no
11007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11008 conftest$ac_exeext conftest.$ac_ext
11009 CFLAGS=$ac_wine_try_cflags_saved
11010 CC=$ac_wine_try_cflags_saved_cc
11011 ac_exeext=$ac_wine_try_cflags_saved_exeext
11013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11014 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11015 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11016 then :
11017 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11020 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11021 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11022 then :
11023 printf %s "(cached) " >&6
11024 else $as_nop
11025 ac_wine_try_cflags_saved=$CFLAGS
11026 ac_wine_try_cflags_saved_cc=$CC
11027 ac_wine_try_cflags_saved_exeext=$ac_exeext
11028 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11029 CC="$CROSSCC"
11030 ac_exeext=".exe"
11031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11033 int __cdecl mainCRTStartup(void) { return 0; }
11034 _ACEOF
11035 if ac_fn_c_try_link "$LINENO"
11036 then :
11037 ac_cv_crosscflags__Wpragma_pack=yes
11038 else $as_nop
11039 ac_cv_crosscflags__Wpragma_pack=no
11041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11042 conftest$ac_exeext conftest.$ac_ext
11043 CFLAGS=$ac_wine_try_cflags_saved
11044 CC=$ac_wine_try_cflags_saved_cc
11045 ac_exeext=$ac_wine_try_cflags_saved_exeext
11047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11048 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11049 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11050 then :
11051 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11054 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11055 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11056 then :
11057 printf %s "(cached) " >&6
11058 else $as_nop
11059 ac_wine_try_cflags_saved=$CFLAGS
11060 ac_wine_try_cflags_saved_cc=$CC
11061 ac_wine_try_cflags_saved_exeext=$ac_exeext
11062 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11063 CC="$CROSSCC"
11064 ac_exeext=".exe"
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11067 int __cdecl mainCRTStartup(void) { return 0; }
11068 _ACEOF
11069 if ac_fn_c_try_link "$LINENO"
11070 then :
11071 ac_cv_crosscflags__Wshift_overflow_2=yes
11072 else $as_nop
11073 ac_cv_crosscflags__Wshift_overflow_2=no
11075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11076 conftest$ac_exeext conftest.$ac_ext
11077 CFLAGS=$ac_wine_try_cflags_saved
11078 CC=$ac_wine_try_cflags_saved_cc
11079 ac_exeext=$ac_wine_try_cflags_saved_exeext
11081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11082 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11083 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11084 then :
11085 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11088 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11089 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11090 then :
11091 printf %s "(cached) " >&6
11092 else $as_nop
11093 ac_wine_try_cflags_saved=$CFLAGS
11094 ac_wine_try_cflags_saved_cc=$CC
11095 ac_wine_try_cflags_saved_exeext=$ac_exeext
11096 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11097 CC="$CROSSCC"
11098 ac_exeext=".exe"
11099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11100 /* end confdefs.h. */
11101 int __cdecl mainCRTStartup(void) { return 0; }
11102 _ACEOF
11103 if ac_fn_c_try_link "$LINENO"
11104 then :
11105 ac_cv_crosscflags__Wstrict_prototypes=yes
11106 else $as_nop
11107 ac_cv_crosscflags__Wstrict_prototypes=no
11109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11110 conftest$ac_exeext conftest.$ac_ext
11111 CFLAGS=$ac_wine_try_cflags_saved
11112 CC=$ac_wine_try_cflags_saved_cc
11113 ac_exeext=$ac_wine_try_cflags_saved_exeext
11115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11116 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11117 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11118 then :
11119 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11122 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11123 if test ${ac_cv_crosscflags__Wtype_limits+y}
11124 then :
11125 printf %s "(cached) " >&6
11126 else $as_nop
11127 ac_wine_try_cflags_saved=$CFLAGS
11128 ac_wine_try_cflags_saved_cc=$CC
11129 ac_wine_try_cflags_saved_exeext=$ac_exeext
11130 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11131 CC="$CROSSCC"
11132 ac_exeext=".exe"
11133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11134 /* end confdefs.h. */
11135 int __cdecl mainCRTStartup(void) { return 0; }
11136 _ACEOF
11137 if ac_fn_c_try_link "$LINENO"
11138 then :
11139 ac_cv_crosscflags__Wtype_limits=yes
11140 else $as_nop
11141 ac_cv_crosscflags__Wtype_limits=no
11143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11144 conftest$ac_exeext conftest.$ac_ext
11145 CFLAGS=$ac_wine_try_cflags_saved
11146 CC=$ac_wine_try_cflags_saved_cc
11147 ac_exeext=$ac_wine_try_cflags_saved_exeext
11149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11150 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11151 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11152 then :
11153 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11156 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11157 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11158 then :
11159 printf %s "(cached) " >&6
11160 else $as_nop
11161 ac_wine_try_cflags_saved=$CFLAGS
11162 ac_wine_try_cflags_saved_cc=$CC
11163 ac_wine_try_cflags_saved_exeext=$ac_exeext
11164 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11165 CC="$CROSSCC"
11166 ac_exeext=".exe"
11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11169 int __cdecl mainCRTStartup(void) { return 0; }
11170 _ACEOF
11171 if ac_fn_c_try_link "$LINENO"
11172 then :
11173 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11174 else $as_nop
11175 ac_cv_crosscflags__Wunused_but_set_parameter=no
11177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11178 conftest$ac_exeext conftest.$ac_ext
11179 CFLAGS=$ac_wine_try_cflags_saved
11180 CC=$ac_wine_try_cflags_saved_cc
11181 ac_exeext=$ac_wine_try_cflags_saved_exeext
11183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11184 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11185 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11186 then :
11187 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11190 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11191 if test ${ac_cv_crosscflags__Wvla+y}
11192 then :
11193 printf %s "(cached) " >&6
11194 else $as_nop
11195 ac_wine_try_cflags_saved=$CFLAGS
11196 ac_wine_try_cflags_saved_cc=$CC
11197 ac_wine_try_cflags_saved_exeext=$ac_exeext
11198 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11199 CC="$CROSSCC"
11200 ac_exeext=".exe"
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11203 int __cdecl mainCRTStartup(void) { return 0; }
11204 _ACEOF
11205 if ac_fn_c_try_link "$LINENO"
11206 then :
11207 ac_cv_crosscflags__Wvla=yes
11208 else $as_nop
11209 ac_cv_crosscflags__Wvla=no
11211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11212 conftest$ac_exeext conftest.$ac_ext
11213 CFLAGS=$ac_wine_try_cflags_saved
11214 CC=$ac_wine_try_cflags_saved_cc
11215 ac_exeext=$ac_wine_try_cflags_saved_exeext
11217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11218 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11219 if test "x$ac_cv_crosscflags__Wvla" = xyes
11220 then :
11221 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11224 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11225 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11226 then :
11227 printf %s "(cached) " >&6
11228 else $as_nop
11229 ac_wine_try_cflags_saved=$CFLAGS
11230 ac_wine_try_cflags_saved_cc=$CC
11231 ac_wine_try_cflags_saved_exeext=$ac_exeext
11232 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11233 CC="$CROSSCC"
11234 ac_exeext=".exe"
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11237 int __cdecl mainCRTStartup(void) { return 0; }
11238 _ACEOF
11239 if ac_fn_c_try_link "$LINENO"
11240 then :
11241 ac_cv_crosscflags__Wwrite_strings=yes
11242 else $as_nop
11243 ac_cv_crosscflags__Wwrite_strings=no
11245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11246 conftest$ac_exeext conftest.$ac_ext
11247 CFLAGS=$ac_wine_try_cflags_saved
11248 CC=$ac_wine_try_cflags_saved_cc
11249 ac_exeext=$ac_wine_try_cflags_saved_exeext
11251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11252 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11253 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11254 then :
11255 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11258 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11259 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11260 then :
11261 printf %s "(cached) " >&6
11262 else $as_nop
11263 ac_wine_try_cflags_saved=$CFLAGS
11264 ac_wine_try_cflags_saved_cc=$CC
11265 ac_wine_try_cflags_saved_exeext=$ac_exeext
11266 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11267 CC="$CROSSCC"
11268 ac_exeext=".exe"
11269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11271 int __cdecl mainCRTStartup(void) { return 0; }
11272 _ACEOF
11273 if ac_fn_c_try_link "$LINENO"
11274 then :
11275 ac_cv_crosscflags__Wpointer_arith=yes
11276 else $as_nop
11277 ac_cv_crosscflags__Wpointer_arith=no
11279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11280 conftest$ac_exeext conftest.$ac_ext
11281 CFLAGS=$ac_wine_try_cflags_saved
11282 CC=$ac_wine_try_cflags_saved_cc
11283 ac_exeext=$ac_wine_try_cflags_saved_exeext
11285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11286 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11287 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11288 then :
11289 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11292 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11293 if test ${ac_cv_crosscflags__Wlogical_op+y}
11294 then :
11295 printf %s "(cached) " >&6
11296 else $as_nop
11297 ac_wine_try_cflags_saved=$CFLAGS
11298 ac_wine_try_cflags_saved_cc=$CC
11299 ac_wine_try_cflags_saved_exeext=$ac_exeext
11300 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11301 CC="$CROSSCC"
11302 ac_exeext=".exe"
11303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11304 /* end confdefs.h. */
11305 int __cdecl mainCRTStartup(void) { return 0; }
11306 _ACEOF
11307 if ac_fn_c_try_link "$LINENO"
11308 then :
11309 ac_cv_crosscflags__Wlogical_op=yes
11310 else $as_nop
11311 ac_cv_crosscflags__Wlogical_op=no
11313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11314 conftest$ac_exeext conftest.$ac_ext
11315 CFLAGS=$ac_wine_try_cflags_saved
11316 CC=$ac_wine_try_cflags_saved_cc
11317 ac_exeext=$ac_wine_try_cflags_saved_exeext
11319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11320 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11321 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11322 then :
11323 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11326 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11327 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11328 then :
11329 printf %s "(cached) " >&6
11330 else $as_nop
11331 ac_wine_try_cflags_saved=$CFLAGS
11332 ac_wine_try_cflags_saved_cc=$CC
11333 ac_wine_try_cflags_saved_exeext=$ac_exeext
11334 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11335 CC="$CROSSCC"
11336 ac_exeext=".exe"
11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11339 int __cdecl mainCRTStartup(void) { return 0; }
11340 _ACEOF
11341 if ac_fn_c_try_link "$LINENO"
11342 then :
11343 ac_cv_crosscflags__Wabsolute_value=yes
11344 else $as_nop
11345 ac_cv_crosscflags__Wabsolute_value=no
11347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11348 conftest$ac_exeext conftest.$ac_ext
11349 CFLAGS=$ac_wine_try_cflags_saved
11350 CC=$ac_wine_try_cflags_saved_cc
11351 ac_exeext=$ac_wine_try_cflags_saved_exeext
11353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11354 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11355 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11356 then :
11357 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11360 case $host_cpu in
11361 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11362 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11363 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11364 then :
11365 printf %s "(cached) " >&6
11366 else $as_nop
11367 ac_wine_try_cflags_saved=$CFLAGS
11368 ac_wine_try_cflags_saved_cc=$CC
11369 ac_wine_try_cflags_saved_exeext=$ac_exeext
11370 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11371 CC="$CROSSCC"
11372 ac_exeext=".exe"
11373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11374 /* end confdefs.h. */
11375 int __cdecl mainCRTStartup(void) { return 0; }
11376 _ACEOF
11377 if ac_fn_c_try_link "$LINENO"
11378 then :
11379 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11380 else $as_nop
11381 ac_cv_crosscflags__fno_omit_frame_pointer=no
11383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11384 conftest$ac_exeext conftest.$ac_ext
11385 CFLAGS=$ac_wine_try_cflags_saved
11386 CC=$ac_wine_try_cflags_saved_cc
11387 ac_exeext=$ac_wine_try_cflags_saved_exeext
11389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11390 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11391 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11392 then :
11393 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11394 fi ;;
11395 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11396 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11397 if test ${ac_cv_crosscflags__Wno_format+y}
11398 then :
11399 printf %s "(cached) " >&6
11400 else $as_nop
11401 ac_wine_try_cflags_saved=$CFLAGS
11402 ac_wine_try_cflags_saved_cc=$CC
11403 ac_wine_try_cflags_saved_exeext=$ac_exeext
11404 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11405 CC="$CROSSCC"
11406 ac_exeext=".exe"
11407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11408 /* end confdefs.h. */
11409 int __cdecl mainCRTStartup(void) { return 0; }
11410 _ACEOF
11411 if ac_fn_c_try_link "$LINENO"
11412 then :
11413 ac_cv_crosscflags__Wno_format=yes
11414 else $as_nop
11415 ac_cv_crosscflags__Wno_format=no
11417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11418 conftest$ac_exeext conftest.$ac_ext
11419 CFLAGS=$ac_wine_try_cflags_saved
11420 CC=$ac_wine_try_cflags_saved_cc
11421 ac_exeext=$ac_wine_try_cflags_saved_exeext
11423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11424 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11425 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11426 then :
11427 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11430 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11431 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11432 then :
11433 printf %s "(cached) " >&6
11434 else $as_nop
11435 ac_wine_try_cflags_saved=$CFLAGS
11436 ac_wine_try_cflags_saved_cc=$CC
11437 ac_wine_try_cflags_saved_exeext=$ac_exeext
11438 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11439 CC="$CROSSCC"
11440 ac_exeext=".exe"
11441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11442 /* end confdefs.h. */
11443 int __cdecl mainCRTStartup(void) { return 0; }
11444 _ACEOF
11445 if ac_fn_c_try_link "$LINENO"
11446 then :
11447 ac_cv_crosscflags__Wformat_overflow=yes
11448 else $as_nop
11449 ac_cv_crosscflags__Wformat_overflow=no
11451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11452 conftest$ac_exeext conftest.$ac_ext
11453 CFLAGS=$ac_wine_try_cflags_saved
11454 CC=$ac_wine_try_cflags_saved_cc
11455 ac_exeext=$ac_wine_try_cflags_saved_exeext
11457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11458 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11459 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11460 then :
11461 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11464 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11465 if test ${ac_cv_crosscflags__Wnonnull+y}
11466 then :
11467 printf %s "(cached) " >&6
11468 else $as_nop
11469 ac_wine_try_cflags_saved=$CFLAGS
11470 ac_wine_try_cflags_saved_cc=$CC
11471 ac_wine_try_cflags_saved_exeext=$ac_exeext
11472 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11473 CC="$CROSSCC"
11474 ac_exeext=".exe"
11475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11477 int __cdecl mainCRTStartup(void) { return 0; }
11478 _ACEOF
11479 if ac_fn_c_try_link "$LINENO"
11480 then :
11481 ac_cv_crosscflags__Wnonnull=yes
11482 else $as_nop
11483 ac_cv_crosscflags__Wnonnull=no
11485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11486 conftest$ac_exeext conftest.$ac_ext
11487 CFLAGS=$ac_wine_try_cflags_saved
11488 CC=$ac_wine_try_cflags_saved_cc
11489 ac_exeext=$ac_wine_try_cflags_saved_exeext
11491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11492 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11493 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11494 then :
11495 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11498 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11499 if test ${ac_cv_crosscflags__mcx16+y}
11500 then :
11501 printf %s "(cached) " >&6
11502 else $as_nop
11503 ac_wine_try_cflags_saved=$CFLAGS
11504 ac_wine_try_cflags_saved_cc=$CC
11505 ac_wine_try_cflags_saved_exeext=$ac_exeext
11506 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11507 CC="$CROSSCC"
11508 ac_exeext=".exe"
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11511 int __cdecl mainCRTStartup(void) { return 0; }
11512 _ACEOF
11513 if ac_fn_c_try_link "$LINENO"
11514 then :
11515 ac_cv_crosscflags__mcx16=yes
11516 else $as_nop
11517 ac_cv_crosscflags__mcx16=no
11519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11520 conftest$ac_exeext conftest.$ac_ext
11521 CFLAGS=$ac_wine_try_cflags_saved
11522 CC=$ac_wine_try_cflags_saved_cc
11523 ac_exeext=$ac_wine_try_cflags_saved_exeext
11525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11526 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11527 if test "x$ac_cv_crosscflags__mcx16" = xyes
11528 then :
11529 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11530 fi ;;
11531 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11532 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11533 if test ${ac_cv_crosscflags__Wno_format+y}
11534 then :
11535 printf %s "(cached) " >&6
11536 else $as_nop
11537 ac_wine_try_cflags_saved=$CFLAGS
11538 ac_wine_try_cflags_saved_cc=$CC
11539 ac_wine_try_cflags_saved_exeext=$ac_exeext
11540 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11541 CC="$CROSSCC"
11542 ac_exeext=".exe"
11543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11545 int __cdecl mainCRTStartup(void) { return 0; }
11546 _ACEOF
11547 if ac_fn_c_try_link "$LINENO"
11548 then :
11549 ac_cv_crosscflags__Wno_format=yes
11550 else $as_nop
11551 ac_cv_crosscflags__Wno_format=no
11553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11554 conftest$ac_exeext conftest.$ac_ext
11555 CFLAGS=$ac_wine_try_cflags_saved
11556 CC=$ac_wine_try_cflags_saved_cc
11557 ac_exeext=$ac_wine_try_cflags_saved_exeext
11559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11560 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11561 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11562 then :
11563 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11564 fi ;;
11565 esac
11568 if test -z "$CROSSDEBUG"
11569 then
11570 for ac_flag in $CROSSCFLAGS; do
11571 case $ac_flag in
11572 -gdwarf*) CROSSDEBUG=dwarf ;;
11573 -gcodeview) CROSSDEBUG=pdb ;;
11574 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11575 esac
11576 done
11579 ac_debug_format_seen=""
11580 for ac_flag in $CROSSCFLAGS; do
11581 case $ac_flag in
11582 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11583 esac
11584 done
11585 if test "x$ac_debug_format_seen" = x
11586 then
11587 case $CROSSDEBUG in
11588 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11589 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11590 if test ${ac_cv_crosscflags__gdwarf_4+y}
11591 then :
11592 printf %s "(cached) " >&6
11593 else $as_nop
11594 ac_wine_try_cflags_saved=$CFLAGS
11595 ac_wine_try_cflags_saved_cc=$CC
11596 ac_wine_try_cflags_saved_exeext=$ac_exeext
11597 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11598 CC="$CROSSCC"
11599 ac_exeext=".exe"
11600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h. */
11602 int __cdecl mainCRTStartup(void) { return 0; }
11603 _ACEOF
11604 if ac_fn_c_try_link "$LINENO"
11605 then :
11606 ac_cv_crosscflags__gdwarf_4=yes
11607 else $as_nop
11608 ac_cv_crosscflags__gdwarf_4=no
11610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11611 conftest$ac_exeext conftest.$ac_ext
11612 CFLAGS=$ac_wine_try_cflags_saved
11613 CC=$ac_wine_try_cflags_saved_cc
11614 ac_exeext=$ac_wine_try_cflags_saved_exeext
11616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11617 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11618 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11619 then :
11620 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11621 fi ;;
11622 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11623 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11624 if test ${ac_cv_crosscflags__gcodeview+y}
11625 then :
11626 printf %s "(cached) " >&6
11627 else $as_nop
11628 ac_wine_try_cflags_saved=$CFLAGS
11629 ac_wine_try_cflags_saved_cc=$CC
11630 ac_wine_try_cflags_saved_exeext=$ac_exeext
11631 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11632 CC="$CROSSCC"
11633 ac_exeext=".exe"
11634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11635 /* end confdefs.h. */
11636 int __cdecl mainCRTStartup(void) { return 0; }
11637 _ACEOF
11638 if ac_fn_c_try_link "$LINENO"
11639 then :
11640 ac_cv_crosscflags__gcodeview=yes
11641 else $as_nop
11642 ac_cv_crosscflags__gcodeview=no
11644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11645 conftest$ac_exeext conftest.$ac_ext
11646 CFLAGS=$ac_wine_try_cflags_saved
11647 CC=$ac_wine_try_cflags_saved_cc
11648 ac_exeext=$ac_wine_try_cflags_saved_exeext
11650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11651 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11652 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11653 then :
11654 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11655 fi ;;
11656 esac
11659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11660 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11661 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11662 then :
11663 printf %s "(cached) " >&6
11664 else $as_nop
11665 ac_wine_try_cflags_saved=$CFLAGS
11666 ac_wine_try_cflags_saved_cc=$CC
11667 ac_wine_try_cflags_saved_exeext=$ac_exeext
11668 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11669 CC="$CROSSCC"
11670 ac_exeext=".exe"
11671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11672 /* end confdefs.h. */
11673 int __cdecl mainCRTStartup(void) { return 0; }
11674 _ACEOF
11675 if ac_fn_c_try_link "$LINENO"
11676 then :
11677 ac_cv_crosscflags__fexcess_precision_standard=yes
11678 else $as_nop
11679 ac_cv_crosscflags__fexcess_precision_standard=no
11681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11682 conftest$ac_exeext conftest.$ac_ext
11683 CFLAGS=$ac_wine_try_cflags_saved
11684 CC=$ac_wine_try_cflags_saved_cc
11685 ac_exeext=$ac_wine_try_cflags_saved_exeext
11687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11688 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11689 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11690 then :
11691 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11695 if test "x$enable_werror" = "xyes"
11696 then
11697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11698 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11699 if test ${ac_cv_crosscflags__Werror+y}
11700 then :
11701 printf %s "(cached) " >&6
11702 else $as_nop
11703 ac_wine_try_cflags_saved=$CFLAGS
11704 ac_wine_try_cflags_saved_cc=$CC
11705 ac_wine_try_cflags_saved_exeext=$ac_exeext
11706 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11707 CC="$CROSSCC"
11708 ac_exeext=".exe"
11709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11710 /* end confdefs.h. */
11711 int __cdecl mainCRTStartup(void) { return 0; }
11712 _ACEOF
11713 if ac_fn_c_try_link "$LINENO"
11714 then :
11715 ac_cv_crosscflags__Werror=yes
11716 else $as_nop
11717 ac_cv_crosscflags__Werror=no
11719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11720 conftest$ac_exeext conftest.$ac_ext
11721 CFLAGS=$ac_wine_try_cflags_saved
11722 CC=$ac_wine_try_cflags_saved_cc
11723 ac_exeext=$ac_wine_try_cflags_saved_exeext
11725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11726 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11727 if test "x$ac_cv_crosscflags__Werror" = xyes
11728 then :
11729 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11732 if test "x$enable_build_id" = "xyes"
11733 then
11734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11735 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11736 if test ${ac_cv_crosscflags__Wl___build_id+y}
11737 then :
11738 printf %s "(cached) " >&6
11739 else $as_nop
11740 ac_wine_try_cflags_saved=$CFLAGS
11741 ac_wine_try_cflags_saved_cc=$CC
11742 ac_wine_try_cflags_saved_exeext=$ac_exeext
11743 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11744 CC="$CROSSCC"
11745 ac_exeext=".exe"
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11748 int __cdecl mainCRTStartup(void) { return 0; }
11749 _ACEOF
11750 if ac_fn_c_try_link "$LINENO"
11751 then :
11752 ac_cv_crosscflags__Wl___build_id=yes
11753 else $as_nop
11754 ac_cv_crosscflags__Wl___build_id=no
11756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11757 conftest$ac_exeext conftest.$ac_ext
11758 CFLAGS=$ac_wine_try_cflags_saved
11759 CC=$ac_wine_try_cflags_saved_cc
11760 ac_exeext=$ac_wine_try_cflags_saved_exeext
11762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11763 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11764 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11765 then :
11766 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11767 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11771 CFLAGS=$saved_CFLAGS
11772 LDFLAGS=$saved_LDFLAGS
11773 CC="$ac_save_CC"
11776 if test "x$CROSSTARGET" = "x"
11777 then :
11778 case "x$with_mingw" in
11779 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11780 xno) ;;
11781 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11782 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11783 esac
11787 case $host_cpu in
11788 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 ;;
11789 esac
11792 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11793 then
11794 case "$host_cpu" in
11795 i[3456789]86*)
11796 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11798 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11799 esac
11800 for ac_prog in $ac_prefix_list
11802 # Extract the first word of "$ac_prog", so it can be a program name with args.
11803 set dummy $ac_prog; ac_word=$2
11804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11805 printf %s "checking for $ac_word... " >&6; }
11806 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11807 then :
11808 printf %s "(cached) " >&6
11809 else $as_nop
11810 if test -n "$MINGW_PKG_CONFIG"; then
11811 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11812 else
11813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11814 for as_dir in $PATH
11816 IFS=$as_save_IFS
11817 case $as_dir in #(((
11818 '') as_dir=./ ;;
11819 */) ;;
11820 *) as_dir=$as_dir/ ;;
11821 esac
11822 for ac_exec_ext in '' $ac_executable_extensions; do
11823 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11824 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11826 break 2
11828 done
11829 done
11830 IFS=$as_save_IFS
11834 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11835 if test -n "$MINGW_PKG_CONFIG"; then
11836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11837 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11838 else
11839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11840 printf "%s\n" "no" >&6; }
11844 test -n "$MINGW_PKG_CONFIG" && break
11845 done
11846 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11848 if ${FAUDIO_PE_CFLAGS:+false} :
11849 then :
11850 if test ${MINGW_PKG_CONFIG+y}
11851 then :
11852 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11855 if ${FAUDIO_PE_LIBS:+false} :
11856 then :
11857 if test ${MINGW_PKG_CONFIG+y}
11858 then :
11859 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11862 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11863 ac_save_CPPFLAGS=$CPPFLAGS
11864 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11866 printf %s "checking for MinGW FAudio.h... " >&6; }
11867 if test ${ac_cv_mingw_header_FAudio_h+y}
11868 then :
11869 printf %s "(cached) " >&6
11870 else $as_nop
11871 ac_wine_check_headers_saved_cc=$CC
11872 ac_wine_check_headers_saved_exeext=$ac_exeext
11873 CC="$CROSSCC"
11874 ac_exeext=".exe"
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11878 #include <FAudio.h>
11880 main (void)
11884 return 0;
11886 _ACEOF
11887 if ac_fn_c_try_compile "$LINENO"
11888 then :
11889 ac_cv_mingw_header_FAudio_h=yes
11890 else $as_nop
11891 ac_cv_mingw_header_FAudio_h=no
11893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11894 CC=$ac_wine_check_headers_saved_cc
11895 ac_exeext=$ac_wine_check_headers_saved_exeext
11897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11898 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11899 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11900 then :
11901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11902 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11903 if test ${ac_cv_mingw_lib_FAudio+y}
11904 then :
11905 printf %s "(cached) " >&6
11906 else $as_nop
11907 ac_wine_check_headers_saved_cc=$CC
11908 ac_wine_check_headers_saved_exeext=$ac_exeext
11909 ac_wine_check_headers_saved_libs=$LIBS
11910 CC="$CROSSCC"
11911 ac_exeext=".exe"
11912 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11914 /* end confdefs.h. */
11916 /* Override any GCC internal prototype to avoid an error.
11917 Use char because int might match the return type of a GCC
11918 builtin and then its argument prototype would still apply. */
11919 char FAudio_CommitOperationSet ();
11921 main (void)
11923 return FAudio_CommitOperationSet ();
11925 return 0;
11927 _ACEOF
11928 if ac_fn_c_try_link "$LINENO"
11929 then :
11930 ac_cv_mingw_lib_FAudio=yes
11931 else $as_nop
11932 ac_cv_mingw_lib_FAudio=no
11934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11935 conftest$ac_exeext conftest.$ac_ext
11936 CC=$ac_wine_check_headers_saved_cc
11937 ac_exeext=$ac_wine_check_headers_saved_exeext
11938 LIBS=$ac_wine_check_headers_saved_libs
11940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11941 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11942 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11943 then :
11945 else $as_nop
11946 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11948 else $as_nop
11949 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11951 CPPFLAGS=$ac_save_CPPFLAGS
11953 if test "x$FAUDIO_PE_LIBS" = "x"
11954 then
11955 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11958 if ${JPEG_PE_CFLAGS:+false} :
11959 then :
11960 if test ${MINGW_PKG_CONFIG+y}
11961 then :
11962 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11965 if ${JPEG_PE_LIBS:+false} :
11966 then :
11967 if test ${MINGW_PKG_CONFIG+y}
11968 then :
11969 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11973 ac_save_CPPFLAGS=$CPPFLAGS
11974 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11976 printf %s "checking for MinGW jpeglib.h... " >&6; }
11977 if test ${ac_cv_mingw_header_jpeglib_h+y}
11978 then :
11979 printf %s "(cached) " >&6
11980 else $as_nop
11981 ac_wine_check_headers_saved_cc=$CC
11982 ac_wine_check_headers_saved_exeext=$ac_exeext
11983 CC="$CROSSCC"
11984 ac_exeext=".exe"
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11987 #include <stddef.h>
11988 #include <stdio.h>
11989 #include <jpeglib.h>
11991 main (void)
11995 return 0;
11997 _ACEOF
11998 if ac_fn_c_try_compile "$LINENO"
11999 then :
12000 ac_cv_mingw_header_jpeglib_h=yes
12001 else $as_nop
12002 ac_cv_mingw_header_jpeglib_h=no
12004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12005 CC=$ac_wine_check_headers_saved_cc
12006 ac_exeext=$ac_wine_check_headers_saved_exeext
12008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12009 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12010 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12011 then :
12012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12013 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12014 if test ${ac_cv_mingw_lib_jpeg+y}
12015 then :
12016 printf %s "(cached) " >&6
12017 else $as_nop
12018 ac_wine_check_headers_saved_cc=$CC
12019 ac_wine_check_headers_saved_exeext=$ac_exeext
12020 ac_wine_check_headers_saved_libs=$LIBS
12021 CC="$CROSSCC"
12022 ac_exeext=".exe"
12023 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12027 /* Override any GCC internal prototype to avoid an error.
12028 Use char because int might match the return type of a GCC
12029 builtin and then its argument prototype would still apply. */
12030 char jpeg_start_decompress ();
12032 main (void)
12034 return jpeg_start_decompress ();
12036 return 0;
12038 _ACEOF
12039 if ac_fn_c_try_link "$LINENO"
12040 then :
12041 ac_cv_mingw_lib_jpeg=yes
12042 else $as_nop
12043 ac_cv_mingw_lib_jpeg=no
12045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12046 conftest$ac_exeext conftest.$ac_ext
12047 CC=$ac_wine_check_headers_saved_cc
12048 ac_exeext=$ac_wine_check_headers_saved_exeext
12049 LIBS=$ac_wine_check_headers_saved_libs
12051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12052 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12053 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12054 then :
12056 else $as_nop
12057 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12059 else $as_nop
12060 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12062 CPPFLAGS=$ac_save_CPPFLAGS
12064 if test "x$JPEG_PE_LIBS" = "x"
12065 then
12066 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12069 if ${LCMS2_PE_CFLAGS:+false} :
12070 then :
12071 if test ${MINGW_PKG_CONFIG+y}
12072 then :
12073 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12076 if ${LCMS2_PE_LIBS:+false} :
12077 then :
12078 if test ${MINGW_PKG_CONFIG+y}
12079 then :
12080 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12083 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12084 ac_save_CPPFLAGS=$CPPFLAGS
12085 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12087 printf %s "checking for MinGW lcms2.h... " >&6; }
12088 if test ${ac_cv_mingw_header_lcms2_h+y}
12089 then :
12090 printf %s "(cached) " >&6
12091 else $as_nop
12092 ac_wine_check_headers_saved_cc=$CC
12093 ac_wine_check_headers_saved_exeext=$ac_exeext
12094 CC="$CROSSCC"
12095 ac_exeext=".exe"
12096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12097 /* end confdefs.h. */
12099 #include <lcms2.h>
12101 main (void)
12105 return 0;
12107 _ACEOF
12108 if ac_fn_c_try_compile "$LINENO"
12109 then :
12110 ac_cv_mingw_header_lcms2_h=yes
12111 else $as_nop
12112 ac_cv_mingw_header_lcms2_h=no
12114 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12115 CC=$ac_wine_check_headers_saved_cc
12116 ac_exeext=$ac_wine_check_headers_saved_exeext
12118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12119 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12120 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12121 then :
12122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12123 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12124 if test ${ac_cv_mingw_lib_lcms2+y}
12125 then :
12126 printf %s "(cached) " >&6
12127 else $as_nop
12128 ac_wine_check_headers_saved_cc=$CC
12129 ac_wine_check_headers_saved_exeext=$ac_exeext
12130 ac_wine_check_headers_saved_libs=$LIBS
12131 CC="$CROSSCC"
12132 ac_exeext=".exe"
12133 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12137 /* Override any GCC internal prototype to avoid an error.
12138 Use char because int might match the return type of a GCC
12139 builtin and then its argument prototype would still apply. */
12140 char cmsOpenProfileFromFile ();
12142 main (void)
12144 return cmsOpenProfileFromFile ();
12146 return 0;
12148 _ACEOF
12149 if ac_fn_c_try_link "$LINENO"
12150 then :
12151 ac_cv_mingw_lib_lcms2=yes
12152 else $as_nop
12153 ac_cv_mingw_lib_lcms2=no
12155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12156 conftest$ac_exeext conftest.$ac_ext
12157 CC=$ac_wine_check_headers_saved_cc
12158 ac_exeext=$ac_wine_check_headers_saved_exeext
12159 LIBS=$ac_wine_check_headers_saved_libs
12161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12162 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12163 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12164 then :
12166 else $as_nop
12167 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12169 else $as_nop
12170 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12172 CPPFLAGS=$ac_save_CPPFLAGS
12174 if test "x$LCMS2_PE_LIBS" = "x"
12175 then
12176 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12179 if ${MPG123_PE_CFLAGS:+false} :
12180 then :
12181 if test ${MINGW_PKG_CONFIG+y}
12182 then :
12183 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12186 if ${MPG123_PE_LIBS:+false} :
12187 then :
12188 if test ${MINGW_PKG_CONFIG+y}
12189 then :
12190 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12193 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12194 ac_save_CPPFLAGS=$CPPFLAGS
12195 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12197 printf %s "checking for MinGW mpg123.h... " >&6; }
12198 if test ${ac_cv_mingw_header_mpg123_h+y}
12199 then :
12200 printf %s "(cached) " >&6
12201 else $as_nop
12202 ac_wine_check_headers_saved_cc=$CC
12203 ac_wine_check_headers_saved_exeext=$ac_exeext
12204 CC="$CROSSCC"
12205 ac_exeext=".exe"
12206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12207 /* end confdefs.h. */
12209 #include <mpg123.h>
12211 main (void)
12215 return 0;
12217 _ACEOF
12218 if ac_fn_c_try_compile "$LINENO"
12219 then :
12220 ac_cv_mingw_header_mpg123_h=yes
12221 else $as_nop
12222 ac_cv_mingw_header_mpg123_h=no
12224 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12225 CC=$ac_wine_check_headers_saved_cc
12226 ac_exeext=$ac_wine_check_headers_saved_exeext
12228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12229 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12230 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12231 then :
12232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12233 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12234 if test ${ac_cv_mingw_lib_mpg123+y}
12235 then :
12236 printf %s "(cached) " >&6
12237 else $as_nop
12238 ac_wine_check_headers_saved_cc=$CC
12239 ac_wine_check_headers_saved_exeext=$ac_exeext
12240 ac_wine_check_headers_saved_libs=$LIBS
12241 CC="$CROSSCC"
12242 ac_exeext=".exe"
12243 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12245 /* end confdefs.h. */
12247 /* Override any GCC internal prototype to avoid an error.
12248 Use char because int might match the return type of a GCC
12249 builtin and then its argument prototype would still apply. */
12250 char mpg123_feed ();
12252 main (void)
12254 return mpg123_feed ();
12256 return 0;
12258 _ACEOF
12259 if ac_fn_c_try_link "$LINENO"
12260 then :
12261 ac_cv_mingw_lib_mpg123=yes
12262 else $as_nop
12263 ac_cv_mingw_lib_mpg123=no
12265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12266 conftest$ac_exeext conftest.$ac_ext
12267 CC=$ac_wine_check_headers_saved_cc
12268 ac_exeext=$ac_wine_check_headers_saved_exeext
12269 LIBS=$ac_wine_check_headers_saved_libs
12271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12272 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12273 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12274 then :
12276 else $as_nop
12277 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12279 else $as_nop
12280 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12282 CPPFLAGS=$ac_save_CPPFLAGS
12284 if test "x$MPG123_PE_LIBS" = "x"
12285 then
12286 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12289 if ${PNG_PE_CFLAGS:+false} :
12290 then :
12291 if test ${MINGW_PKG_CONFIG+y}
12292 then :
12293 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12296 if ${PNG_PE_LIBS:+false} :
12297 then :
12298 if test ${MINGW_PKG_CONFIG+y}
12299 then :
12300 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12304 ac_save_CPPFLAGS=$CPPFLAGS
12305 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12307 printf %s "checking for MinGW png.h... " >&6; }
12308 if test ${ac_cv_mingw_header_png_h+y}
12309 then :
12310 printf %s "(cached) " >&6
12311 else $as_nop
12312 ac_wine_check_headers_saved_cc=$CC
12313 ac_wine_check_headers_saved_exeext=$ac_exeext
12314 CC="$CROSSCC"
12315 ac_exeext=".exe"
12316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h. */
12319 #include <png.h>
12321 main (void)
12325 return 0;
12327 _ACEOF
12328 if ac_fn_c_try_compile "$LINENO"
12329 then :
12330 ac_cv_mingw_header_png_h=yes
12331 else $as_nop
12332 ac_cv_mingw_header_png_h=no
12334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12335 CC=$ac_wine_check_headers_saved_cc
12336 ac_exeext=$ac_wine_check_headers_saved_exeext
12338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12339 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12340 if test "x$ac_cv_mingw_header_png_h" = xyes
12341 then :
12342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12343 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12344 if test ${ac_cv_mingw_lib_png+y}
12345 then :
12346 printf %s "(cached) " >&6
12347 else $as_nop
12348 ac_wine_check_headers_saved_cc=$CC
12349 ac_wine_check_headers_saved_exeext=$ac_exeext
12350 ac_wine_check_headers_saved_libs=$LIBS
12351 CC="$CROSSCC"
12352 ac_exeext=".exe"
12353 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12355 /* end confdefs.h. */
12357 /* Override any GCC internal prototype to avoid an error.
12358 Use char because int might match the return type of a GCC
12359 builtin and then its argument prototype would still apply. */
12360 char png_create_read_struct ();
12362 main (void)
12364 return png_create_read_struct ();
12366 return 0;
12368 _ACEOF
12369 if ac_fn_c_try_link "$LINENO"
12370 then :
12371 ac_cv_mingw_lib_png=yes
12372 else $as_nop
12373 ac_cv_mingw_lib_png=no
12375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12376 conftest$ac_exeext conftest.$ac_ext
12377 CC=$ac_wine_check_headers_saved_cc
12378 ac_exeext=$ac_wine_check_headers_saved_exeext
12379 LIBS=$ac_wine_check_headers_saved_libs
12381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12382 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12383 if test "x$ac_cv_mingw_lib_png" = xyes
12384 then :
12386 else $as_nop
12387 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12389 else $as_nop
12390 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12392 CPPFLAGS=$ac_save_CPPFLAGS
12394 if test "x$PNG_PE_LIBS" = "x"
12395 then
12396 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12399 if ${TIFF_PE_CFLAGS:+false} :
12400 then :
12401 if test ${MINGW_PKG_CONFIG+y}
12402 then :
12403 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12406 if ${TIFF_PE_LIBS:+false} :
12407 then :
12408 if test ${MINGW_PKG_CONFIG+y}
12409 then :
12410 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12414 ac_save_CPPFLAGS=$CPPFLAGS
12415 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12417 printf %s "checking for MinGW tiffio.h... " >&6; }
12418 if test ${ac_cv_mingw_header_tiffio_h+y}
12419 then :
12420 printf %s "(cached) " >&6
12421 else $as_nop
12422 ac_wine_check_headers_saved_cc=$CC
12423 ac_wine_check_headers_saved_exeext=$ac_exeext
12424 CC="$CROSSCC"
12425 ac_exeext=".exe"
12426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12429 #include <tiffio.h>
12431 main (void)
12435 return 0;
12437 _ACEOF
12438 if ac_fn_c_try_compile "$LINENO"
12439 then :
12440 ac_cv_mingw_header_tiffio_h=yes
12441 else $as_nop
12442 ac_cv_mingw_header_tiffio_h=no
12444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12445 CC=$ac_wine_check_headers_saved_cc
12446 ac_exeext=$ac_wine_check_headers_saved_exeext
12448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12449 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12450 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12451 then :
12452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12453 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12454 if test ${ac_cv_mingw_lib_tiff+y}
12455 then :
12456 printf %s "(cached) " >&6
12457 else $as_nop
12458 ac_wine_check_headers_saved_cc=$CC
12459 ac_wine_check_headers_saved_exeext=$ac_exeext
12460 ac_wine_check_headers_saved_libs=$LIBS
12461 CC="$CROSSCC"
12462 ac_exeext=".exe"
12463 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h. */
12467 /* Override any GCC internal prototype to avoid an error.
12468 Use char because int might match the return type of a GCC
12469 builtin and then its argument prototype would still apply. */
12470 char TIFFClientOpen ();
12472 main (void)
12474 return TIFFClientOpen ();
12476 return 0;
12478 _ACEOF
12479 if ac_fn_c_try_link "$LINENO"
12480 then :
12481 ac_cv_mingw_lib_tiff=yes
12482 else $as_nop
12483 ac_cv_mingw_lib_tiff=no
12485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12486 conftest$ac_exeext conftest.$ac_ext
12487 CC=$ac_wine_check_headers_saved_cc
12488 ac_exeext=$ac_wine_check_headers_saved_exeext
12489 LIBS=$ac_wine_check_headers_saved_libs
12491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12492 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12493 if test "x$ac_cv_mingw_lib_tiff" = xyes
12494 then :
12496 else $as_nop
12497 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12499 else $as_nop
12500 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12502 CPPFLAGS=$ac_save_CPPFLAGS
12504 if test "x$TIFF_PE_LIBS" = "x"
12505 then
12506 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12509 if ${XML2_PE_CFLAGS:+false} :
12510 then :
12511 if test ${MINGW_PKG_CONFIG+y}
12512 then :
12513 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12516 if ${XML2_PE_LIBS:+false} :
12517 then :
12518 if test ${MINGW_PKG_CONFIG+y}
12519 then :
12520 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12523 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12524 ac_save_CPPFLAGS=$CPPFLAGS
12525 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12527 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12528 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12529 then :
12530 printf %s "(cached) " >&6
12531 else $as_nop
12532 ac_wine_check_headers_saved_cc=$CC
12533 ac_wine_check_headers_saved_exeext=$ac_exeext
12534 CC="$CROSSCC"
12535 ac_exeext=".exe"
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12539 #include <libxml/parser.h>
12541 main (void)
12545 return 0;
12547 _ACEOF
12548 if ac_fn_c_try_compile "$LINENO"
12549 then :
12550 ac_cv_mingw_header_libxml_parser_h=yes
12551 else $as_nop
12552 ac_cv_mingw_header_libxml_parser_h=no
12554 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12555 CC=$ac_wine_check_headers_saved_cc
12556 ac_exeext=$ac_wine_check_headers_saved_exeext
12558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12559 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12560 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12561 then :
12564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12565 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12566 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12567 then :
12568 printf %s "(cached) " >&6
12569 else $as_nop
12570 ac_wine_check_headers_saved_cc=$CC
12571 ac_wine_check_headers_saved_exeext=$ac_exeext
12572 CC="$CROSSCC"
12573 ac_exeext=".exe"
12574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12577 #include <libxml/xmlsave.h>
12579 main (void)
12583 return 0;
12585 _ACEOF
12586 if ac_fn_c_try_compile "$LINENO"
12587 then :
12588 ac_cv_mingw_header_libxml_xmlsave_h=yes
12589 else $as_nop
12590 ac_cv_mingw_header_libxml_xmlsave_h=no
12592 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12593 CC=$ac_wine_check_headers_saved_cc
12594 ac_exeext=$ac_wine_check_headers_saved_exeext
12596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12597 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12598 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12599 then :
12602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12603 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12604 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12605 then :
12606 printf %s "(cached) " >&6
12607 else $as_nop
12608 ac_wine_check_headers_saved_cc=$CC
12609 ac_wine_check_headers_saved_exeext=$ac_exeext
12610 CC="$CROSSCC"
12611 ac_exeext=".exe"
12612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12613 /* end confdefs.h. */
12615 #include <libxml/SAX2.h>
12617 main (void)
12621 return 0;
12623 _ACEOF
12624 if ac_fn_c_try_compile "$LINENO"
12625 then :
12626 ac_cv_mingw_header_libxml_SAX2_h=yes
12627 else $as_nop
12628 ac_cv_mingw_header_libxml_SAX2_h=no
12630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12631 CC=$ac_wine_check_headers_saved_cc
12632 ac_exeext=$ac_wine_check_headers_saved_exeext
12634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12635 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12636 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12637 then :
12640 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"
12641 then
12642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12643 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12644 if test ${ac_cv_mingw_lib_xml2+y}
12645 then :
12646 printf %s "(cached) " >&6
12647 else $as_nop
12648 ac_wine_check_headers_saved_cc=$CC
12649 ac_wine_check_headers_saved_exeext=$ac_exeext
12650 ac_wine_check_headers_saved_libs=$LIBS
12651 CC="$CROSSCC"
12652 ac_exeext=".exe"
12653 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12655 /* end confdefs.h. */
12657 /* Override any GCC internal prototype to avoid an error.
12658 Use char because int might match the return type of a GCC
12659 builtin and then its argument prototype would still apply. */
12660 char xmlFirstElementChild ();
12662 main (void)
12664 return xmlFirstElementChild ();
12666 return 0;
12668 _ACEOF
12669 if ac_fn_c_try_link "$LINENO"
12670 then :
12671 ac_cv_mingw_lib_xml2=yes
12672 else $as_nop
12673 ac_cv_mingw_lib_xml2=no
12675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12676 conftest$ac_exeext conftest.$ac_ext
12677 CC=$ac_wine_check_headers_saved_cc
12678 ac_exeext=$ac_wine_check_headers_saved_exeext
12679 LIBS=$ac_wine_check_headers_saved_libs
12681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12682 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12683 if test "x$ac_cv_mingw_lib_xml2" = xyes
12684 then :
12686 else $as_nop
12687 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12689 else
12690 XML2_PE_CFLAGS=""
12691 XML2_PE_LIBS=""
12693 CPPFLAGS=$ac_save_CPPFLAGS
12695 if test "x$XML2_PE_LIBS" = "x"
12696 then
12697 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12700 if ${XSLT_PE_CFLAGS:+false} :
12701 then :
12702 if test ${MINGW_PKG_CONFIG+y}
12703 then :
12704 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12707 if ${XSLT_PE_LIBS:+false} :
12708 then :
12709 if test ${MINGW_PKG_CONFIG+y}
12710 then :
12711 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12714 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12715 ac_save_CPPFLAGS=$CPPFLAGS
12716 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12718 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12719 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12720 then :
12721 printf %s "(cached) " >&6
12722 else $as_nop
12723 ac_wine_check_headers_saved_cc=$CC
12724 ac_wine_check_headers_saved_exeext=$ac_exeext
12725 CC="$CROSSCC"
12726 ac_exeext=".exe"
12727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12728 /* end confdefs.h. */
12730 #include <libxslt/pattern.h>
12732 main (void)
12736 return 0;
12738 _ACEOF
12739 if ac_fn_c_try_compile "$LINENO"
12740 then :
12741 ac_cv_mingw_header_libxslt_pattern_h=yes
12742 else $as_nop
12743 ac_cv_mingw_header_libxslt_pattern_h=no
12745 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12746 CC=$ac_wine_check_headers_saved_cc
12747 ac_exeext=$ac_wine_check_headers_saved_exeext
12749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12750 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12751 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12752 then :
12755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12756 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12757 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12758 then :
12759 printf %s "(cached) " >&6
12760 else $as_nop
12761 ac_wine_check_headers_saved_cc=$CC
12762 ac_wine_check_headers_saved_exeext=$ac_exeext
12763 CC="$CROSSCC"
12764 ac_exeext=".exe"
12765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h. */
12768 #include <libxslt/transform.h>
12770 main (void)
12774 return 0;
12776 _ACEOF
12777 if ac_fn_c_try_compile "$LINENO"
12778 then :
12779 ac_cv_mingw_header_libxslt_transform_h=yes
12780 else $as_nop
12781 ac_cv_mingw_header_libxslt_transform_h=no
12783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12784 CC=$ac_wine_check_headers_saved_cc
12785 ac_exeext=$ac_wine_check_headers_saved_exeext
12787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12788 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12789 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12790 then :
12793 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12794 then
12795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12796 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12797 if test ${ac_cv_mingw_lib_xslt+y}
12798 then :
12799 printf %s "(cached) " >&6
12800 else $as_nop
12801 ac_wine_check_headers_saved_cc=$CC
12802 ac_wine_check_headers_saved_exeext=$ac_exeext
12803 ac_wine_check_headers_saved_libs=$LIBS
12804 CC="$CROSSCC"
12805 ac_exeext=".exe"
12806 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12810 /* Override any GCC internal prototype to avoid an error.
12811 Use char because int might match the return type of a GCC
12812 builtin and then its argument prototype would still apply. */
12813 char xsltCompilePattern ();
12815 main (void)
12817 return xsltCompilePattern ();
12819 return 0;
12821 _ACEOF
12822 if ac_fn_c_try_link "$LINENO"
12823 then :
12824 ac_cv_mingw_lib_xslt=yes
12825 else $as_nop
12826 ac_cv_mingw_lib_xslt=no
12828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12829 conftest$ac_exeext conftest.$ac_ext
12830 CC=$ac_wine_check_headers_saved_cc
12831 ac_exeext=$ac_wine_check_headers_saved_exeext
12832 LIBS=$ac_wine_check_headers_saved_libs
12834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12835 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12836 if test "x$ac_cv_mingw_lib_xslt" = xyes
12837 then :
12839 else $as_nop
12840 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12842 else
12843 XSLT_PE_CFLAGS=""
12844 XSLT_PE_LIBS=""
12846 CPPFLAGS=$ac_save_CPPFLAGS
12848 if test "x$XSLT_PE_LIBS" = "x"
12849 then
12850 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12853 if ${VKD3D_PE_CFLAGS:+false} :
12854 then :
12855 if test ${MINGW_PKG_CONFIG+y}
12856 then :
12857 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12860 if ${VKD3D_PE_LIBS:+false} :
12861 then :
12862 if test ${MINGW_PKG_CONFIG+y}
12863 then :
12864 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12867 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12868 ac_save_CPPFLAGS=$CPPFLAGS
12869 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12871 printf %s "checking for MinGW vkd3d.h... " >&6; }
12872 if test ${ac_cv_mingw_header_vkd3d_h+y}
12873 then :
12874 printf %s "(cached) " >&6
12875 else $as_nop
12876 ac_wine_check_headers_saved_cc=$CC
12877 ac_wine_check_headers_saved_exeext=$ac_exeext
12878 CC="$CROSSCC"
12879 ac_exeext=".exe"
12880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12881 /* end confdefs.h. */
12883 #include <vkd3d.h>
12885 main (void)
12889 return 0;
12891 _ACEOF
12892 if ac_fn_c_try_compile "$LINENO"
12893 then :
12894 ac_cv_mingw_header_vkd3d_h=yes
12895 else $as_nop
12896 ac_cv_mingw_header_vkd3d_h=no
12898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12899 CC=$ac_wine_check_headers_saved_cc
12900 ac_exeext=$ac_wine_check_headers_saved_exeext
12902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12903 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12904 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12905 then :
12908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12909 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12910 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12911 then :
12912 printf %s "(cached) " >&6
12913 else $as_nop
12914 ac_wine_check_headers_saved_cc=$CC
12915 ac_wine_check_headers_saved_exeext=$ac_exeext
12916 CC="$CROSSCC"
12917 ac_exeext=".exe"
12918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12919 /* end confdefs.h. */
12921 #include <vkd3d_shader.h>
12923 main (void)
12927 return 0;
12929 _ACEOF
12930 if ac_fn_c_try_compile "$LINENO"
12931 then :
12932 ac_cv_mingw_header_vkd3d_shader_h=yes
12933 else $as_nop
12934 ac_cv_mingw_header_vkd3d_shader_h=no
12936 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12937 CC=$ac_wine_check_headers_saved_cc
12938 ac_exeext=$ac_wine_check_headers_saved_exeext
12940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12941 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12942 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12943 then :
12946 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12947 then
12948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d" >&5
12949 printf %s "checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d... " >&6; }
12950 if test ${ac_cv_mingw_lib_vkd3d+y}
12951 then :
12952 printf %s "(cached) " >&6
12953 else $as_nop
12954 ac_wine_check_headers_saved_cc=$CC
12955 ac_wine_check_headers_saved_exeext=$ac_exeext
12956 ac_wine_check_headers_saved_libs=$LIBS
12957 CC="$CROSSCC"
12958 ac_exeext=".exe"
12959 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12961 /* end confdefs.h. */
12963 /* Override any GCC internal prototype to avoid an error.
12964 Use char because int might match the return type of a GCC
12965 builtin and then its argument prototype would still apply. */
12966 char vkd3d_serialize_versioned_root_signature ();
12968 main (void)
12970 return vkd3d_serialize_versioned_root_signature ();
12972 return 0;
12974 _ACEOF
12975 if ac_fn_c_try_link "$LINENO"
12976 then :
12977 ac_cv_mingw_lib_vkd3d=yes
12978 else $as_nop
12979 ac_cv_mingw_lib_vkd3d=no
12981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12982 conftest$ac_exeext conftest.$ac_ext
12983 CC=$ac_wine_check_headers_saved_cc
12984 ac_exeext=$ac_wine_check_headers_saved_exeext
12985 LIBS=$ac_wine_check_headers_saved_libs
12987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12988 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12989 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12990 then :
12992 else $as_nop
12995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12996 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12997 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12998 then :
12999 printf %s "(cached) " >&6
13000 else $as_nop
13001 ac_wine_check_headers_saved_cc=$CC
13002 ac_wine_check_headers_saved_exeext=$ac_exeext
13003 ac_wine_check_headers_saved_libs=$LIBS
13004 CC="$CROSSCC"
13005 ac_exeext=".exe"
13006 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13008 /* end confdefs.h. */
13010 /* Override any GCC internal prototype to avoid an error.
13011 Use char because int might match the return type of a GCC
13012 builtin and then its argument prototype would still apply. */
13013 char vkd3d_shader_compile ();
13015 main (void)
13017 return vkd3d_shader_compile ();
13019 return 0;
13021 _ACEOF
13022 if ac_fn_c_try_link "$LINENO"
13023 then :
13024 ac_cv_mingw_lib_vkd3d_shader=yes
13025 else $as_nop
13026 ac_cv_mingw_lib_vkd3d_shader=no
13028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13029 conftest$ac_exeext conftest.$ac_ext
13030 CC=$ac_wine_check_headers_saved_cc
13031 ac_exeext=$ac_wine_check_headers_saved_exeext
13032 LIBS=$ac_wine_check_headers_saved_libs
13034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13035 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13036 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13037 then :
13039 else $as_nop
13042 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13043 then
13044 VKD3D_PE_CFLAGS=""
13045 VKD3D_PE_LIBS=""
13047 else
13048 VKD3D_PE_CFLAGS=""
13049 VKD3D_PE_LIBS=""
13051 CPPFLAGS=$ac_save_CPPFLAGS
13053 if test "x$VKD3D_PE_LIBS" = "x"
13054 then
13055 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found; using bundled version."
13058 if ${ZLIB_PE_CFLAGS:+false} :
13059 then :
13060 if test ${MINGW_PKG_CONFIG+y}
13061 then :
13062 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13065 if ${ZLIB_PE_LIBS:+false} :
13066 then :
13067 if test ${MINGW_PKG_CONFIG+y}
13068 then :
13069 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13072 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13073 ac_save_CPPFLAGS=$CPPFLAGS
13074 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13076 printf %s "checking for MinGW zlib.h... " >&6; }
13077 if test ${ac_cv_mingw_header_zlib_h+y}
13078 then :
13079 printf %s "(cached) " >&6
13080 else $as_nop
13081 ac_wine_check_headers_saved_cc=$CC
13082 ac_wine_check_headers_saved_exeext=$ac_exeext
13083 CC="$CROSSCC"
13084 ac_exeext=".exe"
13085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13088 #include <zlib.h>
13090 main (void)
13094 return 0;
13096 _ACEOF
13097 if ac_fn_c_try_compile "$LINENO"
13098 then :
13099 ac_cv_mingw_header_zlib_h=yes
13100 else $as_nop
13101 ac_cv_mingw_header_zlib_h=no
13103 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13104 CC=$ac_wine_check_headers_saved_cc
13105 ac_exeext=$ac_wine_check_headers_saved_exeext
13107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13108 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13109 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13110 then :
13111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13112 printf %s "checking for inflate in MinGW -lz... " >&6; }
13113 if test ${ac_cv_mingw_lib_z+y}
13114 then :
13115 printf %s "(cached) " >&6
13116 else $as_nop
13117 ac_wine_check_headers_saved_cc=$CC
13118 ac_wine_check_headers_saved_exeext=$ac_exeext
13119 ac_wine_check_headers_saved_libs=$LIBS
13120 CC="$CROSSCC"
13121 ac_exeext=".exe"
13122 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13124 /* end confdefs.h. */
13126 /* Override any GCC internal prototype to avoid an error.
13127 Use char because int might match the return type of a GCC
13128 builtin and then its argument prototype would still apply. */
13129 char inflate ();
13131 main (void)
13133 return inflate ();
13135 return 0;
13137 _ACEOF
13138 if ac_fn_c_try_link "$LINENO"
13139 then :
13140 ac_cv_mingw_lib_z=yes
13141 else $as_nop
13142 ac_cv_mingw_lib_z=no
13144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13145 conftest$ac_exeext conftest.$ac_ext
13146 CC=$ac_wine_check_headers_saved_cc
13147 ac_exeext=$ac_wine_check_headers_saved_exeext
13148 LIBS=$ac_wine_check_headers_saved_libs
13150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13151 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13152 if test "x$ac_cv_mingw_lib_z" = xyes
13153 then :
13155 else $as_nop
13156 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13158 else $as_nop
13159 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13161 CPPFLAGS=$ac_save_CPPFLAGS
13163 if test "x$ZLIB_PE_LIBS" = "x"
13164 then
13165 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13169 if ${FAUDIO_PE_LIBS:+false} :
13170 then :
13171 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13172 if ${FAUDIO_PE_CFLAGS:+false} :
13173 then :
13174 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13175 else $as_nop
13176 enable_faudio=no
13178 else $as_nop
13179 enable_faudio=no
13181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13184 if ${GSM_PE_LIBS:+false} :
13185 then :
13186 GSM_PE_LIBS=gsm
13187 if ${GSM_PE_CFLAGS:+false} :
13188 then :
13189 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13190 else $as_nop
13191 enable_gsm=no
13193 else $as_nop
13194 enable_gsm=no
13196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13199 if ${JPEG_PE_LIBS:+false} :
13200 then :
13201 JPEG_PE_LIBS=jpeg
13202 if ${JPEG_PE_CFLAGS:+false} :
13203 then :
13204 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13205 else $as_nop
13206 enable_jpeg=no
13208 else $as_nop
13209 enable_jpeg=no
13211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13214 if ${JXR_PE_LIBS:+false} :
13215 then :
13216 JXR_PE_LIBS=jxr
13217 if ${JXR_PE_CFLAGS:+false} :
13218 then :
13219 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13220 else $as_nop
13221 enable_jxr=no
13223 else $as_nop
13224 enable_jxr=no
13226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13229 if ${LCMS2_PE_LIBS:+false} :
13230 then :
13231 LCMS2_PE_LIBS=lcms2
13232 if ${LCMS2_PE_CFLAGS:+false} :
13233 then :
13234 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13235 else $as_nop
13236 enable_lcms2=no
13238 else $as_nop
13239 enable_lcms2=no
13241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13244 if ${MPG123_PE_LIBS:+false} :
13245 then :
13246 MPG123_PE_LIBS=mpg123
13247 if ${MPG123_PE_CFLAGS:+false} :
13248 then :
13249 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13250 else $as_nop
13251 enable_mpg123=no
13253 else $as_nop
13254 enable_mpg123=no
13256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13259 if ${PNG_PE_LIBS:+false} :
13260 then :
13261 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13262 if ${PNG_PE_CFLAGS:+false} :
13263 then :
13264 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13265 else $as_nop
13266 enable_png=no
13268 else $as_nop
13269 enable_png=no
13271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13274 if ${TIFF_PE_LIBS:+false} :
13275 then :
13276 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13277 if ${TIFF_PE_CFLAGS:+false} :
13278 then :
13279 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13280 else $as_nop
13281 enable_tiff=no
13283 else $as_nop
13284 enable_tiff=no
13286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13289 if ${VKD3D_PE_LIBS:+false} :
13290 then :
13291 VKD3D_PE_LIBS=vkd3d
13292 if ${VKD3D_PE_CFLAGS:+false} :
13293 then :
13294 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13295 else $as_nop
13296 enable_vkd3d=no
13298 else $as_nop
13299 enable_vkd3d=no
13301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13304 if ${XML2_PE_LIBS:+false} :
13305 then :
13306 XML2_PE_LIBS=xml2
13307 if ${XML2_PE_CFLAGS:+false} :
13308 then :
13309 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13310 else $as_nop
13311 enable_xml2=no
13313 else $as_nop
13314 enable_xml2=no
13316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13319 if ${XSLT_PE_LIBS:+false} :
13320 then :
13321 XSLT_PE_LIBS=xslt
13322 if ${XSLT_PE_CFLAGS:+false} :
13323 then :
13324 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13325 else $as_nop
13326 enable_xslt=no
13328 else $as_nop
13329 enable_xslt=no
13331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13334 if ${ZLIB_PE_LIBS:+false} :
13335 then :
13336 ZLIB_PE_LIBS=z
13337 if ${ZLIB_PE_CFLAGS:+false} :
13338 then :
13339 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13340 else $as_nop
13341 enable_zlib=no
13343 else $as_nop
13344 enable_zlib=no
13346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13351 if test "$ac_cv_header_pthread_h" = "yes"
13352 then
13353 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13354 if test "x$ac_cv_func_pthread_create" = xyes
13355 then :
13357 else $as_nop
13358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13359 printf %s "checking for pthread_create in -lpthread... " >&6; }
13360 if test ${ac_cv_lib_pthread_pthread_create+y}
13361 then :
13362 printf %s "(cached) " >&6
13363 else $as_nop
13364 ac_check_lib_save_LIBS=$LIBS
13365 LIBS="-lpthread $LIBS"
13366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13367 /* end confdefs.h. */
13369 /* Override any GCC internal prototype to avoid an error.
13370 Use char because int might match the return type of a GCC
13371 builtin and then its argument prototype would still apply. */
13372 char pthread_create ();
13374 main (void)
13376 return pthread_create ();
13378 return 0;
13380 _ACEOF
13381 if ac_fn_c_try_link "$LINENO"
13382 then :
13383 ac_cv_lib_pthread_pthread_create=yes
13384 else $as_nop
13385 ac_cv_lib_pthread_pthread_create=no
13387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13388 conftest$ac_exeext conftest.$ac_ext
13389 LIBS=$ac_check_lib_save_LIBS
13391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13392 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13393 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13394 then :
13395 PTHREAD_LIBS="-lpthread"
13402 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13403 then :
13404 case "x$with_pthread" in
13405 xno) ;;
13406 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13407 Wine cannot support threads without libpthread.
13408 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13409 esac
13414 ac_ext=c
13415 ac_cpp='$CPP $CPPFLAGS'
13416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13420 printf %s "checking how to run the C preprocessor... " >&6; }
13421 # On Suns, sometimes $CPP names a directory.
13422 if test -n "$CPP" && test -d "$CPP"; then
13423 CPP=
13425 if test -z "$CPP"; then
13426 if test ${ac_cv_prog_CPP+y}
13427 then :
13428 printf %s "(cached) " >&6
13429 else $as_nop
13430 # Double quotes because $CC needs to be expanded
13431 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13433 ac_preproc_ok=false
13434 for ac_c_preproc_warn_flag in '' yes
13436 # Use a header file that comes with gcc, so configuring glibc
13437 # with a fresh cross-compiler works.
13438 # On the NeXT, cc -E runs the code through the compiler's parser,
13439 # not just through cpp. "Syntax error" is here to catch this case.
13440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */
13442 #include <limits.h>
13443 Syntax error
13444 _ACEOF
13445 if ac_fn_c_try_cpp "$LINENO"
13446 then :
13448 else $as_nop
13449 # Broken: fails on valid input.
13450 continue
13452 rm -f conftest.err conftest.i conftest.$ac_ext
13454 # OK, works on sane cases. Now check whether nonexistent headers
13455 # can be detected and how.
13456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13457 /* end confdefs.h. */
13458 #include <ac_nonexistent.h>
13459 _ACEOF
13460 if ac_fn_c_try_cpp "$LINENO"
13461 then :
13462 # Broken: success on invalid input.
13463 continue
13464 else $as_nop
13465 # Passes both tests.
13466 ac_preproc_ok=:
13467 break
13469 rm -f conftest.err conftest.i conftest.$ac_ext
13471 done
13472 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13473 rm -f conftest.i conftest.err conftest.$ac_ext
13474 if $ac_preproc_ok
13475 then :
13476 break
13479 done
13480 ac_cv_prog_CPP=$CPP
13483 CPP=$ac_cv_prog_CPP
13484 else
13485 ac_cv_prog_CPP=$CPP
13487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13488 printf "%s\n" "$CPP" >&6; }
13489 ac_preproc_ok=false
13490 for ac_c_preproc_warn_flag in '' yes
13492 # Use a header file that comes with gcc, so configuring glibc
13493 # with a fresh cross-compiler works.
13494 # On the NeXT, cc -E runs the code through the compiler's parser,
13495 # not just through cpp. "Syntax error" is here to catch this case.
13496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13497 /* end confdefs.h. */
13498 #include <limits.h>
13499 Syntax error
13500 _ACEOF
13501 if ac_fn_c_try_cpp "$LINENO"
13502 then :
13504 else $as_nop
13505 # Broken: fails on valid input.
13506 continue
13508 rm -f conftest.err conftest.i conftest.$ac_ext
13510 # OK, works on sane cases. Now check whether nonexistent headers
13511 # can be detected and how.
13512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13513 /* end confdefs.h. */
13514 #include <ac_nonexistent.h>
13515 _ACEOF
13516 if ac_fn_c_try_cpp "$LINENO"
13517 then :
13518 # Broken: success on invalid input.
13519 continue
13520 else $as_nop
13521 # Passes both tests.
13522 ac_preproc_ok=:
13523 break
13525 rm -f conftest.err conftest.i conftest.$ac_ext
13527 done
13528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13529 rm -f conftest.i conftest.err conftest.$ac_ext
13530 if $ac_preproc_ok
13531 then :
13533 else $as_nop
13534 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13535 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13536 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13537 See \`config.log' for more details" "$LINENO" 5; }
13540 ac_ext=c
13541 ac_cpp='$CPP $CPPFLAGS'
13542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13548 printf %s "checking for X... " >&6; }
13551 # Check whether --with-x was given.
13552 if test ${with_x+y}
13553 then :
13554 withval=$with_x;
13557 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13558 if test "x$with_x" = xno; then
13559 # The user explicitly disabled X.
13560 have_x=disabled
13561 else
13562 case $x_includes,$x_libraries in #(
13563 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13564 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13565 then :
13566 printf %s "(cached) " >&6
13567 else $as_nop
13568 # One or both of the vars are not set, and there is no cached value.
13569 ac_x_includes=no
13570 ac_x_libraries=no
13571 # Do we need to do anything special at all?
13572 ac_save_LIBS=$LIBS
13573 LIBS="-lX11 $LIBS"
13574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13576 #include <X11/Xlib.h>
13578 main (void)
13580 XrmInitialize ()
13582 return 0;
13584 _ACEOF
13585 if ac_fn_c_try_link "$LINENO"
13586 then :
13587 # We can compile and link X programs with no special options.
13588 ac_x_includes=
13589 ac_x_libraries=
13591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13592 conftest$ac_exeext conftest.$ac_ext
13593 LIBS="$ac_save_LIBS"
13594 # If that didn't work, only try xmkmf and file system searches
13595 # for native compilation.
13596 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13597 then :
13598 rm -f -r conftest.dir
13599 if mkdir conftest.dir; then
13600 cd conftest.dir
13601 cat >Imakefile <<'_ACEOF'
13602 incroot:
13603 @echo incroot='${INCROOT}'
13604 usrlibdir:
13605 @echo usrlibdir='${USRLIBDIR}'
13606 libdir:
13607 @echo libdir='${LIBDIR}'
13608 _ACEOF
13609 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13610 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13611 for ac_var in incroot usrlibdir libdir; do
13612 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13613 done
13614 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13615 for ac_extension in a so sl dylib la dll; do
13616 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13617 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13618 ac_im_usrlibdir=$ac_im_libdir; break
13620 done
13621 # Screen out bogus values from the imake configuration. They are
13622 # bogus both because they are the default anyway, and because
13623 # using them would break gcc on systems where it needs fixed includes.
13624 case $ac_im_incroot in
13625 /usr/include) ac_x_includes= ;;
13626 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13627 esac
13628 case $ac_im_usrlibdir in
13629 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13630 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13631 esac
13633 cd ..
13634 rm -f -r conftest.dir
13637 # Standard set of common directories for X headers.
13638 # Check X11 before X11Rn because it is often a symlink to the current release.
13639 ac_x_header_dirs='
13640 /usr/X11/include
13641 /usr/X11R7/include
13642 /usr/X11R6/include
13643 /usr/X11R5/include
13644 /usr/X11R4/include
13646 /usr/include/X11
13647 /usr/include/X11R7
13648 /usr/include/X11R6
13649 /usr/include/X11R5
13650 /usr/include/X11R4
13652 /usr/local/X11/include
13653 /usr/local/X11R7/include
13654 /usr/local/X11R6/include
13655 /usr/local/X11R5/include
13656 /usr/local/X11R4/include
13658 /usr/local/include/X11
13659 /usr/local/include/X11R7
13660 /usr/local/include/X11R6
13661 /usr/local/include/X11R5
13662 /usr/local/include/X11R4
13664 /opt/X11/include
13666 /usr/X386/include
13667 /usr/x386/include
13668 /usr/XFree86/include/X11
13670 /usr/include
13671 /usr/local/include
13672 /usr/unsupported/include
13673 /usr/athena/include
13674 /usr/local/x11r5/include
13675 /usr/lpp/Xamples/include
13677 /usr/openwin/include
13678 /usr/openwin/share/include'
13680 if test "$ac_x_includes" = no; then
13681 # Guess where to find include files, by looking for Xlib.h.
13682 # First, try using that file with no special directory specified.
13683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13684 /* end confdefs.h. */
13685 #include <X11/Xlib.h>
13686 _ACEOF
13687 if ac_fn_c_try_cpp "$LINENO"
13688 then :
13689 # We can compile using X headers with no special include directory.
13690 ac_x_includes=
13691 else $as_nop
13692 for ac_dir in $ac_x_header_dirs; do
13693 if test -r "$ac_dir/X11/Xlib.h"; then
13694 ac_x_includes=$ac_dir
13695 break
13697 done
13699 rm -f conftest.err conftest.i conftest.$ac_ext
13700 fi # $ac_x_includes = no
13702 if test "$ac_x_libraries" = no; then
13703 # Check for the libraries.
13704 # See if we find them without any special options.
13705 # Don't add to $LIBS permanently.
13706 ac_save_LIBS=$LIBS
13707 LIBS="-lX11 $LIBS"
13708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13709 /* end confdefs.h. */
13710 #include <X11/Xlib.h>
13712 main (void)
13714 XrmInitialize ()
13716 return 0;
13718 _ACEOF
13719 if ac_fn_c_try_link "$LINENO"
13720 then :
13721 LIBS=$ac_save_LIBS
13722 # We can link X programs with no special library path.
13723 ac_x_libraries=
13724 else $as_nop
13725 LIBS=$ac_save_LIBS
13726 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13728 # Don't even attempt the hair of trying to link an X program!
13729 for ac_extension in a so sl dylib la dll; do
13730 if test -r "$ac_dir/libX11.$ac_extension"; then
13731 ac_x_libraries=$ac_dir
13732 break 2
13734 done
13735 done
13737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13738 conftest$ac_exeext conftest.$ac_ext
13739 fi # $ac_x_libraries = no
13742 # Record the results.
13743 case $ac_x_includes,$ac_x_libraries in #(
13744 no,* | *,no | *\'*) :
13745 # Didn't find X, or a directory has "'" in its name.
13746 ac_cv_have_x="have_x=no" ;; #(
13747 *) :
13748 # Record where we found X for the cache.
13749 ac_cv_have_x="have_x=yes\
13750 ac_x_includes='$ac_x_includes'\
13751 ac_x_libraries='$ac_x_libraries'" ;;
13752 esac
13754 ;; #(
13755 *) have_x=yes;;
13756 esac
13757 eval "$ac_cv_have_x"
13758 fi # $with_x != no
13760 if test "$have_x" != yes; then
13761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13762 printf "%s\n" "$have_x" >&6; }
13763 no_x=yes
13764 else
13765 # If each of the values was on the command line, it overrides each guess.
13766 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13767 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13768 # Update the cache value to reflect the command line values.
13769 ac_cv_have_x="have_x=yes\
13770 ac_x_includes='$x_includes'\
13771 ac_x_libraries='$x_libraries'"
13772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13773 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13776 if test "$no_x" = yes; then
13777 # Not all programs may use this symbol, but it does not hurt to define it.
13779 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13781 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13782 else
13783 if test -n "$x_includes"; then
13784 X_CFLAGS="$X_CFLAGS -I$x_includes"
13787 # It would also be nice to do this for all -L options, not just this one.
13788 if test -n "$x_libraries"; then
13789 X_LIBS="$X_LIBS -L$x_libraries"
13790 # For Solaris; some versions of Sun CC require a space after -R and
13791 # others require no space. Words are not sufficient . . . .
13792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13793 printf %s "checking whether -R must be followed by a space... " >&6; }
13794 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13795 ac_xsave_c_werror_flag=$ac_c_werror_flag
13796 ac_c_werror_flag=yes
13797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13801 main (void)
13805 return 0;
13807 _ACEOF
13808 if ac_fn_c_try_link "$LINENO"
13809 then :
13810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13811 printf "%s\n" "no" >&6; }
13812 X_LIBS="$X_LIBS -R$x_libraries"
13813 else $as_nop
13814 LIBS="$ac_xsave_LIBS -R $x_libraries"
13815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13819 main (void)
13823 return 0;
13825 _ACEOF
13826 if ac_fn_c_try_link "$LINENO"
13827 then :
13828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13829 printf "%s\n" "yes" >&6; }
13830 X_LIBS="$X_LIBS -R $x_libraries"
13831 else $as_nop
13832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13833 printf "%s\n" "neither works" >&6; }
13835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13836 conftest$ac_exeext conftest.$ac_ext
13838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13839 conftest$ac_exeext conftest.$ac_ext
13840 ac_c_werror_flag=$ac_xsave_c_werror_flag
13841 LIBS=$ac_xsave_LIBS
13844 # Check for system-dependent libraries X programs must link with.
13845 # Do this before checking for the system-independent R6 libraries
13846 # (-lICE), since we may need -lsocket or whatever for X linking.
13848 if test "$ISC" = yes; then
13849 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13850 else
13851 # Martyn Johnson says this is needed for Ultrix, if the X
13852 # libraries were built with DECnet support. And Karl Berry says
13853 # the Alpha needs dnet_stub (dnet does not exist).
13854 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13856 /* end confdefs.h. */
13858 /* Override any GCC internal prototype to avoid an error.
13859 Use char because int might match the return type of a GCC
13860 builtin and then its argument prototype would still apply. */
13861 char XOpenDisplay ();
13863 main (void)
13865 return XOpenDisplay ();
13867 return 0;
13869 _ACEOF
13870 if ac_fn_c_try_link "$LINENO"
13871 then :
13873 else $as_nop
13874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13875 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13876 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13877 then :
13878 printf %s "(cached) " >&6
13879 else $as_nop
13880 ac_check_lib_save_LIBS=$LIBS
13881 LIBS="-ldnet $LIBS"
13882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13883 /* end confdefs.h. */
13885 /* Override any GCC internal prototype to avoid an error.
13886 Use char because int might match the return type of a GCC
13887 builtin and then its argument prototype would still apply. */
13888 char dnet_ntoa ();
13890 main (void)
13892 return dnet_ntoa ();
13894 return 0;
13896 _ACEOF
13897 if ac_fn_c_try_link "$LINENO"
13898 then :
13899 ac_cv_lib_dnet_dnet_ntoa=yes
13900 else $as_nop
13901 ac_cv_lib_dnet_dnet_ntoa=no
13903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13904 conftest$ac_exeext conftest.$ac_ext
13905 LIBS=$ac_check_lib_save_LIBS
13907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13908 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13909 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13910 then :
13911 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13914 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13916 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13917 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13918 then :
13919 printf %s "(cached) " >&6
13920 else $as_nop
13921 ac_check_lib_save_LIBS=$LIBS
13922 LIBS="-ldnet_stub $LIBS"
13923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13924 /* end confdefs.h. */
13926 /* Override any GCC internal prototype to avoid an error.
13927 Use char because int might match the return type of a GCC
13928 builtin and then its argument prototype would still apply. */
13929 char dnet_ntoa ();
13931 main (void)
13933 return dnet_ntoa ();
13935 return 0;
13937 _ACEOF
13938 if ac_fn_c_try_link "$LINENO"
13939 then :
13940 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13941 else $as_nop
13942 ac_cv_lib_dnet_stub_dnet_ntoa=no
13944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13945 conftest$ac_exeext conftest.$ac_ext
13946 LIBS=$ac_check_lib_save_LIBS
13948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13949 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13950 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13951 then :
13952 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13958 conftest$ac_exeext conftest.$ac_ext
13959 LIBS="$ac_xsave_LIBS"
13961 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13962 # to get the SysV transport functions.
13963 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13964 # needs -lnsl.
13965 # The nsl library prevents programs from opening the X display
13966 # on Irix 5.2, according to T.E. Dickey.
13967 # The functions gethostbyname, getservbyname, and inet_addr are
13968 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13969 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13970 if test "x$ac_cv_func_gethostbyname" = xyes
13971 then :
13975 if test $ac_cv_func_gethostbyname = no; then
13976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13977 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13978 if test ${ac_cv_lib_nsl_gethostbyname+y}
13979 then :
13980 printf %s "(cached) " >&6
13981 else $as_nop
13982 ac_check_lib_save_LIBS=$LIBS
13983 LIBS="-lnsl $LIBS"
13984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13985 /* end confdefs.h. */
13987 /* Override any GCC internal prototype to avoid an error.
13988 Use char because int might match the return type of a GCC
13989 builtin and then its argument prototype would still apply. */
13990 char gethostbyname ();
13992 main (void)
13994 return gethostbyname ();
13996 return 0;
13998 _ACEOF
13999 if ac_fn_c_try_link "$LINENO"
14000 then :
14001 ac_cv_lib_nsl_gethostbyname=yes
14002 else $as_nop
14003 ac_cv_lib_nsl_gethostbyname=no
14005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14006 conftest$ac_exeext conftest.$ac_ext
14007 LIBS=$ac_check_lib_save_LIBS
14009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14010 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14011 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14012 then :
14013 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14016 if test $ac_cv_lib_nsl_gethostbyname = no; then
14017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14018 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14019 if test ${ac_cv_lib_bsd_gethostbyname+y}
14020 then :
14021 printf %s "(cached) " >&6
14022 else $as_nop
14023 ac_check_lib_save_LIBS=$LIBS
14024 LIBS="-lbsd $LIBS"
14025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14026 /* end confdefs.h. */
14028 /* Override any GCC internal prototype to avoid an error.
14029 Use char because int might match the return type of a GCC
14030 builtin and then its argument prototype would still apply. */
14031 char gethostbyname ();
14033 main (void)
14035 return gethostbyname ();
14037 return 0;
14039 _ACEOF
14040 if ac_fn_c_try_link "$LINENO"
14041 then :
14042 ac_cv_lib_bsd_gethostbyname=yes
14043 else $as_nop
14044 ac_cv_lib_bsd_gethostbyname=no
14046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14047 conftest$ac_exeext conftest.$ac_ext
14048 LIBS=$ac_check_lib_save_LIBS
14050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14051 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14052 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14053 then :
14054 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14060 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14061 # socket/setsockopt and other routines are undefined under SCO ODT
14062 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14063 # on later versions), says Simon Leinen: it contains gethostby*
14064 # variants that don't use the name server (or something). -lsocket
14065 # must be given before -lnsl if both are needed. We assume that
14066 # if connect needs -lnsl, so does gethostbyname.
14067 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14068 if test "x$ac_cv_func_connect" = xyes
14069 then :
14073 if test $ac_cv_func_connect = no; then
14074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14075 printf %s "checking for connect in -lsocket... " >&6; }
14076 if test ${ac_cv_lib_socket_connect+y}
14077 then :
14078 printf %s "(cached) " >&6
14079 else $as_nop
14080 ac_check_lib_save_LIBS=$LIBS
14081 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14083 /* end confdefs.h. */
14085 /* Override any GCC internal prototype to avoid an error.
14086 Use char because int might match the return type of a GCC
14087 builtin and then its argument prototype would still apply. */
14088 char connect ();
14090 main (void)
14092 return connect ();
14094 return 0;
14096 _ACEOF
14097 if ac_fn_c_try_link "$LINENO"
14098 then :
14099 ac_cv_lib_socket_connect=yes
14100 else $as_nop
14101 ac_cv_lib_socket_connect=no
14103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14104 conftest$ac_exeext conftest.$ac_ext
14105 LIBS=$ac_check_lib_save_LIBS
14107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14108 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14109 if test "x$ac_cv_lib_socket_connect" = xyes
14110 then :
14111 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14116 # Guillermo Gomez says -lposix is necessary on A/UX.
14117 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14118 if test "x$ac_cv_func_remove" = xyes
14119 then :
14123 if test $ac_cv_func_remove = no; then
14124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14125 printf %s "checking for remove in -lposix... " >&6; }
14126 if test ${ac_cv_lib_posix_remove+y}
14127 then :
14128 printf %s "(cached) " >&6
14129 else $as_nop
14130 ac_check_lib_save_LIBS=$LIBS
14131 LIBS="-lposix $LIBS"
14132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14133 /* end confdefs.h. */
14135 /* Override any GCC internal prototype to avoid an error.
14136 Use char because int might match the return type of a GCC
14137 builtin and then its argument prototype would still apply. */
14138 char remove ();
14140 main (void)
14142 return remove ();
14144 return 0;
14146 _ACEOF
14147 if ac_fn_c_try_link "$LINENO"
14148 then :
14149 ac_cv_lib_posix_remove=yes
14150 else $as_nop
14151 ac_cv_lib_posix_remove=no
14153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14154 conftest$ac_exeext conftest.$ac_ext
14155 LIBS=$ac_check_lib_save_LIBS
14157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14158 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14159 if test "x$ac_cv_lib_posix_remove" = xyes
14160 then :
14161 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14166 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14167 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14168 if test "x$ac_cv_func_shmat" = xyes
14169 then :
14173 if test $ac_cv_func_shmat = no; then
14174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14175 printf %s "checking for shmat in -lipc... " >&6; }
14176 if test ${ac_cv_lib_ipc_shmat+y}
14177 then :
14178 printf %s "(cached) " >&6
14179 else $as_nop
14180 ac_check_lib_save_LIBS=$LIBS
14181 LIBS="-lipc $LIBS"
14182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14185 /* Override any GCC internal prototype to avoid an error.
14186 Use char because int might match the return type of a GCC
14187 builtin and then its argument prototype would still apply. */
14188 char shmat ();
14190 main (void)
14192 return shmat ();
14194 return 0;
14196 _ACEOF
14197 if ac_fn_c_try_link "$LINENO"
14198 then :
14199 ac_cv_lib_ipc_shmat=yes
14200 else $as_nop
14201 ac_cv_lib_ipc_shmat=no
14203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14204 conftest$ac_exeext conftest.$ac_ext
14205 LIBS=$ac_check_lib_save_LIBS
14207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14208 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14209 if test "x$ac_cv_lib_ipc_shmat" = xyes
14210 then :
14211 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14217 # Check for libraries that X11R6 Xt/Xaw programs need.
14218 ac_save_LDFLAGS=$LDFLAGS
14219 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14220 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14221 # check for ICE first), but we must link in the order -lSM -lICE or
14222 # we get undefined symbols. So assume we have SM if we have ICE.
14223 # These have to be linked with before -lX11, unlike the other
14224 # libraries we check for below, so use a different variable.
14225 # John Interrante, Karl Berry
14226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14227 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14228 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14229 then :
14230 printf %s "(cached) " >&6
14231 else $as_nop
14232 ac_check_lib_save_LIBS=$LIBS
14233 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14237 /* Override any GCC internal prototype to avoid an error.
14238 Use char because int might match the return type of a GCC
14239 builtin and then its argument prototype would still apply. */
14240 char IceConnectionNumber ();
14242 main (void)
14244 return IceConnectionNumber ();
14246 return 0;
14248 _ACEOF
14249 if ac_fn_c_try_link "$LINENO"
14250 then :
14251 ac_cv_lib_ICE_IceConnectionNumber=yes
14252 else $as_nop
14253 ac_cv_lib_ICE_IceConnectionNumber=no
14255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14256 conftest$ac_exeext conftest.$ac_ext
14257 LIBS=$ac_check_lib_save_LIBS
14259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14260 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14261 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14262 then :
14263 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14266 LDFLAGS=$ac_save_LDFLAGS
14271 if test "$have_x" = "yes"
14272 then
14273 ac_save_CPPFLAGS="$CPPFLAGS"
14274 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14277 printf %s "checking for -lX11... " >&6; }
14278 if test ${ac_cv_lib_soname_X11+y}
14279 then :
14280 printf %s "(cached) " >&6
14281 else $as_nop
14282 ac_check_soname_save_LIBS=$LIBS
14283 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14285 /* end confdefs.h. */
14287 /* Override any GCC internal prototype to avoid an error.
14288 Use char because int might match the return type of a GCC
14289 builtin and then its argument prototype would still apply. */
14290 char XCreateWindow ();
14292 main (void)
14294 return XCreateWindow ();
14296 return 0;
14298 _ACEOF
14299 if ac_fn_c_try_link "$LINENO"
14300 then :
14301 case "$LIBEXT" in
14302 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14303 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'` ;;
14304 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14305 if ${ac_cv_lib_soname_X11:+false} :
14306 then :
14307 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14308 fi ;;
14309 esac
14310 else $as_nop
14311 ac_cv_lib_soname_X11=
14313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14314 conftest$ac_exeext conftest.$ac_ext
14315 LIBS=$ac_check_soname_save_LIBS
14317 if ${ac_cv_lib_soname_X11:+false} :
14318 then :
14319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14320 printf "%s\n" "not found" >&6; }
14322 else $as_nop
14323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14324 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14326 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14331 printf %s "checking for -lXext... " >&6; }
14332 if test ${ac_cv_lib_soname_Xext+y}
14333 then :
14334 printf %s "(cached) " >&6
14335 else $as_nop
14336 ac_check_soname_save_LIBS=$LIBS
14337 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14341 /* Override any GCC internal prototype to avoid an error.
14342 Use char because int might match the return type of a GCC
14343 builtin and then its argument prototype would still apply. */
14344 char XextCreateExtension ();
14346 main (void)
14348 return XextCreateExtension ();
14350 return 0;
14352 _ACEOF
14353 if ac_fn_c_try_link "$LINENO"
14354 then :
14355 case "$LIBEXT" in
14356 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14357 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'` ;;
14358 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14359 if ${ac_cv_lib_soname_Xext:+false} :
14360 then :
14361 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14362 fi ;;
14363 esac
14364 else $as_nop
14365 ac_cv_lib_soname_Xext=
14367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14368 conftest$ac_exeext conftest.$ac_ext
14369 LIBS=$ac_check_soname_save_LIBS
14371 if ${ac_cv_lib_soname_Xext:+false} :
14372 then :
14373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14374 printf "%s\n" "not found" >&6; }
14376 else $as_nop
14377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14378 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14380 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14382 X_LIBS="$X_LIBS -lXext"
14384 X_LIBS="$X_LIBS -lX11"
14386 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14387 # include <X11/Xlib.h>
14388 #endif
14389 #ifdef HAVE_X11_XUTIL_H
14390 # include <X11/Xutil.h>
14391 #endif
14393 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14394 then :
14395 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14398 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14399 # include <X11/Xlib.h>
14400 #endif
14401 #ifdef HAVE_X11_XUTIL_H
14402 # include <X11/Xutil.h>
14403 #endif
14405 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14406 then :
14407 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14410 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14411 # include <X11/Xlib.h>
14412 #endif
14413 #ifdef HAVE_X11_XUTIL_H
14414 # include <X11/Xutil.h>
14415 #endif
14417 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14418 then :
14419 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14422 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14423 # include <X11/Xlib.h>
14424 #endif
14425 #ifdef HAVE_X11_XUTIL_H
14426 # include <X11/Xutil.h>
14427 #endif
14429 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14430 then :
14431 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14434 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14435 # include <X11/Xlib.h>
14436 #endif
14437 #ifdef HAVE_X11_XUTIL_H
14438 # include <X11/Xutil.h>
14439 #endif
14441 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14442 then :
14443 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14446 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14447 # include <X11/Xlib.h>
14448 #endif
14449 #ifdef HAVE_X11_XUTIL_H
14450 # include <X11/Xutil.h>
14451 #endif
14453 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14454 then :
14455 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14458 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14459 # include <X11/Xlib.h>
14460 #endif
14461 #ifdef HAVE_X11_XUTIL_H
14462 # include <X11/Xutil.h>
14463 #endif
14465 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14466 then :
14467 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14470 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14471 # include <X11/Xlib.h>
14472 #endif
14473 #ifdef HAVE_X11_XUTIL_H
14474 # include <X11/Xutil.h>
14475 #endif
14477 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14478 then :
14479 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14482 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14483 # include <X11/Xlib.h>
14484 #endif
14485 #ifdef HAVE_X11_XUTIL_H
14486 # include <X11/Xutil.h>
14487 #endif
14489 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14490 then :
14491 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14494 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14495 # include <X11/Xlib.h>
14496 #endif
14497 #ifdef HAVE_X11_XUTIL_H
14498 # include <X11/Xutil.h>
14499 #endif
14501 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14502 then :
14503 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14506 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14507 # include <X11/Xlib.h>
14508 #endif
14509 #ifdef HAVE_X11_XUTIL_H
14510 # include <X11/Xutil.h>
14511 #endif
14513 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14514 then :
14515 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14518 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14519 # include <X11/Xlib.h>
14520 #endif
14521 #ifdef HAVE_X11_XUTIL_H
14522 # include <X11/Xutil.h>
14523 #endif
14525 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14526 then :
14527 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14530 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14531 # include <X11/Xlib.h>
14532 #endif
14533 #ifdef HAVE_X11_XUTIL_H
14534 # include <X11/Xutil.h>
14535 #endif
14537 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14538 then :
14539 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14542 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14543 # include <X11/Xlib.h>
14544 #endif
14545 #ifdef HAVE_X11_XUTIL_H
14546 # include <X11/Xutil.h>
14547 #endif
14549 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14550 then :
14551 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14554 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14555 # include <X11/Xlib.h>
14556 #endif
14557 #ifdef HAVE_X11_XUTIL_H
14558 # include <X11/Xutil.h>
14559 #endif
14561 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14562 then :
14563 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14568 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14569 then
14570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14571 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14572 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14573 then :
14574 printf %s "(cached) " >&6
14575 else $as_nop
14576 ac_check_lib_save_LIBS=$LIBS
14577 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14579 /* end confdefs.h. */
14581 /* Override any GCC internal prototype to avoid an error.
14582 Use char because int might match the return type of a GCC
14583 builtin and then its argument prototype would still apply. */
14584 char XkbQueryExtension ();
14586 main (void)
14588 return XkbQueryExtension ();
14590 return 0;
14592 _ACEOF
14593 if ac_fn_c_try_link "$LINENO"
14594 then :
14595 ac_cv_lib_X11_XkbQueryExtension=yes
14596 else $as_nop
14597 ac_cv_lib_X11_XkbQueryExtension=no
14599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14600 conftest$ac_exeext conftest.$ac_ext
14601 LIBS=$ac_check_lib_save_LIBS
14603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14604 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14605 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14606 then :
14608 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14614 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14615 then
14616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14617 printf %s "checking for -lXcursor... " >&6; }
14618 if test ${ac_cv_lib_soname_Xcursor+y}
14619 then :
14620 printf %s "(cached) " >&6
14621 else $as_nop
14622 ac_check_soname_save_LIBS=$LIBS
14623 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14625 /* end confdefs.h. */
14627 /* Override any GCC internal prototype to avoid an error.
14628 Use char because int might match the return type of a GCC
14629 builtin and then its argument prototype would still apply. */
14630 char XcursorImageLoadCursor ();
14632 main (void)
14634 return XcursorImageLoadCursor ();
14636 return 0;
14638 _ACEOF
14639 if ac_fn_c_try_link "$LINENO"
14640 then :
14641 case "$LIBEXT" in
14642 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14643 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'` ;;
14644 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14645 if ${ac_cv_lib_soname_Xcursor:+false} :
14646 then :
14647 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14648 fi ;;
14649 esac
14650 else $as_nop
14651 ac_cv_lib_soname_Xcursor=
14653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14654 conftest$ac_exeext conftest.$ac_ext
14655 LIBS=$ac_check_soname_save_LIBS
14657 if ${ac_cv_lib_soname_Xcursor:+false} :
14658 then :
14659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14660 printf "%s\n" "not found" >&6; }
14662 else $as_nop
14663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14664 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14666 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14671 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14672 then :
14673 case "x$with_xcursor" in
14674 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14675 xno) ;;
14676 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14677 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14678 esac
14682 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14683 then
14684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14685 printf %s "checking for -lXi... " >&6; }
14686 if test ${ac_cv_lib_soname_Xi+y}
14687 then :
14688 printf %s "(cached) " >&6
14689 else $as_nop
14690 ac_check_soname_save_LIBS=$LIBS
14691 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14693 /* end confdefs.h. */
14695 /* Override any GCC internal prototype to avoid an error.
14696 Use char because int might match the return type of a GCC
14697 builtin and then its argument prototype would still apply. */
14698 char XOpenDevice ();
14700 main (void)
14702 return XOpenDevice ();
14704 return 0;
14706 _ACEOF
14707 if ac_fn_c_try_link "$LINENO"
14708 then :
14709 case "$LIBEXT" in
14710 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14711 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'` ;;
14712 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14713 if ${ac_cv_lib_soname_Xi:+false} :
14714 then :
14715 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14716 fi ;;
14717 esac
14718 else $as_nop
14719 ac_cv_lib_soname_Xi=
14721 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14722 conftest$ac_exeext conftest.$ac_ext
14723 LIBS=$ac_check_soname_save_LIBS
14725 if ${ac_cv_lib_soname_Xi:+false} :
14726 then :
14727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14728 printf "%s\n" "not found" >&6; }
14730 else $as_nop
14731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14732 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14734 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14739 if test "x$ac_cv_lib_soname_Xi" = "x"
14740 then :
14741 case "x$with_xinput" in
14742 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14743 xno) ;;
14744 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14745 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14746 esac
14750 if test "x$ac_cv_lib_soname_Xi" != x
14751 then
14752 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14753 then :
14754 case "x$with_xinput2" in
14755 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14756 xno) ;;
14757 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14758 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14759 esac
14764 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14765 then
14766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14767 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14768 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14769 then :
14770 printf %s "(cached) " >&6
14771 else $as_nop
14772 ac_check_lib_save_LIBS=$LIBS
14773 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14775 /* end confdefs.h. */
14777 /* Override any GCC internal prototype to avoid an error.
14778 Use char because int might match the return type of a GCC
14779 builtin and then its argument prototype would still apply. */
14780 char XShmQueryExtension ();
14782 main (void)
14784 return XShmQueryExtension ();
14786 return 0;
14788 _ACEOF
14789 if ac_fn_c_try_link "$LINENO"
14790 then :
14791 ac_cv_lib_Xext_XShmQueryExtension=yes
14792 else $as_nop
14793 ac_cv_lib_Xext_XShmQueryExtension=no
14795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14796 conftest$ac_exeext conftest.$ac_ext
14797 LIBS=$ac_check_lib_save_LIBS
14799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14800 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14801 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14802 then :
14804 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14809 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14810 then :
14811 case "x$with_xshm" in
14812 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14813 xno) ;;
14814 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14815 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14816 esac
14820 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14821 then
14822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14823 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14824 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14825 then :
14826 printf %s "(cached) " >&6
14827 else $as_nop
14828 ac_check_lib_save_LIBS=$LIBS
14829 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14831 /* end confdefs.h. */
14833 /* Override any GCC internal prototype to avoid an error.
14834 Use char because int might match the return type of a GCC
14835 builtin and then its argument prototype would still apply. */
14836 char XShapeQueryExtension ();
14838 main (void)
14840 return XShapeQueryExtension ();
14842 return 0;
14844 _ACEOF
14845 if ac_fn_c_try_link "$LINENO"
14846 then :
14847 ac_cv_lib_Xext_XShapeQueryExtension=yes
14848 else $as_nop
14849 ac_cv_lib_Xext_XShapeQueryExtension=no
14851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14852 conftest$ac_exeext conftest.$ac_ext
14853 LIBS=$ac_check_lib_save_LIBS
14855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14856 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14857 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14858 then :
14860 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14865 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14866 then :
14867 case "x$with_xshape" in
14868 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14869 xno) ;;
14870 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14871 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14872 esac
14876 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14877 then
14878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14879 printf %s "checking for -lXxf86vm... " >&6; }
14880 if test ${ac_cv_lib_soname_Xxf86vm+y}
14881 then :
14882 printf %s "(cached) " >&6
14883 else $as_nop
14884 ac_check_soname_save_LIBS=$LIBS
14885 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14887 /* end confdefs.h. */
14889 /* Override any GCC internal prototype to avoid an error.
14890 Use char because int might match the return type of a GCC
14891 builtin and then its argument prototype would still apply. */
14892 char XF86VidModeQueryExtension ();
14894 main (void)
14896 return XF86VidModeQueryExtension ();
14898 return 0;
14900 _ACEOF
14901 if ac_fn_c_try_link "$LINENO"
14902 then :
14903 case "$LIBEXT" in
14904 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14905 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'` ;;
14906 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14907 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14908 then :
14909 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14910 fi ;;
14911 esac
14912 else $as_nop
14913 ac_cv_lib_soname_Xxf86vm=
14915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14916 conftest$ac_exeext conftest.$ac_ext
14917 LIBS=$ac_check_soname_save_LIBS
14919 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14920 then :
14921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14922 printf "%s\n" "not found" >&6; }
14924 else $as_nop
14925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14926 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14928 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14933 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14934 then :
14935 case "x$with_xxf86vm" in
14936 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14937 xno) ;;
14938 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14939 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14940 esac
14944 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14945 then
14946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14947 printf %s "checking for -lXrender... " >&6; }
14948 if test ${ac_cv_lib_soname_Xrender+y}
14949 then :
14950 printf %s "(cached) " >&6
14951 else $as_nop
14952 ac_check_soname_save_LIBS=$LIBS
14953 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14955 /* end confdefs.h. */
14957 /* Override any GCC internal prototype to avoid an error.
14958 Use char because int might match the return type of a GCC
14959 builtin and then its argument prototype would still apply. */
14960 char XRenderQueryExtension ();
14962 main (void)
14964 return XRenderQueryExtension ();
14966 return 0;
14968 _ACEOF
14969 if ac_fn_c_try_link "$LINENO"
14970 then :
14971 case "$LIBEXT" in
14972 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14973 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'` ;;
14974 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14975 if ${ac_cv_lib_soname_Xrender:+false} :
14976 then :
14977 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14978 fi ;;
14979 esac
14980 else $as_nop
14981 ac_cv_lib_soname_Xrender=
14983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14984 conftest$ac_exeext conftest.$ac_ext
14985 LIBS=$ac_check_soname_save_LIBS
14987 if ${ac_cv_lib_soname_Xrender:+false} :
14988 then :
14989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14990 printf "%s\n" "not found" >&6; }
14992 else $as_nop
14993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14994 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14996 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14999 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15000 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15001 then :
15002 printf %s "(cached) " >&6
15003 else $as_nop
15004 ac_check_lib_save_LIBS=$LIBS
15005 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15009 /* Override any GCC internal prototype to avoid an error.
15010 Use char because int might match the return type of a GCC
15011 builtin and then its argument prototype would still apply. */
15012 char XRenderSetPictureTransform ();
15014 main (void)
15016 return XRenderSetPictureTransform ();
15018 return 0;
15020 _ACEOF
15021 if ac_fn_c_try_link "$LINENO"
15022 then :
15023 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15024 else $as_nop
15025 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15028 conftest$ac_exeext conftest.$ac_ext
15029 LIBS=$ac_check_lib_save_LIBS
15031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15032 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15033 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15034 then :
15036 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15041 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15042 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15043 then :
15044 printf %s "(cached) " >&6
15045 else $as_nop
15046 ac_check_lib_save_LIBS=$LIBS
15047 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15049 /* end confdefs.h. */
15051 /* Override any GCC internal prototype to avoid an error.
15052 Use char because int might match the return type of a GCC
15053 builtin and then its argument prototype would still apply. */
15054 char XRenderCreateLinearGradient ();
15056 main (void)
15058 return XRenderCreateLinearGradient ();
15060 return 0;
15062 _ACEOF
15063 if ac_fn_c_try_link "$LINENO"
15064 then :
15065 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15066 else $as_nop
15067 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15070 conftest$ac_exeext conftest.$ac_ext
15071 LIBS=$ac_check_lib_save_LIBS
15073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15074 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15075 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15076 then :
15078 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15085 if test "x$ac_cv_lib_soname_Xrender" = "x"
15086 then :
15087 case "x$with_xrender" in
15088 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15089 xno) ;;
15090 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15091 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15092 esac
15096 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15097 then
15098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15099 /* end confdefs.h. */
15100 #include <X11/Xlib.h>
15101 #include <X11/extensions/Xrandr.h>
15103 main (void)
15105 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15107 return 0;
15109 _ACEOF
15110 if ac_fn_c_try_compile "$LINENO"
15111 then :
15112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15113 printf %s "checking for -lXrandr... " >&6; }
15114 if test ${ac_cv_lib_soname_Xrandr+y}
15115 then :
15116 printf %s "(cached) " >&6
15117 else $as_nop
15118 ac_check_soname_save_LIBS=$LIBS
15119 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15123 /* Override any GCC internal prototype to avoid an error.
15124 Use char because int might match the return type of a GCC
15125 builtin and then its argument prototype would still apply. */
15126 char XRRQueryExtension ();
15128 main (void)
15130 return XRRQueryExtension ();
15132 return 0;
15134 _ACEOF
15135 if ac_fn_c_try_link "$LINENO"
15136 then :
15137 case "$LIBEXT" in
15138 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15139 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'` ;;
15140 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15141 if ${ac_cv_lib_soname_Xrandr:+false} :
15142 then :
15143 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15144 fi ;;
15145 esac
15146 else $as_nop
15147 ac_cv_lib_soname_Xrandr=
15149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15150 conftest$ac_exeext conftest.$ac_ext
15151 LIBS=$ac_check_soname_save_LIBS
15153 if ${ac_cv_lib_soname_Xrandr:+false} :
15154 then :
15155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15156 printf "%s\n" "not found" >&6; }
15158 else $as_nop
15159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15160 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15162 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15166 #include <X11/Xlib.h>
15167 #include <X11/extensions/Xrandr.h>
15169 main (void)
15171 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15173 return 0;
15175 _ACEOF
15176 if ac_fn_c_try_compile "$LINENO"
15177 then :
15179 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15181 else $as_nop
15182 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15184 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15187 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15189 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15190 then :
15191 case "x$with_xrandr" in
15192 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15193 xno) ;;
15194 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15195 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15196 esac
15200 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15201 then
15202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15203 /* end confdefs.h. */
15204 #include <X11/Xlib.h>
15205 #include <X11/extensions/Xfixes.h>
15207 main (void)
15209 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15211 return 0;
15213 _ACEOF
15214 if ac_fn_c_try_compile "$LINENO"
15215 then :
15216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15217 printf %s "checking for -lXfixes... " >&6; }
15218 if test ${ac_cv_lib_soname_Xfixes+y}
15219 then :
15220 printf %s "(cached) " >&6
15221 else $as_nop
15222 ac_check_soname_save_LIBS=$LIBS
15223 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15225 /* end confdefs.h. */
15227 /* Override any GCC internal prototype to avoid an error.
15228 Use char because int might match the return type of a GCC
15229 builtin and then its argument prototype would still apply. */
15230 char XFixesQueryVersion ();
15232 main (void)
15234 return XFixesQueryVersion ();
15236 return 0;
15238 _ACEOF
15239 if ac_fn_c_try_link "$LINENO"
15240 then :
15241 case "$LIBEXT" in
15242 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15243 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'` ;;
15244 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15245 if ${ac_cv_lib_soname_Xfixes:+false} :
15246 then :
15247 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15248 fi ;;
15249 esac
15250 else $as_nop
15251 ac_cv_lib_soname_Xfixes=
15253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15254 conftest$ac_exeext conftest.$ac_ext
15255 LIBS=$ac_check_soname_save_LIBS
15257 if ${ac_cv_lib_soname_Xfixes:+false} :
15258 then :
15259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15260 printf "%s\n" "not found" >&6; }
15262 else $as_nop
15263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15264 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15266 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15273 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15274 then :
15275 case "x$with_xfixes" in
15276 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15277 xno) ;;
15278 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15279 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15280 esac
15284 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15285 then
15286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15287 /* end confdefs.h. */
15288 #include <X11/Xlib.h>
15289 #include <X11/extensions/Xinerama.h>
15291 main (void)
15293 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15295 return 0;
15297 _ACEOF
15298 if ac_fn_c_try_compile "$LINENO"
15299 then :
15300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15301 printf %s "checking for -lXinerama... " >&6; }
15302 if test ${ac_cv_lib_soname_Xinerama+y}
15303 then :
15304 printf %s "(cached) " >&6
15305 else $as_nop
15306 ac_check_soname_save_LIBS=$LIBS
15307 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15309 /* end confdefs.h. */
15311 /* Override any GCC internal prototype to avoid an error.
15312 Use char because int might match the return type of a GCC
15313 builtin and then its argument prototype would still apply. */
15314 char XineramaQueryScreens ();
15316 main (void)
15318 return XineramaQueryScreens ();
15320 return 0;
15322 _ACEOF
15323 if ac_fn_c_try_link "$LINENO"
15324 then :
15325 case "$LIBEXT" in
15326 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15327 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'` ;;
15328 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15329 if ${ac_cv_lib_soname_Xinerama:+false} :
15330 then :
15331 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15332 fi ;;
15333 esac
15334 else $as_nop
15335 ac_cv_lib_soname_Xinerama=
15337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15338 conftest$ac_exeext conftest.$ac_ext
15339 LIBS=$ac_check_soname_save_LIBS
15341 if ${ac_cv_lib_soname_Xinerama:+false} :
15342 then :
15343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15344 printf "%s\n" "not found" >&6; }
15346 else $as_nop
15347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15348 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15350 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15357 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15358 then :
15359 case "x$with_xinerama" in
15360 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15361 xno) ;;
15362 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15363 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15364 esac
15368 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15369 then
15370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15371 printf %s "checking for -lXcomposite... " >&6; }
15372 if test ${ac_cv_lib_soname_Xcomposite+y}
15373 then :
15374 printf %s "(cached) " >&6
15375 else $as_nop
15376 ac_check_soname_save_LIBS=$LIBS
15377 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15381 /* Override any GCC internal prototype to avoid an error.
15382 Use char because int might match the return type of a GCC
15383 builtin and then its argument prototype would still apply. */
15384 char XCompositeRedirectWindow ();
15386 main (void)
15388 return XCompositeRedirectWindow ();
15390 return 0;
15392 _ACEOF
15393 if ac_fn_c_try_link "$LINENO"
15394 then :
15395 case "$LIBEXT" in
15396 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15397 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'` ;;
15398 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15399 if ${ac_cv_lib_soname_Xcomposite:+false} :
15400 then :
15401 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15402 fi ;;
15403 esac
15404 else $as_nop
15405 ac_cv_lib_soname_Xcomposite=
15407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15408 conftest$ac_exeext conftest.$ac_ext
15409 LIBS=$ac_check_soname_save_LIBS
15411 if ${ac_cv_lib_soname_Xcomposite:+false} :
15412 then :
15413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15414 printf "%s\n" "not found" >&6; }
15416 else $as_nop
15417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15418 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15420 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15425 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15426 then :
15427 case "x$with_xcomposite" in
15428 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15429 xno) ;;
15430 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15431 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15432 esac
15436 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15437 #include <X11/Xlib.h>
15438 #endif
15440 if test "x$ac_cv_member_XICCallback_callback" = xyes
15441 then :
15443 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15447 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15448 #include <X11/Xlib.h>
15449 #endif
15451 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15452 then :
15454 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15461 opengl_msg=""
15462 if test "x$with_opengl" != "xno"
15463 then
15464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15465 printf %s "checking for -lGL... " >&6; }
15466 if test ${ac_cv_lib_soname_GL+y}
15467 then :
15468 printf %s "(cached) " >&6
15469 else $as_nop
15470 ac_check_soname_save_LIBS=$LIBS
15471 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15473 /* end confdefs.h. */
15475 /* Override any GCC internal prototype to avoid an error.
15476 Use char because int might match the return type of a GCC
15477 builtin and then its argument prototype would still apply. */
15478 char glXCreateContext ();
15480 main (void)
15482 return glXCreateContext ();
15484 return 0;
15486 _ACEOF
15487 if ac_fn_c_try_link "$LINENO"
15488 then :
15489 case "$LIBEXT" in
15490 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15491 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'` ;;
15492 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15493 if ${ac_cv_lib_soname_GL:+false} :
15494 then :
15495 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15496 fi ;;
15497 esac
15498 else $as_nop
15499 ac_cv_lib_soname_GL=
15501 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15502 conftest$ac_exeext conftest.$ac_ext
15503 LIBS=$ac_check_soname_save_LIBS
15505 if ${ac_cv_lib_soname_GL:+false} :
15506 then :
15507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15508 printf "%s\n" "not found" >&6; }
15509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15510 printf %s "checking for -lGL... " >&6; }
15511 if test ${ac_cv_lib_soname_GL+y}
15512 then :
15513 printf %s "(cached) " >&6
15514 else $as_nop
15515 ac_check_soname_save_LIBS=$LIBS
15516 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"
15517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15520 /* Override any GCC internal prototype to avoid an error.
15521 Use char because int might match the return type of a GCC
15522 builtin and then its argument prototype would still apply. */
15523 char glXCreateContext ();
15525 main (void)
15527 return glXCreateContext ();
15529 return 0;
15531 _ACEOF
15532 if ac_fn_c_try_link "$LINENO"
15533 then :
15534 case "$LIBEXT" in
15535 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15536 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'` ;;
15537 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15538 if ${ac_cv_lib_soname_GL:+false} :
15539 then :
15540 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15541 fi ;;
15542 esac
15543 else $as_nop
15544 ac_cv_lib_soname_GL=
15546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15547 conftest$ac_exeext conftest.$ac_ext
15548 LIBS=$ac_check_soname_save_LIBS
15550 if ${ac_cv_lib_soname_GL:+false} :
15551 then :
15552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15553 printf "%s\n" "not found" >&6; }
15554 if test -f /usr/X11R6/lib/libGL.a
15555 then
15556 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15557 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15558 else
15559 opengl_msg="No OpenGL library found on this system."
15561 else $as_nop
15562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15563 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15565 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15567 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"
15569 else $as_nop
15570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15571 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15573 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15575 OPENGL_LIBS="-lGL"
15577 if test "x$with_osmesa" != "xno"
15578 then
15579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15580 printf %s "checking for -lOSMesa... " >&6; }
15581 if test ${ac_cv_lib_soname_OSMesa+y}
15582 then :
15583 printf %s "(cached) " >&6
15584 else $as_nop
15585 ac_check_soname_save_LIBS=$LIBS
15586 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15588 /* end confdefs.h. */
15590 /* Override any GCC internal prototype to avoid an error.
15591 Use char because int might match the return type of a GCC
15592 builtin and then its argument prototype would still apply. */
15593 char OSMesaGetProcAddress ();
15595 main (void)
15597 return OSMesaGetProcAddress ();
15599 return 0;
15601 _ACEOF
15602 if ac_fn_c_try_link "$LINENO"
15603 then :
15604 case "$LIBEXT" in
15605 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15606 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'` ;;
15607 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15608 if ${ac_cv_lib_soname_OSMesa:+false} :
15609 then :
15610 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15611 fi ;;
15612 esac
15613 else $as_nop
15614 ac_cv_lib_soname_OSMesa=
15616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15617 conftest$ac_exeext conftest.$ac_ext
15618 LIBS=$ac_check_soname_save_LIBS
15620 if ${ac_cv_lib_soname_OSMesa:+false} :
15621 then :
15622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15623 printf "%s\n" "not found" >&6; }
15625 else $as_nop
15626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15627 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15629 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15633 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15634 then :
15635 case "x$with_osmesa" in
15636 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15637 xno) ;;
15638 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15639 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15640 esac
15645 if test -n "$opengl_msg"
15646 then :
15647 case "x$with_opengl" in
15648 x) as_fn_append wine_warnings "|$opengl_msg
15649 OpenGL and Direct3D won't be supported." ;;
15650 xno) ;;
15651 *) as_fn_error $? "$opengl_msg
15652 OpenGL and Direct3D won't be supported.
15653 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15654 esac
15658 CPPFLAGS="$ac_save_CPPFLAGS"
15659 else
15660 X_CFLAGS=""
15661 X_LIBS=""
15664 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15665 then
15666 if test "x$X_LIBS" = "x"
15667 then :
15668 case "x$with_x" in
15669 xno) ;;
15670 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15671 without X support, which probably isn't what you want. You will need
15672 to install ${notice_platform}development packages of Xlib at the very least.
15673 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15674 esac
15675 enable_winex11_drv=${enable_winex11_drv:-no}
15677 else
15678 if test "x$X_LIBS" = "x"
15679 then :
15680 case "x$with_x" in
15681 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15682 xno) ;;
15683 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15684 This is an error since --with-x was requested." "$LINENO" 5 ;;
15685 esac
15686 enable_winex11_drv=${enable_winex11_drv:-no}
15690 if test "$ac_cv_header_CL_cl_h" = "yes"
15691 then
15692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15693 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15694 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15695 then :
15696 printf %s "(cached) " >&6
15697 else $as_nop
15698 ac_check_lib_save_LIBS=$LIBS
15699 LIBS="-lOpenCL $LIBS"
15700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15701 /* end confdefs.h. */
15703 /* Override any GCC internal prototype to avoid an error.
15704 Use char because int might match the return type of a GCC
15705 builtin and then its argument prototype would still apply. */
15706 char clGetPlatformInfo ();
15708 main (void)
15710 return clGetPlatformInfo ();
15712 return 0;
15714 _ACEOF
15715 if ac_fn_c_try_link "$LINENO"
15716 then :
15717 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15718 else $as_nop
15719 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15721 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15722 conftest$ac_exeext conftest.$ac_ext
15723 LIBS=$ac_check_lib_save_LIBS
15725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15726 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15727 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15728 then :
15729 OPENCL_LIBS="-lOpenCL"
15734 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15735 then :
15736 case "x$with_opencl" in
15737 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15738 xno) ;;
15739 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15740 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15741 esac
15742 enable_opencl=${enable_opencl:-no}
15745 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15746 then
15747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15748 printf %s "checking for pcap_create in -lpcap... " >&6; }
15749 if test ${ac_cv_lib_pcap_pcap_create+y}
15750 then :
15751 printf %s "(cached) " >&6
15752 else $as_nop
15753 ac_check_lib_save_LIBS=$LIBS
15754 LIBS="-lpcap $LIBS"
15755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15756 /* end confdefs.h. */
15758 /* Override any GCC internal prototype to avoid an error.
15759 Use char because int might match the return type of a GCC
15760 builtin and then its argument prototype would still apply. */
15761 char pcap_create ();
15763 main (void)
15765 return pcap_create ();
15767 return 0;
15769 _ACEOF
15770 if ac_fn_c_try_link "$LINENO"
15771 then :
15772 ac_cv_lib_pcap_pcap_create=yes
15773 else $as_nop
15774 ac_cv_lib_pcap_pcap_create=no
15776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15777 conftest$ac_exeext conftest.$ac_ext
15778 LIBS=$ac_check_lib_save_LIBS
15780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15781 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15782 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15783 then :
15784 PCAP_LIBS="-lpcap"
15789 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15790 then :
15791 case "x$with_pcap" in
15792 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15793 xno) ;;
15794 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15795 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15796 esac
15797 enable_wpcap=${enable_wpcap:-no}
15800 if test "x$with_inotify" != "xno"
15801 then
15802 if ${INOTIFY_CFLAGS:+false} :
15803 then :
15804 if test ${PKG_CONFIG+y}
15805 then :
15806 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15810 if ${INOTIFY_LIBS:+false} :
15811 then :
15812 if test ${PKG_CONFIG+y}
15813 then :
15814 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15820 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15821 ac_save_CPPFLAGS=$CPPFLAGS
15822 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15823 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15824 if test "x$ac_cv_header_sys_inotify_h" = xyes
15825 then :
15826 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15831 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15832 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15833 then :
15834 printf %s "(cached) " >&6
15835 else $as_nop
15836 ac_check_lib_save_LIBS=$LIBS
15837 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15839 /* end confdefs.h. */
15841 /* Override any GCC internal prototype to avoid an error.
15842 Use char because int might match the return type of a GCC
15843 builtin and then its argument prototype would still apply. */
15844 char inotify_add_watch ();
15846 main (void)
15848 return inotify_add_watch ();
15850 return 0;
15852 _ACEOF
15853 if ac_fn_c_try_link "$LINENO"
15854 then :
15855 ac_cv_lib_inotify_inotify_add_watch=yes
15856 else $as_nop
15857 ac_cv_lib_inotify_inotify_add_watch=no
15859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15860 conftest$ac_exeext conftest.$ac_ext
15861 LIBS=$ac_check_lib_save_LIBS
15863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15864 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15865 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15866 then :
15868 else $as_nop
15869 INOTIFY_LIBS=""
15872 CPPFLAGS=$ac_save_CPPFLAGS
15875 if test "$ac_cv_header_sys_inotify_h" != "yes"
15876 then :
15877 case "x$with_inotify" in
15878 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15879 xno) ;;
15880 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15881 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15882 esac
15886 if test "x$with_dbus" != "xno"
15887 then
15888 if ${DBUS_CFLAGS:+false} :
15889 then :
15890 if test ${PKG_CONFIG+y}
15891 then :
15892 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15896 if ${DBUS_LIBS:+false} :
15897 then :
15898 if test ${PKG_CONFIG+y}
15899 then :
15900 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15905 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15907 ac_save_CPPFLAGS=$CPPFLAGS
15908 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15909 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15910 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15911 then :
15912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15913 printf %s "checking for -ldbus-1... " >&6; }
15914 if test ${ac_cv_lib_soname_dbus_1+y}
15915 then :
15916 printf %s "(cached) " >&6
15917 else $as_nop
15918 ac_check_soname_save_LIBS=$LIBS
15919 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15921 /* end confdefs.h. */
15923 /* Override any GCC internal prototype to avoid an error.
15924 Use char because int might match the return type of a GCC
15925 builtin and then its argument prototype would still apply. */
15926 char dbus_connection_close ();
15928 main (void)
15930 return dbus_connection_close ();
15932 return 0;
15934 _ACEOF
15935 if ac_fn_c_try_link "$LINENO"
15936 then :
15937 case "$LIBEXT" in
15938 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15939 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'` ;;
15940 *) 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'`
15941 if ${ac_cv_lib_soname_dbus_1:+false} :
15942 then :
15943 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15944 fi ;;
15945 esac
15946 else $as_nop
15947 ac_cv_lib_soname_dbus_1=
15949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15950 conftest$ac_exeext conftest.$ac_ext
15951 LIBS=$ac_check_soname_save_LIBS
15953 if ${ac_cv_lib_soname_dbus_1:+false} :
15954 then :
15955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15956 printf "%s\n" "not found" >&6; }
15957 DBUS_CFLAGS=""
15958 else $as_nop
15959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15960 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15962 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15966 else $as_nop
15967 DBUS_CFLAGS=""
15970 CPPFLAGS=$ac_save_CPPFLAGS
15973 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
15974 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15975 then :
15976 case "x$with_dbus" in
15977 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15978 xno) ;;
15979 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15980 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15981 esac
15985 if test "x$with_gnutls" != "xno"
15986 then
15987 if ${GNUTLS_CFLAGS:+false} :
15988 then :
15989 if test ${PKG_CONFIG+y}
15990 then :
15991 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
15995 if ${GNUTLS_LIBS:+false} :
15996 then :
15997 if test ${PKG_CONFIG+y}
15998 then :
15999 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16003 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16006 ac_save_CPPFLAGS=$CPPFLAGS
16007 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16008 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16009 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16010 then :
16011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16012 /* end confdefs.h. */
16013 #include <gnutls/gnutls.h>
16014 #include <gnutls/crypto.h>
16016 main (void)
16018 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16020 return 0;
16022 _ACEOF
16023 if ac_fn_c_try_compile "$LINENO"
16024 then :
16025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16026 printf %s "checking for -lgnutls... " >&6; }
16027 if test ${ac_cv_lib_soname_gnutls+y}
16028 then :
16029 printf %s "(cached) " >&6
16030 else $as_nop
16031 ac_check_soname_save_LIBS=$LIBS
16032 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16034 /* end confdefs.h. */
16036 /* Override any GCC internal prototype to avoid an error.
16037 Use char because int might match the return type of a GCC
16038 builtin and then its argument prototype would still apply. */
16039 char gnutls_global_init ();
16041 main (void)
16043 return gnutls_global_init ();
16045 return 0;
16047 _ACEOF
16048 if ac_fn_c_try_link "$LINENO"
16049 then :
16050 case "$LIBEXT" in
16051 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16052 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'` ;;
16053 *) 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'`
16054 if ${ac_cv_lib_soname_gnutls:+false} :
16055 then :
16056 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'`
16057 fi ;;
16058 esac
16059 else $as_nop
16060 ac_cv_lib_soname_gnutls=
16062 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16063 conftest$ac_exeext conftest.$ac_ext
16064 LIBS=$ac_check_soname_save_LIBS
16066 if ${ac_cv_lib_soname_gnutls:+false} :
16067 then :
16068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16069 printf "%s\n" "not found" >&6; }
16070 GNUTLS_CFLAGS=""
16071 else $as_nop
16072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16073 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16075 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16079 ac_wine_check_funcs_save_LIBS="$LIBS"
16080 LIBS="$LIBS $GNUTLS_LIBS"
16082 for ac_func in gnutls_cipher_init
16083 do :
16084 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16085 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16086 then :
16087 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16089 else $as_nop
16090 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16093 done
16094 LIBS="$ac_wine_check_funcs_save_LIBS"
16096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16097 else $as_nop
16098 GNUTLS_CFLAGS=""
16101 CPPFLAGS=$ac_save_CPPFLAGS
16104 if test "x$ac_cv_lib_soname_gnutls" = "x"
16105 then :
16106 case "x$with_gnutls" in
16107 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16108 xno) ;;
16109 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16110 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16111 esac
16115 if test "x$with_sane" != "xno"
16116 then
16117 if ${SANE_CFLAGS:+false} :
16118 then :
16119 if test ${PKG_CONFIG+y}
16120 then :
16121 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16124 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16125 if ${SANE_LIBS:+false} :
16126 then :
16127 if test ${PKG_CONFIG+y}
16128 then :
16129 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16132 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16136 ac_save_CPPFLAGS=$CPPFLAGS
16137 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16138 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16139 if test "x$ac_cv_header_sane_sane_h" = xyes
16140 then :
16141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16142 printf %s "checking for sane_init in -lsane... " >&6; }
16143 if test ${ac_cv_lib_sane_sane_init+y}
16144 then :
16145 printf %s "(cached) " >&6
16146 else $as_nop
16147 ac_check_lib_save_LIBS=$LIBS
16148 LIBS="-lsane $SANE_LIBS $LIBS"
16149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16150 /* end confdefs.h. */
16152 /* Override any GCC internal prototype to avoid an error.
16153 Use char because int might match the return type of a GCC
16154 builtin and then its argument prototype would still apply. */
16155 char sane_init ();
16157 main (void)
16159 return sane_init ();
16161 return 0;
16163 _ACEOF
16164 if ac_fn_c_try_link "$LINENO"
16165 then :
16166 ac_cv_lib_sane_sane_init=yes
16167 else $as_nop
16168 ac_cv_lib_sane_sane_init=no
16170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16171 conftest$ac_exeext conftest.$ac_ext
16172 LIBS=$ac_check_lib_save_LIBS
16174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16175 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16176 if test "x$ac_cv_lib_sane_sane_init" = xyes
16177 then :
16183 CPPFLAGS=$ac_save_CPPFLAGS
16186 if test "$ac_cv_lib_sane_sane_init" != "yes"
16187 then :
16188 case "x$with_sane" in
16189 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16190 xno) ;;
16191 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16192 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16193 esac
16194 enable_sane_ds=${enable_sane_ds:-no}
16197 if test "x$with_usb" != "xno"
16198 then
16199 if ${USB_CFLAGS:+false} :
16200 then :
16201 if test ${PKG_CONFIG+y}
16202 then :
16203 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16207 if ${USB_LIBS:+false} :
16208 then :
16209 if test ${PKG_CONFIG+y}
16210 then :
16211 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16215 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16218 ac_save_CPPFLAGS=$CPPFLAGS
16219 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16220 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16221 if test "x$ac_cv_header_libusb_h" = xyes
16222 then :
16223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16224 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16225 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16226 then :
16227 printf %s "(cached) " >&6
16228 else $as_nop
16229 ac_check_lib_save_LIBS=$LIBS
16230 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16232 /* end confdefs.h. */
16234 /* Override any GCC internal prototype to avoid an error.
16235 Use char because int might match the return type of a GCC
16236 builtin and then its argument prototype would still apply. */
16237 char libusb_interrupt_event_handler ();
16239 main (void)
16241 return libusb_interrupt_event_handler ();
16243 return 0;
16245 _ACEOF
16246 if ac_fn_c_try_link "$LINENO"
16247 then :
16248 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16249 else $as_nop
16250 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16253 conftest$ac_exeext conftest.$ac_ext
16254 LIBS=$ac_check_lib_save_LIBS
16256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16257 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16258 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16259 then :
16261 else $as_nop
16262 USB_LIBS=""
16265 else $as_nop
16266 USB_LIBS=""
16269 CPPFLAGS=$ac_save_CPPFLAGS
16272 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16273 then :
16274 case "x$with_usb" in
16275 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16276 xno) ;;
16277 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16278 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16279 esac
16280 enable_wineusb_sys=${enable_wineusb_sys:-no}
16283 if test "x$with_v4l2" != "xno"
16284 then
16285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16286 printf %s "checking for -lv4l2... " >&6; }
16287 if test ${ac_cv_lib_soname_v4l2+y}
16288 then :
16289 printf %s "(cached) " >&6
16290 else $as_nop
16291 ac_check_soname_save_LIBS=$LIBS
16292 LIBS="-lv4l2 $LIBS"
16293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16294 /* end confdefs.h. */
16296 /* Override any GCC internal prototype to avoid an error.
16297 Use char because int might match the return type of a GCC
16298 builtin and then its argument prototype would still apply. */
16299 char v4l2_open ();
16301 main (void)
16303 return v4l2_open ();
16305 return 0;
16307 _ACEOF
16308 if ac_fn_c_try_link "$LINENO"
16309 then :
16310 case "$LIBEXT" in
16311 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16312 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'` ;;
16313 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16314 if ${ac_cv_lib_soname_v4l2:+false} :
16315 then :
16316 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16317 fi ;;
16318 esac
16319 else $as_nop
16320 ac_cv_lib_soname_v4l2=
16322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16323 conftest$ac_exeext conftest.$ac_ext
16324 LIBS=$ac_check_soname_save_LIBS
16326 if ${ac_cv_lib_soname_v4l2:+false} :
16327 then :
16328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16329 printf "%s\n" "not found" >&6; }
16331 else $as_nop
16332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16333 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16335 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16340 if test "x$ac_cv_lib_soname_v4l2" = "x"
16341 then :
16342 case "x$with_v4l2" in
16343 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16344 xno) ;;
16345 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16346 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16347 esac
16351 if test "x$with_gphoto" != "xno"
16352 then
16353 if ${GPHOTO2_CFLAGS:+false} :
16354 then :
16355 if test ${PKG_CONFIG+y}
16356 then :
16357 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16360 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16361 if ${GPHOTO2_LIBS:+false} :
16362 then :
16363 if test ${PKG_CONFIG+y}
16364 then :
16365 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16368 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16369 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16372 ac_save_CPPFLAGS=$CPPFLAGS
16373 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16374 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16376 then :
16377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16378 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16379 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16380 then :
16381 printf %s "(cached) " >&6
16382 else $as_nop
16383 ac_check_lib_save_LIBS=$LIBS
16384 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h. */
16388 /* Override any GCC internal prototype to avoid an error.
16389 Use char because int might match the return type of a GCC
16390 builtin and then its argument prototype would still apply. */
16391 char gp_camera_new ();
16393 main (void)
16395 return gp_camera_new ();
16397 return 0;
16399 _ACEOF
16400 if ac_fn_c_try_link "$LINENO"
16401 then :
16402 ac_cv_lib_gphoto2_gp_camera_new=yes
16403 else $as_nop
16404 ac_cv_lib_gphoto2_gp_camera_new=no
16406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16407 conftest$ac_exeext conftest.$ac_ext
16408 LIBS=$ac_check_lib_save_LIBS
16410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16411 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16412 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16413 then :
16419 CPPFLAGS=$ac_save_CPPFLAGS
16421 if ${GPHOTO2_PORT_CFLAGS:+false} :
16422 then :
16423 if test ${PKG_CONFIG+y}
16424 then :
16425 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16428 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16429 if ${GPHOTO2_PORT_LIBS:+false} :
16430 then :
16431 if test ${PKG_CONFIG+y}
16432 then :
16433 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16436 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16437 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16440 ac_save_CPPFLAGS=$CPPFLAGS
16441 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16442 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16443 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16444 then :
16445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16446 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16447 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16448 then :
16449 printf %s "(cached) " >&6
16450 else $as_nop
16451 ac_check_lib_save_LIBS=$LIBS
16452 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16454 /* end confdefs.h. */
16456 /* Override any GCC internal prototype to avoid an error.
16457 Use char because int might match the return type of a GCC
16458 builtin and then its argument prototype would still apply. */
16459 char gp_port_info_list_new ();
16461 main (void)
16463 return gp_port_info_list_new ();
16465 return 0;
16467 _ACEOF
16468 if ac_fn_c_try_link "$LINENO"
16469 then :
16470 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16471 else $as_nop
16472 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16475 conftest$ac_exeext conftest.$ac_ext
16476 LIBS=$ac_check_lib_save_LIBS
16478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16479 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16480 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16481 then :
16483 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16485 else $as_nop
16486 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16489 else $as_nop
16490 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16493 CPPFLAGS=$ac_save_CPPFLAGS
16496 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16497 then :
16498 case "x$with_gphoto" in
16499 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16500 xno) ;;
16501 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16502 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16503 esac
16504 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16506 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16507 then :
16508 case "x$with_gphoto" in
16509 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16510 xno) ;;
16511 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16512 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16513 esac
16518 if test "$ac_cv_header_resolv_h" = "yes"
16519 then
16520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16521 printf %s "checking for resolver library... " >&6; }
16522 if test ${ac_cv_have_resolv+y}
16523 then :
16524 printf %s "(cached) " >&6
16525 else $as_nop
16526 ac_save_LIBS="$LIBS"
16527 for lib in '' -lresolv
16529 LIBS="$lib $ac_save_LIBS"
16530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16532 #ifdef HAVE_NETINET_IN_H
16533 #include <netinet/in.h>
16534 #endif
16535 #include <resolv.h>
16537 main (void)
16539 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16541 return 0;
16543 _ACEOF
16544 if ac_fn_c_try_link "$LINENO"
16545 then :
16546 ac_cv_have_resolv=${lib:-"none required"}
16547 else $as_nop
16548 ac_cv_have_resolv="not found"
16550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16551 conftest$ac_exeext conftest.$ac_ext
16552 test "x$ac_cv_have_resolv" = "xnot found" || break
16553 done
16554 LIBS="$ac_save_LIBS"
16556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16557 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16559 case "$ac_cv_have_resolv" in
16560 "not found") ;;
16561 "none required")
16563 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16566 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16568 RESOLV_LIBS=$ac_cv_have_resolv
16570 esac
16572 if test "x$ac_cv_have_resolv" != "xnot found"
16573 then
16574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16575 printf %s "checking for res_getservers... " >&6; }
16576 if test ${ac_cv_have_res_getservers+y}
16577 then :
16578 printf %s "(cached) " >&6
16579 else $as_nop
16580 ac_save_LIBS="$LIBS"
16581 LIBS="$RESOLV_LIBS $LIBS"
16582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16583 /* end confdefs.h. */
16584 #include <resolv.h>
16586 main (void)
16588 res_getservers(NULL, NULL, 0);
16590 return 0;
16592 _ACEOF
16593 if ac_fn_c_try_link "$LINENO"
16594 then :
16595 ac_cv_have_res_getservers=yes
16596 else $as_nop
16597 ac_cv_have_res_getservers=no
16599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16600 conftest$ac_exeext conftest.$ac_ext
16601 LIBS="$ac_save_LIBS"
16603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16604 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16605 if test "$ac_cv_have_res_getservers" = "yes"
16606 then
16608 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16614 if test "x$with_freetype" != "xno"
16615 then
16616 if ${FREETYPE_CFLAGS:+false} :
16617 then :
16618 if test ${PKG_CONFIG+y}
16619 then :
16620 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16623 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16624 if ${FREETYPE_LIBS:+false} :
16625 then :
16626 if test ${PKG_CONFIG+y}
16627 then :
16628 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16631 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16632 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16635 ac_save_CPPFLAGS=$CPPFLAGS
16636 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16637 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16638 if test "x$ac_cv_header_ft2build_h" = xyes
16639 then :
16640 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16644 if test "$ac_cv_header_ft2build_h" = "yes"
16645 then
16646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16647 printf %s "checking for -lfreetype... " >&6; }
16648 if test ${ac_cv_lib_soname_freetype+y}
16649 then :
16650 printf %s "(cached) " >&6
16651 else $as_nop
16652 ac_check_soname_save_LIBS=$LIBS
16653 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16655 /* end confdefs.h. */
16657 /* Override any GCC internal prototype to avoid an error.
16658 Use char because int might match the return type of a GCC
16659 builtin and then its argument prototype would still apply. */
16660 char FT_Init_FreeType ();
16662 main (void)
16664 return FT_Init_FreeType ();
16666 return 0;
16668 _ACEOF
16669 if ac_fn_c_try_link "$LINENO"
16670 then :
16671 case "$LIBEXT" in
16672 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16673 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'` ;;
16674 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16675 if ${ac_cv_lib_soname_freetype:+false} :
16676 then :
16677 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16678 fi ;;
16679 esac
16680 else $as_nop
16681 ac_cv_lib_soname_freetype=
16683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16684 conftest$ac_exeext conftest.$ac_ext
16685 LIBS=$ac_check_soname_save_LIBS
16687 if ${ac_cv_lib_soname_freetype:+false} :
16688 then :
16689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16690 printf "%s\n" "not found" >&6; }
16691 FREETYPE_LIBS=""
16692 else $as_nop
16693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16694 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16696 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16699 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16701 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16702 #include FT_MODULE_H
16704 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16705 then :
16707 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16713 else
16714 FREETYPE_CFLAGS=""
16715 FREETYPE_LIBS=""
16717 CPPFLAGS=$ac_save_CPPFLAGS
16720 if test "x$ac_cv_lib_soname_freetype" = x
16721 then :
16722 case "x$with_freetype" in
16723 xno) ;;
16724 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16725 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16726 esac
16727 enable_fonts=${enable_fonts:-no}
16730 ac_wine_check_funcs_save_LIBS="$LIBS"
16731 LIBS="$LIBS $PTHREAD_LIBS"
16732 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16733 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16734 then :
16735 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16739 LIBS="$ac_wine_check_funcs_save_LIBS"
16741 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16742 then
16743 if test "$ac_cv_header_gettext_po_h" = "yes"
16744 then
16745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16746 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16747 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16748 then :
16749 printf %s "(cached) " >&6
16750 else $as_nop
16751 ac_check_lib_save_LIBS=$LIBS
16752 LIBS="-lgettextpo $LIBS"
16753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16754 /* end confdefs.h. */
16756 /* Override any GCC internal prototype to avoid an error.
16757 Use char because int might match the return type of a GCC
16758 builtin and then its argument prototype would still apply. */
16759 char po_message_msgctxt ();
16761 main (void)
16763 return po_message_msgctxt ();
16765 return 0;
16767 _ACEOF
16768 if ac_fn_c_try_link "$LINENO"
16769 then :
16770 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16771 else $as_nop
16772 ac_cv_lib_gettextpo_po_message_msgctxt=no
16774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16775 conftest$ac_exeext conftest.$ac_ext
16776 LIBS=$ac_check_lib_save_LIBS
16778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16779 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16780 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16781 then :
16783 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16785 GETTEXTPO_LIBS="-lgettextpo"
16790 if test "x$GETTEXTPO_LIBS" = "x"
16791 then :
16792 case "x$with_gettextpo" in
16793 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16794 xno) ;;
16795 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16796 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16797 esac
16800 if test "$srcdir" != .
16801 then :
16802 case "x$with_gettextpo" in
16803 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16804 xno) ;;
16805 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16806 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16807 esac
16812 if test "x$with_pulse" != "xno";
16813 then
16814 if ${PULSE_CFLAGS:+false} :
16815 then :
16816 if test ${PKG_CONFIG+y}
16817 then :
16818 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16822 if ${PULSE_LIBS:+false} :
16823 then :
16824 if test ${PKG_CONFIG+y}
16825 then :
16826 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16833 ac_save_CPPFLAGS=$CPPFLAGS
16834 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16835 for ac_header in pulse/pulseaudio.h
16836 do :
16837 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16838 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16839 then :
16840 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16842 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16843 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16844 then :
16845 printf %s "(cached) " >&6
16846 else $as_nop
16847 ac_check_lib_save_LIBS=$LIBS
16848 LIBS="-lpulse $PULSE_LIBS $LIBS"
16849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16850 /* end confdefs.h. */
16852 /* Override any GCC internal prototype to avoid an error.
16853 Use char because int might match the return type of a GCC
16854 builtin and then its argument prototype would still apply. */
16855 char pa_stream_is_corked ();
16857 main (void)
16859 return pa_stream_is_corked ();
16861 return 0;
16863 _ACEOF
16864 if ac_fn_c_try_link "$LINENO"
16865 then :
16866 ac_cv_lib_pulse_pa_stream_is_corked=yes
16867 else $as_nop
16868 ac_cv_lib_pulse_pa_stream_is_corked=no
16870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16871 conftest$ac_exeext conftest.$ac_ext
16872 LIBS=$ac_check_lib_save_LIBS
16874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16875 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16876 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16877 then :
16879 else $as_nop
16880 PULSE_LIBS=""
16883 else $as_nop
16884 PULSE_LIBS=""
16887 done
16888 CPPFLAGS=$ac_save_CPPFLAGS
16891 if test -z "$PULSE_LIBS"
16892 then :
16893 case "x$with_pulse" in
16894 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16895 xno) ;;
16896 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16897 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16898 esac
16899 enable_winepulse_drv=${enable_winepulse_drv:-no}
16902 if test "x$with_gstreamer" != "xno"
16903 then
16904 if ${GSTREAMER_CFLAGS:+false} :
16905 then :
16906 if test ${PKG_CONFIG+y}
16907 then :
16908 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16912 if ${GSTREAMER_LIBS:+false} :
16913 then :
16914 if test ${PKG_CONFIG+y}
16915 then :
16916 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16921 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16923 ac_save_CPPFLAGS=$CPPFLAGS
16924 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16925 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16926 if test "x$ac_cv_header_gst_gst_h" = xyes
16927 then :
16928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16929 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16931 /* end confdefs.h. */
16932 #include <gst/gst.h>
16934 main (void)
16936 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16938 return 0;
16940 _ACEOF
16941 if ac_fn_c_try_compile "$LINENO"
16942 then :
16943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16944 printf "%s\n" "yes" >&6; }
16945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16946 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16947 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16948 then :
16949 printf %s "(cached) " >&6
16950 else $as_nop
16951 ac_check_lib_save_LIBS=$LIBS
16952 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16956 /* Override any GCC internal prototype to avoid an error.
16957 Use char because int might match the return type of a GCC
16958 builtin and then its argument prototype would still apply. */
16959 char gst_pad_new ();
16961 main (void)
16963 return gst_pad_new ();
16965 return 0;
16967 _ACEOF
16968 if ac_fn_c_try_link "$LINENO"
16969 then :
16970 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16971 else $as_nop
16972 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16975 conftest$ac_exeext conftest.$ac_ext
16976 LIBS=$ac_check_lib_save_LIBS
16978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16979 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16980 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16981 then :
16985 else $as_nop
16986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16987 printf "%s\n" "no" >&6; }
16988 ac_glib2_broken=yes
16989 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
16991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16994 CPPFLAGS=$ac_save_CPPFLAGS
16997 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
16998 then :
16999 case "x$with_gstreamer" in
17000 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17001 xno) ;;
17002 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17003 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17004 esac
17005 enable_winegstreamer=${enable_winegstreamer:-no}
17008 ALSA_LIBS=""
17010 if test "x$with_alsa" != "xno"
17011 then
17012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17013 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17014 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17015 then :
17016 printf %s "(cached) " >&6
17017 else $as_nop
17018 ac_check_lib_save_LIBS=$LIBS
17019 LIBS="-lasound $LIBS"
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17023 /* Override any GCC internal prototype to avoid an error.
17024 Use char because int might match the return type of a GCC
17025 builtin and then its argument prototype would still apply. */
17026 char snd_pcm_hw_params_get_access_mask ();
17028 main (void)
17030 return snd_pcm_hw_params_get_access_mask ();
17032 return 0;
17034 _ACEOF
17035 if ac_fn_c_try_link "$LINENO"
17036 then :
17037 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17038 else $as_nop
17039 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17042 conftest$ac_exeext conftest.$ac_ext
17043 LIBS=$ac_check_lib_save_LIBS
17045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17046 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17047 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17048 then :
17049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17050 /* end confdefs.h. */
17051 #include <alsa/asoundlib.h>
17053 main (void)
17055 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17057 return 0;
17059 _ACEOF
17060 if ac_fn_c_try_compile "$LINENO"
17061 then :
17062 ALSA_LIBS="-lasound"
17064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17068 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17070 if test "x$with_oss" != xno
17071 then
17072 ac_save_CPPFLAGS="$CPPFLAGS"
17073 if test -f /etc/oss.conf
17074 then
17075 . /etc/oss.conf
17077 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17078 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17079 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17080 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17081 then :
17082 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17084 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17085 then :
17087 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17089 OSS4_CFLAGS="$ac_oss_incl"
17091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17092 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17093 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17094 then :
17095 printf %s "(cached) " >&6
17096 else $as_nop
17097 ac_check_lib_save_LIBS=$LIBS
17098 LIBS="-lossaudio $LIBS"
17099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17102 /* Override any GCC internal prototype to avoid an error.
17103 Use char because int might match the return type of a GCC
17104 builtin and then its argument prototype would still apply. */
17105 char _oss_ioctl ();
17107 main (void)
17109 return _oss_ioctl ();
17111 return 0;
17113 _ACEOF
17114 if ac_fn_c_try_link "$LINENO"
17115 then :
17116 ac_cv_lib_ossaudio__oss_ioctl=yes
17117 else $as_nop
17118 ac_cv_lib_ossaudio__oss_ioctl=no
17120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17121 conftest$ac_exeext conftest.$ac_ext
17122 LIBS=$ac_check_lib_save_LIBS
17124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17125 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17126 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17127 then :
17128 OSS4_LIBS="-lossaudio"
17136 CPPFLAGS="$ac_save_CPPFLAGS"
17138 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17139 then :
17140 case "x$with_oss" in
17141 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17142 xno) ;;
17143 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17144 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17145 esac
17146 enable_wineoss_drv=${enable_wineoss_drv:-no}
17149 if test "x$with_udev" != "xno"
17150 then
17151 if ${UDEV_CFLAGS:+false} :
17152 then :
17153 if test ${PKG_CONFIG+y}
17154 then :
17155 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17159 if ${UDEV_LIBS:+false} :
17160 then :
17161 if test ${PKG_CONFIG+y}
17162 then :
17163 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17167 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17170 ac_save_CPPFLAGS=$CPPFLAGS
17171 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17172 for ac_header in libudev.h
17173 do :
17174 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17175 if test "x$ac_cv_header_libudev_h" = xyes
17176 then :
17177 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17179 printf %s "checking for udev_new in -ludev... " >&6; }
17180 if test ${ac_cv_lib_udev_udev_new+y}
17181 then :
17182 printf %s "(cached) " >&6
17183 else $as_nop
17184 ac_check_lib_save_LIBS=$LIBS
17185 LIBS="-ludev $UDEV_LIBS $LIBS"
17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h. */
17189 /* Override any GCC internal prototype to avoid an error.
17190 Use char because int might match the return type of a GCC
17191 builtin and then its argument prototype would still apply. */
17192 char udev_new ();
17194 main (void)
17196 return udev_new ();
17198 return 0;
17200 _ACEOF
17201 if ac_fn_c_try_link "$LINENO"
17202 then :
17203 ac_cv_lib_udev_udev_new=yes
17204 else $as_nop
17205 ac_cv_lib_udev_udev_new=no
17207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17208 conftest$ac_exeext conftest.$ac_ext
17209 LIBS=$ac_check_lib_save_LIBS
17211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17212 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17213 if test "x$ac_cv_lib_udev_udev_new" = xyes
17214 then :
17216 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17218 else $as_nop
17219 UDEV_LIBS=""
17222 else $as_nop
17223 UDEV_LIBS=""
17226 done
17227 CPPFLAGS=$ac_save_CPPFLAGS
17230 if test "x$UDEV_LIBS" = "x"
17231 then :
17232 case "x$with_udev" in
17233 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17234 xno) ;;
17235 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17236 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17237 esac
17241 if test "x$with_unwind" != xno
17242 then
17243 if ${UNWIND_CFLAGS:+false} :
17244 then :
17245 if test ${PKG_CONFIG+y}
17246 then :
17247 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17251 if ${UNWIND_LIBS:+false} :
17252 then :
17253 if test ${PKG_CONFIG+y}
17254 then :
17255 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17259 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17262 ac_save_CPPFLAGS=$CPPFLAGS
17263 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17265 printf %s "checking for unw_step... " >&6; }
17266 if test ${wine_cv_have_unw_step+y}
17267 then :
17268 printf %s "(cached) " >&6
17269 else $as_nop
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17272 #define UNW_LOCAL_ONLY
17273 #include <libunwind.h>
17275 main (void)
17277 unw_cursor_t cursor; unw_step( &cursor );
17279 return 0;
17281 _ACEOF
17282 if ac_fn_c_try_link "$LINENO"
17283 then :
17284 wine_cv_have_unw_step="yes"
17285 else $as_nop
17286 wine_cv_have_unw_step="no"
17288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17289 conftest$ac_exeext conftest.$ac_ext
17291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17292 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17293 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17294 then
17295 save_libs=$LIBS
17296 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17297 LIBS="$UNWIND_LIBS $LIBS"
17298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17299 printf %s "checking for unw_step in libunwind... " >&6; }
17300 if test ${wine_cv_have_libunwind_unw_step+y}
17301 then :
17302 printf %s "(cached) " >&6
17303 else $as_nop
17304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17305 /* end confdefs.h. */
17306 #define UNW_LOCAL_ONLY
17307 #include <libunwind.h>
17309 main (void)
17311 unw_cursor_t cursor; unw_step( &cursor );
17313 return 0;
17315 _ACEOF
17316 if ac_fn_c_try_link "$LINENO"
17317 then :
17318 wine_cv_have_libunwind_unw_step="yes"
17319 else $as_nop
17320 wine_cv_have_libunwind_unw_step="no"
17322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17323 conftest$ac_exeext conftest.$ac_ext
17325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17326 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17327 LIBS=$save_libs
17329 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17330 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17331 then
17333 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17336 CPPFLAGS=$ac_save_CPPFLAGS
17339 case $host in
17340 aarch64*|*-darwin*)
17341 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17342 then :
17343 case "x$with_unwind" in
17344 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17345 xno) ;;
17346 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17347 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17348 esac
17350 fi ;;
17351 esac
17353 if test "x$with_sdl" != "xno"
17354 then
17355 if ${SDL2_CFLAGS:+false} :
17356 then :
17357 if test ${PKG_CONFIG+y}
17358 then :
17359 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17363 if ${SDL2_LIBS:+false} :
17364 then :
17365 if test ${PKG_CONFIG+y}
17366 then :
17367 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17371 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17374 ac_save_CPPFLAGS=$CPPFLAGS
17375 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17376 for ac_header in SDL.h
17377 do :
17378 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17379 if test "x$ac_cv_header_SDL_h" = xyes
17380 then :
17381 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17383 printf %s "checking for -lSDL2... " >&6; }
17384 if test ${ac_cv_lib_soname_SDL2+y}
17385 then :
17386 printf %s "(cached) " >&6
17387 else $as_nop
17388 ac_check_soname_save_LIBS=$LIBS
17389 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17393 /* Override any GCC internal prototype to avoid an error.
17394 Use char because int might match the return type of a GCC
17395 builtin and then its argument prototype would still apply. */
17396 char SDL_Init ();
17398 main (void)
17400 return SDL_Init ();
17402 return 0;
17404 _ACEOF
17405 if ac_fn_c_try_link "$LINENO"
17406 then :
17407 case "$LIBEXT" in
17408 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17409 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'` ;;
17410 *) 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'`
17411 if ${ac_cv_lib_soname_SDL2:+false} :
17412 then :
17413 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17414 fi ;;
17415 esac
17416 else $as_nop
17417 ac_cv_lib_soname_SDL2=
17419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17420 conftest$ac_exeext conftest.$ac_ext
17421 LIBS=$ac_check_soname_save_LIBS
17423 if ${ac_cv_lib_soname_SDL2:+false} :
17424 then :
17425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17426 printf "%s\n" "not found" >&6; }
17428 else $as_nop
17429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17430 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17432 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17438 done
17439 CPPFLAGS=$ac_save_CPPFLAGS
17442 if test "x$ac_cv_lib_soname_SDL2" = "x"
17443 then :
17444 case "x$with_sdl" in
17445 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17446 xno) ;;
17447 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17448 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17449 esac
17453 if test "x$with_capi" != "xno"
17454 then
17455 if ${CAPI20_CFLAGS:+false} :
17456 then :
17457 if test ${PKG_CONFIG+y}
17458 then :
17459 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17463 if ${CAPI20_LIBS:+false} :
17464 then :
17465 if test ${PKG_CONFIG+y}
17466 then :
17467 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17474 ac_save_CPPFLAGS=$CPPFLAGS
17475 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17476 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17478 if test "x$ac_cv_header_capi20_h" = xyes
17479 then :
17480 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17483 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17485 if test "x$ac_cv_header_linux_capi_h" = xyes
17486 then :
17487 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17491 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17492 then
17493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17494 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17495 if test ${ac_cv_lib_capi20_capi20_register+y}
17496 then :
17497 printf %s "(cached) " >&6
17498 else $as_nop
17499 ac_check_lib_save_LIBS=$LIBS
17500 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17502 /* end confdefs.h. */
17504 /* Override any GCC internal prototype to avoid an error.
17505 Use char because int might match the return type of a GCC
17506 builtin and then its argument prototype would still apply. */
17507 char capi20_register ();
17509 main (void)
17511 return capi20_register ();
17513 return 0;
17515 _ACEOF
17516 if ac_fn_c_try_link "$LINENO"
17517 then :
17518 ac_cv_lib_capi20_capi20_register=yes
17519 else $as_nop
17520 ac_cv_lib_capi20_capi20_register=no
17522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17523 conftest$ac_exeext conftest.$ac_ext
17524 LIBS=$ac_check_lib_save_LIBS
17526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17527 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17528 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17529 then :
17531 else $as_nop
17532 CAPI20_LIBS=""
17536 CPPFLAGS=$ac_save_CPPFLAGS
17539 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17540 then :
17541 case "x$with_capi" in
17542 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17543 xno) ;;
17544 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17545 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17546 esac
17547 enable_capi2032=${enable_capi2032:-no}
17550 if test "x$with_cups" != "xno"
17551 then
17552 if ${CUPS_CFLAGS:+false} :
17553 then :
17554 if test ${PKG_CONFIG+y}
17555 then :
17556 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17559 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17560 if ${CUPS_LIBS:+false} :
17561 then :
17562 if test ${PKG_CONFIG+y}
17563 then :
17564 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17567 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17568 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17570 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17571 ac_save_CPPFLAGS=$CPPFLAGS
17572 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17573 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17574 if test "x$ac_cv_header_cups_cups_h" = xyes
17575 then :
17576 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17579 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17580 if test "x$ac_cv_header_cups_ppd_h" = xyes
17581 then :
17582 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17586 if test "$ac_cv_header_cups_cups_h" = "yes"
17587 then
17588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17589 printf %s "checking for -lcups... " >&6; }
17590 if test ${ac_cv_lib_soname_cups+y}
17591 then :
17592 printf %s "(cached) " >&6
17593 else $as_nop
17594 ac_check_soname_save_LIBS=$LIBS
17595 LIBS="-lcups $CUPS_LIBS $LIBS"
17596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17599 /* Override any GCC internal prototype to avoid an error.
17600 Use char because int might match the return type of a GCC
17601 builtin and then its argument prototype would still apply. */
17602 char cupsGetDefault ();
17604 main (void)
17606 return cupsGetDefault ();
17608 return 0;
17610 _ACEOF
17611 if ac_fn_c_try_link "$LINENO"
17612 then :
17613 case "$LIBEXT" in
17614 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17615 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'` ;;
17616 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17617 if ${ac_cv_lib_soname_cups:+false} :
17618 then :
17619 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17620 fi ;;
17621 esac
17622 else $as_nop
17623 ac_cv_lib_soname_cups=
17625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17626 conftest$ac_exeext conftest.$ac_ext
17627 LIBS=$ac_check_soname_save_LIBS
17629 if ${ac_cv_lib_soname_cups:+false} :
17630 then :
17631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17632 printf "%s\n" "not found" >&6; }
17633 CUPS_LIBS=""
17634 else $as_nop
17635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17636 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17638 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17642 else
17643 CUPS_CFLAGS=""
17644 CUPS_LIBS=""
17646 CPPFLAGS=$ac_save_CPPFLAGS
17649 if test "x$ac_cv_lib_soname_cups" = "x"
17650 then :
17651 case "x$with_cups" in
17652 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17653 xno) ;;
17654 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17655 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17656 esac
17660 if test "x$with_fontconfig" != "xno"
17661 then
17662 if ${FONTCONFIG_CFLAGS:+false} :
17663 then :
17664 if test ${PKG_CONFIG+y}
17665 then :
17666 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17669 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17670 if ${FONTCONFIG_LIBS:+false} :
17671 then :
17672 if test ${PKG_CONFIG+y}
17673 then :
17674 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17677 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17681 ac_save_CPPFLAGS=$CPPFLAGS
17682 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17683 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17684 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17685 then :
17686 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17690 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17691 then
17692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17693 printf %s "checking for -lfontconfig... " >&6; }
17694 if test ${ac_cv_lib_soname_fontconfig+y}
17695 then :
17696 printf %s "(cached) " >&6
17697 else $as_nop
17698 ac_check_soname_save_LIBS=$LIBS
17699 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h. */
17703 /* Override any GCC internal prototype to avoid an error.
17704 Use char because int might match the return type of a GCC
17705 builtin and then its argument prototype would still apply. */
17706 char FcInit ();
17708 main (void)
17710 return FcInit ();
17712 return 0;
17714 _ACEOF
17715 if ac_fn_c_try_link "$LINENO"
17716 then :
17717 case "$LIBEXT" in
17718 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17719 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'` ;;
17720 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17721 if ${ac_cv_lib_soname_fontconfig:+false} :
17722 then :
17723 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17724 fi ;;
17725 esac
17726 else $as_nop
17727 ac_cv_lib_soname_fontconfig=
17729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17730 conftest$ac_exeext conftest.$ac_ext
17731 LIBS=$ac_check_soname_save_LIBS
17733 if ${ac_cv_lib_soname_fontconfig:+false} :
17734 then :
17735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17736 printf "%s\n" "not found" >&6; }
17737 FONTCONFIG_CFLAGS=""
17738 else $as_nop
17739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17740 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17742 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17746 else
17747 FONTCONFIG_CFLAGS=""
17749 CPPFLAGS=$ac_save_CPPFLAGS
17752 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17753 then :
17754 case "x$with_fontconfig" in
17755 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17756 xno) ;;
17757 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17758 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17759 esac
17763 if test "x$with_krb5" != "xno"
17764 then
17765 if ${KRB5_CFLAGS:+false} :
17766 then :
17767 if test ${PKG_CONFIG+y}
17768 then :
17769 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17772 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17773 if ${KRB5_LIBS:+false} :
17774 then :
17775 if test ${PKG_CONFIG+y}
17776 then :
17777 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17780 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17784 ac_save_CPPFLAGS=$CPPFLAGS
17785 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17786 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17787 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17788 then :
17789 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17793 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17794 then
17795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17796 printf %s "checking for -lkrb5... " >&6; }
17797 if test ${ac_cv_lib_soname_krb5+y}
17798 then :
17799 printf %s "(cached) " >&6
17800 else $as_nop
17801 ac_check_soname_save_LIBS=$LIBS
17802 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17806 /* Override any GCC internal prototype to avoid an error.
17807 Use char because int might match the return type of a GCC
17808 builtin and then its argument prototype would still apply. */
17809 char krb5_is_config_principal ();
17811 main (void)
17813 return krb5_is_config_principal ();
17815 return 0;
17817 _ACEOF
17818 if ac_fn_c_try_link "$LINENO"
17819 then :
17820 case "$LIBEXT" in
17821 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17822 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'` ;;
17823 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17824 if ${ac_cv_lib_soname_krb5:+false} :
17825 then :
17826 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17827 fi ;;
17828 esac
17829 else $as_nop
17830 ac_cv_lib_soname_krb5=
17832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17833 conftest$ac_exeext conftest.$ac_ext
17834 LIBS=$ac_check_soname_save_LIBS
17836 if ${ac_cv_lib_soname_krb5:+false} :
17837 then :
17838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17839 printf "%s\n" "not found" >&6; }
17840 KRB5_CFLAGS=""
17841 else $as_nop
17842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17843 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17845 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17849 else
17850 KRB5_CFLAGS=""
17852 CPPFLAGS=$ac_save_CPPFLAGS
17855 if test "x$ac_cv_lib_soname_krb5" = "x"
17856 then :
17857 case "x$with_krb5" in
17858 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17859 xno) ;;
17860 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17861 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17862 esac
17865 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17867 if test "x$with_gssapi" != "xno"
17868 then
17869 if ${GSSAPI_CFLAGS:+false} :
17870 then :
17871 if test ${PKG_CONFIG+y}
17872 then :
17873 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17876 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17877 if ${GSSAPI_LIBS:+false} :
17878 then :
17879 if test ${PKG_CONFIG+y}
17880 then :
17881 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17884 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17887 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17888 ac_save_CPPFLAGS=$CPPFLAGS
17889 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17890 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17891 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17892 then :
17893 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17896 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17897 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17898 then :
17899 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17903 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17904 then
17905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17906 printf %s "checking for -lgssapi_krb5... " >&6; }
17907 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17908 then :
17909 printf %s "(cached) " >&6
17910 else $as_nop
17911 ac_check_soname_save_LIBS=$LIBS
17912 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17914 /* end confdefs.h. */
17916 /* Override any GCC internal prototype to avoid an error.
17917 Use char because int might match the return type of a GCC
17918 builtin and then its argument prototype would still apply. */
17919 char gss_init_sec_context ();
17921 main (void)
17923 return gss_init_sec_context ();
17925 return 0;
17927 _ACEOF
17928 if ac_fn_c_try_link "$LINENO"
17929 then :
17930 case "$LIBEXT" in
17931 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17932 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'` ;;
17933 *) 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'`
17934 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17935 then :
17936 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17937 fi ;;
17938 esac
17939 else $as_nop
17940 ac_cv_lib_soname_gssapi_krb5=
17942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17943 conftest$ac_exeext conftest.$ac_ext
17944 LIBS=$ac_check_soname_save_LIBS
17946 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17947 then :
17948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17949 printf "%s\n" "not found" >&6; }
17950 GSSAPI_CFLAGS=""
17951 else $as_nop
17952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
17953 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
17955 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
17959 else
17960 GSSAPI_CFLAGS=""
17962 CPPFLAGS=$ac_save_CPPFLAGS
17965 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
17966 then :
17967 case "x$with_gssapi" in
17968 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
17969 xno) ;;
17970 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
17971 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
17972 esac
17976 if test "$ac_cv_header_AL_al_h" = "yes"
17977 then
17978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
17979 printf %s "checking for -lopenal... " >&6; }
17980 if test ${ac_cv_lib_soname_openal+y}
17981 then :
17982 printf %s "(cached) " >&6
17983 else $as_nop
17984 ac_check_soname_save_LIBS=$LIBS
17985 LIBS="-lopenal $LIBS"
17986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17987 /* end confdefs.h. */
17989 /* Override any GCC internal prototype to avoid an error.
17990 Use char because int might match the return type of a GCC
17991 builtin and then its argument prototype would still apply. */
17992 char alGetSource3i ();
17994 main (void)
17996 return alGetSource3i ();
17998 return 0;
18000 _ACEOF
18001 if ac_fn_c_try_link "$LINENO"
18002 then :
18003 case "$LIBEXT" in
18004 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18005 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'` ;;
18006 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18007 if ${ac_cv_lib_soname_openal:+false} :
18008 then :
18009 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18010 fi ;;
18011 esac
18012 else $as_nop
18013 ac_cv_lib_soname_openal=
18015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18016 conftest$ac_exeext conftest.$ac_ext
18017 LIBS=$ac_check_soname_save_LIBS
18019 if ${ac_cv_lib_soname_openal:+false} :
18020 then :
18021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18022 printf "%s\n" "not found" >&6; }
18024 else $as_nop
18025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18026 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18028 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18030 OPENAL_LIBS="-lopenal"
18032 ac_cv_lib_openal=yes
18034 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18038 if test "x$ac_cv_lib_openal" != xyes
18039 then :
18040 case "x$with_openal" in
18041 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18042 xno) ;;
18043 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18044 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18045 esac
18046 enable_openal32=${enable_openal32:-no}
18049 if test "$ac_cv_header_libprocstat_h" = "yes"
18050 then
18051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18052 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18053 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18054 then :
18055 printf %s "(cached) " >&6
18056 else $as_nop
18057 ac_check_lib_save_LIBS=$LIBS
18058 LIBS="-lprocstat $LIBS"
18059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18060 /* end confdefs.h. */
18062 /* Override any GCC internal prototype to avoid an error.
18063 Use char because int might match the return type of a GCC
18064 builtin and then its argument prototype would still apply. */
18065 char procstat_open_sysctl ();
18067 main (void)
18069 return procstat_open_sysctl ();
18071 return 0;
18073 _ACEOF
18074 if ac_fn_c_try_link "$LINENO"
18075 then :
18076 ac_cv_lib_procstat_procstat_open_sysctl=yes
18077 else $as_nop
18078 ac_cv_lib_procstat_procstat_open_sysctl=no
18080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18081 conftest$ac_exeext conftest.$ac_ext
18082 LIBS=$ac_check_lib_save_LIBS
18084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18085 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18086 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18087 then :
18089 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18091 PROCSTAT_LIBS="-lprocstat"
18097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18098 printf %s "checking for -lodbc... " >&6; }
18099 if test ${ac_cv_lib_soname_odbc+y}
18100 then :
18101 printf %s "(cached) " >&6
18102 else $as_nop
18103 ac_check_soname_save_LIBS=$LIBS
18104 LIBS="-lodbc $LIBS"
18105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18106 /* end confdefs.h. */
18108 /* Override any GCC internal prototype to avoid an error.
18109 Use char because int might match the return type of a GCC
18110 builtin and then its argument prototype would still apply. */
18111 char SQLConnect ();
18113 main (void)
18115 return SQLConnect ();
18117 return 0;
18119 _ACEOF
18120 if ac_fn_c_try_link "$LINENO"
18121 then :
18122 case "$LIBEXT" in
18123 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18124 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'` ;;
18125 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18126 if ${ac_cv_lib_soname_odbc:+false} :
18127 then :
18128 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18129 fi ;;
18130 esac
18131 else $as_nop
18132 ac_cv_lib_soname_odbc=
18134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18135 conftest$ac_exeext conftest.$ac_ext
18136 LIBS=$ac_check_soname_save_LIBS
18138 if ${ac_cv_lib_soname_odbc:+false} :
18139 then :
18140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18141 printf "%s\n" "not found" >&6; }
18142 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18144 else $as_nop
18145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18146 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18148 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18153 if test "x$with_netapi" != "xno"
18154 then
18155 if ${NETAPI_CFLAGS:+false} :
18156 then :
18157 if test ${PKG_CONFIG+y}
18158 then :
18159 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18163 if ${NETAPI_LIBS:+false} :
18164 then :
18165 if test ${PKG_CONFIG+y}
18166 then :
18167 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18174 ac_save_CPPFLAGS=$CPPFLAGS
18175 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18177 printf %s "checking for -lnetapi... " >&6; }
18178 if test ${ac_cv_lib_soname_netapi+y}
18179 then :
18180 printf %s "(cached) " >&6
18181 else $as_nop
18182 ac_check_soname_save_LIBS=$LIBS
18183 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18185 /* end confdefs.h. */
18187 /* Override any GCC internal prototype to avoid an error.
18188 Use char because int might match the return type of a GCC
18189 builtin and then its argument prototype would still apply. */
18190 char libnetapi_init ();
18192 main (void)
18194 return libnetapi_init ();
18196 return 0;
18198 _ACEOF
18199 if ac_fn_c_try_link "$LINENO"
18200 then :
18201 case "$LIBEXT" in
18202 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18203 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'` ;;
18204 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18205 if ${ac_cv_lib_soname_netapi:+false} :
18206 then :
18207 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18208 fi ;;
18209 esac
18210 else $as_nop
18211 ac_cv_lib_soname_netapi=
18213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18214 conftest$ac_exeext conftest.$ac_ext
18215 LIBS=$ac_check_soname_save_LIBS
18217 if ${ac_cv_lib_soname_netapi:+false} :
18218 then :
18219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18220 printf "%s\n" "not found" >&6; }
18221 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18223 else $as_nop
18224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18225 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18227 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18231 CPPFLAGS=$ac_save_CPPFLAGS
18234 if test "x$ac_cv_lib_soname_netapi" = "x"
18235 then :
18236 case "x$with_netapi" in
18237 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18238 xno) ;;
18239 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18240 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18241 esac
18242 enable_netapi=${enable_netapi:-no}
18246 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18247 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18248 then
18249 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18252 if test "x$with_vulkan" != "xno"
18253 then
18254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18255 printf %s "checking for -lvulkan... " >&6; }
18256 if test ${ac_cv_lib_soname_vulkan+y}
18257 then :
18258 printf %s "(cached) " >&6
18259 else $as_nop
18260 ac_check_soname_save_LIBS=$LIBS
18261 LIBS="-lvulkan $LIBS"
18262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18263 /* end confdefs.h. */
18265 /* Override any GCC internal prototype to avoid an error.
18266 Use char because int might match the return type of a GCC
18267 builtin and then its argument prototype would still apply. */
18268 char vkGetInstanceProcAddr ();
18270 main (void)
18272 return vkGetInstanceProcAddr ();
18274 return 0;
18276 _ACEOF
18277 if ac_fn_c_try_link "$LINENO"
18278 then :
18279 case "$LIBEXT" in
18280 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18281 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'` ;;
18282 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18283 if ${ac_cv_lib_soname_vulkan:+false} :
18284 then :
18285 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18286 fi ;;
18287 esac
18288 else $as_nop
18289 ac_cv_lib_soname_vulkan=
18291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18292 conftest$ac_exeext conftest.$ac_ext
18293 LIBS=$ac_check_soname_save_LIBS
18295 if ${ac_cv_lib_soname_vulkan:+false} :
18296 then :
18297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18298 printf "%s\n" "not found" >&6; }
18300 else $as_nop
18301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18302 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18304 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18308 if test "x$ac_cv_lib_soname_vulkan" = "x"
18309 then
18310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18311 printf %s "checking for -lMoltenVK... " >&6; }
18312 if test ${ac_cv_lib_soname_MoltenVK+y}
18313 then :
18314 printf %s "(cached) " >&6
18315 else $as_nop
18316 ac_check_soname_save_LIBS=$LIBS
18317 LIBS="-lMoltenVK $LIBS"
18318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18319 /* end confdefs.h. */
18321 /* Override any GCC internal prototype to avoid an error.
18322 Use char because int might match the return type of a GCC
18323 builtin and then its argument prototype would still apply. */
18324 char vkGetInstanceProcAddr ();
18326 main (void)
18328 return vkGetInstanceProcAddr ();
18330 return 0;
18332 _ACEOF
18333 if ac_fn_c_try_link "$LINENO"
18334 then :
18335 case "$LIBEXT" in
18336 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18337 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'` ;;
18338 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18339 if ${ac_cv_lib_soname_MoltenVK:+false} :
18340 then :
18341 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18342 fi ;;
18343 esac
18344 else $as_nop
18345 ac_cv_lib_soname_MoltenVK=
18347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18348 conftest$ac_exeext conftest.$ac_ext
18349 LIBS=$ac_check_soname_save_LIBS
18351 if ${ac_cv_lib_soname_MoltenVK:+false} :
18352 then :
18353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18354 printf "%s\n" "not found" >&6; }
18356 else $as_nop
18357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18358 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18360 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18366 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18367 then :
18368 case "x$with_vulkan" in
18369 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18370 xno) ;;
18371 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18372 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18373 esac
18378 if test "x${GCC}" = "xyes"
18379 then
18380 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18382 saved_CFLAGS=$CFLAGS
18383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18384 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18385 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18386 then :
18387 printf %s "(cached) " >&6
18388 else $as_nop
18389 ac_wine_try_cflags_saved=$CFLAGS
18390 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18392 /* end confdefs.h. */
18393 int main(int argc, char **argv) { return 0; }
18394 _ACEOF
18395 if ac_fn_c_try_link "$LINENO"
18396 then :
18397 ac_cv_cflags__Werror_unknown_warning_option=yes
18398 else $as_nop
18399 ac_cv_cflags__Werror_unknown_warning_option=no
18401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18402 conftest$ac_exeext conftest.$ac_ext
18403 CFLAGS=$ac_wine_try_cflags_saved
18405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18406 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18407 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18408 then :
18409 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18412 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18413 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18414 then :
18415 printf %s "(cached) " >&6
18416 else $as_nop
18417 ac_wine_try_cflags_saved=$CFLAGS
18418 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18420 /* end confdefs.h. */
18421 int main(int argc, char **argv) { return 0; }
18422 _ACEOF
18423 if ac_fn_c_try_link "$LINENO"
18424 then :
18425 ac_cv_cflags__Werror_unused_command_line_argument=yes
18426 else $as_nop
18427 ac_cv_cflags__Werror_unused_command_line_argument=no
18429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18430 conftest$ac_exeext conftest.$ac_ext
18431 CFLAGS=$ac_wine_try_cflags_saved
18433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18434 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18435 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18436 then :
18437 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18440 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18441 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18442 then :
18443 printf %s "(cached) " >&6
18444 else $as_nop
18445 ac_wine_try_cflags_saved=$CFLAGS
18446 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h. */
18449 int main(int argc, char **argv) { return 0; }
18450 _ACEOF
18451 if ac_fn_c_try_link "$LINENO"
18452 then :
18453 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18454 else $as_nop
18455 ac_cv_cflags__Werror_ignored_optimization_argument=no
18457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18458 conftest$ac_exeext conftest.$ac_ext
18459 CFLAGS=$ac_wine_try_cflags_saved
18461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18462 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18463 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18464 then :
18465 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18468 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18469 if test ${ac_cv_cflags__fcf_protection_none+y}
18470 then :
18471 printf %s "(cached) " >&6
18472 else $as_nop
18473 ac_wine_try_cflags_saved=$CFLAGS
18474 CFLAGS="$CFLAGS -fcf-protection=none"
18475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18476 /* end confdefs.h. */
18477 int main(int argc, char **argv) { return 0; }
18478 _ACEOF
18479 if ac_fn_c_try_link "$LINENO"
18480 then :
18481 ac_cv_cflags__fcf_protection_none=yes
18482 else $as_nop
18483 ac_cv_cflags__fcf_protection_none=no
18485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18486 conftest$ac_exeext conftest.$ac_ext
18487 CFLAGS=$ac_wine_try_cflags_saved
18489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18490 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18491 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18492 then :
18493 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18496 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18497 if test ${ac_cv_cflags__fno_stack_protector+y}
18498 then :
18499 printf %s "(cached) " >&6
18500 else $as_nop
18501 ac_wine_try_cflags_saved=$CFLAGS
18502 CFLAGS="$CFLAGS -fno-stack-protector"
18503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18504 /* end confdefs.h. */
18505 int main(int argc, char **argv) { return 0; }
18506 _ACEOF
18507 if ac_fn_c_try_link "$LINENO"
18508 then :
18509 ac_cv_cflags__fno_stack_protector=yes
18510 else $as_nop
18511 ac_cv_cflags__fno_stack_protector=no
18513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18514 conftest$ac_exeext conftest.$ac_ext
18515 CFLAGS=$ac_wine_try_cflags_saved
18517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18518 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18519 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18520 then :
18521 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18524 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18525 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18526 then :
18527 printf %s "(cached) " >&6
18528 else $as_nop
18529 ac_wine_try_cflags_saved=$CFLAGS
18530 CFLAGS="$CFLAGS -fno-strict-aliasing"
18531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18532 /* end confdefs.h. */
18533 int main(int argc, char **argv) { return 0; }
18534 _ACEOF
18535 if ac_fn_c_try_link "$LINENO"
18536 then :
18537 ac_cv_cflags__fno_strict_aliasing=yes
18538 else $as_nop
18539 ac_cv_cflags__fno_strict_aliasing=no
18541 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18542 conftest$ac_exeext conftest.$ac_ext
18543 CFLAGS=$ac_wine_try_cflags_saved
18545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18546 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18547 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18548 then :
18549 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18552 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18553 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18554 then :
18555 printf %s "(cached) " >&6
18556 else $as_nop
18557 ac_wine_try_cflags_saved=$CFLAGS
18558 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18560 /* end confdefs.h. */
18561 int main(int argc, char **argv) { return 0; }
18562 _ACEOF
18563 if ac_fn_c_try_link "$LINENO"
18564 then :
18565 ac_cv_cflags__Wdeclaration_after_statement=yes
18566 else $as_nop
18567 ac_cv_cflags__Wdeclaration_after_statement=no
18569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18570 conftest$ac_exeext conftest.$ac_ext
18571 CFLAGS=$ac_wine_try_cflags_saved
18573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18574 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18575 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18576 then :
18577 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18580 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18581 if test ${ac_cv_cflags__Wempty_body+y}
18582 then :
18583 printf %s "(cached) " >&6
18584 else $as_nop
18585 ac_wine_try_cflags_saved=$CFLAGS
18586 CFLAGS="$CFLAGS -Wempty-body"
18587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18588 /* end confdefs.h. */
18589 int main(int argc, char **argv) { return 0; }
18590 _ACEOF
18591 if ac_fn_c_try_link "$LINENO"
18592 then :
18593 ac_cv_cflags__Wempty_body=yes
18594 else $as_nop
18595 ac_cv_cflags__Wempty_body=no
18597 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18598 conftest$ac_exeext conftest.$ac_ext
18599 CFLAGS=$ac_wine_try_cflags_saved
18601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18602 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18603 if test "x$ac_cv_cflags__Wempty_body" = xyes
18604 then :
18605 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18608 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18609 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18610 then :
18611 printf %s "(cached) " >&6
18612 else $as_nop
18613 ac_wine_try_cflags_saved=$CFLAGS
18614 CFLAGS="$CFLAGS -Wignored-qualifiers"
18615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18616 /* end confdefs.h. */
18617 int main(int argc, char **argv) { return 0; }
18618 _ACEOF
18619 if ac_fn_c_try_link "$LINENO"
18620 then :
18621 ac_cv_cflags__Wignored_qualifiers=yes
18622 else $as_nop
18623 ac_cv_cflags__Wignored_qualifiers=no
18625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18626 conftest$ac_exeext conftest.$ac_ext
18627 CFLAGS=$ac_wine_try_cflags_saved
18629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18630 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18631 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18632 then :
18633 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18636 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18637 if test ${ac_cv_cflags__Winit_self+y}
18638 then :
18639 printf %s "(cached) " >&6
18640 else $as_nop
18641 ac_wine_try_cflags_saved=$CFLAGS
18642 CFLAGS="$CFLAGS -Winit-self"
18643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644 /* end confdefs.h. */
18645 int main(int argc, char **argv) { return 0; }
18646 _ACEOF
18647 if ac_fn_c_try_link "$LINENO"
18648 then :
18649 ac_cv_cflags__Winit_self=yes
18650 else $as_nop
18651 ac_cv_cflags__Winit_self=no
18653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18654 conftest$ac_exeext conftest.$ac_ext
18655 CFLAGS=$ac_wine_try_cflags_saved
18657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18658 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18659 if test "x$ac_cv_cflags__Winit_self" = xyes
18660 then :
18661 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18664 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18665 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18666 then :
18667 printf %s "(cached) " >&6
18668 else $as_nop
18669 ac_wine_try_cflags_saved=$CFLAGS
18670 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18672 /* end confdefs.h. */
18673 int main(int argc, char **argv) { return 0; }
18674 _ACEOF
18675 if ac_fn_c_try_link "$LINENO"
18676 then :
18677 ac_cv_cflags__Wpacked_not_aligned=yes
18678 else $as_nop
18679 ac_cv_cflags__Wpacked_not_aligned=no
18681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18682 conftest$ac_exeext conftest.$ac_ext
18683 CFLAGS=$ac_wine_try_cflags_saved
18685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18686 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18687 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18688 then :
18689 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18692 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18693 if test ${ac_cv_cflags__Wpragma_pack+y}
18694 then :
18695 printf %s "(cached) " >&6
18696 else $as_nop
18697 ac_wine_try_cflags_saved=$CFLAGS
18698 CFLAGS="$CFLAGS -Wpragma-pack"
18699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18700 /* end confdefs.h. */
18701 int main(int argc, char **argv) { return 0; }
18702 _ACEOF
18703 if ac_fn_c_try_link "$LINENO"
18704 then :
18705 ac_cv_cflags__Wpragma_pack=yes
18706 else $as_nop
18707 ac_cv_cflags__Wpragma_pack=no
18709 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18710 conftest$ac_exeext conftest.$ac_ext
18711 CFLAGS=$ac_wine_try_cflags_saved
18713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18714 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18715 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18716 then :
18717 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18720 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18721 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18722 then :
18723 printf %s "(cached) " >&6
18724 else $as_nop
18725 ac_wine_try_cflags_saved=$CFLAGS
18726 CFLAGS="$CFLAGS -Wshift-overflow=2"
18727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18728 /* end confdefs.h. */
18729 int main(int argc, char **argv) { return 0; }
18730 _ACEOF
18731 if ac_fn_c_try_link "$LINENO"
18732 then :
18733 ac_cv_cflags__Wshift_overflow_2=yes
18734 else $as_nop
18735 ac_cv_cflags__Wshift_overflow_2=no
18737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18738 conftest$ac_exeext conftest.$ac_ext
18739 CFLAGS=$ac_wine_try_cflags_saved
18741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18742 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18743 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18744 then :
18745 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18748 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18749 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18750 then :
18751 printf %s "(cached) " >&6
18752 else $as_nop
18753 ac_wine_try_cflags_saved=$CFLAGS
18754 CFLAGS="$CFLAGS -Wstrict-prototypes"
18755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18756 /* end confdefs.h. */
18757 int main(int argc, char **argv) { return 0; }
18758 _ACEOF
18759 if ac_fn_c_try_link "$LINENO"
18760 then :
18761 ac_cv_cflags__Wstrict_prototypes=yes
18762 else $as_nop
18763 ac_cv_cflags__Wstrict_prototypes=no
18765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18766 conftest$ac_exeext conftest.$ac_ext
18767 CFLAGS=$ac_wine_try_cflags_saved
18769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18770 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18771 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18772 then :
18773 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18776 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18777 if test ${ac_cv_cflags__Wtype_limits+y}
18778 then :
18779 printf %s "(cached) " >&6
18780 else $as_nop
18781 ac_wine_try_cflags_saved=$CFLAGS
18782 CFLAGS="$CFLAGS -Wtype-limits"
18783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18784 /* end confdefs.h. */
18785 int main(int argc, char **argv) { return 0; }
18786 _ACEOF
18787 if ac_fn_c_try_link "$LINENO"
18788 then :
18789 ac_cv_cflags__Wtype_limits=yes
18790 else $as_nop
18791 ac_cv_cflags__Wtype_limits=no
18793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18794 conftest$ac_exeext conftest.$ac_ext
18795 CFLAGS=$ac_wine_try_cflags_saved
18797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18798 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18799 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18800 then :
18801 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18804 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18805 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18806 then :
18807 printf %s "(cached) " >&6
18808 else $as_nop
18809 ac_wine_try_cflags_saved=$CFLAGS
18810 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813 int main(int argc, char **argv) { return 0; }
18814 _ACEOF
18815 if ac_fn_c_try_link "$LINENO"
18816 then :
18817 ac_cv_cflags__Wunused_but_set_parameter=yes
18818 else $as_nop
18819 ac_cv_cflags__Wunused_but_set_parameter=no
18821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18822 conftest$ac_exeext conftest.$ac_ext
18823 CFLAGS=$ac_wine_try_cflags_saved
18825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18826 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18827 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18828 then :
18829 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18832 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18833 if test ${ac_cv_cflags__Wvla+y}
18834 then :
18835 printf %s "(cached) " >&6
18836 else $as_nop
18837 ac_wine_try_cflags_saved=$CFLAGS
18838 CFLAGS="$CFLAGS -Wvla"
18839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18840 /* end confdefs.h. */
18841 int main(int argc, char **argv) { return 0; }
18842 _ACEOF
18843 if ac_fn_c_try_link "$LINENO"
18844 then :
18845 ac_cv_cflags__Wvla=yes
18846 else $as_nop
18847 ac_cv_cflags__Wvla=no
18849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18850 conftest$ac_exeext conftest.$ac_ext
18851 CFLAGS=$ac_wine_try_cflags_saved
18853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18854 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18855 if test "x$ac_cv_cflags__Wvla" = xyes
18856 then :
18857 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18860 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18861 if test ${ac_cv_cflags__Wwrite_strings+y}
18862 then :
18863 printf %s "(cached) " >&6
18864 else $as_nop
18865 ac_wine_try_cflags_saved=$CFLAGS
18866 CFLAGS="$CFLAGS -Wwrite-strings"
18867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18868 /* end confdefs.h. */
18869 int main(int argc, char **argv) { return 0; }
18870 _ACEOF
18871 if ac_fn_c_try_link "$LINENO"
18872 then :
18873 ac_cv_cflags__Wwrite_strings=yes
18874 else $as_nop
18875 ac_cv_cflags__Wwrite_strings=no
18877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18878 conftest$ac_exeext conftest.$ac_ext
18879 CFLAGS=$ac_wine_try_cflags_saved
18881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18882 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18883 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18884 then :
18885 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18888 if test -z "$CROSSTARGET"
18889 then
18890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18891 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18892 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18893 then :
18894 printf %s "(cached) " >&6
18895 else $as_nop
18896 ac_wine_try_cflags_saved=$CFLAGS
18897 CFLAGS="$CFLAGS -fexcess-precision=standard"
18898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h. */
18900 int main(int argc, char **argv) { return 0; }
18901 _ACEOF
18902 if ac_fn_c_try_link "$LINENO"
18903 then :
18904 ac_cv_cflags__fexcess_precision_standard=yes
18905 else $as_nop
18906 ac_cv_cflags__fexcess_precision_standard=no
18908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18909 conftest$ac_exeext conftest.$ac_ext
18910 CFLAGS=$ac_wine_try_cflags_saved
18912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18913 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18914 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18915 then :
18916 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
18921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18922 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18923 if test ${ac_cv_cflags__Wpointer_arith+y}
18924 then :
18925 printf %s "(cached) " >&6
18926 else $as_nop
18927 ac_wine_try_cflags_saved=$CFLAGS
18928 CFLAGS="$CFLAGS -Wpointer-arith"
18929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18930 /* end confdefs.h. */
18931 int main(int argc, char **argv) { return 0; }
18932 _ACEOF
18933 if ac_fn_c_try_link "$LINENO"
18934 then :
18935 ac_cv_cflags__Wpointer_arith=yes
18936 else $as_nop
18937 ac_cv_cflags__Wpointer_arith=no
18939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18940 conftest$ac_exeext conftest.$ac_ext
18941 CFLAGS=$ac_wine_try_cflags_saved
18943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18944 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18945 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18946 then :
18947 saved_string_h_CFLAGS=$CFLAGS
18948 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18950 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18951 if test ${ac_cv_c_string_h_warnings+y}
18952 then :
18953 printf %s "(cached) " >&6
18954 else $as_nop
18955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18956 /* end confdefs.h. */
18957 #include <string.h>
18959 main (void)
18963 return 0;
18965 _ACEOF
18966 if ac_fn_c_try_compile "$LINENO"
18967 then :
18968 ac_cv_c_string_h_warnings=no
18969 else $as_nop
18970 ac_cv_c_string_h_warnings=yes
18972 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18975 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18976 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18977 CFLAGS=$saved_string_h_CFLAGS
18980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18981 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18982 if test ${ac_cv_cflags__Wlogical_op+y}
18983 then :
18984 printf %s "(cached) " >&6
18985 else $as_nop
18986 ac_wine_try_cflags_saved=$CFLAGS
18987 CFLAGS="$CFLAGS -Wlogical-op"
18988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18989 /* end confdefs.h. */
18990 int main(int argc, char **argv) { return 0; }
18991 _ACEOF
18992 if ac_fn_c_try_link "$LINENO"
18993 then :
18994 ac_cv_cflags__Wlogical_op=yes
18995 else $as_nop
18996 ac_cv_cflags__Wlogical_op=no
18998 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18999 conftest$ac_exeext conftest.$ac_ext
19000 CFLAGS=$ac_wine_try_cflags_saved
19002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19003 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19004 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19005 then :
19006 saved_string_h_CFLAGS=$CFLAGS
19007 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19009 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19010 if test ${ac_cv_c_logicalop_noisy+y}
19011 then :
19012 printf %s "(cached) " >&6
19013 else $as_nop
19014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19015 /* end confdefs.h. */
19016 #include <string.h>
19017 char*f(const char *h,char n) {return strchr(h,n);}
19019 main (void)
19023 return 0;
19025 _ACEOF
19026 if ac_fn_c_try_compile "$LINENO"
19027 then :
19028 ac_cv_c_logicalop_noisy=no
19029 else $as_nop
19030 ac_cv_c_logicalop_noisy=yes
19032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19035 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19036 CFLAGS=$saved_string_h_CFLAGS
19037 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19041 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19042 if test ${wine_cv_64bit_compare_swap+y}
19043 then :
19044 printf %s "(cached) " >&6
19045 else $as_nop
19046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19047 /* end confdefs.h. */
19048 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19049 #error no
19050 #endif
19052 main (void)
19056 return 0;
19058 _ACEOF
19059 if ac_fn_c_try_compile "$LINENO"
19060 then :
19061 wine_cv_64bit_compare_swap="none needed"
19062 else $as_nop
19063 case $host_cpu in
19064 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19065 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19066 *) wine_cv_64bit_compare_swap="unknown" ;;
19067 esac
19068 if test "x$wine_cv_64bit_compare_swap" != xunknown
19069 then
19070 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19072 /* end confdefs.h. */
19073 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19074 #error no
19075 #endif
19077 main (void)
19081 return 0;
19083 _ACEOF
19084 if ac_fn_c_try_compile "$LINENO"
19085 then :
19087 else $as_nop
19088 wine_cv_64bit_compare_swap="unknown"
19090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19091 CFLAGS=$saved_CFLAGS
19094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19097 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19098 case "$wine_cv_64bit_compare_swap" in
19099 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19100 "none needed") ;;
19101 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19102 esac
19104 ac_debug_format_seen=""
19105 for ac_flag in $CFLAGS; do
19106 case $ac_flag in
19107 -gdwarf*) ac_debug_format_seen=yes ;;
19108 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19109 esac
19110 done
19111 if test "x$ac_debug_format_seen" = xdefault
19112 then
19113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19114 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19115 if test ${ac_cv_cflags__gdwarf_4+y}
19116 then :
19117 printf %s "(cached) " >&6
19118 else $as_nop
19119 ac_wine_try_cflags_saved=$CFLAGS
19120 CFLAGS="$CFLAGS -gdwarf-4"
19121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19122 /* end confdefs.h. */
19123 int main(int argc, char **argv) { return 0; }
19124 _ACEOF
19125 if ac_fn_c_try_link "$LINENO"
19126 then :
19127 ac_cv_cflags__gdwarf_4=yes
19128 else $as_nop
19129 ac_cv_cflags__gdwarf_4=no
19131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19132 conftest$ac_exeext conftest.$ac_ext
19133 CFLAGS=$ac_wine_try_cflags_saved
19135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19136 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19137 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19138 then :
19139 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19143 MSVCRTFLAGS=""
19145 case $host_os in
19146 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19147 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19148 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19149 then :
19150 printf %s "(cached) " >&6
19151 else $as_nop
19152 ac_wine_try_cflags_saved=$CFLAGS
19153 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19155 /* end confdefs.h. */
19156 int main(int argc, char **argv) { return 0; }
19157 _ACEOF
19158 if ac_fn_c_try_link "$LINENO"
19159 then :
19160 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19161 else $as_nop
19162 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19165 conftest$ac_exeext conftest.$ac_ext
19166 CFLAGS=$ac_wine_try_cflags_saved
19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19169 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19170 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19171 then :
19172 DELAYLOADFLAG="-Wl,-delayload,"
19174 fi ;;
19175 *) MSVCRTFLAGS="-D_WIN32"
19176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19177 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19178 if test ${ac_cv_cflags__fno_builtin+y}
19179 then :
19180 printf %s "(cached) " >&6
19181 else $as_nop
19182 ac_wine_try_cflags_saved=$CFLAGS
19183 CFLAGS="$CFLAGS -fno-builtin"
19184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19185 /* end confdefs.h. */
19186 int main(int argc, char **argv) { return 0; }
19187 _ACEOF
19188 if ac_fn_c_try_link "$LINENO"
19189 then :
19190 ac_cv_cflags__fno_builtin=yes
19191 else $as_nop
19192 ac_cv_cflags__fno_builtin=no
19194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19195 conftest$ac_exeext conftest.$ac_ext
19196 CFLAGS=$ac_wine_try_cflags_saved
19198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19199 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19200 if test "x$ac_cv_cflags__fno_builtin" = xyes
19201 then :
19202 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19205 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19206 if test ${ac_cv_cflags__fshort_wchar+y}
19207 then :
19208 printf %s "(cached) " >&6
19209 else $as_nop
19210 ac_wine_try_cflags_saved=$CFLAGS
19211 CFLAGS="$CFLAGS -fshort-wchar"
19212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19213 /* end confdefs.h. */
19214 int main(int argc, char **argv) { return 0; }
19215 _ACEOF
19216 if ac_fn_c_try_link "$LINENO"
19217 then :
19218 ac_cv_cflags__fshort_wchar=yes
19219 else $as_nop
19220 ac_cv_cflags__fshort_wchar=no
19222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19223 conftest$ac_exeext conftest.$ac_ext
19224 CFLAGS=$ac_wine_try_cflags_saved
19226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19227 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19228 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19229 then :
19230 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19233 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19234 if test ${ac_cv_cflags__Wno_format+y}
19235 then :
19236 printf %s "(cached) " >&6
19237 else $as_nop
19238 ac_wine_try_cflags_saved=$CFLAGS
19239 CFLAGS="$CFLAGS -Wno-format"
19240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19241 /* end confdefs.h. */
19242 int main(int argc, char **argv) { return 0; }
19243 _ACEOF
19244 if ac_fn_c_try_link "$LINENO"
19245 then :
19246 ac_cv_cflags__Wno_format=yes
19247 else $as_nop
19248 ac_cv_cflags__Wno_format=no
19250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19251 conftest$ac_exeext conftest.$ac_ext
19252 CFLAGS=$ac_wine_try_cflags_saved
19254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19255 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19256 if test "x$ac_cv_cflags__Wno_format" = xyes
19257 then :
19258 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19259 fi ;;
19260 esac
19262 case $host_cpu in
19263 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19264 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19265 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19266 then :
19267 printf %s "(cached) " >&6
19268 else $as_nop
19269 ac_wine_try_cflags_saved=$CFLAGS
19270 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19272 /* end confdefs.h. */
19273 int main(int argc, char **argv) { return 0; }
19274 _ACEOF
19275 if ac_fn_c_try_link "$LINENO"
19276 then :
19277 ac_cv_cflags__fno_omit_frame_pointer=yes
19278 else $as_nop
19279 ac_cv_cflags__fno_omit_frame_pointer=no
19281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19282 conftest$ac_exeext conftest.$ac_ext
19283 CFLAGS=$ac_wine_try_cflags_saved
19285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19286 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19287 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19288 then :
19289 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19290 fi ;;
19291 *x86_64*)
19292 case $host_os in
19293 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19294 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19295 if test ${ac_cv_cflags__Wno_format+y}
19296 then :
19297 printf %s "(cached) " >&6
19298 else $as_nop
19299 ac_wine_try_cflags_saved=$CFLAGS
19300 CFLAGS="$CFLAGS -Wno-format"
19301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19302 /* end confdefs.h. */
19303 int main(int argc, char **argv) { return 0; }
19304 _ACEOF
19305 if ac_fn_c_try_link "$LINENO"
19306 then :
19307 ac_cv_cflags__Wno_format=yes
19308 else $as_nop
19309 ac_cv_cflags__Wno_format=no
19311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19312 conftest$ac_exeext conftest.$ac_ext
19313 CFLAGS=$ac_wine_try_cflags_saved
19315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19316 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19317 if test "x$ac_cv_cflags__Wno_format" = xyes
19318 then :
19319 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19320 fi ;;
19321 *) if test -z "$CROSSTARGET"
19322 then
19323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19324 printf %s "checking for working -mabi=ms... " >&6; }
19325 if test ${ac_cv_mabi_ms+y}
19326 then :
19327 printf %s "(cached) " >&6
19328 else $as_nop
19329 CFLAGS="$CFLAGS -mabi=ms"
19330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19331 /* end confdefs.h. */
19332 #include <stdarg.h>
19333 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19335 main (void)
19339 return 0;
19341 _ACEOF
19342 if ac_fn_c_try_compile "$LINENO"
19343 then :
19344 ac_cv_mabi_ms=yes
19345 else $as_nop
19346 ac_cv_mabi_ms=no
19348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19349 CFLAGS=$saved_CFLAGS
19351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19352 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19353 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
19355 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19356 esac ;;
19357 esac
19359 CFLAGS=$saved_CFLAGS
19361 if test "x$enable_werror" = "xyes"
19362 then
19363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19364 printf %s "checking whether the compiler supports -Werror... " >&6; }
19365 if test ${ac_cv_cflags__Werror+y}
19366 then :
19367 printf %s "(cached) " >&6
19368 else $as_nop
19369 ac_wine_try_cflags_saved=$CFLAGS
19370 CFLAGS="$CFLAGS -Werror"
19371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19372 /* end confdefs.h. */
19373 int main(int argc, char **argv) { return 0; }
19374 _ACEOF
19375 if ac_fn_c_try_link "$LINENO"
19376 then :
19377 ac_cv_cflags__Werror=yes
19378 else $as_nop
19379 ac_cv_cflags__Werror=no
19381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19382 conftest$ac_exeext conftest.$ac_ext
19383 CFLAGS=$ac_wine_try_cflags_saved
19385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19386 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19387 if test "x$ac_cv_cflags__Werror" = xyes
19388 then :
19389 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19392 if test "x$enable_build_id" = "xyes"
19393 then
19394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19395 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19396 if test ${ac_cv_cflags__Wl___build_id+y}
19397 then :
19398 printf %s "(cached) " >&6
19399 else $as_nop
19400 ac_wine_try_cflags_saved=$CFLAGS
19401 CFLAGS="$CFLAGS -Wl,--build-id"
19402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19403 /* end confdefs.h. */
19404 int main(int argc, char **argv) { return 0; }
19405 _ACEOF
19406 if ac_fn_c_try_link "$LINENO"
19407 then :
19408 ac_cv_cflags__Wl___build_id=yes
19409 else $as_nop
19410 ac_cv_cflags__Wl___build_id=no
19412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19413 conftest$ac_exeext conftest.$ac_ext
19414 CFLAGS=$ac_wine_try_cflags_saved
19416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19417 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19418 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19419 then :
19420 CFLAGS="$CFLAGS -Wl,--build-id"
19421 LDFLAGS="$LDFLAGS -Wl,--build-id"
19427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19428 printf %s "checking for the need to disable Fortify... " >&6; }
19429 if test ${ac_cv_c_fortify_enabled+y}
19430 then :
19431 printf %s "(cached) " >&6
19432 else $as_nop
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 #include <string.h>
19437 main (void)
19439 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19440 #error Fortify enabled
19441 #endif
19443 return 0;
19445 _ACEOF
19446 if ac_fn_c_try_compile "$LINENO"
19447 then :
19448 ac_cv_c_fortify_enabled=no
19449 else $as_nop
19450 ac_cv_c_fortify_enabled=yes
19452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19455 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19456 if test "$ac_cv_c_fortify_enabled" = yes
19457 then
19458 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19463 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19464 if test ${ac_cv_c_cfi_support+y}
19465 then :
19466 printf %s "(cached) " >&6
19467 else $as_nop
19468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19469 /* end confdefs.h. */
19470 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19472 main (void)
19476 return 0;
19478 _ACEOF
19479 if ac_fn_c_try_compile "$LINENO"
19480 then :
19481 ac_cv_c_cfi_support="yes"
19482 else $as_nop
19483 ac_cv_c_cfi_support="no"
19485 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19488 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19489 if test "$ac_cv_c_cfi_support" = "yes"
19490 then
19491 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19492 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19493 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19494 else
19495 if test "x$enable_win64" = "xyes"
19496 then
19497 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19502 case $host_os in
19503 linux*)
19504 case $host_cpu in
19505 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19506 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19507 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19509 esac
19511 esac
19514 ac_save_CFLAGS="$CFLAGS"
19515 CFLAGS="$CFLAGS $BUILTINFLAG"
19516 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19517 if test "x$ac_cv_func_epoll_create" = xyes
19518 then :
19519 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19522 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19523 if test "x$ac_cv_func_fstatfs" = xyes
19524 then :
19525 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19528 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19529 if test "x$ac_cv_func_futimens" = xyes
19530 then :
19531 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19534 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19535 if test "x$ac_cv_func_futimes" = xyes
19536 then :
19537 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19540 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19541 if test "x$ac_cv_func_futimesat" = xyes
19542 then :
19543 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19546 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19547 if test "x$ac_cv_func_getattrlist" = xyes
19548 then :
19549 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19552 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19553 if test "x$ac_cv_func_getauxval" = xyes
19554 then :
19555 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19558 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19559 if test "x$ac_cv_func_getifaddrs" = xyes
19560 then :
19561 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19564 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19565 if test "x$ac_cv_func_getrandom" = xyes
19566 then :
19567 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19570 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19571 if test "x$ac_cv_func_kqueue" = xyes
19572 then :
19573 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19576 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19577 if test "x$ac_cv_func_mach_continuous_time" = xyes
19578 then :
19579 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19582 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19583 if test "x$ac_cv_func_pipe2" = xyes
19584 then :
19585 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19588 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19589 if test "x$ac_cv_func_port_create" = xyes
19590 then :
19591 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19594 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19595 if test "x$ac_cv_func_posix_fadvise" = xyes
19596 then :
19597 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19600 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19601 if test "x$ac_cv_func_posix_fallocate" = xyes
19602 then :
19603 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19606 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19607 if test "x$ac_cv_func_prctl" = xyes
19608 then :
19609 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19612 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19613 if test "x$ac_cv_func_proc_pidinfo" = xyes
19614 then :
19615 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19618 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19619 if test "x$ac_cv_func_sched_yield" = xyes
19620 then :
19621 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19624 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19625 if test "x$ac_cv_func_setproctitle" = xyes
19626 then :
19627 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19630 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19631 if test "x$ac_cv_func_setprogname" = xyes
19632 then :
19633 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19636 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19637 if test "x$ac_cv_func_sigprocmask" = xyes
19638 then :
19639 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19642 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19643 if test "x$ac_cv_func_sysinfo" = xyes
19644 then :
19645 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19648 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19649 if test "x$ac_cv_func_tcdrain" = xyes
19650 then :
19651 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19654 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19655 if test "x$ac_cv_func_thr_kill2" = xyes
19656 then :
19657 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19661 CFLAGS="$ac_save_CFLAGS"
19663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19664 printf %s "checking for library containing dlopen... " >&6; }
19665 if test ${ac_cv_search_dlopen+y}
19666 then :
19667 printf %s "(cached) " >&6
19668 else $as_nop
19669 ac_func_search_save_LIBS=$LIBS
19670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19671 /* end confdefs.h. */
19673 /* Override any GCC internal prototype to avoid an error.
19674 Use char because int might match the return type of a GCC
19675 builtin and then its argument prototype would still apply. */
19676 char dlopen ();
19678 main (void)
19680 return dlopen ();
19682 return 0;
19684 _ACEOF
19685 for ac_lib in '' dl
19687 if test -z "$ac_lib"; then
19688 ac_res="none required"
19689 else
19690 ac_res=-l$ac_lib
19691 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19693 if ac_fn_c_try_link "$LINENO"
19694 then :
19695 ac_cv_search_dlopen=$ac_res
19697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19698 conftest$ac_exeext
19699 if test ${ac_cv_search_dlopen+y}
19700 then :
19701 break
19703 done
19704 if test ${ac_cv_search_dlopen+y}
19705 then :
19707 else $as_nop
19708 ac_cv_search_dlopen=no
19710 rm conftest.$ac_ext
19711 LIBS=$ac_func_search_save_LIBS
19713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19714 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19715 ac_res=$ac_cv_search_dlopen
19716 if test "$ac_res" != no
19717 then :
19718 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19722 ac_wine_check_funcs_save_LIBS="$LIBS"
19723 LIBS="$LIBS $DL_LIBS"
19724 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19725 if test "x$ac_cv_func_dlinfo" = xyes
19726 then :
19727 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19731 LIBS="$ac_wine_check_funcs_save_LIBS"
19733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19734 printf %s "checking for library containing gethostbyname... " >&6; }
19735 if test ${ac_cv_search_gethostbyname+y}
19736 then :
19737 printf %s "(cached) " >&6
19738 else $as_nop
19739 ac_func_search_save_LIBS=$LIBS
19740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19741 /* end confdefs.h. */
19743 /* Override any GCC internal prototype to avoid an error.
19744 Use char because int might match the return type of a GCC
19745 builtin and then its argument prototype would still apply. */
19746 char gethostbyname ();
19748 main (void)
19750 return gethostbyname ();
19752 return 0;
19754 _ACEOF
19755 for ac_lib in '' nsl
19757 if test -z "$ac_lib"; then
19758 ac_res="none required"
19759 else
19760 ac_res=-l$ac_lib
19761 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19763 if ac_fn_c_try_link "$LINENO"
19764 then :
19765 ac_cv_search_gethostbyname=$ac_res
19767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19768 conftest$ac_exeext
19769 if test ${ac_cv_search_gethostbyname+y}
19770 then :
19771 break
19773 done
19774 if test ${ac_cv_search_gethostbyname+y}
19775 then :
19777 else $as_nop
19778 ac_cv_search_gethostbyname=no
19780 rm conftest.$ac_ext
19781 LIBS=$ac_func_search_save_LIBS
19783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19784 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19785 ac_res=$ac_cv_search_gethostbyname
19786 if test "$ac_res" != no
19787 then :
19788 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19794 printf %s "checking for library containing connect... " >&6; }
19795 if test ${ac_cv_search_connect+y}
19796 then :
19797 printf %s "(cached) " >&6
19798 else $as_nop
19799 ac_func_search_save_LIBS=$LIBS
19800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19801 /* end confdefs.h. */
19803 /* Override any GCC internal prototype to avoid an error.
19804 Use char because int might match the return type of a GCC
19805 builtin and then its argument prototype would still apply. */
19806 char connect ();
19808 main (void)
19810 return connect ();
19812 return 0;
19814 _ACEOF
19815 for ac_lib in '' socket
19817 if test -z "$ac_lib"; then
19818 ac_res="none required"
19819 else
19820 ac_res=-l$ac_lib
19821 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19823 if ac_fn_c_try_link "$LINENO"
19824 then :
19825 ac_cv_search_connect=$ac_res
19827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19828 conftest$ac_exeext
19829 if test ${ac_cv_search_connect+y}
19830 then :
19831 break
19833 done
19834 if test ${ac_cv_search_connect+y}
19835 then :
19837 else $as_nop
19838 ac_cv_search_connect=no
19840 rm conftest.$ac_ext
19841 LIBS=$ac_func_search_save_LIBS
19843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19844 printf "%s\n" "$ac_cv_search_connect" >&6; }
19845 ac_res=$ac_cv_search_connect
19846 if test "$ac_res" != no
19847 then :
19848 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19854 printf %s "checking for library containing inet_aton... " >&6; }
19855 if test ${ac_cv_search_inet_aton+y}
19856 then :
19857 printf %s "(cached) " >&6
19858 else $as_nop
19859 ac_func_search_save_LIBS=$LIBS
19860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19861 /* end confdefs.h. */
19863 /* Override any GCC internal prototype to avoid an error.
19864 Use char because int might match the return type of a GCC
19865 builtin and then its argument prototype would still apply. */
19866 char inet_aton ();
19868 main (void)
19870 return inet_aton ();
19872 return 0;
19874 _ACEOF
19875 for ac_lib in '' resolv
19877 if test -z "$ac_lib"; then
19878 ac_res="none required"
19879 else
19880 ac_res=-l$ac_lib
19881 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19883 if ac_fn_c_try_link "$LINENO"
19884 then :
19885 ac_cv_search_inet_aton=$ac_res
19887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19888 conftest$ac_exeext
19889 if test ${ac_cv_search_inet_aton+y}
19890 then :
19891 break
19893 done
19894 if test ${ac_cv_search_inet_aton+y}
19895 then :
19897 else $as_nop
19898 ac_cv_search_inet_aton=no
19900 rm conftest.$ac_ext
19901 LIBS=$ac_func_search_save_LIBS
19903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19904 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19905 ac_res=$ac_cv_search_inet_aton
19906 if test "$ac_res" != no
19907 then :
19908 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19913 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19914 if test "x$ac_cv_func_getaddrinfo" = xyes
19915 then :
19916 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19921 case $host_os in
19922 darwin*|macosx*) ;;
19923 *) ac_save_LIBS=$LIBS
19924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19925 printf %s "checking for library containing clock_gettime... " >&6; }
19926 if test ${ac_cv_search_clock_gettime+y}
19927 then :
19928 printf %s "(cached) " >&6
19929 else $as_nop
19930 ac_func_search_save_LIBS=$LIBS
19931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19932 /* end confdefs.h. */
19934 /* Override any GCC internal prototype to avoid an error.
19935 Use char because int might match the return type of a GCC
19936 builtin and then its argument prototype would still apply. */
19937 char clock_gettime ();
19939 main (void)
19941 return clock_gettime ();
19943 return 0;
19945 _ACEOF
19946 for ac_lib in '' rt
19948 if test -z "$ac_lib"; then
19949 ac_res="none required"
19950 else
19951 ac_res=-l$ac_lib
19952 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19954 if ac_fn_c_try_link "$LINENO"
19955 then :
19956 ac_cv_search_clock_gettime=$ac_res
19958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19959 conftest$ac_exeext
19960 if test ${ac_cv_search_clock_gettime+y}
19961 then :
19962 break
19964 done
19965 if test ${ac_cv_search_clock_gettime+y}
19966 then :
19968 else $as_nop
19969 ac_cv_search_clock_gettime=no
19971 rm conftest.$ac_ext
19972 LIBS=$ac_func_search_save_LIBS
19974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19975 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19976 ac_res=$ac_cv_search_clock_gettime
19977 if test "$ac_res" != no
19978 then :
19979 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19981 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19983 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19987 LIBS=$ac_save_LIBS
19989 esac
19991 if test "x$with_ldap" != "xno"
19992 then
19993 if ${LDAP_CFLAGS:+false} :
19994 then :
19995 if test ${PKG_CONFIG+y}
19996 then :
19997 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20001 if ${LDAP_LIBS:+false} :
20002 then :
20003 if test ${PKG_CONFIG+y}
20004 then :
20005 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20009 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20012 ac_save_CPPFLAGS=$CPPFLAGS
20013 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20014 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20015 if test "x$ac_cv_header_ldap_h" = xyes
20016 then :
20017 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20020 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20021 if test "x$ac_cv_header_lber_h" = xyes
20022 then :
20023 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20027 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20028 then
20029 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20031 if test "x$ac_cv_type_LDAPSortKey" = xyes
20032 then :
20033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20034 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20035 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20036 then :
20037 printf %s "(cached) " >&6
20038 else $as_nop
20039 ac_check_lib_save_LIBS=$LIBS
20040 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20042 /* end confdefs.h. */
20044 /* Override any GCC internal prototype to avoid an error.
20045 Use char because int might match the return type of a GCC
20046 builtin and then its argument prototype would still apply. */
20047 char ldap_initialize ();
20049 main (void)
20051 return ldap_initialize ();
20053 return 0;
20055 _ACEOF
20056 if ac_fn_c_try_link "$LINENO"
20057 then :
20058 ac_cv_lib_ldap_ldap_initialize=yes
20059 else $as_nop
20060 ac_cv_lib_ldap_ldap_initialize=no
20062 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20063 conftest$ac_exeext conftest.$ac_ext
20064 LIBS=$ac_check_lib_save_LIBS
20066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20067 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20068 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20069 then :
20070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20071 printf %s "checking for ber_init in -llber... " >&6; }
20072 if test ${ac_cv_lib_lber_ber_init+y}
20073 then :
20074 printf %s "(cached) " >&6
20075 else $as_nop
20076 ac_check_lib_save_LIBS=$LIBS
20077 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20079 /* end confdefs.h. */
20081 /* Override any GCC internal prototype to avoid an error.
20082 Use char because int might match the return type of a GCC
20083 builtin and then its argument prototype would still apply. */
20084 char ber_init ();
20086 main (void)
20088 return ber_init ();
20090 return 0;
20092 _ACEOF
20093 if ac_fn_c_try_link "$LINENO"
20094 then :
20095 ac_cv_lib_lber_ber_init=yes
20096 else $as_nop
20097 ac_cv_lib_lber_ber_init=no
20099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20100 conftest$ac_exeext conftest.$ac_ext
20101 LIBS=$ac_check_lib_save_LIBS
20103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20104 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20105 if test "x$ac_cv_lib_lber_ber_init" = xyes
20106 then :
20108 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20110 else $as_nop
20111 LDAP_LIBS=""
20114 else $as_nop
20115 LDAP_LIBS=""
20118 else $as_nop
20119 LDAP_LIBS=""
20122 else
20123 LDAP_LIBS=""
20125 CPPFLAGS=$ac_save_CPPFLAGS
20128 if test "x$LDAP_LIBS" = "x"
20129 then :
20130 case "x$with_ldap" in
20131 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20132 xno) ;;
20133 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20134 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20135 esac
20139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20140 printf %s "checking for sched_setaffinity... " >&6; }
20141 if test ${wine_cv_have_sched_setaffinity+y}
20142 then :
20143 printf %s "(cached) " >&6
20144 else $as_nop
20145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20146 /* end confdefs.h. */
20147 #include <sched.h>
20149 main (void)
20151 sched_setaffinity(0, 0, 0);
20153 return 0;
20155 _ACEOF
20156 if ac_fn_c_try_link "$LINENO"
20157 then :
20158 wine_cv_have_sched_setaffinity=yes
20159 else $as_nop
20160 wine_cv_have_sched_setaffinity=no
20162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20163 conftest$ac_exeext conftest.$ac_ext
20165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20166 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20167 if test "$wine_cv_have_sched_setaffinity" = "yes"
20168 then
20170 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20176 printf %s "checking for inline... " >&6; }
20177 if test ${ac_cv_c_inline+y}
20178 then :
20179 printf %s "(cached) " >&6
20180 else $as_nop
20181 ac_cv_c_inline=no
20182 for ac_kw in inline __inline__ __inline; do
20183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20184 /* end confdefs.h. */
20185 #ifndef __cplusplus
20186 typedef int foo_t;
20187 static $ac_kw foo_t static_foo (void) {return 0; }
20188 $ac_kw foo_t foo (void) {return 0; }
20189 #endif
20191 _ACEOF
20192 if ac_fn_c_try_compile "$LINENO"
20193 then :
20194 ac_cv_c_inline=$ac_kw
20196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20197 test "$ac_cv_c_inline" != no && break
20198 done
20201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20202 printf "%s\n" "$ac_cv_c_inline" >&6; }
20204 case $ac_cv_c_inline in
20205 inline | yes) ;;
20207 case $ac_cv_c_inline in
20208 no) ac_val=;;
20209 *) ac_val=$ac_cv_c_inline;;
20210 esac
20211 cat >>confdefs.h <<_ACEOF
20212 #ifndef __cplusplus
20213 #define inline $ac_val
20214 #endif
20215 _ACEOF
20217 esac
20219 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20220 #include <signal.h>
20222 if test "x$ac_cv_type_sigset_t" = xyes
20223 then :
20225 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20230 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20232 if test "x$ac_cv_type_request_sense" = xyes
20233 then :
20235 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20241 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20242 #include <sys/socket.h>
20243 #ifdef HAVE_SYS_SOCKETVAR_H
20244 #include <sys/socketvar.h>
20245 #endif
20246 #ifdef HAVE_NET_ROUTE_H
20247 #include <net/route.h>
20248 #endif
20249 #ifdef HAVE_NETINET_IN_H
20250 #include <netinet/in.h>
20251 #endif
20252 #ifdef HAVE_NETINET_IN_SYSTM_H
20253 #include <netinet/in_systm.h>
20254 #endif
20255 #ifdef HAVE_NETINET_IP_H
20256 #include <netinet/ip.h>
20257 #endif
20258 #ifdef HAVE_NETINET_IN_PCB_H
20259 #include <netinet/in_pcb.h>
20260 #endif
20262 if test "x$ac_cv_type_struct_xinpgen" = xyes
20263 then :
20265 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20272 printf %s "checking for sigaddset... " >&6; }
20273 if test ${wine_cv_have_sigaddset+y}
20274 then :
20275 printf %s "(cached) " >&6
20276 else $as_nop
20277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20278 /* end confdefs.h. */
20279 #include <signal.h>
20281 main (void)
20283 sigset_t set; sigaddset(&set,SIGTERM);
20285 return 0;
20287 _ACEOF
20288 if ac_fn_c_try_link "$LINENO"
20289 then :
20290 wine_cv_have_sigaddset=yes
20291 else $as_nop
20292 wine_cv_have_sigaddset=no
20294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20295 conftest$ac_exeext conftest.$ac_ext
20297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20298 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20299 if test "$wine_cv_have_sigaddset" = "yes"
20300 then
20302 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20308 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20309 if test ${wine_cv_linux_gethostbyname_r_6+y}
20310 then :
20311 printf %s "(cached) " >&6
20312 else $as_nop
20313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20314 /* end confdefs.h. */
20315 #include <netdb.h>
20317 main (void)
20320 char *name=0;
20321 struct hostent he;
20322 struct hostent *result;
20323 char *buf=0;
20324 int bufsize=0;
20325 int errnr;
20326 char *addr=0;
20327 int addrlen=0;
20328 int addrtype=0;
20329 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20330 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20333 return 0;
20335 _ACEOF
20336 if ac_fn_c_try_link "$LINENO"
20337 then :
20338 wine_cv_linux_gethostbyname_r_6=yes
20339 else $as_nop
20340 wine_cv_linux_gethostbyname_r_6=no
20343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20344 conftest$ac_exeext conftest.$ac_ext
20347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20348 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20349 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20350 then
20352 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20356 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20357 #include <sys/socket.h>
20358 #ifdef HAVE_SYS_UN_H
20359 # include <sys/un.h>
20360 #endif
20362 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20363 then :
20365 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20369 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20370 #include <sys/socket.h>
20371 #ifdef HAVE_SYS_UN_H
20372 # include <sys/un.h>
20373 #endif
20375 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20376 then :
20378 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20384 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20385 #ifdef HAVE_SCSI_SG_H
20386 #include <scsi/sg.h>
20387 #endif
20389 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20390 then :
20392 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20396 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>
20397 #ifdef HAVE_SCSI_SG_H
20398 #include <scsi/sg.h>
20399 #endif
20401 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20402 then :
20404 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20410 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20412 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20413 then :
20415 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20421 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20422 #ifdef HAVE_SYS_MTIO_H
20423 #include <sys/mtio.h>
20424 #endif
20426 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20427 then :
20429 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20433 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20434 #ifdef HAVE_SYS_MTIO_H
20435 #include <sys/mtio.h>
20436 #endif
20438 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20439 then :
20441 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20445 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20446 #ifdef HAVE_SYS_MTIO_H
20447 #include <sys/mtio.h>
20448 #endif
20450 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20451 then :
20453 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20459 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20460 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20461 then :
20463 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20467 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20468 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20469 then :
20471 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20475 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20476 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20477 then :
20479 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20483 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20484 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20485 then :
20487 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20491 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20492 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20493 then :
20495 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20499 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20500 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20501 then :
20503 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20507 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20508 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20509 then :
20511 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20515 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20516 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20517 then :
20519 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20523 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20524 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20525 then :
20527 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20531 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20532 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20533 then :
20535 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20539 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20540 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20541 then :
20543 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20549 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>
20550 #ifdef HAVE_NETINET_IN_H
20551 #include <netinet/in.h>
20552 #endif
20554 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20555 then :
20557 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20563 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
20564 #include <resolv.h>
20565 #endif
20567 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20568 then :
20570 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20576 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20577 #include <netinet/in.h>
20578 #endif
20580 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20581 then :
20583 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20589 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20590 #ifdef HAVE_SYS_SOCKETVAR_H
20591 #include <sys/socketvar.h>
20592 #endif
20593 #ifdef HAVE_NETINET_IN_H
20594 #include <netinet/in.h>
20595 #endif
20596 #ifdef HAVE_NETINET_IP_VAR_H
20597 #include <netinet/ip_var.h>
20598 #endif
20600 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20601 then :
20603 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20609 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
20610 #include <netinet/ip_var.h>
20611 #endif
20613 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20614 then :
20616 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20622 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20623 #ifdef HAVE_SYS_SOCKETVAR_H
20624 #include <sys/socketvar.h>
20625 #endif
20626 #ifdef HAVE_NETINET_IN_H
20627 #include <netinet/in.h>
20628 #endif
20629 #ifdef HAVE_NETINET_TCP_H
20630 #include <netinet/tcp.h>
20631 #endif
20632 #ifdef HAVE_NETINET_TCP_VAR_H
20633 #include <netinet/tcp_var.h>
20634 #endif
20636 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20637 then :
20639 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20645 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
20646 #include <netinet/tcp_var.h>
20647 #endif
20649 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20650 then :
20652 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20658 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20659 #ifdef HAVE_NETINET_IN_H
20660 #include <netinet/in.h>
20661 #endif
20662 #ifdef HAVE_NETINET_IP_VAR_H
20663 #include <netinet/ip_var.h>
20664 #endif
20665 #ifdef HAVE_NETINET_UDP_H
20666 #include <netinet/udp.h>
20667 #endif
20668 #ifdef HAVE_NETINET_UDP_VAR_H
20669 #include <netinet/udp_var.h>
20670 #endif
20672 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20673 then :
20675 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20681 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20682 #ifdef HAVE_NET_IF_H
20683 # include <net/if.h>
20684 #endif
20686 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20687 then :
20689 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20695 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20696 # include <sys/sysinfo.h>
20697 #endif
20699 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20700 then :
20702 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20706 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20707 # include <sys/sysinfo.h>
20708 #endif
20710 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20711 then :
20713 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20719 LIBS="$ac_save_LIBS"
20721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20722 printf %s "checking for __builtin_popcount... " >&6; }
20723 if test ${ac_cv_have___builtin_popcount+y}
20724 then :
20725 printf %s "(cached) " >&6
20726 else $as_nop
20727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20728 /* end confdefs.h. */
20731 main (void)
20733 return __builtin_popcount(1)
20735 return 0;
20737 _ACEOF
20738 if ac_fn_c_try_link "$LINENO"
20739 then :
20740 ac_cv_have___builtin_popcount="yes"
20741 else $as_nop
20742 ac_cv_have___builtin_popcount="no"
20744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20745 conftest$ac_exeext conftest.$ac_ext
20747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20748 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20749 if test "$ac_cv_have___builtin_popcount" = "yes"
20750 then
20752 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20757 printf %s "checking for __clear_cache... " >&6; }
20758 if test ${ac_cv_have___clear_cache+y}
20759 then :
20760 printf %s "(cached) " >&6
20761 else $as_nop
20762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20763 /* end confdefs.h. */
20766 main (void)
20768 __clear_cache((void*)0, (void*)0); return 0;
20770 return 0;
20772 _ACEOF
20773 if ac_fn_c_try_link "$LINENO"
20774 then :
20775 ac_cv_have___clear_cache="yes"
20776 else $as_nop
20777 ac_cv_have___clear_cache="no"
20779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20780 conftest$ac_exeext conftest.$ac_ext
20782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20783 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20784 if test "$ac_cv_have___clear_cache" = "yes"
20785 then
20787 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20792 case $host_cpu in
20793 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20794 printf %s "checking whether we need to define __i386__... " >&6; }
20795 if test ${ac_cv_cpp_def___i386__+y}
20796 then :
20797 printf %s "(cached) " >&6
20798 else $as_nop
20799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20800 /* end confdefs.h. */
20801 #ifndef __i386__
20803 #endif
20804 _ACEOF
20805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20806 $EGREP "yes" >/dev/null 2>&1
20807 then :
20808 ac_cv_cpp_def___i386__=yes
20809 else $as_nop
20810 ac_cv_cpp_def___i386__=no
20812 rm -rf conftest*
20815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20816 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20817 if test "x$ac_cv_cpp_def___i386__" = xyes
20818 then :
20819 CFLAGS="$CFLAGS -D__i386__"
20820 LINTFLAGS="$LINTFLAGS -D__i386__"
20821 fi ;;
20822 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20823 printf %s "checking whether we need to define __x86_64__... " >&6; }
20824 if test ${ac_cv_cpp_def___x86_64__+y}
20825 then :
20826 printf %s "(cached) " >&6
20827 else $as_nop
20828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20829 /* end confdefs.h. */
20830 #ifndef __x86_64__
20832 #endif
20833 _ACEOF
20834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20835 $EGREP "yes" >/dev/null 2>&1
20836 then :
20837 ac_cv_cpp_def___x86_64__=yes
20838 else $as_nop
20839 ac_cv_cpp_def___x86_64__=no
20841 rm -rf conftest*
20844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20845 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20846 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20847 then :
20848 CFLAGS="$CFLAGS -D__x86_64__"
20849 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20850 fi ;;
20851 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20852 printf %s "checking whether we need to define __sparc64__... " >&6; }
20853 if test ${ac_cv_cpp_def___sparc64__+y}
20854 then :
20855 printf %s "(cached) " >&6
20856 else $as_nop
20857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20858 /* end confdefs.h. */
20859 #ifndef __sparc64__
20861 #endif
20862 _ACEOF
20863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20864 $EGREP "yes" >/dev/null 2>&1
20865 then :
20866 ac_cv_cpp_def___sparc64__=yes
20867 else $as_nop
20868 ac_cv_cpp_def___sparc64__=no
20870 rm -rf conftest*
20873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20874 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20875 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20876 then :
20877 CFLAGS="$CFLAGS -D__sparc64__"
20878 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20879 fi ;;
20880 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20881 printf %s "checking whether we need to define __sparc__... " >&6; }
20882 if test ${ac_cv_cpp_def___sparc__+y}
20883 then :
20884 printf %s "(cached) " >&6
20885 else $as_nop
20886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20887 /* end confdefs.h. */
20888 #ifndef __sparc__
20890 #endif
20891 _ACEOF
20892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20893 $EGREP "yes" >/dev/null 2>&1
20894 then :
20895 ac_cv_cpp_def___sparc__=yes
20896 else $as_nop
20897 ac_cv_cpp_def___sparc__=no
20899 rm -rf conftest*
20902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20903 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20904 if test "x$ac_cv_cpp_def___sparc__" = xyes
20905 then :
20906 CFLAGS="$CFLAGS -D__sparc__"
20907 LINTFLAGS="$LINTFLAGS -D__sparc__"
20908 fi ;;
20909 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20910 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20911 if test ${ac_cv_cpp_def___powerpc64__+y}
20912 then :
20913 printf %s "(cached) " >&6
20914 else $as_nop
20915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20916 /* end confdefs.h. */
20917 #ifndef __powerpc64__
20919 #endif
20920 _ACEOF
20921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20922 $EGREP "yes" >/dev/null 2>&1
20923 then :
20924 ac_cv_cpp_def___powerpc64__=yes
20925 else $as_nop
20926 ac_cv_cpp_def___powerpc64__=no
20928 rm -rf conftest*
20931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20932 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20933 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20934 then :
20935 CFLAGS="$CFLAGS -D__powerpc64__"
20936 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20937 fi ;;
20938 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20939 printf %s "checking whether we need to define __powerpc__... " >&6; }
20940 if test ${ac_cv_cpp_def___powerpc__+y}
20941 then :
20942 printf %s "(cached) " >&6
20943 else $as_nop
20944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20945 /* end confdefs.h. */
20946 #ifndef __powerpc__
20948 #endif
20949 _ACEOF
20950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20951 $EGREP "yes" >/dev/null 2>&1
20952 then :
20953 ac_cv_cpp_def___powerpc__=yes
20954 else $as_nop
20955 ac_cv_cpp_def___powerpc__=no
20957 rm -rf conftest*
20960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20961 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20962 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20963 then :
20964 CFLAGS="$CFLAGS -D__powerpc__"
20965 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20966 fi ;;
20967 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20968 printf %s "checking whether we need to define __aarch64__... " >&6; }
20969 if test ${ac_cv_cpp_def___aarch64__+y}
20970 then :
20971 printf %s "(cached) " >&6
20972 else $as_nop
20973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20974 /* end confdefs.h. */
20975 #ifndef __aarch64__
20977 #endif
20978 _ACEOF
20979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20980 $EGREP "yes" >/dev/null 2>&1
20981 then :
20982 ac_cv_cpp_def___aarch64__=yes
20983 else $as_nop
20984 ac_cv_cpp_def___aarch64__=no
20986 rm -rf conftest*
20989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20990 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20991 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20992 then :
20993 CFLAGS="$CFLAGS -D__aarch64__"
20994 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20995 fi ;;
20996 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20997 printf %s "checking whether we need to define __arm__... " >&6; }
20998 if test ${ac_cv_cpp_def___arm__+y}
20999 then :
21000 printf %s "(cached) " >&6
21001 else $as_nop
21002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21003 /* end confdefs.h. */
21004 #ifndef __arm__
21006 #endif
21007 _ACEOF
21008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21009 $EGREP "yes" >/dev/null 2>&1
21010 then :
21011 ac_cv_cpp_def___arm__=yes
21012 else $as_nop
21013 ac_cv_cpp_def___arm__=no
21015 rm -rf conftest*
21018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21019 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21020 if test "x$ac_cv_cpp_def___arm__" = xyes
21021 then :
21022 CFLAGS="$CFLAGS -D__arm__"
21023 LINTFLAGS="$LINTFLAGS -D__arm__"
21024 fi ;;
21025 esac
21027 case $host_vendor in
21028 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21029 printf %s "checking whether we need to define __sun__... " >&6; }
21030 if test ${ac_cv_cpp_def___sun__+y}
21031 then :
21032 printf %s "(cached) " >&6
21033 else $as_nop
21034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21035 /* end confdefs.h. */
21036 #ifndef __sun__
21038 #endif
21039 _ACEOF
21040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21041 $EGREP "yes" >/dev/null 2>&1
21042 then :
21043 ac_cv_cpp_def___sun__=yes
21044 else $as_nop
21045 ac_cv_cpp_def___sun__=no
21047 rm -rf conftest*
21050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21051 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21052 if test "x$ac_cv_cpp_def___sun__" = xyes
21053 then :
21054 CFLAGS="$CFLAGS -D__sun__"
21055 LINTFLAGS="$LINTFLAGS -D__sun__"
21056 fi ;;
21057 esac
21063 ac_config_commands="$ac_config_commands include/stamp-h"
21065 printf %s "creating Makefile rules..." >&6
21067 makedep_flags=""
21068 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21070 wine_srcdir=
21071 test "$srcdir" = . || wine_srcdir="$srcdir/"
21073 ac_config_links="$ac_config_links wine:tools/winewrapper"
21074 wine_fn_config_symlink wine
21075 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21076 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21077 wine_fn_config_symlink wine64
21080 wine_fn_config_makefile dlls/acledit enable_acledit
21081 wine_fn_config_makefile dlls/aclui enable_aclui
21082 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21083 wine_fn_config_makefile dlls/activeds enable_activeds
21084 wine_fn_config_makefile dlls/activeds/tests enable_tests
21085 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21086 wine_fn_config_makefile dlls/adsldp enable_adsldp
21087 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21088 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21089 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21090 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21091 wine_fn_config_makefile dlls/advpack enable_advpack
21092 wine_fn_config_makefile dlls/advpack/tests enable_tests
21093 wine_fn_config_makefile dlls/amsi enable_amsi
21094 wine_fn_config_makefile dlls/amstream enable_amstream
21095 wine_fn_config_makefile dlls/amstream/tests enable_tests
21096 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21097 wine_fn_config_makefile dlls/apphelp enable_apphelp
21098 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21099 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21100 wine_fn_config_makefile dlls/atl enable_atl
21101 wine_fn_config_makefile dlls/atl/tests enable_tests
21102 wine_fn_config_makefile dlls/atl100 enable_atl100
21103 wine_fn_config_makefile dlls/atl100/tests enable_tests
21104 wine_fn_config_makefile dlls/atl110 enable_atl110
21105 wine_fn_config_makefile dlls/atl80 enable_atl80
21106 wine_fn_config_makefile dlls/atl80/tests enable_tests
21107 wine_fn_config_makefile dlls/atl90 enable_atl90
21108 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21109 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21110 wine_fn_config_makefile dlls/atmlib enable_atmlib
21111 wine_fn_config_makefile dlls/authz enable_authz
21112 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21113 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21114 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21115 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21116 wine_fn_config_makefile dlls/avrt enable_avrt
21117 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21118 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21119 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21120 wine_fn_config_makefile dlls/browseui enable_browseui
21121 wine_fn_config_makefile dlls/browseui/tests enable_tests
21122 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21123 wine_fn_config_makefile dlls/cabinet enable_cabinet
21124 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21125 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21126 wine_fn_config_makefile dlls/cards enable_cards
21127 wine_fn_config_makefile dlls/cdosys enable_cdosys
21128 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21129 wine_fn_config_makefile dlls/clusapi enable_clusapi
21130 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21131 wine_fn_config_makefile dlls/combase enable_combase
21132 wine_fn_config_makefile dlls/combase/tests enable_tests
21133 wine_fn_config_makefile dlls/comcat enable_comcat
21134 wine_fn_config_makefile dlls/comcat/tests enable_tests
21135 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21136 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21137 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21138 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21139 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21140 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21141 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21142 wine_fn_config_makefile dlls/compstui enable_compstui
21143 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21144 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21145 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21146 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21147 wine_fn_config_makefile dlls/connect enable_connect
21148 wine_fn_config_makefile dlls/credui enable_credui
21149 wine_fn_config_makefile dlls/credui/tests enable_tests
21150 wine_fn_config_makefile dlls/crtdll enable_crtdll
21151 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21152 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21153 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21154 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21155 wine_fn_config_makefile dlls/cryptext enable_cryptext
21156 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21157 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21158 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21159 wine_fn_config_makefile dlls/cryptui enable_cryptui
21160 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21161 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21162 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21163 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21164 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21165 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21166 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21167 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21168 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21169 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21170 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21171 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21172 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21173 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21174 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21175 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21176 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21177 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21178 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21179 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21180 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21181 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21182 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21183 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21184 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21185 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21186 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21187 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21188 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21189 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21190 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21191 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21192 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21193 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21194 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21195 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21196 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21197 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21198 wine_fn_config_makefile dlls/d3dim enable_d3dim
21199 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21200 wine_fn_config_makefile dlls/d3drm enable_d3drm
21201 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21202 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21203 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21204 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21205 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21206 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21207 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21208 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21209 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21210 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21211 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21212 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21213 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21214 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21215 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21216 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21217 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21218 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21219 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21220 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21221 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21222 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21223 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21224 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21225 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21226 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21227 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21228 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21229 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21230 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21231 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21232 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21233 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21234 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21235 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21236 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21237 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21238 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21239 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21240 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21241 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21242 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21243 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21244 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21245 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21246 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21247 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21248 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21249 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21250 wine_fn_config_makefile dlls/davclnt enable_davclnt
21251 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21252 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21253 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21254 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21255 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21256 wine_fn_config_makefile dlls/dcomp enable_dcomp
21257 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21258 wine_fn_config_makefile dlls/ddraw enable_ddraw
21259 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21260 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21261 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21262 wine_fn_config_makefile dlls/devenum enable_devenum
21263 wine_fn_config_makefile dlls/devenum/tests enable_tests
21264 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21265 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21266 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21267 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21268 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21269 wine_fn_config_makefile dlls/difxapi enable_difxapi
21270 wine_fn_config_makefile dlls/dinput enable_dinput
21271 wine_fn_config_makefile dlls/dinput/tests enable_tests
21272 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21273 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21274 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21275 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21276 wine_fn_config_makefile dlls/dispex enable_dispex
21277 wine_fn_config_makefile dlls/dispex/tests enable_tests
21278 wine_fn_config_makefile dlls/display.drv16 enable_win16
21279 wine_fn_config_makefile dlls/dmband enable_dmband
21280 wine_fn_config_makefile dlls/dmband/tests enable_tests
21281 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21282 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21283 wine_fn_config_makefile dlls/dmime enable_dmime
21284 wine_fn_config_makefile dlls/dmime/tests enable_tests
21285 wine_fn_config_makefile dlls/dmloader enable_dmloader
21286 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21287 wine_fn_config_makefile dlls/dmscript enable_dmscript
21288 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21289 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21290 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21291 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21292 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21293 wine_fn_config_makefile dlls/dmusic enable_dmusic
21294 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21295 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21296 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21297 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21298 wine_fn_config_makefile dlls/dplay enable_dplay
21299 wine_fn_config_makefile dlls/dplayx enable_dplayx
21300 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21301 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21302 wine_fn_config_makefile dlls/dpnet enable_dpnet
21303 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21304 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21305 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21306 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21307 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21308 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21309 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21310 wine_fn_config_makefile dlls/drmclien enable_drmclien
21311 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21312 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21313 wine_fn_config_makefile dlls/dsound enable_dsound
21314 wine_fn_config_makefile dlls/dsound/tests enable_tests
21315 wine_fn_config_makefile dlls/dsquery enable_dsquery
21316 wine_fn_config_makefile dlls/dssenh enable_dssenh
21317 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21318 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21319 wine_fn_config_makefile dlls/dswave enable_dswave
21320 wine_fn_config_makefile dlls/dswave/tests enable_tests
21321 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21322 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21323 wine_fn_config_makefile dlls/dwrite enable_dwrite
21324 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21325 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21326 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21327 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21328 wine_fn_config_makefile dlls/dxgi enable_dxgi
21329 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21330 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21331 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21332 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21333 wine_fn_config_makefile dlls/esent enable_esent
21334 wine_fn_config_makefile dlls/evr enable_evr
21335 wine_fn_config_makefile dlls/evr/tests enable_tests
21336 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21337 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21338 wine_fn_config_makefile dlls/faultrep enable_faultrep
21339 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21340 wine_fn_config_makefile dlls/feclient enable_feclient
21341 wine_fn_config_makefile dlls/fltlib enable_fltlib
21342 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21343 wine_fn_config_makefile dlls/fntcache enable_fntcache
21344 wine_fn_config_makefile dlls/fontsub enable_fontsub
21345 wine_fn_config_makefile dlls/fusion enable_fusion
21346 wine_fn_config_makefile dlls/fusion/tests enable_tests
21347 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21348 wine_fn_config_makefile dlls/gameux enable_gameux
21349 wine_fn_config_makefile dlls/gameux/tests enable_tests
21350 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21351 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21352 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21353 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21354 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21355 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21356 wine_fn_config_makefile dlls/glu32 enable_glu32
21357 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21358 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21359 wine_fn_config_makefile dlls/hal enable_hal
21360 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21361 wine_fn_config_makefile dlls/hid enable_hid
21362 wine_fn_config_makefile dlls/hid/tests enable_tests
21363 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21364 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21365 wine_fn_config_makefile dlls/hlink enable_hlink
21366 wine_fn_config_makefile dlls/hlink/tests enable_tests
21367 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21368 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21369 wine_fn_config_makefile dlls/http.sys enable_http_sys
21370 wine_fn_config_makefile dlls/httpapi enable_httpapi
21371 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21372 wine_fn_config_makefile dlls/iccvid enable_iccvid
21373 wine_fn_config_makefile dlls/icmp enable_icmp
21374 wine_fn_config_makefile dlls/ieframe enable_ieframe
21375 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21376 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21377 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21378 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21379 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21380 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21381 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21382 wine_fn_config_makefile dlls/imm32 enable_imm32
21383 wine_fn_config_makefile dlls/imm32/tests enable_tests
21384 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21385 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21386 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21387 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21388 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21389 wine_fn_config_makefile dlls/infosoft enable_infosoft
21390 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21391 wine_fn_config_makefile dlls/initpki enable_initpki
21392 wine_fn_config_makefile dlls/inkobj enable_inkobj
21393 wine_fn_config_makefile dlls/inseng enable_inseng
21394 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21395 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21396 wine_fn_config_makefile dlls/iprop enable_iprop
21397 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21398 wine_fn_config_makefile dlls/itircl enable_itircl
21399 wine_fn_config_makefile dlls/itss enable_itss
21400 wine_fn_config_makefile dlls/itss/tests enable_tests
21401 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21402 wine_fn_config_makefile dlls/jscript enable_jscript
21403 wine_fn_config_makefile dlls/jscript/tests enable_tests
21404 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21405 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21406 wine_fn_config_makefile dlls/kerberos enable_kerberos
21407 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21408 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21409 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21410 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21411 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21412 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21413 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21414 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21415 wine_fn_config_makefile dlls/ksuser enable_ksuser
21416 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21417 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21418 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21419 wine_fn_config_makefile dlls/loadperf enable_loadperf
21420 wine_fn_config_makefile dlls/localspl enable_localspl
21421 wine_fn_config_makefile dlls/localspl/tests enable_tests
21422 wine_fn_config_makefile dlls/localui enable_localui
21423 wine_fn_config_makefile dlls/localui/tests enable_tests
21424 wine_fn_config_makefile dlls/lz32 enable_lz32
21425 wine_fn_config_makefile dlls/lz32/tests enable_tests
21426 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21427 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21428 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21429 wine_fn_config_makefile dlls/mapistub enable_mapistub
21430 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21431 wine_fn_config_makefile dlls/mcicda enable_mcicda
21432 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21433 wine_fn_config_makefile dlls/mciseq enable_mciseq
21434 wine_fn_config_makefile dlls/mciwave enable_mciwave
21435 wine_fn_config_makefile dlls/mf enable_mf
21436 wine_fn_config_makefile dlls/mf/tests enable_tests
21437 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21438 wine_fn_config_makefile dlls/mferror enable_mferror
21439 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21440 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21441 wine_fn_config_makefile dlls/mfplat enable_mfplat
21442 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21443 wine_fn_config_makefile dlls/mfplay enable_mfplay
21444 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21445 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21446 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21447 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21448 wine_fn_config_makefile dlls/midimap enable_midimap
21449 wine_fn_config_makefile dlls/mlang enable_mlang
21450 wine_fn_config_makefile dlls/mlang/tests enable_tests
21451 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21452 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21453 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21454 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21455 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21456 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21457 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21458 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21459 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21460 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21461 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21462 wine_fn_config_makefile dlls/mpr enable_mpr
21463 wine_fn_config_makefile dlls/mpr/tests enable_tests
21464 wine_fn_config_makefile dlls/mprapi enable_mprapi
21465 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21466 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21467 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21468 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21469 wine_fn_config_makefile dlls/msado15 enable_msado15
21470 wine_fn_config_makefile dlls/msado15/tests enable_tests
21471 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21472 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21473 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21474 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21475 wine_fn_config_makefile dlls/mscms enable_mscms
21476 wine_fn_config_makefile dlls/mscms/tests enable_tests
21477 wine_fn_config_makefile dlls/mscoree enable_mscoree
21478 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21479 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21480 wine_fn_config_makefile dlls/msctf enable_msctf
21481 wine_fn_config_makefile dlls/msctf/tests enable_tests
21482 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21483 wine_fn_config_makefile dlls/msctfp enable_msctfp
21484 wine_fn_config_makefile dlls/msdaps enable_msdaps
21485 wine_fn_config_makefile dlls/msdasql enable_msdasql
21486 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21487 wine_fn_config_makefile dlls/msdelta enable_msdelta
21488 wine_fn_config_makefile dlls/msdmo enable_msdmo
21489 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21490 wine_fn_config_makefile dlls/msdrm enable_msdrm
21491 wine_fn_config_makefile dlls/msftedit enable_msftedit
21492 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21493 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21494 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21495 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21496 wine_fn_config_makefile dlls/mshtml enable_mshtml
21497 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21498 wine_fn_config_makefile dlls/msi enable_msi
21499 wine_fn_config_makefile dlls/msi/tests enable_tests
21500 wine_fn_config_makefile dlls/msident enable_msident
21501 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21502 wine_fn_config_makefile dlls/msimsg enable_msimsg
21503 wine_fn_config_makefile dlls/msimtf enable_msimtf
21504 wine_fn_config_makefile dlls/msisip enable_msisip
21505 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21506 wine_fn_config_makefile dlls/msls31 enable_msls31
21507 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21508 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21509 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21510 wine_fn_config_makefile dlls/msports enable_msports
21511 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21512 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21513 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21514 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21515 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21516 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21517 wine_fn_config_makefile dlls/mstask enable_mstask
21518 wine_fn_config_makefile dlls/mstask/tests enable_tests
21519 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21520 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21521 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21522 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21523 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21524 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21525 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21526 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21527 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21528 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21529 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21530 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21531 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21532 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21533 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21534 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21535 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21536 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21537 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21538 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21539 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21540 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21541 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21542 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21543 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21544 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21545 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21546 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21547 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21548 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21549 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21550 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21551 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21552 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21553 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21554 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21555 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21556 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21557 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21558 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21559 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21560 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21561 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21562 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21563 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21564 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21565 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21566 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21567 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21568 wine_fn_config_makefile dlls/mswsock enable_mswsock
21569 wine_fn_config_makefile dlls/msxml enable_msxml
21570 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21571 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21572 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21573 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21574 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21575 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21576 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21577 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21578 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21579 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21580 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21581 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21582 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21583 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21584 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21585 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21586 wine_fn_config_makefile dlls/netprofm enable_netprofm
21587 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21588 wine_fn_config_makefile dlls/netutils enable_netutils
21589 wine_fn_config_makefile dlls/newdev enable_newdev
21590 wine_fn_config_makefile dlls/ninput enable_ninput
21591 wine_fn_config_makefile dlls/ninput/tests enable_tests
21592 wine_fn_config_makefile dlls/normaliz enable_normaliz
21593 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21594 wine_fn_config_makefile dlls/npptools enable_npptools
21595 wine_fn_config_makefile dlls/nsi enable_nsi
21596 wine_fn_config_makefile dlls/nsi/tests enable_tests
21597 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21598 wine_fn_config_makefile dlls/ntdll enable_ntdll
21599 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21600 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21601 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21602 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21603 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21604 wine_fn_config_makefile dlls/ntprint enable_ntprint
21605 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21606 wine_fn_config_makefile dlls/objsel enable_objsel
21607 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21608 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21609 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21610 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21611 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21612 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21613 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21614 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21615 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21616 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21617 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21618 wine_fn_config_makefile dlls/ole32 enable_ole32
21619 wine_fn_config_makefile dlls/ole32/tests enable_tests
21620 wine_fn_config_makefile dlls/oleacc enable_oleacc
21621 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21622 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21623 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21624 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21625 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21626 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21627 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21628 wine_fn_config_makefile dlls/oledlg enable_oledlg
21629 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21630 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21631 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21632 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21633 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21634 wine_fn_config_makefile dlls/opcservices enable_opcservices
21635 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21636 wine_fn_config_makefile dlls/openal32 enable_openal32
21637 wine_fn_config_makefile dlls/opencl enable_opencl
21638 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21639 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21640 wine_fn_config_makefile dlls/packager enable_packager
21641 wine_fn_config_makefile dlls/packager/tests enable_tests
21642 wine_fn_config_makefile dlls/pdh enable_pdh
21643 wine_fn_config_makefile dlls/pdh/tests enable_tests
21644 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21645 wine_fn_config_makefile dlls/pidgen enable_pidgen
21646 wine_fn_config_makefile dlls/powrprof enable_powrprof
21647 wine_fn_config_makefile dlls/printui enable_printui
21648 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21649 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21650 wine_fn_config_makefile dlls/propsys enable_propsys
21651 wine_fn_config_makefile dlls/propsys/tests enable_tests
21652 wine_fn_config_makefile dlls/psapi enable_psapi
21653 wine_fn_config_makefile dlls/psapi/tests enable_tests
21654 wine_fn_config_makefile dlls/pstorec enable_pstorec
21655 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21656 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21657 wine_fn_config_makefile dlls/qasf enable_qasf
21658 wine_fn_config_makefile dlls/qasf/tests enable_tests
21659 wine_fn_config_makefile dlls/qcap enable_qcap
21660 wine_fn_config_makefile dlls/qcap/tests enable_tests
21661 wine_fn_config_makefile dlls/qdvd enable_qdvd
21662 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21663 wine_fn_config_makefile dlls/qedit enable_qedit
21664 wine_fn_config_makefile dlls/qedit/tests enable_tests
21665 wine_fn_config_makefile dlls/qmgr enable_qmgr
21666 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21667 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21668 wine_fn_config_makefile dlls/quartz enable_quartz
21669 wine_fn_config_makefile dlls/quartz/tests enable_tests
21670 wine_fn_config_makefile dlls/query enable_query
21671 wine_fn_config_makefile dlls/qwave enable_qwave
21672 wine_fn_config_makefile dlls/qwave/tests enable_tests
21673 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21674 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21675 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21676 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21677 wine_fn_config_makefile dlls/regapi enable_regapi
21678 wine_fn_config_makefile dlls/resutils enable_resutils
21679 wine_fn_config_makefile dlls/riched20 enable_riched20
21680 wine_fn_config_makefile dlls/riched20/tests enable_tests
21681 wine_fn_config_makefile dlls/riched32 enable_riched32
21682 wine_fn_config_makefile dlls/riched32/tests enable_tests
21683 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21684 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21685 wine_fn_config_makefile dlls/rsabase enable_rsabase
21686 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21687 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21688 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21689 wine_fn_config_makefile dlls/rtutils enable_rtutils
21690 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21691 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21692 wine_fn_config_makefile dlls/samlib enable_samlib
21693 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21694 wine_fn_config_makefile dlls/sapi enable_sapi
21695 wine_fn_config_makefile dlls/sapi/tests enable_tests
21696 wine_fn_config_makefile dlls/sas enable_sas
21697 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21698 wine_fn_config_makefile dlls/sccbase enable_sccbase
21699 wine_fn_config_makefile dlls/schannel enable_schannel
21700 wine_fn_config_makefile dlls/schannel/tests enable_tests
21701 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21702 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21703 wine_fn_config_makefile dlls/scrobj enable_scrobj
21704 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21705 wine_fn_config_makefile dlls/scrrun enable_scrrun
21706 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21707 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21708 wine_fn_config_makefile dlls/sechost enable_sechost
21709 wine_fn_config_makefile dlls/secur32 enable_secur32
21710 wine_fn_config_makefile dlls/secur32/tests enable_tests
21711 wine_fn_config_makefile dlls/security enable_security
21712 wine_fn_config_makefile dlls/sensapi enable_sensapi
21713 wine_fn_config_makefile dlls/serialui enable_serialui
21714 wine_fn_config_makefile dlls/serialui/tests enable_tests
21715 wine_fn_config_makefile dlls/setupapi enable_setupapi
21716 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21717 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21718 wine_fn_config_makefile dlls/sfc enable_sfc
21719 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21720 wine_fn_config_makefile dlls/shcore enable_shcore
21721 wine_fn_config_makefile dlls/shcore/tests enable_tests
21722 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21723 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21724 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21725 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21726 wine_fn_config_makefile dlls/shell32 enable_shell32
21727 wine_fn_config_makefile dlls/shell32/tests enable_tests
21728 wine_fn_config_makefile dlls/shfolder enable_shfolder
21729 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21730 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21731 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21732 wine_fn_config_makefile dlls/slc enable_slc
21733 wine_fn_config_makefile dlls/slc/tests enable_tests
21734 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21735 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21736 wine_fn_config_makefile dlls/softpub enable_softpub
21737 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21738 wine_fn_config_makefile dlls/spoolss enable_spoolss
21739 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21740 wine_fn_config_makefile dlls/sppc enable_sppc
21741 wine_fn_config_makefile dlls/srclient enable_srclient
21742 wine_fn_config_makefile dlls/srvcli enable_srvcli
21743 wine_fn_config_makefile dlls/sspicli enable_sspicli
21744 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21745 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21746 wine_fn_config_makefile dlls/sti enable_sti
21747 wine_fn_config_makefile dlls/sti/tests enable_tests
21748 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21749 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21750 wine_fn_config_makefile dlls/strmdll enable_strmdll
21751 wine_fn_config_makefile dlls/svrapi enable_svrapi
21752 wine_fn_config_makefile dlls/sxs enable_sxs
21753 wine_fn_config_makefile dlls/sxs/tests enable_tests
21754 wine_fn_config_makefile dlls/system.drv16 enable_win16
21755 wine_fn_config_makefile dlls/t2embed enable_t2embed
21756 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21757 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21758 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21759 wine_fn_config_makefile dlls/taskschd enable_taskschd
21760 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21761 wine_fn_config_makefile dlls/tbs enable_tbs
21762 wine_fn_config_makefile dlls/tdh enable_tdh
21763 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21764 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21765 wine_fn_config_makefile dlls/traffic enable_traffic
21766 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21767 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21768 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21769 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21770 wine_fn_config_makefile dlls/tzres enable_tzres
21771 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21772 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21773 wine_fn_config_makefile dlls/uianimation enable_uianimation
21774 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21775 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21776 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21777 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21778 wine_fn_config_makefile dlls/unicows enable_unicows
21779 wine_fn_config_makefile dlls/updspapi enable_updspapi
21780 wine_fn_config_makefile dlls/url enable_url
21781 wine_fn_config_makefile dlls/urlmon enable_urlmon
21782 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21783 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21784 wine_fn_config_makefile dlls/user.exe16 enable_win16
21785 wine_fn_config_makefile dlls/user32 enable_user32
21786 wine_fn_config_makefile dlls/user32/tests enable_tests
21787 wine_fn_config_makefile dlls/userenv enable_userenv
21788 wine_fn_config_makefile dlls/userenv/tests enable_tests
21789 wine_fn_config_makefile dlls/usp10 enable_usp10
21790 wine_fn_config_makefile dlls/usp10/tests enable_tests
21791 wine_fn_config_makefile dlls/utildll enable_utildll
21792 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21793 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21794 wine_fn_config_makefile dlls/vbscript enable_vbscript
21795 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21796 wine_fn_config_makefile dlls/vcomp enable_vcomp
21797 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21798 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21799 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21800 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21801 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21802 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21803 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21804 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21805 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21806 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21807 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21808 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21809 wine_fn_config_makefile dlls/version enable_version
21810 wine_fn_config_makefile dlls/version/tests enable_tests
21811 wine_fn_config_makefile dlls/vga enable_vga
21812 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21813 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21814 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21815 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21816 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21817 wine_fn_config_makefile dlls/vssapi enable_vssapi
21818 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21819 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21820 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21821 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21822 wine_fn_config_makefile dlls/w32skrnl enable_win16
21823 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21824 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21825 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21826 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21827 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21828 wine_fn_config_makefile dlls/wdscore enable_wdscore
21829 wine_fn_config_makefile dlls/webservices enable_webservices
21830 wine_fn_config_makefile dlls/webservices/tests enable_tests
21831 wine_fn_config_makefile dlls/websocket enable_websocket
21832 wine_fn_config_makefile dlls/wer enable_wer
21833 wine_fn_config_makefile dlls/wer/tests enable_tests
21834 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21835 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21836 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21837 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21838 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21839 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21840 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21841 wine_fn_config_makefile dlls/win32u enable_win32u
21842 wine_fn_config_makefile dlls/win32u/tests enable_tests
21843 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21844 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21845 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21846 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21847 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21848 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21849 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21850 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21851 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21852 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21853 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21854 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21855 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21856 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21857 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21858 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21859 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21860 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21861 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21862 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21863 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21864 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21865 wine_fn_config_makefile dlls/wined3d enable_wined3d
21866 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21867 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21868 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21869 wine_fn_config_makefile dlls/winemapi enable_winemapi
21870 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21871 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21872 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21873 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21874 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21875 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21876 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21877 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21878 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21879 wine_fn_config_makefile dlls/wing32 enable_wing32
21880 wine_fn_config_makefile dlls/winhttp enable_winhttp
21881 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21882 wine_fn_config_makefile dlls/wininet enable_wininet
21883 wine_fn_config_makefile dlls/wininet/tests enable_tests
21884 wine_fn_config_makefile dlls/winmm enable_winmm
21885 wine_fn_config_makefile dlls/winmm/tests enable_tests
21886 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21887 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21888 wine_fn_config_makefile dlls/winscard enable_winscard
21889 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21890 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21891 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21892 wine_fn_config_makefile dlls/winsta enable_winsta
21893 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21894 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21895 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21896 wine_fn_config_makefile dlls/wintrust enable_wintrust
21897 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21898 wine_fn_config_makefile dlls/wintypes enable_wintypes
21899 wine_fn_config_makefile dlls/winusb enable_winusb
21900 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21901 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21902 wine_fn_config_makefile dlls/wlanui enable_wlanui
21903 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21904 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21905 wine_fn_config_makefile dlls/wmadmod enable_wmadmod
21906 wine_fn_config_makefile dlls/wmadmod/tests enable_tests
21907 wine_fn_config_makefile dlls/wmasf enable_wmasf
21908 wine_fn_config_makefile dlls/wmi enable_wmi
21909 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21910 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21911 wine_fn_config_makefile dlls/wmp enable_wmp
21912 wine_fn_config_makefile dlls/wmp/tests enable_tests
21913 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21914 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21915 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21916 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21917 wine_fn_config_makefile dlls/wow32 enable_win16
21918 wine_fn_config_makefile dlls/wow64 enable_wow64
21919 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21920 wine_fn_config_makefile dlls/wow64win enable_wow64win
21921 wine_fn_config_makefile dlls/wpc enable_wpc
21922 wine_fn_config_makefile dlls/wpc/tests enable_tests
21923 wine_fn_config_makefile dlls/wpcap enable_wpcap
21924 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21925 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21926 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21927 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21928 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21929 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21930 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21931 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21932 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21933 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21934 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21935 wine_fn_config_makefile dlls/wuapi enable_wuapi
21936 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21937 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21938 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21939 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21940 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21941 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21942 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21943 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21944 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21945 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21946 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21947 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21948 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21949 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21950 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21951 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21952 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21953 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21954 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21955 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21956 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21957 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21958 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21959 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21960 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21961 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21962 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21963 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21964 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21965 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21966 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21967 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21968 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21969 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21970 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21971 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21972 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21973 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21974 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21975 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21976 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21977 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21978 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21979 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21980 wine_fn_config_makefile dlls/xmllite enable_xmllite
21981 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21982 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21983 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21984 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21985 wine_fn_config_makefile fonts enable_fonts
21986 wine_fn_config_makefile include enable_include
21987 wine_fn_config_makefile libs/adsiid enable_adsiid
21988 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21989 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21990 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21991 wine_fn_config_makefile libs/dxguid enable_dxguid
21992 wine_fn_config_makefile libs/faudio enable_faudio
21993 wine_fn_config_makefile libs/gsm enable_gsm
21994 wine_fn_config_makefile libs/jpeg enable_jpeg
21995 wine_fn_config_makefile libs/jxr enable_jxr
21996 wine_fn_config_makefile libs/lcms2 enable_lcms2
21997 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21998 wine_fn_config_makefile libs/mpg123 enable_mpg123
21999 wine_fn_config_makefile libs/png enable_png
22000 wine_fn_config_makefile libs/strmbase enable_strmbase
22001 wine_fn_config_makefile libs/strmiids enable_strmiids
22002 wine_fn_config_makefile libs/tiff enable_tiff
22003 wine_fn_config_makefile libs/uuid enable_uuid
22004 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22005 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22006 wine_fn_config_makefile libs/wine enable_wine
22007 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22008 wine_fn_config_makefile libs/xml2 enable_xml2
22009 wine_fn_config_makefile libs/xslt enable_xslt
22010 wine_fn_config_makefile libs/zlib enable_zlib
22011 wine_fn_config_makefile loader enable_loader
22012 wine_fn_config_makefile nls enable_nls
22013 wine_fn_config_makefile po enable_po
22014 wine_fn_config_makefile programs/arp enable_arp
22015 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22016 wine_fn_config_makefile programs/attrib enable_attrib
22017 wine_fn_config_makefile programs/cabarc enable_cabarc
22018 wine_fn_config_makefile programs/cacls enable_cacls
22019 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22020 wine_fn_config_makefile programs/clock enable_clock
22021 wine_fn_config_makefile programs/cmd enable_cmd
22022 wine_fn_config_makefile programs/cmd/tests enable_tests
22023 wine_fn_config_makefile programs/conhost enable_conhost
22024 wine_fn_config_makefile programs/conhost/tests enable_tests
22025 wine_fn_config_makefile programs/control enable_control
22026 wine_fn_config_makefile programs/cscript enable_cscript
22027 wine_fn_config_makefile programs/dism enable_dism
22028 wine_fn_config_makefile programs/dllhost enable_dllhost
22029 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22030 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22031 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22032 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22033 wine_fn_config_makefile programs/eject enable_eject
22034 wine_fn_config_makefile programs/expand enable_expand
22035 wine_fn_config_makefile programs/explorer enable_explorer
22036 wine_fn_config_makefile programs/extrac32 enable_extrac32
22037 wine_fn_config_makefile programs/fc enable_fc
22038 wine_fn_config_makefile programs/find enable_find
22039 wine_fn_config_makefile programs/find/tests enable_tests
22040 wine_fn_config_makefile programs/findstr enable_findstr
22041 wine_fn_config_makefile programs/fsutil enable_fsutil
22042 wine_fn_config_makefile programs/fsutil/tests enable_tests
22043 wine_fn_config_makefile programs/hh enable_hh
22044 wine_fn_config_makefile programs/hostname enable_hostname
22045 wine_fn_config_makefile programs/icacls enable_icacls
22046 wine_fn_config_makefile programs/icinfo enable_icinfo
22047 wine_fn_config_makefile programs/iexplore enable_iexplore
22048 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22049 wine_fn_config_makefile programs/lodctr enable_lodctr
22050 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22051 wine_fn_config_makefile programs/mshta enable_mshta
22052 wine_fn_config_makefile programs/msidb enable_msidb
22053 wine_fn_config_makefile programs/msiexec enable_msiexec
22054 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22055 wine_fn_config_makefile programs/net enable_net
22056 wine_fn_config_makefile programs/netsh enable_netsh
22057 wine_fn_config_makefile programs/netstat enable_netstat
22058 wine_fn_config_makefile programs/ngen enable_ngen
22059 wine_fn_config_makefile programs/notepad enable_notepad
22060 wine_fn_config_makefile programs/oleview enable_oleview
22061 wine_fn_config_makefile programs/ping enable_ping
22062 wine_fn_config_makefile programs/plugplay enable_plugplay
22063 wine_fn_config_makefile programs/powershell enable_powershell
22064 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22065 wine_fn_config_makefile programs/progman enable_progman
22066 wine_fn_config_makefile programs/reg enable_reg
22067 wine_fn_config_makefile programs/reg/tests enable_tests
22068 wine_fn_config_makefile programs/regasm enable_regasm
22069 wine_fn_config_makefile programs/regedit enable_regedit
22070 wine_fn_config_makefile programs/regedit/tests enable_tests
22071 wine_fn_config_makefile programs/regini enable_regini
22072 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22073 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22074 wine_fn_config_makefile programs/robocopy enable_robocopy
22075 wine_fn_config_makefile programs/rpcss enable_rpcss
22076 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22077 wine_fn_config_makefile programs/rundll32 enable_rundll32
22078 wine_fn_config_makefile programs/sc enable_sc
22079 wine_fn_config_makefile programs/schtasks enable_schtasks
22080 wine_fn_config_makefile programs/schtasks/tests enable_tests
22081 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22082 wine_fn_config_makefile programs/secedit enable_secedit
22083 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22084 wine_fn_config_makefile programs/services enable_services
22085 wine_fn_config_makefile programs/services/tests enable_tests
22086 wine_fn_config_makefile programs/shutdown enable_shutdown
22087 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22088 wine_fn_config_makefile programs/start enable_start
22089 wine_fn_config_makefile programs/subst enable_subst
22090 wine_fn_config_makefile programs/svchost enable_svchost
22091 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22092 wine_fn_config_makefile programs/taskkill enable_taskkill
22093 wine_fn_config_makefile programs/tasklist enable_tasklist
22094 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22095 wine_fn_config_makefile programs/termsv enable_termsv
22096 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22097 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22098 wine_fn_config_makefile programs/view enable_view
22099 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22100 wine_fn_config_makefile programs/where enable_where
22101 wine_fn_config_makefile programs/whoami enable_whoami
22102 wine_fn_config_makefile programs/wineboot enable_wineboot
22103 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22104 wine_fn_config_makefile programs/winecfg enable_winecfg
22105 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22106 wine_fn_config_makefile programs/winedbg enable_winedbg
22107 wine_fn_config_makefile programs/winedevice enable_winedevice
22108 wine_fn_config_makefile programs/winefile enable_winefile
22109 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22110 wine_fn_config_makefile programs/winemine enable_winemine
22111 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22112 wine_fn_config_makefile programs/winepath enable_winepath
22113 wine_fn_config_makefile programs/winetest enable_winetest
22114 wine_fn_config_makefile programs/winevdm enable_win16
22115 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22116 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22117 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22118 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22119 wine_fn_config_makefile programs/winver enable_winver
22120 wine_fn_config_makefile programs/wmic enable_wmic
22121 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22122 wine_fn_config_makefile programs/wordpad enable_wordpad
22123 wine_fn_config_makefile programs/write enable_write
22124 wine_fn_config_makefile programs/wscript enable_wscript
22125 wine_fn_config_makefile programs/wscript/tests enable_tests
22126 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22127 wine_fn_config_makefile programs/wusa enable_wusa
22128 wine_fn_config_makefile programs/xcopy enable_xcopy
22129 wine_fn_config_makefile programs/xcopy/tests enable_tests
22130 wine_fn_config_makefile server enable_server
22131 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22132 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22133 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22134 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22135 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22136 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22137 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22138 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22139 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22142 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22143 wine_fn_append_file CONFIGURE_TARGETS "tags"
22144 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22145 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22146 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22147 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22148 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22149 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22151 if test "x$enable_tools" != xno
22152 then
22153 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22154 ac_config_commands="$ac_config_commands tools/makedep"
22158 ac_config_commands="$ac_config_commands Makefile"
22162 SHELL=/bin/sh
22165 wine_fn_append_rule "all: wine
22166 @echo \"Wine build complete.\"
22167 .INIT: Makefile
22168 .MAKEFILEDEPS:
22169 all: Makefile
22170 Makefile: config.status \$(MAKEDEP)
22171 @./config.status Makefile
22172 depend: \$(MAKEDEP)
22173 \$(MAKEDEP)$makedep_flags"
22176 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22177 @./config.status --recheck
22178 include/config.h: include/stamp-h
22179 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22180 @./config.status include/config.h include/stamp-h"
22182 if test "x$enable_maintainer_mode" = xyes
22183 then
22184 wine_fn_append_rule "configure: configure.ac aclocal.m4
22185 autoconf --warnings=all
22186 include/config.h.in: include/stamp-h.in
22187 include/stamp-h.in: configure.ac aclocal.m4
22188 autoheader --warnings=all
22189 @echo timestamp > \$@"
22192 if test "x$enable_tools" != xno
22193 then
22194 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22195 @./config.status tools/makedep
22196 Makefile: tools/makedep$ac_exeext"
22197 else
22198 wine_fn_append_rule "\$(MAKEDEP):
22199 @echo \"You need to run make in $toolsdir first\" && false"
22203 if test -n "$with_wine64"
22204 then
22205 case "$with_wine64" in
22206 /*) reldir="" ;;
22207 *) reldir="../" ;;
22208 esac
22209 rm -f fonts server 2>/dev/null
22210 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22211 loader/wine64 loader/wine64-preloader:
22212 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22213 $with_wine64/loader/wine:
22214 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22215 $with_wine64/loader/wine-preloader:
22216 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22217 clean::
22218 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22219 else
22220 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22221 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22222 fonts \
22223 loader/wine.inf \
22224 nls \
22225 programs/msidb/msidb \
22226 programs/msiexec/msiexec \
22227 programs/notepad/notepad \
22228 programs/regedit/regedit \
22229 programs/regsvr32/regsvr32 \
22230 programs/wineboot/wineboot \
22231 programs/winecfg/winecfg \
22232 programs/wineconsole/wineconsole \
22233 programs/winedbg/winedbg \
22234 programs/winefile/winefile \
22235 programs/winemine/winemine \
22236 programs/winepath/winepath \
22237 server/wineserver"
22239 case $host_os in
22240 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22241 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22242 esac
22246 wine_fn_append_rule "distclean:: clean
22247 rm -rf autom4te.cache
22248 maintainer-clean::
22249 rm -f configure include/config.h.in"
22252 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22253 @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)
22254 programs/winetest/build.rc: dummy
22255 @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)
22256 programs/winetest/build.nfo:
22257 @-\$(CC) -v 2>\$@
22258 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
22259 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22260 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22263 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22265 wine_fn_append_rule "TAGS etags:
22266 rm -f TAGS
22267 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22268 tags ctags:
22269 rm -f tags
22270 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22271 dummy:
22272 .PHONY: depend dummy install-manpages"
22274 printf "%s\n" " done" >&6
22275 cat >confcache <<\_ACEOF
22276 # This file is a shell script that caches the results of configure
22277 # tests run on this system so they can be shared between configure
22278 # scripts and configure runs, see configure's option --config-cache.
22279 # It is not useful on other systems. If it contains results you don't
22280 # want to keep, you may remove or edit it.
22282 # config.status only pays attention to the cache file if you give it
22283 # the --recheck option to rerun configure.
22285 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22286 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22287 # following values.
22289 _ACEOF
22291 # The following way of writing the cache mishandles newlines in values,
22292 # but we know of no workaround that is simple, portable, and efficient.
22293 # So, we kill variables containing newlines.
22294 # Ultrix sh set writes to stderr and can't be redirected directly,
22295 # and sets the high bit in the cache file unless we assign to the vars.
22297 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22298 eval ac_val=\$$ac_var
22299 case $ac_val in #(
22300 *${as_nl}*)
22301 case $ac_var in #(
22302 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22303 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22304 esac
22305 case $ac_var in #(
22306 _ | IFS | as_nl) ;; #(
22307 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22308 *) { eval $ac_var=; unset $ac_var;} ;;
22309 esac ;;
22310 esac
22311 done
22313 (set) 2>&1 |
22314 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22315 *${as_nl}ac_space=\ *)
22316 # `set' does not quote correctly, so add quotes: double-quote
22317 # substitution turns \\\\ into \\, and sed turns \\ into \.
22318 sed -n \
22319 "s/'/'\\\\''/g;
22320 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22321 ;; #(
22323 # `set' quotes correctly as required by POSIX, so do not add quotes.
22324 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22326 esac |
22327 sort
22329 sed '
22330 /^ac_cv_env_/b end
22331 t clear
22332 :clear
22333 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22334 t end
22335 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22336 :end' >>confcache
22337 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22338 if test -w "$cache_file"; then
22339 if test "x$cache_file" != "x/dev/null"; then
22340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22341 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22342 if test ! -f "$cache_file" || test -h "$cache_file"; then
22343 cat confcache >"$cache_file"
22344 else
22345 case $cache_file in #(
22346 */* | ?:*)
22347 mv -f confcache "$cache_file"$$ &&
22348 mv -f "$cache_file"$$ "$cache_file" ;; #(
22350 mv -f confcache "$cache_file" ;;
22351 esac
22354 else
22355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22356 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22359 rm -f confcache
22361 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22362 # Let make expand exec_prefix.
22363 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22365 DEFS=-DHAVE_CONFIG_H
22367 ac_libobjs=
22368 ac_ltlibobjs=
22370 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22371 # 1. Remove the extension, and $U if already installed.
22372 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22373 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22374 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22375 # will be set to the directory where LIBOBJS objects are built.
22376 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22377 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22378 done
22379 LIBOBJS=$ac_libobjs
22381 LTLIBOBJS=$ac_ltlibobjs
22385 : "${CONFIG_STATUS=./config.status}"
22386 ac_write_fail=0
22387 ac_clean_files_save=$ac_clean_files
22388 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22390 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22391 as_write_fail=0
22392 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22393 #! $SHELL
22394 # Generated by $as_me.
22395 # Run this file to recreate the current configuration.
22396 # Compiler output produced by configure, useful for debugging
22397 # configure, is in config.log if it exists.
22399 debug=false
22400 ac_cs_recheck=false
22401 ac_cs_silent=false
22403 SHELL=\${CONFIG_SHELL-$SHELL}
22404 export SHELL
22405 _ASEOF
22406 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22407 ## -------------------- ##
22408 ## M4sh Initialization. ##
22409 ## -------------------- ##
22411 # Be more Bourne compatible
22412 DUALCASE=1; export DUALCASE # for MKS sh
22413 as_nop=:
22414 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22415 then :
22416 emulate sh
22417 NULLCMD=:
22418 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22419 # is contrary to our usage. Disable this feature.
22420 alias -g '${1+"$@"}'='"$@"'
22421 setopt NO_GLOB_SUBST
22422 else $as_nop
22423 case `(set -o) 2>/dev/null` in #(
22424 *posix*) :
22425 set -o posix ;; #(
22426 *) :
22428 esac
22433 # Reset variables that may have inherited troublesome values from
22434 # the environment.
22436 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22437 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22438 # side effect of setting IFS to empty, thus disabling word splitting.)
22439 # Quoting is to prevent editors from complaining about space-tab.
22440 as_nl='
22442 export as_nl
22443 IFS=" "" $as_nl"
22445 PS1='$ '
22446 PS2='> '
22447 PS4='+ '
22449 # Ensure predictable behavior from utilities with locale-dependent output.
22450 LC_ALL=C
22451 export LC_ALL
22452 LANGUAGE=C
22453 export LANGUAGE
22455 # We cannot yet rely on "unset" to work, but we need these variables
22456 # to be unset--not just set to an empty or harmless value--now, to
22457 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22458 # also avoids known problems related to "unset" and subshell syntax
22459 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22460 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22461 do eval test \${$as_var+y} \
22462 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22463 done
22465 # Ensure that fds 0, 1, and 2 are open.
22466 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22467 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22468 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22470 # The user is always right.
22471 if ${PATH_SEPARATOR+false} :; then
22472 PATH_SEPARATOR=:
22473 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22474 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22475 PATH_SEPARATOR=';'
22480 # Find who we are. Look in the path if we contain no directory separator.
22481 as_myself=
22482 case $0 in #((
22483 *[\\/]* ) as_myself=$0 ;;
22484 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22485 for as_dir in $PATH
22487 IFS=$as_save_IFS
22488 case $as_dir in #(((
22489 '') as_dir=./ ;;
22490 */) ;;
22491 *) as_dir=$as_dir/ ;;
22492 esac
22493 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22494 done
22495 IFS=$as_save_IFS
22498 esac
22499 # We did not find ourselves, most probably we were run as `sh COMMAND'
22500 # in which case we are not to be found in the path.
22501 if test "x$as_myself" = x; then
22502 as_myself=$0
22504 if test ! -f "$as_myself"; then
22505 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22506 exit 1
22511 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22512 # ----------------------------------------
22513 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22514 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22515 # script with STATUS, using 1 if that was 0.
22516 as_fn_error ()
22518 as_status=$1; test $as_status -eq 0 && as_status=1
22519 if test "$4"; then
22520 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22521 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22523 printf "%s\n" "$as_me: error: $2" >&2
22524 as_fn_exit $as_status
22525 } # as_fn_error
22529 # as_fn_set_status STATUS
22530 # -----------------------
22531 # Set $? to STATUS, without forking.
22532 as_fn_set_status ()
22534 return $1
22535 } # as_fn_set_status
22537 # as_fn_exit STATUS
22538 # -----------------
22539 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22540 as_fn_exit ()
22542 set +e
22543 as_fn_set_status $1
22544 exit $1
22545 } # as_fn_exit
22547 # as_fn_unset VAR
22548 # ---------------
22549 # Portably unset VAR.
22550 as_fn_unset ()
22552 { eval $1=; unset $1;}
22554 as_unset=as_fn_unset
22556 # as_fn_append VAR VALUE
22557 # ----------------------
22558 # Append the text in VALUE to the end of the definition contained in VAR. Take
22559 # advantage of any shell optimizations that allow amortized linear growth over
22560 # repeated appends, instead of the typical quadratic growth present in naive
22561 # implementations.
22562 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22563 then :
22564 eval 'as_fn_append ()
22566 eval $1+=\$2
22568 else $as_nop
22569 as_fn_append ()
22571 eval $1=\$$1\$2
22573 fi # as_fn_append
22575 # as_fn_arith ARG...
22576 # ------------------
22577 # Perform arithmetic evaluation on the ARGs, and store the result in the
22578 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22579 # must be portable across $(()) and expr.
22580 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22581 then :
22582 eval 'as_fn_arith ()
22584 as_val=$(( $* ))
22586 else $as_nop
22587 as_fn_arith ()
22589 as_val=`expr "$@" || test $? -eq 1`
22591 fi # as_fn_arith
22594 if expr a : '\(a\)' >/dev/null 2>&1 &&
22595 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22596 as_expr=expr
22597 else
22598 as_expr=false
22601 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22602 as_basename=basename
22603 else
22604 as_basename=false
22607 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22608 as_dirname=dirname
22609 else
22610 as_dirname=false
22613 as_me=`$as_basename -- "$0" ||
22614 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22615 X"$0" : 'X\(//\)$' \| \
22616 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22617 printf "%s\n" X/"$0" |
22618 sed '/^.*\/\([^/][^/]*\)\/*$/{
22619 s//\1/
22622 /^X\/\(\/\/\)$/{
22623 s//\1/
22626 /^X\/\(\/\).*/{
22627 s//\1/
22630 s/.*/./; q'`
22632 # Avoid depending upon Character Ranges.
22633 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22634 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22635 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22636 as_cr_digits='0123456789'
22637 as_cr_alnum=$as_cr_Letters$as_cr_digits
22640 # Determine whether it's possible to make 'echo' print without a newline.
22641 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22642 # for compatibility with existing Makefiles.
22643 ECHO_C= ECHO_N= ECHO_T=
22644 case `echo -n x` in #(((((
22645 -n*)
22646 case `echo 'xy\c'` in
22647 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22648 xy) ECHO_C='\c';;
22649 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22650 ECHO_T=' ';;
22651 esac;;
22653 ECHO_N='-n';;
22654 esac
22656 # For backward compatibility with old third-party macros, we provide
22657 # the shell variables $as_echo and $as_echo_n. New code should use
22658 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22659 as_echo='printf %s\n'
22660 as_echo_n='printf %s'
22662 rm -f conf$$ conf$$.exe conf$$.file
22663 if test -d conf$$.dir; then
22664 rm -f conf$$.dir/conf$$.file
22665 else
22666 rm -f conf$$.dir
22667 mkdir conf$$.dir 2>/dev/null
22669 if (echo >conf$$.file) 2>/dev/null; then
22670 if ln -s conf$$.file conf$$ 2>/dev/null; then
22671 as_ln_s='ln -s'
22672 # ... but there are two gotchas:
22673 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22674 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22675 # In both cases, we have to default to `cp -pR'.
22676 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22677 as_ln_s='cp -pR'
22678 elif ln conf$$.file conf$$ 2>/dev/null; then
22679 as_ln_s=ln
22680 else
22681 as_ln_s='cp -pR'
22683 else
22684 as_ln_s='cp -pR'
22686 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22687 rmdir conf$$.dir 2>/dev/null
22690 # as_fn_mkdir_p
22691 # -------------
22692 # Create "$as_dir" as a directory, including parents if necessary.
22693 as_fn_mkdir_p ()
22696 case $as_dir in #(
22697 -*) as_dir=./$as_dir;;
22698 esac
22699 test -d "$as_dir" || eval $as_mkdir_p || {
22700 as_dirs=
22701 while :; do
22702 case $as_dir in #(
22703 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22704 *) as_qdir=$as_dir;;
22705 esac
22706 as_dirs="'$as_qdir' $as_dirs"
22707 as_dir=`$as_dirname -- "$as_dir" ||
22708 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22709 X"$as_dir" : 'X\(//\)[^/]' \| \
22710 X"$as_dir" : 'X\(//\)$' \| \
22711 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22712 printf "%s\n" X"$as_dir" |
22713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22714 s//\1/
22717 /^X\(\/\/\)[^/].*/{
22718 s//\1/
22721 /^X\(\/\/\)$/{
22722 s//\1/
22725 /^X\(\/\).*/{
22726 s//\1/
22729 s/.*/./; q'`
22730 test -d "$as_dir" && break
22731 done
22732 test -z "$as_dirs" || eval "mkdir $as_dirs"
22733 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22736 } # as_fn_mkdir_p
22737 if mkdir -p . 2>/dev/null; then
22738 as_mkdir_p='mkdir -p "$as_dir"'
22739 else
22740 test -d ./-p && rmdir ./-p
22741 as_mkdir_p=false
22745 # as_fn_executable_p FILE
22746 # -----------------------
22747 # Test if FILE is an executable regular file.
22748 as_fn_executable_p ()
22750 test -f "$1" && test -x "$1"
22751 } # as_fn_executable_p
22752 as_test_x='test -x'
22753 as_executable_p=as_fn_executable_p
22755 # Sed expression to map a string onto a valid CPP name.
22756 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22758 # Sed expression to map a string onto a valid variable name.
22759 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22762 exec 6>&1
22763 ## ----------------------------------- ##
22764 ## Main body of $CONFIG_STATUS script. ##
22765 ## ----------------------------------- ##
22766 _ASEOF
22767 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22770 # Save the log message, to keep $0 and so on meaningful, and to
22771 # report actual input values of CONFIG_FILES etc. instead of their
22772 # values after options handling.
22773 ac_log="
22774 This file was extended by Wine $as_me 7.7, which was
22775 generated by GNU Autoconf 2.71. Invocation command line was
22777 CONFIG_FILES = $CONFIG_FILES
22778 CONFIG_HEADERS = $CONFIG_HEADERS
22779 CONFIG_LINKS = $CONFIG_LINKS
22780 CONFIG_COMMANDS = $CONFIG_COMMANDS
22781 $ $0 $@
22783 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22786 _ACEOF
22789 case $ac_config_headers in *"
22790 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22791 esac
22794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22795 # Files that config.status was made for.
22796 config_headers="$ac_config_headers"
22797 config_links="$ac_config_links"
22798 config_commands="$ac_config_commands"
22800 _ACEOF
22802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22803 ac_cs_usage="\
22804 \`$as_me' instantiates files and other configuration actions
22805 from templates according to the current configuration. Unless the files
22806 and actions are specified as TAGs, all are instantiated by default.
22808 Usage: $0 [OPTION]... [TAG]...
22810 -h, --help print this help, then exit
22811 -V, --version print version number and configuration settings, then exit
22812 --config print configuration, then exit
22813 -q, --quiet, --silent
22814 do not print progress messages
22815 -d, --debug don't remove temporary files
22816 --recheck update $as_me by reconfiguring in the same conditions
22817 --header=FILE[:TEMPLATE]
22818 instantiate the configuration header FILE
22820 Configuration headers:
22821 $config_headers
22823 Configuration links:
22824 $config_links
22826 Configuration commands:
22827 $config_commands
22829 Report bugs to <wine-devel@winehq.org>.
22830 Wine home page: <https://www.winehq.org>."
22832 _ACEOF
22833 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22834 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22836 ac_cs_config='$ac_cs_config_escaped'
22837 ac_cs_version="\\
22838 Wine config.status 7.7
22839 configured by $0, generated by GNU Autoconf 2.71,
22840 with options \\"\$ac_cs_config\\"
22842 Copyright (C) 2021 Free Software Foundation, Inc.
22843 This config.status script is free software; the Free Software Foundation
22844 gives unlimited permission to copy, distribute and modify it."
22846 ac_pwd='$ac_pwd'
22847 srcdir='$srcdir'
22848 test -n "\$AWK" || AWK=awk
22849 _ACEOF
22851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22852 # The default lists apply if the user does not specify any file.
22853 ac_need_defaults=:
22854 while test $# != 0
22856 case $1 in
22857 --*=?*)
22858 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22859 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22860 ac_shift=:
22862 --*=)
22863 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22864 ac_optarg=
22865 ac_shift=:
22868 ac_option=$1
22869 ac_optarg=$2
22870 ac_shift=shift
22872 esac
22874 case $ac_option in
22875 # Handling of the options.
22876 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22877 ac_cs_recheck=: ;;
22878 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22879 printf "%s\n" "$ac_cs_version"; exit ;;
22880 --config | --confi | --conf | --con | --co | --c )
22881 printf "%s\n" "$ac_cs_config"; exit ;;
22882 --debug | --debu | --deb | --de | --d | -d )
22883 debug=: ;;
22884 --header | --heade | --head | --hea )
22885 $ac_shift
22886 case $ac_optarg in
22887 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22888 esac
22889 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22890 ac_need_defaults=false;;
22891 --he | --h)
22892 # Conflict between --help and --header
22893 as_fn_error $? "ambiguous option: \`$1'
22894 Try \`$0 --help' for more information.";;
22895 --help | --hel | -h )
22896 printf "%s\n" "$ac_cs_usage"; exit ;;
22897 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22898 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22899 ac_cs_silent=: ;;
22901 # This is an error.
22902 -*) as_fn_error $? "unrecognized option: \`$1'
22903 Try \`$0 --help' for more information." ;;
22905 *) as_fn_append ac_config_targets " $1"
22906 ac_need_defaults=false ;;
22908 esac
22909 shift
22910 done
22912 ac_configure_extra_args=
22914 if $ac_cs_silent; then
22915 exec 6>/dev/null
22916 ac_configure_extra_args="$ac_configure_extra_args --silent"
22919 _ACEOF
22920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22921 if \$ac_cs_recheck; then
22922 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22923 shift
22924 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22925 CONFIG_SHELL='$SHELL'
22926 export CONFIG_SHELL
22927 exec "\$@"
22930 _ACEOF
22931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22932 exec 5>>config.log
22934 echo
22935 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22936 ## Running $as_me. ##
22937 _ASBOX
22938 printf "%s\n" "$ac_log"
22939 } >&5
22941 _ACEOF
22942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22944 # INIT-COMMANDS
22946 wine_fn_output_makedep ()
22948 as_dir=tools; as_fn_mkdir_p
22949 $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
22951 wine_fn_output_makefile ()
22953 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22954 # This Makefile understands the following targets:
22956 # all (default): build wine
22957 # clean: remove all intermediate files
22958 # distclean: also remove all files created by configure
22959 # test: run tests
22960 # testclean: clean test results to force running all tests again
22961 # install-lib: install libraries needed to run applications
22962 # install-dev: install development environment
22963 # install: install everything
22964 # uninstall: uninstall everything
22965 # ctags: create a tags file for vim and others.
22966 # etags: create a TAGS file for Emacs.
22968 SHELL = $SHELL
22969 PATH_SEPARATOR = $PATH_SEPARATOR
22970 PACKAGE_NAME = $PACKAGE_NAME
22971 PACKAGE_TARNAME = $PACKAGE_TARNAME
22972 PACKAGE_VERSION = $PACKAGE_VERSION
22973 PACKAGE_STRING = $PACKAGE_STRING
22974 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22975 PACKAGE_URL = $PACKAGE_URL
22976 exec_prefix = $exec_prefix
22977 prefix = $prefix
22978 program_transform_name = $program_transform_name
22979 bindir = $bindir
22980 sbindir = $sbindir
22981 libexecdir = $libexecdir
22982 datarootdir = $datarootdir
22983 datadir = $datadir
22984 sysconfdir = $sysconfdir
22985 sharedstatedir = $sharedstatedir
22986 localstatedir = $localstatedir
22987 runstatedir = $runstatedir
22988 includedir = $includedir
22989 oldincludedir = $oldincludedir
22990 docdir = $docdir
22991 infodir = $infodir
22992 htmldir = $htmldir
22993 dvidir = $dvidir
22994 pdfdir = $pdfdir
22995 psdir = $psdir
22996 libdir = $libdir
22997 localedir = $localedir
22998 mandir = $mandir
22999 DEFS = $DEFS
23000 ECHO_C = $ECHO_C
23001 ECHO_N = $ECHO_N
23002 ECHO_T = $ECHO_T
23003 LIBS = $LIBS
23004 build_alias = $build_alias
23005 host_alias = $host_alias
23006 target_alias = $target_alias
23007 system_dllpath = $system_dllpath
23008 build = $build
23009 build_cpu = $build_cpu
23010 build_vendor = $build_vendor
23011 build_os = $build_os
23012 host = $host
23013 host_cpu = $host_cpu
23014 host_vendor = $host_vendor
23015 host_os = $host_os
23016 dlldir = $dlldir
23017 fontdir = $fontdir
23018 nlsdir = $nlsdir
23019 srcdir = $srcdir
23020 SET_MAKE = $SET_MAKE
23021 CC = $CC
23022 CFLAGS = $CFLAGS
23023 LDFLAGS = $LDFLAGS
23024 CPPFLAGS = $CPPFLAGS
23025 ac_ct_CC = $ac_ct_CC
23026 EXEEXT = $EXEEXT
23027 OBJEXT = $OBJEXT
23028 CXX = $CXX
23029 CXXFLAGS = $CXXFLAGS
23030 ac_ct_CXX = $ac_ct_CXX
23031 CPPBIN = $CPPBIN
23032 LD = $LD
23033 TARGETFLAGS = $TARGETFLAGS
23034 toolsext = $toolsext
23035 toolsdir = $toolsdir
23036 MAKEDEP = $MAKEDEP
23037 RUNTESTFLAGS = $RUNTESTFLAGS
23038 SED_CMD = $SED_CMD
23039 FLEX = $FLEX
23040 BISON = $BISON
23041 AR = $AR
23042 ac_ct_AR = $ac_ct_AR
23043 STRIP = $STRIP
23044 RANLIB = $RANLIB
23045 LN_S = $LN_S
23046 GREP = $GREP
23047 EGREP = $EGREP
23048 LDCONFIG = $LDCONFIG
23049 MSGFMT = $MSGFMT
23050 PKG_CONFIG = $PKG_CONFIG
23051 FONTFORGE = $FONTFORGE
23052 RSVG = $RSVG
23053 CONVERT = $CONVERT
23054 ICOTOOL = $ICOTOOL
23055 I386_LIBS = $I386_LIBS
23056 OPENGL_LIBS = $OPENGL_LIBS
23057 DLLFLAGS = $DLLFLAGS
23058 LDDLLFLAGS = $LDDLLFLAGS
23059 LDEXECFLAGS = $LDEXECFLAGS
23060 EXTRACFLAGS = $EXTRACFLAGS
23061 UNIXDLLFLAGS = $UNIXDLLFLAGS
23062 UNIXLDFLAGS = $UNIXLDFLAGS
23063 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23064 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23065 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23066 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23067 LDD = $LDD
23068 OTOOL = $OTOOL
23069 READELF = $READELF
23070 SUBDIRS = $SUBDIRS
23071 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23072 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23073 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23074 DLLTOOL = $DLLTOOL
23075 OBJC = $OBJC
23076 OBJCFLAGS = $OBJCFLAGS
23077 ac_ct_OBJC = $ac_ct_OBJC
23078 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23079 IOKIT_LIBS = $IOKIT_LIBS
23080 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23081 CORESERVICES_LIBS = $CORESERVICES_LIBS
23082 APPKIT_LIBS = $APPKIT_LIBS
23083 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23084 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23085 SECURITY_LIBS = $SECURITY_LIBS
23086 COREAUDIO_LIBS = $COREAUDIO_LIBS
23087 OPENAL_LIBS = $OPENAL_LIBS
23088 OPENCL_LIBS = $OPENCL_LIBS
23089 CARBON_LIBS = $CARBON_LIBS
23090 METAL_LIBS = $METAL_LIBS
23091 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23092 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23093 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23094 PRELINK = $PRELINK
23095 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23096 CROSSTARGET = $CROSSTARGET
23097 CROSSCC = $CROSSCC
23098 CROSSCFLAGS = $CROSSCFLAGS
23099 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23100 CROSSLDFLAGS = $CROSSLDFLAGS
23101 DELAYLOADFLAG = $DELAYLOADFLAG
23102 CROSSDEBUG = $CROSSDEBUG
23103 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23104 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23105 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23106 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23107 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23108 GSM_PE_LIBS = $GSM_PE_LIBS
23109 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23110 JPEG_PE_LIBS = $JPEG_PE_LIBS
23111 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23112 JXR_PE_LIBS = $JXR_PE_LIBS
23113 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23114 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23115 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23116 MPG123_PE_LIBS = $MPG123_PE_LIBS
23117 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23118 PNG_PE_LIBS = $PNG_PE_LIBS
23119 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23120 TIFF_PE_LIBS = $TIFF_PE_LIBS
23121 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23122 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23123 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23124 XML2_PE_LIBS = $XML2_PE_LIBS
23125 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23126 XSLT_PE_LIBS = $XSLT_PE_LIBS
23127 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23128 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23129 PTHREAD_LIBS = $PTHREAD_LIBS
23130 XMKMF = $XMKMF
23131 CPP = $CPP
23132 X_CFLAGS = $X_CFLAGS
23133 X_PRE_LIBS = $X_PRE_LIBS
23134 X_LIBS = $X_LIBS
23135 X_EXTRA_LIBS = $X_EXTRA_LIBS
23136 PCAP_LIBS = $PCAP_LIBS
23137 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23138 INOTIFY_LIBS = $INOTIFY_LIBS
23139 DBUS_CFLAGS = $DBUS_CFLAGS
23140 DBUS_LIBS = $DBUS_LIBS
23141 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23142 GNUTLS_LIBS = $GNUTLS_LIBS
23143 SANE_CFLAGS = $SANE_CFLAGS
23144 SANE_LIBS = $SANE_LIBS
23145 USB_CFLAGS = $USB_CFLAGS
23146 USB_LIBS = $USB_LIBS
23147 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23148 GPHOTO2_LIBS = $GPHOTO2_LIBS
23149 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23150 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23151 RESOLV_LIBS = $RESOLV_LIBS
23152 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23153 FREETYPE_LIBS = $FREETYPE_LIBS
23154 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23155 PULSE_CFLAGS = $PULSE_CFLAGS
23156 PULSE_LIBS = $PULSE_LIBS
23157 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23158 GSTREAMER_LIBS = $GSTREAMER_LIBS
23159 ALSA_LIBS = $ALSA_LIBS
23160 OSS4_CFLAGS = $OSS4_CFLAGS
23161 OSS4_LIBS = $OSS4_LIBS
23162 UDEV_CFLAGS = $UDEV_CFLAGS
23163 UDEV_LIBS = $UDEV_LIBS
23164 UNWIND_CFLAGS = $UNWIND_CFLAGS
23165 UNWIND_LIBS = $UNWIND_LIBS
23166 SDL2_CFLAGS = $SDL2_CFLAGS
23167 SDL2_LIBS = $SDL2_LIBS
23168 CAPI20_CFLAGS = $CAPI20_CFLAGS
23169 CAPI20_LIBS = $CAPI20_LIBS
23170 CUPS_CFLAGS = $CUPS_CFLAGS
23171 CUPS_LIBS = $CUPS_LIBS
23172 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23173 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23174 KRB5_CFLAGS = $KRB5_CFLAGS
23175 KRB5_LIBS = $KRB5_LIBS
23176 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23177 GSSAPI_LIBS = $GSSAPI_LIBS
23178 PROCSTAT_LIBS = $PROCSTAT_LIBS
23179 NETAPI_CFLAGS = $NETAPI_CFLAGS
23180 NETAPI_LIBS = $NETAPI_LIBS
23181 MSVCRTFLAGS = $MSVCRTFLAGS
23182 RT_LIBS = $RT_LIBS
23183 LDAP_CFLAGS = $LDAP_CFLAGS
23184 LDAP_LIBS = $LDAP_LIBS
23185 TAGSFLAGS = $TAGSFLAGS
23186 LIBOBJS = $LIBOBJS
23187 LTLIBOBJS = $LTLIBOBJS
23188 $SET_MAKE
23189 $wine_rules
23190 _WINE_EOF
23191 as_fn_error $? "could not create Makefile" "$LINENO" 5
23194 _ACEOF
23196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23198 # Handling of arguments.
23199 for ac_config_target in $ac_config_targets
23201 case $ac_config_target in
23202 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23203 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23204 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23205 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23206 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23207 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23209 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23210 esac
23211 done
23214 # If the user did not use the arguments to specify the items to instantiate,
23215 # then the envvar interface is used. Set only those that are not.
23216 # We use the long form for the default assignment because of an extremely
23217 # bizarre bug on SunOS 4.1.3.
23218 if $ac_need_defaults; then
23219 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23220 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23221 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23224 # Have a temporary directory for convenience. Make it in the build tree
23225 # simply because there is no reason against having it here, and in addition,
23226 # creating and moving files from /tmp can sometimes cause problems.
23227 # Hook for its removal unless debugging.
23228 # Note that there is a small window in which the directory will not be cleaned:
23229 # after its creation but before its name has been assigned to `$tmp'.
23230 $debug ||
23232 tmp= ac_tmp=
23233 trap 'exit_status=$?
23234 : "${ac_tmp:=$tmp}"
23235 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23237 trap 'as_fn_exit 1' 1 2 13 15
23239 # Create a (secure) tmp directory for tmp files.
23242 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23243 test -d "$tmp"
23244 } ||
23246 tmp=./conf$$-$RANDOM
23247 (umask 077 && mkdir "$tmp")
23248 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23249 ac_tmp=$tmp
23251 # Set up the scripts for CONFIG_HEADERS section.
23252 # No need to generate them if there are no CONFIG_HEADERS.
23253 # This happens for instance with `./config.status Makefile'.
23254 if test -n "$CONFIG_HEADERS"; then
23255 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23256 BEGIN {
23257 _ACEOF
23259 # Transform confdefs.h into an awk script `defines.awk', embedded as
23260 # here-document in config.status, that substitutes the proper values into
23261 # config.h.in to produce config.h.
23263 # Create a delimiter string that does not exist in confdefs.h, to ease
23264 # handling of long lines.
23265 ac_delim='%!_!# '
23266 for ac_last_try in false false :; do
23267 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23268 if test -z "$ac_tt"; then
23269 break
23270 elif $ac_last_try; then
23271 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23272 else
23273 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23275 done
23277 # For the awk script, D is an array of macro values keyed by name,
23278 # likewise P contains macro parameters if any. Preserve backslash
23279 # newline sequences.
23281 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23282 sed -n '
23283 s/.\{148\}/&'"$ac_delim"'/g
23284 t rset
23285 :rset
23286 s/^[ ]*#[ ]*define[ ][ ]*/ /
23287 t def
23289 :def
23290 s/\\$//
23291 t bsnl
23292 s/["\\]/\\&/g
23293 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23294 D["\1"]=" \3"/p
23295 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23297 :bsnl
23298 s/["\\]/\\&/g
23299 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23300 D["\1"]=" \3\\\\\\n"\\/p
23301 t cont
23302 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23303 t cont
23305 :cont
23307 s/.\{148\}/&'"$ac_delim"'/g
23308 t clear
23309 :clear
23310 s/\\$//
23311 t bsnlc
23312 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23314 :bsnlc
23315 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23316 b cont
23317 ' <confdefs.h | sed '
23318 s/'"$ac_delim"'/"\\\
23319 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23322 for (key in D) D_is_set[key] = 1
23323 FS = "\a"
23325 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23326 line = \$ 0
23327 split(line, arg, " ")
23328 if (arg[1] == "#") {
23329 defundef = arg[2]
23330 mac1 = arg[3]
23331 } else {
23332 defundef = substr(arg[1], 2)
23333 mac1 = arg[2]
23335 split(mac1, mac2, "(") #)
23336 macro = mac2[1]
23337 prefix = substr(line, 1, index(line, defundef) - 1)
23338 if (D_is_set[macro]) {
23339 # Preserve the white space surrounding the "#".
23340 print prefix "define", macro P[macro] D[macro]
23341 next
23342 } else {
23343 # Replace #undef with comments. This is necessary, for example,
23344 # in the case of _POSIX_SOURCE, which is predefined and required
23345 # on some systems where configure will not decide to define it.
23346 if (defundef == "undef") {
23347 print "/*", prefix defundef, macro, "*/"
23348 next
23352 { print }
23353 _ACAWK
23354 _ACEOF
23355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23356 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23357 fi # test -n "$CONFIG_HEADERS"
23360 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23361 shift
23362 for ac_tag
23364 case $ac_tag in
23365 :[FHLC]) ac_mode=$ac_tag; continue;;
23366 esac
23367 case $ac_mode$ac_tag in
23368 :[FHL]*:*);;
23369 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23370 :[FH]-) ac_tag=-:-;;
23371 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23372 esac
23373 ac_save_IFS=$IFS
23374 IFS=:
23375 set x $ac_tag
23376 IFS=$ac_save_IFS
23377 shift
23378 ac_file=$1
23379 shift
23381 case $ac_mode in
23382 :L) ac_source=$1;;
23383 :[FH])
23384 ac_file_inputs=
23385 for ac_f
23387 case $ac_f in
23388 -) ac_f="$ac_tmp/stdin";;
23389 *) # Look for the file first in the build tree, then in the source tree
23390 # (if the path is not absolute). The absolute path cannot be DOS-style,
23391 # because $ac_f cannot contain `:'.
23392 test -f "$ac_f" ||
23393 case $ac_f in
23394 [\\/$]*) false;;
23395 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23396 esac ||
23397 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23398 esac
23399 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23400 as_fn_append ac_file_inputs " '$ac_f'"
23401 done
23403 # Let's still pretend it is `configure' which instantiates (i.e., don't
23404 # use $as_me), people would be surprised to read:
23405 # /* config.h. Generated by config.status. */
23406 configure_input='Generated from '`
23407 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23408 `' by configure.'
23409 if test x"$ac_file" != x-; then
23410 configure_input="$ac_file. $configure_input"
23411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23412 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23414 # Neutralize special characters interpreted by sed in replacement strings.
23415 case $configure_input in #(
23416 *\&* | *\|* | *\\* )
23417 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23418 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23419 *) ac_sed_conf_input=$configure_input;;
23420 esac
23422 case $ac_tag in
23423 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23424 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23425 esac
23427 esac
23429 ac_dir=`$as_dirname -- "$ac_file" ||
23430 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23431 X"$ac_file" : 'X\(//\)[^/]' \| \
23432 X"$ac_file" : 'X\(//\)$' \| \
23433 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23434 printf "%s\n" X"$ac_file" |
23435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23436 s//\1/
23439 /^X\(\/\/\)[^/].*/{
23440 s//\1/
23443 /^X\(\/\/\)$/{
23444 s//\1/
23447 /^X\(\/\).*/{
23448 s//\1/
23451 s/.*/./; q'`
23452 as_dir="$ac_dir"; as_fn_mkdir_p
23453 ac_builddir=.
23455 case "$ac_dir" in
23456 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23458 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23459 # A ".." for each directory in $ac_dir_suffix.
23460 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23461 case $ac_top_builddir_sub in
23462 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23463 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23464 esac ;;
23465 esac
23466 ac_abs_top_builddir=$ac_pwd
23467 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23468 # for backward compatibility:
23469 ac_top_builddir=$ac_top_build_prefix
23471 case $srcdir in
23472 .) # We are building in place.
23473 ac_srcdir=.
23474 ac_top_srcdir=$ac_top_builddir_sub
23475 ac_abs_top_srcdir=$ac_pwd ;;
23476 [\\/]* | ?:[\\/]* ) # Absolute name.
23477 ac_srcdir=$srcdir$ac_dir_suffix;
23478 ac_top_srcdir=$srcdir
23479 ac_abs_top_srcdir=$srcdir ;;
23480 *) # Relative name.
23481 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23482 ac_top_srcdir=$ac_top_build_prefix$srcdir
23483 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23484 esac
23485 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23488 case $ac_mode in
23492 # CONFIG_HEADER
23494 if test x"$ac_file" != x-; then
23496 printf "%s\n" "/* $configure_input */" >&1 \
23497 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23498 } >"$ac_tmp/config.h" \
23499 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23500 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23502 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23503 else
23504 rm -f "$ac_file"
23505 mv "$ac_tmp/config.h" "$ac_file" \
23506 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23508 else
23509 printf "%s\n" "/* $configure_input */" >&1 \
23510 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23511 || as_fn_error $? "could not create -" "$LINENO" 5
23516 # CONFIG_LINK
23519 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23521 else
23522 # Prefer the file from the source tree if names are identical.
23523 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23524 ac_source=$srcdir/$ac_source
23527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23528 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23530 if test ! -r "$ac_source"; then
23531 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23533 rm -f "$ac_file"
23535 # Try a relative symlink, then a hard link, then a copy.
23536 case $ac_source in
23537 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23538 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23539 esac
23540 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23541 ln "$ac_source" "$ac_file" 2>/dev/null ||
23542 cp -p "$ac_source" "$ac_file" ||
23543 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23546 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23547 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23549 esac
23552 case $ac_file$ac_mode in
23553 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23554 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23555 "Makefile":C) wine_fn_output_makefile Makefile ;;
23557 esac
23558 done # for ac_tag
23561 as_fn_exit 0
23562 _ACEOF
23563 ac_clean_files=$ac_clean_files_save
23565 test $ac_write_fail = 0 ||
23566 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23569 # configure is writing to config.log, and then calls config.status.
23570 # config.status does its own redirection, appending to config.log.
23571 # Unfortunately, on DOS this fails, as config.log is still kept open
23572 # by configure, so config.status won't be able to write to it; its
23573 # output is simply discarded. So we exec the FD to /dev/null,
23574 # effectively closing config.log, so it can be properly (re)opened and
23575 # appended to by config.status. When coming back to configure, we
23576 # need to make the FD available again.
23577 if test "$no_create" != yes; then
23578 ac_cs_success=:
23579 ac_config_status_args=
23580 test "$silent" = yes &&
23581 ac_config_status_args="$ac_config_status_args --quiet"
23582 exec 5>/dev/null
23583 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23584 exec 5>>config.log
23585 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23586 # would make configure fail if this is the last instruction.
23587 $ac_cs_success || as_fn_exit 1
23589 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23591 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23595 if test "$no_create" = "yes"
23596 then
23597 exit 0
23600 ac_save_IFS="$IFS"
23601 if test "x$wine_notices" != x; then
23602 echo >&6
23603 IFS="|"
23604 for msg in $wine_notices; do
23605 IFS="$ac_save_IFS"
23606 if ${msg:+false} :
23607 then :
23609 else $as_nop
23610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23611 printf "%s\n" "$as_me: $msg" >&6;}
23613 done
23615 IFS="|"
23616 for msg in $wine_warnings; do
23617 IFS="$ac_save_IFS"
23618 if ${msg:+false} :
23619 then :
23621 else $as_nop
23622 echo >&2
23623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23624 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23626 done
23627 IFS="$ac_save_IFS"
23629 printf "%s\n" "
23630 $as_me: Finished. Do '${ac_make}' to compile Wine.
23631 " >&6