msvcrt/tests: Fix typo (Coverity).
[wine.git] / configure
blob512b38fe5d7ca16f0186d3b5b4fd696d3ebfc5e2
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.20.
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.20'
615 PACKAGE_STRING='Wine 7.20'
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 DELAYLOADFLAG
659 MSVCRTFLAGS
660 NETAPI_LIBS
661 NETAPI_CFLAGS
662 PROCSTAT_LIBS
663 GSSAPI_LIBS
664 GSSAPI_CFLAGS
665 KRB5_LIBS
666 KRB5_CFLAGS
667 FONTCONFIG_LIBS
668 FONTCONFIG_CFLAGS
669 CUPS_LIBS
670 CUPS_CFLAGS
671 CAPI20_LIBS
672 CAPI20_CFLAGS
673 SDL2_LIBS
674 SDL2_CFLAGS
675 UNWIND_LIBS
676 UNWIND_CFLAGS
677 UDEV_LIBS
678 UDEV_CFLAGS
679 OSS4_LIBS
680 OSS4_CFLAGS
681 ALSA_LIBS
682 GSTREAMER_LIBS
683 GSTREAMER_CFLAGS
684 PULSE_LIBS
685 PULSE_CFLAGS
686 GETTEXTPO_LIBS
687 FREETYPE_LIBS
688 FREETYPE_CFLAGS
689 RESOLV_LIBS
690 GPHOTO2_PORT_LIBS
691 GPHOTO2_PORT_CFLAGS
692 GPHOTO2_LIBS
693 GPHOTO2_CFLAGS
694 USB_LIBS
695 USB_CFLAGS
696 SANE_LIBS
697 SANE_CFLAGS
698 GNUTLS_LIBS
699 GNUTLS_CFLAGS
700 DBUS_LIBS
701 DBUS_CFLAGS
702 INOTIFY_LIBS
703 INOTIFY_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
710 XMKMF
711 PTHREAD_LIBS
712 ZLIB_PE_LIBS
713 ZLIB_PE_CFLAGS
714 XSLT_PE_LIBS
715 XSLT_PE_CFLAGS
716 XML2_PE_LIBS
717 XML2_PE_CFLAGS
718 VKD3D_PE_LIBS
719 VKD3D_PE_CFLAGS
720 TIFF_PE_LIBS
721 TIFF_PE_CFLAGS
722 PNG_PE_LIBS
723 PNG_PE_CFLAGS
724 MPG123_PE_LIBS
725 MPG123_PE_CFLAGS
726 LCMS2_PE_LIBS
727 LCMS2_PE_CFLAGS
728 JXR_PE_LIBS
729 JXR_PE_CFLAGS
730 JPEG_PE_LIBS
731 JPEG_PE_CFLAGS
732 GSM_PE_LIBS
733 GSM_PE_CFLAGS
734 FAUDIO_PE_LIBS
735 FAUDIO_PE_CFLAGS
736 MINGW_PKG_CONFIG
737 PE_ARCHS
738 LIBWINE_DEPENDS
739 PRELINK
740 WINELOADER_DEPENDS
741 LIBWINE_LDFLAGS
742 LIBWINE_SHAREDLIB
743 METAL_LIBS
744 CARBON_LIBS
745 OPENCL_LIBS
746 OPENAL_LIBS
747 COREAUDIO_LIBS
748 SECURITY_LIBS
749 DISKARBITRATION_LIBS
750 SYSTEMCONFIGURATION_LIBS
751 APPKIT_LIBS
752 CORESERVICES_LIBS
753 APPLICATIONSERVICES_LIBS
754 IOKIT_LIBS
755 COREFOUNDATION_LIBS
756 ac_ct_OBJC
757 OBJCFLAGS
758 OBJC
759 WINELOADER_PROGRAMS
760 CONFIGURE_TARGETS
761 DISABLED_SUBDIRS
762 SUBDIRS
763 READELF
764 OTOOL
766 WINEPRELOADER_LDFLAGS
767 WINELOADER_LDFLAGS
768 TOP_INSTALL_DEV
769 TOP_INSTALL_LIB
770 UNIXLDFLAGS
771 UNIXDLLFLAGS
772 EXTRACFLAGS
773 LDEXECFLAGS
774 LDDLLFLAGS
775 DLLFLAGS
776 OPENGL_LIBS
777 I386_LIBS
778 ICOTOOL
779 CONVERT
780 RSVG
781 FONTFORGE
782 PKG_CONFIG
783 MSGFMT
784 LDCONFIG
785 EGREP
786 GREP
787 LN_S
788 RANLIB
789 STRIP
790 ac_ct_AR
792 BISON
793 FLEX
794 SED_CMD
795 RUNTESTFLAGS
796 MAKEDEP
797 toolsdir
798 x86_64_DISABLED_SUBDIRS
799 x86_64_DELAYLOADFLAG
800 x86_64_TARGET
801 x86_64_DEBUG
802 x86_64_LDFLAGS
803 x86_64_EXTRACFLAGS
804 x86_64_CFLAGS
805 x86_64_CC
806 i386_DISABLED_SUBDIRS
807 i386_DELAYLOADFLAG
808 i386_TARGET
809 i386_DEBUG
810 i386_LDFLAGS
811 i386_EXTRACFLAGS
812 i386_CFLAGS
813 i386_CC
814 arm_DISABLED_SUBDIRS
815 arm_DELAYLOADFLAG
816 arm_TARGET
817 arm_DEBUG
818 arm_LDFLAGS
819 arm_EXTRACFLAGS
820 arm_CFLAGS
821 arm_CC
822 aarch64_DISABLED_SUBDIRS
823 aarch64_DELAYLOADFLAG
824 aarch64_TARGET
825 aarch64_DEBUG
826 aarch64_LDFLAGS
827 aarch64_EXTRACFLAGS
828 aarch64_CFLAGS
829 aarch64_CC
830 HOST_ARCH
831 toolsext
832 TARGETFLAGS
834 CPPBIN
835 ac_ct_CXX
836 CXXFLAGS
838 OBJEXT
839 EXEEXT
840 ac_ct_CC
841 CPPFLAGS
842 LDFLAGS
843 CFLAGS
845 SET_MAKE
846 srcdir
847 nlsdir
848 fontdir
849 dlldir
850 host_os
851 host_vendor
852 host_cpu
853 host
854 build_os
855 build_vendor
856 build_cpu
857 build
858 system_dllpath
859 target_alias
860 host_alias
861 build_alias
862 LIBS
863 ECHO_T
864 ECHO_N
865 ECHO_C
866 DEFS
867 mandir
868 localedir
869 libdir
870 psdir
871 pdfdir
872 dvidir
873 htmldir
874 infodir
875 docdir
876 oldincludedir
877 includedir
878 runstatedir
879 localstatedir
880 sharedstatedir
881 sysconfdir
882 datadir
883 datarootdir
884 libexecdir
885 sbindir
886 bindir
887 program_transform_name
888 prefix
889 exec_prefix
890 PACKAGE_URL
891 PACKAGE_BUGREPORT
892 PACKAGE_STRING
893 PACKAGE_VERSION
894 PACKAGE_TARNAME
895 PACKAGE_NAME
896 PATH_SEPARATOR
897 SHELL'
898 ac_subst_files=''
899 ac_user_opts='
900 enable_option_checking
901 enable_archs
902 enable_win16
903 enable_win64
904 enable_tests
905 enable_build_id
906 enable_maintainer_mode
907 enable_silent_rules
908 enable_werror
909 with_alsa
910 with_capi
911 with_coreaudio
912 with_cups
913 with_dbus
914 with_float_abi
915 with_fontconfig
916 with_freetype
917 with_gettext
918 with_gettextpo
919 with_gphoto
920 with_gnutls
921 with_gssapi
922 with_gstreamer
923 with_inotify
924 with_krb5
925 with_ldap
926 with_mingw
927 with_netapi
928 with_openal
929 with_opencl
930 with_opengl
931 with_osmesa
932 with_oss
933 with_pcap
934 with_pthread
935 with_pulse
936 with_sane
937 with_sdl
938 with_udev
939 with_unwind
940 with_usb
941 with_v4l2
942 with_vulkan
943 with_xcomposite
944 with_xcursor
945 with_xfixes
946 with_xinerama
947 with_xinput
948 with_xinput2
949 with_xrandr
950 with_xrender
951 with_xshape
952 with_xshm
953 with_xxf86vm
954 with_system_dllpath
955 with_wine_tools
956 with_wine64
957 enable_largefile
958 with_x
959 enable_acledit
960 enable_aclui
961 enable_activeds_tlb
962 enable_activeds
963 enable_actxprxy
964 enable_adsldp
965 enable_adsldpc
966 enable_advapi32
967 enable_advpack
968 enable_amsi
969 enable_amstream
970 enable_apisetschema
971 enable_apphelp
972 enable_appwiz_cpl
973 enable_atl
974 enable_atl100
975 enable_atl110
976 enable_atl80
977 enable_atl90
978 enable_atlthunk
979 enable_atmlib
980 enable_authz
981 enable_avicap32
982 enable_avifil32
983 enable_avrt
984 enable_bcrypt
985 enable_bluetoothapis
986 enable_browseui
987 enable_bthprops_cpl
988 enable_cabinet
989 enable_capi2032
990 enable_cards
991 enable_cdosys
992 enable_cfgmgr32
993 enable_clusapi
994 enable_cng_sys
995 enable_combase
996 enable_comcat
997 enable_comctl32
998 enable_comdlg32
999 enable_compstui
1000 enable_comsvcs
1001 enable_concrt140
1002 enable_connect
1003 enable_credui
1004 enable_crtdll
1005 enable_crypt32
1006 enable_cryptdlg
1007 enable_cryptdll
1008 enable_cryptext
1009 enable_cryptnet
1010 enable_cryptowinrt
1011 enable_cryptsp
1012 enable_cryptui
1013 enable_ctapi32
1014 enable_ctl3d32
1015 enable_d2d1
1016 enable_d3d10
1017 enable_d3d10_1
1018 enable_d3d10core
1019 enable_d3d11
1020 enable_d3d12
1021 enable_d3d8
1022 enable_d3d8thk
1023 enable_d3d9
1024 enable_d3dcompiler_33
1025 enable_d3dcompiler_34
1026 enable_d3dcompiler_35
1027 enable_d3dcompiler_36
1028 enable_d3dcompiler_37
1029 enable_d3dcompiler_38
1030 enable_d3dcompiler_39
1031 enable_d3dcompiler_40
1032 enable_d3dcompiler_41
1033 enable_d3dcompiler_42
1034 enable_d3dcompiler_43
1035 enable_d3dcompiler_46
1036 enable_d3dcompiler_47
1037 enable_d3dim
1038 enable_d3dim700
1039 enable_d3drm
1040 enable_d3dx10_33
1041 enable_d3dx10_34
1042 enable_d3dx10_35
1043 enable_d3dx10_36
1044 enable_d3dx10_37
1045 enable_d3dx10_38
1046 enable_d3dx10_39
1047 enable_d3dx10_40
1048 enable_d3dx10_41
1049 enable_d3dx10_42
1050 enable_d3dx10_43
1051 enable_d3dx11_42
1052 enable_d3dx11_43
1053 enable_d3dx9_24
1054 enable_d3dx9_25
1055 enable_d3dx9_26
1056 enable_d3dx9_27
1057 enable_d3dx9_28
1058 enable_d3dx9_29
1059 enable_d3dx9_30
1060 enable_d3dx9_31
1061 enable_d3dx9_32
1062 enable_d3dx9_33
1063 enable_d3dx9_34
1064 enable_d3dx9_35
1065 enable_d3dx9_36
1066 enable_d3dx9_37
1067 enable_d3dx9_38
1068 enable_d3dx9_39
1069 enable_d3dx9_40
1070 enable_d3dx9_41
1071 enable_d3dx9_42
1072 enable_d3dx9_43
1073 enable_d3dxof
1074 enable_davclnt
1075 enable_dbgeng
1076 enable_dbghelp
1077 enable_dciman32
1078 enable_dcomp
1079 enable_ddraw
1080 enable_ddrawex
1081 enable_devenum
1082 enable_dhcpcsvc
1083 enable_dhcpcsvc6
1084 enable_dhtmled_ocx
1085 enable_diasymreader
1086 enable_difxapi
1087 enable_dinput
1088 enable_dinput8
1089 enable_directmanipulation
1090 enable_dispex
1091 enable_dmband
1092 enable_dmcompos
1093 enable_dmime
1094 enable_dmloader
1095 enable_dmscript
1096 enable_dmstyle
1097 enable_dmsynth
1098 enable_dmusic
1099 enable_dmusic32
1100 enable_dnsapi
1101 enable_dplay
1102 enable_dplayx
1103 enable_dpnaddr
1104 enable_dpnet
1105 enable_dpnhpast
1106 enable_dpnhupnp
1107 enable_dpnlobby
1108 enable_dpvoice
1109 enable_dpwsockx
1110 enable_drmclien
1111 enable_dsdmo
1112 enable_dsound
1113 enable_dsquery
1114 enable_dssenh
1115 enable_dsuiext
1116 enable_dswave
1117 enable_dwmapi
1118 enable_dwrite
1119 enable_dx8vb
1120 enable_dxdiagn
1121 enable_dxgi
1122 enable_dxtrans
1123 enable_dxva2
1124 enable_esent
1125 enable_evr
1126 enable_explorerframe
1127 enable_faultrep
1128 enable_feclient
1129 enable_fltlib
1130 enable_fltmgr_sys
1131 enable_fntcache
1132 enable_fontsub
1133 enable_fusion
1134 enable_fwpuclnt
1135 enable_gameux
1136 enable_gamingtcui
1137 enable_gdi32
1138 enable_gdiplus
1139 enable_glu32
1140 enable_gphoto2_ds
1141 enable_gpkcsp
1142 enable_hal
1143 enable_hhctrl_ocx
1144 enable_hid
1145 enable_hidclass_sys
1146 enable_hidparse_sys
1147 enable_hlink
1148 enable_hnetcfg
1149 enable_http_sys
1150 enable_httpapi
1151 enable_ia2comproxy
1152 enable_iccvid
1153 enable_icmp
1154 enable_ieframe
1155 enable_ieproxy
1156 enable_imaadp32_acm
1157 enable_imagehlp
1158 enable_imm32
1159 enable_inetcomm
1160 enable_inetcpl_cpl
1161 enable_inetmib1
1162 enable_infosoft
1163 enable_initpki
1164 enable_inkobj
1165 enable_inseng
1166 enable_iphlpapi
1167 enable_iprop
1168 enable_irprops_cpl
1169 enable_itircl
1170 enable_itss
1171 enable_joy_cpl
1172 enable_jscript
1173 enable_jsproxy
1174 enable_kerberos
1175 enable_kernel32
1176 enable_kernelbase
1177 enable_ksecdd_sys
1178 enable_ksproxy_ax
1179 enable_ksuser
1180 enable_ktmw32
1181 enable_l3codeca_acm
1182 enable_light_msstyles
1183 enable_loadperf
1184 enable_localspl
1185 enable_localui
1186 enable_lz32
1187 enable_mapi32
1188 enable_mapistub
1189 enable_mciavi32
1190 enable_mcicda
1191 enable_mciqtz32
1192 enable_mciseq
1193 enable_mciwave
1194 enable_mf
1195 enable_mf3216
1196 enable_mferror
1197 enable_mfmediaengine
1198 enable_mfplat
1199 enable_mfplay
1200 enable_mfreadwrite
1201 enable_mfsrcsnk
1202 enable_mgmtapi
1203 enable_midimap
1204 enable_mlang
1205 enable_mmcndmgr
1206 enable_mmdevapi
1207 enable_mountmgr_sys
1208 enable_mp3dmod
1209 enable_mpr
1210 enable_mprapi
1211 enable_msacm32_drv
1212 enable_msacm32
1213 enable_msado15
1214 enable_msadp32_acm
1215 enable_msasn1
1216 enable_mscat32
1217 enable_mscms
1218 enable_mscoree
1219 enable_mscorwks
1220 enable_msctf
1221 enable_msctfmonitor
1222 enable_msctfp
1223 enable_msdaps
1224 enable_msdasql
1225 enable_msdelta
1226 enable_msdmo
1227 enable_msdrm
1228 enable_msftedit
1229 enable_msg711_acm
1230 enable_msgsm32_acm
1231 enable_mshtml_tlb
1232 enable_mshtml
1233 enable_msi
1234 enable_msident
1235 enable_msimg32
1236 enable_msimsg
1237 enable_msimtf
1238 enable_msisip
1239 enable_msisys_ocx
1240 enable_msls31
1241 enable_msnet32
1242 enable_mspatcha
1243 enable_msports
1244 enable_msrle32
1245 enable_msscript_ocx
1246 enable_mssign32
1247 enable_mssip32
1248 enable_mstask
1249 enable_msv1_0
1250 enable_msvcirt
1251 enable_msvcm80
1252 enable_msvcm90
1253 enable_msvcp100
1254 enable_msvcp110
1255 enable_msvcp120
1256 enable_msvcp120_app
1257 enable_msvcp140
1258 enable_msvcp140_1
1259 enable_msvcp140_2
1260 enable_msvcp140_atomic_wait
1261 enable_msvcp60
1262 enable_msvcp70
1263 enable_msvcp71
1264 enable_msvcp80
1265 enable_msvcp90
1266 enable_msvcp_win
1267 enable_msvcr100
1268 enable_msvcr110
1269 enable_msvcr120
1270 enable_msvcr120_app
1271 enable_msvcr70
1272 enable_msvcr71
1273 enable_msvcr80
1274 enable_msvcr90
1275 enable_msvcrt
1276 enable_msvcrt20
1277 enable_msvcrt40
1278 enable_msvcrtd
1279 enable_msvfw32
1280 enable_msvidc32
1281 enable_mswsock
1282 enable_msxml
1283 enable_msxml2
1284 enable_msxml3
1285 enable_msxml4
1286 enable_msxml6
1287 enable_mtxdm
1288 enable_ncrypt
1289 enable_nddeapi
1290 enable_ndis_sys
1291 enable_netapi32
1292 enable_netcfgx
1293 enable_netio_sys
1294 enable_netprofm
1295 enable_netutils
1296 enable_newdev
1297 enable_ninput
1298 enable_normaliz
1299 enable_npmshtml
1300 enable_npptools
1301 enable_nsi
1302 enable_nsiproxy_sys
1303 enable_ntdll
1304 enable_ntdsapi
1305 enable_ntoskrnl_exe
1306 enable_ntprint
1307 enable_objsel
1308 enable_odbc32
1309 enable_odbcbcp
1310 enable_odbccp32
1311 enable_odbccu32
1312 enable_ole32
1313 enable_oleacc
1314 enable_oleaut32
1315 enable_olecli32
1316 enable_oledb32
1317 enable_oledlg
1318 enable_olepro32
1319 enable_olesvr32
1320 enable_olethk32
1321 enable_opcservices
1322 enable_openal32
1323 enable_opencl
1324 enable_opengl32
1325 enable_packager
1326 enable_pdh
1327 enable_photometadatahandler
1328 enable_pidgen
1329 enable_powrprof
1330 enable_printui
1331 enable_prntvpt
1332 enable_propsys
1333 enable_psapi
1334 enable_pstorec
1335 enable_pwrshplugin
1336 enable_qasf
1337 enable_qcap
1338 enable_qdvd
1339 enable_qedit
1340 enable_qmgr
1341 enable_qmgrprxy
1342 enable_quartz
1343 enable_query
1344 enable_qwave
1345 enable_rasapi32
1346 enable_rasdlg
1347 enable_regapi
1348 enable_resutils
1349 enable_riched20
1350 enable_riched32
1351 enable_rpcrt4
1352 enable_rsabase
1353 enable_rsaenh
1354 enable_rstrtmgr
1355 enable_rtutils
1356 enable_rtworkq
1357 enable_samlib
1358 enable_sane_ds
1359 enable_sapi
1360 enable_sas
1361 enable_scarddlg
1362 enable_sccbase
1363 enable_schannel
1364 enable_schedsvc
1365 enable_scrobj
1366 enable_scrrun
1367 enable_scsiport_sys
1368 enable_sechost
1369 enable_secur32
1370 enable_security
1371 enable_sensapi
1372 enable_serialui
1373 enable_setupapi
1374 enable_sfc
1375 enable_sfc_os
1376 enable_shcore
1377 enable_shdoclc
1378 enable_shdocvw
1379 enable_shell32
1380 enable_shfolder
1381 enable_shlwapi
1382 enable_slbcsp
1383 enable_slc
1384 enable_snmpapi
1385 enable_softpub
1386 enable_spoolss
1387 enable_sppc
1388 enable_srclient
1389 enable_srvcli
1390 enable_sspicli
1391 enable_stdole2_tlb
1392 enable_stdole32_tlb
1393 enable_sti
1394 enable_strmdll
1395 enable_svrapi
1396 enable_sxs
1397 enable_t2embed
1398 enable_tapi32
1399 enable_taskschd
1400 enable_tbs
1401 enable_tdh
1402 enable_tdi_sys
1403 enable_threadpoolwinrt
1404 enable_traffic
1405 enable_twain_32
1406 enable_tzres
1407 enable_ucrtbase
1408 enable_uianimation
1409 enable_uiautomationcore
1410 enable_uiribbon
1411 enable_unicows
1412 enable_updspapi
1413 enable_url
1414 enable_urlmon
1415 enable_usbd_sys
1416 enable_user32
1417 enable_userenv
1418 enable_usp10
1419 enable_utildll
1420 enable_uxtheme
1421 enable_vbscript
1422 enable_vcomp
1423 enable_vcomp100
1424 enable_vcomp110
1425 enable_vcomp120
1426 enable_vcomp140
1427 enable_vcomp90
1428 enable_vcruntime140
1429 enable_vcruntime140_1
1430 enable_vdmdbg
1431 enable_version
1432 enable_vga
1433 enable_virtdisk
1434 enable_vssapi
1435 enable_vulkan_1
1436 enable_wbemdisp
1437 enable_wbemprox
1438 enable_wdscore
1439 enable_webservices
1440 enable_websocket
1441 enable_wer
1442 enable_wevtapi
1443 enable_wevtsvc
1444 enable_wiaservc
1445 enable_wimgapi
1446 enable_win32u
1447 enable_windows_devices_enumeration
1448 enable_windows_gaming_input
1449 enable_windows_globalization
1450 enable_windows_media_devices
1451 enable_windows_media_speech
1452 enable_windows_networking
1453 enable_windowscodecs
1454 enable_windowscodecsext
1455 enable_winealsa_drv
1456 enable_wineandroid_drv
1457 enable_winebus_sys
1458 enable_winecoreaudio_drv
1459 enable_winecrt0
1460 enable_wined3d
1461 enable_winegstreamer
1462 enable_winehid_sys
1463 enable_winemac_drv
1464 enable_winemapi
1465 enable_wineoss_drv
1466 enable_wineps_drv
1467 enable_winepulse_drv
1468 enable_wineusb_sys
1469 enable_winevulkan
1470 enable_winex11_drv
1471 enable_winexinput_sys
1472 enable_wing32
1473 enable_winhttp
1474 enable_wininet
1475 enable_winmm
1476 enable_winnls32
1477 enable_winscard
1478 enable_winspool_drv
1479 enable_winsta
1480 enable_wintab32
1481 enable_wintrust
1482 enable_wintypes
1483 enable_winusb
1484 enable_wlanapi
1485 enable_wlanui
1486 enable_wldap32
1487 enable_wmasf
1488 enable_wmi
1489 enable_wmiutils
1490 enable_wmp
1491 enable_wmphoto
1492 enable_wmvcore
1493 enable_wnaspi32
1494 enable_wow64
1495 enable_wow64cpu
1496 enable_wow64win
1497 enable_wpc
1498 enable_wpcap
1499 enable_ws2_32
1500 enable_wsdapi
1501 enable_wshom_ocx
1502 enable_wsnmp32
1503 enable_wsock32
1504 enable_wtsapi32
1505 enable_wuapi
1506 enable_wuaueng
1507 enable_x3daudio1_0
1508 enable_x3daudio1_1
1509 enable_x3daudio1_2
1510 enable_x3daudio1_3
1511 enable_x3daudio1_4
1512 enable_x3daudio1_5
1513 enable_x3daudio1_6
1514 enable_x3daudio1_7
1515 enable_xactengine2_0
1516 enable_xactengine2_4
1517 enable_xactengine2_7
1518 enable_xactengine2_9
1519 enable_xactengine3_0
1520 enable_xactengine3_1
1521 enable_xactengine3_2
1522 enable_xactengine3_3
1523 enable_xactengine3_4
1524 enable_xactengine3_5
1525 enable_xactengine3_6
1526 enable_xactengine3_7
1527 enable_xapofx1_1
1528 enable_xapofx1_2
1529 enable_xapofx1_3
1530 enable_xapofx1_4
1531 enable_xapofx1_5
1532 enable_xaudio2_0
1533 enable_xaudio2_1
1534 enable_xaudio2_2
1535 enable_xaudio2_3
1536 enable_xaudio2_4
1537 enable_xaudio2_5
1538 enable_xaudio2_6
1539 enable_xaudio2_7
1540 enable_xaudio2_8
1541 enable_xaudio2_9
1542 enable_xinput1_1
1543 enable_xinput1_2
1544 enable_xinput1_3
1545 enable_xinput1_4
1546 enable_xinput9_1_0
1547 enable_xmllite
1548 enable_xolehlp
1549 enable_xpsprint
1550 enable_xpssvcs
1551 enable_fonts
1552 enable_include
1553 enable_adsiid
1554 enable_dmoguids
1555 enable_dxerr8
1556 enable_dxerr9
1557 enable_dxguid
1558 enable_faudio
1559 enable_gsm
1560 enable_jpeg
1561 enable_jxr
1562 enable_lcms2
1563 enable_mfuuid
1564 enable_mpg123
1565 enable_png
1566 enable_strmbase
1567 enable_strmiids
1568 enable_tiff
1569 enable_uuid
1570 enable_vkd3d
1571 enable_wbemuuid
1572 enable_wine
1573 enable_wmcodecdspuuid
1574 enable_xml2
1575 enable_xslt
1576 enable_zlib
1577 enable_loader
1578 enable_nls
1579 enable_po
1580 enable_arp
1581 enable_aspnet_regiis
1582 enable_attrib
1583 enable_cabarc
1584 enable_cacls
1585 enable_chcp_com
1586 enable_clock
1587 enable_cmd
1588 enable_conhost
1589 enable_control
1590 enable_cscript
1591 enable_dism
1592 enable_dllhost
1593 enable_dplaysvr
1594 enable_dpnsvr
1595 enable_dpvsetup
1596 enable_dxdiag
1597 enable_eject
1598 enable_expand
1599 enable_explorer
1600 enable_extrac32
1601 enable_fc
1602 enable_find
1603 enable_findstr
1604 enable_fsutil
1605 enable_hh
1606 enable_hostname
1607 enable_icacls
1608 enable_icinfo
1609 enable_iexplore
1610 enable_ipconfig
1611 enable_lodctr
1612 enable_mofcomp
1613 enable_mshta
1614 enable_msidb
1615 enable_msiexec
1616 enable_msinfo32
1617 enable_net
1618 enable_netsh
1619 enable_netstat
1620 enable_ngen
1621 enable_notepad
1622 enable_oleview
1623 enable_ping
1624 enable_plugplay
1625 enable_powershell
1626 enable_presentationfontcache
1627 enable_progman
1628 enable_reg
1629 enable_regasm
1630 enable_regedit
1631 enable_regini
1632 enable_regsvcs
1633 enable_regsvr32
1634 enable_robocopy
1635 enable_rpcss
1636 enable_rundll32
1637 enable_sc
1638 enable_schtasks
1639 enable_sdbinst
1640 enable_secedit
1641 enable_servicemodelreg
1642 enable_services
1643 enable_shutdown
1644 enable_spoolsv
1645 enable_start
1646 enable_subst
1647 enable_svchost
1648 enable_systeminfo
1649 enable_taskkill
1650 enable_tasklist
1651 enable_taskmgr
1652 enable_termsv
1653 enable_uninstaller
1654 enable_unlodctr
1655 enable_view
1656 enable_wevtutil
1657 enable_where
1658 enable_whoami
1659 enable_wineboot
1660 enable_winebrowser
1661 enable_winecfg
1662 enable_wineconsole
1663 enable_winedbg
1664 enable_winedevice
1665 enable_winefile
1666 enable_winemenubuilder
1667 enable_winemine
1668 enable_winemsibuilder
1669 enable_winepath
1670 enable_winetest
1671 enable_winhlp32
1672 enable_winmgmt
1673 enable_winver
1674 enable_wmic
1675 enable_wmplayer
1676 enable_wordpad
1677 enable_write
1678 enable_wscript
1679 enable_wuauserv
1680 enable_wusa
1681 enable_xcopy
1682 enable_server
1683 enable_tools
1684 enable_sfnt2fon
1685 enable_widl
1686 enable_winebuild
1687 enable_winedump
1688 enable_winegcc
1689 enable_winemaker
1690 enable_wmc
1691 enable_wrc
1693 ac_precious_vars='build_alias
1694 host_alias
1695 target_alias
1697 CFLAGS
1698 LDFLAGS
1699 LIBS
1700 CPPFLAGS
1702 CXXFLAGS
1704 OBJC
1705 OBJCFLAGS
1706 FAUDIO_PE_CFLAGS
1707 FAUDIO_PE_LIBS
1708 GSM_PE_CFLAGS
1709 GSM_PE_LIBS
1710 JPEG_PE_CFLAGS
1711 JPEG_PE_LIBS
1712 JXR_PE_CFLAGS
1713 JXR_PE_LIBS
1714 LCMS2_PE_CFLAGS
1715 LCMS2_PE_LIBS
1716 MPG123_PE_CFLAGS
1717 MPG123_PE_LIBS
1718 PNG_PE_CFLAGS
1719 PNG_PE_LIBS
1720 TIFF_PE_CFLAGS
1721 TIFF_PE_LIBS
1722 VKD3D_PE_CFLAGS
1723 VKD3D_PE_LIBS
1724 XML2_PE_CFLAGS
1725 XML2_PE_LIBS
1726 XSLT_PE_CFLAGS
1727 XSLT_PE_LIBS
1728 ZLIB_PE_CFLAGS
1729 ZLIB_PE_LIBS
1730 XMKMF
1732 INOTIFY_CFLAGS
1733 INOTIFY_LIBS
1734 DBUS_CFLAGS
1735 DBUS_LIBS
1736 GNUTLS_CFLAGS
1737 GNUTLS_LIBS
1738 SANE_CFLAGS
1739 SANE_LIBS
1740 USB_CFLAGS
1741 USB_LIBS
1742 GPHOTO2_CFLAGS
1743 GPHOTO2_LIBS
1744 GPHOTO2_PORT_CFLAGS
1745 GPHOTO2_PORT_LIBS
1746 FREETYPE_CFLAGS
1747 FREETYPE_LIBS
1748 PULSE_CFLAGS
1749 PULSE_LIBS
1750 GSTREAMER_CFLAGS
1751 GSTREAMER_LIBS
1752 UDEV_CFLAGS
1753 UDEV_LIBS
1754 UNWIND_CFLAGS
1755 UNWIND_LIBS
1756 SDL2_CFLAGS
1757 SDL2_LIBS
1758 CAPI20_CFLAGS
1759 CAPI20_LIBS
1760 CUPS_CFLAGS
1761 CUPS_LIBS
1762 FONTCONFIG_CFLAGS
1763 FONTCONFIG_LIBS
1764 KRB5_CFLAGS
1765 KRB5_LIBS
1766 GSSAPI_CFLAGS
1767 GSSAPI_LIBS
1768 NETAPI_CFLAGS
1769 NETAPI_LIBS
1770 LDAP_CFLAGS
1771 LDAP_LIBS'
1774 # Initialize some variables set by options.
1775 ac_init_help=
1776 ac_init_version=false
1777 ac_unrecognized_opts=
1778 ac_unrecognized_sep=
1779 # The variables have the same names as the options, with
1780 # dashes changed to underlines.
1781 cache_file=/dev/null
1782 exec_prefix=NONE
1783 no_create=
1784 no_recursion=
1785 prefix=NONE
1786 program_prefix=NONE
1787 program_suffix=NONE
1788 program_transform_name=s,x,x,
1789 silent=
1790 site=
1791 srcdir=
1792 verbose=
1793 x_includes=NONE
1794 x_libraries=NONE
1796 # Installation directory options.
1797 # These are left unexpanded so users can "make install exec_prefix=/foo"
1798 # and all the variables that are supposed to be based on exec_prefix
1799 # by default will actually change.
1800 # Use braces instead of parens because sh, perl, etc. also accept them.
1801 # (The list follows the same order as the GNU Coding Standards.)
1802 bindir='${exec_prefix}/bin'
1803 sbindir='${exec_prefix}/sbin'
1804 libexecdir='${exec_prefix}/libexec'
1805 datarootdir='${prefix}/share'
1806 datadir='${datarootdir}'
1807 sysconfdir='${prefix}/etc'
1808 sharedstatedir='${prefix}/com'
1809 localstatedir='${prefix}/var'
1810 runstatedir='${localstatedir}/run'
1811 includedir='${prefix}/include'
1812 oldincludedir='/usr/include'
1813 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1814 infodir='${datarootdir}/info'
1815 htmldir='${docdir}'
1816 dvidir='${docdir}'
1817 pdfdir='${docdir}'
1818 psdir='${docdir}'
1819 libdir='${exec_prefix}/lib'
1820 localedir='${datarootdir}/locale'
1821 mandir='${datarootdir}/man'
1823 ac_prev=
1824 ac_dashdash=
1825 for ac_option
1827 # If the previous option needs an argument, assign it.
1828 if test -n "$ac_prev"; then
1829 eval $ac_prev=\$ac_option
1830 ac_prev=
1831 continue
1834 case $ac_option in
1835 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1836 *=) ac_optarg= ;;
1837 *) ac_optarg=yes ;;
1838 esac
1840 case $ac_dashdash$ac_option in
1842 ac_dashdash=yes ;;
1844 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1845 ac_prev=bindir ;;
1846 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1847 bindir=$ac_optarg ;;
1849 -build | --build | --buil | --bui | --bu)
1850 ac_prev=build_alias ;;
1851 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1852 build_alias=$ac_optarg ;;
1854 -cache-file | --cache-file | --cache-fil | --cache-fi \
1855 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1856 ac_prev=cache_file ;;
1857 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1858 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1859 cache_file=$ac_optarg ;;
1861 --config-cache | -C)
1862 cache_file=config.cache ;;
1864 -datadir | --datadir | --datadi | --datad)
1865 ac_prev=datadir ;;
1866 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1867 datadir=$ac_optarg ;;
1869 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1870 | --dataroo | --dataro | --datar)
1871 ac_prev=datarootdir ;;
1872 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1873 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1874 datarootdir=$ac_optarg ;;
1876 -disable-* | --disable-*)
1877 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1878 # Reject names that are not valid shell variable names.
1879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1880 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1881 ac_useropt_orig=$ac_useropt
1882 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1883 case $ac_user_opts in
1885 "enable_$ac_useropt"
1886 "*) ;;
1887 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1888 ac_unrecognized_sep=', ';;
1889 esac
1890 eval enable_$ac_useropt=no ;;
1892 -docdir | --docdir | --docdi | --doc | --do)
1893 ac_prev=docdir ;;
1894 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1895 docdir=$ac_optarg ;;
1897 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1898 ac_prev=dvidir ;;
1899 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1900 dvidir=$ac_optarg ;;
1902 -enable-* | --enable-*)
1903 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1904 # Reject names that are not valid shell variable names.
1905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1906 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1907 ac_useropt_orig=$ac_useropt
1908 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1909 case $ac_user_opts in
1911 "enable_$ac_useropt"
1912 "*) ;;
1913 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1914 ac_unrecognized_sep=', ';;
1915 esac
1916 eval enable_$ac_useropt=\$ac_optarg ;;
1918 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1919 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1920 | --exec | --exe | --ex)
1921 ac_prev=exec_prefix ;;
1922 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1923 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1924 | --exec=* | --exe=* | --ex=*)
1925 exec_prefix=$ac_optarg ;;
1927 -gas | --gas | --ga | --g)
1928 # Obsolete; use --with-gas.
1929 with_gas=yes ;;
1931 -help | --help | --hel | --he | -h)
1932 ac_init_help=long ;;
1933 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1934 ac_init_help=recursive ;;
1935 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1936 ac_init_help=short ;;
1938 -host | --host | --hos | --ho)
1939 ac_prev=host_alias ;;
1940 -host=* | --host=* | --hos=* | --ho=*)
1941 host_alias=$ac_optarg ;;
1943 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1944 ac_prev=htmldir ;;
1945 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1946 | --ht=*)
1947 htmldir=$ac_optarg ;;
1949 -includedir | --includedir | --includedi | --included | --include \
1950 | --includ | --inclu | --incl | --inc)
1951 ac_prev=includedir ;;
1952 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1953 | --includ=* | --inclu=* | --incl=* | --inc=*)
1954 includedir=$ac_optarg ;;
1956 -infodir | --infodir | --infodi | --infod | --info | --inf)
1957 ac_prev=infodir ;;
1958 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1959 infodir=$ac_optarg ;;
1961 -libdir | --libdir | --libdi | --libd)
1962 ac_prev=libdir ;;
1963 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1964 libdir=$ac_optarg ;;
1966 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1967 | --libexe | --libex | --libe)
1968 ac_prev=libexecdir ;;
1969 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1970 | --libexe=* | --libex=* | --libe=*)
1971 libexecdir=$ac_optarg ;;
1973 -localedir | --localedir | --localedi | --localed | --locale)
1974 ac_prev=localedir ;;
1975 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1976 localedir=$ac_optarg ;;
1978 -localstatedir | --localstatedir | --localstatedi | --localstated \
1979 | --localstate | --localstat | --localsta | --localst | --locals)
1980 ac_prev=localstatedir ;;
1981 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1982 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1983 localstatedir=$ac_optarg ;;
1985 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1986 ac_prev=mandir ;;
1987 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1988 mandir=$ac_optarg ;;
1990 -nfp | --nfp | --nf)
1991 # Obsolete; use --without-fp.
1992 with_fp=no ;;
1994 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1995 | --no-cr | --no-c | -n)
1996 no_create=yes ;;
1998 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1999 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2000 no_recursion=yes ;;
2002 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2003 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2004 | --oldin | --oldi | --old | --ol | --o)
2005 ac_prev=oldincludedir ;;
2006 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2007 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2008 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2009 oldincludedir=$ac_optarg ;;
2011 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2012 ac_prev=prefix ;;
2013 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2014 prefix=$ac_optarg ;;
2016 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2017 | --program-pre | --program-pr | --program-p)
2018 ac_prev=program_prefix ;;
2019 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2020 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2021 program_prefix=$ac_optarg ;;
2023 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2024 | --program-suf | --program-su | --program-s)
2025 ac_prev=program_suffix ;;
2026 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2027 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2028 program_suffix=$ac_optarg ;;
2030 -program-transform-name | --program-transform-name \
2031 | --program-transform-nam | --program-transform-na \
2032 | --program-transform-n | --program-transform- \
2033 | --program-transform | --program-transfor \
2034 | --program-transfo | --program-transf \
2035 | --program-trans | --program-tran \
2036 | --progr-tra | --program-tr | --program-t)
2037 ac_prev=program_transform_name ;;
2038 -program-transform-name=* | --program-transform-name=* \
2039 | --program-transform-nam=* | --program-transform-na=* \
2040 | --program-transform-n=* | --program-transform-=* \
2041 | --program-transform=* | --program-transfor=* \
2042 | --program-transfo=* | --program-transf=* \
2043 | --program-trans=* | --program-tran=* \
2044 | --progr-tra=* | --program-tr=* | --program-t=*)
2045 program_transform_name=$ac_optarg ;;
2047 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2048 ac_prev=pdfdir ;;
2049 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2050 pdfdir=$ac_optarg ;;
2052 -psdir | --psdir | --psdi | --psd | --ps)
2053 ac_prev=psdir ;;
2054 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2055 psdir=$ac_optarg ;;
2057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2058 | -silent | --silent | --silen | --sile | --sil)
2059 silent=yes ;;
2061 -runstatedir | --runstatedir | --runstatedi | --runstated \
2062 | --runstate | --runstat | --runsta | --runst | --runs \
2063 | --run | --ru | --r)
2064 ac_prev=runstatedir ;;
2065 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2066 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2067 | --run=* | --ru=* | --r=*)
2068 runstatedir=$ac_optarg ;;
2070 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2071 ac_prev=sbindir ;;
2072 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2073 | --sbi=* | --sb=*)
2074 sbindir=$ac_optarg ;;
2076 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2077 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2078 | --sharedst | --shareds | --shared | --share | --shar \
2079 | --sha | --sh)
2080 ac_prev=sharedstatedir ;;
2081 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2082 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2083 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2084 | --sha=* | --sh=*)
2085 sharedstatedir=$ac_optarg ;;
2087 -site | --site | --sit)
2088 ac_prev=site ;;
2089 -site=* | --site=* | --sit=*)
2090 site=$ac_optarg ;;
2092 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2093 ac_prev=srcdir ;;
2094 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2095 srcdir=$ac_optarg ;;
2097 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2098 | --syscon | --sysco | --sysc | --sys | --sy)
2099 ac_prev=sysconfdir ;;
2100 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2101 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2102 sysconfdir=$ac_optarg ;;
2104 -target | --target | --targe | --targ | --tar | --ta | --t)
2105 ac_prev=target_alias ;;
2106 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2107 target_alias=$ac_optarg ;;
2109 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2110 verbose=yes ;;
2112 -version | --version | --versio | --versi | --vers | -V)
2113 ac_init_version=: ;;
2115 -with-* | --with-*)
2116 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2117 # Reject names that are not valid shell variable names.
2118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2119 as_fn_error $? "invalid package name: \`$ac_useropt'"
2120 ac_useropt_orig=$ac_useropt
2121 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2122 case $ac_user_opts in
2124 "with_$ac_useropt"
2125 "*) ;;
2126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2127 ac_unrecognized_sep=', ';;
2128 esac
2129 eval with_$ac_useropt=\$ac_optarg ;;
2131 -without-* | --without-*)
2132 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2133 # Reject names that are not valid shell variable names.
2134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2135 as_fn_error $? "invalid package name: \`$ac_useropt'"
2136 ac_useropt_orig=$ac_useropt
2137 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2138 case $ac_user_opts in
2140 "with_$ac_useropt"
2141 "*) ;;
2142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2143 ac_unrecognized_sep=', ';;
2144 esac
2145 eval with_$ac_useropt=no ;;
2147 --x)
2148 # Obsolete; use --with-x.
2149 with_x=yes ;;
2151 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2152 | --x-incl | --x-inc | --x-in | --x-i)
2153 ac_prev=x_includes ;;
2154 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2155 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2156 x_includes=$ac_optarg ;;
2158 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2159 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2160 ac_prev=x_libraries ;;
2161 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2162 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2163 x_libraries=$ac_optarg ;;
2165 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2166 Try \`$0 --help' for more information"
2169 *=*)
2170 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2171 # Reject names that are not valid shell variable names.
2172 case $ac_envvar in #(
2173 '' | [0-9]* | *[!_$as_cr_alnum]* )
2174 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2175 esac
2176 eval $ac_envvar=\$ac_optarg
2177 export $ac_envvar ;;
2180 # FIXME: should be removed in autoconf 3.0.
2181 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2183 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2184 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2187 esac
2188 done
2190 if test -n "$ac_prev"; then
2191 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2192 as_fn_error $? "missing argument to $ac_option"
2195 if test -n "$ac_unrecognized_opts"; then
2196 case $enable_option_checking in
2197 no) ;;
2198 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2199 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2200 esac
2203 # Check all directory arguments for consistency.
2204 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2205 datadir sysconfdir sharedstatedir localstatedir includedir \
2206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2207 libdir localedir mandir runstatedir
2209 eval ac_val=\$$ac_var
2210 # Remove trailing slashes.
2211 case $ac_val in
2212 */ )
2213 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2214 eval $ac_var=\$ac_val;;
2215 esac
2216 # Be sure to have absolute directory names.
2217 case $ac_val in
2218 [\\/$]* | ?:[\\/]* ) continue;;
2219 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2220 esac
2221 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2222 done
2224 # There might be people who depend on the old broken behavior: `$host'
2225 # used to hold the argument of --host etc.
2226 # FIXME: To remove some day.
2227 build=$build_alias
2228 host=$host_alias
2229 target=$target_alias
2231 # FIXME: To remove some day.
2232 if test "x$host_alias" != x; then
2233 if test "x$build_alias" = x; then
2234 cross_compiling=maybe
2235 elif test "x$build_alias" != "x$host_alias"; then
2236 cross_compiling=yes
2240 ac_tool_prefix=
2241 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2243 test "$silent" = yes && exec 6>/dev/null
2246 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2247 ac_ls_di=`ls -di .` &&
2248 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2249 as_fn_error $? "working directory cannot be determined"
2250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2251 as_fn_error $? "pwd does not report name of working directory"
2254 # Find the source files, if location was not specified.
2255 if test -z "$srcdir"; then
2256 ac_srcdir_defaulted=yes
2257 # Try the directory containing this script, then the parent directory.
2258 ac_confdir=`$as_dirname -- "$as_myself" ||
2259 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2260 X"$as_myself" : 'X\(//\)[^/]' \| \
2261 X"$as_myself" : 'X\(//\)$' \| \
2262 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2263 printf "%s\n" X"$as_myself" |
2264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2265 s//\1/
2268 /^X\(\/\/\)[^/].*/{
2269 s//\1/
2272 /^X\(\/\/\)$/{
2273 s//\1/
2276 /^X\(\/\).*/{
2277 s//\1/
2280 s/.*/./; q'`
2281 srcdir=$ac_confdir
2282 if test ! -r "$srcdir/$ac_unique_file"; then
2283 srcdir=..
2285 else
2286 ac_srcdir_defaulted=no
2288 if test ! -r "$srcdir/$ac_unique_file"; then
2289 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2290 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2292 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2293 ac_abs_confdir=`(
2294 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2295 pwd)`
2296 # When building in place, set srcdir=.
2297 if test "$ac_abs_confdir" = "$ac_pwd"; then
2298 srcdir=.
2300 # Remove unnecessary trailing slashes from srcdir.
2301 # Double slashes in file names in object file debugging info
2302 # mess up M-x gdb in Emacs.
2303 case $srcdir in
2304 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2305 esac
2306 for ac_var in $ac_precious_vars; do
2307 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2308 eval ac_env_${ac_var}_value=\$${ac_var}
2309 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2310 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2311 done
2314 # Report the --help message.
2316 if test "$ac_init_help" = "long"; then
2317 # Omit some internal or obsolete options to make the list less imposing.
2318 # This message is too long to be a string in the A/UX 3.1 sh.
2319 cat <<_ACEOF
2320 \`configure' configures Wine 7.20 to adapt to many kinds of systems.
2322 Usage: $0 [OPTION]... [VAR=VALUE]...
2324 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2325 VAR=VALUE. See below for descriptions of some of the useful variables.
2327 Defaults for the options are specified in brackets.
2329 Configuration:
2330 -h, --help display this help and exit
2331 --help=short display options specific to this package
2332 --help=recursive display the short help of all the included packages
2333 -V, --version display version information and exit
2334 -q, --quiet, --silent do not print \`checking ...' messages
2335 --cache-file=FILE cache test results in FILE [disabled]
2336 -C, --config-cache alias for \`--cache-file=config.cache'
2337 -n, --no-create do not create output files
2338 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2340 Installation directories:
2341 --prefix=PREFIX install architecture-independent files in PREFIX
2342 [$ac_default_prefix]
2343 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2344 [PREFIX]
2346 By default, \`make install' will install all the files in
2347 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2348 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2349 for instance \`--prefix=\$HOME'.
2351 For better control, use the options below.
2353 Fine tuning of the installation directories:
2354 --bindir=DIR user executables [EPREFIX/bin]
2355 --sbindir=DIR system admin executables [EPREFIX/sbin]
2356 --libexecdir=DIR program executables [EPREFIX/libexec]
2357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2359 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2360 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2361 --libdir=DIR object code libraries [EPREFIX/lib]
2362 --includedir=DIR C header files [PREFIX/include]
2363 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2366 --infodir=DIR info documentation [DATAROOTDIR/info]
2367 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2368 --mandir=DIR man documentation [DATAROOTDIR/man]
2369 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2370 --htmldir=DIR html documentation [DOCDIR]
2371 --dvidir=DIR dvi documentation [DOCDIR]
2372 --pdfdir=DIR pdf documentation [DOCDIR]
2373 --psdir=DIR ps documentation [DOCDIR]
2374 _ACEOF
2376 cat <<\_ACEOF
2378 X features:
2379 --x-includes=DIR X include files are in DIR
2380 --x-libraries=DIR X library files are in DIR
2382 System types:
2383 --build=BUILD configure for building on BUILD [guessed]
2384 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2385 _ACEOF
2388 if test -n "$ac_init_help"; then
2389 case $ac_init_help in
2390 short | recursive ) echo "Configuration of Wine 7.20:";;
2391 esac
2392 cat <<\_ACEOF
2394 Optional Features:
2395 --disable-option-checking ignore unrecognized --enable/--with options
2396 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2397 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2398 --enable-archs={i386,x86_64,arm,aarch64}
2399 enable multiple architectures for PE compilation
2400 --disable-win16 do not include Win16 support
2401 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2402 binaries)
2403 --disable-tests do not build the regression tests
2404 --enable-build-id include .buildid section in output objects
2405 --enable-maintainer-mode
2406 enable maintainer-specific build rules
2407 --enable-silent-rules use silent build rules (override: "make V=1")
2408 --enable-werror treat compilation warnings as errors
2409 --disable-largefile omit support for large files
2411 Optional Packages:
2412 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2413 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2414 --without-alsa do not use the Alsa sound support
2415 --without-capi do not use CAPI (ISDN support)
2416 --without-coreaudio do not use the CoreAudio sound support
2417 --without-cups do not use CUPS
2418 --without-dbus do not use DBus (dynamic device support)
2419 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2420 --without-fontconfig do not use fontconfig
2421 --without-freetype do not use the FreeType library
2422 --without-gettext do not use gettext
2423 --with-gettextpo use the GetTextPO library to rebuild po files
2424 --without-gphoto do not use gphoto (Digital Camera support)
2425 --without-gnutls do not use GnuTLS (schannel support)
2426 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2427 --without-gstreamer do not use GStreamer (codecs support)
2428 --without-inotify do not use inotify (filesystem change notifications)
2429 --without-krb5 do not use krb5 (Kerberos)
2430 --without-ldap do not use LDAP
2431 --without-mingw do not use the MinGW cross-compiler
2432 --without-netapi do not use the Samba NetAPI library
2433 --without-openal do not use OpenAL
2434 --without-opencl do not use OpenCL
2435 --without-opengl do not use OpenGL
2436 --without-osmesa do not use the OSMesa library
2437 --without-oss do not use the OSS sound support
2438 --without-pcap do not use the Packet Capture library
2439 --without-pthread do not use the pthread library
2440 --without-pulse do not use PulseAudio sound support
2441 --without-sane do not use SANE (scanner support)
2442 --without-sdl do not use SDL
2443 --without-udev do not use udev (plug and play support)
2444 --without-unwind do not use the libunwind library (exception
2445 handling)
2446 --without-usb do not use the libusb library
2447 --without-v4l2 do not use v4l2 (video capture)
2448 --without-vulkan do not use Vulkan
2449 --without-xcomposite do not use the Xcomposite extension
2450 --without-xcursor do not use the Xcursor extension
2451 --without-xfixes do not use Xfixes for clipboard change notifications
2452 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2453 --without-xinput do not use the Xinput extension
2454 --without-xinput2 do not use the Xinput 2 extension
2455 --without-xrandr do not use Xrandr (multi-monitor support)
2456 --without-xrender do not use the Xrender extension
2457 --without-xshape do not use the Xshape extension
2458 --without-xshm do not use XShm (shared memory extension)
2459 --without-xxf86vm do not use XFree video mode extension
2460 --with-system-dllpath=PATH
2461 load external PE dependencies from colon-separated
2462 path PATH
2463 --with-wine-tools=DIR use Wine tools from directory DIR
2464 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2465 --with-x use the X Window System
2467 Some influential environment variables:
2468 CC C compiler command
2469 CFLAGS C compiler flags
2470 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2471 nonstandard directory <lib dir>
2472 LIBS libraries to pass to the linker, e.g. -l<library>
2473 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2474 you have headers in a nonstandard directory <include dir>
2475 CXX C++ compiler command
2476 CXXFLAGS C++ compiler flags
2477 OBJC Objective C compiler command
2478 OBJCFLAGS Objective C compiler flags
2479 FAUDIO_PE_CFLAGS
2480 C compiler flags for the PE faudio, overriding the bundled
2481 version
2482 FAUDIO_PE_LIBS
2483 Linker flags for the PE faudio, overriding the bundled version
2484 GSM_PE_CFLAGS
2485 C compiler flags for the PE gsm, overriding the bundled version
2486 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2487 JPEG_PE_CFLAGS
2488 C compiler flags for the PE jpeg, overriding the bundled version
2489 JPEG_PE_LIBS
2490 Linker flags for the PE jpeg, overriding the bundled version
2491 JXR_PE_CFLAGS
2492 C compiler flags for the PE jxr, overriding the bundled version
2493 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2494 LCMS2_PE_CFLAGS
2495 C compiler flags for the PE lcms2, overriding the bundled
2496 version
2497 LCMS2_PE_LIBS
2498 Linker flags for the PE lcms2, overriding the bundled version
2499 MPG123_PE_CFLAGS
2500 C compiler flags for the PE mpg123, overriding the bundled
2501 version
2502 MPG123_PE_LIBS
2503 Linker flags for the PE mpg123, overriding the bundled version
2504 PNG_PE_CFLAGS
2505 C compiler flags for the PE png, overriding the bundled version
2506 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2507 TIFF_PE_CFLAGS
2508 C compiler flags for the PE tiff, overriding the bundled version
2509 TIFF_PE_LIBS
2510 Linker flags for the PE tiff, overriding the bundled version
2511 VKD3D_PE_CFLAGS
2512 C compiler flags for the PE vkd3d, overriding the bundled
2513 version
2514 VKD3D_PE_LIBS
2515 Linker flags for the PE vkd3d, overriding the bundled version
2516 XML2_PE_CFLAGS
2517 C compiler flags for the PE xml2, overriding the bundled version
2518 XML2_PE_LIBS
2519 Linker flags for the PE xml2, overriding the bundled version
2520 XSLT_PE_CFLAGS
2521 C compiler flags for the PE xslt, overriding the bundled version
2522 XSLT_PE_LIBS
2523 Linker flags for the PE xslt, overriding the bundled version
2524 ZLIB_PE_CFLAGS
2525 C compiler flags for the PE zlib, overriding the bundled version
2526 ZLIB_PE_LIBS
2527 Linker flags for the PE zlib, overriding the bundled version
2528 XMKMF Path to xmkmf, Makefile generator for X Window System
2529 CPP C preprocessor
2530 INOTIFY_CFLAGS
2531 C compiler flags for libinotify, overriding pkg-config
2532 INOTIFY_LIBS
2533 Linker flags for libinotify, overriding pkg-config
2534 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2535 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2536 GNUTLS_CFLAGS
2537 C compiler flags for gnutls, overriding pkg-config
2538 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2539 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2540 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2541 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2542 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2543 GPHOTO2_CFLAGS
2544 C compiler flags for libgphoto2, overriding pkg-config
2545 GPHOTO2_LIBS
2546 Linker flags for libgphoto2, overriding pkg-config
2547 GPHOTO2_PORT_CFLAGS
2548 C compiler flags for libgphoto2_port, overriding pkg-config
2549 GPHOTO2_PORT_LIBS
2550 Linker flags for libgphoto2_port, overriding pkg-config
2551 FREETYPE_CFLAGS
2552 C compiler flags for freetype2, overriding pkg-config
2553 FREETYPE_LIBS
2554 Linker flags for freetype2, overriding pkg-config
2555 PULSE_CFLAGS
2556 C compiler flags for libpulse, overriding pkg-config
2557 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2558 GSTREAMER_CFLAGS
2559 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2560 gstreamer-audio-1.0, overriding pkg-config
2561 GSTREAMER_LIBS
2562 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2563 gstreamer-audio-1.0, overriding pkg-config
2564 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2565 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2566 UNWIND_CFLAGS
2567 C compiler flags for libunwind, overriding pkg-config
2568 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2569 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2570 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2571 CAPI20_CFLAGS
2572 C compiler flags for capi20, overriding pkg-config
2573 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2574 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2575 CUPS_LIBS Linker flags for cups, overriding pkg-config
2576 FONTCONFIG_CFLAGS
2577 C compiler flags for fontconfig, overriding pkg-config
2578 FONTCONFIG_LIBS
2579 Linker flags for fontconfig, overriding pkg-config
2580 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2581 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2582 GSSAPI_CFLAGS
2583 C compiler flags for krb5-gssapi, overriding pkg-config
2584 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2585 NETAPI_CFLAGS
2586 C compiler flags for netapi, overriding pkg-config
2587 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2588 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2589 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2591 Use these variables to override the choices made by `configure' or to help
2592 it to find libraries and programs with nonstandard names/locations.
2594 Report bugs to <wine-devel@winehq.org>.
2595 Wine home page: <https://www.winehq.org>.
2596 _ACEOF
2597 ac_status=$?
2600 if test "$ac_init_help" = "recursive"; then
2601 # If there are subdirs, report their specific --help.
2602 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2603 test -d "$ac_dir" ||
2604 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2605 continue
2606 ac_builddir=.
2608 case "$ac_dir" in
2609 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2611 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2612 # A ".." for each directory in $ac_dir_suffix.
2613 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2614 case $ac_top_builddir_sub in
2615 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2616 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2617 esac ;;
2618 esac
2619 ac_abs_top_builddir=$ac_pwd
2620 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2621 # for backward compatibility:
2622 ac_top_builddir=$ac_top_build_prefix
2624 case $srcdir in
2625 .) # We are building in place.
2626 ac_srcdir=.
2627 ac_top_srcdir=$ac_top_builddir_sub
2628 ac_abs_top_srcdir=$ac_pwd ;;
2629 [\\/]* | ?:[\\/]* ) # Absolute name.
2630 ac_srcdir=$srcdir$ac_dir_suffix;
2631 ac_top_srcdir=$srcdir
2632 ac_abs_top_srcdir=$srcdir ;;
2633 *) # Relative name.
2634 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2635 ac_top_srcdir=$ac_top_build_prefix$srcdir
2636 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2637 esac
2638 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2640 cd "$ac_dir" || { ac_status=$?; continue; }
2641 # Check for configure.gnu first; this name is used for a wrapper for
2642 # Metaconfig's "Configure" on case-insensitive file systems.
2643 if test -f "$ac_srcdir/configure.gnu"; then
2644 echo &&
2645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2646 elif test -f "$ac_srcdir/configure"; then
2647 echo &&
2648 $SHELL "$ac_srcdir/configure" --help=recursive
2649 else
2650 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2651 fi || ac_status=$?
2652 cd "$ac_pwd" || { ac_status=$?; break; }
2653 done
2656 test -n "$ac_init_help" && exit $ac_status
2657 if $ac_init_version; then
2658 cat <<\_ACEOF
2659 Wine configure 7.20
2660 generated by GNU Autoconf 2.71
2662 Copyright (C) 2021 Free Software Foundation, Inc.
2663 This configure script is free software; the Free Software Foundation
2664 gives unlimited permission to copy, distribute and modify it.
2665 _ACEOF
2666 exit
2669 ## ------------------------ ##
2670 ## Autoconf initialization. ##
2671 ## ------------------------ ##
2673 # ac_fn_c_try_compile LINENO
2674 # --------------------------
2675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2676 ac_fn_c_try_compile ()
2678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2679 rm -f conftest.$ac_objext conftest.beam
2680 if { { ac_try="$ac_compile"
2681 case "(($ac_try" in
2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2683 *) ac_try_echo=$ac_try;;
2684 esac
2685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2686 printf "%s\n" "$ac_try_echo"; } >&5
2687 (eval "$ac_compile") 2>conftest.err
2688 ac_status=$?
2689 if test -s conftest.err; then
2690 grep -v '^ *+' conftest.err >conftest.er1
2691 cat conftest.er1 >&5
2692 mv -f conftest.er1 conftest.err
2694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695 test $ac_status = 0; } && {
2696 test -z "$ac_c_werror_flag" ||
2697 test ! -s conftest.err
2698 } && test -s conftest.$ac_objext
2699 then :
2700 ac_retval=0
2701 else $as_nop
2702 printf "%s\n" "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.$ac_ext >&5
2705 ac_retval=1
2707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2708 as_fn_set_status $ac_retval
2710 } # ac_fn_c_try_compile
2712 # ac_fn_cxx_try_compile LINENO
2713 # ----------------------------
2714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2715 ac_fn_cxx_try_compile ()
2717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2718 rm -f conftest.$ac_objext conftest.beam
2719 if { { ac_try="$ac_compile"
2720 case "(($ac_try" in
2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2722 *) ac_try_echo=$ac_try;;
2723 esac
2724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2725 printf "%s\n" "$ac_try_echo"; } >&5
2726 (eval "$ac_compile") 2>conftest.err
2727 ac_status=$?
2728 if test -s conftest.err; then
2729 grep -v '^ *+' conftest.err >conftest.er1
2730 cat conftest.er1 >&5
2731 mv -f conftest.er1 conftest.err
2733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2734 test $ac_status = 0; } && {
2735 test -z "$ac_cxx_werror_flag" ||
2736 test ! -s conftest.err
2737 } && test -s conftest.$ac_objext
2738 then :
2739 ac_retval=0
2740 else $as_nop
2741 printf "%s\n" "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.$ac_ext >&5
2744 ac_retval=1
2746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2747 as_fn_set_status $ac_retval
2749 } # ac_fn_cxx_try_compile
2751 # ac_fn_c_try_link LINENO
2752 # -----------------------
2753 # Try to link conftest.$ac_ext, and return whether this succeeded.
2754 ac_fn_c_try_link ()
2756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2757 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2758 if { { ac_try="$ac_link"
2759 case "(($ac_try" in
2760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2762 esac
2763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2764 printf "%s\n" "$ac_try_echo"; } >&5
2765 (eval "$ac_link") 2>conftest.err
2766 ac_status=$?
2767 if test -s conftest.err; then
2768 grep -v '^ *+' conftest.err >conftest.er1
2769 cat conftest.er1 >&5
2770 mv -f conftest.er1 conftest.err
2772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2773 test $ac_status = 0; } && {
2774 test -z "$ac_c_werror_flag" ||
2775 test ! -s conftest.err
2776 } && test -s conftest$ac_exeext && {
2777 test "$cross_compiling" = yes ||
2778 test -x conftest$ac_exeext
2780 then :
2781 ac_retval=0
2782 else $as_nop
2783 printf "%s\n" "$as_me: failed program was:" >&5
2784 sed 's/^/| /' conftest.$ac_ext >&5
2786 ac_retval=1
2788 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2789 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2790 # interfere with the next link command; also delete a directory that is
2791 # left behind by Apple's compiler. We do this before executing the actions.
2792 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2794 as_fn_set_status $ac_retval
2796 } # ac_fn_c_try_link
2798 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2799 # -------------------------------------------------------
2800 # Tests whether HEADER exists and can be compiled using the include files in
2801 # INCLUDES, setting the cache variable VAR accordingly.
2802 ac_fn_c_check_header_compile ()
2804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2806 printf %s "checking for $2... " >&6; }
2807 if eval test \${$3+y}
2808 then :
2809 printf %s "(cached) " >&6
2810 else $as_nop
2811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h. */
2814 #include <$2>
2815 _ACEOF
2816 if ac_fn_c_try_compile "$LINENO"
2817 then :
2818 eval "$3=yes"
2819 else $as_nop
2820 eval "$3=no"
2822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2824 eval ac_res=\$$3
2825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2826 printf "%s\n" "$ac_res" >&6; }
2827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2829 } # ac_fn_c_check_header_compile
2831 # ac_fn_objc_try_compile LINENO
2832 # -----------------------------
2833 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2834 ac_fn_objc_try_compile ()
2836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2837 rm -f conftest.$ac_objext conftest.beam
2838 if { { ac_try="$ac_compile"
2839 case "(($ac_try" in
2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2841 *) ac_try_echo=$ac_try;;
2842 esac
2843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2844 printf "%s\n" "$ac_try_echo"; } >&5
2845 (eval "$ac_compile") 2>conftest.err
2846 ac_status=$?
2847 if test -s conftest.err; then
2848 grep -v '^ *+' conftest.err >conftest.er1
2849 cat conftest.er1 >&5
2850 mv -f conftest.er1 conftest.err
2852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2853 test $ac_status = 0; } && {
2854 test -z "$ac_objc_werror_flag" ||
2855 test ! -s conftest.err
2856 } && test -s conftest.$ac_objext
2857 then :
2858 ac_retval=0
2859 else $as_nop
2860 printf "%s\n" "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.$ac_ext >&5
2863 ac_retval=1
2865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2866 as_fn_set_status $ac_retval
2868 } # ac_fn_objc_try_compile
2870 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2871 # ----------------------------------------------------------
2872 # Tests whether HEADER exists and can be compiled using the include files in
2873 # INCLUDES, setting the cache variable VAR accordingly.
2874 ac_fn_objc_check_header_compile ()
2876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2878 printf %s "checking for $2... " >&6; }
2879 if eval test \${$3+y}
2880 then :
2881 printf %s "(cached) " >&6
2882 else $as_nop
2883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2884 /* end confdefs.h. */
2886 #include <$2>
2887 _ACEOF
2888 if ac_fn_objc_try_compile "$LINENO"
2889 then :
2890 eval "$3=yes"
2891 else $as_nop
2892 eval "$3=no"
2894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2896 eval ac_res=\$$3
2897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2898 printf "%s\n" "$ac_res" >&6; }
2899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2901 } # ac_fn_objc_check_header_compile
2903 # ac_fn_c_check_func LINENO FUNC VAR
2904 # ----------------------------------
2905 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2906 ac_fn_c_check_func ()
2908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2910 printf %s "checking for $2... " >&6; }
2911 if eval test \${$3+y}
2912 then :
2913 printf %s "(cached) " >&6
2914 else $as_nop
2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2917 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2919 #define $2 innocuous_$2
2921 /* System header to define __stub macros and hopefully few prototypes,
2922 which can conflict with char $2 (); below. */
2924 #include <limits.h>
2925 #undef $2
2927 /* Override any GCC internal prototype to avoid an error.
2928 Use char because int might match the return type of a GCC
2929 builtin and then its argument prototype would still apply. */
2930 #ifdef __cplusplus
2931 extern "C"
2932 #endif
2933 char $2 ();
2934 /* The GNU C library defines this for functions which it implements
2935 to always fail with ENOSYS. Some functions are actually named
2936 something starting with __ and the normal name is an alias. */
2937 #if defined __stub_$2 || defined __stub___$2
2938 choke me
2939 #endif
2942 main (void)
2944 return $2 ();
2946 return 0;
2948 _ACEOF
2949 if ac_fn_c_try_link "$LINENO"
2950 then :
2951 eval "$3=yes"
2952 else $as_nop
2953 eval "$3=no"
2955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2956 conftest$ac_exeext conftest.$ac_ext
2958 eval ac_res=\$$3
2959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2960 printf "%s\n" "$ac_res" >&6; }
2961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2963 } # ac_fn_c_check_func
2965 # ac_fn_c_try_cpp LINENO
2966 # ----------------------
2967 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2968 ac_fn_c_try_cpp ()
2970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2971 if { { ac_try="$ac_cpp conftest.$ac_ext"
2972 case "(($ac_try" in
2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2975 esac
2976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2977 printf "%s\n" "$ac_try_echo"; } >&5
2978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2979 ac_status=$?
2980 if test -s conftest.err; then
2981 grep -v '^ *+' conftest.err >conftest.er1
2982 cat conftest.er1 >&5
2983 mv -f conftest.er1 conftest.err
2985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2986 test $ac_status = 0; } > conftest.i && {
2987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2988 test ! -s conftest.err
2990 then :
2991 ac_retval=0
2992 else $as_nop
2993 printf "%s\n" "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2996 ac_retval=1
2998 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2999 as_fn_set_status $ac_retval
3001 } # ac_fn_c_try_cpp
3003 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3004 # ----------------------------------------------------
3005 # Tries to find if the field MEMBER exists in type AGGR, after including
3006 # INCLUDES, setting cache variable VAR accordingly.
3007 ac_fn_c_check_member ()
3009 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3011 printf %s "checking for $2.$3... " >&6; }
3012 if eval test \${$4+y}
3013 then :
3014 printf %s "(cached) " >&6
3015 else $as_nop
3016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3017 /* end confdefs.h. */
3020 main (void)
3022 static $2 ac_aggr;
3023 if (ac_aggr.$3)
3024 return 0;
3026 return 0;
3028 _ACEOF
3029 if ac_fn_c_try_compile "$LINENO"
3030 then :
3031 eval "$4=yes"
3032 else $as_nop
3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034 /* end confdefs.h. */
3037 main (void)
3039 static $2 ac_aggr;
3040 if (sizeof ac_aggr.$3)
3041 return 0;
3043 return 0;
3045 _ACEOF
3046 if ac_fn_c_try_compile "$LINENO"
3047 then :
3048 eval "$4=yes"
3049 else $as_nop
3050 eval "$4=no"
3052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3056 eval ac_res=\$$4
3057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3058 printf "%s\n" "$ac_res" >&6; }
3059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3061 } # ac_fn_c_check_member
3063 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3064 # -------------------------------------------
3065 # Tests whether TYPE exists after having included INCLUDES, setting cache
3066 # variable VAR accordingly.
3067 ac_fn_c_check_type ()
3069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3071 printf %s "checking for $2... " >&6; }
3072 if eval test \${$3+y}
3073 then :
3074 printf %s "(cached) " >&6
3075 else $as_nop
3076 eval "$3=no"
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3081 main (void)
3083 if (sizeof ($2))
3084 return 0;
3086 return 0;
3088 _ACEOF
3089 if ac_fn_c_try_compile "$LINENO"
3090 then :
3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3095 main (void)
3097 if (sizeof (($2)))
3098 return 0;
3100 return 0;
3102 _ACEOF
3103 if ac_fn_c_try_compile "$LINENO"
3104 then :
3106 else $as_nop
3107 eval "$3=yes"
3109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3113 eval ac_res=\$$3
3114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3115 printf "%s\n" "$ac_res" >&6; }
3116 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3118 } # ac_fn_c_check_type
3119 ac_configure_args_raw=
3120 for ac_arg
3122 case $ac_arg in
3123 *\'*)
3124 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3125 esac
3126 as_fn_append ac_configure_args_raw " '$ac_arg'"
3127 done
3129 case $ac_configure_args_raw in
3130 *$as_nl*)
3131 ac_safe_unquote= ;;
3133 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3134 ac_unsafe_a="$ac_unsafe_z#~"
3135 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3136 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3137 esac
3139 cat >config.log <<_ACEOF
3140 This file contains any messages produced by compilers while
3141 running configure, to aid debugging if configure makes a mistake.
3143 It was created by Wine $as_me 7.20, which was
3144 generated by GNU Autoconf 2.71. Invocation command line was
3146 $ $0$ac_configure_args_raw
3148 _ACEOF
3149 exec 5>>config.log
3151 cat <<_ASUNAME
3152 ## --------- ##
3153 ## Platform. ##
3154 ## --------- ##
3156 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3157 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3158 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3159 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3160 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3162 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3163 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3165 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3166 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3167 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3168 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3169 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3170 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3171 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3173 _ASUNAME
3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176 for as_dir in $PATH
3178 IFS=$as_save_IFS
3179 case $as_dir in #(((
3180 '') as_dir=./ ;;
3181 */) ;;
3182 *) as_dir=$as_dir/ ;;
3183 esac
3184 printf "%s\n" "PATH: $as_dir"
3185 done
3186 IFS=$as_save_IFS
3188 } >&5
3190 cat >&5 <<_ACEOF
3193 ## ----------- ##
3194 ## Core tests. ##
3195 ## ----------- ##
3197 _ACEOF
3200 # Keep a trace of the command line.
3201 # Strip out --no-create and --no-recursion so they do not pile up.
3202 # Strip out --silent because we don't want to record it for future runs.
3203 # Also quote any args containing shell meta-characters.
3204 # Make two passes to allow for proper duplicate-argument suppression.
3205 ac_configure_args=
3206 ac_configure_args0=
3207 ac_configure_args1=
3208 ac_must_keep_next=false
3209 for ac_pass in 1 2
3211 for ac_arg
3213 case $ac_arg in
3214 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3215 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3216 | -silent | --silent | --silen | --sile | --sil)
3217 continue ;;
3218 *\'*)
3219 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3220 esac
3221 case $ac_pass in
3222 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3224 as_fn_append ac_configure_args1 " '$ac_arg'"
3225 if test $ac_must_keep_next = true; then
3226 ac_must_keep_next=false # Got value, back to normal.
3227 else
3228 case $ac_arg in
3229 *=* | --config-cache | -C | -disable-* | --disable-* \
3230 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3231 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3232 | -with-* | --with-* | -without-* | --without-* | --x)
3233 case "$ac_configure_args0 " in
3234 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3235 esac
3237 -* ) ac_must_keep_next=true ;;
3238 esac
3240 as_fn_append ac_configure_args " '$ac_arg'"
3242 esac
3243 done
3244 done
3245 { ac_configure_args0=; unset ac_configure_args0;}
3246 { ac_configure_args1=; unset ac_configure_args1;}
3248 # When interrupted or exit'd, cleanup temporary files, and complete
3249 # config.log. We remove comments because anyway the quotes in there
3250 # would cause problems or look ugly.
3251 # WARNING: Use '\'' to represent an apostrophe within the trap.
3252 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3253 trap 'exit_status=$?
3254 # Sanitize IFS.
3255 IFS=" "" $as_nl"
3256 # Save into config.log some information that might help in debugging.
3258 echo
3260 printf "%s\n" "## ---------------- ##
3261 ## Cache variables. ##
3262 ## ---------------- ##"
3263 echo
3264 # The following way of writing the cache mishandles newlines in values,
3266 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3267 eval ac_val=\$$ac_var
3268 case $ac_val in #(
3269 *${as_nl}*)
3270 case $ac_var in #(
3271 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3272 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3273 esac
3274 case $ac_var in #(
3275 _ | IFS | as_nl) ;; #(
3276 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3277 *) { eval $ac_var=; unset $ac_var;} ;;
3278 esac ;;
3279 esac
3280 done
3281 (set) 2>&1 |
3282 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3283 *${as_nl}ac_space=\ *)
3284 sed -n \
3285 "s/'\''/'\''\\\\'\'''\''/g;
3286 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3287 ;; #(
3289 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3291 esac |
3292 sort
3294 echo
3296 printf "%s\n" "## ----------------- ##
3297 ## Output variables. ##
3298 ## ----------------- ##"
3299 echo
3300 for ac_var in $ac_subst_vars
3302 eval ac_val=\$$ac_var
3303 case $ac_val in
3304 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3305 esac
3306 printf "%s\n" "$ac_var='\''$ac_val'\''"
3307 done | sort
3308 echo
3310 if test -n "$ac_subst_files"; then
3311 printf "%s\n" "## ------------------- ##
3312 ## File substitutions. ##
3313 ## ------------------- ##"
3314 echo
3315 for ac_var in $ac_subst_files
3317 eval ac_val=\$$ac_var
3318 case $ac_val in
3319 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3320 esac
3321 printf "%s\n" "$ac_var='\''$ac_val'\''"
3322 done | sort
3323 echo
3326 if test -s confdefs.h; then
3327 printf "%s\n" "## ----------- ##
3328 ## confdefs.h. ##
3329 ## ----------- ##"
3330 echo
3331 cat confdefs.h
3332 echo
3334 test "$ac_signal" != 0 &&
3335 printf "%s\n" "$as_me: caught signal $ac_signal"
3336 printf "%s\n" "$as_me: exit $exit_status"
3337 } >&5
3338 rm -f core *.core core.conftest.* &&
3339 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3340 exit $exit_status
3342 for ac_signal in 1 2 13 15; do
3343 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3344 done
3345 ac_signal=0
3347 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3348 rm -f -r conftest* confdefs.h
3350 printf "%s\n" "/* confdefs.h */" > confdefs.h
3352 # Predefined preprocessor variables.
3354 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3356 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3358 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3360 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3362 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3364 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3367 # Let the site file select an alternate cache file if it wants to.
3368 # Prefer an explicitly selected file to automatically selected ones.
3369 if test -n "$CONFIG_SITE"; then
3370 ac_site_files="$CONFIG_SITE"
3371 elif test "x$prefix" != xNONE; then
3372 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3373 else
3374 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3377 for ac_site_file in $ac_site_files
3379 case $ac_site_file in #(
3380 */*) :
3381 ;; #(
3382 *) :
3383 ac_site_file=./$ac_site_file ;;
3384 esac
3385 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3387 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3388 sed 's/^/| /' "$ac_site_file" >&5
3389 . "$ac_site_file" \
3390 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3391 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3392 as_fn_error $? "failed to load site script $ac_site_file
3393 See \`config.log' for more details" "$LINENO" 5; }
3395 done
3397 if test -r "$cache_file"; then
3398 # Some versions of bash will fail to source /dev/null (special files
3399 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3400 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3402 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3403 case $cache_file in
3404 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3405 *) . "./$cache_file";;
3406 esac
3408 else
3409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3410 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3411 >$cache_file
3414 # Test code for whether the C compiler supports C89 (global declarations)
3415 ac_c_conftest_c89_globals='
3416 /* Does the compiler advertise C89 conformance?
3417 Do not test the value of __STDC__, because some compilers set it to 0
3418 while being otherwise adequately conformant. */
3419 #if !defined __STDC__
3420 # error "Compiler does not advertise C89 conformance"
3421 #endif
3423 #include <stddef.h>
3424 #include <stdarg.h>
3425 struct stat;
3426 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3427 struct buf { int x; };
3428 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3429 static char *e (p, i)
3430 char **p;
3431 int i;
3433 return p[i];
3435 static char *f (char * (*g) (char **, int), char **p, ...)
3437 char *s;
3438 va_list v;
3439 va_start (v,p);
3440 s = g (p, va_arg (v,int));
3441 va_end (v);
3442 return s;
3445 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3446 function prototypes and stuff, but not \xHH hex character constants.
3447 These do not provoke an error unfortunately, instead are silently treated
3448 as an "x". The following induces an error, until -std is added to get
3449 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3450 array size at least. It is necessary to write \x00 == 0 to get something
3451 that is true only with -std. */
3452 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3454 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3455 inside strings and character constants. */
3456 #define FOO(x) '\''x'\''
3457 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3459 int test (int i, double x);
3460 struct s1 {int (*f) (int a);};
3461 struct s2 {int (*f) (double a);};
3462 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3463 int, int);'
3465 # Test code for whether the C compiler supports C89 (body of main).
3466 ac_c_conftest_c89_main='
3467 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3470 # Test code for whether the C compiler supports C99 (global declarations)
3471 ac_c_conftest_c99_globals='
3472 // Does the compiler advertise C99 conformance?
3473 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3474 # error "Compiler does not advertise C99 conformance"
3475 #endif
3477 #include <stdbool.h>
3478 extern int puts (const char *);
3479 extern int printf (const char *, ...);
3480 extern int dprintf (int, const char *, ...);
3481 extern void *malloc (size_t);
3483 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3484 // dprintf is used instead of fprintf to avoid needing to declare
3485 // FILE and stderr.
3486 #define debug(...) dprintf (2, __VA_ARGS__)
3487 #define showlist(...) puts (#__VA_ARGS__)
3488 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3489 static void
3490 test_varargs_macros (void)
3492 int x = 1234;
3493 int y = 5678;
3494 debug ("Flag");
3495 debug ("X = %d\n", x);
3496 showlist (The first, second, and third items.);
3497 report (x>y, "x is %d but y is %d", x, y);
3500 // Check long long types.
3501 #define BIG64 18446744073709551615ull
3502 #define BIG32 4294967295ul
3503 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3504 #if !BIG_OK
3505 #error "your preprocessor is broken"
3506 #endif
3507 #if BIG_OK
3508 #else
3509 #error "your preprocessor is broken"
3510 #endif
3511 static long long int bignum = -9223372036854775807LL;
3512 static unsigned long long int ubignum = BIG64;
3514 struct incomplete_array
3516 int datasize;
3517 double data[];
3520 struct named_init {
3521 int number;
3522 const wchar_t *name;
3523 double average;
3526 typedef const char *ccp;
3528 static inline int
3529 test_restrict (ccp restrict text)
3531 // See if C++-style comments work.
3532 // Iterate through items via the restricted pointer.
3533 // Also check for declarations in for loops.
3534 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3535 continue;
3536 return 0;
3539 // Check varargs and va_copy.
3540 static bool
3541 test_varargs (const char *format, ...)
3543 va_list args;
3544 va_start (args, format);
3545 va_list args_copy;
3546 va_copy (args_copy, args);
3548 const char *str = "";
3549 int number = 0;
3550 float fnumber = 0;
3552 while (*format)
3554 switch (*format++)
3556 case '\''s'\'': // string
3557 str = va_arg (args_copy, const char *);
3558 break;
3559 case '\''d'\'': // int
3560 number = va_arg (args_copy, int);
3561 break;
3562 case '\''f'\'': // float
3563 fnumber = va_arg (args_copy, double);
3564 break;
3565 default:
3566 break;
3569 va_end (args_copy);
3570 va_end (args);
3572 return *str && number && fnumber;
3576 # Test code for whether the C compiler supports C99 (body of main).
3577 ac_c_conftest_c99_main='
3578 // Check bool.
3579 _Bool success = false;
3580 success |= (argc != 0);
3582 // Check restrict.
3583 if (test_restrict ("String literal") == 0)
3584 success = true;
3585 char *restrict newvar = "Another string";
3587 // Check varargs.
3588 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3589 test_varargs_macros ();
3591 // Check flexible array members.
3592 struct incomplete_array *ia =
3593 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3594 ia->datasize = 10;
3595 for (int i = 0; i < ia->datasize; ++i)
3596 ia->data[i] = i * 1.234;
3598 // Check named initializers.
3599 struct named_init ni = {
3600 .number = 34,
3601 .name = L"Test wide string",
3602 .average = 543.34343,
3605 ni.number = 58;
3607 int dynamic_array[ni.number];
3608 dynamic_array[0] = argv[0][0];
3609 dynamic_array[ni.number - 1] = 543;
3611 // work around unused variable warnings
3612 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3613 || dynamic_array[ni.number - 1] != 543);
3616 # Test code for whether the C compiler supports C11 (global declarations)
3617 ac_c_conftest_c11_globals='
3618 // Does the compiler advertise C11 conformance?
3619 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3620 # error "Compiler does not advertise C11 conformance"
3621 #endif
3623 // Check _Alignas.
3624 char _Alignas (double) aligned_as_double;
3625 char _Alignas (0) no_special_alignment;
3626 extern char aligned_as_int;
3627 char _Alignas (0) _Alignas (int) aligned_as_int;
3629 // Check _Alignof.
3630 enum
3632 int_alignment = _Alignof (int),
3633 int_array_alignment = _Alignof (int[100]),
3634 char_alignment = _Alignof (char)
3636 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3638 // Check _Noreturn.
3639 int _Noreturn does_not_return (void) { for (;;) continue; }
3641 // Check _Static_assert.
3642 struct test_static_assert
3644 int x;
3645 _Static_assert (sizeof (int) <= sizeof (long int),
3646 "_Static_assert does not work in struct");
3647 long int y;
3650 // Check UTF-8 literals.
3651 #define u8 syntax error!
3652 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3654 // Check duplicate typedefs.
3655 typedef long *long_ptr;
3656 typedef long int *long_ptr;
3657 typedef long_ptr long_ptr;
3659 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3660 struct anonymous
3662 union {
3663 struct { int i; int j; };
3664 struct { int k; long int l; } w;
3666 int m;
3667 } v1;
3670 # Test code for whether the C compiler supports C11 (body of main).
3671 ac_c_conftest_c11_main='
3672 _Static_assert ((offsetof (struct anonymous, i)
3673 == offsetof (struct anonymous, w.k)),
3674 "Anonymous union alignment botch");
3675 v1.i = 2;
3676 v1.w.k = 5;
3677 ok |= v1.i != 5;
3680 # Test code for whether the C compiler supports C11 (complete).
3681 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3682 ${ac_c_conftest_c99_globals}
3683 ${ac_c_conftest_c11_globals}
3686 main (int argc, char **argv)
3688 int ok = 0;
3689 ${ac_c_conftest_c89_main}
3690 ${ac_c_conftest_c99_main}
3691 ${ac_c_conftest_c11_main}
3692 return ok;
3696 # Test code for whether the C compiler supports C99 (complete).
3697 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3698 ${ac_c_conftest_c99_globals}
3701 main (int argc, char **argv)
3703 int ok = 0;
3704 ${ac_c_conftest_c89_main}
3705 ${ac_c_conftest_c99_main}
3706 return ok;
3710 # Test code for whether the C compiler supports C89 (complete).
3711 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3714 main (int argc, char **argv)
3716 int ok = 0;
3717 ${ac_c_conftest_c89_main}
3718 return ok;
3722 # Test code for whether the C++ compiler supports C++98 (global declarations)
3723 ac_cxx_conftest_cxx98_globals='
3724 // Does the compiler advertise C++98 conformance?
3725 #if !defined __cplusplus || __cplusplus < 199711L
3726 # error "Compiler does not advertise C++98 conformance"
3727 #endif
3729 // These inclusions are to reject old compilers that
3730 // lack the unsuffixed header files.
3731 #include <cstdlib>
3732 #include <exception>
3734 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3735 extern void assert (int);
3736 namespace std {
3737 extern int strcmp (const char *, const char *);
3740 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3741 using std::exception;
3742 using std::strcmp;
3744 namespace {
3746 void test_exception_syntax()
3748 try {
3749 throw "test";
3750 } catch (const char *s) {
3751 // Extra parentheses suppress a warning when building autoconf itself,
3752 // due to lint rules shared with more typical C programs.
3753 assert (!(strcmp) (s, "test"));
3757 template <typename T> struct test_template
3759 T const val;
3760 explicit test_template(T t) : val(t) {}
3761 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3764 } // anonymous namespace
3767 # Test code for whether the C++ compiler supports C++98 (body of main)
3768 ac_cxx_conftest_cxx98_main='
3769 assert (argc);
3770 assert (! argv[0]);
3772 test_exception_syntax ();
3773 test_template<double> tt (2.0);
3774 assert (tt.add (4) == 6.0);
3775 assert (true && !false);
3779 # Test code for whether the C++ compiler supports C++11 (global declarations)
3780 ac_cxx_conftest_cxx11_globals='
3781 // Does the compiler advertise C++ 2011 conformance?
3782 #if !defined __cplusplus || __cplusplus < 201103L
3783 # error "Compiler does not advertise C++11 conformance"
3784 #endif
3786 namespace cxx11test
3788 constexpr int get_val() { return 20; }
3790 struct testinit
3792 int i;
3793 double d;
3796 class delegate
3798 public:
3799 delegate(int n) : n(n) {}
3800 delegate(): delegate(2354) {}
3802 virtual int getval() { return this->n; };
3803 protected:
3804 int n;
3807 class overridden : public delegate
3809 public:
3810 overridden(int n): delegate(n) {}
3811 virtual int getval() override final { return this->n * 2; }
3814 class nocopy
3816 public:
3817 nocopy(int i): i(i) {}
3818 nocopy() = default;
3819 nocopy(const nocopy&) = delete;
3820 nocopy & operator=(const nocopy&) = delete;
3821 private:
3822 int i;
3825 // for testing lambda expressions
3826 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3828 return f(v);
3831 // for testing variadic templates and trailing return types
3832 template <typename V> auto sum(V first) -> V
3834 return first;
3836 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3838 return first + sum(rest...);
3843 # Test code for whether the C++ compiler supports C++11 (body of main)
3844 ac_cxx_conftest_cxx11_main='
3846 // Test auto and decltype
3847 auto a1 = 6538;
3848 auto a2 = 48573953.4;
3849 auto a3 = "String literal";
3851 int total = 0;
3852 for (auto i = a3; *i; ++i) { total += *i; }
3854 decltype(a2) a4 = 34895.034;
3857 // Test constexpr
3858 short sa[cxx11test::get_val()] = { 0 };
3861 // Test initializer lists
3862 cxx11test::testinit il = { 4323, 435234.23544 };
3865 // Test range-based for
3866 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3867 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3868 for (auto &x : array) { x += 23; }
3871 // Test lambda expressions
3872 using cxx11test::eval;
3873 assert (eval ([](int x) { return x*2; }, 21) == 42);
3874 double d = 2.0;
3875 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3876 assert (d == 5.0);
3877 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3878 assert (d == 5.0);
3881 // Test use of variadic templates
3882 using cxx11test::sum;
3883 auto a = sum(1);
3884 auto b = sum(1, 2);
3885 auto c = sum(1.0, 2.0, 3.0);
3888 // Test constructor delegation
3889 cxx11test::delegate d1;
3890 cxx11test::delegate d2();
3891 cxx11test::delegate d3(45);
3894 // Test override and final
3895 cxx11test::overridden o1(55464);
3898 // Test nullptr
3899 char *c = nullptr;
3902 // Test template brackets
3903 test_template<::test_template<int>> v(test_template<int>(12));
3906 // Unicode literals
3907 char const *utf8 = u8"UTF-8 string \u2500";
3908 char16_t const *utf16 = u"UTF-8 string \u2500";
3909 char32_t const *utf32 = U"UTF-32 string \u2500";
3913 # Test code for whether the C compiler supports C++11 (complete).
3914 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3915 ${ac_cxx_conftest_cxx11_globals}
3918 main (int argc, char **argv)
3920 int ok = 0;
3921 ${ac_cxx_conftest_cxx98_main}
3922 ${ac_cxx_conftest_cxx11_main}
3923 return ok;
3927 # Test code for whether the C compiler supports C++98 (complete).
3928 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3930 main (int argc, char **argv)
3932 int ok = 0;
3933 ${ac_cxx_conftest_cxx98_main}
3934 return ok;
3938 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3939 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3940 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3941 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3942 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3943 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3944 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3945 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3946 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3948 # Auxiliary files required by this configure script.
3949 ac_aux_files="config.guess config.sub"
3951 # Locations in which to look for auxiliary files.
3952 ac_aux_dir_candidates="${srcdir}/tools"
3954 # Search for a directory containing all of the required auxiliary files,
3955 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3956 # If we don't find one directory that contains all the files we need,
3957 # we report the set of missing files from the *first* directory in
3958 # $ac_aux_dir_candidates and give up.
3959 ac_missing_aux_files=""
3960 ac_first_candidate=:
3961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963 as_found=false
3964 for as_dir in $ac_aux_dir_candidates
3966 IFS=$as_save_IFS
3967 case $as_dir in #(((
3968 '') as_dir=./ ;;
3969 */) ;;
3970 *) as_dir=$as_dir/ ;;
3971 esac
3972 as_found=:
3974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3975 ac_aux_dir_found=yes
3976 ac_install_sh=
3977 for ac_aux in $ac_aux_files
3979 # As a special case, if "install-sh" is required, that requirement
3980 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3981 # and $ac_install_sh is set appropriately for whichever one is found.
3982 if test x"$ac_aux" = x"install-sh"
3983 then
3984 if test -f "${as_dir}install-sh"; then
3985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3986 ac_install_sh="${as_dir}install-sh -c"
3987 elif test -f "${as_dir}install.sh"; then
3988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3989 ac_install_sh="${as_dir}install.sh -c"
3990 elif test -f "${as_dir}shtool"; then
3991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3992 ac_install_sh="${as_dir}shtool install -c"
3993 else
3994 ac_aux_dir_found=no
3995 if $ac_first_candidate; then
3996 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3997 else
3998 break
4001 else
4002 if test -f "${as_dir}${ac_aux}"; then
4003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4004 else
4005 ac_aux_dir_found=no
4006 if $ac_first_candidate; then
4007 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4008 else
4009 break
4013 done
4014 if test "$ac_aux_dir_found" = yes; then
4015 ac_aux_dir="$as_dir"
4016 break
4018 ac_first_candidate=false
4020 as_found=false
4021 done
4022 IFS=$as_save_IFS
4023 if $as_found
4024 then :
4026 else $as_nop
4027 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4031 # These three variables are undocumented and unsupported,
4032 # and are intended to be withdrawn in a future Autoconf release.
4033 # They can cause serious problems if a builder's source tree is in a directory
4034 # whose full name contains unusual characters.
4035 if test -f "${ac_aux_dir}config.guess"; then
4036 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4038 if test -f "${ac_aux_dir}config.sub"; then
4039 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4041 if test -f "$ac_aux_dir/configure"; then
4042 ac_configure="$SHELL ${ac_aux_dir}configure"
4045 # Check that the precious variables saved in the cache have kept the same
4046 # value.
4047 ac_cache_corrupted=false
4048 for ac_var in $ac_precious_vars; do
4049 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4050 eval ac_new_set=\$ac_env_${ac_var}_set
4051 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4052 eval ac_new_val=\$ac_env_${ac_var}_value
4053 case $ac_old_set,$ac_new_set in
4054 set,)
4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4056 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4057 ac_cache_corrupted=: ;;
4058 ,set)
4059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4060 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4061 ac_cache_corrupted=: ;;
4062 ,);;
4064 if test "x$ac_old_val" != "x$ac_new_val"; then
4065 # differences in whitespace do not lead to failure.
4066 ac_old_val_w=`echo x $ac_old_val`
4067 ac_new_val_w=`echo x $ac_new_val`
4068 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4070 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4071 ac_cache_corrupted=:
4072 else
4073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4074 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4075 eval $ac_var=\$ac_old_val
4077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4078 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4080 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4081 fi;;
4082 esac
4083 # Pass precious variables to config.status.
4084 if test "$ac_new_set" = set; then
4085 case $ac_new_val in
4086 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4087 *) ac_arg=$ac_var=$ac_new_val ;;
4088 esac
4089 case " $ac_configure_args " in
4090 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4091 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4092 esac
4094 done
4095 if $ac_cache_corrupted; then
4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4097 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4099 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4100 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4101 and start over" "$LINENO" 5
4103 ## -------------------- ##
4104 ## Main body of script. ##
4105 ## -------------------- ##
4107 ac_ext=c
4108 ac_cpp='$CPP $CPPFLAGS'
4109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4115 ac_config_headers="$ac_config_headers include/config.h"
4119 libwine_version="1.0"
4122 # Check whether --enable-archs was given.
4123 if test ${enable_archs+y}
4124 then :
4125 enableval=$enable_archs;
4128 # Check whether --enable-win16 was given.
4129 if test ${enable_win16+y}
4130 then :
4131 enableval=$enable_win16;
4134 # Check whether --enable-win64 was given.
4135 if test ${enable_win64+y}
4136 then :
4137 enableval=$enable_win64;
4140 # Check whether --enable-tests was given.
4141 if test ${enable_tests+y}
4142 then :
4143 enableval=$enable_tests;
4146 # Check whether --enable-build-id was given.
4147 if test ${enable_build_id+y}
4148 then :
4149 enableval=$enable_build_id;
4152 # Check whether --enable-maintainer-mode was given.
4153 if test ${enable_maintainer_mode+y}
4154 then :
4155 enableval=$enable_maintainer_mode;
4158 # Check whether --enable-silent-rules was given.
4159 if test ${enable_silent_rules+y}
4160 then :
4161 enableval=$enable_silent_rules;
4164 # Check whether --enable-werror was given.
4165 if test ${enable_werror+y}
4166 then :
4167 enableval=$enable_werror;
4172 # Check whether --with-alsa was given.
4173 if test ${with_alsa+y}
4174 then :
4175 withval=$with_alsa;
4179 # Check whether --with-capi was given.
4180 if test ${with_capi+y}
4181 then :
4182 withval=$with_capi;
4186 # Check whether --with-coreaudio was given.
4187 if test ${with_coreaudio+y}
4188 then :
4189 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4193 # Check whether --with-cups was given.
4194 if test ${with_cups+y}
4195 then :
4196 withval=$with_cups;
4200 # Check whether --with-dbus was given.
4201 if test ${with_dbus+y}
4202 then :
4203 withval=$with_dbus;
4207 # Check whether --with-float-abi was given.
4208 if test ${with_float_abi+y}
4209 then :
4210 withval=$with_float_abi;
4214 # Check whether --with-fontconfig was given.
4215 if test ${with_fontconfig+y}
4216 then :
4217 withval=$with_fontconfig;
4221 # Check whether --with-freetype was given.
4222 if test ${with_freetype+y}
4223 then :
4224 withval=$with_freetype;
4228 # Check whether --with-gettext was given.
4229 if test ${with_gettext+y}
4230 then :
4231 withval=$with_gettext;
4235 # Check whether --with-gettextpo was given.
4236 if test ${with_gettextpo+y}
4237 then :
4238 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4242 # Check whether --with-gphoto was given.
4243 if test ${with_gphoto+y}
4244 then :
4245 withval=$with_gphoto;
4249 # Check whether --with-gnutls was given.
4250 if test ${with_gnutls+y}
4251 then :
4252 withval=$with_gnutls;
4256 # Check whether --with-gssapi was given.
4257 if test ${with_gssapi+y}
4258 then :
4259 withval=$with_gssapi;
4263 # Check whether --with-gstreamer was given.
4264 if test ${with_gstreamer+y}
4265 then :
4266 withval=$with_gstreamer;
4270 # Check whether --with-inotify was given.
4271 if test ${with_inotify+y}
4272 then :
4273 withval=$with_inotify;
4277 # Check whether --with-krb5 was given.
4278 if test ${with_krb5+y}
4279 then :
4280 withval=$with_krb5;
4284 # Check whether --with-ldap was given.
4285 if test ${with_ldap+y}
4286 then :
4287 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4291 # Check whether --with-mingw was given.
4292 if test ${with_mingw+y}
4293 then :
4294 withval=$with_mingw;
4298 # Check whether --with-netapi was given.
4299 if test ${with_netapi+y}
4300 then :
4301 withval=$with_netapi;
4305 # Check whether --with-openal was given.
4306 if test ${with_openal+y}
4307 then :
4308 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4312 # Check whether --with-opencl was given.
4313 if test ${with_opencl+y}
4314 then :
4315 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4319 # Check whether --with-opengl was given.
4320 if test ${with_opengl+y}
4321 then :
4322 withval=$with_opengl;
4326 # Check whether --with-osmesa was given.
4327 if test ${with_osmesa+y}
4328 then :
4329 withval=$with_osmesa;
4333 # Check whether --with-oss was given.
4334 if test ${with_oss+y}
4335 then :
4336 withval=$with_oss;
4340 # Check whether --with-pcap was given.
4341 if test ${with_pcap+y}
4342 then :
4343 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4347 # Check whether --with-pthread was given.
4348 if test ${with_pthread+y}
4349 then :
4350 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4354 # Check whether --with-pulse was given.
4355 if test ${with_pulse+y}
4356 then :
4357 withval=$with_pulse;
4361 # Check whether --with-sane was given.
4362 if test ${with_sane+y}
4363 then :
4364 withval=$with_sane;
4368 # Check whether --with-sdl was given.
4369 if test ${with_sdl+y}
4370 then :
4371 withval=$with_sdl;
4375 # Check whether --with-udev was given.
4376 if test ${with_udev+y}
4377 then :
4378 withval=$with_udev;
4382 # Check whether --with-unwind was given.
4383 if test ${with_unwind+y}
4384 then :
4385 withval=$with_unwind;
4389 # Check whether --with-usb was given.
4390 if test ${with_usb+y}
4391 then :
4392 withval=$with_usb;
4396 # Check whether --with-v4l2 was given.
4397 if test ${with_v4l2+y}
4398 then :
4399 withval=$with_v4l2;
4403 # Check whether --with-vulkan was given.
4404 if test ${with_vulkan+y}
4405 then :
4406 withval=$with_vulkan;
4410 # Check whether --with-xcomposite was given.
4411 if test ${with_xcomposite+y}
4412 then :
4413 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4417 # Check whether --with-xcursor was given.
4418 if test ${with_xcursor+y}
4419 then :
4420 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4424 # Check whether --with-xfixes was given.
4425 if test ${with_xfixes+y}
4426 then :
4427 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4431 # Check whether --with-xinerama was given.
4432 if test ${with_xinerama+y}
4433 then :
4434 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4438 # Check whether --with-xinput was given.
4439 if test ${with_xinput+y}
4440 then :
4441 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4445 # Check whether --with-xinput2 was given.
4446 if test ${with_xinput2+y}
4447 then :
4448 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4452 # Check whether --with-xrandr was given.
4453 if test ${with_xrandr+y}
4454 then :
4455 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4459 # Check whether --with-xrender was given.
4460 if test ${with_xrender+y}
4461 then :
4462 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4466 # Check whether --with-xshape was given.
4467 if test ${with_xshape+y}
4468 then :
4469 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4473 # Check whether --with-xshm was given.
4474 if test ${with_xshm+y}
4475 then :
4476 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4480 # Check whether --with-xxf86vm was given.
4481 if test ${with_xxf86vm+y}
4482 then :
4483 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
4488 # Check whether --with-system-dllpath was given.
4489 if test ${with_system_dllpath+y}
4490 then :
4491 withval=$with_system_dllpath; system_dllpath=$withval
4496 # Check whether --with-wine-tools was given.
4497 if test ${with_wine_tools+y}
4498 then :
4499 withval=$with_wine_tools;
4503 # Check whether --with-wine64 was given.
4504 if test ${with_wine64+y}
4505 then :
4506 withval=$with_wine64;
4513 # Make sure we can run config.sub.
4514 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4515 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4518 printf %s "checking build system type... " >&6; }
4519 if test ${ac_cv_build+y}
4520 then :
4521 printf %s "(cached) " >&6
4522 else $as_nop
4523 ac_build_alias=$build_alias
4524 test "x$ac_build_alias" = x &&
4525 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4526 test "x$ac_build_alias" = x &&
4527 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4528 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4529 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4533 printf "%s\n" "$ac_cv_build" >&6; }
4534 case $ac_cv_build in
4535 *-*-*) ;;
4536 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4537 esac
4538 build=$ac_cv_build
4539 ac_save_IFS=$IFS; IFS='-'
4540 set x $ac_cv_build
4541 shift
4542 build_cpu=$1
4543 build_vendor=$2
4544 shift; shift
4545 # Remember, the first character of IFS is used to create $*,
4546 # except with old shells:
4547 build_os=$*
4548 IFS=$ac_save_IFS
4549 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4553 printf %s "checking host system type... " >&6; }
4554 if test ${ac_cv_host+y}
4555 then :
4556 printf %s "(cached) " >&6
4557 else $as_nop
4558 if test "x$host_alias" = x; then
4559 ac_cv_host=$ac_cv_build
4560 else
4561 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4562 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4567 printf "%s\n" "$ac_cv_host" >&6; }
4568 case $ac_cv_host in
4569 *-*-*) ;;
4570 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4571 esac
4572 host=$ac_cv_host
4573 ac_save_IFS=$IFS; IFS='-'
4574 set x $ac_cv_host
4575 shift
4576 host_cpu=$1
4577 host_vendor=$2
4578 shift; shift
4579 # Remember, the first character of IFS is used to create $*,
4580 # except with old shells:
4581 host_os=$*
4582 IFS=$ac_save_IFS
4583 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4587 dlldir=\${libdir}/wine
4589 fontdir=\${datadir}/wine/fonts
4591 nlsdir=\${datadir}/wine/nls
4596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4597 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4598 set x ${MAKE-make}
4599 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4600 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4601 then :
4602 printf %s "(cached) " >&6
4603 else $as_nop
4604 cat >conftest.make <<\_ACEOF
4605 SHELL = /bin/sh
4606 all:
4607 @echo '@@@%%%=$(MAKE)=@@@%%%'
4608 _ACEOF
4609 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4610 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4611 *@@@%%%=?*=@@@%%%*)
4612 eval ac_cv_prog_make_${ac_make}_set=yes;;
4614 eval ac_cv_prog_make_${ac_make}_set=no;;
4615 esac
4616 rm -f conftest.make
4618 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4620 printf "%s\n" "yes" >&6; }
4621 SET_MAKE=
4622 else
4623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 printf "%s\n" "no" >&6; }
4625 SET_MAKE="MAKE=${MAKE-make}"
4637 ac_ext=c
4638 ac_cpp='$CPP $CPPFLAGS'
4639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4642 if test -n "$ac_tool_prefix"; then
4643 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4644 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4646 printf %s "checking for $ac_word... " >&6; }
4647 if test ${ac_cv_prog_CC+y}
4648 then :
4649 printf %s "(cached) " >&6
4650 else $as_nop
4651 if test -n "$CC"; then
4652 ac_cv_prog_CC="$CC" # Let the user override the test.
4653 else
4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655 for as_dir in $PATH
4657 IFS=$as_save_IFS
4658 case $as_dir in #(((
4659 '') as_dir=./ ;;
4660 */) ;;
4661 *) as_dir=$as_dir/ ;;
4662 esac
4663 for ac_exec_ext in '' $ac_executable_extensions; do
4664 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4665 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4667 break 2
4669 done
4670 done
4671 IFS=$as_save_IFS
4675 CC=$ac_cv_prog_CC
4676 if test -n "$CC"; then
4677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4678 printf "%s\n" "$CC" >&6; }
4679 else
4680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681 printf "%s\n" "no" >&6; }
4686 if test -z "$ac_cv_prog_CC"; then
4687 ac_ct_CC=$CC
4688 # Extract the first word of "gcc", so it can be a program name with args.
4689 set dummy gcc; ac_word=$2
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4691 printf %s "checking for $ac_word... " >&6; }
4692 if test ${ac_cv_prog_ac_ct_CC+y}
4693 then :
4694 printf %s "(cached) " >&6
4695 else $as_nop
4696 if test -n "$ac_ct_CC"; then
4697 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4698 else
4699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700 for as_dir in $PATH
4702 IFS=$as_save_IFS
4703 case $as_dir in #(((
4704 '') as_dir=./ ;;
4705 */) ;;
4706 *) as_dir=$as_dir/ ;;
4707 esac
4708 for ac_exec_ext in '' $ac_executable_extensions; do
4709 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4710 ac_cv_prog_ac_ct_CC="gcc"
4711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4712 break 2
4714 done
4715 done
4716 IFS=$as_save_IFS
4720 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4721 if test -n "$ac_ct_CC"; then
4722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4723 printf "%s\n" "$ac_ct_CC" >&6; }
4724 else
4725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4726 printf "%s\n" "no" >&6; }
4729 if test "x$ac_ct_CC" = x; then
4730 CC=""
4731 else
4732 case $cross_compiling:$ac_tool_warned in
4733 yes:)
4734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4735 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4736 ac_tool_warned=yes ;;
4737 esac
4738 CC=$ac_ct_CC
4740 else
4741 CC="$ac_cv_prog_CC"
4744 if test -z "$CC"; then
4745 if test -n "$ac_tool_prefix"; then
4746 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4747 set dummy ${ac_tool_prefix}cc; ac_word=$2
4748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4749 printf %s "checking for $ac_word... " >&6; }
4750 if test ${ac_cv_prog_CC+y}
4751 then :
4752 printf %s "(cached) " >&6
4753 else $as_nop
4754 if test -n "$CC"; then
4755 ac_cv_prog_CC="$CC" # Let the user override the test.
4756 else
4757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4758 for as_dir in $PATH
4760 IFS=$as_save_IFS
4761 case $as_dir in #(((
4762 '') as_dir=./ ;;
4763 */) ;;
4764 *) as_dir=$as_dir/ ;;
4765 esac
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4768 ac_cv_prog_CC="${ac_tool_prefix}cc"
4769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4770 break 2
4772 done
4773 done
4774 IFS=$as_save_IFS
4778 CC=$ac_cv_prog_CC
4779 if test -n "$CC"; then
4780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4781 printf "%s\n" "$CC" >&6; }
4782 else
4783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 printf "%s\n" "no" >&6; }
4790 if test -z "$CC"; then
4791 # Extract the first word of "cc", so it can be a program name with args.
4792 set dummy cc; ac_word=$2
4793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4794 printf %s "checking for $ac_word... " >&6; }
4795 if test ${ac_cv_prog_CC+y}
4796 then :
4797 printf %s "(cached) " >&6
4798 else $as_nop
4799 if test -n "$CC"; then
4800 ac_cv_prog_CC="$CC" # Let the user override the test.
4801 else
4802 ac_prog_rejected=no
4803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4804 for as_dir in $PATH
4806 IFS=$as_save_IFS
4807 case $as_dir in #(((
4808 '') as_dir=./ ;;
4809 */) ;;
4810 *) as_dir=$as_dir/ ;;
4811 esac
4812 for ac_exec_ext in '' $ac_executable_extensions; do
4813 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4814 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4815 ac_prog_rejected=yes
4816 continue
4818 ac_cv_prog_CC="cc"
4819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4820 break 2
4822 done
4823 done
4824 IFS=$as_save_IFS
4826 if test $ac_prog_rejected = yes; then
4827 # We found a bogon in the path, so make sure we never use it.
4828 set dummy $ac_cv_prog_CC
4829 shift
4830 if test $# != 0; then
4831 # We chose a different compiler from the bogus one.
4832 # However, it has the same basename, so the bogon will be chosen
4833 # first if we set CC to just the basename; use the full file name.
4834 shift
4835 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4840 CC=$ac_cv_prog_CC
4841 if test -n "$CC"; then
4842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4843 printf "%s\n" "$CC" >&6; }
4844 else
4845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 printf "%s\n" "no" >&6; }
4851 if test -z "$CC"; then
4852 if test -n "$ac_tool_prefix"; then
4853 for ac_prog in cl.exe
4855 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4856 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4858 printf %s "checking for $ac_word... " >&6; }
4859 if test ${ac_cv_prog_CC+y}
4860 then :
4861 printf %s "(cached) " >&6
4862 else $as_nop
4863 if test -n "$CC"; then
4864 ac_cv_prog_CC="$CC" # Let the user override the test.
4865 else
4866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4867 for as_dir in $PATH
4869 IFS=$as_save_IFS
4870 case $as_dir in #(((
4871 '') as_dir=./ ;;
4872 */) ;;
4873 *) as_dir=$as_dir/ ;;
4874 esac
4875 for ac_exec_ext in '' $ac_executable_extensions; do
4876 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4877 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4878 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4879 break 2
4881 done
4882 done
4883 IFS=$as_save_IFS
4887 CC=$ac_cv_prog_CC
4888 if test -n "$CC"; then
4889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4890 printf "%s\n" "$CC" >&6; }
4891 else
4892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4893 printf "%s\n" "no" >&6; }
4897 test -n "$CC" && break
4898 done
4900 if test -z "$CC"; then
4901 ac_ct_CC=$CC
4902 for ac_prog in cl.exe
4904 # Extract the first word of "$ac_prog", so it can be a program name with args.
4905 set dummy $ac_prog; ac_word=$2
4906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4907 printf %s "checking for $ac_word... " >&6; }
4908 if test ${ac_cv_prog_ac_ct_CC+y}
4909 then :
4910 printf %s "(cached) " >&6
4911 else $as_nop
4912 if test -n "$ac_ct_CC"; then
4913 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4914 else
4915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916 for as_dir in $PATH
4918 IFS=$as_save_IFS
4919 case $as_dir in #(((
4920 '') as_dir=./ ;;
4921 */) ;;
4922 *) as_dir=$as_dir/ ;;
4923 esac
4924 for ac_exec_ext in '' $ac_executable_extensions; do
4925 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4926 ac_cv_prog_ac_ct_CC="$ac_prog"
4927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4928 break 2
4930 done
4931 done
4932 IFS=$as_save_IFS
4936 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4937 if test -n "$ac_ct_CC"; then
4938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4939 printf "%s\n" "$ac_ct_CC" >&6; }
4940 else
4941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 printf "%s\n" "no" >&6; }
4946 test -n "$ac_ct_CC" && break
4947 done
4949 if test "x$ac_ct_CC" = x; then
4950 CC=""
4951 else
4952 case $cross_compiling:$ac_tool_warned in
4953 yes:)
4954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4955 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4956 ac_tool_warned=yes ;;
4957 esac
4958 CC=$ac_ct_CC
4963 if test -z "$CC"; then
4964 if test -n "$ac_tool_prefix"; then
4965 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4966 set dummy ${ac_tool_prefix}clang; ac_word=$2
4967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4968 printf %s "checking for $ac_word... " >&6; }
4969 if test ${ac_cv_prog_CC+y}
4970 then :
4971 printf %s "(cached) " >&6
4972 else $as_nop
4973 if test -n "$CC"; then
4974 ac_cv_prog_CC="$CC" # Let the user override the test.
4975 else
4976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4977 for as_dir in $PATH
4979 IFS=$as_save_IFS
4980 case $as_dir in #(((
4981 '') as_dir=./ ;;
4982 */) ;;
4983 *) as_dir=$as_dir/ ;;
4984 esac
4985 for ac_exec_ext in '' $ac_executable_extensions; do
4986 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4987 ac_cv_prog_CC="${ac_tool_prefix}clang"
4988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4989 break 2
4991 done
4992 done
4993 IFS=$as_save_IFS
4997 CC=$ac_cv_prog_CC
4998 if test -n "$CC"; then
4999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5000 printf "%s\n" "$CC" >&6; }
5001 else
5002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003 printf "%s\n" "no" >&6; }
5008 if test -z "$ac_cv_prog_CC"; then
5009 ac_ct_CC=$CC
5010 # Extract the first word of "clang", so it can be a program name with args.
5011 set dummy clang; ac_word=$2
5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 printf %s "checking for $ac_word... " >&6; }
5014 if test ${ac_cv_prog_ac_ct_CC+y}
5015 then :
5016 printf %s "(cached) " >&6
5017 else $as_nop
5018 if test -n "$ac_ct_CC"; then
5019 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5024 IFS=$as_save_IFS
5025 case $as_dir in #(((
5026 '') as_dir=./ ;;
5027 */) ;;
5028 *) as_dir=$as_dir/ ;;
5029 esac
5030 for ac_exec_ext in '' $ac_executable_extensions; do
5031 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5032 ac_cv_prog_ac_ct_CC="clang"
5033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5034 break 2
5036 done
5037 done
5038 IFS=$as_save_IFS
5042 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5043 if test -n "$ac_ct_CC"; then
5044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5045 printf "%s\n" "$ac_ct_CC" >&6; }
5046 else
5047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 printf "%s\n" "no" >&6; }
5051 if test "x$ac_ct_CC" = x; then
5052 CC=""
5053 else
5054 case $cross_compiling:$ac_tool_warned in
5055 yes:)
5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5057 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5058 ac_tool_warned=yes ;;
5059 esac
5060 CC=$ac_ct_CC
5062 else
5063 CC="$ac_cv_prog_CC"
5069 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5070 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5071 as_fn_error $? "no acceptable C compiler found in \$PATH
5072 See \`config.log' for more details" "$LINENO" 5; }
5074 # Provide some information about the compiler.
5075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5076 set X $ac_compile
5077 ac_compiler=$2
5078 for ac_option in --version -v -V -qversion -version; do
5079 { { ac_try="$ac_compiler $ac_option >&5"
5080 case "(($ac_try" in
5081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5082 *) ac_try_echo=$ac_try;;
5083 esac
5084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5085 printf "%s\n" "$ac_try_echo"; } >&5
5086 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5087 ac_status=$?
5088 if test -s conftest.err; then
5089 sed '10a\
5090 ... rest of stderr output deleted ...
5091 10q' conftest.err >conftest.er1
5092 cat conftest.er1 >&5
5094 rm -f conftest.er1 conftest.err
5095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5096 test $ac_status = 0; }
5097 done
5099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5100 /* end confdefs.h. */
5103 main (void)
5107 return 0;
5109 _ACEOF
5110 ac_clean_files_save=$ac_clean_files
5111 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5112 # Try to create an executable without -o first, disregard a.out.
5113 # It will help us diagnose broken compilers, and finding out an intuition
5114 # of exeext.
5115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5116 printf %s "checking whether the C compiler works... " >&6; }
5117 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5119 # The possible output files:
5120 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5122 ac_rmfiles=
5123 for ac_file in $ac_files
5125 case $ac_file in
5126 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5127 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5128 esac
5129 done
5130 rm -f $ac_rmfiles
5132 if { { ac_try="$ac_link_default"
5133 case "(($ac_try" in
5134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5135 *) ac_try_echo=$ac_try;;
5136 esac
5137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5138 printf "%s\n" "$ac_try_echo"; } >&5
5139 (eval "$ac_link_default") 2>&5
5140 ac_status=$?
5141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5142 test $ac_status = 0; }
5143 then :
5144 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5145 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5146 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5147 # so that the user can short-circuit this test for compilers unknown to
5148 # Autoconf.
5149 for ac_file in $ac_files ''
5151 test -f "$ac_file" || continue
5152 case $ac_file in
5153 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5155 [ab].out )
5156 # We found the default executable, but exeext='' is most
5157 # certainly right.
5158 break;;
5159 *.* )
5160 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5161 then :; else
5162 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5164 # We set ac_cv_exeext here because the later test for it is not
5165 # safe: cross compilers may not add the suffix if given an `-o'
5166 # argument, so we may need to know it at that point already.
5167 # Even if this section looks crufty: it has the advantage of
5168 # actually working.
5169 break;;
5171 break;;
5172 esac
5173 done
5174 test "$ac_cv_exeext" = no && ac_cv_exeext=
5176 else $as_nop
5177 ac_file=''
5179 if test -z "$ac_file"
5180 then :
5181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182 printf "%s\n" "no" >&6; }
5183 printf "%s\n" "$as_me: failed program was:" >&5
5184 sed 's/^/| /' conftest.$ac_ext >&5
5186 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5187 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5188 as_fn_error 77 "C compiler cannot create executables
5189 See \`config.log' for more details" "$LINENO" 5; }
5190 else $as_nop
5191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5192 printf "%s\n" "yes" >&6; }
5194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5195 printf %s "checking for C compiler default output file name... " >&6; }
5196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5197 printf "%s\n" "$ac_file" >&6; }
5198 ac_exeext=$ac_cv_exeext
5200 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5201 ac_clean_files=$ac_clean_files_save
5202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5203 printf %s "checking for suffix of executables... " >&6; }
5204 if { { ac_try="$ac_link"
5205 case "(($ac_try" in
5206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5207 *) ac_try_echo=$ac_try;;
5208 esac
5209 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5210 printf "%s\n" "$ac_try_echo"; } >&5
5211 (eval "$ac_link") 2>&5
5212 ac_status=$?
5213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5214 test $ac_status = 0; }
5215 then :
5216 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5217 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5218 # work properly (i.e., refer to `conftest.exe'), while it won't with
5219 # `rm'.
5220 for ac_file in conftest.exe conftest conftest.*; do
5221 test -f "$ac_file" || continue
5222 case $ac_file in
5223 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5224 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5225 break;;
5226 * ) break;;
5227 esac
5228 done
5229 else $as_nop
5230 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5231 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5232 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5233 See \`config.log' for more details" "$LINENO" 5; }
5235 rm -f conftest conftest$ac_cv_exeext
5236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5237 printf "%s\n" "$ac_cv_exeext" >&6; }
5239 rm -f conftest.$ac_ext
5240 EXEEXT=$ac_cv_exeext
5241 ac_exeext=$EXEEXT
5242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h. */
5244 #include <stdio.h>
5246 main (void)
5248 FILE *f = fopen ("conftest.out", "w");
5249 return ferror (f) || fclose (f) != 0;
5252 return 0;
5254 _ACEOF
5255 ac_clean_files="$ac_clean_files conftest.out"
5256 # Check that the compiler produces executables we can run. If not, either
5257 # the compiler is broken, or we cross compile.
5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5259 printf %s "checking whether we are cross compiling... " >&6; }
5260 if test "$cross_compiling" != yes; then
5261 { { ac_try="$ac_link"
5262 case "(($ac_try" in
5263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5264 *) ac_try_echo=$ac_try;;
5265 esac
5266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5267 printf "%s\n" "$ac_try_echo"; } >&5
5268 (eval "$ac_link") 2>&5
5269 ac_status=$?
5270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5271 test $ac_status = 0; }
5272 if { ac_try='./conftest$ac_cv_exeext'
5273 { { case "(($ac_try" in
5274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5275 *) ac_try_echo=$ac_try;;
5276 esac
5277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5278 printf "%s\n" "$ac_try_echo"; } >&5
5279 (eval "$ac_try") 2>&5
5280 ac_status=$?
5281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5282 test $ac_status = 0; }; }; then
5283 cross_compiling=no
5284 else
5285 if test "$cross_compiling" = maybe; then
5286 cross_compiling=yes
5287 else
5288 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5289 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5290 as_fn_error 77 "cannot run C compiled programs.
5291 If you meant to cross compile, use \`--host'.
5292 See \`config.log' for more details" "$LINENO" 5; }
5296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5297 printf "%s\n" "$cross_compiling" >&6; }
5299 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5300 ac_clean_files=$ac_clean_files_save
5301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5302 printf %s "checking for suffix of object files... " >&6; }
5303 if test ${ac_cv_objext+y}
5304 then :
5305 printf %s "(cached) " >&6
5306 else $as_nop
5307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h. */
5311 main (void)
5315 return 0;
5317 _ACEOF
5318 rm -f conftest.o conftest.obj
5319 if { { ac_try="$ac_compile"
5320 case "(($ac_try" in
5321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5322 *) ac_try_echo=$ac_try;;
5323 esac
5324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5325 printf "%s\n" "$ac_try_echo"; } >&5
5326 (eval "$ac_compile") 2>&5
5327 ac_status=$?
5328 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5329 test $ac_status = 0; }
5330 then :
5331 for ac_file in conftest.o conftest.obj conftest.*; do
5332 test -f "$ac_file" || continue;
5333 case $ac_file in
5334 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5335 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5336 break;;
5337 esac
5338 done
5339 else $as_nop
5340 printf "%s\n" "$as_me: failed program was:" >&5
5341 sed 's/^/| /' conftest.$ac_ext >&5
5343 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5344 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5345 as_fn_error $? "cannot compute suffix of object files: cannot compile
5346 See \`config.log' for more details" "$LINENO" 5; }
5348 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5351 printf "%s\n" "$ac_cv_objext" >&6; }
5352 OBJEXT=$ac_cv_objext
5353 ac_objext=$OBJEXT
5354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5355 printf %s "checking whether the compiler supports GNU C... " >&6; }
5356 if test ${ac_cv_c_compiler_gnu+y}
5357 then :
5358 printf %s "(cached) " >&6
5359 else $as_nop
5360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5361 /* end confdefs.h. */
5364 main (void)
5366 #ifndef __GNUC__
5367 choke me
5368 #endif
5371 return 0;
5373 _ACEOF
5374 if ac_fn_c_try_compile "$LINENO"
5375 then :
5376 ac_compiler_gnu=yes
5377 else $as_nop
5378 ac_compiler_gnu=no
5380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5381 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5385 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5388 if test $ac_compiler_gnu = yes; then
5389 GCC=yes
5390 else
5391 GCC=
5393 ac_test_CFLAGS=${CFLAGS+y}
5394 ac_save_CFLAGS=$CFLAGS
5395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5396 printf %s "checking whether $CC accepts -g... " >&6; }
5397 if test ${ac_cv_prog_cc_g+y}
5398 then :
5399 printf %s "(cached) " >&6
5400 else $as_nop
5401 ac_save_c_werror_flag=$ac_c_werror_flag
5402 ac_c_werror_flag=yes
5403 ac_cv_prog_cc_g=no
5404 CFLAGS="-g"
5405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5406 /* end confdefs.h. */
5409 main (void)
5413 return 0;
5415 _ACEOF
5416 if ac_fn_c_try_compile "$LINENO"
5417 then :
5418 ac_cv_prog_cc_g=yes
5419 else $as_nop
5420 CFLAGS=""
5421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5422 /* end confdefs.h. */
5425 main (void)
5429 return 0;
5431 _ACEOF
5432 if ac_fn_c_try_compile "$LINENO"
5433 then :
5435 else $as_nop
5436 ac_c_werror_flag=$ac_save_c_werror_flag
5437 CFLAGS="-g"
5438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5439 /* end confdefs.h. */
5442 main (void)
5446 return 0;
5448 _ACEOF
5449 if ac_fn_c_try_compile "$LINENO"
5450 then :
5451 ac_cv_prog_cc_g=yes
5453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5458 ac_c_werror_flag=$ac_save_c_werror_flag
5460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5461 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5462 if test $ac_test_CFLAGS; then
5463 CFLAGS=$ac_save_CFLAGS
5464 elif test $ac_cv_prog_cc_g = yes; then
5465 if test "$GCC" = yes; then
5466 CFLAGS="-g -O2"
5467 else
5468 CFLAGS="-g"
5470 else
5471 if test "$GCC" = yes; then
5472 CFLAGS="-O2"
5473 else
5474 CFLAGS=
5477 ac_prog_cc_stdc=no
5478 if test x$ac_prog_cc_stdc = xno
5479 then :
5480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5481 printf %s "checking for $CC option to enable C11 features... " >&6; }
5482 if test ${ac_cv_prog_cc_c11+y}
5483 then :
5484 printf %s "(cached) " >&6
5485 else $as_nop
5486 ac_cv_prog_cc_c11=no
5487 ac_save_CC=$CC
5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5489 /* end confdefs.h. */
5490 $ac_c_conftest_c11_program
5491 _ACEOF
5492 for ac_arg in '' -std=gnu11
5494 CC="$ac_save_CC $ac_arg"
5495 if ac_fn_c_try_compile "$LINENO"
5496 then :
5497 ac_cv_prog_cc_c11=$ac_arg
5499 rm -f core conftest.err conftest.$ac_objext conftest.beam
5500 test "x$ac_cv_prog_cc_c11" != "xno" && break
5501 done
5502 rm -f conftest.$ac_ext
5503 CC=$ac_save_CC
5506 if test "x$ac_cv_prog_cc_c11" = xno
5507 then :
5508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5509 printf "%s\n" "unsupported" >&6; }
5510 else $as_nop
5511 if test "x$ac_cv_prog_cc_c11" = x
5512 then :
5513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5514 printf "%s\n" "none needed" >&6; }
5515 else $as_nop
5516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5517 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5518 CC="$CC $ac_cv_prog_cc_c11"
5520 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5521 ac_prog_cc_stdc=c11
5524 if test x$ac_prog_cc_stdc = xno
5525 then :
5526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5527 printf %s "checking for $CC option to enable C99 features... " >&6; }
5528 if test ${ac_cv_prog_cc_c99+y}
5529 then :
5530 printf %s "(cached) " >&6
5531 else $as_nop
5532 ac_cv_prog_cc_c99=no
5533 ac_save_CC=$CC
5534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5535 /* end confdefs.h. */
5536 $ac_c_conftest_c99_program
5537 _ACEOF
5538 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5540 CC="$ac_save_CC $ac_arg"
5541 if ac_fn_c_try_compile "$LINENO"
5542 then :
5543 ac_cv_prog_cc_c99=$ac_arg
5545 rm -f core conftest.err conftest.$ac_objext conftest.beam
5546 test "x$ac_cv_prog_cc_c99" != "xno" && break
5547 done
5548 rm -f conftest.$ac_ext
5549 CC=$ac_save_CC
5552 if test "x$ac_cv_prog_cc_c99" = xno
5553 then :
5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5555 printf "%s\n" "unsupported" >&6; }
5556 else $as_nop
5557 if test "x$ac_cv_prog_cc_c99" = x
5558 then :
5559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5560 printf "%s\n" "none needed" >&6; }
5561 else $as_nop
5562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5563 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5564 CC="$CC $ac_cv_prog_cc_c99"
5566 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5567 ac_prog_cc_stdc=c99
5570 if test x$ac_prog_cc_stdc = xno
5571 then :
5572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5573 printf %s "checking for $CC option to enable C89 features... " >&6; }
5574 if test ${ac_cv_prog_cc_c89+y}
5575 then :
5576 printf %s "(cached) " >&6
5577 else $as_nop
5578 ac_cv_prog_cc_c89=no
5579 ac_save_CC=$CC
5580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5581 /* end confdefs.h. */
5582 $ac_c_conftest_c89_program
5583 _ACEOF
5584 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5586 CC="$ac_save_CC $ac_arg"
5587 if ac_fn_c_try_compile "$LINENO"
5588 then :
5589 ac_cv_prog_cc_c89=$ac_arg
5591 rm -f core conftest.err conftest.$ac_objext conftest.beam
5592 test "x$ac_cv_prog_cc_c89" != "xno" && break
5593 done
5594 rm -f conftest.$ac_ext
5595 CC=$ac_save_CC
5598 if test "x$ac_cv_prog_cc_c89" = xno
5599 then :
5600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5601 printf "%s\n" "unsupported" >&6; }
5602 else $as_nop
5603 if test "x$ac_cv_prog_cc_c89" = x
5604 then :
5605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5606 printf "%s\n" "none needed" >&6; }
5607 else $as_nop
5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5609 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5610 CC="$CC $ac_cv_prog_cc_c89"
5612 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5613 ac_prog_cc_stdc=c89
5617 ac_ext=c
5618 ac_cpp='$CPP $CPPFLAGS'
5619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5629 ac_ext=cpp
5630 ac_cpp='$CXXCPP $CPPFLAGS'
5631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5634 if test -z "$CXX"; then
5635 if test -n "$CCC"; then
5636 CXX=$CCC
5637 else
5638 if test -n "$ac_tool_prefix"; then
5639 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5641 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5642 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644 printf %s "checking for $ac_word... " >&6; }
5645 if test ${ac_cv_prog_CXX+y}
5646 then :
5647 printf %s "(cached) " >&6
5648 else $as_nop
5649 if test -n "$CXX"; then
5650 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5651 else
5652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5653 for as_dir in $PATH
5655 IFS=$as_save_IFS
5656 case $as_dir in #(((
5657 '') as_dir=./ ;;
5658 */) ;;
5659 *) as_dir=$as_dir/ ;;
5660 esac
5661 for ac_exec_ext in '' $ac_executable_extensions; do
5662 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5663 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5665 break 2
5667 done
5668 done
5669 IFS=$as_save_IFS
5673 CXX=$ac_cv_prog_CXX
5674 if test -n "$CXX"; then
5675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5676 printf "%s\n" "$CXX" >&6; }
5677 else
5678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679 printf "%s\n" "no" >&6; }
5683 test -n "$CXX" && break
5684 done
5686 if test -z "$CXX"; then
5687 ac_ct_CXX=$CXX
5688 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5690 # Extract the first word of "$ac_prog", so it can be a program name with args.
5691 set dummy $ac_prog; ac_word=$2
5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5693 printf %s "checking for $ac_word... " >&6; }
5694 if test ${ac_cv_prog_ac_ct_CXX+y}
5695 then :
5696 printf %s "(cached) " >&6
5697 else $as_nop
5698 if test -n "$ac_ct_CXX"; then
5699 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5700 else
5701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5702 for as_dir in $PATH
5704 IFS=$as_save_IFS
5705 case $as_dir in #(((
5706 '') as_dir=./ ;;
5707 */) ;;
5708 *) as_dir=$as_dir/ ;;
5709 esac
5710 for ac_exec_ext in '' $ac_executable_extensions; do
5711 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5712 ac_cv_prog_ac_ct_CXX="$ac_prog"
5713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5714 break 2
5716 done
5717 done
5718 IFS=$as_save_IFS
5722 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5723 if test -n "$ac_ct_CXX"; then
5724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5725 printf "%s\n" "$ac_ct_CXX" >&6; }
5726 else
5727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 printf "%s\n" "no" >&6; }
5732 test -n "$ac_ct_CXX" && break
5733 done
5735 if test "x$ac_ct_CXX" = x; then
5736 CXX="g++"
5737 else
5738 case $cross_compiling:$ac_tool_warned in
5739 yes:)
5740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5741 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5742 ac_tool_warned=yes ;;
5743 esac
5744 CXX=$ac_ct_CXX
5750 # Provide some information about the compiler.
5751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5752 set X $ac_compile
5753 ac_compiler=$2
5754 for ac_option in --version -v -V -qversion; do
5755 { { ac_try="$ac_compiler $ac_option >&5"
5756 case "(($ac_try" in
5757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5758 *) ac_try_echo=$ac_try;;
5759 esac
5760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5761 printf "%s\n" "$ac_try_echo"; } >&5
5762 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5763 ac_status=$?
5764 if test -s conftest.err; then
5765 sed '10a\
5766 ... rest of stderr output deleted ...
5767 10q' conftest.err >conftest.er1
5768 cat conftest.er1 >&5
5770 rm -f conftest.er1 conftest.err
5771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5772 test $ac_status = 0; }
5773 done
5775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5776 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5777 if test ${ac_cv_cxx_compiler_gnu+y}
5778 then :
5779 printf %s "(cached) " >&6
5780 else $as_nop
5781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5782 /* end confdefs.h. */
5785 main (void)
5787 #ifndef __GNUC__
5788 choke me
5789 #endif
5792 return 0;
5794 _ACEOF
5795 if ac_fn_cxx_try_compile "$LINENO"
5796 then :
5797 ac_compiler_gnu=yes
5798 else $as_nop
5799 ac_compiler_gnu=no
5801 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5802 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5806 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5809 if test $ac_compiler_gnu = yes; then
5810 GXX=yes
5811 else
5812 GXX=
5814 ac_test_CXXFLAGS=${CXXFLAGS+y}
5815 ac_save_CXXFLAGS=$CXXFLAGS
5816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5817 printf %s "checking whether $CXX accepts -g... " >&6; }
5818 if test ${ac_cv_prog_cxx_g+y}
5819 then :
5820 printf %s "(cached) " >&6
5821 else $as_nop
5822 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5823 ac_cxx_werror_flag=yes
5824 ac_cv_prog_cxx_g=no
5825 CXXFLAGS="-g"
5826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5827 /* end confdefs.h. */
5830 main (void)
5834 return 0;
5836 _ACEOF
5837 if ac_fn_cxx_try_compile "$LINENO"
5838 then :
5839 ac_cv_prog_cxx_g=yes
5840 else $as_nop
5841 CXXFLAGS=""
5842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5843 /* end confdefs.h. */
5846 main (void)
5850 return 0;
5852 _ACEOF
5853 if ac_fn_cxx_try_compile "$LINENO"
5854 then :
5856 else $as_nop
5857 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5858 CXXFLAGS="-g"
5859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5860 /* end confdefs.h. */
5863 main (void)
5867 return 0;
5869 _ACEOF
5870 if ac_fn_cxx_try_compile "$LINENO"
5871 then :
5872 ac_cv_prog_cxx_g=yes
5874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5879 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5882 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5883 if test $ac_test_CXXFLAGS; then
5884 CXXFLAGS=$ac_save_CXXFLAGS
5885 elif test $ac_cv_prog_cxx_g = yes; then
5886 if test "$GXX" = yes; then
5887 CXXFLAGS="-g -O2"
5888 else
5889 CXXFLAGS="-g"
5891 else
5892 if test "$GXX" = yes; then
5893 CXXFLAGS="-O2"
5894 else
5895 CXXFLAGS=
5898 ac_prog_cxx_stdcxx=no
5899 if test x$ac_prog_cxx_stdcxx = xno
5900 then :
5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5902 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5903 if test ${ac_cv_prog_cxx_11+y}
5904 then :
5905 printf %s "(cached) " >&6
5906 else $as_nop
5907 ac_cv_prog_cxx_11=no
5908 ac_save_CXX=$CXX
5909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5911 $ac_cxx_conftest_cxx11_program
5912 _ACEOF
5913 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5915 CXX="$ac_save_CXX $ac_arg"
5916 if ac_fn_cxx_try_compile "$LINENO"
5917 then :
5918 ac_cv_prog_cxx_cxx11=$ac_arg
5920 rm -f core conftest.err conftest.$ac_objext conftest.beam
5921 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5922 done
5923 rm -f conftest.$ac_ext
5924 CXX=$ac_save_CXX
5927 if test "x$ac_cv_prog_cxx_cxx11" = xno
5928 then :
5929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5930 printf "%s\n" "unsupported" >&6; }
5931 else $as_nop
5932 if test "x$ac_cv_prog_cxx_cxx11" = x
5933 then :
5934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5935 printf "%s\n" "none needed" >&6; }
5936 else $as_nop
5937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5938 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5939 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5941 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5942 ac_prog_cxx_stdcxx=cxx11
5945 if test x$ac_prog_cxx_stdcxx = xno
5946 then :
5947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5948 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5949 if test ${ac_cv_prog_cxx_98+y}
5950 then :
5951 printf %s "(cached) " >&6
5952 else $as_nop
5953 ac_cv_prog_cxx_98=no
5954 ac_save_CXX=$CXX
5955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5956 /* end confdefs.h. */
5957 $ac_cxx_conftest_cxx98_program
5958 _ACEOF
5959 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5961 CXX="$ac_save_CXX $ac_arg"
5962 if ac_fn_cxx_try_compile "$LINENO"
5963 then :
5964 ac_cv_prog_cxx_cxx98=$ac_arg
5966 rm -f core conftest.err conftest.$ac_objext conftest.beam
5967 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5968 done
5969 rm -f conftest.$ac_ext
5970 CXX=$ac_save_CXX
5973 if test "x$ac_cv_prog_cxx_cxx98" = xno
5974 then :
5975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5976 printf "%s\n" "unsupported" >&6; }
5977 else $as_nop
5978 if test "x$ac_cv_prog_cxx_cxx98" = x
5979 then :
5980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5981 printf "%s\n" "none needed" >&6; }
5982 else $as_nop
5983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5984 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5985 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5987 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5988 ac_prog_cxx_stdcxx=cxx98
5992 ac_ext=c
5993 ac_cpp='$CPP $CPPFLAGS'
5994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5998 if test -n "$ac_tool_prefix"; then
5999 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6000 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6002 printf %s "checking for $ac_word... " >&6; }
6003 if test ${ac_cv_prog_CPPBIN+y}
6004 then :
6005 printf %s "(cached) " >&6
6006 else $as_nop
6007 if test -n "$CPPBIN"; then
6008 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6009 else
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011 for as_dir in $PATH
6013 IFS=$as_save_IFS
6014 case $as_dir in #(((
6015 '') as_dir=./ ;;
6016 */) ;;
6017 *) as_dir=$as_dir/ ;;
6018 esac
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6021 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6022 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6023 break 2
6025 done
6026 done
6027 IFS=$as_save_IFS
6031 CPPBIN=$ac_cv_prog_CPPBIN
6032 if test -n "$CPPBIN"; then
6033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6034 printf "%s\n" "$CPPBIN" >&6; }
6035 else
6036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6037 printf "%s\n" "no" >&6; }
6042 if test -z "$ac_cv_prog_CPPBIN"; then
6043 ac_ct_CPPBIN=$CPPBIN
6044 # Extract the first word of "cpp", so it can be a program name with args.
6045 set dummy cpp; ac_word=$2
6046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6047 printf %s "checking for $ac_word... " >&6; }
6048 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6049 then :
6050 printf %s "(cached) " >&6
6051 else $as_nop
6052 if test -n "$ac_ct_CPPBIN"; then
6053 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6058 IFS=$as_save_IFS
6059 case $as_dir in #(((
6060 '') as_dir=./ ;;
6061 */) ;;
6062 *) as_dir=$as_dir/ ;;
6063 esac
6064 for ac_exec_ext in '' $ac_executable_extensions; do
6065 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6066 ac_cv_prog_ac_ct_CPPBIN="cpp"
6067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6068 break 2
6070 done
6071 done
6072 IFS=$as_save_IFS
6076 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6077 if test -n "$ac_ct_CPPBIN"; then
6078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6079 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6080 else
6081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6082 printf "%s\n" "no" >&6; }
6085 if test "x$ac_ct_CPPBIN" = x; then
6086 CPPBIN="cpp"
6087 else
6088 case $cross_compiling:$ac_tool_warned in
6089 yes:)
6090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6091 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6092 ac_tool_warned=yes ;;
6093 esac
6094 CPPBIN=$ac_ct_CPPBIN
6096 else
6097 CPPBIN="$ac_cv_prog_CPPBIN"
6101 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6103 if test -n "$ac_tool_prefix"; then
6104 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6105 set dummy ${ac_tool_prefix}ld; ac_word=$2
6106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6107 printf %s "checking for $ac_word... " >&6; }
6108 if test ${ac_cv_prog_LD+y}
6109 then :
6110 printf %s "(cached) " >&6
6111 else $as_nop
6112 if test -n "$LD"; then
6113 ac_cv_prog_LD="$LD" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6118 IFS=$as_save_IFS
6119 case $as_dir in #(((
6120 '') as_dir=./ ;;
6121 */) ;;
6122 *) as_dir=$as_dir/ ;;
6123 esac
6124 for ac_exec_ext in '' $ac_executable_extensions; do
6125 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6126 ac_cv_prog_LD="${ac_tool_prefix}ld"
6127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6128 break 2
6130 done
6131 done
6132 IFS=$as_save_IFS
6136 LD=$ac_cv_prog_LD
6137 if test -n "$LD"; then
6138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6139 printf "%s\n" "$LD" >&6; }
6140 else
6141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6142 printf "%s\n" "no" >&6; }
6147 if test -z "$ac_cv_prog_LD"; then
6148 ac_ct_LD=$LD
6149 # Extract the first word of "ld", so it can be a program name with args.
6150 set dummy ld; ac_word=$2
6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6152 printf %s "checking for $ac_word... " >&6; }
6153 if test ${ac_cv_prog_ac_ct_LD+y}
6154 then :
6155 printf %s "(cached) " >&6
6156 else $as_nop
6157 if test -n "$ac_ct_LD"; then
6158 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6159 else
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 for as_dir in $PATH
6163 IFS=$as_save_IFS
6164 case $as_dir in #(((
6165 '') as_dir=./ ;;
6166 */) ;;
6167 *) as_dir=$as_dir/ ;;
6168 esac
6169 for ac_exec_ext in '' $ac_executable_extensions; do
6170 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6171 ac_cv_prog_ac_ct_LD="ld"
6172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6173 break 2
6175 done
6176 done
6177 IFS=$as_save_IFS
6181 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6182 if test -n "$ac_ct_LD"; then
6183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6184 printf "%s\n" "$ac_ct_LD" >&6; }
6185 else
6186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6187 printf "%s\n" "no" >&6; }
6190 if test "x$ac_ct_LD" = x; then
6191 LD=""
6192 else
6193 case $cross_compiling:$ac_tool_warned in
6194 yes:)
6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6196 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6197 ac_tool_warned=yes ;;
6198 esac
6199 LD=$ac_ct_LD
6201 else
6202 LD="$ac_cv_prog_LD"
6206 case $host in
6207 *-darwin*)
6208 with_fontconfig=${with_fontconfig:-no}
6210 *-mingw32*|*-cygwin*)
6211 enable_win16=${enable_win16:-no}
6212 with_mingw=${with_mingw:-no}
6214 esac
6217 case $host in
6218 x86_64*|amd64*)
6219 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6220 then
6221 CC="$CC -m32"
6222 CXX="$CXX -m32"
6224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6225 printf %s "checking whether $CC works... " >&6; }
6226 if test ${wine_cv_cc_m32+y}
6227 then :
6228 printf %s "(cached) " >&6
6229 else $as_nop
6230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6231 /* end confdefs.h. */
6234 main (void)
6238 return 0;
6240 _ACEOF
6241 if ac_fn_c_try_link "$LINENO"
6242 then :
6243 wine_cv_cc_m32=yes
6244 else $as_nop
6245 wine_cv_cc_m32=no
6247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6248 conftest$ac_exeext conftest.$ac_ext
6250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6251 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6252 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
6253 host_cpu="i386"
6254 notice_platform="32-bit "
6255 TARGETFLAGS="$TARGETFLAGS -m32"
6256 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6257 export PKG_CONFIG_PATH
6258 with_unwind=${with_unwind:-no}
6259 else
6260 if test "x${GCC}" = "xyes"
6261 then
6262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6263 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6264 if test ${wine_cv_builtin_ms_va_list+y}
6265 then :
6266 printf %s "(cached) " >&6
6267 else $as_nop
6268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6269 /* end confdefs.h. */
6270 #include <stdarg.h>
6272 main (void)
6274 void func(__builtin_ms_va_list *args);
6276 return 0;
6278 _ACEOF
6279 if ac_fn_c_try_compile "$LINENO"
6280 then :
6281 wine_cv_builtin_ms_va_list=yes
6282 else $as_nop
6283 wine_cv_builtin_ms_va_list=no
6285 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6288 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6289 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
6291 CC="$CC -m64"
6292 CXX="$CXX -m64"
6293 host_cpu="x86_64"
6294 notice_platform="64-bit "
6295 TARGETFLAGS="$TARGETFLAGS -m64"
6298 arm*)
6299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6300 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6301 if test ${wine_cv_thumb2+y}
6302 then :
6303 printf %s "(cached) " >&6
6304 else $as_nop
6305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6306 /* end confdefs.h. */
6309 main (void)
6311 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6313 return 0;
6315 _ACEOF
6316 if ac_fn_c_try_link "$LINENO"
6317 then :
6318 wine_cv_thumb2=yes
6319 else $as_nop
6320 wine_cv_thumb2=no
6322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6323 conftest$ac_exeext conftest.$ac_ext
6325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6326 printf "%s\n" "$wine_cv_thumb2" >&6; }
6327 if test x"$wine_cv_thumb2" = xyes
6328 then
6329 CFLAGS="$CFLAGS -mthumb"
6330 TARGETFLAGS="$TARGETFLAGS -mthumb"
6331 else
6332 CFLAGS="$CFLAGS -marm"
6333 TARGETFLAGS="$TARGETFLAGS -marm"
6335 case $with_float_abi in
6336 soft|softfp|hard)
6337 float_abi=$with_float_abi ;;
6339 case $host_os in
6340 *eabihf)
6341 float_abi=hard ;;
6343 float_abi=softfp
6344 saved_CFLAGS=$CFLAGS
6345 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6347 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6348 if test ${wine_cv_float_abi+y}
6349 then :
6350 printf %s "(cached) " >&6
6351 else $as_nop
6352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6353 /* end confdefs.h. */
6356 main (void)
6358 asm("vmrs r2,fpscr");
6360 return 0;
6362 _ACEOF
6363 if ac_fn_c_try_link "$LINENO"
6364 then :
6365 wine_cv_float_abi=yes
6366 else $as_nop
6367 wine_cv_float_abi=no
6369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6370 conftest$ac_exeext conftest.$ac_ext
6372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6373 printf "%s\n" "$wine_cv_float_abi" >&6; }
6374 if test $wine_cv_float_abi = no
6375 then
6376 float_abi=soft
6377 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6379 CFLAGS=$saved_CFLAGS
6380 esac
6382 esac
6383 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6384 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6386 i[3456789]86*)
6387 with_unwind=${with_unwind:-no}
6389 esac
6391 enable_win16=${enable_win16:-i386}
6392 enable_win64=${enable_win64:-no}
6393 enable_wow64=${enable_wow64:-aarch64,x86_64}
6394 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6395 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6397 enable_winetest=${enable_winetest:-$enable_tests}
6399 if test "x$enable_win64" = "xyes"
6400 then
6401 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6402 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6405 case $build_os in
6406 cygwin*|mingw32*) toolsext=".exe"
6408 *) toolsext=""
6410 esac
6412 HOST_ARCH=unknown
6413 case "$host_cpu" in
6414 aarch64*) HOST_ARCH=aarch64 ;;
6415 arm*) HOST_ARCH=arm ;;
6416 i[3456789]86*) HOST_ARCH=i386 ;;
6417 x86_64) HOST_ARCH=x86_64 ;;
6418 esac
6421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6422 printf %s "checking for the directory containing the Wine tools... " >&6; }
6423 if test ${wine_cv_toolsdir+y}
6424 then :
6425 printf %s "(cached) " >&6
6426 else $as_nop
6427 wine_cv_toolsdir="$with_wine_tools"
6428 if test -z "$with_wine_tools"; then
6429 if test "$cross_compiling" = "yes"; then
6430 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6431 elif test -n "$with_wine64"; then
6432 wine_cv_toolsdir="$with_wine64"
6436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6437 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6438 if test -z "$wine_cv_toolsdir"; then
6439 wine_makedep=tools/makedep$toolsext
6440 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6441 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6442 enable_tools=${enable_tools:-no}
6443 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6444 else
6445 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6447 toolsdir=$wine_cv_toolsdir
6449 MAKEDEP=$wine_makedep
6451 RUNTESTFLAGS="-q -P wine"
6453 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'"
6456 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6457 then
6458 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6461 for ac_prog in flex
6463 # Extract the first word of "$ac_prog", so it can be a program name with args.
6464 set dummy $ac_prog; ac_word=$2
6465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6466 printf %s "checking for $ac_word... " >&6; }
6467 if test ${ac_cv_prog_FLEX+y}
6468 then :
6469 printf %s "(cached) " >&6
6470 else $as_nop
6471 if test -n "$FLEX"; then
6472 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6473 else
6474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 for as_dir in $PATH
6477 IFS=$as_save_IFS
6478 case $as_dir in #(((
6479 '') as_dir=./ ;;
6480 */) ;;
6481 *) as_dir=$as_dir/ ;;
6482 esac
6483 for ac_exec_ext in '' $ac_executable_extensions; do
6484 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6485 ac_cv_prog_FLEX="$ac_prog"
6486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6487 break 2
6489 done
6490 done
6491 IFS=$as_save_IFS
6495 FLEX=$ac_cv_prog_FLEX
6496 if test -n "$FLEX"; then
6497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6498 printf "%s\n" "$FLEX" >&6; }
6499 else
6500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6501 printf "%s\n" "no" >&6; }
6505 test -n "$FLEX" && break
6506 done
6507 test -n "$FLEX" || FLEX="none"
6509 if test "$FLEX" = "none"
6510 then
6511 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6514 printf %s "checking whether flex is recent enough... " >&6; }
6515 if test ${wine_cv_recent_flex+y}
6516 then :
6517 printf %s "(cached) " >&6
6518 else $as_nop
6519 cat >conftest.l <<EOF
6520 %top{
6521 #include "prediluvian.h"
6525 if $FLEX -t conftest.l >/dev/null 2>&5
6526 then
6527 wine_cv_recent_flex=yes
6528 else
6529 wine_cv_recent_flex=no
6532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6533 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6534 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
6536 for ac_prog in bison
6538 # Extract the first word of "$ac_prog", so it can be a program name with args.
6539 set dummy $ac_prog; ac_word=$2
6540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6541 printf %s "checking for $ac_word... " >&6; }
6542 if test ${ac_cv_prog_BISON+y}
6543 then :
6544 printf %s "(cached) " >&6
6545 else $as_nop
6546 if test -n "$BISON"; then
6547 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6548 else
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6550 for as_dir in $PATH
6552 IFS=$as_save_IFS
6553 case $as_dir in #(((
6554 '') as_dir=./ ;;
6555 */) ;;
6556 *) as_dir=$as_dir/ ;;
6557 esac
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6560 ac_cv_prog_BISON="$ac_prog"
6561 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6562 break 2
6564 done
6565 done
6566 IFS=$as_save_IFS
6570 BISON=$ac_cv_prog_BISON
6571 if test -n "$BISON"; then
6572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6573 printf "%s\n" "$BISON" >&6; }
6574 else
6575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 printf "%s\n" "no" >&6; }
6580 test -n "$BISON" && break
6581 done
6582 test -n "$BISON" || BISON="none"
6584 if test "$BISON" = "none"
6585 then
6586 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6589 printf %s "checking whether bison is recent enough... " >&6; }
6590 if test ${wine_cv_recent_bison+y}
6591 then :
6592 printf %s "(cached) " >&6
6593 else $as_nop
6594 cat >conftest.y <<EOF
6595 %define parse.error verbose
6597 empty: ;
6599 if $BISON conftest.y >/dev/null 2>&5
6600 then
6601 wine_cv_recent_bison=yes
6602 else
6603 wine_cv_recent_bison=no
6606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6607 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6608 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
6610 if test -n "$ac_tool_prefix"; then
6611 for ac_prog in ar gar
6613 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6614 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6616 printf %s "checking for $ac_word... " >&6; }
6617 if test ${ac_cv_prog_AR+y}
6618 then :
6619 printf %s "(cached) " >&6
6620 else $as_nop
6621 if test -n "$AR"; then
6622 ac_cv_prog_AR="$AR" # Let the user override the test.
6623 else
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 for as_dir in $PATH
6627 IFS=$as_save_IFS
6628 case $as_dir in #(((
6629 '') as_dir=./ ;;
6630 */) ;;
6631 *) as_dir=$as_dir/ ;;
6632 esac
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6635 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6636 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6637 break 2
6639 done
6640 done
6641 IFS=$as_save_IFS
6645 AR=$ac_cv_prog_AR
6646 if test -n "$AR"; then
6647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6648 printf "%s\n" "$AR" >&6; }
6649 else
6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 printf "%s\n" "no" >&6; }
6655 test -n "$AR" && break
6656 done
6658 if test -z "$AR"; then
6659 ac_ct_AR=$AR
6660 for ac_prog in ar gar
6662 # Extract the first word of "$ac_prog", so it can be a program name with args.
6663 set dummy $ac_prog; ac_word=$2
6664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6665 printf %s "checking for $ac_word... " >&6; }
6666 if test ${ac_cv_prog_ac_ct_AR+y}
6667 then :
6668 printf %s "(cached) " >&6
6669 else $as_nop
6670 if test -n "$ac_ct_AR"; then
6671 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6672 else
6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674 for as_dir in $PATH
6676 IFS=$as_save_IFS
6677 case $as_dir in #(((
6678 '') as_dir=./ ;;
6679 */) ;;
6680 *) as_dir=$as_dir/ ;;
6681 esac
6682 for ac_exec_ext in '' $ac_executable_extensions; do
6683 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6684 ac_cv_prog_ac_ct_AR="$ac_prog"
6685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6686 break 2
6688 done
6689 done
6690 IFS=$as_save_IFS
6694 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6695 if test -n "$ac_ct_AR"; then
6696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6697 printf "%s\n" "$ac_ct_AR" >&6; }
6698 else
6699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 printf "%s\n" "no" >&6; }
6704 test -n "$ac_ct_AR" && break
6705 done
6707 if test "x$ac_ct_AR" = x; then
6708 AR="ar"
6709 else
6710 case $cross_compiling:$ac_tool_warned in
6711 yes:)
6712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6713 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6714 ac_tool_warned=yes ;;
6715 esac
6716 AR=$ac_ct_AR
6720 if test -n "$ac_tool_prefix"; then
6721 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6722 set dummy ${ac_tool_prefix}strip; ac_word=$2
6723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6724 printf %s "checking for $ac_word... " >&6; }
6725 if test ${ac_cv_prog_STRIP+y}
6726 then :
6727 printf %s "(cached) " >&6
6728 else $as_nop
6729 if test -n "$STRIP"; then
6730 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6731 else
6732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6733 for as_dir in $PATH
6735 IFS=$as_save_IFS
6736 case $as_dir in #(((
6737 '') as_dir=./ ;;
6738 */) ;;
6739 *) as_dir=$as_dir/ ;;
6740 esac
6741 for ac_exec_ext in '' $ac_executable_extensions; do
6742 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6743 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6745 break 2
6747 done
6748 done
6749 IFS=$as_save_IFS
6753 STRIP=$ac_cv_prog_STRIP
6754 if test -n "$STRIP"; then
6755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6756 printf "%s\n" "$STRIP" >&6; }
6757 else
6758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6759 printf "%s\n" "no" >&6; }
6764 if test -z "$ac_cv_prog_STRIP"; then
6765 ac_ct_STRIP=$STRIP
6766 # Extract the first word of "strip", so it can be a program name with args.
6767 set dummy strip; ac_word=$2
6768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6769 printf %s "checking for $ac_word... " >&6; }
6770 if test ${ac_cv_prog_ac_ct_STRIP+y}
6771 then :
6772 printf %s "(cached) " >&6
6773 else $as_nop
6774 if test -n "$ac_ct_STRIP"; then
6775 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6776 else
6777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6778 for as_dir in $PATH
6780 IFS=$as_save_IFS
6781 case $as_dir in #(((
6782 '') as_dir=./ ;;
6783 */) ;;
6784 *) as_dir=$as_dir/ ;;
6785 esac
6786 for ac_exec_ext in '' $ac_executable_extensions; do
6787 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6788 ac_cv_prog_ac_ct_STRIP="strip"
6789 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6790 break 2
6792 done
6793 done
6794 IFS=$as_save_IFS
6798 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6799 if test -n "$ac_ct_STRIP"; then
6800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6801 printf "%s\n" "$ac_ct_STRIP" >&6; }
6802 else
6803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 printf "%s\n" "no" >&6; }
6807 if test "x$ac_ct_STRIP" = x; then
6808 STRIP="strip"
6809 else
6810 case $cross_compiling:$ac_tool_warned in
6811 yes:)
6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6813 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6814 ac_tool_warned=yes ;;
6815 esac
6816 STRIP=$ac_ct_STRIP
6818 else
6819 STRIP="$ac_cv_prog_STRIP"
6822 if test -n "$ac_tool_prefix"; then
6823 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6824 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6826 printf %s "checking for $ac_word... " >&6; }
6827 if test ${ac_cv_prog_RANLIB+y}
6828 then :
6829 printf %s "(cached) " >&6
6830 else $as_nop
6831 if test -n "$RANLIB"; then
6832 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6833 else
6834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6835 for as_dir in $PATH
6837 IFS=$as_save_IFS
6838 case $as_dir in #(((
6839 '') as_dir=./ ;;
6840 */) ;;
6841 *) as_dir=$as_dir/ ;;
6842 esac
6843 for ac_exec_ext in '' $ac_executable_extensions; do
6844 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6845 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6846 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6847 break 2
6849 done
6850 done
6851 IFS=$as_save_IFS
6855 RANLIB=$ac_cv_prog_RANLIB
6856 if test -n "$RANLIB"; then
6857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6858 printf "%s\n" "$RANLIB" >&6; }
6859 else
6860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 printf "%s\n" "no" >&6; }
6866 if test -z "$ac_cv_prog_RANLIB"; then
6867 ac_ct_RANLIB=$RANLIB
6868 # Extract the first word of "ranlib", so it can be a program name with args.
6869 set dummy ranlib; ac_word=$2
6870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 printf %s "checking for $ac_word... " >&6; }
6872 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6873 then :
6874 printf %s "(cached) " >&6
6875 else $as_nop
6876 if test -n "$ac_ct_RANLIB"; then
6877 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6878 else
6879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6880 for as_dir in $PATH
6882 IFS=$as_save_IFS
6883 case $as_dir in #(((
6884 '') as_dir=./ ;;
6885 */) ;;
6886 *) as_dir=$as_dir/ ;;
6887 esac
6888 for ac_exec_ext in '' $ac_executable_extensions; do
6889 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6890 ac_cv_prog_ac_ct_RANLIB="ranlib"
6891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6892 break 2
6894 done
6895 done
6896 IFS=$as_save_IFS
6900 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6901 if test -n "$ac_ct_RANLIB"; then
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6903 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6904 else
6905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6906 printf "%s\n" "no" >&6; }
6909 if test "x$ac_ct_RANLIB" = x; then
6910 RANLIB=":"
6911 else
6912 case $cross_compiling:$ac_tool_warned in
6913 yes:)
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6915 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6916 ac_tool_warned=yes ;;
6917 esac
6918 RANLIB=$ac_ct_RANLIB
6920 else
6921 RANLIB="$ac_cv_prog_RANLIB"
6924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6925 printf %s "checking whether ln -s works... " >&6; }
6926 LN_S=$as_ln_s
6927 if test "$LN_S" = "ln -s"; then
6928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6929 printf "%s\n" "yes" >&6; }
6930 else
6931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6932 printf "%s\n" "no, using $LN_S" >&6; }
6935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6936 printf %s "checking for grep that handles long lines and -e... " >&6; }
6937 if test ${ac_cv_path_GREP+y}
6938 then :
6939 printf %s "(cached) " >&6
6940 else $as_nop
6941 if test -z "$GREP"; then
6942 ac_path_GREP_found=false
6943 # Loop through the user's path and test for each of PROGNAME-LIST
6944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6947 IFS=$as_save_IFS
6948 case $as_dir in #(((
6949 '') as_dir=./ ;;
6950 */) ;;
6951 *) as_dir=$as_dir/ ;;
6952 esac
6953 for ac_prog in grep ggrep
6955 for ac_exec_ext in '' $ac_executable_extensions; do
6956 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6957 as_fn_executable_p "$ac_path_GREP" || continue
6958 # Check for GNU ac_path_GREP and select it if it is found.
6959 # Check for GNU $ac_path_GREP
6960 case `"$ac_path_GREP" --version 2>&1` in
6961 *GNU*)
6962 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6964 ac_count=0
6965 printf %s 0123456789 >"conftest.in"
6966 while :
6968 cat "conftest.in" "conftest.in" >"conftest.tmp"
6969 mv "conftest.tmp" "conftest.in"
6970 cp "conftest.in" "conftest.nl"
6971 printf "%s\n" 'GREP' >> "conftest.nl"
6972 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6973 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6974 as_fn_arith $ac_count + 1 && ac_count=$as_val
6975 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6976 # Best one so far, save it but keep looking for a better one
6977 ac_cv_path_GREP="$ac_path_GREP"
6978 ac_path_GREP_max=$ac_count
6980 # 10*(2^10) chars as input seems more than enough
6981 test $ac_count -gt 10 && break
6982 done
6983 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6984 esac
6986 $ac_path_GREP_found && break 3
6987 done
6988 done
6989 done
6990 IFS=$as_save_IFS
6991 if test -z "$ac_cv_path_GREP"; then
6992 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6994 else
6995 ac_cv_path_GREP=$GREP
6999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7000 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7001 GREP="$ac_cv_path_GREP"
7004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7005 printf %s "checking for egrep... " >&6; }
7006 if test ${ac_cv_path_EGREP+y}
7007 then :
7008 printf %s "(cached) " >&6
7009 else $as_nop
7010 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7011 then ac_cv_path_EGREP="$GREP -E"
7012 else
7013 if test -z "$EGREP"; then
7014 ac_path_EGREP_found=false
7015 # Loop through the user's path and test for each of PROGNAME-LIST
7016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7017 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7019 IFS=$as_save_IFS
7020 case $as_dir in #(((
7021 '') as_dir=./ ;;
7022 */) ;;
7023 *) as_dir=$as_dir/ ;;
7024 esac
7025 for ac_prog in egrep
7027 for ac_exec_ext in '' $ac_executable_extensions; do
7028 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7029 as_fn_executable_p "$ac_path_EGREP" || continue
7030 # Check for GNU ac_path_EGREP and select it if it is found.
7031 # Check for GNU $ac_path_EGREP
7032 case `"$ac_path_EGREP" --version 2>&1` in
7033 *GNU*)
7034 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7036 ac_count=0
7037 printf %s 0123456789 >"conftest.in"
7038 while :
7040 cat "conftest.in" "conftest.in" >"conftest.tmp"
7041 mv "conftest.tmp" "conftest.in"
7042 cp "conftest.in" "conftest.nl"
7043 printf "%s\n" 'EGREP' >> "conftest.nl"
7044 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7045 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7046 as_fn_arith $ac_count + 1 && ac_count=$as_val
7047 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7048 # Best one so far, save it but keep looking for a better one
7049 ac_cv_path_EGREP="$ac_path_EGREP"
7050 ac_path_EGREP_max=$ac_count
7052 # 10*(2^10) chars as input seems more than enough
7053 test $ac_count -gt 10 && break
7054 done
7055 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7056 esac
7058 $ac_path_EGREP_found && break 3
7059 done
7060 done
7061 done
7062 IFS=$as_save_IFS
7063 if test -z "$ac_cv_path_EGREP"; then
7064 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7066 else
7067 ac_cv_path_EGREP=$EGREP
7072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7073 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7074 EGREP="$ac_cv_path_EGREP"
7077 # Extract the first word of "ldconfig", so it can be a program name with args.
7078 set dummy ldconfig; ac_word=$2
7079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7080 printf %s "checking for $ac_word... " >&6; }
7081 if test ${ac_cv_path_LDCONFIG+y}
7082 then :
7083 printf %s "(cached) " >&6
7084 else $as_nop
7085 case $LDCONFIG in
7086 [\\/]* | ?:[\\/]*)
7087 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7091 for as_dir in /sbin /usr/sbin $PATH
7093 IFS=$as_save_IFS
7094 case $as_dir in #(((
7095 '') as_dir=./ ;;
7096 */) ;;
7097 *) as_dir=$as_dir/ ;;
7098 esac
7099 for ac_exec_ext in '' $ac_executable_extensions; do
7100 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7101 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7103 break 2
7105 done
7106 done
7107 IFS=$as_save_IFS
7109 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7111 esac
7113 LDCONFIG=$ac_cv_path_LDCONFIG
7114 if test -n "$LDCONFIG"; then
7115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7116 printf "%s\n" "$LDCONFIG" >&6; }
7117 else
7118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119 printf "%s\n" "no" >&6; }
7123 for ac_prog in msgfmt
7125 # Extract the first word of "$ac_prog", so it can be a program name with args.
7126 set dummy $ac_prog; ac_word=$2
7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128 printf %s "checking for $ac_word... " >&6; }
7129 if test ${ac_cv_prog_MSGFMT+y}
7130 then :
7131 printf %s "(cached) " >&6
7132 else $as_nop
7133 if test -n "$MSGFMT"; then
7134 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7135 else
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 for as_dir in $PATH
7139 IFS=$as_save_IFS
7140 case $as_dir in #(((
7141 '') as_dir=./ ;;
7142 */) ;;
7143 *) as_dir=$as_dir/ ;;
7144 esac
7145 for ac_exec_ext in '' $ac_executable_extensions; do
7146 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7147 ac_cv_prog_MSGFMT="$ac_prog"
7148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7149 break 2
7151 done
7152 done
7153 IFS=$as_save_IFS
7157 MSGFMT=$ac_cv_prog_MSGFMT
7158 if test -n "$MSGFMT"; then
7159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7160 printf "%s\n" "$MSGFMT" >&6; }
7161 else
7162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7163 printf "%s\n" "no" >&6; }
7167 test -n "$MSGFMT" && break
7168 done
7169 test -n "$MSGFMT" || MSGFMT="false"
7171 if test ${ac_tool_prefix+y}
7172 then :
7173 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7174 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7176 printf %s "checking for $ac_word... " >&6; }
7177 if test ${ac_cv_prog_PKG_CONFIG+y}
7178 then :
7179 printf %s "(cached) " >&6
7180 else $as_nop
7181 if test -n "$PKG_CONFIG"; then
7182 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7183 else
7184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7185 for as_dir in $PATH
7187 IFS=$as_save_IFS
7188 case $as_dir in #(((
7189 '') as_dir=./ ;;
7190 */) ;;
7191 *) as_dir=$as_dir/ ;;
7192 esac
7193 for ac_exec_ext in '' $ac_executable_extensions; do
7194 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7195 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7197 break 2
7199 done
7200 done
7201 IFS=$as_save_IFS
7205 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7206 if test -n "$PKG_CONFIG"; then
7207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7208 printf "%s\n" "$PKG_CONFIG" >&6; }
7209 else
7210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7211 printf "%s\n" "no" >&6; }
7216 if ${ac_cv_prog_PKG_CONFIG:+false} :
7217 then :
7218 if test "x$cross_compiling" = xyes
7219 then :
7221 else $as_nop
7222 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7223 # Extract the first word of "pkg-config", so it can be a program name with args.
7224 set dummy pkg-config; ac_word=$2
7225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 printf %s "checking for $ac_word... " >&6; }
7227 if test ${ac_cv_prog_PKG_CONFIG+y}
7228 then :
7229 printf %s "(cached) " >&6
7230 else $as_nop
7231 if test -n "$PKG_CONFIG"; then
7232 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7233 else
7234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7235 for as_dir in $PATH
7237 IFS=$as_save_IFS
7238 case $as_dir in #(((
7239 '') as_dir=./ ;;
7240 */) ;;
7241 *) as_dir=$as_dir/ ;;
7242 esac
7243 for ac_exec_ext in '' $ac_executable_extensions; do
7244 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7245 ac_cv_prog_PKG_CONFIG="pkg-config"
7246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7247 break 2
7249 done
7250 done
7251 IFS=$as_save_IFS
7255 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7256 if test -n "$PKG_CONFIG"; then
7257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7258 printf "%s\n" "$PKG_CONFIG" >&6; }
7259 else
7260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 printf "%s\n" "no" >&6; }
7266 else $as_nop
7267 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7270 if test "x$enable_maintainer_mode" != "xyes"
7271 then
7272 FONTFORGE=""
7273 RSVG=""
7274 CONVERT=""
7275 ICOTOOL=""
7276 else
7277 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7278 for ac_prog in fontforge
7280 # Extract the first word of "$ac_prog", so it can be a program name with args.
7281 set dummy $ac_prog; ac_word=$2
7282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 printf %s "checking for $ac_word... " >&6; }
7284 if test ${ac_cv_prog_FONTFORGE+y}
7285 then :
7286 printf %s "(cached) " >&6
7287 else $as_nop
7288 if test -n "$FONTFORGE"; then
7289 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7290 else
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292 for as_dir in $PATH
7294 IFS=$as_save_IFS
7295 case $as_dir in #(((
7296 '') as_dir=./ ;;
7297 */) ;;
7298 *) as_dir=$as_dir/ ;;
7299 esac
7300 for ac_exec_ext in '' $ac_executable_extensions; do
7301 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7302 ac_cv_prog_FONTFORGE="$ac_prog"
7303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7304 break 2
7306 done
7307 done
7308 IFS=$as_save_IFS
7312 FONTFORGE=$ac_cv_prog_FONTFORGE
7313 if test -n "$FONTFORGE"; then
7314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7315 printf "%s\n" "$FONTFORGE" >&6; }
7316 else
7317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7318 printf "%s\n" "no" >&6; }
7322 test -n "$FONTFORGE" && break
7323 done
7324 test -n "$FONTFORGE" || FONTFORGE="false"
7326 for ac_prog in rsvg-convert rsvg
7328 # Extract the first word of "$ac_prog", so it can be a program name with args.
7329 set dummy $ac_prog; ac_word=$2
7330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7331 printf %s "checking for $ac_word... " >&6; }
7332 if test ${ac_cv_prog_RSVG+y}
7333 then :
7334 printf %s "(cached) " >&6
7335 else $as_nop
7336 if test -n "$RSVG"; then
7337 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7338 else
7339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7340 for as_dir in $PATH
7342 IFS=$as_save_IFS
7343 case $as_dir in #(((
7344 '') as_dir=./ ;;
7345 */) ;;
7346 *) as_dir=$as_dir/ ;;
7347 esac
7348 for ac_exec_ext in '' $ac_executable_extensions; do
7349 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7350 ac_cv_prog_RSVG="$ac_prog"
7351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7352 break 2
7354 done
7355 done
7356 IFS=$as_save_IFS
7360 RSVG=$ac_cv_prog_RSVG
7361 if test -n "$RSVG"; then
7362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7363 printf "%s\n" "$RSVG" >&6; }
7364 else
7365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7366 printf "%s\n" "no" >&6; }
7370 test -n "$RSVG" && break
7371 done
7372 test -n "$RSVG" || RSVG="false"
7374 for ac_prog in convert
7376 # Extract the first word of "$ac_prog", so it can be a program name with args.
7377 set dummy $ac_prog; ac_word=$2
7378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379 printf %s "checking for $ac_word... " >&6; }
7380 if test ${ac_cv_prog_CONVERT+y}
7381 then :
7382 printf %s "(cached) " >&6
7383 else $as_nop
7384 if test -n "$CONVERT"; then
7385 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7386 else
7387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7388 for as_dir in $PATH
7390 IFS=$as_save_IFS
7391 case $as_dir in #(((
7392 '') as_dir=./ ;;
7393 */) ;;
7394 *) as_dir=$as_dir/ ;;
7395 esac
7396 for ac_exec_ext in '' $ac_executable_extensions; do
7397 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7398 ac_cv_prog_CONVERT="$ac_prog"
7399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7400 break 2
7402 done
7403 done
7404 IFS=$as_save_IFS
7408 CONVERT=$ac_cv_prog_CONVERT
7409 if test -n "$CONVERT"; then
7410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7411 printf "%s\n" "$CONVERT" >&6; }
7412 else
7413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7414 printf "%s\n" "no" >&6; }
7418 test -n "$CONVERT" && break
7419 done
7420 test -n "$CONVERT" || CONVERT="false"
7422 for ac_prog in icotool
7424 # Extract the first word of "$ac_prog", so it can be a program name with args.
7425 set dummy $ac_prog; ac_word=$2
7426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7427 printf %s "checking for $ac_word... " >&6; }
7428 if test ${ac_cv_prog_ICOTOOL+y}
7429 then :
7430 printf %s "(cached) " >&6
7431 else $as_nop
7432 if test -n "$ICOTOOL"; then
7433 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7434 else
7435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7436 for as_dir in $PATH
7438 IFS=$as_save_IFS
7439 case $as_dir in #(((
7440 '') as_dir=./ ;;
7441 */) ;;
7442 *) as_dir=$as_dir/ ;;
7443 esac
7444 for ac_exec_ext in '' $ac_executable_extensions; do
7445 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7446 ac_cv_prog_ICOTOOL="$ac_prog"
7447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7448 break 2
7450 done
7451 done
7452 IFS=$as_save_IFS
7456 ICOTOOL=$ac_cv_prog_ICOTOOL
7457 if test -n "$ICOTOOL"; then
7458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7459 printf "%s\n" "$ICOTOOL" >&6; }
7460 else
7461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7462 printf "%s\n" "no" >&6; }
7466 test -n "$ICOTOOL" && break
7467 done
7468 test -n "$ICOTOOL" || ICOTOOL="false"
7470 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7471 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7473 if test "$CONVERT" = false
7474 then
7475 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7476 else
7477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7478 printf %s "checking for recent enough imagemagick... " >&6; }
7479 convert_version=`convert --version | head -n1`
7480 if test "x$convert_version" != "x"
7481 then
7482 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7483 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7484 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7485 then
7486 CONVERT=false
7489 if test "$CONVERT" = false
7490 then
7491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7492 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7493 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7494 else
7495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7496 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7500 if test "$ICOTOOL" = false
7501 then
7502 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7503 else
7504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7505 printf %s "checking for recent enough icotool... " >&6; }
7506 icotool_version=`icotool --version | head -n1`
7507 if test "x$icotool_version" != "x"
7508 then
7509 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7510 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7511 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7512 then
7513 ICOTOOL=false
7514 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7517 if test "$ICOTOOL" = false
7518 then
7519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7520 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7521 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7522 else
7523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7524 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7528 with_gettext=yes
7529 with_gettextpo=yes
7531 enable_werror=yes
7534 test "x$with_gettext" != xno || MSGFMT=false
7535 if test "$MSGFMT" != "false"
7536 then
7537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7538 printf %s "checking whether msgfmt supports contexts... " >&6; }
7539 if test ${wine_cv_msgfmt_contexts+y}
7540 then :
7541 printf %s "(cached) " >&6
7542 else $as_nop
7543 cat >conftest.po <<EOF
7544 # comment
7545 msgctxt "ctxt"
7546 msgid "id"
7547 msgstr "str"
7549 if $MSGFMT -o /dev/null conftest.po 2>&5
7550 then
7551 wine_cv_msgfmt_contexts=yes
7552 else
7553 wine_cv_msgfmt_contexts=no
7556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7557 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7558 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7560 if test "$MSGFMT" = false
7561 then :
7562 case "x$with_gettext" in
7563 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7564 xno) ;;
7565 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7566 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7567 esac
7568 enable_po=${enable_po:-no}
7572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7573 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7574 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7575 then :
7576 printf %s "(cached) " >&6
7577 else $as_nop
7578 ac_check_lib_save_LIBS=$LIBS
7579 LIBS="-li386 $LIBS"
7580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h. */
7583 /* Override any GCC internal prototype to avoid an error.
7584 Use char because int might match the return type of a GCC
7585 builtin and then its argument prototype would still apply. */
7586 char i386_set_ldt ();
7588 main (void)
7590 return i386_set_ldt ();
7592 return 0;
7594 _ACEOF
7595 if ac_fn_c_try_link "$LINENO"
7596 then :
7597 ac_cv_lib_i386_i386_set_ldt=yes
7598 else $as_nop
7599 ac_cv_lib_i386_i386_set_ldt=no
7601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7602 conftest$ac_exeext conftest.$ac_ext
7603 LIBS=$ac_check_lib_save_LIBS
7605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7606 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7607 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7608 then :
7609 I386_LIBS="-li386"
7614 OPENGL_LIBS=""
7618 # Check whether --enable-largefile was given.
7619 if test ${enable_largefile+y}
7620 then :
7621 enableval=$enable_largefile;
7624 if test "$enable_largefile" != no; then
7626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7627 printf %s "checking for special C compiler options needed for large files... " >&6; }
7628 if test ${ac_cv_sys_largefile_CC+y}
7629 then :
7630 printf %s "(cached) " >&6
7631 else $as_nop
7632 ac_cv_sys_largefile_CC=no
7633 if test "$GCC" != yes; then
7634 ac_save_CC=$CC
7635 while :; do
7636 # IRIX 6.2 and later do not support large files by default,
7637 # so use the C compiler's -n32 option if that helps.
7638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7639 /* end confdefs.h. */
7640 #include <sys/types.h>
7641 /* Check that off_t can represent 2**63 - 1 correctly.
7642 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7643 since some C++ compilers masquerading as C compilers
7644 incorrectly reject 9223372036854775807. */
7645 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7646 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7647 && LARGE_OFF_T % 2147483647 == 1)
7648 ? 1 : -1];
7650 main (void)
7654 return 0;
7656 _ACEOF
7657 if ac_fn_c_try_compile "$LINENO"
7658 then :
7659 break
7661 rm -f core conftest.err conftest.$ac_objext conftest.beam
7662 CC="$CC -n32"
7663 if ac_fn_c_try_compile "$LINENO"
7664 then :
7665 ac_cv_sys_largefile_CC=' -n32'; break
7667 rm -f core conftest.err conftest.$ac_objext conftest.beam
7668 break
7669 done
7670 CC=$ac_save_CC
7671 rm -f conftest.$ac_ext
7674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7675 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7676 if test "$ac_cv_sys_largefile_CC" != no; then
7677 CC=$CC$ac_cv_sys_largefile_CC
7680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7681 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7682 if test ${ac_cv_sys_file_offset_bits+y}
7683 then :
7684 printf %s "(cached) " >&6
7685 else $as_nop
7686 while :; do
7687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7688 /* end confdefs.h. */
7689 #include <sys/types.h>
7690 /* Check that off_t can represent 2**63 - 1 correctly.
7691 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7692 since some C++ compilers masquerading as C compilers
7693 incorrectly reject 9223372036854775807. */
7694 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7695 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7696 && LARGE_OFF_T % 2147483647 == 1)
7697 ? 1 : -1];
7699 main (void)
7703 return 0;
7705 _ACEOF
7706 if ac_fn_c_try_compile "$LINENO"
7707 then :
7708 ac_cv_sys_file_offset_bits=no; break
7710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7712 /* end confdefs.h. */
7713 #define _FILE_OFFSET_BITS 64
7714 #include <sys/types.h>
7715 /* Check that off_t can represent 2**63 - 1 correctly.
7716 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7717 since some C++ compilers masquerading as C compilers
7718 incorrectly reject 9223372036854775807. */
7719 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7720 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7721 && LARGE_OFF_T % 2147483647 == 1)
7722 ? 1 : -1];
7724 main (void)
7728 return 0;
7730 _ACEOF
7731 if ac_fn_c_try_compile "$LINENO"
7732 then :
7733 ac_cv_sys_file_offset_bits=64; break
7735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7736 ac_cv_sys_file_offset_bits=unknown
7737 break
7738 done
7740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7741 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7742 case $ac_cv_sys_file_offset_bits in #(
7743 no | unknown) ;;
7745 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7747 esac
7748 rm -rf conftest*
7749 if test $ac_cv_sys_file_offset_bits = unknown; then
7750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7751 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7752 if test ${ac_cv_sys_large_files+y}
7753 then :
7754 printf %s "(cached) " >&6
7755 else $as_nop
7756 while :; do
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7759 #include <sys/types.h>
7760 /* Check that off_t can represent 2**63 - 1 correctly.
7761 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7762 since some C++ compilers masquerading as C compilers
7763 incorrectly reject 9223372036854775807. */
7764 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7765 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7766 && LARGE_OFF_T % 2147483647 == 1)
7767 ? 1 : -1];
7769 main (void)
7773 return 0;
7775 _ACEOF
7776 if ac_fn_c_try_compile "$LINENO"
7777 then :
7778 ac_cv_sys_large_files=no; break
7780 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7783 #define _LARGE_FILES 1
7784 #include <sys/types.h>
7785 /* Check that off_t can represent 2**63 - 1 correctly.
7786 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7787 since some C++ compilers masquerading as C compilers
7788 incorrectly reject 9223372036854775807. */
7789 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7790 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7791 && LARGE_OFF_T % 2147483647 == 1)
7792 ? 1 : -1];
7794 main (void)
7798 return 0;
7800 _ACEOF
7801 if ac_fn_c_try_compile "$LINENO"
7802 then :
7803 ac_cv_sys_large_files=1; break
7805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7806 ac_cv_sys_large_files=unknown
7807 break
7808 done
7810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7811 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7812 case $ac_cv_sys_large_files in #(
7813 no | unknown) ;;
7815 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7817 esac
7818 rm -rf conftest*
7823 ac_header= ac_cache=
7824 for ac_item in $ac_header_c_list
7826 if test $ac_cache; then
7827 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7828 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7829 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7831 ac_header= ac_cache=
7832 elif test $ac_header; then
7833 ac_cache=$ac_item
7834 else
7835 ac_header=$ac_item
7837 done
7846 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7847 then :
7849 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7852 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7853 if test "x$ac_cv_header_AL_al_h" = xyes
7854 then :
7855 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7858 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7859 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7860 then :
7861 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7864 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_CL_cl_h" = xyes
7866 then :
7867 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7872 then :
7873 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7878 then :
7879 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7884 then :
7885 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_EGL_egl_h" = xyes
7890 then :
7891 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7896 then :
7897 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7902 then :
7903 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7908 then :
7909 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7914 then :
7915 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_Security_Security_h" = xyes
7920 then :
7921 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7926 then :
7927 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7932 then :
7933 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_arpa_inet_h" = xyes
7938 then :
7939 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7944 then :
7945 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_asm_types_h" = xyes
7950 then :
7951 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_asm_user_h" = xyes
7956 then :
7957 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_elf_h" = xyes
7962 then :
7963 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_float_h" = xyes
7968 then :
7969 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_gettext_po_h" = xyes
7974 then :
7975 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_libproc_h" = xyes
7980 then :
7981 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_link_h" = xyes
7986 then :
7987 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7992 then :
7993 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_linux_filter_h" = xyes
7998 then :
7999 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_linux_hdreg_h" = xyes
8004 then :
8005 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_linux_hidraw_h" = xyes
8010 then :
8011 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_linux_input_h" = xyes
8016 then :
8017 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8022 then :
8023 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_linux_major_h" = xyes
8028 then :
8029 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_linux_param_h" = xyes
8034 then :
8035 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_linux_serial_h" = xyes
8040 then :
8041 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_linux_types_h" = xyes
8046 then :
8047 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8052 then :
8053 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_lwp_h" = xyes
8058 then :
8059 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8064 then :
8065 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_mach_mach_h" = xyes
8070 then :
8071 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_machine_cpu_h" = xyes
8076 then :
8077 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8082 then :
8083 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_mntent_h" = xyes
8088 then :
8089 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_netdb_h" = xyes
8094 then :
8095 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_netinet_in_h" = xyes
8100 then :
8101 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8106 then :
8107 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8112 then :
8113 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8118 then :
8119 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8124 then :
8125 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_port_h" = xyes
8130 then :
8131 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_pthread_h" = xyes
8136 then :
8137 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_pwd_h" = xyes
8142 then :
8143 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8148 then :
8149 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sched_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_scsi_sg_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_stdint_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_attr_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_auxv_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_cdio_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_epoll_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_event_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_filio_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_ipc_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_link_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_modem_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_mtio_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_param_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_prctl_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_queue_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_random_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_resource_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_shm_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_signal_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8298 then :
8299 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_sys_sockio_h" = xyes
8304 then :
8305 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8310 then :
8311 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_sys_strtio_h" = xyes
8316 then :
8317 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_sys_syscall_h" = xyes
8322 then :
8323 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8328 then :
8329 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8332 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8333 if test "x$ac_cv_header_sys_times_h" = xyes
8334 then :
8335 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8338 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8339 if test "x$ac_cv_header_sys_uio_h" = xyes
8340 then :
8341 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8344 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8345 if test "x$ac_cv_header_sys_user_h" = xyes
8346 then :
8347 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8350 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8351 if test "x$ac_cv_header_sys_utsname_h" = xyes
8352 then :
8353 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8356 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8357 if test "x$ac_cv_header_sys_vnode_h" = xyes
8358 then :
8359 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8362 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8363 if test "x$ac_cv_header_sys_xattr_h" = xyes
8364 then :
8365 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8368 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8369 if test "x$ac_cv_header_syscall_h" = xyes
8370 then :
8371 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8374 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8375 if test "x$ac_cv_header_utime_h" = xyes
8376 then :
8377 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8380 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8381 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8382 then :
8383 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8386 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8387 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8388 then :
8389 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8393 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8394 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8395 then :
8397 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8401 if test $ac_cv_header_sys_mkdev_h = no; then
8402 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8403 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8404 then :
8406 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8412 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8413 if test ${ac_cv_header_stat_broken+y}
8414 then :
8415 printf %s "(cached) " >&6
8416 else $as_nop
8417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h. */
8419 #include <sys/types.h>
8420 #include <sys/stat.h>
8422 #if defined S_ISBLK && defined S_IFDIR
8423 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8424 #endif
8426 #if defined S_ISBLK && defined S_IFCHR
8427 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8428 #endif
8430 #if defined S_ISLNK && defined S_IFREG
8431 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8432 #endif
8434 #if defined S_ISSOCK && defined S_IFREG
8435 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8436 #endif
8438 _ACEOF
8439 if ac_fn_c_try_compile "$LINENO"
8440 then :
8441 ac_cv_header_stat_broken=no
8442 else $as_nop
8443 ac_cv_header_stat_broken=yes
8445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8448 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8449 if test $ac_cv_header_stat_broken = yes; then
8451 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8457 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8458 #ifdef HAVE_SYS_PARAM_H
8459 # include <sys/param.h>
8460 #endif
8462 if test "x$ac_cv_header_sys_conf_h" = xyes
8463 then :
8464 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8467 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8468 #ifdef HAVE_SYS_PARAM_H
8469 # include <sys/param.h>
8470 #endif
8472 if test "x$ac_cv_header_sys_mount_h" = xyes
8473 then :
8474 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8477 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8478 #ifdef HAVE_SYS_PARAM_H
8479 # include <sys/param.h>
8480 #endif
8482 if test "x$ac_cv_header_sys_statfs_h" = xyes
8483 then :
8484 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8487 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8488 #ifdef HAVE_SYS_PARAM_H
8489 # include <sys/param.h>
8490 #endif
8492 if test "x$ac_cv_header_sys_user_h" = xyes
8493 then :
8494 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8497 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8498 #ifdef HAVE_SYS_PARAM_H
8499 # include <sys/param.h>
8500 #endif
8502 if test "x$ac_cv_header_sys_vfs_h" = xyes
8503 then :
8504 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8509 saved_sysctl_h_CFLAGS=$CFLAGS
8510 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8511 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8512 #ifdef HAVE_SYS_PARAM_H
8513 # include <sys/param.h>
8514 #endif
8516 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8517 then :
8518 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8522 CFLAGS=$saved_sysctl_h_CFLAGS
8524 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8525 #include <sys/socket.h>
8526 #ifdef HAVE_SYS_SOCKETVAR_H
8527 # include <sys/socketvar.h>
8528 #endif
8529 #ifdef HAVE_NET_ROUTE_H
8530 # include <net/route.h>
8531 #endif
8532 #ifdef HAVE_NETINET_IN_H
8533 # include <netinet/in.h>
8534 #endif
8535 #ifdef HAVE_NETINET_IN_SYSTM_H
8536 # include <netinet/in_systm.h>
8537 #endif
8538 #ifdef HAVE_NET_IF_H
8539 # include <net/if.h>
8540 #endif
8541 #ifdef HAVE_NETINET_IP_H
8542 # include <netinet/ip.h>
8543 #endif
8545 if test "x$ac_cv_header_netinet_ip_h" = xyes
8546 then :
8547 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8550 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8551 #include <sys/socket.h>
8552 #ifdef HAVE_SYS_SOCKETVAR_H
8553 # include <sys/socketvar.h>
8554 #endif
8555 #ifdef HAVE_NET_ROUTE_H
8556 # include <net/route.h>
8557 #endif
8558 #ifdef HAVE_NETINET_IN_H
8559 # include <netinet/in.h>
8560 #endif
8561 #ifdef HAVE_NETINET_IN_SYSTM_H
8562 # include <netinet/in_systm.h>
8563 #endif
8564 #ifdef HAVE_NET_IF_H
8565 # include <net/if.h>
8566 #endif
8567 #ifdef HAVE_NETINET_IP_H
8568 # include <netinet/ip.h>
8569 #endif
8571 if test "x$ac_cv_header_net_if_h" = xyes
8572 then :
8573 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8576 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8577 #include <sys/socket.h>
8578 #ifdef HAVE_SYS_SOCKETVAR_H
8579 # include <sys/socketvar.h>
8580 #endif
8581 #ifdef HAVE_NET_ROUTE_H
8582 # include <net/route.h>
8583 #endif
8584 #ifdef HAVE_NETINET_IN_H
8585 # include <netinet/in.h>
8586 #endif
8587 #ifdef HAVE_NETINET_IN_SYSTM_H
8588 # include <netinet/in_systm.h>
8589 #endif
8590 #ifdef HAVE_NET_IF_H
8591 # include <net/if.h>
8592 #endif
8593 #ifdef HAVE_NETINET_IP_H
8594 # include <netinet/ip.h>
8595 #endif
8597 if test "x$ac_cv_header_net_if_arp_h" = xyes
8598 then :
8599 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8602 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8603 #include <sys/socket.h>
8604 #ifdef HAVE_SYS_SOCKETVAR_H
8605 # include <sys/socketvar.h>
8606 #endif
8607 #ifdef HAVE_NET_ROUTE_H
8608 # include <net/route.h>
8609 #endif
8610 #ifdef HAVE_NETINET_IN_H
8611 # include <netinet/in.h>
8612 #endif
8613 #ifdef HAVE_NETINET_IN_SYSTM_H
8614 # include <netinet/in_systm.h>
8615 #endif
8616 #ifdef HAVE_NET_IF_H
8617 # include <net/if.h>
8618 #endif
8619 #ifdef HAVE_NETINET_IP_H
8620 # include <netinet/ip.h>
8621 #endif
8623 if test "x$ac_cv_header_net_if_dl_h" = xyes
8624 then :
8625 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8628 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8629 #include <sys/socket.h>
8630 #ifdef HAVE_SYS_SOCKETVAR_H
8631 # include <sys/socketvar.h>
8632 #endif
8633 #ifdef HAVE_NET_ROUTE_H
8634 # include <net/route.h>
8635 #endif
8636 #ifdef HAVE_NETINET_IN_H
8637 # include <netinet/in.h>
8638 #endif
8639 #ifdef HAVE_NETINET_IN_SYSTM_H
8640 # include <netinet/in_systm.h>
8641 #endif
8642 #ifdef HAVE_NET_IF_H
8643 # include <net/if.h>
8644 #endif
8645 #ifdef HAVE_NETINET_IP_H
8646 # include <netinet/ip.h>
8647 #endif
8649 if test "x$ac_cv_header_net_if_types_h" = xyes
8650 then :
8651 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8654 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8655 #include <sys/socket.h>
8656 #ifdef HAVE_SYS_SOCKETVAR_H
8657 # include <sys/socketvar.h>
8658 #endif
8659 #ifdef HAVE_NET_ROUTE_H
8660 # include <net/route.h>
8661 #endif
8662 #ifdef HAVE_NETINET_IN_H
8663 # include <netinet/in.h>
8664 #endif
8665 #ifdef HAVE_NETINET_IN_SYSTM_H
8666 # include <netinet/in_systm.h>
8667 #endif
8668 #ifdef HAVE_NET_IF_H
8669 # include <net/if.h>
8670 #endif
8671 #ifdef HAVE_NETINET_IP_H
8672 # include <netinet/ip.h>
8673 #endif
8675 if test "x$ac_cv_header_net_route_h" = xyes
8676 then :
8677 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8680 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8681 #include <sys/socket.h>
8682 #ifdef HAVE_SYS_SOCKETVAR_H
8683 # include <sys/socketvar.h>
8684 #endif
8685 #ifdef HAVE_NET_ROUTE_H
8686 # include <net/route.h>
8687 #endif
8688 #ifdef HAVE_NETINET_IN_H
8689 # include <netinet/in.h>
8690 #endif
8691 #ifdef HAVE_NETINET_IN_SYSTM_H
8692 # include <netinet/in_systm.h>
8693 #endif
8694 #ifdef HAVE_NET_IF_H
8695 # include <net/if.h>
8696 #endif
8697 #ifdef HAVE_NETINET_IP_H
8698 # include <netinet/ip.h>
8699 #endif
8701 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8702 then :
8703 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8706 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8707 #include <sys/socket.h>
8708 #ifdef HAVE_SYS_SOCKETVAR_H
8709 # include <sys/socketvar.h>
8710 #endif
8711 #ifdef HAVE_NET_ROUTE_H
8712 # include <net/route.h>
8713 #endif
8714 #ifdef HAVE_NETINET_IN_H
8715 # include <netinet/in.h>
8716 #endif
8717 #ifdef HAVE_NETINET_IN_SYSTM_H
8718 # include <netinet/in_systm.h>
8719 #endif
8720 #ifdef HAVE_NET_IF_H
8721 # include <net/if.h>
8722 #endif
8723 #ifdef HAVE_NETINET_IP_H
8724 # include <netinet/ip.h>
8725 #endif
8727 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8728 then :
8729 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8732 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8733 #include <sys/socket.h>
8734 #ifdef HAVE_SYS_SOCKETVAR_H
8735 # include <sys/socketvar.h>
8736 #endif
8737 #ifdef HAVE_NET_ROUTE_H
8738 # include <net/route.h>
8739 #endif
8740 #ifdef HAVE_NETINET_IN_H
8741 # include <netinet/in.h>
8742 #endif
8743 #ifdef HAVE_NETINET_IN_SYSTM_H
8744 # include <netinet/in_systm.h>
8745 #endif
8746 #ifdef HAVE_NET_IF_H
8747 # include <net/if.h>
8748 #endif
8749 #ifdef HAVE_NETINET_IP_H
8750 # include <netinet/ip.h>
8751 #endif
8753 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8754 then :
8755 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8758 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8759 #include <sys/socket.h>
8760 #ifdef HAVE_SYS_SOCKETVAR_H
8761 # include <sys/socketvar.h>
8762 #endif
8763 #ifdef HAVE_NET_ROUTE_H
8764 # include <net/route.h>
8765 #endif
8766 #ifdef HAVE_NETINET_IN_H
8767 # include <netinet/in.h>
8768 #endif
8769 #ifdef HAVE_NETINET_IN_SYSTM_H
8770 # include <netinet/in_systm.h>
8771 #endif
8772 #ifdef HAVE_NET_IF_H
8773 # include <net/if.h>
8774 #endif
8775 #ifdef HAVE_NETINET_IP_H
8776 # include <netinet/ip.h>
8777 #endif
8779 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8780 then :
8781 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8784 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8785 #include <sys/socket.h>
8786 #ifdef HAVE_SYS_SOCKETVAR_H
8787 # include <sys/socketvar.h>
8788 #endif
8789 #ifdef HAVE_NET_ROUTE_H
8790 # include <net/route.h>
8791 #endif
8792 #ifdef HAVE_NETINET_IN_H
8793 # include <netinet/in.h>
8794 #endif
8795 #ifdef HAVE_NETINET_IN_SYSTM_H
8796 # include <netinet/in_systm.h>
8797 #endif
8798 #ifdef HAVE_NET_IF_H
8799 # include <net/if.h>
8800 #endif
8801 #ifdef HAVE_NETINET_IP_H
8802 # include <netinet/ip.h>
8803 #endif
8805 if test "x$ac_cv_header_netinet_udp_h" = xyes
8806 then :
8807 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8810 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8811 #include <sys/socket.h>
8812 #ifdef HAVE_SYS_SOCKETVAR_H
8813 # include <sys/socketvar.h>
8814 #endif
8815 #ifdef HAVE_NET_ROUTE_H
8816 # include <net/route.h>
8817 #endif
8818 #ifdef HAVE_NETINET_IN_H
8819 # include <netinet/in.h>
8820 #endif
8821 #ifdef HAVE_NETINET_IN_SYSTM_H
8822 # include <netinet/in_systm.h>
8823 #endif
8824 #ifdef HAVE_NET_IF_H
8825 # include <net/if.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IP_H
8828 # include <netinet/ip.h>
8829 #endif
8831 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8832 then :
8833 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8836 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8837 #include <sys/socket.h>
8838 #ifdef HAVE_SYS_SOCKETVAR_H
8839 # include <sys/socketvar.h>
8840 #endif
8841 #ifdef HAVE_NET_ROUTE_H
8842 # include <net/route.h>
8843 #endif
8844 #ifdef HAVE_NETINET_IN_H
8845 # include <netinet/in.h>
8846 #endif
8847 #ifdef HAVE_NETINET_IN_SYSTM_H
8848 # include <netinet/in_systm.h>
8849 #endif
8850 #ifdef HAVE_NET_IF_H
8851 # include <net/if.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IP_H
8854 # include <netinet/ip.h>
8855 #endif
8857 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8858 then :
8859 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8862 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8863 #include <sys/socket.h>
8864 #ifdef HAVE_SYS_SOCKETVAR_H
8865 # include <sys/socketvar.h>
8866 #endif
8867 #ifdef HAVE_NET_ROUTE_H
8868 # include <net/route.h>
8869 #endif
8870 #ifdef HAVE_NETINET_IN_H
8871 # include <netinet/in.h>
8872 #endif
8873 #ifdef HAVE_NETINET_IN_SYSTM_H
8874 # include <netinet/in_systm.h>
8875 #endif
8876 #ifdef HAVE_NET_IF_H
8877 # include <net/if.h>
8878 #endif
8879 #ifdef HAVE_NETINET_IP_H
8880 # include <netinet/ip.h>
8881 #endif
8883 if test "x$ac_cv_header_sys_un_h" = xyes
8884 then :
8885 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8890 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8891 #include <sys/socket.h>
8892 #ifdef HAVE_SYS_SOCKETVAR_H
8893 # include <sys/socketvar.h>
8894 #endif
8895 #ifdef HAVE_NETINET_IN_H
8896 # include <netinet/in.h>
8897 #endif
8898 #ifdef HAVE_NETINET_IN_SYSTM_H
8899 # include <netinet/in_systm.h>
8900 #endif
8901 #ifdef HAVE_NETINET_IP_H
8902 # include <netinet/ip.h>
8903 #endif
8904 #ifdef HAVE_NETINET_IP_VAR_H
8905 # include <netinet/ip_var.h>
8906 #endif
8907 #ifdef HAVE_NETINET_IP_ICMP_H
8908 # include <netinet/ip_icmp.h>
8909 #endif
8910 #ifdef HAVE_NETINET_UDP_H
8911 # include <netinet/udp.h>
8912 #endif
8913 #ifdef HAVE_NETINET_TCP_H
8914 # include <netinet/tcp.h>
8915 #endif
8917 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8918 then :
8919 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8922 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8923 #include <sys/socket.h>
8924 #ifdef HAVE_SYS_SOCKETVAR_H
8925 # include <sys/socketvar.h>
8926 #endif
8927 #ifdef HAVE_NETINET_IN_H
8928 # include <netinet/in.h>
8929 #endif
8930 #ifdef HAVE_NETINET_IN_SYSTM_H
8931 # include <netinet/in_systm.h>
8932 #endif
8933 #ifdef HAVE_NETINET_IP_H
8934 # include <netinet/ip.h>
8935 #endif
8936 #ifdef HAVE_NETINET_IP_VAR_H
8937 # include <netinet/ip_var.h>
8938 #endif
8939 #ifdef HAVE_NETINET_IP_ICMP_H
8940 # include <netinet/ip_icmp.h>
8941 #endif
8942 #ifdef HAVE_NETINET_UDP_H
8943 # include <netinet/udp.h>
8944 #endif
8945 #ifdef HAVE_NETINET_TCP_H
8946 # include <netinet/tcp.h>
8947 #endif
8949 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8950 then :
8951 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8954 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8955 #include <sys/socket.h>
8956 #ifdef HAVE_SYS_SOCKETVAR_H
8957 # include <sys/socketvar.h>
8958 #endif
8959 #ifdef HAVE_NETINET_IN_H
8960 # include <netinet/in.h>
8961 #endif
8962 #ifdef HAVE_NETINET_IN_SYSTM_H
8963 # include <netinet/in_systm.h>
8964 #endif
8965 #ifdef HAVE_NETINET_IP_H
8966 # include <netinet/ip.h>
8967 #endif
8968 #ifdef HAVE_NETINET_IP_VAR_H
8969 # include <netinet/ip_var.h>
8970 #endif
8971 #ifdef HAVE_NETINET_IP_ICMP_H
8972 # include <netinet/ip_icmp.h>
8973 #endif
8974 #ifdef HAVE_NETINET_UDP_H
8975 # include <netinet/udp.h>
8976 #endif
8977 #ifdef HAVE_NETINET_TCP_H
8978 # include <netinet/tcp.h>
8979 #endif
8981 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8982 then :
8983 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8986 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8987 #include <sys/socket.h>
8988 #ifdef HAVE_SYS_SOCKETVAR_H
8989 # include <sys/socketvar.h>
8990 #endif
8991 #ifdef HAVE_NETINET_IN_H
8992 # include <netinet/in.h>
8993 #endif
8994 #ifdef HAVE_NETINET_IN_SYSTM_H
8995 # include <netinet/in_systm.h>
8996 #endif
8997 #ifdef HAVE_NETINET_IP_H
8998 # include <netinet/ip.h>
8999 #endif
9000 #ifdef HAVE_NETINET_IP_VAR_H
9001 # include <netinet/ip_var.h>
9002 #endif
9003 #ifdef HAVE_NETINET_IP_ICMP_H
9004 # include <netinet/ip_icmp.h>
9005 #endif
9006 #ifdef HAVE_NETINET_UDP_H
9007 # include <netinet/udp.h>
9008 #endif
9009 #ifdef HAVE_NETINET_TCP_H
9010 # include <netinet/tcp.h>
9011 #endif
9013 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
9014 then :
9015 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9020 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9021 #include <sys/socket.h>
9022 #ifdef HAVE_ASM_TYPES_H
9023 # include <asm/types.h>
9024 #endif
9025 #ifdef HAVE_LINUX_TYPES_H
9026 # include <linux/types.h>
9027 #endif
9029 if test "x$ac_cv_header_linux_ipx_h" = xyes
9030 then :
9031 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9034 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9035 #include <sys/socket.h>
9036 #ifdef HAVE_ASM_TYPES_H
9037 # include <asm/types.h>
9038 #endif
9039 #ifdef HAVE_LINUX_TYPES_H
9040 # include <linux/types.h>
9041 #endif
9043 if test "x$ac_cv_header_linux_irda_h" = xyes
9044 then :
9045 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9048 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9049 #include <sys/socket.h>
9050 #ifdef HAVE_ASM_TYPES_H
9051 # include <asm/types.h>
9052 #endif
9053 #ifdef HAVE_LINUX_TYPES_H
9054 # include <linux/types.h>
9055 #endif
9057 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9058 then :
9059 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9064 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9065 #include <sys/socket.h>
9066 #ifdef HAVE_NETINET_IN_H
9067 # include <netinet/in.h>
9068 #endif
9069 #ifdef HAVE_ARPA_NAMESER_H
9070 # include <arpa/nameser.h>
9071 #endif
9073 if test "x$ac_cv_header_resolv_h" = xyes
9074 then :
9075 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9080 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9082 if test "x$ac_cv_header_ifaddrs_h" = xyes
9083 then :
9084 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9089 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9091 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9092 then :
9093 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9098 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9099 #ifdef HAVE_SYS_UCONTEXT_H
9100 #include <sys/ucontext.h>
9101 #endif
9103 if test "x$ac_cv_header_sys_thr_h" = xyes
9104 then :
9105 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9110 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9111 #include <pthread.h>
9112 #endif
9114 if test "x$ac_cv_header_pthread_np_h" = xyes
9115 then :
9116 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9121 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9122 #include <sys/types.h>
9123 #ifdef HAVE_ASM_TYPES_H
9124 #include <asm/types.h>
9125 #endif
9127 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9128 then :
9129 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9134 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9135 #include <sys/param.h>
9136 #endif
9137 #include <sys/socket.h>
9138 #ifdef HAVE_SYS_QUEUE_H
9139 #include <sys/queue.h>
9140 #endif
9142 if test "x$ac_cv_header_libprocstat_h" = xyes
9143 then :
9144 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9149 if test "x$ac_cv_header_sys_xattr_h" = xyes
9150 then
9151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9152 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9153 if test ${wine_cv_xattr_extra_args+y}
9154 then :
9155 printf %s "(cached) " >&6
9156 else $as_nop
9157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9158 /* end confdefs.h. */
9159 #include <sys/xattr.h>
9161 main (void)
9163 getxattr("", "", "", 0, 0, 0);
9165 return 0;
9167 _ACEOF
9168 if ac_fn_c_try_compile "$LINENO"
9169 then :
9170 wine_cv_xattr_extra_args=yes
9171 else $as_nop
9172 wine_cv_xattr_extra_args=no
9174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9177 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9178 test $wine_cv_xattr_extra_args != yes ||
9179 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9184 DLLFLAGS=""
9186 LDDLLFLAGS=""
9188 LDEXECFLAGS=""
9190 EXTRACFLAGS=""
9192 UNIXDLLFLAGS="-fPIC"
9194 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9196 TOP_INSTALL_LIB=""
9198 TOP_INSTALL_DEV=""
9200 WINELOADER_LDFLAGS=""
9202 WINEPRELOADER_LDFLAGS=""
9204 LIBEXT="so"
9205 # Extract the first word of "ldd", so it can be a program name with args.
9206 set dummy ldd; ac_word=$2
9207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9208 printf %s "checking for $ac_word... " >&6; }
9209 if test ${ac_cv_path_LDD+y}
9210 then :
9211 printf %s "(cached) " >&6
9212 else $as_nop
9213 case $LDD in
9214 [\\/]* | ?:[\\/]*)
9215 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9219 as_dummy="/sbin:/usr/sbin:$PATH"
9220 for as_dir in $as_dummy
9222 IFS=$as_save_IFS
9223 case $as_dir in #(((
9224 '') as_dir=./ ;;
9225 */) ;;
9226 *) as_dir=$as_dir/ ;;
9227 esac
9228 for ac_exec_ext in '' $ac_executable_extensions; do
9229 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9230 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9232 break 2
9234 done
9235 done
9236 IFS=$as_save_IFS
9238 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9240 esac
9242 LDD=$ac_cv_path_LDD
9243 if test -n "$LDD"; then
9244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9245 printf "%s\n" "$LDD" >&6; }
9246 else
9247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9248 printf "%s\n" "no" >&6; }
9252 if test -n "$ac_tool_prefix"; then
9253 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9254 set dummy ${ac_tool_prefix}otool; ac_word=$2
9255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9256 printf %s "checking for $ac_word... " >&6; }
9257 if test ${ac_cv_prog_OTOOL+y}
9258 then :
9259 printf %s "(cached) " >&6
9260 else $as_nop
9261 if test -n "$OTOOL"; then
9262 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9263 else
9264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9265 for as_dir in $PATH
9267 IFS=$as_save_IFS
9268 case $as_dir in #(((
9269 '') as_dir=./ ;;
9270 */) ;;
9271 *) as_dir=$as_dir/ ;;
9272 esac
9273 for ac_exec_ext in '' $ac_executable_extensions; do
9274 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9275 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9277 break 2
9279 done
9280 done
9281 IFS=$as_save_IFS
9285 OTOOL=$ac_cv_prog_OTOOL
9286 if test -n "$OTOOL"; then
9287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9288 printf "%s\n" "$OTOOL" >&6; }
9289 else
9290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9291 printf "%s\n" "no" >&6; }
9296 if test -z "$ac_cv_prog_OTOOL"; then
9297 ac_ct_OTOOL=$OTOOL
9298 # Extract the first word of "otool", so it can be a program name with args.
9299 set dummy otool; ac_word=$2
9300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9301 printf %s "checking for $ac_word... " >&6; }
9302 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9303 then :
9304 printf %s "(cached) " >&6
9305 else $as_nop
9306 if test -n "$ac_ct_OTOOL"; then
9307 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9308 else
9309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9310 for as_dir in $PATH
9312 IFS=$as_save_IFS
9313 case $as_dir in #(((
9314 '') as_dir=./ ;;
9315 */) ;;
9316 *) as_dir=$as_dir/ ;;
9317 esac
9318 for ac_exec_ext in '' $ac_executable_extensions; do
9319 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9320 ac_cv_prog_ac_ct_OTOOL="otool"
9321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9322 break 2
9324 done
9325 done
9326 IFS=$as_save_IFS
9330 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9331 if test -n "$ac_ct_OTOOL"; then
9332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9333 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9334 else
9335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9336 printf "%s\n" "no" >&6; }
9339 if test "x$ac_ct_OTOOL" = x; then
9340 OTOOL="otool"
9341 else
9342 case $cross_compiling:$ac_tool_warned in
9343 yes:)
9344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9345 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9346 ac_tool_warned=yes ;;
9347 esac
9348 OTOOL=$ac_ct_OTOOL
9350 else
9351 OTOOL="$ac_cv_prog_OTOOL"
9354 if test -n "$ac_tool_prefix"; then
9355 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9356 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9358 printf %s "checking for $ac_word... " >&6; }
9359 if test ${ac_cv_prog_READELF+y}
9360 then :
9361 printf %s "(cached) " >&6
9362 else $as_nop
9363 if test -n "$READELF"; then
9364 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9365 else
9366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9367 for as_dir in $PATH
9369 IFS=$as_save_IFS
9370 case $as_dir in #(((
9371 '') as_dir=./ ;;
9372 */) ;;
9373 *) as_dir=$as_dir/ ;;
9374 esac
9375 for ac_exec_ext in '' $ac_executable_extensions; do
9376 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9377 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9379 break 2
9381 done
9382 done
9383 IFS=$as_save_IFS
9387 READELF=$ac_cv_prog_READELF
9388 if test -n "$READELF"; then
9389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9390 printf "%s\n" "$READELF" >&6; }
9391 else
9392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9393 printf "%s\n" "no" >&6; }
9398 if test -z "$ac_cv_prog_READELF"; then
9399 ac_ct_READELF=$READELF
9400 # Extract the first word of "readelf", so it can be a program name with args.
9401 set dummy readelf; ac_word=$2
9402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9403 printf %s "checking for $ac_word... " >&6; }
9404 if test ${ac_cv_prog_ac_ct_READELF+y}
9405 then :
9406 printf %s "(cached) " >&6
9407 else $as_nop
9408 if test -n "$ac_ct_READELF"; then
9409 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9410 else
9411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9412 for as_dir in $PATH
9414 IFS=$as_save_IFS
9415 case $as_dir in #(((
9416 '') as_dir=./ ;;
9417 */) ;;
9418 *) as_dir=$as_dir/ ;;
9419 esac
9420 for ac_exec_ext in '' $ac_executable_extensions; do
9421 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9422 ac_cv_prog_ac_ct_READELF="readelf"
9423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9424 break 2
9426 done
9427 done
9428 IFS=$as_save_IFS
9432 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9433 if test -n "$ac_ct_READELF"; then
9434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9435 printf "%s\n" "$ac_ct_READELF" >&6; }
9436 else
9437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9438 printf "%s\n" "no" >&6; }
9441 if test "x$ac_ct_READELF" = x; then
9442 READELF="true"
9443 else
9444 case $cross_compiling:$ac_tool_warned in
9445 yes:)
9446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9447 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9448 ac_tool_warned=yes ;;
9449 esac
9450 READELF=$ac_ct_READELF
9452 else
9453 READELF="$ac_cv_prog_READELF"
9456 wine_rules="all:"
9457 SUBDIRS=""
9459 DISABLED_SUBDIRS=""
9461 CONFIGURE_TARGETS=""
9464 wine_fn_config_makefile ()
9466 as_fn_append SUBDIRS " \\$as_nl $1"
9467 eval enable=\$$2
9468 case "$enable" in
9469 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9470 *aarch64*|*arm*|*i386*|*x86_64*)
9471 if test -n "$PE_ARCHS"
9472 then
9473 for i in $PE_ARCHS
9475 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9476 done
9477 else
9478 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9479 fi;;
9480 esac
9483 wine_fn_config_symlink ()
9485 ac_links=$@
9486 as_fn_append wine_rules "
9487 $ac_links:
9488 @./config.status \$@"
9489 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9492 wine_binary="wine"
9493 test "$HOST_ARCH" != x86_64 || wine_binary="wine64"
9494 WINELOADER_PROGRAMS="$wine_binary"
9496 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9498 case $host_os in
9499 cygwin*|mingw32*)
9500 LIBEXT="dll"
9501 EXTRACFLAGS="-D__WINE_PE_BUILD"
9502 case $host_cpu in
9503 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9504 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9505 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9506 then :
9507 printf %s "(cached) " >&6
9508 else $as_nop
9509 ac_wine_try_cflags_saved=$CFLAGS
9510 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9513 int main(int argc, char **argv) { return 0; }
9514 _ACEOF
9515 if ac_fn_c_try_link "$LINENO"
9516 then :
9517 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9518 else $as_nop
9519 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9522 conftest$ac_exeext conftest.$ac_ext
9523 CFLAGS=$ac_wine_try_cflags_saved
9525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9526 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9527 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9528 then :
9529 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9530 fi ;;
9531 esac
9532 enable_loader=${enable_loader:-no}
9533 enable_server=${enable_server:-no}
9534 with_x=${with_x:-no}
9535 with_pthread=${with_pthread:-no}
9538 darwin*|macosx*)
9539 ac_ext=m
9540 ac_cpp='$OBJCPP $CPPFLAGS'
9541 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9542 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9543 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9545 ac_ext=m
9546 ac_cpp='$OBJCPP $CPPFLAGS'
9547 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9548 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9549 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9550 if test -n "$ac_tool_prefix"; then
9551 for ac_prog in gcc objcc objc cc CC clang
9553 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9554 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9556 printf %s "checking for $ac_word... " >&6; }
9557 if test ${ac_cv_prog_OBJC+y}
9558 then :
9559 printf %s "(cached) " >&6
9560 else $as_nop
9561 if test -n "$OBJC"; then
9562 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9563 else
9564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9565 for as_dir in $PATH
9567 IFS=$as_save_IFS
9568 case $as_dir in #(((
9569 '') as_dir=./ ;;
9570 */) ;;
9571 *) as_dir=$as_dir/ ;;
9572 esac
9573 for ac_exec_ext in '' $ac_executable_extensions; do
9574 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9575 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9577 break 2
9579 done
9580 done
9581 IFS=$as_save_IFS
9585 OBJC=$ac_cv_prog_OBJC
9586 if test -n "$OBJC"; then
9587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9588 printf "%s\n" "$OBJC" >&6; }
9589 else
9590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9591 printf "%s\n" "no" >&6; }
9595 test -n "$OBJC" && break
9596 done
9598 if test -z "$OBJC"; then
9599 ac_ct_OBJC=$OBJC
9600 for ac_prog in gcc objcc objc cc CC clang
9602 # Extract the first word of "$ac_prog", so it can be a program name with args.
9603 set dummy $ac_prog; ac_word=$2
9604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9605 printf %s "checking for $ac_word... " >&6; }
9606 if test ${ac_cv_prog_ac_ct_OBJC+y}
9607 then :
9608 printf %s "(cached) " >&6
9609 else $as_nop
9610 if test -n "$ac_ct_OBJC"; then
9611 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9612 else
9613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9614 for as_dir in $PATH
9616 IFS=$as_save_IFS
9617 case $as_dir in #(((
9618 '') as_dir=./ ;;
9619 */) ;;
9620 *) as_dir=$as_dir/ ;;
9621 esac
9622 for ac_exec_ext in '' $ac_executable_extensions; do
9623 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9624 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9626 break 2
9628 done
9629 done
9630 IFS=$as_save_IFS
9634 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9635 if test -n "$ac_ct_OBJC"; then
9636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9637 printf "%s\n" "$ac_ct_OBJC" >&6; }
9638 else
9639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9640 printf "%s\n" "no" >&6; }
9644 test -n "$ac_ct_OBJC" && break
9645 done
9647 if test "x$ac_ct_OBJC" = x; then
9648 OBJC="gcc"
9649 else
9650 case $cross_compiling:$ac_tool_warned in
9651 yes:)
9652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9653 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9654 ac_tool_warned=yes ;;
9655 esac
9656 OBJC=$ac_ct_OBJC
9660 # Provide some information about the compiler.
9661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9662 set X $ac_compile
9663 ac_compiler=$2
9664 for ac_option in --version -v -V -qversion; do
9665 { { ac_try="$ac_compiler $ac_option >&5"
9666 case "(($ac_try" in
9667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9668 *) ac_try_echo=$ac_try;;
9669 esac
9670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9671 printf "%s\n" "$ac_try_echo"; } >&5
9672 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9673 ac_status=$?
9674 if test -s conftest.err; then
9675 sed '10a\
9676 ... rest of stderr output deleted ...
9677 10q' conftest.err >conftest.er1
9678 cat conftest.er1 >&5
9680 rm -f conftest.er1 conftest.err
9681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9682 test $ac_status = 0; }
9683 done
9685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9686 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9687 if test ${ac_cv_objc_compiler_gnu+y}
9688 then :
9689 printf %s "(cached) " >&6
9690 else $as_nop
9691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9692 /* end confdefs.h. */
9695 main (void)
9697 #ifndef __GNUC__
9698 choke me
9699 #endif
9702 return 0;
9704 _ACEOF
9705 if ac_fn_objc_try_compile "$LINENO"
9706 then :
9707 ac_compiler_gnu=yes
9708 else $as_nop
9709 ac_compiler_gnu=no
9711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9712 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9716 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9717 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9719 if test $ac_compiler_gnu = yes; then
9720 GOBJC=yes
9721 else
9722 GOBJC=
9724 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9725 ac_save_OBJCFLAGS=$OBJCFLAGS
9726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9727 printf %s "checking whether $OBJC accepts -g... " >&6; }
9728 if test ${ac_cv_prog_objc_g+y}
9729 then :
9730 printf %s "(cached) " >&6
9731 else $as_nop
9732 ac_save_objc_werror_flag=$ac_objc_werror_flag
9733 ac_objc_werror_flag=yes
9734 ac_cv_prog_objc_g=no
9735 OBJCFLAGS="-g"
9736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9737 /* end confdefs.h. */
9740 main (void)
9744 return 0;
9746 _ACEOF
9747 if ac_fn_objc_try_compile "$LINENO"
9748 then :
9749 ac_cv_prog_objc_g=yes
9750 else $as_nop
9751 OBJCFLAGS=""
9752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9753 /* end confdefs.h. */
9756 main (void)
9760 return 0;
9762 _ACEOF
9763 if ac_fn_objc_try_compile "$LINENO"
9764 then :
9766 else $as_nop
9767 ac_objc_werror_flag=$ac_save_objc_werror_flag
9768 OBJCFLAGS="-g"
9769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9770 /* end confdefs.h. */
9773 main (void)
9777 return 0;
9779 _ACEOF
9780 if ac_fn_objc_try_compile "$LINENO"
9781 then :
9782 ac_cv_prog_objc_g=yes
9784 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9789 ac_objc_werror_flag=$ac_save_objc_werror_flag
9791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9792 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9793 if test $ac_test_OBJCFLAGS; then
9794 OBJCFLAGS=$ac_save_OBJCFLAGS
9795 elif test $ac_cv_prog_objc_g = yes; then
9796 if test "$GOBJC" = yes; then
9797 OBJCFLAGS="-g -O2"
9798 else
9799 OBJCFLAGS="-g"
9801 else
9802 if test "$GOBJC" = yes; then
9803 OBJCFLAGS="-O2"
9804 else
9805 OBJCFLAGS=
9808 ac_ext=m
9809 ac_cpp='$OBJCPP $CPPFLAGS'
9810 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9811 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9812 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9815 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9816 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9817 then :
9818 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9822 ac_ext=c
9823 ac_cpp='$CPP $CPPFLAGS'
9824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9828 LIBEXT="dylib"
9829 DLLFLAGS="$DLLFLAGS -fPIC"
9830 LDDLLFLAGS="-fPIC"
9831 COREFOUNDATION_LIBS="-framework CoreFoundation"
9833 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9835 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9837 CORESERVICES_LIBS="-framework CoreServices"
9839 APPKIT_LIBS="-framework AppKit"
9841 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9844 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9846 wine_can_build_preloader=yes
9847 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"
9848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9849 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9850 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9851 then :
9852 printf %s "(cached) " >&6
9853 else $as_nop
9854 ac_wine_try_cflags_saved=$CFLAGS
9855 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9857 /* end confdefs.h. */
9858 int main(int argc, char **argv) { return 0; }
9859 _ACEOF
9860 if ac_fn_c_try_link "$LINENO"
9861 then :
9862 ac_cv_cflags__Wl__no_new_main__e__main=yes
9863 else $as_nop
9864 ac_cv_cflags__Wl__no_new_main__e__main=no
9866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9867 conftest$ac_exeext conftest.$ac_ext
9868 CFLAGS=$ac_wine_try_cflags_saved
9870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9871 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9872 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9873 then :
9874 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9875 { 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
9876 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9877 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9878 then :
9879 printf %s "(cached) " >&6
9880 else $as_nop
9881 ac_wine_try_cflags_saved=$CFLAGS
9882 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9885 int main(int argc, char **argv) { return 0; }
9886 _ACEOF
9887 if ac_fn_c_try_link "$LINENO"
9888 then :
9889 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9890 else $as_nop
9891 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9894 conftest$ac_exeext conftest.$ac_ext
9895 CFLAGS=$ac_wine_try_cflags_saved
9897 { 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
9898 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9899 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9900 then :
9901 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9902 else $as_nop
9903 wine_can_build_preloader=no
9905 else $as_nop
9906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9907 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9908 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9909 then :
9910 printf %s "(cached) " >&6
9911 else $as_nop
9912 ac_wine_try_cflags_saved=$CFLAGS
9913 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9915 /* end confdefs.h. */
9916 int main(int argc, char **argv) { return 0; }
9917 _ACEOF
9918 if ac_fn_c_try_link "$LINENO"
9919 then :
9920 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9921 else $as_nop
9922 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9925 conftest$ac_exeext conftest.$ac_ext
9926 CFLAGS=$ac_wine_try_cflags_saved
9928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9929 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9930 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9931 then :
9932 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9933 else $as_nop
9934 wine_can_build_preloader=no
9937 if test "$wine_can_build_preloader" = "yes"
9938 then
9939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9940 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9941 if test ${ac_cv_cflags__Wl__no_pie+y}
9942 then :
9943 printf %s "(cached) " >&6
9944 else $as_nop
9945 ac_wine_try_cflags_saved=$CFLAGS
9946 CFLAGS="$CFLAGS -Wl,-no_pie"
9947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9948 /* end confdefs.h. */
9949 int main(int argc, char **argv) { return 0; }
9950 _ACEOF
9951 if ac_fn_c_try_link "$LINENO"
9952 then :
9953 ac_cv_cflags__Wl__no_pie=yes
9954 else $as_nop
9955 ac_cv_cflags__Wl__no_pie=no
9957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9958 conftest$ac_exeext conftest.$ac_ext
9959 CFLAGS=$ac_wine_try_cflags_saved
9961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9962 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9963 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9964 then :
9965 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9967 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
9968 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9969 else
9970 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9973 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9974 then
9975 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9978 if test "$ac_cv_header_Security_Security_h" = "yes"
9979 then
9980 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9983 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9984 then
9985 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9987 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9989 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9990 then
9991 OPENAL_LIBS="-framework OpenAL"
9994 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
9996 ac_cv_lib_openal=yes
9998 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9999 then
10000 OPENCL_LIBS="-framework OpenCL"
10002 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10004 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10005 then
10006 ac_save_LIBS="$LIBS"
10007 LIBS="$LIBS $IOKIT_LIBS"
10008 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10009 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10010 then :
10011 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10015 LIBS="$ac_save_LIBS"
10018 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10019 then
10020 CARBON_LIBS="-framework Carbon"
10023 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10024 then
10025 METAL_LIBS="-framework Metal"
10029 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10030 then
10031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10032 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10033 ac_ext=m
10034 ac_cpp='$OBJCPP $CPPFLAGS'
10035 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10036 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10037 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10040 /* end confdefs.h. */
10041 #include <Metal/Metal.h>
10043 main (void)
10045 id<MTLDevice> device; device.registryID;
10047 return 0;
10049 _ACEOF
10050 if ac_fn_objc_try_compile "$LINENO"
10051 then :
10052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10053 printf "%s\n" "yes" >&6; }
10055 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10057 else $as_nop
10058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10059 printf "%s\n" "no" >&6; }
10061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10062 ac_ext=c
10063 ac_cpp='$CPP $CPPFLAGS'
10064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10070 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10071 then
10072 ac_save_LIBS="$LIBS"
10073 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10074 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10075 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10076 then :
10077 enable_winemac_drv=${enable_winemac_drv:-yes}
10080 LIBS="$ac_save_LIBS"
10083 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10084 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10086 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10088 WINELOADER_DEPENDS="wine_info.plist"
10090 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10093 linux-android*)
10095 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10097 DLLFLAGS="$DLLFLAGS -fPIC"
10098 LDDLLFLAGS="-fPIC"
10099 LDEXECFLAGS="-Wl,-pie"
10100 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10102 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10103 if test ${ac_cv_cflags__Wl__z_defs+y}
10104 then :
10105 printf %s "(cached) " >&6
10106 else $as_nop
10107 ac_wine_try_cflags_saved=$CFLAGS
10108 CFLAGS="$CFLAGS -Wl,-z,defs"
10109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10110 /* end confdefs.h. */
10111 int main(int argc, char **argv) { return 0; }
10112 _ACEOF
10113 if ac_fn_c_try_link "$LINENO"
10114 then :
10115 ac_cv_cflags__Wl__z_defs=yes
10116 else $as_nop
10117 ac_cv_cflags__Wl__z_defs=no
10119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10120 conftest$ac_exeext conftest.$ac_ext
10121 CFLAGS=$ac_wine_try_cflags_saved
10123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10124 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10125 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10126 then :
10127 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10130 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10131 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10132 then :
10133 printf %s "(cached) " >&6
10134 else $as_nop
10135 ac_wine_try_cflags_saved=$CFLAGS
10136 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10138 /* end confdefs.h. */
10139 int main(int argc, char **argv) { return 0; }
10140 _ACEOF
10141 if ac_fn_c_try_link "$LINENO"
10142 then :
10143 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10144 else $as_nop
10145 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10148 conftest$ac_exeext conftest.$ac_ext
10149 CFLAGS=$ac_wine_try_cflags_saved
10151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10152 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10153 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10154 then :
10155 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10157 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10160 printf %s "checking for -lEGL... " >&6; }
10161 if test ${ac_cv_lib_soname_EGL+y}
10162 then :
10163 printf %s "(cached) " >&6
10164 else $as_nop
10165 ac_check_soname_save_LIBS=$LIBS
10166 LIBS="-lEGL $LIBS"
10167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10168 /* end confdefs.h. */
10170 /* Override any GCC internal prototype to avoid an error.
10171 Use char because int might match the return type of a GCC
10172 builtin and then its argument prototype would still apply. */
10173 char eglGetProcAddress ();
10175 main (void)
10177 return eglGetProcAddress ();
10179 return 0;
10181 _ACEOF
10182 if ac_fn_c_try_link "$LINENO"
10183 then :
10184 case "$LIBEXT" in
10185 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10186 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'` ;;
10187 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10188 if ${ac_cv_lib_soname_EGL:+false} :
10189 then :
10190 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10191 fi ;;
10192 esac
10193 else $as_nop
10194 ac_cv_lib_soname_EGL=
10196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10197 conftest$ac_exeext conftest.$ac_ext
10198 LIBS=$ac_check_soname_save_LIBS
10200 if ${ac_cv_lib_soname_EGL:+false} :
10201 then :
10202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10203 printf "%s\n" "not found" >&6; }
10205 else $as_nop
10206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10207 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10209 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10214 printf %s "checking for -lGLESv2... " >&6; }
10215 if test ${ac_cv_lib_soname_GLESv2+y}
10216 then :
10217 printf %s "(cached) " >&6
10218 else $as_nop
10219 ac_check_soname_save_LIBS=$LIBS
10220 LIBS="-lGLESv2 $LIBS"
10221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10224 /* Override any GCC internal prototype to avoid an error.
10225 Use char because int might match the return type of a GCC
10226 builtin and then its argument prototype would still apply. */
10227 char glFlush ();
10229 main (void)
10231 return glFlush ();
10233 return 0;
10235 _ACEOF
10236 if ac_fn_c_try_link "$LINENO"
10237 then :
10238 case "$LIBEXT" in
10239 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10240 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'` ;;
10241 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10242 if ${ac_cv_lib_soname_GLESv2:+false} :
10243 then :
10244 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10245 fi ;;
10246 esac
10247 else $as_nop
10248 ac_cv_lib_soname_GLESv2=
10250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10251 conftest$ac_exeext conftest.$ac_ext
10252 LIBS=$ac_check_soname_save_LIBS
10254 if ${ac_cv_lib_soname_GLESv2:+false} :
10255 then :
10256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10257 printf "%s\n" "not found" >&6; }
10259 else $as_nop
10260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10261 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10263 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10268 if test "x$exec_prefix" = xNONE
10269 then
10270 case $host_cpu in
10271 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10272 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10273 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10274 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10275 esac
10281 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10283 test "$ac_cv_sys_file_offset_bits" = 64 &&
10284 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10286 case $host_cpu in
10287 *i[3456789]86*)
10288 DLLFLAGS="$DLLFLAGS -fno-PIC"
10289 LDDLLFLAGS="-fno-PIC"
10290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10291 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10292 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10293 then :
10294 printf %s "(cached) " >&6
10295 else $as_nop
10296 ac_wine_try_cflags_saved=$CFLAGS
10297 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10299 /* end confdefs.h. */
10300 int main(int argc, char **argv) { return 0; }
10301 _ACEOF
10302 if ac_fn_c_try_link "$LINENO"
10303 then :
10304 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10305 else $as_nop
10306 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10309 conftest$ac_exeext conftest.$ac_ext
10310 CFLAGS=$ac_wine_try_cflags_saved
10312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10313 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10314 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10315 then :
10316 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10320 DLLFLAGS="$DLLFLAGS -fPIC"
10321 LDDLLFLAGS="-fPIC" ;;
10322 esac
10323 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10325 echo '{ global: *; };' >conftest.map
10326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10327 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10328 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10329 then :
10330 printf %s "(cached) " >&6
10331 else $as_nop
10332 ac_wine_try_cflags_saved=$CFLAGS
10333 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10335 /* end confdefs.h. */
10336 int main(int argc, char **argv) { return 0; }
10337 _ACEOF
10338 if ac_fn_c_try_link "$LINENO"
10339 then :
10340 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10341 else $as_nop
10342 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10345 conftest$ac_exeext conftest.$ac_ext
10346 CFLAGS=$ac_wine_try_cflags_saved
10348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10349 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10350 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10351 then :
10352 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10354 rm -f conftest.map
10356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10357 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10358 if test ${ac_cv_cflags__Wl__z_defs+y}
10359 then :
10360 printf %s "(cached) " >&6
10361 else $as_nop
10362 ac_wine_try_cflags_saved=$CFLAGS
10363 CFLAGS="$CFLAGS -Wl,-z,defs"
10364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10366 int main(int argc, char **argv) { return 0; }
10367 _ACEOF
10368 if ac_fn_c_try_link "$LINENO"
10369 then :
10370 ac_cv_cflags__Wl__z_defs=yes
10371 else $as_nop
10372 ac_cv_cflags__Wl__z_defs=no
10374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10375 conftest$ac_exeext conftest.$ac_ext
10376 CFLAGS=$ac_wine_try_cflags_saved
10378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10379 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10380 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10381 then :
10382 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10385 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10386 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10387 then :
10388 printf %s "(cached) " >&6
10389 else $as_nop
10390 ac_wine_try_cflags_saved=$CFLAGS
10391 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h. */
10394 int main(int argc, char **argv) { return 0; }
10395 _ACEOF
10396 if ac_fn_c_try_link "$LINENO"
10397 then :
10398 ac_cv_cflags__Wl___export_dynamic=yes
10399 else $as_nop
10400 ac_cv_cflags__Wl___export_dynamic=no
10402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10403 conftest$ac_exeext conftest.$ac_ext
10404 CFLAGS=$ac_wine_try_cflags_saved
10406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10407 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10408 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10409 then :
10410 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10412 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10414 case $host_cpu in
10415 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10417 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10418 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10419 then :
10420 printf %s "(cached) " >&6
10421 else $as_nop
10422 ac_wine_try_cflags_saved=$CFLAGS
10423 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10425 /* end confdefs.h. */
10426 int main(int argc, char **argv) { return 0; }
10427 _ACEOF
10428 if ac_fn_c_try_link "$LINENO"
10429 then :
10430 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10431 else $as_nop
10432 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10435 conftest$ac_exeext conftest.$ac_ext
10436 CFLAGS=$ac_wine_try_cflags_saved
10438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10439 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10440 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10441 then :
10442 case $host_os in
10443 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10444 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10445 esac
10446 else $as_nop
10447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10448 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10449 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10450 then :
10451 printf %s "(cached) " >&6
10452 else $as_nop
10453 ac_wine_try_cflags_saved=$CFLAGS
10454 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10456 /* end confdefs.h. */
10457 int main(int argc, char **argv) { return 0; }
10458 _ACEOF
10459 if ac_fn_c_try_link "$LINENO"
10460 then :
10461 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10462 else $as_nop
10463 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10466 conftest$ac_exeext conftest.$ac_ext
10467 CFLAGS=$ac_wine_try_cflags_saved
10469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10470 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10471 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10472 then :
10473 case $host_os in
10474 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10475 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10476 esac
10478 # Extract the first word of "prelink", so it can be a program name with args.
10479 set dummy prelink; ac_word=$2
10480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10481 printf %s "checking for $ac_word... " >&6; }
10482 if test ${ac_cv_path_PRELINK+y}
10483 then :
10484 printf %s "(cached) " >&6
10485 else $as_nop
10486 case $PRELINK in
10487 [\\/]* | ?:[\\/]*)
10488 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10492 for as_dir in /sbin /usr/sbin $PATH
10494 IFS=$as_save_IFS
10495 case $as_dir in #(((
10496 '') as_dir=./ ;;
10497 */) ;;
10498 *) as_dir=$as_dir/ ;;
10499 esac
10500 for ac_exec_ext in '' $ac_executable_extensions; do
10501 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10502 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10504 break 2
10506 done
10507 done
10508 IFS=$as_save_IFS
10510 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10512 esac
10514 PRELINK=$ac_cv_path_PRELINK
10515 if test -n "$PRELINK"; then
10516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10517 printf "%s\n" "$PRELINK" >&6; }
10518 else
10519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10520 printf "%s\n" "no" >&6; }
10524 if test "x$PRELINK" = xfalse
10525 then
10526 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10530 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10531 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10532 then :
10533 printf %s "(cached) " >&6
10534 else $as_nop
10535 ac_wine_try_cflags_saved=$CFLAGS
10536 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10538 /* end confdefs.h. */
10539 int main(int argc, char **argv) { return 0; }
10540 _ACEOF
10541 if ac_fn_c_try_link "$LINENO"
10542 then :
10543 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10544 else $as_nop
10545 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10548 conftest$ac_exeext conftest.$ac_ext
10549 CFLAGS=$ac_wine_try_cflags_saved
10551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10552 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10553 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10554 then :
10555 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10558 esac
10559 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10561 LIBWINE_DEPENDS="wine.map"
10563 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10565 esac
10567 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10568 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10569 enable_winemac_drv=${enable_winemac_drv:-no}
10571 PE_ARCHS=""
10573 cross_archs=
10574 if test ${enable_archs+y}
10575 then :
10576 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10577 ac_save_IFS=$IFS
10578 IFS=' ,'
10579 set x $enable_archs
10580 IFS=$ac_save_IFS
10581 shift
10582 for arch
10584 case $arch in
10585 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10586 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10587 esac
10588 done
10589 else $as_nop
10590 if test "x$with_mingw" != xno
10591 then
10592 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10593 case "x$with_mingw" in
10594 x|xyes) ;;
10595 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10596 esac
10600 for wine_arch in $cross_archs
10602 if eval \${${wine_arch}_CC:+false} :
10603 then :
10604 case $wine_arch in
10605 aarch64)
10606 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10608 # Extract the first word of "$ac_prog", so it can be a program name with args.
10609 set dummy $ac_prog; ac_word=$2
10610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10611 printf %s "checking for $ac_word... " >&6; }
10612 if test ${ac_cv_prog_aarch64_CC+y}
10613 then :
10614 printf %s "(cached) " >&6
10615 else $as_nop
10616 if test -n "$aarch64_CC"; then
10617 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10618 else
10619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10620 for as_dir in $PATH
10622 IFS=$as_save_IFS
10623 case $as_dir in #(((
10624 '') as_dir=./ ;;
10625 */) ;;
10626 *) as_dir=$as_dir/ ;;
10627 esac
10628 for ac_exec_ext in '' $ac_executable_extensions; do
10629 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10630 ac_cv_prog_aarch64_CC="$ac_prog"
10631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10632 break 2
10634 done
10635 done
10636 IFS=$as_save_IFS
10640 aarch64_CC=$ac_cv_prog_aarch64_CC
10641 if test -n "$aarch64_CC"; then
10642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10643 printf "%s\n" "$aarch64_CC" >&6; }
10644 else
10645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10646 printf "%s\n" "no" >&6; }
10650 test -n "$aarch64_CC" && break
10651 done
10652 test -n "$aarch64_CC" || aarch64_CC="false"
10655 arm)
10656 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10658 # Extract the first word of "$ac_prog", so it can be a program name with args.
10659 set dummy $ac_prog; ac_word=$2
10660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10661 printf %s "checking for $ac_word... " >&6; }
10662 if test ${ac_cv_prog_arm_CC+y}
10663 then :
10664 printf %s "(cached) " >&6
10665 else $as_nop
10666 if test -n "$arm_CC"; then
10667 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10668 else
10669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10670 for as_dir in $PATH
10672 IFS=$as_save_IFS
10673 case $as_dir in #(((
10674 '') as_dir=./ ;;
10675 */) ;;
10676 *) as_dir=$as_dir/ ;;
10677 esac
10678 for ac_exec_ext in '' $ac_executable_extensions; do
10679 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10680 ac_cv_prog_arm_CC="$ac_prog"
10681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10682 break 2
10684 done
10685 done
10686 IFS=$as_save_IFS
10690 arm_CC=$ac_cv_prog_arm_CC
10691 if test -n "$arm_CC"; then
10692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10693 printf "%s\n" "$arm_CC" >&6; }
10694 else
10695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10696 printf "%s\n" "no" >&6; }
10700 test -n "$arm_CC" && break
10701 done
10702 test -n "$arm_CC" || arm_CC="false"
10705 i386)
10706 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang "
10707 for ac_prog in $ac_prefix_list clang
10709 # Extract the first word of "$ac_prog", so it can be a program name with args.
10710 set dummy $ac_prog; ac_word=$2
10711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10712 printf %s "checking for $ac_word... " >&6; }
10713 if test ${ac_cv_prog_i386_CC+y}
10714 then :
10715 printf %s "(cached) " >&6
10716 else $as_nop
10717 if test -n "$i386_CC"; then
10718 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10719 else
10720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10721 for as_dir in $PATH
10723 IFS=$as_save_IFS
10724 case $as_dir in #(((
10725 '') as_dir=./ ;;
10726 */) ;;
10727 *) as_dir=$as_dir/ ;;
10728 esac
10729 for ac_exec_ext in '' $ac_executable_extensions; do
10730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10731 ac_cv_prog_i386_CC="$ac_prog"
10732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10733 break 2
10735 done
10736 done
10737 IFS=$as_save_IFS
10741 i386_CC=$ac_cv_prog_i386_CC
10742 if test -n "$i386_CC"; then
10743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10744 printf "%s\n" "$i386_CC" >&6; }
10745 else
10746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10747 printf "%s\n" "no" >&6; }
10751 test -n "$i386_CC" && break
10752 done
10753 test -n "$i386_CC" || i386_CC="false"
10756 x86_64)
10757 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10758 for ac_prog in $ac_prefix_list clang
10760 # Extract the first word of "$ac_prog", so it can be a program name with args.
10761 set dummy $ac_prog; ac_word=$2
10762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10763 printf %s "checking for $ac_word... " >&6; }
10764 if test ${ac_cv_prog_x86_64_CC+y}
10765 then :
10766 printf %s "(cached) " >&6
10767 else $as_nop
10768 if test -n "$x86_64_CC"; then
10769 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10770 else
10771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10772 for as_dir in $PATH
10774 IFS=$as_save_IFS
10775 case $as_dir in #(((
10776 '') as_dir=./ ;;
10777 */) ;;
10778 *) as_dir=$as_dir/ ;;
10779 esac
10780 for ac_exec_ext in '' $ac_executable_extensions; do
10781 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10782 ac_cv_prog_x86_64_CC="$ac_prog"
10783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10784 break 2
10786 done
10787 done
10788 IFS=$as_save_IFS
10792 x86_64_CC=$ac_cv_prog_x86_64_CC
10793 if test -n "$x86_64_CC"; then
10794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10795 printf "%s\n" "$x86_64_CC" >&6; }
10796 else
10797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10798 printf "%s\n" "no" >&6; }
10802 test -n "$x86_64_CC" && break
10803 done
10804 test -n "$x86_64_CC" || x86_64_CC="false"
10807 esac
10810 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10811 then :
10812 continue
10815 saved_CC=$CC
10816 saved_CFLAGS=$CFLAGS
10818 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10819 eval CC=\$${wine_arch}_CC
10820 eval ${wine_arch}_CFLAGS=\$CFLAGS
10821 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10822 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10824 target=""
10825 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10828 printf %s "checking whether $CC works... " >&6; }
10829 if eval test \${$as_wine_cv_crosscc+y}
10830 then :
10831 printf %s "(cached) " >&6
10832 else $as_nop
10833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10837 main (void)
10841 return 0;
10843 _ACEOF
10844 if ac_fn_c_try_compile "$LINENO"
10845 then :
10846 eval "$as_wine_cv_crosscc=yes"
10847 else $as_nop
10848 eval "$as_wine_cv_crosscc=no"
10850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10852 eval ac_res=\$$as_wine_cv_crosscc
10853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10854 printf "%s\n" "$ac_res" >&6; }
10855 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10856 then :
10857 set x $CC
10858 shift
10859 while test $# -ge 1
10861 case "$1" in
10862 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10863 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10864 esac
10865 shift
10866 done
10868 llvm_target=$target
10869 llvm_cflags="-fuse-ld=lld"
10870 if test -z "$llvm_target"
10871 then
10872 case $wine_arch in
10873 i386) llvm_target=i686-windows ;;
10874 arm) llvm_target=armv7-windows ;;
10875 *) llvm_target=$wine_arch-windows ;;
10876 esac
10878 case $llvm_target in
10879 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10880 esac
10881 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -target $llvm_target $llvm_cflags" >&5
10883 printf %s "checking whether $CC supports -target $llvm_target $llvm_cflags... " >&6; }
10884 if eval test \${$as_ac_var+y}
10885 then :
10886 printf %s "(cached) " >&6
10887 else $as_nop
10888 ac_wine_try_cflags_saved=$CFLAGS
10889 ac_wine_try_cflags_saved_exeext=$ac_exeext
10890 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10891 ac_exeext=".exe"
10892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10893 /* end confdefs.h. */
10894 int __cdecl mainCRTStartup(void) { return 0; }
10895 _ACEOF
10896 if ac_fn_c_try_link "$LINENO"
10897 then :
10898 eval "$as_ac_var=yes"
10899 else $as_nop
10900 eval "$as_ac_var=no"
10902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10903 conftest$ac_exeext conftest.$ac_ext
10904 CFLAGS=$ac_wine_try_cflags_saved
10905 ac_exeext=$ac_wine_try_cflags_saved_exeext
10907 eval ac_res=\$$as_ac_var
10908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10909 printf "%s\n" "$ac_res" >&6; }
10910 if eval test \"x\$"$as_ac_var"\" = x"yes"
10911 then :
10912 target=$llvm_target
10913 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10914 as_fn_append ${wine_arch}_EXTRACFLAGS " -target $target"
10915 CFLAGS="$CFLAGS -target $target $llvm_cflags"
10916 fi }
10917 eval "${wine_arch}_TARGET=\$target"
10918 PE_ARCHS="$PE_ARCHS $wine_arch"
10922 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10925 printf %s "checking for $CC option to enable C99 features... " >&6; }
10926 if eval test \${$as_wine_cv_crosscc_c99+y}
10927 then :
10928 printf %s "(cached) " >&6
10929 else $as_nop
10930 eval "$as_wine_cv_crosscc_c99=no"
10931 for arg in '' '-std=gnu99'
10933 test -z "$arg" || CC="$CC $arg"
10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10936 $ac_c_conftest_c99_program
10937 _ACEOF
10938 if ac_fn_c_try_compile "$LINENO"
10939 then :
10940 eval "$as_wine_cv_crosscc_c99=\$arg"
10941 else $as_nop
10942 eval "$as_wine_cv_crosscc_c99=no"
10944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10945 eval CC=\$${wine_arch}_CC
10946 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10947 then :
10949 else $as_nop
10950 break
10952 done
10955 eval res=\$$as_wine_cv_crosscc_c99
10956 case "x$res" in
10957 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10958 printf "%s\n" "none needed" >&6; } ;;
10959 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10960 printf "%s\n" "unsupported" >&6; } ;;
10961 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10962 printf "%s\n" "$res" >&6; }
10963 as_fn_append ${wine_arch}_CC " $res" ;;
10964 esac
10967 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10969 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10970 if eval test \${$as_ac_var+y}
10971 then :
10972 printf %s "(cached) " >&6
10973 else $as_nop
10974 ac_wine_try_cflags_saved=$CFLAGS
10975 ac_wine_try_cflags_saved_exeext=$ac_exeext
10976 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10977 ac_exeext=".exe"
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10980 int __cdecl mainCRTStartup(void) { return 0; }
10981 _ACEOF
10982 if ac_fn_c_try_link "$LINENO"
10983 then :
10984 eval "$as_ac_var=yes"
10985 else $as_nop
10986 eval "$as_ac_var=no"
10988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10989 conftest$ac_exeext conftest.$ac_ext
10990 CFLAGS=$ac_wine_try_cflags_saved
10991 ac_exeext=$ac_wine_try_cflags_saved_exeext
10993 eval ac_res=\$$as_ac_var
10994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10995 printf "%s\n" "$ac_res" >&6; }
10996 if eval test \"x\$"$as_ac_var"\" = x"yes"
10997 then :
10998 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10999 fi }
11000 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
11001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
11002 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
11003 if eval test \${$as_ac_var+y}
11004 then :
11005 printf %s "(cached) " >&6
11006 else $as_nop
11007 ac_wine_try_cflags_saved=$CFLAGS
11008 ac_wine_try_cflags_saved_exeext=$ac_exeext
11009 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
11010 ac_exeext=".exe"
11011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11012 /* end confdefs.h. */
11013 int __cdecl mainCRTStartup(void) { return 0; }
11014 _ACEOF
11015 if ac_fn_c_try_link "$LINENO"
11016 then :
11017 eval "$as_ac_var=yes"
11018 else $as_nop
11019 eval "$as_ac_var=no"
11021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11022 conftest$ac_exeext conftest.$ac_ext
11023 CFLAGS=$ac_wine_try_cflags_saved
11024 ac_exeext=$ac_wine_try_cflags_saved_exeext
11026 eval ac_res=\$$as_ac_var
11027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11028 printf "%s\n" "$ac_res" >&6; }
11029 if eval test \"x\$"$as_ac_var"\" = x"yes"
11030 then :
11031 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11032 fi }
11033 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
11034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
11035 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
11036 if eval test \${$as_ac_var+y}
11037 then :
11038 printf %s "(cached) " >&6
11039 else $as_nop
11040 ac_wine_try_cflags_saved=$CFLAGS
11041 ac_wine_try_cflags_saved_exeext=$ac_exeext
11042 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11043 ac_exeext=".exe"
11044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h. */
11046 int __cdecl mainCRTStartup(void) { return 0; }
11047 _ACEOF
11048 if ac_fn_c_try_link "$LINENO"
11049 then :
11050 eval "$as_ac_var=yes"
11051 else $as_nop
11052 eval "$as_ac_var=no"
11054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11055 conftest$ac_exeext conftest.$ac_ext
11056 CFLAGS=$ac_wine_try_cflags_saved
11057 ac_exeext=$ac_wine_try_cflags_saved_exeext
11059 eval ac_res=\$$as_ac_var
11060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11061 printf "%s\n" "$ac_res" >&6; }
11062 if eval test \"x\$"$as_ac_var"\" = x"yes"
11063 then :
11064 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11065 fi }
11066 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
11067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11068 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11069 if eval test \${$as_ac_var+y}
11070 then :
11071 printf %s "(cached) " >&6
11072 else $as_nop
11073 ac_wine_try_cflags_saved=$CFLAGS
11074 ac_wine_try_cflags_saved_exeext=$ac_exeext
11075 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11076 ac_exeext=".exe"
11077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11078 /* end confdefs.h. */
11079 int __cdecl mainCRTStartup(void) { return 0; }
11080 _ACEOF
11081 if ac_fn_c_try_link "$LINENO"
11082 then :
11083 eval "$as_ac_var=yes"
11084 else $as_nop
11085 eval "$as_ac_var=no"
11087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11088 conftest$ac_exeext conftest.$ac_ext
11089 CFLAGS=$ac_wine_try_cflags_saved
11090 ac_exeext=$ac_wine_try_cflags_saved_exeext
11092 eval ac_res=\$$as_ac_var
11093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11094 printf "%s\n" "$ac_res" >&6; }
11095 if eval test \"x\$"$as_ac_var"\" = x"yes"
11096 then :
11097 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11098 fi }
11099 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
11100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11101 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11102 if eval test \${$as_ac_var+y}
11103 then :
11104 printf %s "(cached) " >&6
11105 else $as_nop
11106 ac_wine_try_cflags_saved=$CFLAGS
11107 ac_wine_try_cflags_saved_exeext=$ac_exeext
11108 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11109 ac_exeext=".exe"
11110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11112 int __cdecl mainCRTStartup(void) { return 0; }
11113 _ACEOF
11114 if ac_fn_c_try_link "$LINENO"
11115 then :
11116 eval "$as_ac_var=yes"
11117 else $as_nop
11118 eval "$as_ac_var=no"
11120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11121 conftest$ac_exeext conftest.$ac_ext
11122 CFLAGS=$ac_wine_try_cflags_saved
11123 ac_exeext=$ac_wine_try_cflags_saved_exeext
11125 eval ac_res=\$$as_ac_var
11126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11127 printf "%s\n" "$ac_res" >&6; }
11128 if eval test \"x\$"$as_ac_var"\" = x"yes"
11129 then :
11130 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11131 fi }
11132 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11134 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11135 if eval test \${$as_ac_var+y}
11136 then :
11137 printf %s "(cached) " >&6
11138 else $as_nop
11139 ac_wine_try_cflags_saved=$CFLAGS
11140 ac_wine_try_cflags_saved_exeext=$ac_exeext
11141 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11142 ac_exeext=".exe"
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11145 int __cdecl mainCRTStartup(void) { return 0; }
11146 _ACEOF
11147 if ac_fn_c_try_link "$LINENO"
11148 then :
11149 eval "$as_ac_var=yes"
11150 else $as_nop
11151 eval "$as_ac_var=no"
11153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11154 conftest$ac_exeext conftest.$ac_ext
11155 CFLAGS=$ac_wine_try_cflags_saved
11156 ac_exeext=$ac_wine_try_cflags_saved_exeext
11158 eval ac_res=\$$as_ac_var
11159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11160 printf "%s\n" "$ac_res" >&6; }
11161 if eval test \"x\$"$as_ac_var"\" = x"yes"
11162 then :
11163 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11164 fi }
11165 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11167 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11168 if eval test \${$as_ac_var+y}
11169 then :
11170 printf %s "(cached) " >&6
11171 else $as_nop
11172 ac_wine_try_cflags_saved=$CFLAGS
11173 ac_wine_try_cflags_saved_exeext=$ac_exeext
11174 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11175 ac_exeext=".exe"
11176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11177 /* end confdefs.h. */
11178 int __cdecl mainCRTStartup(void) { return 0; }
11179 _ACEOF
11180 if ac_fn_c_try_link "$LINENO"
11181 then :
11182 eval "$as_ac_var=yes"
11183 else $as_nop
11184 eval "$as_ac_var=no"
11186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11187 conftest$ac_exeext conftest.$ac_ext
11188 CFLAGS=$ac_wine_try_cflags_saved
11189 ac_exeext=$ac_wine_try_cflags_saved_exeext
11191 eval ac_res=\$$as_ac_var
11192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11193 printf "%s\n" "$ac_res" >&6; }
11194 if eval test \"x\$"$as_ac_var"\" = x"yes"
11195 then :
11196 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11197 fi }
11198 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11200 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11201 if eval test \${$as_ac_var+y}
11202 then :
11203 printf %s "(cached) " >&6
11204 else $as_nop
11205 ac_wine_try_cflags_saved=$CFLAGS
11206 ac_wine_try_cflags_saved_exeext=$ac_exeext
11207 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11208 ac_exeext=".exe"
11209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11210 /* end confdefs.h. */
11211 int __cdecl mainCRTStartup(void) { return 0; }
11212 _ACEOF
11213 if ac_fn_c_try_link "$LINENO"
11214 then :
11215 eval "$as_ac_var=yes"
11216 else $as_nop
11217 eval "$as_ac_var=no"
11219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11220 conftest$ac_exeext conftest.$ac_ext
11221 CFLAGS=$ac_wine_try_cflags_saved
11222 ac_exeext=$ac_wine_try_cflags_saved_exeext
11224 eval ac_res=\$$as_ac_var
11225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11226 printf "%s\n" "$ac_res" >&6; }
11227 if eval test \"x\$"$as_ac_var"\" = x"yes"
11228 then :
11229 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11230 fi }
11231 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11233 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11234 if eval test \${$as_ac_var+y}
11235 then :
11236 printf %s "(cached) " >&6
11237 else $as_nop
11238 ac_wine_try_cflags_saved=$CFLAGS
11239 ac_wine_try_cflags_saved_exeext=$ac_exeext
11240 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11241 ac_exeext=".exe"
11242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11243 /* end confdefs.h. */
11244 int __cdecl mainCRTStartup(void) { return 0; }
11245 _ACEOF
11246 if ac_fn_c_try_link "$LINENO"
11247 then :
11248 eval "$as_ac_var=yes"
11249 else $as_nop
11250 eval "$as_ac_var=no"
11252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11253 conftest$ac_exeext conftest.$ac_ext
11254 CFLAGS=$ac_wine_try_cflags_saved
11255 ac_exeext=$ac_wine_try_cflags_saved_exeext
11257 eval ac_res=\$$as_ac_var
11258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11259 printf "%s\n" "$ac_res" >&6; }
11260 if eval test \"x\$"$as_ac_var"\" = x"yes"
11261 then :
11262 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11263 fi }
11264 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11266 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11267 if eval test \${$as_ac_var+y}
11268 then :
11269 printf %s "(cached) " >&6
11270 else $as_nop
11271 ac_wine_try_cflags_saved=$CFLAGS
11272 ac_wine_try_cflags_saved_exeext=$ac_exeext
11273 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11274 ac_exeext=".exe"
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11277 int __cdecl mainCRTStartup(void) { return 0; }
11278 _ACEOF
11279 if ac_fn_c_try_link "$LINENO"
11280 then :
11281 eval "$as_ac_var=yes"
11282 else $as_nop
11283 eval "$as_ac_var=no"
11285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11286 conftest$ac_exeext conftest.$ac_ext
11287 CFLAGS=$ac_wine_try_cflags_saved
11288 ac_exeext=$ac_wine_try_cflags_saved_exeext
11290 eval ac_res=\$$as_ac_var
11291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11292 printf "%s\n" "$ac_res" >&6; }
11293 if eval test \"x\$"$as_ac_var"\" = x"yes"
11294 then :
11295 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11296 fi }
11297 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11299 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11300 if eval test \${$as_ac_var+y}
11301 then :
11302 printf %s "(cached) " >&6
11303 else $as_nop
11304 ac_wine_try_cflags_saved=$CFLAGS
11305 ac_wine_try_cflags_saved_exeext=$ac_exeext
11306 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11307 ac_exeext=".exe"
11308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11310 int __cdecl mainCRTStartup(void) { return 0; }
11311 _ACEOF
11312 if ac_fn_c_try_link "$LINENO"
11313 then :
11314 eval "$as_ac_var=yes"
11315 else $as_nop
11316 eval "$as_ac_var=no"
11318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11319 conftest$ac_exeext conftest.$ac_ext
11320 CFLAGS=$ac_wine_try_cflags_saved
11321 ac_exeext=$ac_wine_try_cflags_saved_exeext
11323 eval ac_res=\$$as_ac_var
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11325 printf "%s\n" "$ac_res" >&6; }
11326 if eval test \"x\$"$as_ac_var"\" = x"yes"
11327 then :
11328 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11329 fi }
11330 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11332 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11333 if eval test \${$as_ac_var+y}
11334 then :
11335 printf %s "(cached) " >&6
11336 else $as_nop
11337 ac_wine_try_cflags_saved=$CFLAGS
11338 ac_wine_try_cflags_saved_exeext=$ac_exeext
11339 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11340 ac_exeext=".exe"
11341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11343 int __cdecl mainCRTStartup(void) { return 0; }
11344 _ACEOF
11345 if ac_fn_c_try_link "$LINENO"
11346 then :
11347 eval "$as_ac_var=yes"
11348 else $as_nop
11349 eval "$as_ac_var=no"
11351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11352 conftest$ac_exeext conftest.$ac_ext
11353 CFLAGS=$ac_wine_try_cflags_saved
11354 ac_exeext=$ac_wine_try_cflags_saved_exeext
11356 eval ac_res=\$$as_ac_var
11357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11358 printf "%s\n" "$ac_res" >&6; }
11359 if eval test \"x\$"$as_ac_var"\" = x"yes"
11360 then :
11361 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11362 fi }
11363 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11365 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11366 if eval test \${$as_ac_var+y}
11367 then :
11368 printf %s "(cached) " >&6
11369 else $as_nop
11370 ac_wine_try_cflags_saved=$CFLAGS
11371 ac_wine_try_cflags_saved_exeext=$ac_exeext
11372 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11373 ac_exeext=".exe"
11374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11375 /* end confdefs.h. */
11376 int __cdecl mainCRTStartup(void) { return 0; }
11377 _ACEOF
11378 if ac_fn_c_try_link "$LINENO"
11379 then :
11380 eval "$as_ac_var=yes"
11381 else $as_nop
11382 eval "$as_ac_var=no"
11384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11385 conftest$ac_exeext conftest.$ac_ext
11386 CFLAGS=$ac_wine_try_cflags_saved
11387 ac_exeext=$ac_wine_try_cflags_saved_exeext
11389 eval ac_res=\$$as_ac_var
11390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11391 printf "%s\n" "$ac_res" >&6; }
11392 if eval test \"x\$"$as_ac_var"\" = x"yes"
11393 then :
11394 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11395 fi }
11396 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11398 printf %s "checking whether $CC supports -Wvla... " >&6; }
11399 if eval test \${$as_ac_var+y}
11400 then :
11401 printf %s "(cached) " >&6
11402 else $as_nop
11403 ac_wine_try_cflags_saved=$CFLAGS
11404 ac_wine_try_cflags_saved_exeext=$ac_exeext
11405 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wvla"
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 eval "$as_ac_var=yes"
11414 else $as_nop
11415 eval "$as_ac_var=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 ac_exeext=$ac_wine_try_cflags_saved_exeext
11422 eval ac_res=\$$as_ac_var
11423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11424 printf "%s\n" "$ac_res" >&6; }
11425 if eval test \"x\$"$as_ac_var"\" = x"yes"
11426 then :
11427 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11428 fi }
11429 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11431 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11432 if eval test \${$as_ac_var+y}
11433 then :
11434 printf %s "(cached) " >&6
11435 else $as_nop
11436 ac_wine_try_cflags_saved=$CFLAGS
11437 ac_wine_try_cflags_saved_exeext=$ac_exeext
11438 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11439 ac_exeext=".exe"
11440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11441 /* end confdefs.h. */
11442 int __cdecl mainCRTStartup(void) { return 0; }
11443 _ACEOF
11444 if ac_fn_c_try_link "$LINENO"
11445 then :
11446 eval "$as_ac_var=yes"
11447 else $as_nop
11448 eval "$as_ac_var=no"
11450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11451 conftest$ac_exeext conftest.$ac_ext
11452 CFLAGS=$ac_wine_try_cflags_saved
11453 ac_exeext=$ac_wine_try_cflags_saved_exeext
11455 eval ac_res=\$$as_ac_var
11456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11457 printf "%s\n" "$ac_res" >&6; }
11458 if eval test \"x\$"$as_ac_var"\" = x"yes"
11459 then :
11460 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11461 fi }
11462 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11464 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11465 if eval test \${$as_ac_var+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_exeext=$ac_exeext
11471 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11472 ac_exeext=".exe"
11473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11474 /* end confdefs.h. */
11475 int __cdecl mainCRTStartup(void) { return 0; }
11476 _ACEOF
11477 if ac_fn_c_try_link "$LINENO"
11478 then :
11479 eval "$as_ac_var=yes"
11480 else $as_nop
11481 eval "$as_ac_var=no"
11483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11484 conftest$ac_exeext conftest.$ac_ext
11485 CFLAGS=$ac_wine_try_cflags_saved
11486 ac_exeext=$ac_wine_try_cflags_saved_exeext
11488 eval ac_res=\$$as_ac_var
11489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11490 printf "%s\n" "$ac_res" >&6; }
11491 if eval test \"x\$"$as_ac_var"\" = x"yes"
11492 then :
11493 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11494 fi }
11495 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11497 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11498 if eval test \${$as_ac_var+y}
11499 then :
11500 printf %s "(cached) " >&6
11501 else $as_nop
11502 ac_wine_try_cflags_saved=$CFLAGS
11503 ac_wine_try_cflags_saved_exeext=$ac_exeext
11504 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11505 ac_exeext=".exe"
11506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11508 int __cdecl mainCRTStartup(void) { return 0; }
11509 _ACEOF
11510 if ac_fn_c_try_link "$LINENO"
11511 then :
11512 eval "$as_ac_var=yes"
11513 else $as_nop
11514 eval "$as_ac_var=no"
11516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11517 conftest$ac_exeext conftest.$ac_ext
11518 CFLAGS=$ac_wine_try_cflags_saved
11519 ac_exeext=$ac_wine_try_cflags_saved_exeext
11521 eval ac_res=\$$as_ac_var
11522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11523 printf "%s\n" "$ac_res" >&6; }
11524 if eval test \"x\$"$as_ac_var"\" = x"yes"
11525 then :
11526 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11527 fi }
11528 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11530 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11531 if eval test \${$as_ac_var+y}
11532 then :
11533 printf %s "(cached) " >&6
11534 else $as_nop
11535 ac_wine_try_cflags_saved=$CFLAGS
11536 ac_wine_try_cflags_saved_exeext=$ac_exeext
11537 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11538 ac_exeext=".exe"
11539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11540 /* end confdefs.h. */
11541 int __cdecl mainCRTStartup(void) { return 0; }
11542 _ACEOF
11543 if ac_fn_c_try_link "$LINENO"
11544 then :
11545 eval "$as_ac_var=yes"
11546 else $as_nop
11547 eval "$as_ac_var=no"
11549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11550 conftest$ac_exeext conftest.$ac_ext
11551 CFLAGS=$ac_wine_try_cflags_saved
11552 ac_exeext=$ac_wine_try_cflags_saved_exeext
11554 eval ac_res=\$$as_ac_var
11555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11556 printf "%s\n" "$ac_res" >&6; }
11557 if eval test \"x\$"$as_ac_var"\" = x"yes"
11558 then :
11559 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11560 fi }
11562 case $wine_arch in
11563 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11565 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11566 if eval test \${$as_ac_var+y}
11567 then :
11568 printf %s "(cached) " >&6
11569 else $as_nop
11570 ac_wine_try_cflags_saved=$CFLAGS
11571 ac_wine_try_cflags_saved_exeext=$ac_exeext
11572 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11573 ac_exeext=".exe"
11574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11575 /* end confdefs.h. */
11576 int __cdecl mainCRTStartup(void) { return 0; }
11577 _ACEOF
11578 if ac_fn_c_try_link "$LINENO"
11579 then :
11580 eval "$as_ac_var=yes"
11581 else $as_nop
11582 eval "$as_ac_var=no"
11584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11585 conftest$ac_exeext conftest.$ac_ext
11586 CFLAGS=$ac_wine_try_cflags_saved
11587 ac_exeext=$ac_wine_try_cflags_saved_exeext
11589 eval ac_res=\$$as_ac_var
11590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11591 printf "%s\n" "$ac_res" >&6; }
11592 if eval test \"x\$"$as_ac_var"\" = x"yes"
11593 then :
11594 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11595 fi }
11596 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11598 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11599 if eval test \${$as_ac_var+y}
11600 then :
11601 printf %s "(cached) " >&6
11602 else $as_nop
11603 ac_wine_try_cflags_saved=$CFLAGS
11604 ac_wine_try_cflags_saved_exeext=$ac_exeext
11605 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11606 ac_exeext=".exe"
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11609 int __cdecl mainCRTStartup(void) { return 0; }
11610 _ACEOF
11611 if ac_fn_c_try_link "$LINENO"
11612 then :
11613 eval "$as_ac_var=yes"
11614 else $as_nop
11615 eval "$as_ac_var=no"
11617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11618 conftest$ac_exeext conftest.$ac_ext
11619 CFLAGS=$ac_wine_try_cflags_saved
11620 ac_exeext=$ac_wine_try_cflags_saved_exeext
11622 eval ac_res=\$$as_ac_var
11623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11624 printf "%s\n" "$ac_res" >&6; }
11625 if eval test \"x\$"$as_ac_var"\" = x"yes"
11626 then :
11627 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11628 fi } ;;
11629 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" | $as_tr_sh`
11630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11631 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11632 if eval test \${$as_ac_var+y}
11633 then :
11634 printf %s "(cached) " >&6
11635 else $as_nop
11636 ac_wine_try_cflags_saved=$CFLAGS
11637 ac_wine_try_cflags_saved_exeext=$ac_exeext
11638 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11639 ac_exeext=".exe"
11640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11641 /* end confdefs.h. */
11642 int __cdecl mainCRTStartup(void) { return 0; }
11643 _ACEOF
11644 if ac_fn_c_try_link "$LINENO"
11645 then :
11646 eval "$as_ac_var=yes"
11647 else $as_nop
11648 eval "$as_ac_var=no"
11650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11651 conftest$ac_exeext conftest.$ac_ext
11652 CFLAGS=$ac_wine_try_cflags_saved
11653 ac_exeext=$ac_wine_try_cflags_saved_exeext
11655 eval ac_res=\$$as_ac_var
11656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11657 printf "%s\n" "$ac_res" >&6; }
11658 if eval test \"x\$"$as_ac_var"\" = x"yes"
11659 then :
11660 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11661 fi }
11662 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11664 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11665 if eval test \${$as_ac_var+y}
11666 then :
11667 printf %s "(cached) " >&6
11668 else $as_nop
11669 ac_wine_try_cflags_saved=$CFLAGS
11670 ac_wine_try_cflags_saved_exeext=$ac_exeext
11671 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11672 ac_exeext=".exe"
11673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11675 int __cdecl mainCRTStartup(void) { return 0; }
11676 _ACEOF
11677 if ac_fn_c_try_link "$LINENO"
11678 then :
11679 eval "$as_ac_var=yes"
11680 else $as_nop
11681 eval "$as_ac_var=no"
11683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11684 conftest$ac_exeext conftest.$ac_ext
11685 CFLAGS=$ac_wine_try_cflags_saved
11686 ac_exeext=$ac_wine_try_cflags_saved_exeext
11688 eval ac_res=\$$as_ac_var
11689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11690 printf "%s\n" "$ac_res" >&6; }
11691 if eval test \"x\$"$as_ac_var"\" = x"yes"
11692 then :
11693 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11694 fi }
11695 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11697 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11698 if eval test \${$as_ac_var+y}
11699 then :
11700 printf %s "(cached) " >&6
11701 else $as_nop
11702 ac_wine_try_cflags_saved=$CFLAGS
11703 ac_wine_try_cflags_saved_exeext=$ac_exeext
11704 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11705 ac_exeext=".exe"
11706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11708 int __cdecl mainCRTStartup(void) { return 0; }
11709 _ACEOF
11710 if ac_fn_c_try_link "$LINENO"
11711 then :
11712 eval "$as_ac_var=yes"
11713 else $as_nop
11714 eval "$as_ac_var=no"
11716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11717 conftest$ac_exeext conftest.$ac_ext
11718 CFLAGS=$ac_wine_try_cflags_saved
11719 ac_exeext=$ac_wine_try_cflags_saved_exeext
11721 eval ac_res=\$$as_ac_var
11722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11723 printf "%s\n" "$ac_res" >&6; }
11724 if eval test \"x\$"$as_ac_var"\" = x"yes"
11725 then :
11726 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11727 fi }
11728 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11730 printf %s "checking whether $CC supports -mcx16... " >&6; }
11731 if eval test \${$as_ac_var+y}
11732 then :
11733 printf %s "(cached) " >&6
11734 else $as_nop
11735 ac_wine_try_cflags_saved=$CFLAGS
11736 ac_wine_try_cflags_saved_exeext=$ac_exeext
11737 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -mcx16"
11738 ac_exeext=".exe"
11739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11740 /* end confdefs.h. */
11741 int __cdecl mainCRTStartup(void) { return 0; }
11742 _ACEOF
11743 if ac_fn_c_try_link "$LINENO"
11744 then :
11745 eval "$as_ac_var=yes"
11746 else $as_nop
11747 eval "$as_ac_var=no"
11749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11750 conftest$ac_exeext conftest.$ac_ext
11751 CFLAGS=$ac_wine_try_cflags_saved
11752 ac_exeext=$ac_wine_try_cflags_saved_exeext
11754 eval ac_res=\$$as_ac_var
11755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11756 printf "%s\n" "$ac_res" >&6; }
11757 if eval test \"x\$"$as_ac_var"\" = x"yes"
11758 then :
11759 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11760 fi } ;;
11761 aarch64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" | $as_tr_sh`
11762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11763 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11764 if eval test \${$as_ac_var+y}
11765 then :
11766 printf %s "(cached) " >&6
11767 else $as_nop
11768 ac_wine_try_cflags_saved=$CFLAGS
11769 ac_wine_try_cflags_saved_exeext=$ac_exeext
11770 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11771 ac_exeext=".exe"
11772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11773 /* end confdefs.h. */
11774 int __cdecl mainCRTStartup(void) { return 0; }
11775 _ACEOF
11776 if ac_fn_c_try_link "$LINENO"
11777 then :
11778 eval "$as_ac_var=yes"
11779 else $as_nop
11780 eval "$as_ac_var=no"
11782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11783 conftest$ac_exeext conftest.$ac_ext
11784 CFLAGS=$ac_wine_try_cflags_saved
11785 ac_exeext=$ac_wine_try_cflags_saved_exeext
11787 eval ac_res=\$$as_ac_var
11788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11789 printf "%s\n" "$ac_res" >&6; }
11790 if eval test \"x\$"$as_ac_var"\" = x"yes"
11791 then :
11792 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11793 fi } ;;
11794 esac
11796 wine_crossdebug=$CROSSDEBUG
11797 if test -z "$wine_crossdebug"
11798 then
11799 for ac_flag in $CFLAGS; do
11800 case $ac_flag in
11801 -gdwarf*) wine_crossdebug=dwarf ;;
11802 -gcodeview) wine_crossdebug=pdb ;;
11803 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11804 esac
11805 done
11808 ac_debug_format_seen=""
11809 for ac_flag in $CFLAGS; do
11810 case $ac_flag in
11811 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11812 esac
11813 done
11814 if test "x$ac_debug_format_seen" = x
11815 then
11816 case $wine_crossdebug in
11817 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11819 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11820 if eval test \${$as_ac_var+y}
11821 then :
11822 printf %s "(cached) " >&6
11823 else $as_nop
11824 ac_wine_try_cflags_saved=$CFLAGS
11825 ac_wine_try_cflags_saved_exeext=$ac_exeext
11826 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11827 ac_exeext=".exe"
11828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11829 /* end confdefs.h. */
11830 int __cdecl mainCRTStartup(void) { return 0; }
11831 _ACEOF
11832 if ac_fn_c_try_link "$LINENO"
11833 then :
11834 eval "$as_ac_var=yes"
11835 else $as_nop
11836 eval "$as_ac_var=no"
11838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11839 conftest$ac_exeext conftest.$ac_ext
11840 CFLAGS=$ac_wine_try_cflags_saved
11841 ac_exeext=$ac_wine_try_cflags_saved_exeext
11843 eval ac_res=\$$as_ac_var
11844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11845 printf "%s\n" "$ac_res" >&6; }
11846 if eval test \"x\$"$as_ac_var"\" = x"yes"
11847 then :
11848 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11849 fi } ;;
11850 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11852 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11853 if eval test \${$as_ac_var+y}
11854 then :
11855 printf %s "(cached) " >&6
11856 else $as_nop
11857 ac_wine_try_cflags_saved=$CFLAGS
11858 ac_wine_try_cflags_saved_exeext=$ac_exeext
11859 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11860 ac_exeext=".exe"
11861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11862 /* end confdefs.h. */
11863 int __cdecl mainCRTStartup(void) { return 0; }
11864 _ACEOF
11865 if ac_fn_c_try_link "$LINENO"
11866 then :
11867 eval "$as_ac_var=yes"
11868 else $as_nop
11869 eval "$as_ac_var=no"
11871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11872 conftest$ac_exeext conftest.$ac_ext
11873 CFLAGS=$ac_wine_try_cflags_saved
11874 ac_exeext=$ac_wine_try_cflags_saved_exeext
11876 eval ac_res=\$$as_ac_var
11877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11878 printf "%s\n" "$ac_res" >&6; }
11879 if eval test \"x\$"$as_ac_var"\" = x"yes"
11880 then :
11881 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11882 fi } ;;
11883 esac
11885 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11887 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11889 printf %s "checking whether $CC supports -Werror... " >&6; }
11890 if eval test \${$as_ac_var+y}
11891 then :
11892 printf %s "(cached) " >&6
11893 else $as_nop
11894 ac_wine_try_cflags_saved=$CFLAGS
11895 ac_wine_try_cflags_saved_exeext=$ac_exeext
11896 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror"
11897 ac_exeext=".exe"
11898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11899 /* end confdefs.h. */
11900 int __cdecl mainCRTStartup(void) { return 0; }
11901 _ACEOF
11902 if ac_fn_c_try_link "$LINENO"
11903 then :
11904 eval "$as_ac_var=yes"
11905 else $as_nop
11906 eval "$as_ac_var=no"
11908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11909 conftest$ac_exeext conftest.$ac_ext
11910 CFLAGS=$ac_wine_try_cflags_saved
11911 ac_exeext=$ac_wine_try_cflags_saved_exeext
11913 eval ac_res=\$$as_ac_var
11914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11915 printf "%s\n" "$ac_res" >&6; }
11916 if eval test \"x\$"$as_ac_var"\" = x"yes"
11917 then :
11918 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11919 fi }
11920 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11922 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11923 if eval test \${$as_ac_var+y}
11924 then :
11925 printf %s "(cached) " >&6
11926 else $as_nop
11927 ac_wine_try_cflags_saved=$CFLAGS
11928 ac_wine_try_cflags_saved_exeext=$ac_exeext
11929 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11930 ac_exeext=".exe"
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11933 int __cdecl mainCRTStartup(void) { return 0; }
11934 _ACEOF
11935 if ac_fn_c_try_link "$LINENO"
11936 then :
11937 eval "$as_ac_var=yes"
11938 else $as_nop
11939 eval "$as_ac_var=no"
11941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11942 conftest$ac_exeext conftest.$ac_ext
11943 CFLAGS=$ac_wine_try_cflags_saved
11944 ac_exeext=$ac_wine_try_cflags_saved_exeext
11946 eval ac_res=\$$as_ac_var
11947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11948 printf "%s\n" "$ac_res" >&6; }
11949 if eval test \"x\$"$as_ac_var"\" = x"yes"
11950 then :
11951 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11952 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11953 fi }
11955 CC=$saved_CC
11956 CFLAGS=$saved_CFLAGS
11957 done
11959 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11960 then
11961 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11964 if test "x$PE_ARCHS" = "x"
11965 then :
11966 case "x$with_mingw" in
11967 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11968 xno) ;;
11969 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11970 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11971 esac
11976 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11977 then
11978 case "$host_cpu" in
11979 i[3456789]86*)
11980 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11982 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11983 esac
11984 for ac_prog in $ac_prefix_list
11986 # Extract the first word of "$ac_prog", so it can be a program name with args.
11987 set dummy $ac_prog; ac_word=$2
11988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11989 printf %s "checking for $ac_word... " >&6; }
11990 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11991 then :
11992 printf %s "(cached) " >&6
11993 else $as_nop
11994 if test -n "$MINGW_PKG_CONFIG"; then
11995 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11996 else
11997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11998 for as_dir in $PATH
12000 IFS=$as_save_IFS
12001 case $as_dir in #(((
12002 '') as_dir=./ ;;
12003 */) ;;
12004 *) as_dir=$as_dir/ ;;
12005 esac
12006 for ac_exec_ext in '' $ac_executable_extensions; do
12007 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12008 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12010 break 2
12012 done
12013 done
12014 IFS=$as_save_IFS
12018 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12019 if test -n "$MINGW_PKG_CONFIG"; then
12020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12021 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12022 else
12023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12024 printf "%s\n" "no" >&6; }
12028 test -n "$MINGW_PKG_CONFIG" && break
12029 done
12030 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12032 if ${FAUDIO_PE_CFLAGS:+false} :
12033 then :
12034 if test ${MINGW_PKG_CONFIG+y}
12035 then :
12036 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12039 if ${FAUDIO_PE_LIBS:+false} :
12040 then :
12041 if test ${MINGW_PKG_CONFIG+y}
12042 then :
12043 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12046 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12047 ac_save_CPPFLAGS=$CPPFLAGS
12048 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12050 printf %s "checking for MinGW FAudio.h... " >&6; }
12051 if test ${ac_cv_mingw_header_FAudio_h+y}
12052 then :
12053 printf %s "(cached) " >&6
12054 else $as_nop
12055 ac_wine_check_headers_saved_cc=$CC
12056 ac_wine_check_headers_saved_exeext=$ac_exeext
12057 eval CC=\$${wine_arch}_CC
12058 ac_exeext=".exe"
12059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12060 /* end confdefs.h. */
12062 #include <FAudio.h>
12064 main (void)
12068 return 0;
12070 _ACEOF
12071 if ac_fn_c_try_compile "$LINENO"
12072 then :
12073 ac_cv_mingw_header_FAudio_h=yes
12074 else $as_nop
12075 ac_cv_mingw_header_FAudio_h=no
12077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12078 CC=$ac_wine_check_headers_saved_cc
12079 ac_exeext=$ac_wine_check_headers_saved_exeext
12081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12082 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12083 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12084 then :
12085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12086 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12087 if test ${ac_cv_mingw_lib_FAudio+y}
12088 then :
12089 printf %s "(cached) " >&6
12090 else $as_nop
12091 ac_wine_check_headers_saved_cc=$CC
12092 ac_wine_check_headers_saved_exeext=$ac_exeext
12093 ac_wine_check_headers_saved_libs=$LIBS
12094 eval CC=\$${wine_arch}_CC
12095 ac_exeext=".exe"
12096 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12098 /* end confdefs.h. */
12100 /* Override any GCC internal prototype to avoid an error.
12101 Use char because int might match the return type of a GCC
12102 builtin and then its argument prototype would still apply. */
12103 char FAudio_CommitOperationSet ();
12105 main (void)
12107 return FAudio_CommitOperationSet ();
12109 return 0;
12111 _ACEOF
12112 if ac_fn_c_try_link "$LINENO"
12113 then :
12114 ac_cv_mingw_lib_FAudio=yes
12115 else $as_nop
12116 ac_cv_mingw_lib_FAudio=no
12118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12119 conftest$ac_exeext conftest.$ac_ext
12120 CC=$ac_wine_check_headers_saved_cc
12121 ac_exeext=$ac_wine_check_headers_saved_exeext
12122 LIBS=$ac_wine_check_headers_saved_libs
12124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12125 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12126 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12127 then :
12129 else $as_nop
12130 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12132 else $as_nop
12133 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12135 CPPFLAGS=$ac_save_CPPFLAGS
12137 if test "x$FAUDIO_PE_LIBS" = "x"
12138 then
12139 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12142 if ${JPEG_PE_CFLAGS:+false} :
12143 then :
12144 if test ${MINGW_PKG_CONFIG+y}
12145 then :
12146 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12149 if ${JPEG_PE_LIBS:+false} :
12150 then :
12151 if test ${MINGW_PKG_CONFIG+y}
12152 then :
12153 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12157 ac_save_CPPFLAGS=$CPPFLAGS
12158 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12160 printf %s "checking for MinGW jpeglib.h... " >&6; }
12161 if test ${ac_cv_mingw_header_jpeglib_h+y}
12162 then :
12163 printf %s "(cached) " >&6
12164 else $as_nop
12165 ac_wine_check_headers_saved_cc=$CC
12166 ac_wine_check_headers_saved_exeext=$ac_exeext
12167 eval CC=\$${wine_arch}_CC
12168 ac_exeext=".exe"
12169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12171 #include <stddef.h>
12172 #include <stdio.h>
12173 #include <jpeglib.h>
12175 main (void)
12179 return 0;
12181 _ACEOF
12182 if ac_fn_c_try_compile "$LINENO"
12183 then :
12184 ac_cv_mingw_header_jpeglib_h=yes
12185 else $as_nop
12186 ac_cv_mingw_header_jpeglib_h=no
12188 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12189 CC=$ac_wine_check_headers_saved_cc
12190 ac_exeext=$ac_wine_check_headers_saved_exeext
12192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12193 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12194 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12195 then :
12196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12197 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12198 if test ${ac_cv_mingw_lib_jpeg+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 ac_wine_check_headers_saved_libs=$LIBS
12205 eval CC=\$${wine_arch}_CC
12206 ac_exeext=".exe"
12207 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12209 /* end confdefs.h. */
12211 /* Override any GCC internal prototype to avoid an error.
12212 Use char because int might match the return type of a GCC
12213 builtin and then its argument prototype would still apply. */
12214 char jpeg_start_decompress ();
12216 main (void)
12218 return jpeg_start_decompress ();
12220 return 0;
12222 _ACEOF
12223 if ac_fn_c_try_link "$LINENO"
12224 then :
12225 ac_cv_mingw_lib_jpeg=yes
12226 else $as_nop
12227 ac_cv_mingw_lib_jpeg=no
12229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12230 conftest$ac_exeext conftest.$ac_ext
12231 CC=$ac_wine_check_headers_saved_cc
12232 ac_exeext=$ac_wine_check_headers_saved_exeext
12233 LIBS=$ac_wine_check_headers_saved_libs
12235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12236 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12237 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12238 then :
12240 else $as_nop
12241 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12243 else $as_nop
12244 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12246 CPPFLAGS=$ac_save_CPPFLAGS
12248 if test "x$JPEG_PE_LIBS" = "x"
12249 then
12250 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12253 if ${LCMS2_PE_CFLAGS:+false} :
12254 then :
12255 if test ${MINGW_PKG_CONFIG+y}
12256 then :
12257 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12260 if ${LCMS2_PE_LIBS:+false} :
12261 then :
12262 if test ${MINGW_PKG_CONFIG+y}
12263 then :
12264 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12267 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12268 ac_save_CPPFLAGS=$CPPFLAGS
12269 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12271 printf %s "checking for MinGW lcms2.h... " >&6; }
12272 if test ${ac_cv_mingw_header_lcms2_h+y}
12273 then :
12274 printf %s "(cached) " >&6
12275 else $as_nop
12276 ac_wine_check_headers_saved_cc=$CC
12277 ac_wine_check_headers_saved_exeext=$ac_exeext
12278 eval CC=\$${wine_arch}_CC
12279 ac_exeext=".exe"
12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12283 #include <lcms2.h>
12285 main (void)
12289 return 0;
12291 _ACEOF
12292 if ac_fn_c_try_compile "$LINENO"
12293 then :
12294 ac_cv_mingw_header_lcms2_h=yes
12295 else $as_nop
12296 ac_cv_mingw_header_lcms2_h=no
12298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12299 CC=$ac_wine_check_headers_saved_cc
12300 ac_exeext=$ac_wine_check_headers_saved_exeext
12302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12303 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12304 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12305 then :
12306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12307 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12308 if test ${ac_cv_mingw_lib_lcms2+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 ac_wine_check_headers_saved_libs=$LIBS
12315 eval CC=\$${wine_arch}_CC
12316 ac_exeext=".exe"
12317 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12319 /* end confdefs.h. */
12321 /* Override any GCC internal prototype to avoid an error.
12322 Use char because int might match the return type of a GCC
12323 builtin and then its argument prototype would still apply. */
12324 char cmsOpenProfileFromFile ();
12326 main (void)
12328 return cmsOpenProfileFromFile ();
12330 return 0;
12332 _ACEOF
12333 if ac_fn_c_try_link "$LINENO"
12334 then :
12335 ac_cv_mingw_lib_lcms2=yes
12336 else $as_nop
12337 ac_cv_mingw_lib_lcms2=no
12339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12340 conftest$ac_exeext conftest.$ac_ext
12341 CC=$ac_wine_check_headers_saved_cc
12342 ac_exeext=$ac_wine_check_headers_saved_exeext
12343 LIBS=$ac_wine_check_headers_saved_libs
12345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12346 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12347 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12348 then :
12350 else $as_nop
12351 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12353 else $as_nop
12354 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12356 CPPFLAGS=$ac_save_CPPFLAGS
12358 if test "x$LCMS2_PE_LIBS" = "x"
12359 then
12360 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12363 if ${MPG123_PE_CFLAGS:+false} :
12364 then :
12365 if test ${MINGW_PKG_CONFIG+y}
12366 then :
12367 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12370 if ${MPG123_PE_LIBS:+false} :
12371 then :
12372 if test ${MINGW_PKG_CONFIG+y}
12373 then :
12374 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12377 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12378 ac_save_CPPFLAGS=$CPPFLAGS
12379 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12381 printf %s "checking for MinGW mpg123.h... " >&6; }
12382 if test ${ac_cv_mingw_header_mpg123_h+y}
12383 then :
12384 printf %s "(cached) " >&6
12385 else $as_nop
12386 ac_wine_check_headers_saved_cc=$CC
12387 ac_wine_check_headers_saved_exeext=$ac_exeext
12388 eval CC=\$${wine_arch}_CC
12389 ac_exeext=".exe"
12390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12393 #include <mpg123.h>
12395 main (void)
12399 return 0;
12401 _ACEOF
12402 if ac_fn_c_try_compile "$LINENO"
12403 then :
12404 ac_cv_mingw_header_mpg123_h=yes
12405 else $as_nop
12406 ac_cv_mingw_header_mpg123_h=no
12408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12409 CC=$ac_wine_check_headers_saved_cc
12410 ac_exeext=$ac_wine_check_headers_saved_exeext
12412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12413 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12414 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12415 then :
12416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12417 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12418 if test ${ac_cv_mingw_lib_mpg123+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 ac_wine_check_headers_saved_libs=$LIBS
12425 eval CC=\$${wine_arch}_CC
12426 ac_exeext=".exe"
12427 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12429 /* end confdefs.h. */
12431 /* Override any GCC internal prototype to avoid an error.
12432 Use char because int might match the return type of a GCC
12433 builtin and then its argument prototype would still apply. */
12434 char mpg123_feed ();
12436 main (void)
12438 return mpg123_feed ();
12440 return 0;
12442 _ACEOF
12443 if ac_fn_c_try_link "$LINENO"
12444 then :
12445 ac_cv_mingw_lib_mpg123=yes
12446 else $as_nop
12447 ac_cv_mingw_lib_mpg123=no
12449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12450 conftest$ac_exeext conftest.$ac_ext
12451 CC=$ac_wine_check_headers_saved_cc
12452 ac_exeext=$ac_wine_check_headers_saved_exeext
12453 LIBS=$ac_wine_check_headers_saved_libs
12455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12456 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12457 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12458 then :
12460 else $as_nop
12461 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12463 else $as_nop
12464 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12466 CPPFLAGS=$ac_save_CPPFLAGS
12468 if test "x$MPG123_PE_LIBS" = "x"
12469 then
12470 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12473 if ${PNG_PE_CFLAGS:+false} :
12474 then :
12475 if test ${MINGW_PKG_CONFIG+y}
12476 then :
12477 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12480 if ${PNG_PE_LIBS:+false} :
12481 then :
12482 if test ${MINGW_PKG_CONFIG+y}
12483 then :
12484 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12488 ac_save_CPPFLAGS=$CPPFLAGS
12489 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12491 printf %s "checking for MinGW png.h... " >&6; }
12492 if test ${ac_cv_mingw_header_png_h+y}
12493 then :
12494 printf %s "(cached) " >&6
12495 else $as_nop
12496 ac_wine_check_headers_saved_cc=$CC
12497 ac_wine_check_headers_saved_exeext=$ac_exeext
12498 eval CC=\$${wine_arch}_CC
12499 ac_exeext=".exe"
12500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12501 /* end confdefs.h. */
12503 #include <png.h>
12505 main (void)
12509 return 0;
12511 _ACEOF
12512 if ac_fn_c_try_compile "$LINENO"
12513 then :
12514 ac_cv_mingw_header_png_h=yes
12515 else $as_nop
12516 ac_cv_mingw_header_png_h=no
12518 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12519 CC=$ac_wine_check_headers_saved_cc
12520 ac_exeext=$ac_wine_check_headers_saved_exeext
12522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12523 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12524 if test "x$ac_cv_mingw_header_png_h" = xyes
12525 then :
12526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12527 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12528 if test ${ac_cv_mingw_lib_png+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 ac_wine_check_headers_saved_libs=$LIBS
12535 eval CC=\$${wine_arch}_CC
12536 ac_exeext=".exe"
12537 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12541 /* Override any GCC internal prototype to avoid an error.
12542 Use char because int might match the return type of a GCC
12543 builtin and then its argument prototype would still apply. */
12544 char png_create_read_struct ();
12546 main (void)
12548 return png_create_read_struct ();
12550 return 0;
12552 _ACEOF
12553 if ac_fn_c_try_link "$LINENO"
12554 then :
12555 ac_cv_mingw_lib_png=yes
12556 else $as_nop
12557 ac_cv_mingw_lib_png=no
12559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12560 conftest$ac_exeext conftest.$ac_ext
12561 CC=$ac_wine_check_headers_saved_cc
12562 ac_exeext=$ac_wine_check_headers_saved_exeext
12563 LIBS=$ac_wine_check_headers_saved_libs
12565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12566 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12567 if test "x$ac_cv_mingw_lib_png" = xyes
12568 then :
12570 else $as_nop
12571 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12573 else $as_nop
12574 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12576 CPPFLAGS=$ac_save_CPPFLAGS
12578 if test "x$PNG_PE_LIBS" = "x"
12579 then
12580 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12583 if ${TIFF_PE_CFLAGS:+false} :
12584 then :
12585 if test ${MINGW_PKG_CONFIG+y}
12586 then :
12587 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12590 if ${TIFF_PE_LIBS:+false} :
12591 then :
12592 if test ${MINGW_PKG_CONFIG+y}
12593 then :
12594 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12598 ac_save_CPPFLAGS=$CPPFLAGS
12599 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12601 printf %s "checking for MinGW tiffio.h... " >&6; }
12602 if test ${ac_cv_mingw_header_tiffio_h+y}
12603 then :
12604 printf %s "(cached) " >&6
12605 else $as_nop
12606 ac_wine_check_headers_saved_cc=$CC
12607 ac_wine_check_headers_saved_exeext=$ac_exeext
12608 eval CC=\$${wine_arch}_CC
12609 ac_exeext=".exe"
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12613 #include <tiffio.h>
12615 main (void)
12619 return 0;
12621 _ACEOF
12622 if ac_fn_c_try_compile "$LINENO"
12623 then :
12624 ac_cv_mingw_header_tiffio_h=yes
12625 else $as_nop
12626 ac_cv_mingw_header_tiffio_h=no
12628 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12629 CC=$ac_wine_check_headers_saved_cc
12630 ac_exeext=$ac_wine_check_headers_saved_exeext
12632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12633 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12634 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12635 then :
12636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12637 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12638 if test ${ac_cv_mingw_lib_tiff+y}
12639 then :
12640 printf %s "(cached) " >&6
12641 else $as_nop
12642 ac_wine_check_headers_saved_cc=$CC
12643 ac_wine_check_headers_saved_exeext=$ac_exeext
12644 ac_wine_check_headers_saved_libs=$LIBS
12645 eval CC=\$${wine_arch}_CC
12646 ac_exeext=".exe"
12647 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12649 /* end confdefs.h. */
12651 /* Override any GCC internal prototype to avoid an error.
12652 Use char because int might match the return type of a GCC
12653 builtin and then its argument prototype would still apply. */
12654 char TIFFClientOpen ();
12656 main (void)
12658 return TIFFClientOpen ();
12660 return 0;
12662 _ACEOF
12663 if ac_fn_c_try_link "$LINENO"
12664 then :
12665 ac_cv_mingw_lib_tiff=yes
12666 else $as_nop
12667 ac_cv_mingw_lib_tiff=no
12669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12670 conftest$ac_exeext conftest.$ac_ext
12671 CC=$ac_wine_check_headers_saved_cc
12672 ac_exeext=$ac_wine_check_headers_saved_exeext
12673 LIBS=$ac_wine_check_headers_saved_libs
12675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12676 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12677 if test "x$ac_cv_mingw_lib_tiff" = xyes
12678 then :
12680 else $as_nop
12681 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12683 else $as_nop
12684 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12686 CPPFLAGS=$ac_save_CPPFLAGS
12688 if test "x$TIFF_PE_LIBS" = "x"
12689 then
12690 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12693 if ${XML2_PE_CFLAGS:+false} :
12694 then :
12695 if test ${MINGW_PKG_CONFIG+y}
12696 then :
12697 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12700 if ${XML2_PE_LIBS:+false} :
12701 then :
12702 if test ${MINGW_PKG_CONFIG+y}
12703 then :
12704 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12707 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12708 ac_save_CPPFLAGS=$CPPFLAGS
12709 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12711 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12712 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12713 then :
12714 printf %s "(cached) " >&6
12715 else $as_nop
12716 ac_wine_check_headers_saved_cc=$CC
12717 ac_wine_check_headers_saved_exeext=$ac_exeext
12718 eval CC=\$${wine_arch}_CC
12719 ac_exeext=".exe"
12720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h. */
12723 #include <libxml/parser.h>
12725 main (void)
12729 return 0;
12731 _ACEOF
12732 if ac_fn_c_try_compile "$LINENO"
12733 then :
12734 ac_cv_mingw_header_libxml_parser_h=yes
12735 else $as_nop
12736 ac_cv_mingw_header_libxml_parser_h=no
12738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12739 CC=$ac_wine_check_headers_saved_cc
12740 ac_exeext=$ac_wine_check_headers_saved_exeext
12742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12743 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12744 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12745 then :
12748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12749 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12750 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12751 then :
12752 printf %s "(cached) " >&6
12753 else $as_nop
12754 ac_wine_check_headers_saved_cc=$CC
12755 ac_wine_check_headers_saved_exeext=$ac_exeext
12756 eval CC=\$${wine_arch}_CC
12757 ac_exeext=".exe"
12758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12759 /* end confdefs.h. */
12761 #include <libxml/xmlsave.h>
12763 main (void)
12767 return 0;
12769 _ACEOF
12770 if ac_fn_c_try_compile "$LINENO"
12771 then :
12772 ac_cv_mingw_header_libxml_xmlsave_h=yes
12773 else $as_nop
12774 ac_cv_mingw_header_libxml_xmlsave_h=no
12776 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12777 CC=$ac_wine_check_headers_saved_cc
12778 ac_exeext=$ac_wine_check_headers_saved_exeext
12780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12781 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12782 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12783 then :
12786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12787 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12788 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12789 then :
12790 printf %s "(cached) " >&6
12791 else $as_nop
12792 ac_wine_check_headers_saved_cc=$CC
12793 ac_wine_check_headers_saved_exeext=$ac_exeext
12794 eval CC=\$${wine_arch}_CC
12795 ac_exeext=".exe"
12796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12797 /* end confdefs.h. */
12799 #include <libxml/SAX2.h>
12801 main (void)
12805 return 0;
12807 _ACEOF
12808 if ac_fn_c_try_compile "$LINENO"
12809 then :
12810 ac_cv_mingw_header_libxml_SAX2_h=yes
12811 else $as_nop
12812 ac_cv_mingw_header_libxml_SAX2_h=no
12814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12815 CC=$ac_wine_check_headers_saved_cc
12816 ac_exeext=$ac_wine_check_headers_saved_exeext
12818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12819 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12820 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12821 then :
12824 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"
12825 then
12826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12827 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12828 if test ${ac_cv_mingw_lib_xml2+y}
12829 then :
12830 printf %s "(cached) " >&6
12831 else $as_nop
12832 ac_wine_check_headers_saved_cc=$CC
12833 ac_wine_check_headers_saved_exeext=$ac_exeext
12834 ac_wine_check_headers_saved_libs=$LIBS
12835 eval CC=\$${wine_arch}_CC
12836 ac_exeext=".exe"
12837 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12839 /* end confdefs.h. */
12841 /* Override any GCC internal prototype to avoid an error.
12842 Use char because int might match the return type of a GCC
12843 builtin and then its argument prototype would still apply. */
12844 char xmlFirstElementChild ();
12846 main (void)
12848 return xmlFirstElementChild ();
12850 return 0;
12852 _ACEOF
12853 if ac_fn_c_try_link "$LINENO"
12854 then :
12855 ac_cv_mingw_lib_xml2=yes
12856 else $as_nop
12857 ac_cv_mingw_lib_xml2=no
12859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12860 conftest$ac_exeext conftest.$ac_ext
12861 CC=$ac_wine_check_headers_saved_cc
12862 ac_exeext=$ac_wine_check_headers_saved_exeext
12863 LIBS=$ac_wine_check_headers_saved_libs
12865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12866 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12867 if test "x$ac_cv_mingw_lib_xml2" = xyes
12868 then :
12870 else $as_nop
12871 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12873 else
12874 XML2_PE_CFLAGS=""
12875 XML2_PE_LIBS=""
12877 CPPFLAGS=$ac_save_CPPFLAGS
12879 if test "x$XML2_PE_LIBS" = "x"
12880 then
12881 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12884 if ${XSLT_PE_CFLAGS:+false} :
12885 then :
12886 if test ${MINGW_PKG_CONFIG+y}
12887 then :
12888 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12891 if ${XSLT_PE_LIBS:+false} :
12892 then :
12893 if test ${MINGW_PKG_CONFIG+y}
12894 then :
12895 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12898 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12899 ac_save_CPPFLAGS=$CPPFLAGS
12900 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12902 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12903 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12904 then :
12905 printf %s "(cached) " >&6
12906 else $as_nop
12907 ac_wine_check_headers_saved_cc=$CC
12908 ac_wine_check_headers_saved_exeext=$ac_exeext
12909 eval CC=\$${wine_arch}_CC
12910 ac_exeext=".exe"
12911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12912 /* end confdefs.h. */
12914 #include <libxslt/pattern.h>
12916 main (void)
12920 return 0;
12922 _ACEOF
12923 if ac_fn_c_try_compile "$LINENO"
12924 then :
12925 ac_cv_mingw_header_libxslt_pattern_h=yes
12926 else $as_nop
12927 ac_cv_mingw_header_libxslt_pattern_h=no
12929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12930 CC=$ac_wine_check_headers_saved_cc
12931 ac_exeext=$ac_wine_check_headers_saved_exeext
12933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12934 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12935 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12936 then :
12939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12940 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12941 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12942 then :
12943 printf %s "(cached) " >&6
12944 else $as_nop
12945 ac_wine_check_headers_saved_cc=$CC
12946 ac_wine_check_headers_saved_exeext=$ac_exeext
12947 eval CC=\$${wine_arch}_CC
12948 ac_exeext=".exe"
12949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12950 /* end confdefs.h. */
12952 #include <libxslt/transform.h>
12954 main (void)
12958 return 0;
12960 _ACEOF
12961 if ac_fn_c_try_compile "$LINENO"
12962 then :
12963 ac_cv_mingw_header_libxslt_transform_h=yes
12964 else $as_nop
12965 ac_cv_mingw_header_libxslt_transform_h=no
12967 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12968 CC=$ac_wine_check_headers_saved_cc
12969 ac_exeext=$ac_wine_check_headers_saved_exeext
12971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12972 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12973 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12974 then :
12977 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12978 then
12979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12980 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12981 if test ${ac_cv_mingw_lib_xslt+y}
12982 then :
12983 printf %s "(cached) " >&6
12984 else $as_nop
12985 ac_wine_check_headers_saved_cc=$CC
12986 ac_wine_check_headers_saved_exeext=$ac_exeext
12987 ac_wine_check_headers_saved_libs=$LIBS
12988 eval CC=\$${wine_arch}_CC
12989 ac_exeext=".exe"
12990 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12992 /* end confdefs.h. */
12994 /* Override any GCC internal prototype to avoid an error.
12995 Use char because int might match the return type of a GCC
12996 builtin and then its argument prototype would still apply. */
12997 char xsltCompilePattern ();
12999 main (void)
13001 return xsltCompilePattern ();
13003 return 0;
13005 _ACEOF
13006 if ac_fn_c_try_link "$LINENO"
13007 then :
13008 ac_cv_mingw_lib_xslt=yes
13009 else $as_nop
13010 ac_cv_mingw_lib_xslt=no
13012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13013 conftest$ac_exeext conftest.$ac_ext
13014 CC=$ac_wine_check_headers_saved_cc
13015 ac_exeext=$ac_wine_check_headers_saved_exeext
13016 LIBS=$ac_wine_check_headers_saved_libs
13018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13019 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13020 if test "x$ac_cv_mingw_lib_xslt" = xyes
13021 then :
13023 else $as_nop
13024 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13026 else
13027 XSLT_PE_CFLAGS=""
13028 XSLT_PE_LIBS=""
13030 CPPFLAGS=$ac_save_CPPFLAGS
13032 if test "x$XSLT_PE_LIBS" = "x"
13033 then
13034 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13037 if ${VKD3D_PE_CFLAGS:+false} :
13038 then :
13039 if test ${MINGW_PKG_CONFIG+y}
13040 then :
13041 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13044 if ${VKD3D_PE_LIBS:+false} :
13045 then :
13046 if test ${MINGW_PKG_CONFIG+y}
13047 then :
13048 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13051 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13052 ac_save_CPPFLAGS=$CPPFLAGS
13053 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13055 printf %s "checking for MinGW vkd3d.h... " >&6; }
13056 if test ${ac_cv_mingw_header_vkd3d_h+y}
13057 then :
13058 printf %s "(cached) " >&6
13059 else $as_nop
13060 ac_wine_check_headers_saved_cc=$CC
13061 ac_wine_check_headers_saved_exeext=$ac_exeext
13062 eval CC=\$${wine_arch}_CC
13063 ac_exeext=".exe"
13064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h. */
13067 #include <vkd3d.h>
13069 main (void)
13073 return 0;
13075 _ACEOF
13076 if ac_fn_c_try_compile "$LINENO"
13077 then :
13078 ac_cv_mingw_header_vkd3d_h=yes
13079 else $as_nop
13080 ac_cv_mingw_header_vkd3d_h=no
13082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13083 CC=$ac_wine_check_headers_saved_cc
13084 ac_exeext=$ac_wine_check_headers_saved_exeext
13086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13087 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13088 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13089 then :
13092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13093 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13094 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13095 then :
13096 printf %s "(cached) " >&6
13097 else $as_nop
13098 ac_wine_check_headers_saved_cc=$CC
13099 ac_wine_check_headers_saved_exeext=$ac_exeext
13100 eval CC=\$${wine_arch}_CC
13101 ac_exeext=".exe"
13102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13103 /* end confdefs.h. */
13105 #include <vkd3d_shader.h>
13107 main (void)
13111 return 0;
13113 _ACEOF
13114 if ac_fn_c_try_compile "$LINENO"
13115 then :
13116 ac_cv_mingw_header_vkd3d_shader_h=yes
13117 else $as_nop
13118 ac_cv_mingw_header_vkd3d_shader_h=no
13120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13121 CC=$ac_wine_check_headers_saved_cc
13122 ac_exeext=$ac_wine_check_headers_saved_exeext
13124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13125 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13126 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13127 then :
13130 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13131 then
13132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13133 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13134 if test ${ac_cv_mingw_lib_vkd3d+y}
13135 then :
13136 printf %s "(cached) " >&6
13137 else $as_nop
13138 ac_wine_check_headers_saved_cc=$CC
13139 ac_wine_check_headers_saved_exeext=$ac_exeext
13140 ac_wine_check_headers_saved_libs=$LIBS
13141 eval CC=\$${wine_arch}_CC
13142 ac_exeext=".exe"
13143 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13145 /* end confdefs.h. */
13147 /* Override any GCC internal prototype to avoid an error.
13148 Use char because int might match the return type of a GCC
13149 builtin and then its argument prototype would still apply. */
13150 char vkd3d_set_log_callback ();
13152 main (void)
13154 return vkd3d_set_log_callback ();
13156 return 0;
13158 _ACEOF
13159 if ac_fn_c_try_link "$LINENO"
13160 then :
13161 ac_cv_mingw_lib_vkd3d=yes
13162 else $as_nop
13163 ac_cv_mingw_lib_vkd3d=no
13165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13166 conftest$ac_exeext conftest.$ac_ext
13167 CC=$ac_wine_check_headers_saved_cc
13168 ac_exeext=$ac_wine_check_headers_saved_exeext
13169 LIBS=$ac_wine_check_headers_saved_libs
13171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13172 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13173 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13174 then :
13176 else $as_nop
13179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13180 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13181 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13182 then :
13183 printf %s "(cached) " >&6
13184 else $as_nop
13185 ac_wine_check_headers_saved_cc=$CC
13186 ac_wine_check_headers_saved_exeext=$ac_exeext
13187 ac_wine_check_headers_saved_libs=$LIBS
13188 eval CC=\$${wine_arch}_CC
13189 ac_exeext=".exe"
13190 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13192 /* end confdefs.h. */
13194 /* Override any GCC internal prototype to avoid an error.
13195 Use char because int might match the return type of a GCC
13196 builtin and then its argument prototype would still apply. */
13197 char vkd3d_shader_compile ();
13199 main (void)
13201 return vkd3d_shader_compile ();
13203 return 0;
13205 _ACEOF
13206 if ac_fn_c_try_link "$LINENO"
13207 then :
13208 ac_cv_mingw_lib_vkd3d_shader=yes
13209 else $as_nop
13210 ac_cv_mingw_lib_vkd3d_shader=no
13212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13213 conftest$ac_exeext conftest.$ac_ext
13214 CC=$ac_wine_check_headers_saved_cc
13215 ac_exeext=$ac_wine_check_headers_saved_exeext
13216 LIBS=$ac_wine_check_headers_saved_libs
13218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13219 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13220 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13221 then :
13223 else $as_nop
13226 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13227 then
13228 VKD3D_PE_CFLAGS=""
13229 VKD3D_PE_LIBS=""
13231 else
13232 VKD3D_PE_CFLAGS=""
13233 VKD3D_PE_LIBS=""
13235 CPPFLAGS=$ac_save_CPPFLAGS
13237 if test "x$VKD3D_PE_LIBS" = "x"
13238 then
13239 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13242 if ${ZLIB_PE_CFLAGS:+false} :
13243 then :
13244 if test ${MINGW_PKG_CONFIG+y}
13245 then :
13246 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13249 if ${ZLIB_PE_LIBS:+false} :
13250 then :
13251 if test ${MINGW_PKG_CONFIG+y}
13252 then :
13253 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13256 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13257 ac_save_CPPFLAGS=$CPPFLAGS
13258 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13260 printf %s "checking for MinGW zlib.h... " >&6; }
13261 if test ${ac_cv_mingw_header_zlib_h+y}
13262 then :
13263 printf %s "(cached) " >&6
13264 else $as_nop
13265 ac_wine_check_headers_saved_cc=$CC
13266 ac_wine_check_headers_saved_exeext=$ac_exeext
13267 eval CC=\$${wine_arch}_CC
13268 ac_exeext=".exe"
13269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13270 /* end confdefs.h. */
13272 #include <zlib.h>
13274 main (void)
13278 return 0;
13280 _ACEOF
13281 if ac_fn_c_try_compile "$LINENO"
13282 then :
13283 ac_cv_mingw_header_zlib_h=yes
13284 else $as_nop
13285 ac_cv_mingw_header_zlib_h=no
13287 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13288 CC=$ac_wine_check_headers_saved_cc
13289 ac_exeext=$ac_wine_check_headers_saved_exeext
13291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13292 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13293 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13294 then :
13295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13296 printf %s "checking for inflate in MinGW -lz... " >&6; }
13297 if test ${ac_cv_mingw_lib_z+y}
13298 then :
13299 printf %s "(cached) " >&6
13300 else $as_nop
13301 ac_wine_check_headers_saved_cc=$CC
13302 ac_wine_check_headers_saved_exeext=$ac_exeext
13303 ac_wine_check_headers_saved_libs=$LIBS
13304 eval CC=\$${wine_arch}_CC
13305 ac_exeext=".exe"
13306 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13308 /* end confdefs.h. */
13310 /* Override any GCC internal prototype to avoid an error.
13311 Use char because int might match the return type of a GCC
13312 builtin and then its argument prototype would still apply. */
13313 char inflate ();
13315 main (void)
13317 return inflate ();
13319 return 0;
13321 _ACEOF
13322 if ac_fn_c_try_link "$LINENO"
13323 then :
13324 ac_cv_mingw_lib_z=yes
13325 else $as_nop
13326 ac_cv_mingw_lib_z=no
13328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13329 conftest$ac_exeext conftest.$ac_ext
13330 CC=$ac_wine_check_headers_saved_cc
13331 ac_exeext=$ac_wine_check_headers_saved_exeext
13332 LIBS=$ac_wine_check_headers_saved_libs
13334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13335 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13336 if test "x$ac_cv_mingw_lib_z" = xyes
13337 then :
13339 else $as_nop
13340 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13342 else $as_nop
13343 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13345 CPPFLAGS=$ac_save_CPPFLAGS
13347 if test "x$ZLIB_PE_LIBS" = "x"
13348 then
13349 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13353 if ${FAUDIO_PE_LIBS:+false} :
13354 then :
13355 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13356 if ${FAUDIO_PE_CFLAGS:+false} :
13357 then :
13358 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13359 else $as_nop
13360 enable_faudio=no
13362 else $as_nop
13363 enable_faudio=no
13365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13368 if ${GSM_PE_LIBS:+false} :
13369 then :
13370 GSM_PE_LIBS=gsm
13371 if ${GSM_PE_CFLAGS:+false} :
13372 then :
13373 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13374 else $as_nop
13375 enable_gsm=no
13377 else $as_nop
13378 enable_gsm=no
13380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13383 if ${JPEG_PE_LIBS:+false} :
13384 then :
13385 JPEG_PE_LIBS=jpeg
13386 if ${JPEG_PE_CFLAGS:+false} :
13387 then :
13388 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13389 else $as_nop
13390 enable_jpeg=no
13392 else $as_nop
13393 enable_jpeg=no
13395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13398 if ${JXR_PE_LIBS:+false} :
13399 then :
13400 JXR_PE_LIBS=jxr
13401 if ${JXR_PE_CFLAGS:+false} :
13402 then :
13403 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13404 else $as_nop
13405 enable_jxr=no
13407 else $as_nop
13408 enable_jxr=no
13410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13413 if ${LCMS2_PE_LIBS:+false} :
13414 then :
13415 LCMS2_PE_LIBS=lcms2
13416 if ${LCMS2_PE_CFLAGS:+false} :
13417 then :
13418 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13419 else $as_nop
13420 enable_lcms2=no
13422 else $as_nop
13423 enable_lcms2=no
13425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13428 if ${MPG123_PE_LIBS:+false} :
13429 then :
13430 MPG123_PE_LIBS=mpg123
13431 if ${MPG123_PE_CFLAGS:+false} :
13432 then :
13433 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13434 else $as_nop
13435 enable_mpg123=no
13437 else $as_nop
13438 enable_mpg123=no
13440 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13443 if ${PNG_PE_LIBS:+false} :
13444 then :
13445 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13446 if ${PNG_PE_CFLAGS:+false} :
13447 then :
13448 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13449 else $as_nop
13450 enable_png=no
13452 else $as_nop
13453 enable_png=no
13455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13458 if ${TIFF_PE_LIBS:+false} :
13459 then :
13460 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13461 if ${TIFF_PE_CFLAGS:+false} :
13462 then :
13463 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13464 else $as_nop
13465 enable_tiff=no
13467 else $as_nop
13468 enable_tiff=no
13470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13473 if ${VKD3D_PE_LIBS:+false} :
13474 then :
13475 VKD3D_PE_LIBS=vkd3d
13476 if ${VKD3D_PE_CFLAGS:+false} :
13477 then :
13478 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13479 else $as_nop
13480 enable_vkd3d=no
13482 else $as_nop
13483 enable_vkd3d=no
13485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13488 if ${XML2_PE_LIBS:+false} :
13489 then :
13490 XML2_PE_LIBS=xml2
13491 if ${XML2_PE_CFLAGS:+false} :
13492 then :
13493 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13494 else $as_nop
13495 enable_xml2=no
13497 else $as_nop
13498 enable_xml2=no
13500 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13503 if ${XSLT_PE_LIBS:+false} :
13504 then :
13505 XSLT_PE_LIBS=xslt
13506 if ${XSLT_PE_CFLAGS:+false} :
13507 then :
13508 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13509 else $as_nop
13510 enable_xslt=no
13512 else $as_nop
13513 enable_xslt=no
13515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13516 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13518 if ${ZLIB_PE_LIBS:+false} :
13519 then :
13520 ZLIB_PE_LIBS=z
13521 if ${ZLIB_PE_CFLAGS:+false} :
13522 then :
13523 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13524 else $as_nop
13525 enable_zlib=no
13527 else $as_nop
13528 enable_zlib=no
13530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13535 if test "$ac_cv_header_pthread_h" = "yes"
13536 then
13537 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13538 if test "x$ac_cv_func_pthread_create" = xyes
13539 then :
13541 else $as_nop
13542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13543 printf %s "checking for pthread_create in -lpthread... " >&6; }
13544 if test ${ac_cv_lib_pthread_pthread_create+y}
13545 then :
13546 printf %s "(cached) " >&6
13547 else $as_nop
13548 ac_check_lib_save_LIBS=$LIBS
13549 LIBS="-lpthread $LIBS"
13550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13551 /* end confdefs.h. */
13553 /* Override any GCC internal prototype to avoid an error.
13554 Use char because int might match the return type of a GCC
13555 builtin and then its argument prototype would still apply. */
13556 char pthread_create ();
13558 main (void)
13560 return pthread_create ();
13562 return 0;
13564 _ACEOF
13565 if ac_fn_c_try_link "$LINENO"
13566 then :
13567 ac_cv_lib_pthread_pthread_create=yes
13568 else $as_nop
13569 ac_cv_lib_pthread_pthread_create=no
13571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13572 conftest$ac_exeext conftest.$ac_ext
13573 LIBS=$ac_check_lib_save_LIBS
13575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13576 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13577 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13578 then :
13579 PTHREAD_LIBS="-lpthread"
13586 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13587 then :
13588 case "x$with_pthread" in
13589 xno) ;;
13590 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13591 Wine cannot support threads without libpthread.
13592 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13593 esac
13598 ac_ext=c
13599 ac_cpp='$CPP $CPPFLAGS'
13600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13604 printf %s "checking how to run the C preprocessor... " >&6; }
13605 # On Suns, sometimes $CPP names a directory.
13606 if test -n "$CPP" && test -d "$CPP"; then
13607 CPP=
13609 if test -z "$CPP"; then
13610 if test ${ac_cv_prog_CPP+y}
13611 then :
13612 printf %s "(cached) " >&6
13613 else $as_nop
13614 # Double quotes because $CC needs to be expanded
13615 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13617 ac_preproc_ok=false
13618 for ac_c_preproc_warn_flag in '' yes
13620 # Use a header file that comes with gcc, so configuring glibc
13621 # with a fresh cross-compiler works.
13622 # On the NeXT, cc -E runs the code through the compiler's parser,
13623 # not just through cpp. "Syntax error" is here to catch this case.
13624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13626 #include <limits.h>
13627 Syntax error
13628 _ACEOF
13629 if ac_fn_c_try_cpp "$LINENO"
13630 then :
13632 else $as_nop
13633 # Broken: fails on valid input.
13634 continue
13636 rm -f conftest.err conftest.i conftest.$ac_ext
13638 # OK, works on sane cases. Now check whether nonexistent headers
13639 # can be detected and how.
13640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13641 /* end confdefs.h. */
13642 #include <ac_nonexistent.h>
13643 _ACEOF
13644 if ac_fn_c_try_cpp "$LINENO"
13645 then :
13646 # Broken: success on invalid input.
13647 continue
13648 else $as_nop
13649 # Passes both tests.
13650 ac_preproc_ok=:
13651 break
13653 rm -f conftest.err conftest.i conftest.$ac_ext
13655 done
13656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13657 rm -f conftest.i conftest.err conftest.$ac_ext
13658 if $ac_preproc_ok
13659 then :
13660 break
13663 done
13664 ac_cv_prog_CPP=$CPP
13667 CPP=$ac_cv_prog_CPP
13668 else
13669 ac_cv_prog_CPP=$CPP
13671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13672 printf "%s\n" "$CPP" >&6; }
13673 ac_preproc_ok=false
13674 for ac_c_preproc_warn_flag in '' yes
13676 # Use a header file that comes with gcc, so configuring glibc
13677 # with a fresh cross-compiler works.
13678 # On the NeXT, cc -E runs the code through the compiler's parser,
13679 # not just through cpp. "Syntax error" is here to catch this case.
13680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13682 #include <limits.h>
13683 Syntax error
13684 _ACEOF
13685 if ac_fn_c_try_cpp "$LINENO"
13686 then :
13688 else $as_nop
13689 # Broken: fails on valid input.
13690 continue
13692 rm -f conftest.err conftest.i conftest.$ac_ext
13694 # OK, works on sane cases. Now check whether nonexistent headers
13695 # can be detected and how.
13696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13698 #include <ac_nonexistent.h>
13699 _ACEOF
13700 if ac_fn_c_try_cpp "$LINENO"
13701 then :
13702 # Broken: success on invalid input.
13703 continue
13704 else $as_nop
13705 # Passes both tests.
13706 ac_preproc_ok=:
13707 break
13709 rm -f conftest.err conftest.i conftest.$ac_ext
13711 done
13712 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13713 rm -f conftest.i conftest.err conftest.$ac_ext
13714 if $ac_preproc_ok
13715 then :
13717 else $as_nop
13718 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13719 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13720 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13721 See \`config.log' for more details" "$LINENO" 5; }
13724 ac_ext=c
13725 ac_cpp='$CPP $CPPFLAGS'
13726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13732 printf %s "checking for X... " >&6; }
13735 # Check whether --with-x was given.
13736 if test ${with_x+y}
13737 then :
13738 withval=$with_x;
13741 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13742 if test "x$with_x" = xno; then
13743 # The user explicitly disabled X.
13744 have_x=disabled
13745 else
13746 case $x_includes,$x_libraries in #(
13747 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13748 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13749 then :
13750 printf %s "(cached) " >&6
13751 else $as_nop
13752 # One or both of the vars are not set, and there is no cached value.
13753 ac_x_includes=no
13754 ac_x_libraries=no
13755 # Do we need to do anything special at all?
13756 ac_save_LIBS=$LIBS
13757 LIBS="-lX11 $LIBS"
13758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13760 #include <X11/Xlib.h>
13762 main (void)
13764 XrmInitialize ()
13766 return 0;
13768 _ACEOF
13769 if ac_fn_c_try_link "$LINENO"
13770 then :
13771 # We can compile and link X programs with no special options.
13772 ac_x_includes=
13773 ac_x_libraries=
13775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13776 conftest$ac_exeext conftest.$ac_ext
13777 LIBS="$ac_save_LIBS"
13778 # If that didn't work, only try xmkmf and file system searches
13779 # for native compilation.
13780 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13781 then :
13782 rm -f -r conftest.dir
13783 if mkdir conftest.dir; then
13784 cd conftest.dir
13785 cat >Imakefile <<'_ACEOF'
13786 incroot:
13787 @echo incroot='${INCROOT}'
13788 usrlibdir:
13789 @echo usrlibdir='${USRLIBDIR}'
13790 libdir:
13791 @echo libdir='${LIBDIR}'
13792 _ACEOF
13793 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13794 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13795 for ac_var in incroot usrlibdir libdir; do
13796 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13797 done
13798 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13799 for ac_extension in a so sl dylib la dll; do
13800 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13801 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13802 ac_im_usrlibdir=$ac_im_libdir; break
13804 done
13805 # Screen out bogus values from the imake configuration. They are
13806 # bogus both because they are the default anyway, and because
13807 # using them would break gcc on systems where it needs fixed includes.
13808 case $ac_im_incroot in
13809 /usr/include) ac_x_includes= ;;
13810 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13811 esac
13812 case $ac_im_usrlibdir in
13813 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13814 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13815 esac
13817 cd ..
13818 rm -f -r conftest.dir
13821 # Standard set of common directories for X headers.
13822 # Check X11 before X11Rn because it is often a symlink to the current release.
13823 ac_x_header_dirs='
13824 /usr/X11/include
13825 /usr/X11R7/include
13826 /usr/X11R6/include
13827 /usr/X11R5/include
13828 /usr/X11R4/include
13830 /usr/include/X11
13831 /usr/include/X11R7
13832 /usr/include/X11R6
13833 /usr/include/X11R5
13834 /usr/include/X11R4
13836 /usr/local/X11/include
13837 /usr/local/X11R7/include
13838 /usr/local/X11R6/include
13839 /usr/local/X11R5/include
13840 /usr/local/X11R4/include
13842 /usr/local/include/X11
13843 /usr/local/include/X11R7
13844 /usr/local/include/X11R6
13845 /usr/local/include/X11R5
13846 /usr/local/include/X11R4
13848 /opt/X11/include
13850 /usr/X386/include
13851 /usr/x386/include
13852 /usr/XFree86/include/X11
13854 /usr/include
13855 /usr/local/include
13856 /usr/unsupported/include
13857 /usr/athena/include
13858 /usr/local/x11r5/include
13859 /usr/lpp/Xamples/include
13861 /usr/openwin/include
13862 /usr/openwin/share/include'
13864 if test "$ac_x_includes" = no; then
13865 # Guess where to find include files, by looking for Xlib.h.
13866 # First, try using that file with no special directory specified.
13867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13868 /* end confdefs.h. */
13869 #include <X11/Xlib.h>
13870 _ACEOF
13871 if ac_fn_c_try_cpp "$LINENO"
13872 then :
13873 # We can compile using X headers with no special include directory.
13874 ac_x_includes=
13875 else $as_nop
13876 for ac_dir in $ac_x_header_dirs; do
13877 if test -r "$ac_dir/X11/Xlib.h"; then
13878 ac_x_includes=$ac_dir
13879 break
13881 done
13883 rm -f conftest.err conftest.i conftest.$ac_ext
13884 fi # $ac_x_includes = no
13886 if test "$ac_x_libraries" = no; then
13887 # Check for the libraries.
13888 # See if we find them without any special options.
13889 # Don't add to $LIBS permanently.
13890 ac_save_LIBS=$LIBS
13891 LIBS="-lX11 $LIBS"
13892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13893 /* end confdefs.h. */
13894 #include <X11/Xlib.h>
13896 main (void)
13898 XrmInitialize ()
13900 return 0;
13902 _ACEOF
13903 if ac_fn_c_try_link "$LINENO"
13904 then :
13905 LIBS=$ac_save_LIBS
13906 # We can link X programs with no special library path.
13907 ac_x_libraries=
13908 else $as_nop
13909 LIBS=$ac_save_LIBS
13910 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13912 # Don't even attempt the hair of trying to link an X program!
13913 for ac_extension in a so sl dylib la dll; do
13914 if test -r "$ac_dir/libX11.$ac_extension"; then
13915 ac_x_libraries=$ac_dir
13916 break 2
13918 done
13919 done
13921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13922 conftest$ac_exeext conftest.$ac_ext
13923 fi # $ac_x_libraries = no
13926 # Record the results.
13927 case $ac_x_includes,$ac_x_libraries in #(
13928 no,* | *,no | *\'*) :
13929 # Didn't find X, or a directory has "'" in its name.
13930 ac_cv_have_x="have_x=no" ;; #(
13931 *) :
13932 # Record where we found X for the cache.
13933 ac_cv_have_x="have_x=yes\
13934 ac_x_includes='$ac_x_includes'\
13935 ac_x_libraries='$ac_x_libraries'" ;;
13936 esac
13938 ;; #(
13939 *) have_x=yes;;
13940 esac
13941 eval "$ac_cv_have_x"
13942 fi # $with_x != no
13944 if test "$have_x" != yes; then
13945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13946 printf "%s\n" "$have_x" >&6; }
13947 no_x=yes
13948 else
13949 # If each of the values was on the command line, it overrides each guess.
13950 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13951 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13952 # Update the cache value to reflect the command line values.
13953 ac_cv_have_x="have_x=yes\
13954 ac_x_includes='$x_includes'\
13955 ac_x_libraries='$x_libraries'"
13956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13957 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13960 if test "$no_x" = yes; then
13961 # Not all programs may use this symbol, but it does not hurt to define it.
13963 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13965 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13966 else
13967 if test -n "$x_includes"; then
13968 X_CFLAGS="$X_CFLAGS -I$x_includes"
13971 # It would also be nice to do this for all -L options, not just this one.
13972 if test -n "$x_libraries"; then
13973 X_LIBS="$X_LIBS -L$x_libraries"
13974 # For Solaris; some versions of Sun CC require a space after -R and
13975 # others require no space. Words are not sufficient . . . .
13976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13977 printf %s "checking whether -R must be followed by a space... " >&6; }
13978 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13979 ac_xsave_c_werror_flag=$ac_c_werror_flag
13980 ac_c_werror_flag=yes
13981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13985 main (void)
13989 return 0;
13991 _ACEOF
13992 if ac_fn_c_try_link "$LINENO"
13993 then :
13994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13995 printf "%s\n" "no" >&6; }
13996 X_LIBS="$X_LIBS -R$x_libraries"
13997 else $as_nop
13998 LIBS="$ac_xsave_LIBS -R $x_libraries"
13999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14003 main (void)
14007 return 0;
14009 _ACEOF
14010 if ac_fn_c_try_link "$LINENO"
14011 then :
14012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14013 printf "%s\n" "yes" >&6; }
14014 X_LIBS="$X_LIBS -R $x_libraries"
14015 else $as_nop
14016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14017 printf "%s\n" "neither works" >&6; }
14019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14020 conftest$ac_exeext conftest.$ac_ext
14022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14023 conftest$ac_exeext conftest.$ac_ext
14024 ac_c_werror_flag=$ac_xsave_c_werror_flag
14025 LIBS=$ac_xsave_LIBS
14028 # Check for system-dependent libraries X programs must link with.
14029 # Do this before checking for the system-independent R6 libraries
14030 # (-lICE), since we may need -lsocket or whatever for X linking.
14032 if test "$ISC" = yes; then
14033 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14034 else
14035 # Martyn Johnson says this is needed for Ultrix, if the X
14036 # libraries were built with DECnet support. And Karl Berry says
14037 # the Alpha needs dnet_stub (dnet does not exist).
14038 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14040 /* end confdefs.h. */
14042 /* Override any GCC internal prototype to avoid an error.
14043 Use char because int might match the return type of a GCC
14044 builtin and then its argument prototype would still apply. */
14045 char XOpenDisplay ();
14047 main (void)
14049 return XOpenDisplay ();
14051 return 0;
14053 _ACEOF
14054 if ac_fn_c_try_link "$LINENO"
14055 then :
14057 else $as_nop
14058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14059 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14060 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14061 then :
14062 printf %s "(cached) " >&6
14063 else $as_nop
14064 ac_check_lib_save_LIBS=$LIBS
14065 LIBS="-ldnet $LIBS"
14066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14069 /* Override any GCC internal prototype to avoid an error.
14070 Use char because int might match the return type of a GCC
14071 builtin and then its argument prototype would still apply. */
14072 char dnet_ntoa ();
14074 main (void)
14076 return dnet_ntoa ();
14078 return 0;
14080 _ACEOF
14081 if ac_fn_c_try_link "$LINENO"
14082 then :
14083 ac_cv_lib_dnet_dnet_ntoa=yes
14084 else $as_nop
14085 ac_cv_lib_dnet_dnet_ntoa=no
14087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14088 conftest$ac_exeext conftest.$ac_ext
14089 LIBS=$ac_check_lib_save_LIBS
14091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14092 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14093 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14094 then :
14095 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14098 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14100 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14101 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14102 then :
14103 printf %s "(cached) " >&6
14104 else $as_nop
14105 ac_check_lib_save_LIBS=$LIBS
14106 LIBS="-ldnet_stub $LIBS"
14107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14110 /* Override any GCC internal prototype to avoid an error.
14111 Use char because int might match the return type of a GCC
14112 builtin and then its argument prototype would still apply. */
14113 char dnet_ntoa ();
14115 main (void)
14117 return dnet_ntoa ();
14119 return 0;
14121 _ACEOF
14122 if ac_fn_c_try_link "$LINENO"
14123 then :
14124 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14125 else $as_nop
14126 ac_cv_lib_dnet_stub_dnet_ntoa=no
14128 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14129 conftest$ac_exeext conftest.$ac_ext
14130 LIBS=$ac_check_lib_save_LIBS
14132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14133 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14134 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14135 then :
14136 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14142 conftest$ac_exeext conftest.$ac_ext
14143 LIBS="$ac_xsave_LIBS"
14145 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14146 # to get the SysV transport functions.
14147 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14148 # needs -lnsl.
14149 # The nsl library prevents programs from opening the X display
14150 # on Irix 5.2, according to T.E. Dickey.
14151 # The functions gethostbyname, getservbyname, and inet_addr are
14152 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14153 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14154 if test "x$ac_cv_func_gethostbyname" = xyes
14155 then :
14159 if test $ac_cv_func_gethostbyname = no; then
14160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14161 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14162 if test ${ac_cv_lib_nsl_gethostbyname+y}
14163 then :
14164 printf %s "(cached) " >&6
14165 else $as_nop
14166 ac_check_lib_save_LIBS=$LIBS
14167 LIBS="-lnsl $LIBS"
14168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14171 /* Override any GCC internal prototype to avoid an error.
14172 Use char because int might match the return type of a GCC
14173 builtin and then its argument prototype would still apply. */
14174 char gethostbyname ();
14176 main (void)
14178 return gethostbyname ();
14180 return 0;
14182 _ACEOF
14183 if ac_fn_c_try_link "$LINENO"
14184 then :
14185 ac_cv_lib_nsl_gethostbyname=yes
14186 else $as_nop
14187 ac_cv_lib_nsl_gethostbyname=no
14189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14190 conftest$ac_exeext conftest.$ac_ext
14191 LIBS=$ac_check_lib_save_LIBS
14193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14194 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14195 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14196 then :
14197 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14200 if test $ac_cv_lib_nsl_gethostbyname = no; then
14201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14202 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14203 if test ${ac_cv_lib_bsd_gethostbyname+y}
14204 then :
14205 printf %s "(cached) " >&6
14206 else $as_nop
14207 ac_check_lib_save_LIBS=$LIBS
14208 LIBS="-lbsd $LIBS"
14209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h. */
14212 /* Override any GCC internal prototype to avoid an error.
14213 Use char because int might match the return type of a GCC
14214 builtin and then its argument prototype would still apply. */
14215 char gethostbyname ();
14217 main (void)
14219 return gethostbyname ();
14221 return 0;
14223 _ACEOF
14224 if ac_fn_c_try_link "$LINENO"
14225 then :
14226 ac_cv_lib_bsd_gethostbyname=yes
14227 else $as_nop
14228 ac_cv_lib_bsd_gethostbyname=no
14230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14231 conftest$ac_exeext conftest.$ac_ext
14232 LIBS=$ac_check_lib_save_LIBS
14234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14235 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14236 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14237 then :
14238 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14244 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14245 # socket/setsockopt and other routines are undefined under SCO ODT
14246 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14247 # on later versions), says Simon Leinen: it contains gethostby*
14248 # variants that don't use the name server (or something). -lsocket
14249 # must be given before -lnsl if both are needed. We assume that
14250 # if connect needs -lnsl, so does gethostbyname.
14251 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14252 if test "x$ac_cv_func_connect" = xyes
14253 then :
14257 if test $ac_cv_func_connect = no; then
14258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14259 printf %s "checking for connect in -lsocket... " >&6; }
14260 if test ${ac_cv_lib_socket_connect+y}
14261 then :
14262 printf %s "(cached) " >&6
14263 else $as_nop
14264 ac_check_lib_save_LIBS=$LIBS
14265 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14267 /* end confdefs.h. */
14269 /* Override any GCC internal prototype to avoid an error.
14270 Use char because int might match the return type of a GCC
14271 builtin and then its argument prototype would still apply. */
14272 char connect ();
14274 main (void)
14276 return connect ();
14278 return 0;
14280 _ACEOF
14281 if ac_fn_c_try_link "$LINENO"
14282 then :
14283 ac_cv_lib_socket_connect=yes
14284 else $as_nop
14285 ac_cv_lib_socket_connect=no
14287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14288 conftest$ac_exeext conftest.$ac_ext
14289 LIBS=$ac_check_lib_save_LIBS
14291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14292 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14293 if test "x$ac_cv_lib_socket_connect" = xyes
14294 then :
14295 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14300 # Guillermo Gomez says -lposix is necessary on A/UX.
14301 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14302 if test "x$ac_cv_func_remove" = xyes
14303 then :
14307 if test $ac_cv_func_remove = no; then
14308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14309 printf %s "checking for remove in -lposix... " >&6; }
14310 if test ${ac_cv_lib_posix_remove+y}
14311 then :
14312 printf %s "(cached) " >&6
14313 else $as_nop
14314 ac_check_lib_save_LIBS=$LIBS
14315 LIBS="-lposix $LIBS"
14316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14317 /* end confdefs.h. */
14319 /* Override any GCC internal prototype to avoid an error.
14320 Use char because int might match the return type of a GCC
14321 builtin and then its argument prototype would still apply. */
14322 char remove ();
14324 main (void)
14326 return remove ();
14328 return 0;
14330 _ACEOF
14331 if ac_fn_c_try_link "$LINENO"
14332 then :
14333 ac_cv_lib_posix_remove=yes
14334 else $as_nop
14335 ac_cv_lib_posix_remove=no
14337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14338 conftest$ac_exeext conftest.$ac_ext
14339 LIBS=$ac_check_lib_save_LIBS
14341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14342 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14343 if test "x$ac_cv_lib_posix_remove" = xyes
14344 then :
14345 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14350 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14351 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14352 if test "x$ac_cv_func_shmat" = xyes
14353 then :
14357 if test $ac_cv_func_shmat = no; then
14358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14359 printf %s "checking for shmat in -lipc... " >&6; }
14360 if test ${ac_cv_lib_ipc_shmat+y}
14361 then :
14362 printf %s "(cached) " >&6
14363 else $as_nop
14364 ac_check_lib_save_LIBS=$LIBS
14365 LIBS="-lipc $LIBS"
14366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14369 /* Override any GCC internal prototype to avoid an error.
14370 Use char because int might match the return type of a GCC
14371 builtin and then its argument prototype would still apply. */
14372 char shmat ();
14374 main (void)
14376 return shmat ();
14378 return 0;
14380 _ACEOF
14381 if ac_fn_c_try_link "$LINENO"
14382 then :
14383 ac_cv_lib_ipc_shmat=yes
14384 else $as_nop
14385 ac_cv_lib_ipc_shmat=no
14387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14388 conftest$ac_exeext conftest.$ac_ext
14389 LIBS=$ac_check_lib_save_LIBS
14391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14392 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14393 if test "x$ac_cv_lib_ipc_shmat" = xyes
14394 then :
14395 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14401 # Check for libraries that X11R6 Xt/Xaw programs need.
14402 ac_save_LDFLAGS=$LDFLAGS
14403 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14404 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14405 # check for ICE first), but we must link in the order -lSM -lICE or
14406 # we get undefined symbols. So assume we have SM if we have ICE.
14407 # These have to be linked with before -lX11, unlike the other
14408 # libraries we check for below, so use a different variable.
14409 # John Interrante, Karl Berry
14410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14411 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14412 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14413 then :
14414 printf %s "(cached) " >&6
14415 else $as_nop
14416 ac_check_lib_save_LIBS=$LIBS
14417 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14419 /* end confdefs.h. */
14421 /* Override any GCC internal prototype to avoid an error.
14422 Use char because int might match the return type of a GCC
14423 builtin and then its argument prototype would still apply. */
14424 char IceConnectionNumber ();
14426 main (void)
14428 return IceConnectionNumber ();
14430 return 0;
14432 _ACEOF
14433 if ac_fn_c_try_link "$LINENO"
14434 then :
14435 ac_cv_lib_ICE_IceConnectionNumber=yes
14436 else $as_nop
14437 ac_cv_lib_ICE_IceConnectionNumber=no
14439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14440 conftest$ac_exeext conftest.$ac_ext
14441 LIBS=$ac_check_lib_save_LIBS
14443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14444 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14445 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14446 then :
14447 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14450 LDFLAGS=$ac_save_LDFLAGS
14455 if test "$have_x" = "yes"
14456 then
14457 ac_save_CPPFLAGS="$CPPFLAGS"
14458 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14461 printf %s "checking for -lX11... " >&6; }
14462 if test ${ac_cv_lib_soname_X11+y}
14463 then :
14464 printf %s "(cached) " >&6
14465 else $as_nop
14466 ac_check_soname_save_LIBS=$LIBS
14467 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14469 /* end confdefs.h. */
14471 /* Override any GCC internal prototype to avoid an error.
14472 Use char because int might match the return type of a GCC
14473 builtin and then its argument prototype would still apply. */
14474 char XCreateWindow ();
14476 main (void)
14478 return XCreateWindow ();
14480 return 0;
14482 _ACEOF
14483 if ac_fn_c_try_link "$LINENO"
14484 then :
14485 case "$LIBEXT" in
14486 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14487 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'` ;;
14488 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14489 if ${ac_cv_lib_soname_X11:+false} :
14490 then :
14491 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14492 fi ;;
14493 esac
14494 else $as_nop
14495 ac_cv_lib_soname_X11=
14497 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14498 conftest$ac_exeext conftest.$ac_ext
14499 LIBS=$ac_check_soname_save_LIBS
14501 if ${ac_cv_lib_soname_X11:+false} :
14502 then :
14503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14504 printf "%s\n" "not found" >&6; }
14506 else $as_nop
14507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14508 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14510 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14515 printf %s "checking for -lXext... " >&6; }
14516 if test ${ac_cv_lib_soname_Xext+y}
14517 then :
14518 printf %s "(cached) " >&6
14519 else $as_nop
14520 ac_check_soname_save_LIBS=$LIBS
14521 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14523 /* end confdefs.h. */
14525 /* Override any GCC internal prototype to avoid an error.
14526 Use char because int might match the return type of a GCC
14527 builtin and then its argument prototype would still apply. */
14528 char XextCreateExtension ();
14530 main (void)
14532 return XextCreateExtension ();
14534 return 0;
14536 _ACEOF
14537 if ac_fn_c_try_link "$LINENO"
14538 then :
14539 case "$LIBEXT" in
14540 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14541 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'` ;;
14542 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14543 if ${ac_cv_lib_soname_Xext:+false} :
14544 then :
14545 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14546 fi ;;
14547 esac
14548 else $as_nop
14549 ac_cv_lib_soname_Xext=
14551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14552 conftest$ac_exeext conftest.$ac_ext
14553 LIBS=$ac_check_soname_save_LIBS
14555 if ${ac_cv_lib_soname_Xext:+false} :
14556 then :
14557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14558 printf "%s\n" "not found" >&6; }
14560 else $as_nop
14561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14562 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14564 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14566 X_LIBS="$X_LIBS -lXext"
14568 X_LIBS="$X_LIBS -lX11"
14570 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14571 # include <X11/Xlib.h>
14572 #endif
14573 #ifdef HAVE_X11_XUTIL_H
14574 # include <X11/Xutil.h>
14575 #endif
14577 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14578 then :
14579 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14582 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14583 # include <X11/Xlib.h>
14584 #endif
14585 #ifdef HAVE_X11_XUTIL_H
14586 # include <X11/Xutil.h>
14587 #endif
14589 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14590 then :
14591 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14594 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14595 # include <X11/Xlib.h>
14596 #endif
14597 #ifdef HAVE_X11_XUTIL_H
14598 # include <X11/Xutil.h>
14599 #endif
14601 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14602 then :
14603 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14606 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14607 # include <X11/Xlib.h>
14608 #endif
14609 #ifdef HAVE_X11_XUTIL_H
14610 # include <X11/Xutil.h>
14611 #endif
14613 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14614 then :
14615 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14618 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14619 # include <X11/Xlib.h>
14620 #endif
14621 #ifdef HAVE_X11_XUTIL_H
14622 # include <X11/Xutil.h>
14623 #endif
14625 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14626 then :
14627 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14630 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14631 # include <X11/Xlib.h>
14632 #endif
14633 #ifdef HAVE_X11_XUTIL_H
14634 # include <X11/Xutil.h>
14635 #endif
14637 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14638 then :
14639 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14642 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14643 # include <X11/Xlib.h>
14644 #endif
14645 #ifdef HAVE_X11_XUTIL_H
14646 # include <X11/Xutil.h>
14647 #endif
14649 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14650 then :
14651 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14654 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14655 # include <X11/Xlib.h>
14656 #endif
14657 #ifdef HAVE_X11_XUTIL_H
14658 # include <X11/Xutil.h>
14659 #endif
14661 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14662 then :
14663 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14666 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14667 # include <X11/Xlib.h>
14668 #endif
14669 #ifdef HAVE_X11_XUTIL_H
14670 # include <X11/Xutil.h>
14671 #endif
14673 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14674 then :
14675 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14678 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14679 # include <X11/Xlib.h>
14680 #endif
14681 #ifdef HAVE_X11_XUTIL_H
14682 # include <X11/Xutil.h>
14683 #endif
14685 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14686 then :
14687 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14690 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14691 # include <X11/Xlib.h>
14692 #endif
14693 #ifdef HAVE_X11_XUTIL_H
14694 # include <X11/Xutil.h>
14695 #endif
14697 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14698 then :
14699 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14702 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14703 # include <X11/Xlib.h>
14704 #endif
14705 #ifdef HAVE_X11_XUTIL_H
14706 # include <X11/Xutil.h>
14707 #endif
14709 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14710 then :
14711 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14714 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14715 # include <X11/Xlib.h>
14716 #endif
14717 #ifdef HAVE_X11_XUTIL_H
14718 # include <X11/Xutil.h>
14719 #endif
14721 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14722 then :
14723 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14726 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14727 # include <X11/Xlib.h>
14728 #endif
14729 #ifdef HAVE_X11_XUTIL_H
14730 # include <X11/Xutil.h>
14731 #endif
14733 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14734 then :
14735 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14738 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14739 # include <X11/Xlib.h>
14740 #endif
14741 #ifdef HAVE_X11_XUTIL_H
14742 # include <X11/Xutil.h>
14743 #endif
14745 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14746 then :
14747 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14752 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14753 then
14754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14755 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14756 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14757 then :
14758 printf %s "(cached) " >&6
14759 else $as_nop
14760 ac_check_lib_save_LIBS=$LIBS
14761 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14765 /* Override any GCC internal prototype to avoid an error.
14766 Use char because int might match the return type of a GCC
14767 builtin and then its argument prototype would still apply. */
14768 char XkbQueryExtension ();
14770 main (void)
14772 return XkbQueryExtension ();
14774 return 0;
14776 _ACEOF
14777 if ac_fn_c_try_link "$LINENO"
14778 then :
14779 ac_cv_lib_X11_XkbQueryExtension=yes
14780 else $as_nop
14781 ac_cv_lib_X11_XkbQueryExtension=no
14783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14784 conftest$ac_exeext conftest.$ac_ext
14785 LIBS=$ac_check_lib_save_LIBS
14787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14788 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14789 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14790 then :
14792 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14798 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14799 then
14800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14801 printf %s "checking for -lXcursor... " >&6; }
14802 if test ${ac_cv_lib_soname_Xcursor+y}
14803 then :
14804 printf %s "(cached) " >&6
14805 else $as_nop
14806 ac_check_soname_save_LIBS=$LIBS
14807 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14809 /* end confdefs.h. */
14811 /* Override any GCC internal prototype to avoid an error.
14812 Use char because int might match the return type of a GCC
14813 builtin and then its argument prototype would still apply. */
14814 char XcursorImageLoadCursor ();
14816 main (void)
14818 return XcursorImageLoadCursor ();
14820 return 0;
14822 _ACEOF
14823 if ac_fn_c_try_link "$LINENO"
14824 then :
14825 case "$LIBEXT" in
14826 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14827 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'` ;;
14828 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14829 if ${ac_cv_lib_soname_Xcursor:+false} :
14830 then :
14831 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14832 fi ;;
14833 esac
14834 else $as_nop
14835 ac_cv_lib_soname_Xcursor=
14837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14838 conftest$ac_exeext conftest.$ac_ext
14839 LIBS=$ac_check_soname_save_LIBS
14841 if ${ac_cv_lib_soname_Xcursor:+false} :
14842 then :
14843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14844 printf "%s\n" "not found" >&6; }
14846 else $as_nop
14847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14848 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14850 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14855 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14856 then :
14857 case "x$with_xcursor" in
14858 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14859 xno) ;;
14860 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14861 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14862 esac
14866 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14867 then
14868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14869 printf %s "checking for -lXi... " >&6; }
14870 if test ${ac_cv_lib_soname_Xi+y}
14871 then :
14872 printf %s "(cached) " >&6
14873 else $as_nop
14874 ac_check_soname_save_LIBS=$LIBS
14875 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14879 /* Override any GCC internal prototype to avoid an error.
14880 Use char because int might match the return type of a GCC
14881 builtin and then its argument prototype would still apply. */
14882 char XOpenDevice ();
14884 main (void)
14886 return XOpenDevice ();
14888 return 0;
14890 _ACEOF
14891 if ac_fn_c_try_link "$LINENO"
14892 then :
14893 case "$LIBEXT" in
14894 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14895 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'` ;;
14896 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14897 if ${ac_cv_lib_soname_Xi:+false} :
14898 then :
14899 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14900 fi ;;
14901 esac
14902 else $as_nop
14903 ac_cv_lib_soname_Xi=
14905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14906 conftest$ac_exeext conftest.$ac_ext
14907 LIBS=$ac_check_soname_save_LIBS
14909 if ${ac_cv_lib_soname_Xi:+false} :
14910 then :
14911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14912 printf "%s\n" "not found" >&6; }
14914 else $as_nop
14915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14916 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14918 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14923 if test "x$ac_cv_lib_soname_Xi" = "x"
14924 then :
14925 case "x$with_xinput" in
14926 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14927 xno) ;;
14928 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14929 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14930 esac
14934 if test "x$ac_cv_lib_soname_Xi" != x
14935 then
14936 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14937 then :
14938 case "x$with_xinput2" in
14939 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14940 xno) ;;
14941 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14942 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14943 esac
14948 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14949 then
14950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14951 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14952 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14953 then :
14954 printf %s "(cached) " >&6
14955 else $as_nop
14956 ac_check_lib_save_LIBS=$LIBS
14957 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14959 /* end confdefs.h. */
14961 /* Override any GCC internal prototype to avoid an error.
14962 Use char because int might match the return type of a GCC
14963 builtin and then its argument prototype would still apply. */
14964 char XShmQueryExtension ();
14966 main (void)
14968 return XShmQueryExtension ();
14970 return 0;
14972 _ACEOF
14973 if ac_fn_c_try_link "$LINENO"
14974 then :
14975 ac_cv_lib_Xext_XShmQueryExtension=yes
14976 else $as_nop
14977 ac_cv_lib_Xext_XShmQueryExtension=no
14979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14980 conftest$ac_exeext conftest.$ac_ext
14981 LIBS=$ac_check_lib_save_LIBS
14983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14984 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14985 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14986 then :
14988 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14993 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14994 then :
14995 case "x$with_xshm" in
14996 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14997 xno) ;;
14998 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14999 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15000 esac
15004 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15005 then
15006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15007 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
15008 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15009 then :
15010 printf %s "(cached) " >&6
15011 else $as_nop
15012 ac_check_lib_save_LIBS=$LIBS
15013 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15017 /* Override any GCC internal prototype to avoid an error.
15018 Use char because int might match the return type of a GCC
15019 builtin and then its argument prototype would still apply. */
15020 char XShapeQueryExtension ();
15022 main (void)
15024 return XShapeQueryExtension ();
15026 return 0;
15028 _ACEOF
15029 if ac_fn_c_try_link "$LINENO"
15030 then :
15031 ac_cv_lib_Xext_XShapeQueryExtension=yes
15032 else $as_nop
15033 ac_cv_lib_Xext_XShapeQueryExtension=no
15035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15036 conftest$ac_exeext conftest.$ac_ext
15037 LIBS=$ac_check_lib_save_LIBS
15039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15040 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15041 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15042 then :
15044 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15049 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15050 then :
15051 case "x$with_xshape" in
15052 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15053 xno) ;;
15054 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15055 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15056 esac
15060 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15061 then
15062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15063 printf %s "checking for -lXxf86vm... " >&6; }
15064 if test ${ac_cv_lib_soname_Xxf86vm+y}
15065 then :
15066 printf %s "(cached) " >&6
15067 else $as_nop
15068 ac_check_soname_save_LIBS=$LIBS
15069 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15073 /* Override any GCC internal prototype to avoid an error.
15074 Use char because int might match the return type of a GCC
15075 builtin and then its argument prototype would still apply. */
15076 char XF86VidModeQueryExtension ();
15078 main (void)
15080 return XF86VidModeQueryExtension ();
15082 return 0;
15084 _ACEOF
15085 if ac_fn_c_try_link "$LINENO"
15086 then :
15087 case "$LIBEXT" in
15088 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15089 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'` ;;
15090 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15091 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15092 then :
15093 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15094 fi ;;
15095 esac
15096 else $as_nop
15097 ac_cv_lib_soname_Xxf86vm=
15099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15100 conftest$ac_exeext conftest.$ac_ext
15101 LIBS=$ac_check_soname_save_LIBS
15103 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15104 then :
15105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15106 printf "%s\n" "not found" >&6; }
15108 else $as_nop
15109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15110 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15112 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15117 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15118 then :
15119 case "x$with_xxf86vm" in
15120 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15121 xno) ;;
15122 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15123 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15124 esac
15128 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15129 then
15130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15131 printf %s "checking for -lXrender... " >&6; }
15132 if test ${ac_cv_lib_soname_Xrender+y}
15133 then :
15134 printf %s "(cached) " >&6
15135 else $as_nop
15136 ac_check_soname_save_LIBS=$LIBS
15137 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15141 /* Override any GCC internal prototype to avoid an error.
15142 Use char because int might match the return type of a GCC
15143 builtin and then its argument prototype would still apply. */
15144 char XRenderQueryExtension ();
15146 main (void)
15148 return XRenderQueryExtension ();
15150 return 0;
15152 _ACEOF
15153 if ac_fn_c_try_link "$LINENO"
15154 then :
15155 case "$LIBEXT" in
15156 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15157 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'` ;;
15158 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15159 if ${ac_cv_lib_soname_Xrender:+false} :
15160 then :
15161 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15162 fi ;;
15163 esac
15164 else $as_nop
15165 ac_cv_lib_soname_Xrender=
15167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15168 conftest$ac_exeext conftest.$ac_ext
15169 LIBS=$ac_check_soname_save_LIBS
15171 if ${ac_cv_lib_soname_Xrender:+false} :
15172 then :
15173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15174 printf "%s\n" "not found" >&6; }
15176 else $as_nop
15177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15178 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15180 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15183 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15184 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15185 then :
15186 printf %s "(cached) " >&6
15187 else $as_nop
15188 ac_check_lib_save_LIBS=$LIBS
15189 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15191 /* end confdefs.h. */
15193 /* Override any GCC internal prototype to avoid an error.
15194 Use char because int might match the return type of a GCC
15195 builtin and then its argument prototype would still apply. */
15196 char XRenderSetPictureTransform ();
15198 main (void)
15200 return XRenderSetPictureTransform ();
15202 return 0;
15204 _ACEOF
15205 if ac_fn_c_try_link "$LINENO"
15206 then :
15207 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15208 else $as_nop
15209 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15212 conftest$ac_exeext conftest.$ac_ext
15213 LIBS=$ac_check_lib_save_LIBS
15215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15216 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15217 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15218 then :
15220 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15225 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15226 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15227 then :
15228 printf %s "(cached) " >&6
15229 else $as_nop
15230 ac_check_lib_save_LIBS=$LIBS
15231 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15233 /* end confdefs.h. */
15235 /* Override any GCC internal prototype to avoid an error.
15236 Use char because int might match the return type of a GCC
15237 builtin and then its argument prototype would still apply. */
15238 char XRenderCreateLinearGradient ();
15240 main (void)
15242 return XRenderCreateLinearGradient ();
15244 return 0;
15246 _ACEOF
15247 if ac_fn_c_try_link "$LINENO"
15248 then :
15249 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15250 else $as_nop
15251 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15254 conftest$ac_exeext conftest.$ac_ext
15255 LIBS=$ac_check_lib_save_LIBS
15257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15258 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15259 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15260 then :
15262 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15269 if test "x$ac_cv_lib_soname_Xrender" = "x"
15270 then :
15271 case "x$with_xrender" in
15272 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15273 xno) ;;
15274 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15275 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15276 esac
15280 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15281 then
15282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15284 #include <X11/Xlib.h>
15285 #include <X11/extensions/Xrandr.h>
15287 main (void)
15289 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15291 return 0;
15293 _ACEOF
15294 if ac_fn_c_try_compile "$LINENO"
15295 then :
15296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15297 printf %s "checking for -lXrandr... " >&6; }
15298 if test ${ac_cv_lib_soname_Xrandr+y}
15299 then :
15300 printf %s "(cached) " >&6
15301 else $as_nop
15302 ac_check_soname_save_LIBS=$LIBS
15303 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15307 /* Override any GCC internal prototype to avoid an error.
15308 Use char because int might match the return type of a GCC
15309 builtin and then its argument prototype would still apply. */
15310 char XRRQueryExtension ();
15312 main (void)
15314 return XRRQueryExtension ();
15316 return 0;
15318 _ACEOF
15319 if ac_fn_c_try_link "$LINENO"
15320 then :
15321 case "$LIBEXT" in
15322 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15323 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'` ;;
15324 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15325 if ${ac_cv_lib_soname_Xrandr:+false} :
15326 then :
15327 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15328 fi ;;
15329 esac
15330 else $as_nop
15331 ac_cv_lib_soname_Xrandr=
15333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15334 conftest$ac_exeext conftest.$ac_ext
15335 LIBS=$ac_check_soname_save_LIBS
15337 if ${ac_cv_lib_soname_Xrandr:+false} :
15338 then :
15339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15340 printf "%s\n" "not found" >&6; }
15342 else $as_nop
15343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15344 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15346 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h. */
15350 #include <X11/Xlib.h>
15351 #include <X11/extensions/Xrandr.h>
15353 main (void)
15355 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15357 return 0;
15359 _ACEOF
15360 if ac_fn_c_try_compile "$LINENO"
15361 then :
15363 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15365 else $as_nop
15366 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15368 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15373 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15374 then :
15375 case "x$with_xrandr" in
15376 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15377 xno) ;;
15378 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15379 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15380 esac
15384 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15385 then
15386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15387 /* end confdefs.h. */
15388 #include <X11/Xlib.h>
15389 #include <X11/extensions/Xfixes.h>
15391 main (void)
15393 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15395 return 0;
15397 _ACEOF
15398 if ac_fn_c_try_compile "$LINENO"
15399 then :
15400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15401 printf %s "checking for -lXfixes... " >&6; }
15402 if test ${ac_cv_lib_soname_Xfixes+y}
15403 then :
15404 printf %s "(cached) " >&6
15405 else $as_nop
15406 ac_check_soname_save_LIBS=$LIBS
15407 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15409 /* end confdefs.h. */
15411 /* Override any GCC internal prototype to avoid an error.
15412 Use char because int might match the return type of a GCC
15413 builtin and then its argument prototype would still apply. */
15414 char XFixesQueryVersion ();
15416 main (void)
15418 return XFixesQueryVersion ();
15420 return 0;
15422 _ACEOF
15423 if ac_fn_c_try_link "$LINENO"
15424 then :
15425 case "$LIBEXT" in
15426 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15427 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'` ;;
15428 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15429 if ${ac_cv_lib_soname_Xfixes:+false} :
15430 then :
15431 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15432 fi ;;
15433 esac
15434 else $as_nop
15435 ac_cv_lib_soname_Xfixes=
15437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15438 conftest$ac_exeext conftest.$ac_ext
15439 LIBS=$ac_check_soname_save_LIBS
15441 if ${ac_cv_lib_soname_Xfixes:+false} :
15442 then :
15443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15444 printf "%s\n" "not found" >&6; }
15446 else $as_nop
15447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15448 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15450 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15457 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15458 then :
15459 case "x$with_xfixes" in
15460 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15461 xno) ;;
15462 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15463 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15464 esac
15468 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15469 then
15470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15471 /* end confdefs.h. */
15472 #include <X11/Xlib.h>
15473 #include <X11/extensions/Xinerama.h>
15475 main (void)
15477 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15479 return 0;
15481 _ACEOF
15482 if ac_fn_c_try_compile "$LINENO"
15483 then :
15484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15485 printf %s "checking for -lXinerama... " >&6; }
15486 if test ${ac_cv_lib_soname_Xinerama+y}
15487 then :
15488 printf %s "(cached) " >&6
15489 else $as_nop
15490 ac_check_soname_save_LIBS=$LIBS
15491 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15493 /* end confdefs.h. */
15495 /* Override any GCC internal prototype to avoid an error.
15496 Use char because int might match the return type of a GCC
15497 builtin and then its argument prototype would still apply. */
15498 char XineramaQueryScreens ();
15500 main (void)
15502 return XineramaQueryScreens ();
15504 return 0;
15506 _ACEOF
15507 if ac_fn_c_try_link "$LINENO"
15508 then :
15509 case "$LIBEXT" in
15510 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15511 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'` ;;
15512 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15513 if ${ac_cv_lib_soname_Xinerama:+false} :
15514 then :
15515 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15516 fi ;;
15517 esac
15518 else $as_nop
15519 ac_cv_lib_soname_Xinerama=
15521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15522 conftest$ac_exeext conftest.$ac_ext
15523 LIBS=$ac_check_soname_save_LIBS
15525 if ${ac_cv_lib_soname_Xinerama:+false} :
15526 then :
15527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15528 printf "%s\n" "not found" >&6; }
15530 else $as_nop
15531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15532 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15534 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15539 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15541 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15542 then :
15543 case "x$with_xinerama" in
15544 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15545 xno) ;;
15546 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15547 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15548 esac
15552 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15553 then
15554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15555 printf %s "checking for -lXcomposite... " >&6; }
15556 if test ${ac_cv_lib_soname_Xcomposite+y}
15557 then :
15558 printf %s "(cached) " >&6
15559 else $as_nop
15560 ac_check_soname_save_LIBS=$LIBS
15561 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15563 /* end confdefs.h. */
15565 /* Override any GCC internal prototype to avoid an error.
15566 Use char because int might match the return type of a GCC
15567 builtin and then its argument prototype would still apply. */
15568 char XCompositeRedirectWindow ();
15570 main (void)
15572 return XCompositeRedirectWindow ();
15574 return 0;
15576 _ACEOF
15577 if ac_fn_c_try_link "$LINENO"
15578 then :
15579 case "$LIBEXT" in
15580 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15581 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'` ;;
15582 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15583 if ${ac_cv_lib_soname_Xcomposite:+false} :
15584 then :
15585 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15586 fi ;;
15587 esac
15588 else $as_nop
15589 ac_cv_lib_soname_Xcomposite=
15591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15592 conftest$ac_exeext conftest.$ac_ext
15593 LIBS=$ac_check_soname_save_LIBS
15595 if ${ac_cv_lib_soname_Xcomposite:+false} :
15596 then :
15597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15598 printf "%s\n" "not found" >&6; }
15600 else $as_nop
15601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15602 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15604 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15609 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15610 then :
15611 case "x$with_xcomposite" in
15612 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15613 xno) ;;
15614 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15615 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15616 esac
15620 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15621 #include <X11/Xlib.h>
15622 #endif
15624 if test "x$ac_cv_member_XICCallback_callback" = xyes
15625 then :
15627 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15631 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15632 #include <X11/Xlib.h>
15633 #endif
15635 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15636 then :
15638 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15645 opengl_msg=""
15646 if test "x$with_opengl" != "xno"
15647 then
15648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15649 printf %s "checking for -lGL... " >&6; }
15650 if test ${ac_cv_lib_soname_GL+y}
15651 then :
15652 printf %s "(cached) " >&6
15653 else $as_nop
15654 ac_check_soname_save_LIBS=$LIBS
15655 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15657 /* end confdefs.h. */
15659 /* Override any GCC internal prototype to avoid an error.
15660 Use char because int might match the return type of a GCC
15661 builtin and then its argument prototype would still apply. */
15662 char glXCreateContext ();
15664 main (void)
15666 return glXCreateContext ();
15668 return 0;
15670 _ACEOF
15671 if ac_fn_c_try_link "$LINENO"
15672 then :
15673 case "$LIBEXT" in
15674 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15675 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'` ;;
15676 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15677 if ${ac_cv_lib_soname_GL:+false} :
15678 then :
15679 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15680 fi ;;
15681 esac
15682 else $as_nop
15683 ac_cv_lib_soname_GL=
15685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15686 conftest$ac_exeext conftest.$ac_ext
15687 LIBS=$ac_check_soname_save_LIBS
15689 if ${ac_cv_lib_soname_GL:+false} :
15690 then :
15691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15692 printf "%s\n" "not found" >&6; }
15693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15694 printf %s "checking for -lGL... " >&6; }
15695 if test ${ac_cv_lib_soname_GL+y}
15696 then :
15697 printf %s "(cached) " >&6
15698 else $as_nop
15699 ac_check_soname_save_LIBS=$LIBS
15700 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"
15701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15702 /* end confdefs.h. */
15704 /* Override any GCC internal prototype to avoid an error.
15705 Use char because int might match the return type of a GCC
15706 builtin and then its argument prototype would still apply. */
15707 char glXCreateContext ();
15709 main (void)
15711 return glXCreateContext ();
15713 return 0;
15715 _ACEOF
15716 if ac_fn_c_try_link "$LINENO"
15717 then :
15718 case "$LIBEXT" in
15719 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15720 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'` ;;
15721 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15722 if ${ac_cv_lib_soname_GL:+false} :
15723 then :
15724 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15725 fi ;;
15726 esac
15727 else $as_nop
15728 ac_cv_lib_soname_GL=
15730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15731 conftest$ac_exeext conftest.$ac_ext
15732 LIBS=$ac_check_soname_save_LIBS
15734 if ${ac_cv_lib_soname_GL:+false} :
15735 then :
15736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15737 printf "%s\n" "not found" >&6; }
15738 if test -f /usr/X11R6/lib/libGL.a
15739 then
15740 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15741 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15742 else
15743 opengl_msg="No OpenGL library found on this system."
15745 else $as_nop
15746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15747 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15749 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15751 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"
15753 else $as_nop
15754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15755 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15757 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15759 OPENGL_LIBS="-lGL"
15761 if test "x$with_osmesa" != "xno"
15762 then
15763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15764 printf %s "checking for -lOSMesa... " >&6; }
15765 if test ${ac_cv_lib_soname_OSMesa+y}
15766 then :
15767 printf %s "(cached) " >&6
15768 else $as_nop
15769 ac_check_soname_save_LIBS=$LIBS
15770 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15772 /* end confdefs.h. */
15774 /* Override any GCC internal prototype to avoid an error.
15775 Use char because int might match the return type of a GCC
15776 builtin and then its argument prototype would still apply. */
15777 char OSMesaGetProcAddress ();
15779 main (void)
15781 return OSMesaGetProcAddress ();
15783 return 0;
15785 _ACEOF
15786 if ac_fn_c_try_link "$LINENO"
15787 then :
15788 case "$LIBEXT" in
15789 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15790 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'` ;;
15791 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15792 if ${ac_cv_lib_soname_OSMesa:+false} :
15793 then :
15794 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15795 fi ;;
15796 esac
15797 else $as_nop
15798 ac_cv_lib_soname_OSMesa=
15800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15801 conftest$ac_exeext conftest.$ac_ext
15802 LIBS=$ac_check_soname_save_LIBS
15804 if ${ac_cv_lib_soname_OSMesa:+false} :
15805 then :
15806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15807 printf "%s\n" "not found" >&6; }
15809 else $as_nop
15810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15811 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15813 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15817 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15818 then :
15819 case "x$with_osmesa" in
15820 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15821 xno) ;;
15822 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15823 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15824 esac
15829 if test -n "$opengl_msg"
15830 then :
15831 case "x$with_opengl" in
15832 x) as_fn_append wine_warnings "|$opengl_msg
15833 OpenGL and Direct3D won't be supported." ;;
15834 xno) ;;
15835 *) as_fn_error $? "$opengl_msg
15836 OpenGL and Direct3D won't be supported.
15837 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15838 esac
15842 CPPFLAGS="$ac_save_CPPFLAGS"
15843 else
15844 X_CFLAGS=""
15845 X_LIBS=""
15848 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15849 then
15850 if test "x$X_LIBS" = "x"
15851 then :
15852 case "x$with_x" in
15853 xno) ;;
15854 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15855 without X support, which probably isn't what you want. You will need
15856 to install ${notice_platform}development packages of Xlib at the very least.
15857 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15858 esac
15859 enable_winex11_drv=${enable_winex11_drv:-no}
15861 else
15862 if test "x$X_LIBS" = "x"
15863 then :
15864 case "x$with_x" in
15865 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15866 xno) ;;
15867 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15868 This is an error since --with-x was requested." "$LINENO" 5 ;;
15869 esac
15870 enable_winex11_drv=${enable_winex11_drv:-no}
15874 if test "$ac_cv_header_CL_cl_h" = "yes"
15875 then
15876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15877 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15878 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15879 then :
15880 printf %s "(cached) " >&6
15881 else $as_nop
15882 ac_check_lib_save_LIBS=$LIBS
15883 LIBS="-lOpenCL $LIBS"
15884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15887 /* Override any GCC internal prototype to avoid an error.
15888 Use char because int might match the return type of a GCC
15889 builtin and then its argument prototype would still apply. */
15890 char clGetPlatformInfo ();
15892 main (void)
15894 return clGetPlatformInfo ();
15896 return 0;
15898 _ACEOF
15899 if ac_fn_c_try_link "$LINENO"
15900 then :
15901 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15902 else $as_nop
15903 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15906 conftest$ac_exeext conftest.$ac_ext
15907 LIBS=$ac_check_lib_save_LIBS
15909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15910 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15911 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15912 then :
15913 OPENCL_LIBS="-lOpenCL"
15918 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15919 then :
15920 case "x$with_opencl" in
15921 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15922 xno) ;;
15923 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15924 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15925 esac
15926 enable_opencl=${enable_opencl:-no}
15929 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15930 then
15931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15932 printf %s "checking for pcap_create in -lpcap... " >&6; }
15933 if test ${ac_cv_lib_pcap_pcap_create+y}
15934 then :
15935 printf %s "(cached) " >&6
15936 else $as_nop
15937 ac_check_lib_save_LIBS=$LIBS
15938 LIBS="-lpcap $LIBS"
15939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15942 /* Override any GCC internal prototype to avoid an error.
15943 Use char because int might match the return type of a GCC
15944 builtin and then its argument prototype would still apply. */
15945 char pcap_create ();
15947 main (void)
15949 return pcap_create ();
15951 return 0;
15953 _ACEOF
15954 if ac_fn_c_try_link "$LINENO"
15955 then :
15956 ac_cv_lib_pcap_pcap_create=yes
15957 else $as_nop
15958 ac_cv_lib_pcap_pcap_create=no
15960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15961 conftest$ac_exeext conftest.$ac_ext
15962 LIBS=$ac_check_lib_save_LIBS
15964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15965 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15966 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15967 then :
15968 PCAP_LIBS="-lpcap"
15973 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15974 then :
15975 case "x$with_pcap" in
15976 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15977 xno) ;;
15978 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15979 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15980 esac
15981 enable_wpcap=${enable_wpcap:-no}
15984 if test "x$with_inotify" != "xno"
15985 then
15986 if ${INOTIFY_CFLAGS:+false} :
15987 then :
15988 if test ${PKG_CONFIG+y}
15989 then :
15990 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15994 if ${INOTIFY_LIBS:+false} :
15995 then :
15996 if test ${PKG_CONFIG+y}
15997 then :
15998 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16005 ac_save_CPPFLAGS=$CPPFLAGS
16006 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16007 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16008 if test "x$ac_cv_header_sys_inotify_h" = xyes
16009 then :
16010 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16015 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16016 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16017 then :
16018 printf %s "(cached) " >&6
16019 else $as_nop
16020 ac_check_lib_save_LIBS=$LIBS
16021 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16023 /* end confdefs.h. */
16025 /* Override any GCC internal prototype to avoid an error.
16026 Use char because int might match the return type of a GCC
16027 builtin and then its argument prototype would still apply. */
16028 char inotify_add_watch ();
16030 main (void)
16032 return inotify_add_watch ();
16034 return 0;
16036 _ACEOF
16037 if ac_fn_c_try_link "$LINENO"
16038 then :
16039 ac_cv_lib_inotify_inotify_add_watch=yes
16040 else $as_nop
16041 ac_cv_lib_inotify_inotify_add_watch=no
16043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16044 conftest$ac_exeext conftest.$ac_ext
16045 LIBS=$ac_check_lib_save_LIBS
16047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16048 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16049 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16050 then :
16052 else $as_nop
16053 INOTIFY_LIBS=""
16056 CPPFLAGS=$ac_save_CPPFLAGS
16059 if test "$ac_cv_header_sys_inotify_h" != "yes"
16060 then :
16061 case "x$with_inotify" in
16062 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16063 xno) ;;
16064 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16065 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16066 esac
16070 if test "x$with_dbus" != "xno"
16071 then
16072 if ${DBUS_CFLAGS:+false} :
16073 then :
16074 if test ${PKG_CONFIG+y}
16075 then :
16076 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
16080 if ${DBUS_LIBS:+false} :
16081 then :
16082 if test ${PKG_CONFIG+y}
16083 then :
16084 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16091 ac_save_CPPFLAGS=$CPPFLAGS
16092 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16093 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16094 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16095 then :
16096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16097 printf %s "checking for -ldbus-1... " >&6; }
16098 if test ${ac_cv_lib_soname_dbus_1+y}
16099 then :
16100 printf %s "(cached) " >&6
16101 else $as_nop
16102 ac_check_soname_save_LIBS=$LIBS
16103 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16105 /* end confdefs.h. */
16107 /* Override any GCC internal prototype to avoid an error.
16108 Use char because int might match the return type of a GCC
16109 builtin and then its argument prototype would still apply. */
16110 char dbus_connection_close ();
16112 main (void)
16114 return dbus_connection_close ();
16116 return 0;
16118 _ACEOF
16119 if ac_fn_c_try_link "$LINENO"
16120 then :
16121 case "$LIBEXT" in
16122 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16123 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'` ;;
16124 *) 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'`
16125 if ${ac_cv_lib_soname_dbus_1:+false} :
16126 then :
16127 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16128 fi ;;
16129 esac
16130 else $as_nop
16131 ac_cv_lib_soname_dbus_1=
16133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16134 conftest$ac_exeext conftest.$ac_ext
16135 LIBS=$ac_check_soname_save_LIBS
16137 if ${ac_cv_lib_soname_dbus_1:+false} :
16138 then :
16139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16140 printf "%s\n" "not found" >&6; }
16141 DBUS_CFLAGS=""
16142 else $as_nop
16143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16144 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16146 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16150 else $as_nop
16151 DBUS_CFLAGS=""
16154 CPPFLAGS=$ac_save_CPPFLAGS
16157 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16158 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16159 then :
16160 case "x$with_dbus" in
16161 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16162 xno) ;;
16163 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16164 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16165 esac
16169 if test "x$with_gnutls" != "xno"
16170 then
16171 if ${GNUTLS_CFLAGS:+false} :
16172 then :
16173 if test ${PKG_CONFIG+y}
16174 then :
16175 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16179 if ${GNUTLS_LIBS:+false} :
16180 then :
16181 if test ${PKG_CONFIG+y}
16182 then :
16183 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16187 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16190 ac_save_CPPFLAGS=$CPPFLAGS
16191 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16192 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16193 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16194 then :
16195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16196 /* end confdefs.h. */
16197 #include <gnutls/gnutls.h>
16198 #include <gnutls/crypto.h>
16200 main (void)
16202 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16204 return 0;
16206 _ACEOF
16207 if ac_fn_c_try_compile "$LINENO"
16208 then :
16209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16210 printf %s "checking for -lgnutls... " >&6; }
16211 if test ${ac_cv_lib_soname_gnutls+y}
16212 then :
16213 printf %s "(cached) " >&6
16214 else $as_nop
16215 ac_check_soname_save_LIBS=$LIBS
16216 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16218 /* end confdefs.h. */
16220 /* Override any GCC internal prototype to avoid an error.
16221 Use char because int might match the return type of a GCC
16222 builtin and then its argument prototype would still apply. */
16223 char gnutls_global_init ();
16225 main (void)
16227 return gnutls_global_init ();
16229 return 0;
16231 _ACEOF
16232 if ac_fn_c_try_link "$LINENO"
16233 then :
16234 case "$LIBEXT" in
16235 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16236 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'` ;;
16237 *) 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'`
16238 if ${ac_cv_lib_soname_gnutls:+false} :
16239 then :
16240 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'`
16241 fi ;;
16242 esac
16243 else $as_nop
16244 ac_cv_lib_soname_gnutls=
16246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16247 conftest$ac_exeext conftest.$ac_ext
16248 LIBS=$ac_check_soname_save_LIBS
16250 if ${ac_cv_lib_soname_gnutls:+false} :
16251 then :
16252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16253 printf "%s\n" "not found" >&6; }
16254 GNUTLS_CFLAGS=""
16255 else $as_nop
16256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16257 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16259 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16263 ac_wine_check_funcs_save_LIBS="$LIBS"
16264 LIBS="$LIBS $GNUTLS_LIBS"
16266 for ac_func in gnutls_cipher_init
16267 do :
16268 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16269 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16270 then :
16271 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16273 else $as_nop
16274 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16277 done
16278 LIBS="$ac_wine_check_funcs_save_LIBS"
16280 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16281 else $as_nop
16282 GNUTLS_CFLAGS=""
16285 CPPFLAGS=$ac_save_CPPFLAGS
16288 if test "x$ac_cv_lib_soname_gnutls" = "x"
16289 then :
16290 case "x$with_gnutls" in
16291 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16292 xno) ;;
16293 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16294 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16295 esac
16299 if test "x$with_sane" != "xno"
16300 then
16301 if ${SANE_CFLAGS:+false} :
16302 then :
16303 if test ${PKG_CONFIG+y}
16304 then :
16305 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16308 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16309 if ${SANE_LIBS:+false} :
16310 then :
16311 if test ${PKG_CONFIG+y}
16312 then :
16313 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16316 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16320 ac_save_CPPFLAGS=$CPPFLAGS
16321 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16322 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16323 if test "x$ac_cv_header_sane_sane_h" = xyes
16324 then :
16325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16326 printf %s "checking for sane_init in -lsane... " >&6; }
16327 if test ${ac_cv_lib_sane_sane_init+y}
16328 then :
16329 printf %s "(cached) " >&6
16330 else $as_nop
16331 ac_check_lib_save_LIBS=$LIBS
16332 LIBS="-lsane $SANE_LIBS $LIBS"
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16336 /* Override any GCC internal prototype to avoid an error.
16337 Use char because int might match the return type of a GCC
16338 builtin and then its argument prototype would still apply. */
16339 char sane_init ();
16341 main (void)
16343 return sane_init ();
16345 return 0;
16347 _ACEOF
16348 if ac_fn_c_try_link "$LINENO"
16349 then :
16350 ac_cv_lib_sane_sane_init=yes
16351 else $as_nop
16352 ac_cv_lib_sane_sane_init=no
16354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16355 conftest$ac_exeext conftest.$ac_ext
16356 LIBS=$ac_check_lib_save_LIBS
16358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16359 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16360 if test "x$ac_cv_lib_sane_sane_init" = xyes
16361 then :
16367 CPPFLAGS=$ac_save_CPPFLAGS
16370 if test "$ac_cv_lib_sane_sane_init" != "yes"
16371 then :
16372 case "x$with_sane" in
16373 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16374 xno) ;;
16375 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16376 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16377 esac
16378 enable_sane_ds=${enable_sane_ds:-no}
16381 if test "x$with_usb" != "xno"
16382 then
16383 if ${USB_CFLAGS:+false} :
16384 then :
16385 if test ${PKG_CONFIG+y}
16386 then :
16387 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16391 if ${USB_LIBS:+false} :
16392 then :
16393 if test ${PKG_CONFIG+y}
16394 then :
16395 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16399 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16402 ac_save_CPPFLAGS=$CPPFLAGS
16403 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16404 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16405 if test "x$ac_cv_header_libusb_h" = xyes
16406 then :
16407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16408 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16409 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16410 then :
16411 printf %s "(cached) " >&6
16412 else $as_nop
16413 ac_check_lib_save_LIBS=$LIBS
16414 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16418 /* Override any GCC internal prototype to avoid an error.
16419 Use char because int might match the return type of a GCC
16420 builtin and then its argument prototype would still apply. */
16421 char libusb_interrupt_event_handler ();
16423 main (void)
16425 return libusb_interrupt_event_handler ();
16427 return 0;
16429 _ACEOF
16430 if ac_fn_c_try_link "$LINENO"
16431 then :
16432 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16433 else $as_nop
16434 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16437 conftest$ac_exeext conftest.$ac_ext
16438 LIBS=$ac_check_lib_save_LIBS
16440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16441 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16442 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16443 then :
16445 else $as_nop
16446 USB_LIBS=""
16449 else $as_nop
16450 USB_LIBS=""
16453 CPPFLAGS=$ac_save_CPPFLAGS
16456 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16457 then :
16458 case "x$with_usb" in
16459 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16460 xno) ;;
16461 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16462 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16463 esac
16464 enable_wineusb_sys=${enable_wineusb_sys:-no}
16467 if test "x$with_v4l2" != "xno"
16468 then
16469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16470 printf %s "checking for -lv4l2... " >&6; }
16471 if test ${ac_cv_lib_soname_v4l2+y}
16472 then :
16473 printf %s "(cached) " >&6
16474 else $as_nop
16475 ac_check_soname_save_LIBS=$LIBS
16476 LIBS="-lv4l2 $LIBS"
16477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16478 /* end confdefs.h. */
16480 /* Override any GCC internal prototype to avoid an error.
16481 Use char because int might match the return type of a GCC
16482 builtin and then its argument prototype would still apply. */
16483 char v4l2_open ();
16485 main (void)
16487 return v4l2_open ();
16489 return 0;
16491 _ACEOF
16492 if ac_fn_c_try_link "$LINENO"
16493 then :
16494 case "$LIBEXT" in
16495 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16496 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'` ;;
16497 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16498 if ${ac_cv_lib_soname_v4l2:+false} :
16499 then :
16500 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16501 fi ;;
16502 esac
16503 else $as_nop
16504 ac_cv_lib_soname_v4l2=
16506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16507 conftest$ac_exeext conftest.$ac_ext
16508 LIBS=$ac_check_soname_save_LIBS
16510 if ${ac_cv_lib_soname_v4l2:+false} :
16511 then :
16512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16513 printf "%s\n" "not found" >&6; }
16515 else $as_nop
16516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16517 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16519 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16524 if test "x$ac_cv_lib_soname_v4l2" = "x"
16525 then :
16526 case "x$with_v4l2" in
16527 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16528 xno) ;;
16529 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16530 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16531 esac
16535 if test "x$with_gphoto" != "xno"
16536 then
16537 if ${GPHOTO2_CFLAGS:+false} :
16538 then :
16539 if test ${PKG_CONFIG+y}
16540 then :
16541 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16544 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16545 if ${GPHOTO2_LIBS:+false} :
16546 then :
16547 if test ${PKG_CONFIG+y}
16548 then :
16549 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16552 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16553 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16556 ac_save_CPPFLAGS=$CPPFLAGS
16557 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16558 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16559 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16560 then :
16561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16562 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16563 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16564 then :
16565 printf %s "(cached) " >&6
16566 else $as_nop
16567 ac_check_lib_save_LIBS=$LIBS
16568 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16570 /* end confdefs.h. */
16572 /* Override any GCC internal prototype to avoid an error.
16573 Use char because int might match the return type of a GCC
16574 builtin and then its argument prototype would still apply. */
16575 char gp_camera_new ();
16577 main (void)
16579 return gp_camera_new ();
16581 return 0;
16583 _ACEOF
16584 if ac_fn_c_try_link "$LINENO"
16585 then :
16586 ac_cv_lib_gphoto2_gp_camera_new=yes
16587 else $as_nop
16588 ac_cv_lib_gphoto2_gp_camera_new=no
16590 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16591 conftest$ac_exeext conftest.$ac_ext
16592 LIBS=$ac_check_lib_save_LIBS
16594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16595 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16596 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16597 then :
16603 CPPFLAGS=$ac_save_CPPFLAGS
16605 if ${GPHOTO2_PORT_CFLAGS:+false} :
16606 then :
16607 if test ${PKG_CONFIG+y}
16608 then :
16609 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16612 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16613 if ${GPHOTO2_PORT_LIBS:+false} :
16614 then :
16615 if test ${PKG_CONFIG+y}
16616 then :
16617 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16620 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16621 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16623 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16624 ac_save_CPPFLAGS=$CPPFLAGS
16625 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16626 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16627 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16628 then :
16629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16630 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16631 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16632 then :
16633 printf %s "(cached) " >&6
16634 else $as_nop
16635 ac_check_lib_save_LIBS=$LIBS
16636 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16638 /* end confdefs.h. */
16640 /* Override any GCC internal prototype to avoid an error.
16641 Use char because int might match the return type of a GCC
16642 builtin and then its argument prototype would still apply. */
16643 char gp_port_info_list_new ();
16645 main (void)
16647 return gp_port_info_list_new ();
16649 return 0;
16651 _ACEOF
16652 if ac_fn_c_try_link "$LINENO"
16653 then :
16654 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16655 else $as_nop
16656 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16659 conftest$ac_exeext conftest.$ac_ext
16660 LIBS=$ac_check_lib_save_LIBS
16662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16663 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16664 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16665 then :
16667 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16669 else $as_nop
16670 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16673 else $as_nop
16674 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16677 CPPFLAGS=$ac_save_CPPFLAGS
16680 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16681 then :
16682 case "x$with_gphoto" in
16683 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16684 xno) ;;
16685 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16686 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16687 esac
16688 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16690 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16691 then :
16692 case "x$with_gphoto" in
16693 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16694 xno) ;;
16695 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16696 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16697 esac
16702 if test "$ac_cv_header_resolv_h" = "yes"
16703 then
16704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16705 printf %s "checking for resolver library... " >&6; }
16706 if test ${ac_cv_have_resolv+y}
16707 then :
16708 printf %s "(cached) " >&6
16709 else $as_nop
16710 ac_save_LIBS="$LIBS"
16711 for lib in '' -lresolv
16713 LIBS="$lib $ac_save_LIBS"
16714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16715 /* end confdefs.h. */
16716 #ifdef HAVE_NETINET_IN_H
16717 #include <netinet/in.h>
16718 #endif
16719 #include <resolv.h>
16721 main (void)
16723 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16725 return 0;
16727 _ACEOF
16728 if ac_fn_c_try_link "$LINENO"
16729 then :
16730 ac_cv_have_resolv=${lib:-"none required"}
16731 else $as_nop
16732 ac_cv_have_resolv="not found"
16734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16735 conftest$ac_exeext conftest.$ac_ext
16736 test "x$ac_cv_have_resolv" = "xnot found" || break
16737 done
16738 LIBS="$ac_save_LIBS"
16740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16741 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16743 case "$ac_cv_have_resolv" in
16744 "not found") ;;
16745 "none required")
16747 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16750 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16752 RESOLV_LIBS=$ac_cv_have_resolv
16754 esac
16756 if test "x$ac_cv_have_resolv" != "xnot found"
16757 then
16758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16759 printf %s "checking for res_getservers... " >&6; }
16760 if test ${ac_cv_have_res_getservers+y}
16761 then :
16762 printf %s "(cached) " >&6
16763 else $as_nop
16764 ac_save_LIBS="$LIBS"
16765 LIBS="$RESOLV_LIBS $LIBS"
16766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16767 /* end confdefs.h. */
16768 #include <resolv.h>
16770 main (void)
16772 res_getservers(NULL, NULL, 0);
16774 return 0;
16776 _ACEOF
16777 if ac_fn_c_try_link "$LINENO"
16778 then :
16779 ac_cv_have_res_getservers=yes
16780 else $as_nop
16781 ac_cv_have_res_getservers=no
16783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16784 conftest$ac_exeext conftest.$ac_ext
16785 LIBS="$ac_save_LIBS"
16787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16788 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16789 if test "$ac_cv_have_res_getservers" = "yes"
16790 then
16792 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16798 if test "x$with_freetype" != "xno"
16799 then
16800 if ${FREETYPE_CFLAGS:+false} :
16801 then :
16802 if test ${PKG_CONFIG+y}
16803 then :
16804 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16807 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16808 if ${FREETYPE_LIBS:+false} :
16809 then :
16810 if test ${PKG_CONFIG+y}
16811 then :
16812 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16815 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16816 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16819 ac_save_CPPFLAGS=$CPPFLAGS
16820 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16821 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16822 if test "x$ac_cv_header_ft2build_h" = xyes
16823 then :
16824 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16828 if test "$ac_cv_header_ft2build_h" = "yes"
16829 then
16830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16831 printf %s "checking for -lfreetype... " >&6; }
16832 if test ${ac_cv_lib_soname_freetype+y}
16833 then :
16834 printf %s "(cached) " >&6
16835 else $as_nop
16836 ac_check_soname_save_LIBS=$LIBS
16837 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16839 /* end confdefs.h. */
16841 /* Override any GCC internal prototype to avoid an error.
16842 Use char because int might match the return type of a GCC
16843 builtin and then its argument prototype would still apply. */
16844 char FT_Init_FreeType ();
16846 main (void)
16848 return FT_Init_FreeType ();
16850 return 0;
16852 _ACEOF
16853 if ac_fn_c_try_link "$LINENO"
16854 then :
16855 case "$LIBEXT" in
16856 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16857 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'` ;;
16858 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16859 if ${ac_cv_lib_soname_freetype:+false} :
16860 then :
16861 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16862 fi ;;
16863 esac
16864 else $as_nop
16865 ac_cv_lib_soname_freetype=
16867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16868 conftest$ac_exeext conftest.$ac_ext
16869 LIBS=$ac_check_soname_save_LIBS
16871 if ${ac_cv_lib_soname_freetype:+false} :
16872 then :
16873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16874 printf "%s\n" "not found" >&6; }
16875 FREETYPE_LIBS=""
16876 else $as_nop
16877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16878 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16880 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16883 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16885 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16886 #include FT_MODULE_H
16888 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16889 then :
16891 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16897 else
16898 FREETYPE_CFLAGS=""
16899 FREETYPE_LIBS=""
16901 CPPFLAGS=$ac_save_CPPFLAGS
16904 if test "x$ac_cv_lib_soname_freetype" = x
16905 then :
16906 case "x$with_freetype" in
16907 xno) ;;
16908 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16909 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16910 esac
16911 enable_fonts=${enable_fonts:-no}
16914 ac_wine_check_funcs_save_LIBS="$LIBS"
16915 LIBS="$LIBS $PTHREAD_LIBS"
16916 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16917 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16918 then :
16919 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16923 LIBS="$ac_wine_check_funcs_save_LIBS"
16925 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16926 then
16927 if test "$ac_cv_header_gettext_po_h" = "yes"
16928 then
16929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16930 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16931 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16932 then :
16933 printf %s "(cached) " >&6
16934 else $as_nop
16935 ac_check_lib_save_LIBS=$LIBS
16936 LIBS="-lgettextpo $LIBS"
16937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16938 /* end confdefs.h. */
16940 /* Override any GCC internal prototype to avoid an error.
16941 Use char because int might match the return type of a GCC
16942 builtin and then its argument prototype would still apply. */
16943 char po_message_msgctxt ();
16945 main (void)
16947 return po_message_msgctxt ();
16949 return 0;
16951 _ACEOF
16952 if ac_fn_c_try_link "$LINENO"
16953 then :
16954 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16955 else $as_nop
16956 ac_cv_lib_gettextpo_po_message_msgctxt=no
16958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16959 conftest$ac_exeext conftest.$ac_ext
16960 LIBS=$ac_check_lib_save_LIBS
16962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16963 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16964 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16965 then :
16967 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16969 GETTEXTPO_LIBS="-lgettextpo"
16974 if test "x$GETTEXTPO_LIBS" = "x"
16975 then :
16976 case "x$with_gettextpo" in
16977 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16978 xno) ;;
16979 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16980 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16981 esac
16984 if test "$srcdir" != .
16985 then :
16986 case "x$with_gettextpo" in
16987 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16988 xno) ;;
16989 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16990 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16991 esac
16996 if test "x$with_pulse" != "xno";
16997 then
16998 if ${PULSE_CFLAGS:+false} :
16999 then :
17000 if test ${PKG_CONFIG+y}
17001 then :
17002 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
17006 if ${PULSE_LIBS:+false} :
17007 then :
17008 if test ${PKG_CONFIG+y}
17009 then :
17010 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17015 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17017 ac_save_CPPFLAGS=$CPPFLAGS
17018 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17019 for ac_header in pulse/pulseaudio.h
17020 do :
17021 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17022 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17023 then :
17024 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17026 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17027 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17028 then :
17029 printf %s "(cached) " >&6
17030 else $as_nop
17031 ac_check_lib_save_LIBS=$LIBS
17032 LIBS="-lpulse $PULSE_LIBS $LIBS"
17033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17034 /* end confdefs.h. */
17036 /* Override any GCC internal prototype to avoid an error.
17037 Use char because int might match the return type of a GCC
17038 builtin and then its argument prototype would still apply. */
17039 char pa_stream_is_corked ();
17041 main (void)
17043 return pa_stream_is_corked ();
17045 return 0;
17047 _ACEOF
17048 if ac_fn_c_try_link "$LINENO"
17049 then :
17050 ac_cv_lib_pulse_pa_stream_is_corked=yes
17051 else $as_nop
17052 ac_cv_lib_pulse_pa_stream_is_corked=no
17054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17055 conftest$ac_exeext conftest.$ac_ext
17056 LIBS=$ac_check_lib_save_LIBS
17058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17059 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17060 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17061 then :
17063 else $as_nop
17064 PULSE_LIBS=""
17067 else $as_nop
17068 PULSE_LIBS=""
17071 done
17072 CPPFLAGS=$ac_save_CPPFLAGS
17075 if test -z "$PULSE_LIBS"
17076 then :
17077 case "x$with_pulse" in
17078 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17079 xno) ;;
17080 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17081 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17082 esac
17083 enable_winepulse_drv=${enable_winepulse_drv:-no}
17086 if test "x$with_gstreamer" != "xno"
17087 then
17088 if ${GSTREAMER_CFLAGS:+false} :
17089 then :
17090 if test ${PKG_CONFIG+y}
17091 then :
17092 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17096 if ${GSTREAMER_LIBS:+false} :
17097 then :
17098 if test ${PKG_CONFIG+y}
17099 then :
17100 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17107 ac_save_CPPFLAGS=$CPPFLAGS
17108 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17109 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17110 if test "x$ac_cv_header_gst_gst_h" = xyes
17111 then :
17112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17113 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17116 #include <gst/gst.h>
17118 main (void)
17120 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17122 return 0;
17124 _ACEOF
17125 if ac_fn_c_try_compile "$LINENO"
17126 then :
17127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17128 printf "%s\n" "yes" >&6; }
17129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17130 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17131 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17132 then :
17133 printf %s "(cached) " >&6
17134 else $as_nop
17135 ac_check_lib_save_LIBS=$LIBS
17136 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17140 /* Override any GCC internal prototype to avoid an error.
17141 Use char because int might match the return type of a GCC
17142 builtin and then its argument prototype would still apply. */
17143 char gst_pad_new ();
17145 main (void)
17147 return gst_pad_new ();
17149 return 0;
17151 _ACEOF
17152 if ac_fn_c_try_link "$LINENO"
17153 then :
17154 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17155 else $as_nop
17156 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17159 conftest$ac_exeext conftest.$ac_ext
17160 LIBS=$ac_check_lib_save_LIBS
17162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17163 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17164 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17165 then :
17169 else $as_nop
17170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17171 printf "%s\n" "no" >&6; }
17172 ac_glib2_broken=yes
17173 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17175 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17178 CPPFLAGS=$ac_save_CPPFLAGS
17181 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17182 then :
17183 case "x$with_gstreamer" in
17184 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17185 xno) ;;
17186 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17187 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17188 esac
17189 enable_winegstreamer=${enable_winegstreamer:-no}
17192 ALSA_LIBS=""
17194 if test "x$with_alsa" != "xno"
17195 then
17196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17197 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17198 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17199 then :
17200 printf %s "(cached) " >&6
17201 else $as_nop
17202 ac_check_lib_save_LIBS=$LIBS
17203 LIBS="-lasound $LIBS"
17204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17205 /* end confdefs.h. */
17207 /* Override any GCC internal prototype to avoid an error.
17208 Use char because int might match the return type of a GCC
17209 builtin and then its argument prototype would still apply. */
17210 char snd_pcm_hw_params_get_access_mask ();
17212 main (void)
17214 return snd_pcm_hw_params_get_access_mask ();
17216 return 0;
17218 _ACEOF
17219 if ac_fn_c_try_link "$LINENO"
17220 then :
17221 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17222 else $as_nop
17223 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17226 conftest$ac_exeext conftest.$ac_ext
17227 LIBS=$ac_check_lib_save_LIBS
17229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17230 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17231 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17232 then :
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 #include <alsa/asoundlib.h>
17237 main (void)
17239 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17241 return 0;
17243 _ACEOF
17244 if ac_fn_c_try_compile "$LINENO"
17245 then :
17246 ALSA_LIBS="-lasound"
17248 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17252 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17254 if test "x$with_oss" != xno
17255 then
17256 ac_save_CPPFLAGS="$CPPFLAGS"
17257 if test -f /etc/oss.conf
17258 then
17259 . /etc/oss.conf
17261 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17262 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17263 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17264 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17265 then :
17266 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17268 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17269 then :
17271 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17273 OSS4_CFLAGS="$ac_oss_incl"
17275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17276 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17277 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17278 then :
17279 printf %s "(cached) " >&6
17280 else $as_nop
17281 ac_check_lib_save_LIBS=$LIBS
17282 LIBS="-lossaudio $LIBS"
17283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17284 /* end confdefs.h. */
17286 /* Override any GCC internal prototype to avoid an error.
17287 Use char because int might match the return type of a GCC
17288 builtin and then its argument prototype would still apply. */
17289 char _oss_ioctl ();
17291 main (void)
17293 return _oss_ioctl ();
17295 return 0;
17297 _ACEOF
17298 if ac_fn_c_try_link "$LINENO"
17299 then :
17300 ac_cv_lib_ossaudio__oss_ioctl=yes
17301 else $as_nop
17302 ac_cv_lib_ossaudio__oss_ioctl=no
17304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17305 conftest$ac_exeext conftest.$ac_ext
17306 LIBS=$ac_check_lib_save_LIBS
17308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17309 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17310 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17311 then :
17312 OSS4_LIBS="-lossaudio"
17320 CPPFLAGS="$ac_save_CPPFLAGS"
17322 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17323 then :
17324 case "x$with_oss" in
17325 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17326 xno) ;;
17327 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17328 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17329 esac
17330 enable_wineoss_drv=${enable_wineoss_drv:-no}
17333 if test "x$with_udev" != "xno"
17334 then
17335 if ${UDEV_CFLAGS:+false} :
17336 then :
17337 if test ${PKG_CONFIG+y}
17338 then :
17339 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17343 if ${UDEV_LIBS:+false} :
17344 then :
17345 if test ${PKG_CONFIG+y}
17346 then :
17347 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17351 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17354 ac_save_CPPFLAGS=$CPPFLAGS
17355 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17356 for ac_header in libudev.h
17357 do :
17358 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17359 if test "x$ac_cv_header_libudev_h" = xyes
17360 then :
17361 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17363 printf %s "checking for udev_new in -ludev... " >&6; }
17364 if test ${ac_cv_lib_udev_udev_new+y}
17365 then :
17366 printf %s "(cached) " >&6
17367 else $as_nop
17368 ac_check_lib_save_LIBS=$LIBS
17369 LIBS="-ludev $UDEV_LIBS $LIBS"
17370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17371 /* end confdefs.h. */
17373 /* Override any GCC internal prototype to avoid an error.
17374 Use char because int might match the return type of a GCC
17375 builtin and then its argument prototype would still apply. */
17376 char udev_new ();
17378 main (void)
17380 return udev_new ();
17382 return 0;
17384 _ACEOF
17385 if ac_fn_c_try_link "$LINENO"
17386 then :
17387 ac_cv_lib_udev_udev_new=yes
17388 else $as_nop
17389 ac_cv_lib_udev_udev_new=no
17391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17392 conftest$ac_exeext conftest.$ac_ext
17393 LIBS=$ac_check_lib_save_LIBS
17395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17396 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17397 if test "x$ac_cv_lib_udev_udev_new" = xyes
17398 then :
17400 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17402 else $as_nop
17403 UDEV_LIBS=""
17406 else $as_nop
17407 UDEV_LIBS=""
17410 done
17411 CPPFLAGS=$ac_save_CPPFLAGS
17414 if test "x$UDEV_LIBS" = "x"
17415 then :
17416 case "x$with_udev" in
17417 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17418 xno) ;;
17419 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17420 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17421 esac
17425 if test "x$with_unwind" != xno
17426 then
17427 if ${UNWIND_CFLAGS:+false} :
17428 then :
17429 if test ${PKG_CONFIG+y}
17430 then :
17431 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17435 if ${UNWIND_LIBS:+false} :
17436 then :
17437 if test ${PKG_CONFIG+y}
17438 then :
17439 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17443 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17446 ac_save_CPPFLAGS=$CPPFLAGS
17447 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17449 printf %s "checking for unw_step... " >&6; }
17450 if test ${wine_cv_have_unw_step+y}
17451 then :
17452 printf %s "(cached) " >&6
17453 else $as_nop
17454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17455 /* end confdefs.h. */
17456 #define UNW_LOCAL_ONLY
17457 #include <libunwind.h>
17459 main (void)
17461 unw_cursor_t cursor; unw_step( &cursor );
17463 return 0;
17465 _ACEOF
17466 if ac_fn_c_try_link "$LINENO"
17467 then :
17468 wine_cv_have_unw_step="yes"
17469 else $as_nop
17470 wine_cv_have_unw_step="no"
17472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17473 conftest$ac_exeext conftest.$ac_ext
17475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17476 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17477 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17478 then
17479 save_libs=$LIBS
17480 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17481 LIBS="$UNWIND_LIBS $LIBS"
17482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17483 printf %s "checking for unw_step in libunwind... " >&6; }
17484 if test ${wine_cv_have_libunwind_unw_step+y}
17485 then :
17486 printf %s "(cached) " >&6
17487 else $as_nop
17488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17489 /* end confdefs.h. */
17490 #define UNW_LOCAL_ONLY
17491 #include <libunwind.h>
17493 main (void)
17495 unw_cursor_t cursor; unw_step( &cursor );
17497 return 0;
17499 _ACEOF
17500 if ac_fn_c_try_link "$LINENO"
17501 then :
17502 wine_cv_have_libunwind_unw_step="yes"
17503 else $as_nop
17504 wine_cv_have_libunwind_unw_step="no"
17506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17507 conftest$ac_exeext conftest.$ac_ext
17509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17510 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17511 LIBS=$save_libs
17513 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17514 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17515 then
17517 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17520 CPPFLAGS=$ac_save_CPPFLAGS
17523 case $host in
17524 aarch64*|*-darwin*)
17525 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17526 then :
17527 case "x$with_unwind" in
17528 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17529 xno) ;;
17530 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17531 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17532 esac
17534 fi ;;
17535 esac
17537 if test "x$with_sdl" != "xno"
17538 then
17539 if ${SDL2_CFLAGS:+false} :
17540 then :
17541 if test ${PKG_CONFIG+y}
17542 then :
17543 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17547 if ${SDL2_LIBS:+false} :
17548 then :
17549 if test ${PKG_CONFIG+y}
17550 then :
17551 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17555 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17556 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17558 ac_save_CPPFLAGS=$CPPFLAGS
17559 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17560 for ac_header in SDL.h
17561 do :
17562 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17563 if test "x$ac_cv_header_SDL_h" = xyes
17564 then :
17565 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17567 printf %s "checking for -lSDL2... " >&6; }
17568 if test ${ac_cv_lib_soname_SDL2+y}
17569 then :
17570 printf %s "(cached) " >&6
17571 else $as_nop
17572 ac_check_soname_save_LIBS=$LIBS
17573 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17575 /* end confdefs.h. */
17577 /* Override any GCC internal prototype to avoid an error.
17578 Use char because int might match the return type of a GCC
17579 builtin and then its argument prototype would still apply. */
17580 char SDL_Init ();
17582 main (void)
17584 return SDL_Init ();
17586 return 0;
17588 _ACEOF
17589 if ac_fn_c_try_link "$LINENO"
17590 then :
17591 case "$LIBEXT" in
17592 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17593 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'` ;;
17594 *) 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'`
17595 if ${ac_cv_lib_soname_SDL2:+false} :
17596 then :
17597 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17598 fi ;;
17599 esac
17600 else $as_nop
17601 ac_cv_lib_soname_SDL2=
17603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17604 conftest$ac_exeext conftest.$ac_ext
17605 LIBS=$ac_check_soname_save_LIBS
17607 if ${ac_cv_lib_soname_SDL2:+false} :
17608 then :
17609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17610 printf "%s\n" "not found" >&6; }
17612 else $as_nop
17613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17614 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17616 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17622 done
17623 CPPFLAGS=$ac_save_CPPFLAGS
17626 if test "x$ac_cv_lib_soname_SDL2" = "x"
17627 then :
17628 case "x$with_sdl" in
17629 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17630 xno) ;;
17631 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17632 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17633 esac
17637 if test "x$with_capi" != "xno"
17638 then
17639 if ${CAPI20_CFLAGS:+false} :
17640 then :
17641 if test ${PKG_CONFIG+y}
17642 then :
17643 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17647 if ${CAPI20_LIBS:+false} :
17648 then :
17649 if test ${PKG_CONFIG+y}
17650 then :
17651 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17656 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17657 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17658 ac_save_CPPFLAGS=$CPPFLAGS
17659 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17660 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17662 if test "x$ac_cv_header_capi20_h" = xyes
17663 then :
17664 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17667 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17669 if test "x$ac_cv_header_linux_capi_h" = xyes
17670 then :
17671 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17675 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17676 then
17677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17678 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17679 if test ${ac_cv_lib_capi20_capi20_register+y}
17680 then :
17681 printf %s "(cached) " >&6
17682 else $as_nop
17683 ac_check_lib_save_LIBS=$LIBS
17684 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h. */
17688 /* Override any GCC internal prototype to avoid an error.
17689 Use char because int might match the return type of a GCC
17690 builtin and then its argument prototype would still apply. */
17691 char capi20_register ();
17693 main (void)
17695 return capi20_register ();
17697 return 0;
17699 _ACEOF
17700 if ac_fn_c_try_link "$LINENO"
17701 then :
17702 ac_cv_lib_capi20_capi20_register=yes
17703 else $as_nop
17704 ac_cv_lib_capi20_capi20_register=no
17706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17707 conftest$ac_exeext conftest.$ac_ext
17708 LIBS=$ac_check_lib_save_LIBS
17710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17711 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17712 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17713 then :
17715 else $as_nop
17716 CAPI20_LIBS=""
17720 CPPFLAGS=$ac_save_CPPFLAGS
17723 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17724 then :
17725 case "x$with_capi" in
17726 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17727 xno) ;;
17728 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17729 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17730 esac
17731 enable_capi2032=${enable_capi2032:-no}
17734 if test "x$with_cups" != "xno"
17735 then
17736 if ${CUPS_CFLAGS:+false} :
17737 then :
17738 if test ${PKG_CONFIG+y}
17739 then :
17740 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17743 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17744 if ${CUPS_LIBS:+false} :
17745 then :
17746 if test ${PKG_CONFIG+y}
17747 then :
17748 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17751 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17752 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17755 ac_save_CPPFLAGS=$CPPFLAGS
17756 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17757 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17758 if test "x$ac_cv_header_cups_cups_h" = xyes
17759 then :
17760 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17763 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17764 if test "x$ac_cv_header_cups_ppd_h" = xyes
17765 then :
17766 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17770 if test "$ac_cv_header_cups_cups_h" = "yes"
17771 then
17772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17773 printf %s "checking for -lcups... " >&6; }
17774 if test ${ac_cv_lib_soname_cups+y}
17775 then :
17776 printf %s "(cached) " >&6
17777 else $as_nop
17778 ac_check_soname_save_LIBS=$LIBS
17779 LIBS="-lcups $CUPS_LIBS $LIBS"
17780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17781 /* end confdefs.h. */
17783 /* Override any GCC internal prototype to avoid an error.
17784 Use char because int might match the return type of a GCC
17785 builtin and then its argument prototype would still apply. */
17786 char cupsGetDefault ();
17788 main (void)
17790 return cupsGetDefault ();
17792 return 0;
17794 _ACEOF
17795 if ac_fn_c_try_link "$LINENO"
17796 then :
17797 case "$LIBEXT" in
17798 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17799 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'` ;;
17800 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17801 if ${ac_cv_lib_soname_cups:+false} :
17802 then :
17803 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17804 fi ;;
17805 esac
17806 else $as_nop
17807 ac_cv_lib_soname_cups=
17809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17810 conftest$ac_exeext conftest.$ac_ext
17811 LIBS=$ac_check_soname_save_LIBS
17813 if ${ac_cv_lib_soname_cups:+false} :
17814 then :
17815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17816 printf "%s\n" "not found" >&6; }
17817 CUPS_LIBS=""
17818 else $as_nop
17819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17820 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17822 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17826 else
17827 CUPS_CFLAGS=""
17828 CUPS_LIBS=""
17830 CPPFLAGS=$ac_save_CPPFLAGS
17833 if test "x$ac_cv_lib_soname_cups" = "x"
17834 then :
17835 case "x$with_cups" in
17836 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17837 xno) ;;
17838 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17839 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17840 esac
17844 if test "x$with_fontconfig" != "xno"
17845 then
17846 if ${FONTCONFIG_CFLAGS:+false} :
17847 then :
17848 if test ${PKG_CONFIG+y}
17849 then :
17850 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17853 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17854 if ${FONTCONFIG_LIBS:+false} :
17855 then :
17856 if test ${PKG_CONFIG+y}
17857 then :
17858 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17861 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17865 ac_save_CPPFLAGS=$CPPFLAGS
17866 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17867 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17868 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17869 then :
17870 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17874 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17875 then
17876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17877 printf %s "checking for -lfontconfig... " >&6; }
17878 if test ${ac_cv_lib_soname_fontconfig+y}
17879 then :
17880 printf %s "(cached) " >&6
17881 else $as_nop
17882 ac_check_soname_save_LIBS=$LIBS
17883 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17885 /* end confdefs.h. */
17887 /* Override any GCC internal prototype to avoid an error.
17888 Use char because int might match the return type of a GCC
17889 builtin and then its argument prototype would still apply. */
17890 char FcInit ();
17892 main (void)
17894 return FcInit ();
17896 return 0;
17898 _ACEOF
17899 if ac_fn_c_try_link "$LINENO"
17900 then :
17901 case "$LIBEXT" in
17902 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17903 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'` ;;
17904 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17905 if ${ac_cv_lib_soname_fontconfig:+false} :
17906 then :
17907 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17908 fi ;;
17909 esac
17910 else $as_nop
17911 ac_cv_lib_soname_fontconfig=
17913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17914 conftest$ac_exeext conftest.$ac_ext
17915 LIBS=$ac_check_soname_save_LIBS
17917 if ${ac_cv_lib_soname_fontconfig:+false} :
17918 then :
17919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17920 printf "%s\n" "not found" >&6; }
17921 FONTCONFIG_CFLAGS=""
17922 else $as_nop
17923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17924 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17926 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17930 else
17931 FONTCONFIG_CFLAGS=""
17933 CPPFLAGS=$ac_save_CPPFLAGS
17936 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17937 then :
17938 case "x$with_fontconfig" in
17939 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17940 xno) ;;
17941 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17942 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17943 esac
17947 if test "x$with_krb5" != "xno"
17948 then
17949 if ${KRB5_CFLAGS:+false} :
17950 then :
17951 if test ${PKG_CONFIG+y}
17952 then :
17953 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17956 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17957 if ${KRB5_LIBS:+false} :
17958 then :
17959 if test ${PKG_CONFIG+y}
17960 then :
17961 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17964 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17968 ac_save_CPPFLAGS=$CPPFLAGS
17969 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17970 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17971 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17972 then :
17973 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17977 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17978 then
17979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17980 printf %s "checking for -lkrb5... " >&6; }
17981 if test ${ac_cv_lib_soname_krb5+y}
17982 then :
17983 printf %s "(cached) " >&6
17984 else $as_nop
17985 ac_check_soname_save_LIBS=$LIBS
17986 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h. */
17990 /* Override any GCC internal prototype to avoid an error.
17991 Use char because int might match the return type of a GCC
17992 builtin and then its argument prototype would still apply. */
17993 char krb5_is_config_principal ();
17995 main (void)
17997 return krb5_is_config_principal ();
17999 return 0;
18001 _ACEOF
18002 if ac_fn_c_try_link "$LINENO"
18003 then :
18004 case "$LIBEXT" in
18005 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18006 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'` ;;
18007 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18008 if ${ac_cv_lib_soname_krb5:+false} :
18009 then :
18010 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18011 fi ;;
18012 esac
18013 else $as_nop
18014 ac_cv_lib_soname_krb5=
18016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18017 conftest$ac_exeext conftest.$ac_ext
18018 LIBS=$ac_check_soname_save_LIBS
18020 if ${ac_cv_lib_soname_krb5:+false} :
18021 then :
18022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18023 printf "%s\n" "not found" >&6; }
18024 KRB5_CFLAGS=""
18025 else $as_nop
18026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18027 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18029 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18033 else
18034 KRB5_CFLAGS=""
18036 CPPFLAGS=$ac_save_CPPFLAGS
18039 if test "x$ac_cv_lib_soname_krb5" = "x"
18040 then :
18041 case "x$with_krb5" in
18042 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18043 xno) ;;
18044 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18045 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18046 esac
18049 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18051 if test "x$with_gssapi" != "xno"
18052 then
18053 if ${GSSAPI_CFLAGS:+false} :
18054 then :
18055 if test ${PKG_CONFIG+y}
18056 then :
18057 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
18060 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18061 if ${GSSAPI_LIBS:+false} :
18062 then :
18063 if test ${PKG_CONFIG+y}
18064 then :
18065 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18068 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18071 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18072 ac_save_CPPFLAGS=$CPPFLAGS
18073 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18074 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18075 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18076 then :
18077 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18080 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18081 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18082 then :
18083 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18087 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18088 then
18089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18090 printf %s "checking for -lgssapi_krb5... " >&6; }
18091 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18092 then :
18093 printf %s "(cached) " >&6
18094 else $as_nop
18095 ac_check_soname_save_LIBS=$LIBS
18096 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18098 /* end confdefs.h. */
18100 /* Override any GCC internal prototype to avoid an error.
18101 Use char because int might match the return type of a GCC
18102 builtin and then its argument prototype would still apply. */
18103 char gss_init_sec_context ();
18105 main (void)
18107 return gss_init_sec_context ();
18109 return 0;
18111 _ACEOF
18112 if ac_fn_c_try_link "$LINENO"
18113 then :
18114 case "$LIBEXT" in
18115 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18116 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'` ;;
18117 *) 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'`
18118 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18119 then :
18120 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18121 fi ;;
18122 esac
18123 else $as_nop
18124 ac_cv_lib_soname_gssapi_krb5=
18126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18127 conftest$ac_exeext conftest.$ac_ext
18128 LIBS=$ac_check_soname_save_LIBS
18130 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18131 then :
18132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18133 printf "%s\n" "not found" >&6; }
18134 GSSAPI_CFLAGS=""
18135 else $as_nop
18136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18137 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18139 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18143 else
18144 GSSAPI_CFLAGS=""
18146 CPPFLAGS=$ac_save_CPPFLAGS
18149 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18150 then :
18151 case "x$with_gssapi" in
18152 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18153 xno) ;;
18154 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18155 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18156 esac
18160 if test "$ac_cv_header_AL_al_h" = "yes"
18161 then
18162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18163 printf %s "checking for -lopenal... " >&6; }
18164 if test ${ac_cv_lib_soname_openal+y}
18165 then :
18166 printf %s "(cached) " >&6
18167 else $as_nop
18168 ac_check_soname_save_LIBS=$LIBS
18169 LIBS="-lopenal $LIBS"
18170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18171 /* end confdefs.h. */
18173 /* Override any GCC internal prototype to avoid an error.
18174 Use char because int might match the return type of a GCC
18175 builtin and then its argument prototype would still apply. */
18176 char alGetSource3i ();
18178 main (void)
18180 return alGetSource3i ();
18182 return 0;
18184 _ACEOF
18185 if ac_fn_c_try_link "$LINENO"
18186 then :
18187 case "$LIBEXT" in
18188 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18189 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'` ;;
18190 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18191 if ${ac_cv_lib_soname_openal:+false} :
18192 then :
18193 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18194 fi ;;
18195 esac
18196 else $as_nop
18197 ac_cv_lib_soname_openal=
18199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18200 conftest$ac_exeext conftest.$ac_ext
18201 LIBS=$ac_check_soname_save_LIBS
18203 if ${ac_cv_lib_soname_openal:+false} :
18204 then :
18205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18206 printf "%s\n" "not found" >&6; }
18208 else $as_nop
18209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18210 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18212 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18214 OPENAL_LIBS="-lopenal"
18216 ac_cv_lib_openal=yes
18218 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18222 if test "x$ac_cv_lib_openal" != xyes
18223 then :
18224 case "x$with_openal" in
18225 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18226 xno) ;;
18227 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18228 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18229 esac
18230 enable_openal32=${enable_openal32:-no}
18233 if test "$ac_cv_header_libprocstat_h" = "yes"
18234 then
18235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18236 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18237 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18238 then :
18239 printf %s "(cached) " >&6
18240 else $as_nop
18241 ac_check_lib_save_LIBS=$LIBS
18242 LIBS="-lprocstat $LIBS"
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18246 /* Override any GCC internal prototype to avoid an error.
18247 Use char because int might match the return type of a GCC
18248 builtin and then its argument prototype would still apply. */
18249 char procstat_open_sysctl ();
18251 main (void)
18253 return procstat_open_sysctl ();
18255 return 0;
18257 _ACEOF
18258 if ac_fn_c_try_link "$LINENO"
18259 then :
18260 ac_cv_lib_procstat_procstat_open_sysctl=yes
18261 else $as_nop
18262 ac_cv_lib_procstat_procstat_open_sysctl=no
18264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18265 conftest$ac_exeext conftest.$ac_ext
18266 LIBS=$ac_check_lib_save_LIBS
18268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18269 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18270 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18271 then :
18273 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18275 PROCSTAT_LIBS="-lprocstat"
18281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18282 printf %s "checking for -lodbc... " >&6; }
18283 if test ${ac_cv_lib_soname_odbc+y}
18284 then :
18285 printf %s "(cached) " >&6
18286 else $as_nop
18287 ac_check_soname_save_LIBS=$LIBS
18288 LIBS="-lodbc $LIBS"
18289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18290 /* end confdefs.h. */
18292 /* Override any GCC internal prototype to avoid an error.
18293 Use char because int might match the return type of a GCC
18294 builtin and then its argument prototype would still apply. */
18295 char SQLConnect ();
18297 main (void)
18299 return SQLConnect ();
18301 return 0;
18303 _ACEOF
18304 if ac_fn_c_try_link "$LINENO"
18305 then :
18306 case "$LIBEXT" in
18307 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18308 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'` ;;
18309 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18310 if ${ac_cv_lib_soname_odbc:+false} :
18311 then :
18312 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18313 fi ;;
18314 esac
18315 else $as_nop
18316 ac_cv_lib_soname_odbc=
18318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18319 conftest$ac_exeext conftest.$ac_ext
18320 LIBS=$ac_check_soname_save_LIBS
18322 if ${ac_cv_lib_soname_odbc:+false} :
18323 then :
18324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18325 printf "%s\n" "not found" >&6; }
18326 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18328 else $as_nop
18329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18330 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18332 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18337 if test "x$with_netapi" != "xno"
18338 then
18339 if ${NETAPI_CFLAGS:+false} :
18340 then :
18341 if test ${PKG_CONFIG+y}
18342 then :
18343 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18347 if ${NETAPI_LIBS:+false} :
18348 then :
18349 if test ${PKG_CONFIG+y}
18350 then :
18351 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18358 ac_save_CPPFLAGS=$CPPFLAGS
18359 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18361 printf %s "checking for -lnetapi... " >&6; }
18362 if test ${ac_cv_lib_soname_netapi+y}
18363 then :
18364 printf %s "(cached) " >&6
18365 else $as_nop
18366 ac_check_soname_save_LIBS=$LIBS
18367 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18369 /* end confdefs.h. */
18371 /* Override any GCC internal prototype to avoid an error.
18372 Use char because int might match the return type of a GCC
18373 builtin and then its argument prototype would still apply. */
18374 char libnetapi_init ();
18376 main (void)
18378 return libnetapi_init ();
18380 return 0;
18382 _ACEOF
18383 if ac_fn_c_try_link "$LINENO"
18384 then :
18385 case "$LIBEXT" in
18386 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18387 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'` ;;
18388 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18389 if ${ac_cv_lib_soname_netapi:+false} :
18390 then :
18391 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18392 fi ;;
18393 esac
18394 else $as_nop
18395 ac_cv_lib_soname_netapi=
18397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18398 conftest$ac_exeext conftest.$ac_ext
18399 LIBS=$ac_check_soname_save_LIBS
18401 if ${ac_cv_lib_soname_netapi:+false} :
18402 then :
18403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18404 printf "%s\n" "not found" >&6; }
18405 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18407 else $as_nop
18408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18409 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18411 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18415 CPPFLAGS=$ac_save_CPPFLAGS
18418 if test "x$ac_cv_lib_soname_netapi" = "x"
18419 then :
18420 case "x$with_netapi" in
18421 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18422 xno) ;;
18423 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18424 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18425 esac
18426 enable_netapi=${enable_netapi:-no}
18430 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18431 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18432 then
18433 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18436 if test "x$with_vulkan" != "xno"
18437 then
18438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18439 printf %s "checking for -lvulkan... " >&6; }
18440 if test ${ac_cv_lib_soname_vulkan+y}
18441 then :
18442 printf %s "(cached) " >&6
18443 else $as_nop
18444 ac_check_soname_save_LIBS=$LIBS
18445 LIBS="-lvulkan $LIBS"
18446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h. */
18449 /* Override any GCC internal prototype to avoid an error.
18450 Use char because int might match the return type of a GCC
18451 builtin and then its argument prototype would still apply. */
18452 char vkGetInstanceProcAddr ();
18454 main (void)
18456 return vkGetInstanceProcAddr ();
18458 return 0;
18460 _ACEOF
18461 if ac_fn_c_try_link "$LINENO"
18462 then :
18463 case "$LIBEXT" in
18464 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18465 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'` ;;
18466 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18467 if ${ac_cv_lib_soname_vulkan:+false} :
18468 then :
18469 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18470 fi ;;
18471 esac
18472 else $as_nop
18473 ac_cv_lib_soname_vulkan=
18475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18476 conftest$ac_exeext conftest.$ac_ext
18477 LIBS=$ac_check_soname_save_LIBS
18479 if ${ac_cv_lib_soname_vulkan:+false} :
18480 then :
18481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18482 printf "%s\n" "not found" >&6; }
18484 else $as_nop
18485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18486 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18488 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18492 if test "x$ac_cv_lib_soname_vulkan" = "x"
18493 then
18494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18495 printf %s "checking for -lMoltenVK... " >&6; }
18496 if test ${ac_cv_lib_soname_MoltenVK+y}
18497 then :
18498 printf %s "(cached) " >&6
18499 else $as_nop
18500 ac_check_soname_save_LIBS=$LIBS
18501 LIBS="-lMoltenVK $LIBS"
18502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18503 /* end confdefs.h. */
18505 /* Override any GCC internal prototype to avoid an error.
18506 Use char because int might match the return type of a GCC
18507 builtin and then its argument prototype would still apply. */
18508 char vkGetInstanceProcAddr ();
18510 main (void)
18512 return vkGetInstanceProcAddr ();
18514 return 0;
18516 _ACEOF
18517 if ac_fn_c_try_link "$LINENO"
18518 then :
18519 case "$LIBEXT" in
18520 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18521 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'` ;;
18522 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18523 if ${ac_cv_lib_soname_MoltenVK:+false} :
18524 then :
18525 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18526 fi ;;
18527 esac
18528 else $as_nop
18529 ac_cv_lib_soname_MoltenVK=
18531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18532 conftest$ac_exeext conftest.$ac_ext
18533 LIBS=$ac_check_soname_save_LIBS
18535 if ${ac_cv_lib_soname_MoltenVK:+false} :
18536 then :
18537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18538 printf "%s\n" "not found" >&6; }
18540 else $as_nop
18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18542 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18544 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18550 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18551 then :
18552 case "x$with_vulkan" in
18553 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18554 xno) ;;
18555 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18556 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18557 esac
18562 if test "x${GCC}" = "xyes"
18563 then
18564 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18566 saved_CFLAGS=$CFLAGS
18567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18568 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18569 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18570 then :
18571 printf %s "(cached) " >&6
18572 else $as_nop
18573 ac_wine_try_cflags_saved=$CFLAGS
18574 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18576 /* end confdefs.h. */
18577 int main(int argc, char **argv) { return 0; }
18578 _ACEOF
18579 if ac_fn_c_try_link "$LINENO"
18580 then :
18581 ac_cv_cflags__Werror_unknown_warning_option=yes
18582 else $as_nop
18583 ac_cv_cflags__Werror_unknown_warning_option=no
18585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18586 conftest$ac_exeext conftest.$ac_ext
18587 CFLAGS=$ac_wine_try_cflags_saved
18589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18590 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18591 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18592 then :
18593 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18596 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18597 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18598 then :
18599 printf %s "(cached) " >&6
18600 else $as_nop
18601 ac_wine_try_cflags_saved=$CFLAGS
18602 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18604 /* end confdefs.h. */
18605 int main(int argc, char **argv) { return 0; }
18606 _ACEOF
18607 if ac_fn_c_try_link "$LINENO"
18608 then :
18609 ac_cv_cflags__Werror_unused_command_line_argument=yes
18610 else $as_nop
18611 ac_cv_cflags__Werror_unused_command_line_argument=no
18613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18614 conftest$ac_exeext conftest.$ac_ext
18615 CFLAGS=$ac_wine_try_cflags_saved
18617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18618 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18619 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18620 then :
18621 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18624 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18625 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18626 then :
18627 printf %s "(cached) " >&6
18628 else $as_nop
18629 ac_wine_try_cflags_saved=$CFLAGS
18630 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18632 /* end confdefs.h. */
18633 int main(int argc, char **argv) { return 0; }
18634 _ACEOF
18635 if ac_fn_c_try_link "$LINENO"
18636 then :
18637 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18638 else $as_nop
18639 ac_cv_cflags__Werror_ignored_optimization_argument=no
18641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18642 conftest$ac_exeext conftest.$ac_ext
18643 CFLAGS=$ac_wine_try_cflags_saved
18645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18646 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18647 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18648 then :
18649 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18652 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18653 if test ${ac_cv_cflags__fcf_protection_none+y}
18654 then :
18655 printf %s "(cached) " >&6
18656 else $as_nop
18657 ac_wine_try_cflags_saved=$CFLAGS
18658 CFLAGS="$CFLAGS -fcf-protection=none"
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 int main(int argc, char **argv) { return 0; }
18662 _ACEOF
18663 if ac_fn_c_try_link "$LINENO"
18664 then :
18665 ac_cv_cflags__fcf_protection_none=yes
18666 else $as_nop
18667 ac_cv_cflags__fcf_protection_none=no
18669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18670 conftest$ac_exeext conftest.$ac_ext
18671 CFLAGS=$ac_wine_try_cflags_saved
18673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18674 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18675 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18676 then :
18677 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18680 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18681 if test ${ac_cv_cflags__fno_stack_protector+y}
18682 then :
18683 printf %s "(cached) " >&6
18684 else $as_nop
18685 ac_wine_try_cflags_saved=$CFLAGS
18686 CFLAGS="$CFLAGS -fno-stack-protector"
18687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18689 int main(int argc, char **argv) { return 0; }
18690 _ACEOF
18691 if ac_fn_c_try_link "$LINENO"
18692 then :
18693 ac_cv_cflags__fno_stack_protector=yes
18694 else $as_nop
18695 ac_cv_cflags__fno_stack_protector=no
18697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18698 conftest$ac_exeext conftest.$ac_ext
18699 CFLAGS=$ac_wine_try_cflags_saved
18701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18702 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18703 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18704 then :
18705 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18708 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18709 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18710 then :
18711 printf %s "(cached) " >&6
18712 else $as_nop
18713 ac_wine_try_cflags_saved=$CFLAGS
18714 CFLAGS="$CFLAGS -fno-strict-aliasing"
18715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18716 /* end confdefs.h. */
18717 int main(int argc, char **argv) { return 0; }
18718 _ACEOF
18719 if ac_fn_c_try_link "$LINENO"
18720 then :
18721 ac_cv_cflags__fno_strict_aliasing=yes
18722 else $as_nop
18723 ac_cv_cflags__fno_strict_aliasing=no
18725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18726 conftest$ac_exeext conftest.$ac_ext
18727 CFLAGS=$ac_wine_try_cflags_saved
18729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18730 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18731 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18732 then :
18733 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18736 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18737 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18738 then :
18739 printf %s "(cached) " >&6
18740 else $as_nop
18741 ac_wine_try_cflags_saved=$CFLAGS
18742 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18744 /* end confdefs.h. */
18745 int main(int argc, char **argv) { return 0; }
18746 _ACEOF
18747 if ac_fn_c_try_link "$LINENO"
18748 then :
18749 ac_cv_cflags__Wdeclaration_after_statement=yes
18750 else $as_nop
18751 ac_cv_cflags__Wdeclaration_after_statement=no
18753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18754 conftest$ac_exeext conftest.$ac_ext
18755 CFLAGS=$ac_wine_try_cflags_saved
18757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18758 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18759 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18760 then :
18761 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18764 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18765 if test ${ac_cv_cflags__Wempty_body+y}
18766 then :
18767 printf %s "(cached) " >&6
18768 else $as_nop
18769 ac_wine_try_cflags_saved=$CFLAGS
18770 CFLAGS="$CFLAGS -Wempty-body"
18771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18772 /* end confdefs.h. */
18773 int main(int argc, char **argv) { return 0; }
18774 _ACEOF
18775 if ac_fn_c_try_link "$LINENO"
18776 then :
18777 ac_cv_cflags__Wempty_body=yes
18778 else $as_nop
18779 ac_cv_cflags__Wempty_body=no
18781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18782 conftest$ac_exeext conftest.$ac_ext
18783 CFLAGS=$ac_wine_try_cflags_saved
18785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18786 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18787 if test "x$ac_cv_cflags__Wempty_body" = xyes
18788 then :
18789 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18792 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18793 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18794 then :
18795 printf %s "(cached) " >&6
18796 else $as_nop
18797 ac_wine_try_cflags_saved=$CFLAGS
18798 CFLAGS="$CFLAGS -Wignored-qualifiers"
18799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18801 int main(int argc, char **argv) { return 0; }
18802 _ACEOF
18803 if ac_fn_c_try_link "$LINENO"
18804 then :
18805 ac_cv_cflags__Wignored_qualifiers=yes
18806 else $as_nop
18807 ac_cv_cflags__Wignored_qualifiers=no
18809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18810 conftest$ac_exeext conftest.$ac_ext
18811 CFLAGS=$ac_wine_try_cflags_saved
18813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18814 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18815 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18816 then :
18817 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18820 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18821 if test ${ac_cv_cflags__Winit_self+y}
18822 then :
18823 printf %s "(cached) " >&6
18824 else $as_nop
18825 ac_wine_try_cflags_saved=$CFLAGS
18826 CFLAGS="$CFLAGS -Winit-self"
18827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18828 /* end confdefs.h. */
18829 int main(int argc, char **argv) { return 0; }
18830 _ACEOF
18831 if ac_fn_c_try_link "$LINENO"
18832 then :
18833 ac_cv_cflags__Winit_self=yes
18834 else $as_nop
18835 ac_cv_cflags__Winit_self=no
18837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18838 conftest$ac_exeext conftest.$ac_ext
18839 CFLAGS=$ac_wine_try_cflags_saved
18841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18842 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18843 if test "x$ac_cv_cflags__Winit_self" = xyes
18844 then :
18845 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18848 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18849 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18850 then :
18851 printf %s "(cached) " >&6
18852 else $as_nop
18853 ac_wine_try_cflags_saved=$CFLAGS
18854 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18856 /* end confdefs.h. */
18857 int main(int argc, char **argv) { return 0; }
18858 _ACEOF
18859 if ac_fn_c_try_link "$LINENO"
18860 then :
18861 ac_cv_cflags__Wpacked_not_aligned=yes
18862 else $as_nop
18863 ac_cv_cflags__Wpacked_not_aligned=no
18865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18866 conftest$ac_exeext conftest.$ac_ext
18867 CFLAGS=$ac_wine_try_cflags_saved
18869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18870 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18871 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18872 then :
18873 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18876 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18877 if test ${ac_cv_cflags__Wpragma_pack+y}
18878 then :
18879 printf %s "(cached) " >&6
18880 else $as_nop
18881 ac_wine_try_cflags_saved=$CFLAGS
18882 CFLAGS="$CFLAGS -Wpragma-pack"
18883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 int main(int argc, char **argv) { return 0; }
18886 _ACEOF
18887 if ac_fn_c_try_link "$LINENO"
18888 then :
18889 ac_cv_cflags__Wpragma_pack=yes
18890 else $as_nop
18891 ac_cv_cflags__Wpragma_pack=no
18893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18894 conftest$ac_exeext conftest.$ac_ext
18895 CFLAGS=$ac_wine_try_cflags_saved
18897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18898 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18899 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18900 then :
18901 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18904 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18905 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18906 then :
18907 printf %s "(cached) " >&6
18908 else $as_nop
18909 ac_wine_try_cflags_saved=$CFLAGS
18910 CFLAGS="$CFLAGS -Wshift-overflow=2"
18911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18912 /* end confdefs.h. */
18913 int main(int argc, char **argv) { return 0; }
18914 _ACEOF
18915 if ac_fn_c_try_link "$LINENO"
18916 then :
18917 ac_cv_cflags__Wshift_overflow_2=yes
18918 else $as_nop
18919 ac_cv_cflags__Wshift_overflow_2=no
18921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18922 conftest$ac_exeext conftest.$ac_ext
18923 CFLAGS=$ac_wine_try_cflags_saved
18925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18926 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18927 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18928 then :
18929 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18932 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18933 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18934 then :
18935 printf %s "(cached) " >&6
18936 else $as_nop
18937 ac_wine_try_cflags_saved=$CFLAGS
18938 CFLAGS="$CFLAGS -Wstrict-prototypes"
18939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h. */
18941 int main(int argc, char **argv) { return 0; }
18942 _ACEOF
18943 if ac_fn_c_try_link "$LINENO"
18944 then :
18945 ac_cv_cflags__Wstrict_prototypes=yes
18946 else $as_nop
18947 ac_cv_cflags__Wstrict_prototypes=no
18949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18950 conftest$ac_exeext conftest.$ac_ext
18951 CFLAGS=$ac_wine_try_cflags_saved
18953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18954 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18955 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18956 then :
18957 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18960 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18961 if test ${ac_cv_cflags__Wtype_limits+y}
18962 then :
18963 printf %s "(cached) " >&6
18964 else $as_nop
18965 ac_wine_try_cflags_saved=$CFLAGS
18966 CFLAGS="$CFLAGS -Wtype-limits"
18967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18968 /* end confdefs.h. */
18969 int main(int argc, char **argv) { return 0; }
18970 _ACEOF
18971 if ac_fn_c_try_link "$LINENO"
18972 then :
18973 ac_cv_cflags__Wtype_limits=yes
18974 else $as_nop
18975 ac_cv_cflags__Wtype_limits=no
18977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18978 conftest$ac_exeext conftest.$ac_ext
18979 CFLAGS=$ac_wine_try_cflags_saved
18981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18982 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18983 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18984 then :
18985 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18988 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18989 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18990 then :
18991 printf %s "(cached) " >&6
18992 else $as_nop
18993 ac_wine_try_cflags_saved=$CFLAGS
18994 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18996 /* end confdefs.h. */
18997 int main(int argc, char **argv) { return 0; }
18998 _ACEOF
18999 if ac_fn_c_try_link "$LINENO"
19000 then :
19001 ac_cv_cflags__Wunused_but_set_parameter=yes
19002 else $as_nop
19003 ac_cv_cflags__Wunused_but_set_parameter=no
19005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19006 conftest$ac_exeext conftest.$ac_ext
19007 CFLAGS=$ac_wine_try_cflags_saved
19009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19010 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19011 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19012 then :
19013 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19016 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19017 if test ${ac_cv_cflags__Wvla+y}
19018 then :
19019 printf %s "(cached) " >&6
19020 else $as_nop
19021 ac_wine_try_cflags_saved=$CFLAGS
19022 CFLAGS="$CFLAGS -Wvla"
19023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19024 /* end confdefs.h. */
19025 int main(int argc, char **argv) { return 0; }
19026 _ACEOF
19027 if ac_fn_c_try_link "$LINENO"
19028 then :
19029 ac_cv_cflags__Wvla=yes
19030 else $as_nop
19031 ac_cv_cflags__Wvla=no
19033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19034 conftest$ac_exeext conftest.$ac_ext
19035 CFLAGS=$ac_wine_try_cflags_saved
19037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19038 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19039 if test "x$ac_cv_cflags__Wvla" = xyes
19040 then :
19041 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19044 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19045 if test ${ac_cv_cflags__Wwrite_strings+y}
19046 then :
19047 printf %s "(cached) " >&6
19048 else $as_nop
19049 ac_wine_try_cflags_saved=$CFLAGS
19050 CFLAGS="$CFLAGS -Wwrite-strings"
19051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19052 /* end confdefs.h. */
19053 int main(int argc, char **argv) { return 0; }
19054 _ACEOF
19055 if ac_fn_c_try_link "$LINENO"
19056 then :
19057 ac_cv_cflags__Wwrite_strings=yes
19058 else $as_nop
19059 ac_cv_cflags__Wwrite_strings=no
19061 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19062 conftest$ac_exeext conftest.$ac_ext
19063 CFLAGS=$ac_wine_try_cflags_saved
19065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19066 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19067 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19068 then :
19069 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19073 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19074 if test ${ac_cv_cflags__Wpointer_arith+y}
19075 then :
19076 printf %s "(cached) " >&6
19077 else $as_nop
19078 ac_wine_try_cflags_saved=$CFLAGS
19079 CFLAGS="$CFLAGS -Wpointer-arith"
19080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19081 /* end confdefs.h. */
19082 int main(int argc, char **argv) { return 0; }
19083 _ACEOF
19084 if ac_fn_c_try_link "$LINENO"
19085 then :
19086 ac_cv_cflags__Wpointer_arith=yes
19087 else $as_nop
19088 ac_cv_cflags__Wpointer_arith=no
19090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19091 conftest$ac_exeext conftest.$ac_ext
19092 CFLAGS=$ac_wine_try_cflags_saved
19094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19095 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19096 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19097 then :
19098 saved_string_h_CFLAGS=$CFLAGS
19099 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19101 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19102 if test ${ac_cv_c_string_h_warnings+y}
19103 then :
19104 printf %s "(cached) " >&6
19105 else $as_nop
19106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19107 /* end confdefs.h. */
19108 #include <string.h>
19110 main (void)
19114 return 0;
19116 _ACEOF
19117 if ac_fn_c_try_compile "$LINENO"
19118 then :
19119 ac_cv_c_string_h_warnings=no
19120 else $as_nop
19121 ac_cv_c_string_h_warnings=yes
19123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19126 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19127 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19128 CFLAGS=$saved_string_h_CFLAGS
19131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19132 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19133 if test ${ac_cv_cflags__Wlogical_op+y}
19134 then :
19135 printf %s "(cached) " >&6
19136 else $as_nop
19137 ac_wine_try_cflags_saved=$CFLAGS
19138 CFLAGS="$CFLAGS -Wlogical-op"
19139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19140 /* end confdefs.h. */
19141 int main(int argc, char **argv) { return 0; }
19142 _ACEOF
19143 if ac_fn_c_try_link "$LINENO"
19144 then :
19145 ac_cv_cflags__Wlogical_op=yes
19146 else $as_nop
19147 ac_cv_cflags__Wlogical_op=no
19149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19150 conftest$ac_exeext conftest.$ac_ext
19151 CFLAGS=$ac_wine_try_cflags_saved
19153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19154 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19155 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19156 then :
19157 saved_string_h_CFLAGS=$CFLAGS
19158 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19160 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19161 if test ${ac_cv_c_logicalop_noisy+y}
19162 then :
19163 printf %s "(cached) " >&6
19164 else $as_nop
19165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19166 /* end confdefs.h. */
19167 #include <string.h>
19168 char*f(const char *h,char n) {return strchr(h,n);}
19170 main (void)
19174 return 0;
19176 _ACEOF
19177 if ac_fn_c_try_compile "$LINENO"
19178 then :
19179 ac_cv_c_logicalop_noisy=no
19180 else $as_nop
19181 ac_cv_c_logicalop_noisy=yes
19183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19186 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19187 CFLAGS=$saved_string_h_CFLAGS
19188 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19192 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19193 if test ${wine_cv_64bit_compare_swap+y}
19194 then :
19195 printf %s "(cached) " >&6
19196 else $as_nop
19197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19198 /* end confdefs.h. */
19199 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19200 #error no
19201 #endif
19203 main (void)
19207 return 0;
19209 _ACEOF
19210 if ac_fn_c_try_compile "$LINENO"
19211 then :
19212 wine_cv_64bit_compare_swap="none needed"
19213 else $as_nop
19214 case $host_cpu in
19215 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19216 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19217 *) wine_cv_64bit_compare_swap="unknown" ;;
19218 esac
19219 if test "x$wine_cv_64bit_compare_swap" != xunknown
19220 then
19221 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19223 /* end confdefs.h. */
19224 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19225 #error no
19226 #endif
19228 main (void)
19232 return 0;
19234 _ACEOF
19235 if ac_fn_c_try_compile "$LINENO"
19236 then :
19238 else $as_nop
19239 wine_cv_64bit_compare_swap="unknown"
19241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19242 CFLAGS=$saved_CFLAGS
19245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19248 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19249 case "$wine_cv_64bit_compare_swap" in
19250 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19251 "none needed") ;;
19252 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19253 esac
19255 ac_debug_format_seen=""
19256 for ac_flag in $CFLAGS; do
19257 case $ac_flag in
19258 -gdwarf*) ac_debug_format_seen=yes ;;
19259 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19260 esac
19261 done
19262 if test "x$ac_debug_format_seen" = xdefault
19263 then
19264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19265 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19266 if test ${ac_cv_cflags__gdwarf_4+y}
19267 then :
19268 printf %s "(cached) " >&6
19269 else $as_nop
19270 ac_wine_try_cflags_saved=$CFLAGS
19271 CFLAGS="$CFLAGS -gdwarf-4"
19272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19273 /* end confdefs.h. */
19274 int main(int argc, char **argv) { return 0; }
19275 _ACEOF
19276 if ac_fn_c_try_link "$LINENO"
19277 then :
19278 ac_cv_cflags__gdwarf_4=yes
19279 else $as_nop
19280 ac_cv_cflags__gdwarf_4=no
19282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19283 conftest$ac_exeext conftest.$ac_ext
19284 CFLAGS=$ac_wine_try_cflags_saved
19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19287 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19288 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19289 then :
19290 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19294 MSVCRTFLAGS=""
19296 case $host_os in
19297 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19298 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19299 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19300 then :
19301 printf %s "(cached) " >&6
19302 else $as_nop
19303 ac_wine_try_cflags_saved=$CFLAGS
19304 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19306 /* end confdefs.h. */
19307 int main(int argc, char **argv) { return 0; }
19308 _ACEOF
19309 if ac_fn_c_try_link "$LINENO"
19310 then :
19311 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19312 else $as_nop
19313 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19316 conftest$ac_exeext conftest.$ac_ext
19317 CFLAGS=$ac_wine_try_cflags_saved
19319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19320 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19321 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19322 then :
19323 DELAYLOADFLAG="-Wl,-delayload,"
19325 fi ;;
19326 *) MSVCRTFLAGS="-D_WIN32"
19327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19328 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19329 if test ${ac_cv_cflags__fno_builtin+y}
19330 then :
19331 printf %s "(cached) " >&6
19332 else $as_nop
19333 ac_wine_try_cflags_saved=$CFLAGS
19334 CFLAGS="$CFLAGS -fno-builtin"
19335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19336 /* end confdefs.h. */
19337 int main(int argc, char **argv) { return 0; }
19338 _ACEOF
19339 if ac_fn_c_try_link "$LINENO"
19340 then :
19341 ac_cv_cflags__fno_builtin=yes
19342 else $as_nop
19343 ac_cv_cflags__fno_builtin=no
19345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19346 conftest$ac_exeext conftest.$ac_ext
19347 CFLAGS=$ac_wine_try_cflags_saved
19349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19350 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19351 if test "x$ac_cv_cflags__fno_builtin" = xyes
19352 then :
19353 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19356 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19357 if test ${ac_cv_cflags__fshort_wchar+y}
19358 then :
19359 printf %s "(cached) " >&6
19360 else $as_nop
19361 ac_wine_try_cflags_saved=$CFLAGS
19362 CFLAGS="$CFLAGS -fshort-wchar"
19363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19364 /* end confdefs.h. */
19365 int main(int argc, char **argv) { return 0; }
19366 _ACEOF
19367 if ac_fn_c_try_link "$LINENO"
19368 then :
19369 ac_cv_cflags__fshort_wchar=yes
19370 else $as_nop
19371 ac_cv_cflags__fshort_wchar=no
19373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19374 conftest$ac_exeext conftest.$ac_ext
19375 CFLAGS=$ac_wine_try_cflags_saved
19377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19378 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19379 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19380 then :
19381 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19384 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19385 if test ${ac_cv_cflags__Wno_format+y}
19386 then :
19387 printf %s "(cached) " >&6
19388 else $as_nop
19389 ac_wine_try_cflags_saved=$CFLAGS
19390 CFLAGS="$CFLAGS -Wno-format"
19391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19392 /* end confdefs.h. */
19393 int main(int argc, char **argv) { return 0; }
19394 _ACEOF
19395 if ac_fn_c_try_link "$LINENO"
19396 then :
19397 ac_cv_cflags__Wno_format=yes
19398 else $as_nop
19399 ac_cv_cflags__Wno_format=no
19401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19402 conftest$ac_exeext conftest.$ac_ext
19403 CFLAGS=$ac_wine_try_cflags_saved
19405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19406 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19407 if test "x$ac_cv_cflags__Wno_format" = xyes
19408 then :
19409 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19410 fi ;;
19411 esac
19413 case $host_cpu in
19414 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19415 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19416 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19417 then :
19418 printf %s "(cached) " >&6
19419 else $as_nop
19420 ac_wine_try_cflags_saved=$CFLAGS
19421 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19423 /* end confdefs.h. */
19424 int main(int argc, char **argv) { return 0; }
19425 _ACEOF
19426 if ac_fn_c_try_link "$LINENO"
19427 then :
19428 ac_cv_cflags__fno_omit_frame_pointer=yes
19429 else $as_nop
19430 ac_cv_cflags__fno_omit_frame_pointer=no
19432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19433 conftest$ac_exeext conftest.$ac_ext
19434 CFLAGS=$ac_wine_try_cflags_saved
19436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19437 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19438 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19439 then :
19440 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19441 fi ;;
19442 *x86_64*)
19443 case $host_os in
19444 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19445 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19446 if test ${ac_cv_cflags__Wno_format+y}
19447 then :
19448 printf %s "(cached) " >&6
19449 else $as_nop
19450 ac_wine_try_cflags_saved=$CFLAGS
19451 CFLAGS="$CFLAGS -Wno-format"
19452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19453 /* end confdefs.h. */
19454 int main(int argc, char **argv) { return 0; }
19455 _ACEOF
19456 if ac_fn_c_try_link "$LINENO"
19457 then :
19458 ac_cv_cflags__Wno_format=yes
19459 else $as_nop
19460 ac_cv_cflags__Wno_format=no
19462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19463 conftest$ac_exeext conftest.$ac_ext
19464 CFLAGS=$ac_wine_try_cflags_saved
19466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19467 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19468 if test "x$ac_cv_cflags__Wno_format" = xyes
19469 then :
19470 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19471 fi ;;
19472 *) if test -z "$PE_ARCHS"
19473 then
19474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19475 printf %s "checking for working -mabi=ms... " >&6; }
19476 if test ${ac_cv_mabi_ms+y}
19477 then :
19478 printf %s "(cached) " >&6
19479 else $as_nop
19480 CFLAGS="$CFLAGS -mabi=ms"
19481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19482 /* end confdefs.h. */
19483 #include <stdarg.h>
19484 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19486 main (void)
19490 return 0;
19492 _ACEOF
19493 if ac_fn_c_try_compile "$LINENO"
19494 then :
19495 ac_cv_mabi_ms=yes
19496 else $as_nop
19497 ac_cv_mabi_ms=no
19499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19500 CFLAGS=$saved_CFLAGS
19502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19503 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19504 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
19506 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19507 esac ;;
19508 arm*)
19509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19510 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19511 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19512 then :
19513 printf %s "(cached) " >&6
19514 else $as_nop
19515 ac_wine_try_cflags_saved=$CFLAGS
19516 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19518 /* end confdefs.h. */
19519 int main(int argc, char **argv) { return 0; }
19520 _ACEOF
19521 if ac_fn_c_try_link "$LINENO"
19522 then :
19523 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19524 else $as_nop
19525 ac_cv_cflags__Wincompatible_function_pointer_types=no
19527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19528 conftest$ac_exeext conftest.$ac_ext
19529 CFLAGS=$ac_wine_try_cflags_saved
19531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19532 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19533 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19534 then :
19535 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19536 fi ;;
19537 esac
19539 CFLAGS=$saved_CFLAGS
19541 if test "x$enable_werror" = "xyes"
19542 then
19543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19544 printf %s "checking whether the compiler supports -Werror... " >&6; }
19545 if test ${ac_cv_cflags__Werror+y}
19546 then :
19547 printf %s "(cached) " >&6
19548 else $as_nop
19549 ac_wine_try_cflags_saved=$CFLAGS
19550 CFLAGS="$CFLAGS -Werror"
19551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19552 /* end confdefs.h. */
19553 int main(int argc, char **argv) { return 0; }
19554 _ACEOF
19555 if ac_fn_c_try_link "$LINENO"
19556 then :
19557 ac_cv_cflags__Werror=yes
19558 else $as_nop
19559 ac_cv_cflags__Werror=no
19561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19562 conftest$ac_exeext conftest.$ac_ext
19563 CFLAGS=$ac_wine_try_cflags_saved
19565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19566 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19567 if test "x$ac_cv_cflags__Werror" = xyes
19568 then :
19569 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19572 if test "x$enable_build_id" = "xyes"
19573 then
19574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19575 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19576 if test ${ac_cv_cflags__Wl___build_id+y}
19577 then :
19578 printf %s "(cached) " >&6
19579 else $as_nop
19580 ac_wine_try_cflags_saved=$CFLAGS
19581 CFLAGS="$CFLAGS -Wl,--build-id"
19582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19583 /* end confdefs.h. */
19584 int main(int argc, char **argv) { return 0; }
19585 _ACEOF
19586 if ac_fn_c_try_link "$LINENO"
19587 then :
19588 ac_cv_cflags__Wl___build_id=yes
19589 else $as_nop
19590 ac_cv_cflags__Wl___build_id=no
19592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19593 conftest$ac_exeext conftest.$ac_ext
19594 CFLAGS=$ac_wine_try_cflags_saved
19596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19597 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19598 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19599 then :
19600 CFLAGS="$CFLAGS -Wl,--build-id"
19601 LDFLAGS="$LDFLAGS -Wl,--build-id"
19607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19608 printf %s "checking for the need to disable Fortify... " >&6; }
19609 if test ${ac_cv_c_fortify_enabled+y}
19610 then :
19611 printf %s "(cached) " >&6
19612 else $as_nop
19613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19614 /* end confdefs.h. */
19615 #include <string.h>
19617 main (void)
19619 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19620 #error Fortify enabled
19621 #endif
19623 return 0;
19625 _ACEOF
19626 if ac_fn_c_try_compile "$LINENO"
19627 then :
19628 ac_cv_c_fortify_enabled=no
19629 else $as_nop
19630 ac_cv_c_fortify_enabled=yes
19632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19635 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19636 if test "$ac_cv_c_fortify_enabled" = yes
19637 then
19638 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19643 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19644 if test ${ac_cv_c_cfi_support+y}
19645 then :
19646 printf %s "(cached) " >&6
19647 else $as_nop
19648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19649 /* end confdefs.h. */
19650 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19652 main (void)
19656 return 0;
19658 _ACEOF
19659 if ac_fn_c_try_compile "$LINENO"
19660 then :
19661 ac_cv_c_cfi_support="yes"
19662 else $as_nop
19663 ac_cv_c_cfi_support="no"
19665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19668 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19669 if test "$ac_cv_c_cfi_support" = "yes"
19670 then
19671 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19672 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19673 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19674 elif test $HOST_ARCH = x86_64
19675 then
19676 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19680 case $host_os in
19681 linux*)
19682 case $host_cpu in
19683 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19684 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19685 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19687 esac
19689 esac
19692 ac_save_CFLAGS="$CFLAGS"
19693 CFLAGS="$CFLAGS $BUILTINFLAG"
19694 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19695 if test "x$ac_cv_func_epoll_create" = xyes
19696 then :
19697 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19700 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19701 if test "x$ac_cv_func_fstatfs" = xyes
19702 then :
19703 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19706 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19707 if test "x$ac_cv_func_futimens" = xyes
19708 then :
19709 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19712 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19713 if test "x$ac_cv_func_futimes" = xyes
19714 then :
19715 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19718 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19719 if test "x$ac_cv_func_futimesat" = xyes
19720 then :
19721 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19724 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19725 if test "x$ac_cv_func_getattrlist" = xyes
19726 then :
19727 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19730 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19731 if test "x$ac_cv_func_getauxval" = xyes
19732 then :
19733 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19736 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19737 if test "x$ac_cv_func_getifaddrs" = xyes
19738 then :
19739 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19742 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19743 if test "x$ac_cv_func_getrandom" = xyes
19744 then :
19745 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19748 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19749 if test "x$ac_cv_func_kqueue" = xyes
19750 then :
19751 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19754 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19755 if test "x$ac_cv_func_mach_continuous_time" = xyes
19756 then :
19757 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19760 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19761 if test "x$ac_cv_func_pipe2" = xyes
19762 then :
19763 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19766 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19767 if test "x$ac_cv_func_port_create" = xyes
19768 then :
19769 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19772 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19773 if test "x$ac_cv_func_posix_fadvise" = xyes
19774 then :
19775 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19778 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19779 if test "x$ac_cv_func_posix_fallocate" = xyes
19780 then :
19781 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19784 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19785 if test "x$ac_cv_func_prctl" = xyes
19786 then :
19787 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19790 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19791 if test "x$ac_cv_func_proc_pidinfo" = xyes
19792 then :
19793 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19796 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19797 if test "x$ac_cv_func_sched_yield" = xyes
19798 then :
19799 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19802 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19803 if test "x$ac_cv_func_setproctitle" = xyes
19804 then :
19805 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19808 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19809 if test "x$ac_cv_func_setprogname" = xyes
19810 then :
19811 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19814 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19815 if test "x$ac_cv_func_sigprocmask" = xyes
19816 then :
19817 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19820 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19821 if test "x$ac_cv_func_sysinfo" = xyes
19822 then :
19823 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19826 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19827 if test "x$ac_cv_func_tcdrain" = xyes
19828 then :
19829 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19832 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19833 if test "x$ac_cv_func_thr_kill2" = xyes
19834 then :
19835 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19839 CFLAGS="$ac_save_CFLAGS"
19841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19842 printf %s "checking for library containing dlopen... " >&6; }
19843 if test ${ac_cv_search_dlopen+y}
19844 then :
19845 printf %s "(cached) " >&6
19846 else $as_nop
19847 ac_func_search_save_LIBS=$LIBS
19848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19849 /* end confdefs.h. */
19851 /* Override any GCC internal prototype to avoid an error.
19852 Use char because int might match the return type of a GCC
19853 builtin and then its argument prototype would still apply. */
19854 char dlopen ();
19856 main (void)
19858 return dlopen ();
19860 return 0;
19862 _ACEOF
19863 for ac_lib in '' dl
19865 if test -z "$ac_lib"; then
19866 ac_res="none required"
19867 else
19868 ac_res=-l$ac_lib
19869 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19871 if ac_fn_c_try_link "$LINENO"
19872 then :
19873 ac_cv_search_dlopen=$ac_res
19875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19876 conftest$ac_exeext
19877 if test ${ac_cv_search_dlopen+y}
19878 then :
19879 break
19881 done
19882 if test ${ac_cv_search_dlopen+y}
19883 then :
19885 else $as_nop
19886 ac_cv_search_dlopen=no
19888 rm conftest.$ac_ext
19889 LIBS=$ac_func_search_save_LIBS
19891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19892 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19893 ac_res=$ac_cv_search_dlopen
19894 if test "$ac_res" != no
19895 then :
19896 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19900 ac_wine_check_funcs_save_LIBS="$LIBS"
19901 LIBS="$LIBS $DL_LIBS"
19902 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19903 if test "x$ac_cv_func_dlinfo" = xyes
19904 then :
19905 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19909 LIBS="$ac_wine_check_funcs_save_LIBS"
19911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19912 printf %s "checking for library containing gethostbyname... " >&6; }
19913 if test ${ac_cv_search_gethostbyname+y}
19914 then :
19915 printf %s "(cached) " >&6
19916 else $as_nop
19917 ac_func_search_save_LIBS=$LIBS
19918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19919 /* end confdefs.h. */
19921 /* Override any GCC internal prototype to avoid an error.
19922 Use char because int might match the return type of a GCC
19923 builtin and then its argument prototype would still apply. */
19924 char gethostbyname ();
19926 main (void)
19928 return gethostbyname ();
19930 return 0;
19932 _ACEOF
19933 for ac_lib in '' nsl
19935 if test -z "$ac_lib"; then
19936 ac_res="none required"
19937 else
19938 ac_res=-l$ac_lib
19939 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19941 if ac_fn_c_try_link "$LINENO"
19942 then :
19943 ac_cv_search_gethostbyname=$ac_res
19945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19946 conftest$ac_exeext
19947 if test ${ac_cv_search_gethostbyname+y}
19948 then :
19949 break
19951 done
19952 if test ${ac_cv_search_gethostbyname+y}
19953 then :
19955 else $as_nop
19956 ac_cv_search_gethostbyname=no
19958 rm conftest.$ac_ext
19959 LIBS=$ac_func_search_save_LIBS
19961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19962 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19963 ac_res=$ac_cv_search_gethostbyname
19964 if test "$ac_res" != no
19965 then :
19966 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19972 printf %s "checking for library containing connect... " >&6; }
19973 if test ${ac_cv_search_connect+y}
19974 then :
19975 printf %s "(cached) " >&6
19976 else $as_nop
19977 ac_func_search_save_LIBS=$LIBS
19978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19979 /* end confdefs.h. */
19981 /* Override any GCC internal prototype to avoid an error.
19982 Use char because int might match the return type of a GCC
19983 builtin and then its argument prototype would still apply. */
19984 char connect ();
19986 main (void)
19988 return connect ();
19990 return 0;
19992 _ACEOF
19993 for ac_lib in '' socket
19995 if test -z "$ac_lib"; then
19996 ac_res="none required"
19997 else
19998 ac_res=-l$ac_lib
19999 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20001 if ac_fn_c_try_link "$LINENO"
20002 then :
20003 ac_cv_search_connect=$ac_res
20005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20006 conftest$ac_exeext
20007 if test ${ac_cv_search_connect+y}
20008 then :
20009 break
20011 done
20012 if test ${ac_cv_search_connect+y}
20013 then :
20015 else $as_nop
20016 ac_cv_search_connect=no
20018 rm conftest.$ac_ext
20019 LIBS=$ac_func_search_save_LIBS
20021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20022 printf "%s\n" "$ac_cv_search_connect" >&6; }
20023 ac_res=$ac_cv_search_connect
20024 if test "$ac_res" != no
20025 then :
20026 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20032 printf %s "checking for library containing inet_aton... " >&6; }
20033 if test ${ac_cv_search_inet_aton+y}
20034 then :
20035 printf %s "(cached) " >&6
20036 else $as_nop
20037 ac_func_search_save_LIBS=$LIBS
20038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20039 /* end confdefs.h. */
20041 /* Override any GCC internal prototype to avoid an error.
20042 Use char because int might match the return type of a GCC
20043 builtin and then its argument prototype would still apply. */
20044 char inet_aton ();
20046 main (void)
20048 return inet_aton ();
20050 return 0;
20052 _ACEOF
20053 for ac_lib in '' resolv
20055 if test -z "$ac_lib"; then
20056 ac_res="none required"
20057 else
20058 ac_res=-l$ac_lib
20059 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20061 if ac_fn_c_try_link "$LINENO"
20062 then :
20063 ac_cv_search_inet_aton=$ac_res
20065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20066 conftest$ac_exeext
20067 if test ${ac_cv_search_inet_aton+y}
20068 then :
20069 break
20071 done
20072 if test ${ac_cv_search_inet_aton+y}
20073 then :
20075 else $as_nop
20076 ac_cv_search_inet_aton=no
20078 rm conftest.$ac_ext
20079 LIBS=$ac_func_search_save_LIBS
20081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20082 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20083 ac_res=$ac_cv_search_inet_aton
20084 if test "$ac_res" != no
20085 then :
20086 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20091 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20092 if test "x$ac_cv_func_getaddrinfo" = xyes
20093 then :
20094 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20099 case $host_os in
20100 darwin*|macosx*) ;;
20101 *) ac_save_LIBS=$LIBS
20102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20103 printf %s "checking for library containing clock_gettime... " >&6; }
20104 if test ${ac_cv_search_clock_gettime+y}
20105 then :
20106 printf %s "(cached) " >&6
20107 else $as_nop
20108 ac_func_search_save_LIBS=$LIBS
20109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20110 /* end confdefs.h. */
20112 /* Override any GCC internal prototype to avoid an error.
20113 Use char because int might match the return type of a GCC
20114 builtin and then its argument prototype would still apply. */
20115 char clock_gettime ();
20117 main (void)
20119 return clock_gettime ();
20121 return 0;
20123 _ACEOF
20124 for ac_lib in '' rt
20126 if test -z "$ac_lib"; then
20127 ac_res="none required"
20128 else
20129 ac_res=-l$ac_lib
20130 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20132 if ac_fn_c_try_link "$LINENO"
20133 then :
20134 ac_cv_search_clock_gettime=$ac_res
20136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20137 conftest$ac_exeext
20138 if test ${ac_cv_search_clock_gettime+y}
20139 then :
20140 break
20142 done
20143 if test ${ac_cv_search_clock_gettime+y}
20144 then :
20146 else $as_nop
20147 ac_cv_search_clock_gettime=no
20149 rm conftest.$ac_ext
20150 LIBS=$ac_func_search_save_LIBS
20152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20153 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20154 ac_res=$ac_cv_search_clock_gettime
20155 if test "$ac_res" != no
20156 then :
20157 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20159 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20161 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20165 LIBS=$ac_save_LIBS
20167 esac
20169 if test "x$with_ldap" != "xno"
20170 then
20171 if ${LDAP_CFLAGS:+false} :
20172 then :
20173 if test ${PKG_CONFIG+y}
20174 then :
20175 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20179 if ${LDAP_LIBS:+false} :
20180 then :
20181 if test ${PKG_CONFIG+y}
20182 then :
20183 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20187 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20190 ac_save_CPPFLAGS=$CPPFLAGS
20191 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20192 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20193 if test "x$ac_cv_header_ldap_h" = xyes
20194 then :
20195 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20198 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20199 if test "x$ac_cv_header_lber_h" = xyes
20200 then :
20201 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20205 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20206 then
20207 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20209 if test "x$ac_cv_type_LDAPSortKey" = xyes
20210 then :
20211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20212 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20213 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20214 then :
20215 printf %s "(cached) " >&6
20216 else $as_nop
20217 ac_check_lib_save_LIBS=$LIBS
20218 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20220 /* end confdefs.h. */
20222 /* Override any GCC internal prototype to avoid an error.
20223 Use char because int might match the return type of a GCC
20224 builtin and then its argument prototype would still apply. */
20225 char ldap_initialize ();
20227 main (void)
20229 return ldap_initialize ();
20231 return 0;
20233 _ACEOF
20234 if ac_fn_c_try_link "$LINENO"
20235 then :
20236 ac_cv_lib_ldap_ldap_initialize=yes
20237 else $as_nop
20238 ac_cv_lib_ldap_ldap_initialize=no
20240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20241 conftest$ac_exeext conftest.$ac_ext
20242 LIBS=$ac_check_lib_save_LIBS
20244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20245 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20246 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20247 then :
20248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20249 printf %s "checking for ber_init in -llber... " >&6; }
20250 if test ${ac_cv_lib_lber_ber_init+y}
20251 then :
20252 printf %s "(cached) " >&6
20253 else $as_nop
20254 ac_check_lib_save_LIBS=$LIBS
20255 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20257 /* end confdefs.h. */
20259 /* Override any GCC internal prototype to avoid an error.
20260 Use char because int might match the return type of a GCC
20261 builtin and then its argument prototype would still apply. */
20262 char ber_init ();
20264 main (void)
20266 return ber_init ();
20268 return 0;
20270 _ACEOF
20271 if ac_fn_c_try_link "$LINENO"
20272 then :
20273 ac_cv_lib_lber_ber_init=yes
20274 else $as_nop
20275 ac_cv_lib_lber_ber_init=no
20277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20278 conftest$ac_exeext conftest.$ac_ext
20279 LIBS=$ac_check_lib_save_LIBS
20281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20282 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20283 if test "x$ac_cv_lib_lber_ber_init" = xyes
20284 then :
20286 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20288 else $as_nop
20289 LDAP_LIBS=""
20292 else $as_nop
20293 LDAP_LIBS=""
20296 else $as_nop
20297 LDAP_LIBS=""
20300 else
20301 LDAP_LIBS=""
20303 CPPFLAGS=$ac_save_CPPFLAGS
20306 if test "x$LDAP_LIBS" = "x"
20307 then :
20308 case "x$with_ldap" in
20309 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20310 xno) ;;
20311 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20312 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20313 esac
20317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20318 printf %s "checking for sched_setaffinity... " >&6; }
20319 if test ${wine_cv_have_sched_setaffinity+y}
20320 then :
20321 printf %s "(cached) " >&6
20322 else $as_nop
20323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20324 /* end confdefs.h. */
20325 #include <sched.h>
20327 main (void)
20329 sched_setaffinity(0, 0, 0);
20331 return 0;
20333 _ACEOF
20334 if ac_fn_c_try_link "$LINENO"
20335 then :
20336 wine_cv_have_sched_setaffinity=yes
20337 else $as_nop
20338 wine_cv_have_sched_setaffinity=no
20340 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20341 conftest$ac_exeext conftest.$ac_ext
20343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20344 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20345 if test "$wine_cv_have_sched_setaffinity" = "yes"
20346 then
20348 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20354 printf %s "checking for inline... " >&6; }
20355 if test ${ac_cv_c_inline+y}
20356 then :
20357 printf %s "(cached) " >&6
20358 else $as_nop
20359 ac_cv_c_inline=no
20360 for ac_kw in inline __inline__ __inline; do
20361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20362 /* end confdefs.h. */
20363 #ifndef __cplusplus
20364 typedef int foo_t;
20365 static $ac_kw foo_t static_foo (void) {return 0; }
20366 $ac_kw foo_t foo (void) {return 0; }
20367 #endif
20369 _ACEOF
20370 if ac_fn_c_try_compile "$LINENO"
20371 then :
20372 ac_cv_c_inline=$ac_kw
20374 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20375 test "$ac_cv_c_inline" != no && break
20376 done
20379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20380 printf "%s\n" "$ac_cv_c_inline" >&6; }
20382 case $ac_cv_c_inline in
20383 inline | yes) ;;
20385 case $ac_cv_c_inline in
20386 no) ac_val=;;
20387 *) ac_val=$ac_cv_c_inline;;
20388 esac
20389 cat >>confdefs.h <<_ACEOF
20390 #ifndef __cplusplus
20391 #define inline $ac_val
20392 #endif
20393 _ACEOF
20395 esac
20397 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20398 #include <signal.h>
20400 if test "x$ac_cv_type_sigset_t" = xyes
20401 then :
20403 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20408 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20410 if test "x$ac_cv_type_request_sense" = xyes
20411 then :
20413 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20419 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20420 #include <sys/socket.h>
20421 #ifdef HAVE_SYS_SOCKETVAR_H
20422 #include <sys/socketvar.h>
20423 #endif
20424 #ifdef HAVE_NET_ROUTE_H
20425 #include <net/route.h>
20426 #endif
20427 #ifdef HAVE_NETINET_IN_H
20428 #include <netinet/in.h>
20429 #endif
20430 #ifdef HAVE_NETINET_IN_SYSTM_H
20431 #include <netinet/in_systm.h>
20432 #endif
20433 #ifdef HAVE_NETINET_IP_H
20434 #include <netinet/ip.h>
20435 #endif
20436 #ifdef HAVE_NETINET_IN_PCB_H
20437 #include <netinet/in_pcb.h>
20438 #endif
20440 if test "x$ac_cv_type_struct_xinpgen" = xyes
20441 then :
20443 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20450 printf %s "checking for sigaddset... " >&6; }
20451 if test ${wine_cv_have_sigaddset+y}
20452 then :
20453 printf %s "(cached) " >&6
20454 else $as_nop
20455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20456 /* end confdefs.h. */
20457 #include <signal.h>
20459 main (void)
20461 sigset_t set; sigaddset(&set,SIGTERM);
20463 return 0;
20465 _ACEOF
20466 if ac_fn_c_try_link "$LINENO"
20467 then :
20468 wine_cv_have_sigaddset=yes
20469 else $as_nop
20470 wine_cv_have_sigaddset=no
20472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20473 conftest$ac_exeext conftest.$ac_ext
20475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20476 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20477 if test "$wine_cv_have_sigaddset" = "yes"
20478 then
20480 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20486 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20487 if test ${wine_cv_linux_gethostbyname_r_6+y}
20488 then :
20489 printf %s "(cached) " >&6
20490 else $as_nop
20491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20492 /* end confdefs.h. */
20493 #include <netdb.h>
20495 main (void)
20498 char *name=0;
20499 struct hostent he;
20500 struct hostent *result;
20501 char *buf=0;
20502 int bufsize=0;
20503 int errnr;
20504 char *addr=0;
20505 int addrlen=0;
20506 int addrtype=0;
20507 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20508 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20511 return 0;
20513 _ACEOF
20514 if ac_fn_c_try_link "$LINENO"
20515 then :
20516 wine_cv_linux_gethostbyname_r_6=yes
20517 else $as_nop
20518 wine_cv_linux_gethostbyname_r_6=no
20521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20522 conftest$ac_exeext conftest.$ac_ext
20525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20526 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20527 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20528 then
20530 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20534 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20535 #include <sys/socket.h>
20536 #ifdef HAVE_SYS_UN_H
20537 # include <sys/un.h>
20538 #endif
20540 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20541 then :
20543 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20547 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20548 #include <sys/socket.h>
20549 #ifdef HAVE_SYS_UN_H
20550 # include <sys/un.h>
20551 #endif
20553 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20554 then :
20556 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20562 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20563 #ifdef HAVE_SCSI_SG_H
20564 #include <scsi/sg.h>
20565 #endif
20567 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20568 then :
20570 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20574 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>
20575 #ifdef HAVE_SCSI_SG_H
20576 #include <scsi/sg.h>
20577 #endif
20579 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20580 then :
20582 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20588 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20590 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20591 then :
20593 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20599 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20600 #ifdef HAVE_SYS_MTIO_H
20601 #include <sys/mtio.h>
20602 #endif
20604 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20605 then :
20607 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20611 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20612 #ifdef HAVE_SYS_MTIO_H
20613 #include <sys/mtio.h>
20614 #endif
20616 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20617 then :
20619 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20623 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20624 #ifdef HAVE_SYS_MTIO_H
20625 #include <sys/mtio.h>
20626 #endif
20628 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20629 then :
20631 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20637 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20638 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20639 then :
20641 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20645 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20646 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20647 then :
20649 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20653 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20654 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20655 then :
20657 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20661 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20662 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20663 then :
20665 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20669 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20670 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20671 then :
20673 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20677 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20678 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20679 then :
20681 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20685 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20686 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20687 then :
20689 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20693 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20694 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20695 then :
20697 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20701 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20702 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20703 then :
20705 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20709 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20710 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20711 then :
20713 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20717 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20718 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20719 then :
20721 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20727 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>
20728 #ifdef HAVE_NETINET_IN_H
20729 #include <netinet/in.h>
20730 #endif
20732 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20733 then :
20735 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20741 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
20742 #include <resolv.h>
20743 #endif
20745 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20746 then :
20748 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20754 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20755 #include <netinet/in.h>
20756 #endif
20758 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20759 then :
20761 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20767 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20768 #ifdef HAVE_SYS_SOCKETVAR_H
20769 #include <sys/socketvar.h>
20770 #endif
20771 #ifdef HAVE_NETINET_IN_H
20772 #include <netinet/in.h>
20773 #endif
20774 #ifdef HAVE_NETINET_IP_VAR_H
20775 #include <netinet/ip_var.h>
20776 #endif
20778 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20779 then :
20781 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20787 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
20788 #include <netinet/ip_var.h>
20789 #endif
20791 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20792 then :
20794 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20800 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20801 #ifdef HAVE_SYS_SOCKETVAR_H
20802 #include <sys/socketvar.h>
20803 #endif
20804 #ifdef HAVE_NETINET_IN_H
20805 #include <netinet/in.h>
20806 #endif
20807 #ifdef HAVE_NETINET6_IP6_VAR_H
20808 #include <netinet6/ip6_var.h>
20809 #endif
20811 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20812 then :
20814 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20820 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20821 #ifdef HAVE_SYS_SOCKETVAR_H
20822 #include <sys/socketvar.h>
20823 #endif
20824 #ifdef HAVE_NETINET_IN_H
20825 #include <netinet/in.h>
20826 #endif
20827 #ifdef HAVE_NETINET_IP_H
20828 #include <netinet/ip.h>
20829 #endif
20830 #ifdef HAVE_NETINET_IP_ICMP_H
20831 #include <netinet/ip_icmp.h>
20832 #endif
20833 #ifdef HAVE_NETINET_ICMP_VAR_H
20834 #include <netinet/icmp_var.h>
20835 #endif
20837 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20838 then :
20840 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20846 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20847 #ifdef HAVE_SYS_SOCKETVAR_H
20848 #include <sys/socketvar.h>
20849 #endif
20850 #ifdef HAVE_NETINET_IN_H
20851 #include <netinet/in.h>
20852 #endif
20853 #ifdef HAVE_NETINET_ICMP6_H
20854 #include <netinet/icmp6.h>
20855 #endif
20857 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20858 then :
20860 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20866 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20867 #ifdef HAVE_SYS_SOCKETVAR_H
20868 #include <sys/socketvar.h>
20869 #endif
20870 #ifdef HAVE_NETINET_IN_H
20871 #include <netinet/in.h>
20872 #endif
20873 #ifdef HAVE_NETINET_TCP_H
20874 #include <netinet/tcp.h>
20875 #endif
20876 #ifdef HAVE_NETINET_TCP_VAR_H
20877 #include <netinet/tcp_var.h>
20878 #endif
20880 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20881 then :
20883 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20889 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
20890 #include <netinet/tcp_var.h>
20891 #endif
20893 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20894 then :
20896 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20902 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20903 #ifdef HAVE_NETINET_IN_H
20904 #include <netinet/in.h>
20905 #endif
20906 #ifdef HAVE_NETINET_IP_VAR_H
20907 #include <netinet/ip_var.h>
20908 #endif
20909 #ifdef HAVE_NETINET_UDP_H
20910 #include <netinet/udp.h>
20911 #endif
20912 #ifdef HAVE_NETINET_UDP_VAR_H
20913 #include <netinet/udp_var.h>
20914 #endif
20916 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20917 then :
20919 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20925 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20926 #ifdef HAVE_NET_IF_H
20927 # include <net/if.h>
20928 #endif
20930 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20931 then :
20933 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20939 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20940 # include <sys/sysinfo.h>
20941 #endif
20943 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20944 then :
20946 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20950 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20951 # include <sys/sysinfo.h>
20952 #endif
20954 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20955 then :
20957 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20963 LIBS="$ac_save_LIBS"
20965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20966 printf %s "checking for __builtin_popcount... " >&6; }
20967 if test ${ac_cv_have___builtin_popcount+y}
20968 then :
20969 printf %s "(cached) " >&6
20970 else $as_nop
20971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20972 /* end confdefs.h. */
20975 main (void)
20977 return __builtin_popcount(1)
20979 return 0;
20981 _ACEOF
20982 if ac_fn_c_try_link "$LINENO"
20983 then :
20984 ac_cv_have___builtin_popcount="yes"
20985 else $as_nop
20986 ac_cv_have___builtin_popcount="no"
20988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20989 conftest$ac_exeext conftest.$ac_ext
20991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20992 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20993 if test "$ac_cv_have___builtin_popcount" = "yes"
20994 then
20996 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21001 printf %s "checking for __clear_cache... " >&6; }
21002 if test ${ac_cv_have___clear_cache+y}
21003 then :
21004 printf %s "(cached) " >&6
21005 else $as_nop
21006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21007 /* end confdefs.h. */
21010 main (void)
21012 __clear_cache((void*)0, (void*)0); return 0;
21014 return 0;
21016 _ACEOF
21017 if ac_fn_c_try_link "$LINENO"
21018 then :
21019 ac_cv_have___clear_cache="yes"
21020 else $as_nop
21021 ac_cv_have___clear_cache="no"
21023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21024 conftest$ac_exeext conftest.$ac_ext
21026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21027 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21028 if test "$ac_cv_have___clear_cache" = "yes"
21029 then
21031 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21036 case $host_cpu in
21037 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21038 printf %s "checking whether we need to define __i386__... " >&6; }
21039 if test ${ac_cv_cpp_def___i386__+y}
21040 then :
21041 printf %s "(cached) " >&6
21042 else $as_nop
21043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21044 /* end confdefs.h. */
21045 #ifndef __i386__
21047 #endif
21048 _ACEOF
21049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21050 $EGREP "yes" >/dev/null 2>&1
21051 then :
21052 ac_cv_cpp_def___i386__=yes
21053 else $as_nop
21054 ac_cv_cpp_def___i386__=no
21056 rm -rf conftest*
21059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21060 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21061 if test "x$ac_cv_cpp_def___i386__" = xyes
21062 then :
21063 CFLAGS="$CFLAGS -D__i386__"
21064 LINTFLAGS="$LINTFLAGS -D__i386__"
21065 fi ;;
21066 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21067 printf %s "checking whether we need to define __x86_64__... " >&6; }
21068 if test ${ac_cv_cpp_def___x86_64__+y}
21069 then :
21070 printf %s "(cached) " >&6
21071 else $as_nop
21072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21073 /* end confdefs.h. */
21074 #ifndef __x86_64__
21076 #endif
21077 _ACEOF
21078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21079 $EGREP "yes" >/dev/null 2>&1
21080 then :
21081 ac_cv_cpp_def___x86_64__=yes
21082 else $as_nop
21083 ac_cv_cpp_def___x86_64__=no
21085 rm -rf conftest*
21088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21089 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21090 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21091 then :
21092 CFLAGS="$CFLAGS -D__x86_64__"
21093 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21094 fi ;;
21095 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21096 printf %s "checking whether we need to define __sparc64__... " >&6; }
21097 if test ${ac_cv_cpp_def___sparc64__+y}
21098 then :
21099 printf %s "(cached) " >&6
21100 else $as_nop
21101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21102 /* end confdefs.h. */
21103 #ifndef __sparc64__
21105 #endif
21106 _ACEOF
21107 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21108 $EGREP "yes" >/dev/null 2>&1
21109 then :
21110 ac_cv_cpp_def___sparc64__=yes
21111 else $as_nop
21112 ac_cv_cpp_def___sparc64__=no
21114 rm -rf conftest*
21117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21118 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21119 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21120 then :
21121 CFLAGS="$CFLAGS -D__sparc64__"
21122 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21123 fi ;;
21124 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21125 printf %s "checking whether we need to define __sparc__... " >&6; }
21126 if test ${ac_cv_cpp_def___sparc__+y}
21127 then :
21128 printf %s "(cached) " >&6
21129 else $as_nop
21130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21131 /* end confdefs.h. */
21132 #ifndef __sparc__
21134 #endif
21135 _ACEOF
21136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21137 $EGREP "yes" >/dev/null 2>&1
21138 then :
21139 ac_cv_cpp_def___sparc__=yes
21140 else $as_nop
21141 ac_cv_cpp_def___sparc__=no
21143 rm -rf conftest*
21146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21147 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21148 if test "x$ac_cv_cpp_def___sparc__" = xyes
21149 then :
21150 CFLAGS="$CFLAGS -D__sparc__"
21151 LINTFLAGS="$LINTFLAGS -D__sparc__"
21152 fi ;;
21153 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21154 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21155 if test ${ac_cv_cpp_def___powerpc64__+y}
21156 then :
21157 printf %s "(cached) " >&6
21158 else $as_nop
21159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21160 /* end confdefs.h. */
21161 #ifndef __powerpc64__
21163 #endif
21164 _ACEOF
21165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21166 $EGREP "yes" >/dev/null 2>&1
21167 then :
21168 ac_cv_cpp_def___powerpc64__=yes
21169 else $as_nop
21170 ac_cv_cpp_def___powerpc64__=no
21172 rm -rf conftest*
21175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21176 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21177 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21178 then :
21179 CFLAGS="$CFLAGS -D__powerpc64__"
21180 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21181 fi ;;
21182 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21183 printf %s "checking whether we need to define __powerpc__... " >&6; }
21184 if test ${ac_cv_cpp_def___powerpc__+y}
21185 then :
21186 printf %s "(cached) " >&6
21187 else $as_nop
21188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21189 /* end confdefs.h. */
21190 #ifndef __powerpc__
21192 #endif
21193 _ACEOF
21194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21195 $EGREP "yes" >/dev/null 2>&1
21196 then :
21197 ac_cv_cpp_def___powerpc__=yes
21198 else $as_nop
21199 ac_cv_cpp_def___powerpc__=no
21201 rm -rf conftest*
21204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21205 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21206 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21207 then :
21208 CFLAGS="$CFLAGS -D__powerpc__"
21209 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21210 fi ;;
21211 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21212 printf %s "checking whether we need to define __aarch64__... " >&6; }
21213 if test ${ac_cv_cpp_def___aarch64__+y}
21214 then :
21215 printf %s "(cached) " >&6
21216 else $as_nop
21217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21218 /* end confdefs.h. */
21219 #ifndef __aarch64__
21221 #endif
21222 _ACEOF
21223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21224 $EGREP "yes" >/dev/null 2>&1
21225 then :
21226 ac_cv_cpp_def___aarch64__=yes
21227 else $as_nop
21228 ac_cv_cpp_def___aarch64__=no
21230 rm -rf conftest*
21233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21234 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21235 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21236 then :
21237 CFLAGS="$CFLAGS -D__aarch64__"
21238 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21239 fi ;;
21240 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21241 printf %s "checking whether we need to define __arm__... " >&6; }
21242 if test ${ac_cv_cpp_def___arm__+y}
21243 then :
21244 printf %s "(cached) " >&6
21245 else $as_nop
21246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21247 /* end confdefs.h. */
21248 #ifndef __arm__
21250 #endif
21251 _ACEOF
21252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21253 $EGREP "yes" >/dev/null 2>&1
21254 then :
21255 ac_cv_cpp_def___arm__=yes
21256 else $as_nop
21257 ac_cv_cpp_def___arm__=no
21259 rm -rf conftest*
21262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21263 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21264 if test "x$ac_cv_cpp_def___arm__" = xyes
21265 then :
21266 CFLAGS="$CFLAGS -D__arm__"
21267 LINTFLAGS="$LINTFLAGS -D__arm__"
21268 fi ;;
21269 esac
21271 case $host_vendor in
21272 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21273 printf %s "checking whether we need to define __sun__... " >&6; }
21274 if test ${ac_cv_cpp_def___sun__+y}
21275 then :
21276 printf %s "(cached) " >&6
21277 else $as_nop
21278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21279 /* end confdefs.h. */
21280 #ifndef __sun__
21282 #endif
21283 _ACEOF
21284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21285 $EGREP "yes" >/dev/null 2>&1
21286 then :
21287 ac_cv_cpp_def___sun__=yes
21288 else $as_nop
21289 ac_cv_cpp_def___sun__=no
21291 rm -rf conftest*
21294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21295 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21296 if test "x$ac_cv_cpp_def___sun__" = xyes
21297 then :
21298 CFLAGS="$CFLAGS -D__sun__"
21299 LINTFLAGS="$LINTFLAGS -D__sun__"
21300 fi ;;
21301 esac
21307 ac_config_commands="$ac_config_commands include/stamp-h"
21309 printf %s "creating Makefile rules..." >&6
21311 makedep_flags=""
21312 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21314 wine_srcdir=
21315 test "$srcdir" = . || wine_srcdir="$srcdir/"
21317 ac_config_links="$ac_config_links wine:tools/winewrapper"
21318 wine_fn_config_symlink wine
21319 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
21320 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21321 wine_fn_config_symlink wine64
21324 wine_fn_config_makefile dlls/acledit enable_acledit
21325 wine_fn_config_makefile dlls/aclui enable_aclui
21326 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21327 wine_fn_config_makefile dlls/activeds enable_activeds
21328 wine_fn_config_makefile dlls/activeds/tests enable_tests
21329 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21330 wine_fn_config_makefile dlls/adsldp enable_adsldp
21331 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21332 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21333 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21334 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21335 wine_fn_config_makefile dlls/advpack enable_advpack
21336 wine_fn_config_makefile dlls/advpack/tests enable_tests
21337 wine_fn_config_makefile dlls/amsi enable_amsi
21338 wine_fn_config_makefile dlls/amstream enable_amstream
21339 wine_fn_config_makefile dlls/amstream/tests enable_tests
21340 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21341 wine_fn_config_makefile dlls/apphelp enable_apphelp
21342 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21343 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21344 wine_fn_config_makefile dlls/atl enable_atl
21345 wine_fn_config_makefile dlls/atl/tests enable_tests
21346 wine_fn_config_makefile dlls/atl100 enable_atl100
21347 wine_fn_config_makefile dlls/atl100/tests enable_tests
21348 wine_fn_config_makefile dlls/atl110 enable_atl110
21349 wine_fn_config_makefile dlls/atl110/tests enable_tests
21350 wine_fn_config_makefile dlls/atl80 enable_atl80
21351 wine_fn_config_makefile dlls/atl80/tests enable_tests
21352 wine_fn_config_makefile dlls/atl90 enable_atl90
21353 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21354 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21355 wine_fn_config_makefile dlls/atmlib enable_atmlib
21356 wine_fn_config_makefile dlls/authz enable_authz
21357 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21358 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21359 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21360 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21361 wine_fn_config_makefile dlls/avrt enable_avrt
21362 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21363 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21364 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21365 wine_fn_config_makefile dlls/browseui enable_browseui
21366 wine_fn_config_makefile dlls/browseui/tests enable_tests
21367 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21368 wine_fn_config_makefile dlls/cabinet enable_cabinet
21369 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21370 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21371 wine_fn_config_makefile dlls/cards enable_cards
21372 wine_fn_config_makefile dlls/cdosys enable_cdosys
21373 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21374 wine_fn_config_makefile dlls/clusapi enable_clusapi
21375 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21376 wine_fn_config_makefile dlls/combase enable_combase
21377 wine_fn_config_makefile dlls/combase/tests enable_tests
21378 wine_fn_config_makefile dlls/comcat enable_comcat
21379 wine_fn_config_makefile dlls/comcat/tests enable_tests
21380 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21381 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21382 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21383 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21384 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21385 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21386 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21387 wine_fn_config_makefile dlls/compstui enable_compstui
21388 wine_fn_config_makefile dlls/compstui/tests enable_tests
21389 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21390 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21391 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21392 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21393 wine_fn_config_makefile dlls/connect enable_connect
21394 wine_fn_config_makefile dlls/credui enable_credui
21395 wine_fn_config_makefile dlls/credui/tests enable_tests
21396 wine_fn_config_makefile dlls/crtdll enable_crtdll
21397 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21398 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21399 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21400 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21401 wine_fn_config_makefile dlls/cryptext enable_cryptext
21402 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21403 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21404 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21405 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21406 wine_fn_config_makefile dlls/cryptui enable_cryptui
21407 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21408 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21409 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21410 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21411 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21412 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21413 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21414 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21415 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21416 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21417 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21418 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21419 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21420 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21421 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21422 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21423 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21424 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21425 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21426 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21427 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21428 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21429 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21430 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21431 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21432 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21433 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21434 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21435 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21436 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21437 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21438 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21439 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21440 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21441 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21442 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21443 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21444 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21445 wine_fn_config_makefile dlls/d3dim enable_d3dim
21446 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21447 wine_fn_config_makefile dlls/d3drm enable_d3drm
21448 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21449 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21450 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21451 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21452 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21453 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21454 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21455 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21456 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21457 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21458 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21459 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21460 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21461 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21462 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21463 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21464 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21465 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21466 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21467 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21468 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21469 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21470 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21471 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21472 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21473 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21474 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21475 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21476 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21477 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21478 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21479 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21480 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21481 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21482 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21483 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21484 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21485 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21486 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21487 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21488 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21489 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21490 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21491 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21492 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21493 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21494 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21495 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21496 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21497 wine_fn_config_makefile dlls/davclnt enable_davclnt
21498 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21499 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21500 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21501 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21502 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21503 wine_fn_config_makefile dlls/dcomp enable_dcomp
21504 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21505 wine_fn_config_makefile dlls/ddraw enable_ddraw
21506 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21507 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21508 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21509 wine_fn_config_makefile dlls/devenum enable_devenum
21510 wine_fn_config_makefile dlls/devenum/tests enable_tests
21511 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21512 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21513 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21514 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21515 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21516 wine_fn_config_makefile dlls/difxapi enable_difxapi
21517 wine_fn_config_makefile dlls/dinput enable_dinput
21518 wine_fn_config_makefile dlls/dinput/tests enable_tests
21519 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21520 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21521 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21522 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21523 wine_fn_config_makefile dlls/dispex enable_dispex
21524 wine_fn_config_makefile dlls/dispex/tests enable_tests
21525 wine_fn_config_makefile dlls/display.drv16 enable_win16
21526 wine_fn_config_makefile dlls/dmband enable_dmband
21527 wine_fn_config_makefile dlls/dmband/tests enable_tests
21528 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21529 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21530 wine_fn_config_makefile dlls/dmime enable_dmime
21531 wine_fn_config_makefile dlls/dmime/tests enable_tests
21532 wine_fn_config_makefile dlls/dmloader enable_dmloader
21533 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21534 wine_fn_config_makefile dlls/dmscript enable_dmscript
21535 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21536 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21537 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21538 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21539 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21540 wine_fn_config_makefile dlls/dmusic enable_dmusic
21541 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21542 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21543 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21544 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21545 wine_fn_config_makefile dlls/dplay enable_dplay
21546 wine_fn_config_makefile dlls/dplayx enable_dplayx
21547 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21548 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21549 wine_fn_config_makefile dlls/dpnet enable_dpnet
21550 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21551 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21552 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21553 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21554 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21555 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21556 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21557 wine_fn_config_makefile dlls/drmclien enable_drmclien
21558 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21559 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21560 wine_fn_config_makefile dlls/dsound enable_dsound
21561 wine_fn_config_makefile dlls/dsound/tests enable_tests
21562 wine_fn_config_makefile dlls/dsquery enable_dsquery
21563 wine_fn_config_makefile dlls/dssenh enable_dssenh
21564 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21565 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21566 wine_fn_config_makefile dlls/dswave enable_dswave
21567 wine_fn_config_makefile dlls/dswave/tests enable_tests
21568 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21569 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21570 wine_fn_config_makefile dlls/dwrite enable_dwrite
21571 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21572 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21573 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21574 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21575 wine_fn_config_makefile dlls/dxgi enable_dxgi
21576 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21577 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21578 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21579 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21580 wine_fn_config_makefile dlls/esent enable_esent
21581 wine_fn_config_makefile dlls/evr enable_evr
21582 wine_fn_config_makefile dlls/evr/tests enable_tests
21583 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21584 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21585 wine_fn_config_makefile dlls/faultrep enable_faultrep
21586 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21587 wine_fn_config_makefile dlls/feclient enable_feclient
21588 wine_fn_config_makefile dlls/fltlib enable_fltlib
21589 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21590 wine_fn_config_makefile dlls/fntcache enable_fntcache
21591 wine_fn_config_makefile dlls/fontsub enable_fontsub
21592 wine_fn_config_makefile dlls/fusion enable_fusion
21593 wine_fn_config_makefile dlls/fusion/tests enable_tests
21594 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21595 wine_fn_config_makefile dlls/gameux enable_gameux
21596 wine_fn_config_makefile dlls/gameux/tests enable_tests
21597 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21598 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21599 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21600 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21601 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21602 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21603 wine_fn_config_makefile dlls/glu32 enable_glu32
21604 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21605 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21606 wine_fn_config_makefile dlls/hal enable_hal
21607 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21608 wine_fn_config_makefile dlls/hid enable_hid
21609 wine_fn_config_makefile dlls/hid/tests enable_tests
21610 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21611 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21612 wine_fn_config_makefile dlls/hlink enable_hlink
21613 wine_fn_config_makefile dlls/hlink/tests enable_tests
21614 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21615 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21616 wine_fn_config_makefile dlls/http.sys enable_http_sys
21617 wine_fn_config_makefile dlls/httpapi enable_httpapi
21618 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21619 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21620 wine_fn_config_makefile dlls/iccvid enable_iccvid
21621 wine_fn_config_makefile dlls/icmp enable_icmp
21622 wine_fn_config_makefile dlls/ieframe enable_ieframe
21623 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21624 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21625 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21626 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21627 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21628 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21629 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21630 wine_fn_config_makefile dlls/imm32 enable_imm32
21631 wine_fn_config_makefile dlls/imm32/tests enable_tests
21632 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21633 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21634 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21635 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21636 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21637 wine_fn_config_makefile dlls/infosoft enable_infosoft
21638 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21639 wine_fn_config_makefile dlls/initpki enable_initpki
21640 wine_fn_config_makefile dlls/inkobj enable_inkobj
21641 wine_fn_config_makefile dlls/inseng enable_inseng
21642 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21643 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21644 wine_fn_config_makefile dlls/iprop enable_iprop
21645 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21646 wine_fn_config_makefile dlls/itircl enable_itircl
21647 wine_fn_config_makefile dlls/itss enable_itss
21648 wine_fn_config_makefile dlls/itss/tests enable_tests
21649 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21650 wine_fn_config_makefile dlls/jscript enable_jscript
21651 wine_fn_config_makefile dlls/jscript/tests enable_tests
21652 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21653 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21654 wine_fn_config_makefile dlls/kerberos enable_kerberos
21655 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21656 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21657 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21658 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21659 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21660 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21661 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21662 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21663 wine_fn_config_makefile dlls/ksuser enable_ksuser
21664 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21665 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21666 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21667 wine_fn_config_makefile dlls/loadperf enable_loadperf
21668 wine_fn_config_makefile dlls/localspl enable_localspl
21669 wine_fn_config_makefile dlls/localspl/tests enable_tests
21670 wine_fn_config_makefile dlls/localui enable_localui
21671 wine_fn_config_makefile dlls/localui/tests enable_tests
21672 wine_fn_config_makefile dlls/lz32 enable_lz32
21673 wine_fn_config_makefile dlls/lz32/tests enable_tests
21674 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21675 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21676 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21677 wine_fn_config_makefile dlls/mapistub enable_mapistub
21678 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21679 wine_fn_config_makefile dlls/mcicda enable_mcicda
21680 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21681 wine_fn_config_makefile dlls/mciseq enable_mciseq
21682 wine_fn_config_makefile dlls/mciwave enable_mciwave
21683 wine_fn_config_makefile dlls/mf enable_mf
21684 wine_fn_config_makefile dlls/mf/tests enable_tests
21685 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21686 wine_fn_config_makefile dlls/mferror enable_mferror
21687 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21688 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21689 wine_fn_config_makefile dlls/mfplat enable_mfplat
21690 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21691 wine_fn_config_makefile dlls/mfplay enable_mfplay
21692 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21693 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21694 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21695 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21696 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21697 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21698 wine_fn_config_makefile dlls/midimap enable_midimap
21699 wine_fn_config_makefile dlls/mlang enable_mlang
21700 wine_fn_config_makefile dlls/mlang/tests enable_tests
21701 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21702 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21703 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21704 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21705 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21706 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21707 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21708 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21709 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21710 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21711 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21712 wine_fn_config_makefile dlls/mpr enable_mpr
21713 wine_fn_config_makefile dlls/mpr/tests enable_tests
21714 wine_fn_config_makefile dlls/mprapi enable_mprapi
21715 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21716 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21717 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21718 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21719 wine_fn_config_makefile dlls/msado15 enable_msado15
21720 wine_fn_config_makefile dlls/msado15/tests enable_tests
21721 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21722 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21723 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21724 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21725 wine_fn_config_makefile dlls/mscms enable_mscms
21726 wine_fn_config_makefile dlls/mscms/tests enable_tests
21727 wine_fn_config_makefile dlls/mscoree enable_mscoree
21728 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21729 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21730 wine_fn_config_makefile dlls/msctf enable_msctf
21731 wine_fn_config_makefile dlls/msctf/tests enable_tests
21732 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21733 wine_fn_config_makefile dlls/msctfp enable_msctfp
21734 wine_fn_config_makefile dlls/msdaps enable_msdaps
21735 wine_fn_config_makefile dlls/msdasql enable_msdasql
21736 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21737 wine_fn_config_makefile dlls/msdelta enable_msdelta
21738 wine_fn_config_makefile dlls/msdmo enable_msdmo
21739 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21740 wine_fn_config_makefile dlls/msdrm enable_msdrm
21741 wine_fn_config_makefile dlls/msftedit enable_msftedit
21742 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21743 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21744 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21745 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21746 wine_fn_config_makefile dlls/mshtml enable_mshtml
21747 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21748 wine_fn_config_makefile dlls/msi enable_msi
21749 wine_fn_config_makefile dlls/msi/tests enable_tests
21750 wine_fn_config_makefile dlls/msident enable_msident
21751 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21752 wine_fn_config_makefile dlls/msimsg enable_msimsg
21753 wine_fn_config_makefile dlls/msimtf enable_msimtf
21754 wine_fn_config_makefile dlls/msisip enable_msisip
21755 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21756 wine_fn_config_makefile dlls/msls31 enable_msls31
21757 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21758 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21759 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21760 wine_fn_config_makefile dlls/msports enable_msports
21761 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21762 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21763 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21764 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21765 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21766 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21767 wine_fn_config_makefile dlls/mstask enable_mstask
21768 wine_fn_config_makefile dlls/mstask/tests enable_tests
21769 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21770 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21771 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21772 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21773 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21774 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21775 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21776 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21777 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21778 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21779 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21780 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21781 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21782 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21783 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21784 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21785 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21786 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21787 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21788 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21789 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21790 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21791 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21792 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21793 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21794 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21795 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21796 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21797 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21798 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21799 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21800 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21801 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21802 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21803 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21804 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21805 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21806 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21807 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21808 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21809 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21810 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21811 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21812 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21813 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21814 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21815 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21816 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21817 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21818 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21819 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21820 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21821 wine_fn_config_makefile dlls/mswsock enable_mswsock
21822 wine_fn_config_makefile dlls/msxml enable_msxml
21823 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21824 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21825 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21826 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21827 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21828 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21829 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21830 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21831 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21832 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21833 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21834 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21835 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21836 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21837 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21838 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21839 wine_fn_config_makefile dlls/netprofm enable_netprofm
21840 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21841 wine_fn_config_makefile dlls/netutils enable_netutils
21842 wine_fn_config_makefile dlls/newdev enable_newdev
21843 wine_fn_config_makefile dlls/ninput enable_ninput
21844 wine_fn_config_makefile dlls/ninput/tests enable_tests
21845 wine_fn_config_makefile dlls/normaliz enable_normaliz
21846 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21847 wine_fn_config_makefile dlls/npptools enable_npptools
21848 wine_fn_config_makefile dlls/nsi enable_nsi
21849 wine_fn_config_makefile dlls/nsi/tests enable_tests
21850 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21851 wine_fn_config_makefile dlls/ntdll enable_ntdll
21852 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21853 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21854 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21855 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21856 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21857 wine_fn_config_makefile dlls/ntprint enable_ntprint
21858 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21859 wine_fn_config_makefile dlls/objsel enable_objsel
21860 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21861 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21862 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21863 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21864 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21865 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21866 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21867 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21868 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21869 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21870 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21871 wine_fn_config_makefile dlls/ole32 enable_ole32
21872 wine_fn_config_makefile dlls/ole32/tests enable_tests
21873 wine_fn_config_makefile dlls/oleacc enable_oleacc
21874 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21875 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21876 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21877 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21878 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21879 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21880 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21881 wine_fn_config_makefile dlls/oledlg enable_oledlg
21882 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21883 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21884 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21885 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21886 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21887 wine_fn_config_makefile dlls/opcservices enable_opcservices
21888 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21889 wine_fn_config_makefile dlls/openal32 enable_openal32
21890 wine_fn_config_makefile dlls/opencl enable_opencl
21891 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21892 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21893 wine_fn_config_makefile dlls/packager enable_packager
21894 wine_fn_config_makefile dlls/packager/tests enable_tests
21895 wine_fn_config_makefile dlls/pdh enable_pdh
21896 wine_fn_config_makefile dlls/pdh/tests enable_tests
21897 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21898 wine_fn_config_makefile dlls/pidgen enable_pidgen
21899 wine_fn_config_makefile dlls/powrprof enable_powrprof
21900 wine_fn_config_makefile dlls/printui enable_printui
21901 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21902 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21903 wine_fn_config_makefile dlls/propsys enable_propsys
21904 wine_fn_config_makefile dlls/propsys/tests enable_tests
21905 wine_fn_config_makefile dlls/psapi enable_psapi
21906 wine_fn_config_makefile dlls/psapi/tests enable_tests
21907 wine_fn_config_makefile dlls/pstorec enable_pstorec
21908 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21909 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21910 wine_fn_config_makefile dlls/qasf enable_qasf
21911 wine_fn_config_makefile dlls/qasf/tests enable_tests
21912 wine_fn_config_makefile dlls/qcap enable_qcap
21913 wine_fn_config_makefile dlls/qcap/tests enable_tests
21914 wine_fn_config_makefile dlls/qdvd enable_qdvd
21915 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21916 wine_fn_config_makefile dlls/qedit enable_qedit
21917 wine_fn_config_makefile dlls/qedit/tests enable_tests
21918 wine_fn_config_makefile dlls/qmgr enable_qmgr
21919 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21920 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21921 wine_fn_config_makefile dlls/quartz enable_quartz
21922 wine_fn_config_makefile dlls/quartz/tests enable_tests
21923 wine_fn_config_makefile dlls/query enable_query
21924 wine_fn_config_makefile dlls/qwave enable_qwave
21925 wine_fn_config_makefile dlls/qwave/tests enable_tests
21926 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21927 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21928 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21929 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21930 wine_fn_config_makefile dlls/regapi enable_regapi
21931 wine_fn_config_makefile dlls/resutils enable_resutils
21932 wine_fn_config_makefile dlls/riched20 enable_riched20
21933 wine_fn_config_makefile dlls/riched20/tests enable_tests
21934 wine_fn_config_makefile dlls/riched32 enable_riched32
21935 wine_fn_config_makefile dlls/riched32/tests enable_tests
21936 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21937 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21938 wine_fn_config_makefile dlls/rsabase enable_rsabase
21939 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21940 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21941 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21942 wine_fn_config_makefile dlls/rtutils enable_rtutils
21943 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21944 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21945 wine_fn_config_makefile dlls/samlib enable_samlib
21946 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21947 wine_fn_config_makefile dlls/sapi enable_sapi
21948 wine_fn_config_makefile dlls/sapi/tests enable_tests
21949 wine_fn_config_makefile dlls/sas enable_sas
21950 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21951 wine_fn_config_makefile dlls/sccbase enable_sccbase
21952 wine_fn_config_makefile dlls/schannel enable_schannel
21953 wine_fn_config_makefile dlls/schannel/tests enable_tests
21954 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21955 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21956 wine_fn_config_makefile dlls/scrobj enable_scrobj
21957 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21958 wine_fn_config_makefile dlls/scrrun enable_scrrun
21959 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21960 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21961 wine_fn_config_makefile dlls/sechost enable_sechost
21962 wine_fn_config_makefile dlls/secur32 enable_secur32
21963 wine_fn_config_makefile dlls/secur32/tests enable_tests
21964 wine_fn_config_makefile dlls/security enable_security
21965 wine_fn_config_makefile dlls/sensapi enable_sensapi
21966 wine_fn_config_makefile dlls/serialui enable_serialui
21967 wine_fn_config_makefile dlls/serialui/tests enable_tests
21968 wine_fn_config_makefile dlls/setupapi enable_setupapi
21969 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21970 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21971 wine_fn_config_makefile dlls/sfc enable_sfc
21972 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21973 wine_fn_config_makefile dlls/shcore enable_shcore
21974 wine_fn_config_makefile dlls/shcore/tests enable_tests
21975 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21976 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21977 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21978 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21979 wine_fn_config_makefile dlls/shell32 enable_shell32
21980 wine_fn_config_makefile dlls/shell32/tests enable_tests
21981 wine_fn_config_makefile dlls/shfolder enable_shfolder
21982 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21983 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21984 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21985 wine_fn_config_makefile dlls/slc enable_slc
21986 wine_fn_config_makefile dlls/slc/tests enable_tests
21987 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21988 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21989 wine_fn_config_makefile dlls/softpub enable_softpub
21990 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21991 wine_fn_config_makefile dlls/spoolss enable_spoolss
21992 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21993 wine_fn_config_makefile dlls/sppc enable_sppc
21994 wine_fn_config_makefile dlls/srclient enable_srclient
21995 wine_fn_config_makefile dlls/srvcli enable_srvcli
21996 wine_fn_config_makefile dlls/sspicli enable_sspicli
21997 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21998 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21999 wine_fn_config_makefile dlls/sti enable_sti
22000 wine_fn_config_makefile dlls/sti/tests enable_tests
22001 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22002 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22003 wine_fn_config_makefile dlls/strmdll enable_strmdll
22004 wine_fn_config_makefile dlls/svrapi enable_svrapi
22005 wine_fn_config_makefile dlls/sxs enable_sxs
22006 wine_fn_config_makefile dlls/sxs/tests enable_tests
22007 wine_fn_config_makefile dlls/system.drv16 enable_win16
22008 wine_fn_config_makefile dlls/t2embed enable_t2embed
22009 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22010 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22011 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22012 wine_fn_config_makefile dlls/taskschd enable_taskschd
22013 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22014 wine_fn_config_makefile dlls/tbs enable_tbs
22015 wine_fn_config_makefile dlls/tdh enable_tdh
22016 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22017 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
22018 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
22019 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22020 wine_fn_config_makefile dlls/traffic enable_traffic
22021 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22022 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22023 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22024 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22025 wine_fn_config_makefile dlls/tzres enable_tzres
22026 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22027 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22028 wine_fn_config_makefile dlls/uianimation enable_uianimation
22029 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22030 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22031 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22032 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22033 wine_fn_config_makefile dlls/unicows enable_unicows
22034 wine_fn_config_makefile dlls/updspapi enable_updspapi
22035 wine_fn_config_makefile dlls/url enable_url
22036 wine_fn_config_makefile dlls/urlmon enable_urlmon
22037 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22038 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22039 wine_fn_config_makefile dlls/user.exe16 enable_win16
22040 wine_fn_config_makefile dlls/user32 enable_user32
22041 wine_fn_config_makefile dlls/user32/tests enable_tests
22042 wine_fn_config_makefile dlls/userenv enable_userenv
22043 wine_fn_config_makefile dlls/userenv/tests enable_tests
22044 wine_fn_config_makefile dlls/usp10 enable_usp10
22045 wine_fn_config_makefile dlls/usp10/tests enable_tests
22046 wine_fn_config_makefile dlls/utildll enable_utildll
22047 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22048 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22049 wine_fn_config_makefile dlls/vbscript enable_vbscript
22050 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22051 wine_fn_config_makefile dlls/vcomp enable_vcomp
22052 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22053 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22054 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22055 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22056 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22057 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22058 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22059 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22060 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22061 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22062 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22063 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22064 wine_fn_config_makefile dlls/version enable_version
22065 wine_fn_config_makefile dlls/version/tests enable_tests
22066 wine_fn_config_makefile dlls/vga enable_vga
22067 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22068 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22069 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22070 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22071 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22072 wine_fn_config_makefile dlls/vssapi enable_vssapi
22073 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22074 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22075 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22076 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22077 wine_fn_config_makefile dlls/w32skrnl enable_win16
22078 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22079 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22080 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22081 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22082 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22083 wine_fn_config_makefile dlls/wdscore enable_wdscore
22084 wine_fn_config_makefile dlls/webservices enable_webservices
22085 wine_fn_config_makefile dlls/webservices/tests enable_tests
22086 wine_fn_config_makefile dlls/websocket enable_websocket
22087 wine_fn_config_makefile dlls/wer enable_wer
22088 wine_fn_config_makefile dlls/wer/tests enable_tests
22089 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22090 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22091 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22092 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22093 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22094 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22095 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22096 wine_fn_config_makefile dlls/win32u enable_win32u
22097 wine_fn_config_makefile dlls/win32u/tests enable_tests
22098 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22099 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22100 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22101 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22102 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22103 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22104 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22105 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22106 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22107 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22108 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22109 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22110 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22111 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22112 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22113 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22114 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22115 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22116 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22117 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22118 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22119 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22120 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22121 wine_fn_config_makefile dlls/wined3d enable_wined3d
22122 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22123 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22124 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22125 wine_fn_config_makefile dlls/winemapi enable_winemapi
22126 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22127 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22128 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22129 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22130 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22131 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22132 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22133 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22134 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22135 wine_fn_config_makefile dlls/wing32 enable_wing32
22136 wine_fn_config_makefile dlls/winhttp enable_winhttp
22137 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22138 wine_fn_config_makefile dlls/wininet enable_wininet
22139 wine_fn_config_makefile dlls/wininet/tests enable_tests
22140 wine_fn_config_makefile dlls/winmm enable_winmm
22141 wine_fn_config_makefile dlls/winmm/tests enable_tests
22142 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22143 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22144 wine_fn_config_makefile dlls/winscard enable_winscard
22145 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22146 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22147 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22148 wine_fn_config_makefile dlls/winsta enable_winsta
22149 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22150 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22151 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22152 wine_fn_config_makefile dlls/wintrust enable_wintrust
22153 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22154 wine_fn_config_makefile dlls/wintypes enable_wintypes
22155 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22156 wine_fn_config_makefile dlls/winusb enable_winusb
22157 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22158 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22159 wine_fn_config_makefile dlls/wlanui enable_wlanui
22160 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22161 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22162 wine_fn_config_makefile dlls/wmasf enable_wmasf
22163 wine_fn_config_makefile dlls/wmi enable_wmi
22164 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22165 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22166 wine_fn_config_makefile dlls/wmp enable_wmp
22167 wine_fn_config_makefile dlls/wmp/tests enable_tests
22168 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22169 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22170 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22171 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22172 wine_fn_config_makefile dlls/wow32 enable_win16
22173 wine_fn_config_makefile dlls/wow64 enable_wow64
22174 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22175 wine_fn_config_makefile dlls/wow64win enable_wow64win
22176 wine_fn_config_makefile dlls/wpc enable_wpc
22177 wine_fn_config_makefile dlls/wpc/tests enable_tests
22178 wine_fn_config_makefile dlls/wpcap enable_wpcap
22179 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22180 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22181 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22182 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22183 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22184 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22185 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22186 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22187 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22188 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22189 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22190 wine_fn_config_makefile dlls/wuapi enable_wuapi
22191 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22192 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22193 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22194 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22195 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22196 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22197 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22198 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22199 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22200 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22201 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22202 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22203 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22204 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22205 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22206 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22207 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22208 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22209 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22210 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22211 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22212 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22213 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22214 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22215 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22216 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22217 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22218 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22219 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22220 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22221 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22222 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22223 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22224 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22225 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22226 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22227 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22228 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22229 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22230 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22231 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22232 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22233 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22234 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22235 wine_fn_config_makefile dlls/xmllite enable_xmllite
22236 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22237 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22238 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22239 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22240 wine_fn_config_makefile fonts enable_fonts
22241 wine_fn_config_makefile include enable_include
22242 wine_fn_config_makefile libs/adsiid enable_adsiid
22243 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22244 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22245 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22246 wine_fn_config_makefile libs/dxguid enable_dxguid
22247 wine_fn_config_makefile libs/faudio enable_faudio
22248 wine_fn_config_makefile libs/gsm enable_gsm
22249 wine_fn_config_makefile libs/jpeg enable_jpeg
22250 wine_fn_config_makefile libs/jxr enable_jxr
22251 wine_fn_config_makefile libs/lcms2 enable_lcms2
22252 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22253 wine_fn_config_makefile libs/mpg123 enable_mpg123
22254 wine_fn_config_makefile libs/png enable_png
22255 wine_fn_config_makefile libs/strmbase enable_strmbase
22256 wine_fn_config_makefile libs/strmiids enable_strmiids
22257 wine_fn_config_makefile libs/tiff enable_tiff
22258 wine_fn_config_makefile libs/uuid enable_uuid
22259 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22260 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22261 wine_fn_config_makefile libs/wine enable_wine
22262 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22263 wine_fn_config_makefile libs/xml2 enable_xml2
22264 wine_fn_config_makefile libs/xslt enable_xslt
22265 wine_fn_config_makefile libs/zlib enable_zlib
22266 wine_fn_config_makefile loader enable_loader
22267 wine_fn_config_makefile nls enable_nls
22268 wine_fn_config_makefile po enable_po
22269 wine_fn_config_makefile programs/arp enable_arp
22270 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22271 wine_fn_config_makefile programs/attrib enable_attrib
22272 wine_fn_config_makefile programs/cabarc enable_cabarc
22273 wine_fn_config_makefile programs/cacls enable_cacls
22274 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22275 wine_fn_config_makefile programs/clock enable_clock
22276 wine_fn_config_makefile programs/cmd enable_cmd
22277 wine_fn_config_makefile programs/cmd/tests enable_tests
22278 wine_fn_config_makefile programs/conhost enable_conhost
22279 wine_fn_config_makefile programs/conhost/tests enable_tests
22280 wine_fn_config_makefile programs/control enable_control
22281 wine_fn_config_makefile programs/cscript enable_cscript
22282 wine_fn_config_makefile programs/dism enable_dism
22283 wine_fn_config_makefile programs/dllhost enable_dllhost
22284 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22285 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22286 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22287 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22288 wine_fn_config_makefile programs/eject enable_eject
22289 wine_fn_config_makefile programs/expand enable_expand
22290 wine_fn_config_makefile programs/explorer enable_explorer
22291 wine_fn_config_makefile programs/extrac32 enable_extrac32
22292 wine_fn_config_makefile programs/fc enable_fc
22293 wine_fn_config_makefile programs/find enable_find
22294 wine_fn_config_makefile programs/find/tests enable_tests
22295 wine_fn_config_makefile programs/findstr enable_findstr
22296 wine_fn_config_makefile programs/fsutil enable_fsutil
22297 wine_fn_config_makefile programs/fsutil/tests enable_tests
22298 wine_fn_config_makefile programs/hh enable_hh
22299 wine_fn_config_makefile programs/hostname enable_hostname
22300 wine_fn_config_makefile programs/icacls enable_icacls
22301 wine_fn_config_makefile programs/icinfo enable_icinfo
22302 wine_fn_config_makefile programs/iexplore enable_iexplore
22303 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22304 wine_fn_config_makefile programs/lodctr enable_lodctr
22305 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22306 wine_fn_config_makefile programs/mshta enable_mshta
22307 wine_fn_config_makefile programs/msidb enable_msidb
22308 wine_fn_config_makefile programs/msiexec enable_msiexec
22309 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22310 wine_fn_config_makefile programs/net enable_net
22311 wine_fn_config_makefile programs/netsh enable_netsh
22312 wine_fn_config_makefile programs/netstat enable_netstat
22313 wine_fn_config_makefile programs/ngen enable_ngen
22314 wine_fn_config_makefile programs/notepad enable_notepad
22315 wine_fn_config_makefile programs/oleview enable_oleview
22316 wine_fn_config_makefile programs/ping enable_ping
22317 wine_fn_config_makefile programs/plugplay enable_plugplay
22318 wine_fn_config_makefile programs/powershell enable_powershell
22319 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22320 wine_fn_config_makefile programs/progman enable_progman
22321 wine_fn_config_makefile programs/reg enable_reg
22322 wine_fn_config_makefile programs/reg/tests enable_tests
22323 wine_fn_config_makefile programs/regasm enable_regasm
22324 wine_fn_config_makefile programs/regedit enable_regedit
22325 wine_fn_config_makefile programs/regedit/tests enable_tests
22326 wine_fn_config_makefile programs/regini enable_regini
22327 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22328 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22329 wine_fn_config_makefile programs/robocopy enable_robocopy
22330 wine_fn_config_makefile programs/rpcss enable_rpcss
22331 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22332 wine_fn_config_makefile programs/rundll32 enable_rundll32
22333 wine_fn_config_makefile programs/sc enable_sc
22334 wine_fn_config_makefile programs/sc/tests enable_tests
22335 wine_fn_config_makefile programs/schtasks enable_schtasks
22336 wine_fn_config_makefile programs/schtasks/tests enable_tests
22337 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22338 wine_fn_config_makefile programs/secedit enable_secedit
22339 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22340 wine_fn_config_makefile programs/services enable_services
22341 wine_fn_config_makefile programs/services/tests enable_tests
22342 wine_fn_config_makefile programs/shutdown enable_shutdown
22343 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22344 wine_fn_config_makefile programs/start enable_start
22345 wine_fn_config_makefile programs/subst enable_subst
22346 wine_fn_config_makefile programs/svchost enable_svchost
22347 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22348 wine_fn_config_makefile programs/taskkill enable_taskkill
22349 wine_fn_config_makefile programs/tasklist enable_tasklist
22350 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22351 wine_fn_config_makefile programs/termsv enable_termsv
22352 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22353 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22354 wine_fn_config_makefile programs/view enable_view
22355 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22356 wine_fn_config_makefile programs/where enable_where
22357 wine_fn_config_makefile programs/whoami enable_whoami
22358 wine_fn_config_makefile programs/wineboot enable_wineboot
22359 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22360 wine_fn_config_makefile programs/winecfg enable_winecfg
22361 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22362 wine_fn_config_makefile programs/winedbg enable_winedbg
22363 wine_fn_config_makefile programs/winedevice enable_winedevice
22364 wine_fn_config_makefile programs/winefile enable_winefile
22365 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22366 wine_fn_config_makefile programs/winemine enable_winemine
22367 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22368 wine_fn_config_makefile programs/winepath enable_winepath
22369 wine_fn_config_makefile programs/winetest enable_winetest
22370 wine_fn_config_makefile programs/winevdm enable_win16
22371 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22372 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22373 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22374 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22375 wine_fn_config_makefile programs/winver enable_winver
22376 wine_fn_config_makefile programs/wmic enable_wmic
22377 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22378 wine_fn_config_makefile programs/wordpad enable_wordpad
22379 wine_fn_config_makefile programs/write enable_write
22380 wine_fn_config_makefile programs/wscript enable_wscript
22381 wine_fn_config_makefile programs/wscript/tests enable_tests
22382 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22383 wine_fn_config_makefile programs/wusa enable_wusa
22384 wine_fn_config_makefile programs/xcopy enable_xcopy
22385 wine_fn_config_makefile programs/xcopy/tests enable_tests
22386 wine_fn_config_makefile server enable_server
22387 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22388 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22389 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22390 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22391 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22392 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22393 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22394 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22395 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22398 as_fn_append CONFIGURE_TARGETS " TAGS"
22399 as_fn_append CONFIGURE_TARGETS " tags"
22400 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22401 as_fn_append CONFIGURE_TARGETS " config.log"
22402 as_fn_append CONFIGURE_TARGETS " config.status"
22403 as_fn_append CONFIGURE_TARGETS " include/config.h"
22404 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22405 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22407 if test "x$enable_tools" != xno
22408 then
22409 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22410 ac_config_commands="$ac_config_commands tools/makedep"
22414 ac_config_commands="$ac_config_commands Makefile"
22418 SHELL=/bin/sh
22421 as_fn_append wine_rules "
22422 all: wine
22423 @echo \"Wine build complete.\"
22424 .INIT: Makefile
22425 .MAKEFILEDEPS:
22426 all: Makefile
22427 Makefile: config.status \$(MAKEDEP)
22428 @./config.status Makefile
22429 depend: \$(MAKEDEP)
22430 \$(MAKEDEP)$makedep_flags"
22433 as_fn_append wine_rules "
22434 config.status: ${wine_srcdir}configure
22435 @./config.status --recheck
22436 include/config.h: include/stamp-h
22437 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22438 @./config.status include/config.h include/stamp-h"
22440 if test "x$enable_maintainer_mode" = xyes
22441 then
22442 as_fn_append wine_rules "
22443 configure: configure.ac aclocal.m4
22444 autoconf --warnings=all
22445 include/config.h.in: include/stamp-h.in
22446 include/stamp-h.in: configure.ac aclocal.m4
22447 autoheader --warnings=all
22448 @echo timestamp > \$@"
22451 if test "x$enable_tools" != xno
22452 then
22453 as_fn_append wine_rules "
22454 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22455 @./config.status tools/makedep
22456 Makefile: tools/makedep$ac_exeext"
22457 else
22458 as_fn_append wine_rules "
22459 \$(MAKEDEP):
22460 @echo \"You need to run make in $toolsdir first\" && false"
22464 if test -n "$with_wine64"
22465 then
22466 case "$with_wine64" in
22467 /*) reldir="" ;;
22468 *) reldir="../" ;;
22469 esac
22470 rm -f fonts server 2>/dev/null
22471 as_fn_append wine_rules "
22472 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22473 loader/wine64 loader/wine64-preloader:
22474 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22475 $with_wine64/loader/wine:
22476 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22477 $with_wine64/loader/wine-preloader:
22478 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22479 clean::
22480 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22481 else
22482 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22483 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22484 fonts \
22485 loader/wine.inf \
22486 nls \
22487 programs/msidb/msidb \
22488 programs/msiexec/msiexec \
22489 programs/notepad/notepad \
22490 programs/regedit/regedit \
22491 programs/regsvr32/regsvr32 \
22492 programs/wineboot/wineboot \
22493 programs/winecfg/winecfg \
22494 programs/wineconsole/wineconsole \
22495 programs/winedbg/winedbg \
22496 programs/winefile/winefile \
22497 programs/winemine/winemine \
22498 programs/winepath/winepath \
22499 server/wineserver"
22501 case $host_os in
22502 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22503 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22504 esac
22508 as_fn_append wine_rules "
22509 distclean:: clean
22510 rm -rf autom4te.cache
22511 maintainer-clean::
22512 rm -f configure include/config.h.in"
22515 as_fn_append wine_rules "
22516 dlls/ntdll/unix/version.c: dummy
22517 @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)
22518 programs/winetest/build.rc: dummy
22519 @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)
22520 programs/winetest/build.nfo:
22521 @-\$(CC) -v 2>\$@
22522 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
22523 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22524 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22527 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22529 as_fn_append wine_rules "
22530 TAGS etags:
22531 rm -f TAGS
22532 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22533 tags ctags:
22534 rm -f tags
22535 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22536 dummy:
22537 .PHONY: depend dummy install-manpages"
22539 printf "%s\n" " done" >&6
22540 cat >confcache <<\_ACEOF
22541 # This file is a shell script that caches the results of configure
22542 # tests run on this system so they can be shared between configure
22543 # scripts and configure runs, see configure's option --config-cache.
22544 # It is not useful on other systems. If it contains results you don't
22545 # want to keep, you may remove or edit it.
22547 # config.status only pays attention to the cache file if you give it
22548 # the --recheck option to rerun configure.
22550 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22551 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22552 # following values.
22554 _ACEOF
22556 # The following way of writing the cache mishandles newlines in values,
22557 # but we know of no workaround that is simple, portable, and efficient.
22558 # So, we kill variables containing newlines.
22559 # Ultrix sh set writes to stderr and can't be redirected directly,
22560 # and sets the high bit in the cache file unless we assign to the vars.
22562 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22563 eval ac_val=\$$ac_var
22564 case $ac_val in #(
22565 *${as_nl}*)
22566 case $ac_var in #(
22567 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22568 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22569 esac
22570 case $ac_var in #(
22571 _ | IFS | as_nl) ;; #(
22572 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22573 *) { eval $ac_var=; unset $ac_var;} ;;
22574 esac ;;
22575 esac
22576 done
22578 (set) 2>&1 |
22579 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22580 *${as_nl}ac_space=\ *)
22581 # `set' does not quote correctly, so add quotes: double-quote
22582 # substitution turns \\\\ into \\, and sed turns \\ into \.
22583 sed -n \
22584 "s/'/'\\\\''/g;
22585 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22586 ;; #(
22588 # `set' quotes correctly as required by POSIX, so do not add quotes.
22589 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22591 esac |
22592 sort
22594 sed '
22595 /^ac_cv_env_/b end
22596 t clear
22597 :clear
22598 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22599 t end
22600 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22601 :end' >>confcache
22602 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22603 if test -w "$cache_file"; then
22604 if test "x$cache_file" != "x/dev/null"; then
22605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22606 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22607 if test ! -f "$cache_file" || test -h "$cache_file"; then
22608 cat confcache >"$cache_file"
22609 else
22610 case $cache_file in #(
22611 */* | ?:*)
22612 mv -f confcache "$cache_file"$$ &&
22613 mv -f "$cache_file"$$ "$cache_file" ;; #(
22615 mv -f confcache "$cache_file" ;;
22616 esac
22619 else
22620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22621 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22624 rm -f confcache
22626 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22627 # Let make expand exec_prefix.
22628 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22630 DEFS=-DHAVE_CONFIG_H
22632 ac_libobjs=
22633 ac_ltlibobjs=
22635 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22636 # 1. Remove the extension, and $U if already installed.
22637 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22638 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22639 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22640 # will be set to the directory where LIBOBJS objects are built.
22641 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22642 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22643 done
22644 LIBOBJS=$ac_libobjs
22646 LTLIBOBJS=$ac_ltlibobjs
22650 : "${CONFIG_STATUS=./config.status}"
22651 ac_write_fail=0
22652 ac_clean_files_save=$ac_clean_files
22653 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22655 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22656 as_write_fail=0
22657 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22658 #! $SHELL
22659 # Generated by $as_me.
22660 # Run this file to recreate the current configuration.
22661 # Compiler output produced by configure, useful for debugging
22662 # configure, is in config.log if it exists.
22664 debug=false
22665 ac_cs_recheck=false
22666 ac_cs_silent=false
22668 SHELL=\${CONFIG_SHELL-$SHELL}
22669 export SHELL
22670 _ASEOF
22671 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22672 ## -------------------- ##
22673 ## M4sh Initialization. ##
22674 ## -------------------- ##
22676 # Be more Bourne compatible
22677 DUALCASE=1; export DUALCASE # for MKS sh
22678 as_nop=:
22679 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22680 then :
22681 emulate sh
22682 NULLCMD=:
22683 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22684 # is contrary to our usage. Disable this feature.
22685 alias -g '${1+"$@"}'='"$@"'
22686 setopt NO_GLOB_SUBST
22687 else $as_nop
22688 case `(set -o) 2>/dev/null` in #(
22689 *posix*) :
22690 set -o posix ;; #(
22691 *) :
22693 esac
22698 # Reset variables that may have inherited troublesome values from
22699 # the environment.
22701 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22702 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22703 # side effect of setting IFS to empty, thus disabling word splitting.)
22704 # Quoting is to prevent editors from complaining about space-tab.
22705 as_nl='
22707 export as_nl
22708 IFS=" "" $as_nl"
22710 PS1='$ '
22711 PS2='> '
22712 PS4='+ '
22714 # Ensure predictable behavior from utilities with locale-dependent output.
22715 LC_ALL=C
22716 export LC_ALL
22717 LANGUAGE=C
22718 export LANGUAGE
22720 # We cannot yet rely on "unset" to work, but we need these variables
22721 # to be unset--not just set to an empty or harmless value--now, to
22722 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22723 # also avoids known problems related to "unset" and subshell syntax
22724 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22725 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22726 do eval test \${$as_var+y} \
22727 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22728 done
22730 # Ensure that fds 0, 1, and 2 are open.
22731 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22732 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22733 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22735 # The user is always right.
22736 if ${PATH_SEPARATOR+false} :; then
22737 PATH_SEPARATOR=:
22738 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22739 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22740 PATH_SEPARATOR=';'
22745 # Find who we are. Look in the path if we contain no directory separator.
22746 as_myself=
22747 case $0 in #((
22748 *[\\/]* ) as_myself=$0 ;;
22749 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22750 for as_dir in $PATH
22752 IFS=$as_save_IFS
22753 case $as_dir in #(((
22754 '') as_dir=./ ;;
22755 */) ;;
22756 *) as_dir=$as_dir/ ;;
22757 esac
22758 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22759 done
22760 IFS=$as_save_IFS
22763 esac
22764 # We did not find ourselves, most probably we were run as `sh COMMAND'
22765 # in which case we are not to be found in the path.
22766 if test "x$as_myself" = x; then
22767 as_myself=$0
22769 if test ! -f "$as_myself"; then
22770 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22771 exit 1
22776 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22777 # ----------------------------------------
22778 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22779 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22780 # script with STATUS, using 1 if that was 0.
22781 as_fn_error ()
22783 as_status=$1; test $as_status -eq 0 && as_status=1
22784 if test "$4"; then
22785 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22788 printf "%s\n" "$as_me: error: $2" >&2
22789 as_fn_exit $as_status
22790 } # as_fn_error
22794 # as_fn_set_status STATUS
22795 # -----------------------
22796 # Set $? to STATUS, without forking.
22797 as_fn_set_status ()
22799 return $1
22800 } # as_fn_set_status
22802 # as_fn_exit STATUS
22803 # -----------------
22804 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22805 as_fn_exit ()
22807 set +e
22808 as_fn_set_status $1
22809 exit $1
22810 } # as_fn_exit
22812 # as_fn_unset VAR
22813 # ---------------
22814 # Portably unset VAR.
22815 as_fn_unset ()
22817 { eval $1=; unset $1;}
22819 as_unset=as_fn_unset
22821 # as_fn_append VAR VALUE
22822 # ----------------------
22823 # Append the text in VALUE to the end of the definition contained in VAR. Take
22824 # advantage of any shell optimizations that allow amortized linear growth over
22825 # repeated appends, instead of the typical quadratic growth present in naive
22826 # implementations.
22827 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22828 then :
22829 eval 'as_fn_append ()
22831 eval $1+=\$2
22833 else $as_nop
22834 as_fn_append ()
22836 eval $1=\$$1\$2
22838 fi # as_fn_append
22840 # as_fn_arith ARG...
22841 # ------------------
22842 # Perform arithmetic evaluation on the ARGs, and store the result in the
22843 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22844 # must be portable across $(()) and expr.
22845 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22846 then :
22847 eval 'as_fn_arith ()
22849 as_val=$(( $* ))
22851 else $as_nop
22852 as_fn_arith ()
22854 as_val=`expr "$@" || test $? -eq 1`
22856 fi # as_fn_arith
22859 if expr a : '\(a\)' >/dev/null 2>&1 &&
22860 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22861 as_expr=expr
22862 else
22863 as_expr=false
22866 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22867 as_basename=basename
22868 else
22869 as_basename=false
22872 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22873 as_dirname=dirname
22874 else
22875 as_dirname=false
22878 as_me=`$as_basename -- "$0" ||
22879 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22880 X"$0" : 'X\(//\)$' \| \
22881 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22882 printf "%s\n" X/"$0" |
22883 sed '/^.*\/\([^/][^/]*\)\/*$/{
22884 s//\1/
22887 /^X\/\(\/\/\)$/{
22888 s//\1/
22891 /^X\/\(\/\).*/{
22892 s//\1/
22895 s/.*/./; q'`
22897 # Avoid depending upon Character Ranges.
22898 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22899 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22900 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22901 as_cr_digits='0123456789'
22902 as_cr_alnum=$as_cr_Letters$as_cr_digits
22905 # Determine whether it's possible to make 'echo' print without a newline.
22906 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22907 # for compatibility with existing Makefiles.
22908 ECHO_C= ECHO_N= ECHO_T=
22909 case `echo -n x` in #(((((
22910 -n*)
22911 case `echo 'xy\c'` in
22912 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22913 xy) ECHO_C='\c';;
22914 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22915 ECHO_T=' ';;
22916 esac;;
22918 ECHO_N='-n';;
22919 esac
22921 # For backward compatibility with old third-party macros, we provide
22922 # the shell variables $as_echo and $as_echo_n. New code should use
22923 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22924 as_echo='printf %s\n'
22925 as_echo_n='printf %s'
22927 rm -f conf$$ conf$$.exe conf$$.file
22928 if test -d conf$$.dir; then
22929 rm -f conf$$.dir/conf$$.file
22930 else
22931 rm -f conf$$.dir
22932 mkdir conf$$.dir 2>/dev/null
22934 if (echo >conf$$.file) 2>/dev/null; then
22935 if ln -s conf$$.file conf$$ 2>/dev/null; then
22936 as_ln_s='ln -s'
22937 # ... but there are two gotchas:
22938 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22939 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22940 # In both cases, we have to default to `cp -pR'.
22941 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22942 as_ln_s='cp -pR'
22943 elif ln conf$$.file conf$$ 2>/dev/null; then
22944 as_ln_s=ln
22945 else
22946 as_ln_s='cp -pR'
22948 else
22949 as_ln_s='cp -pR'
22951 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22952 rmdir conf$$.dir 2>/dev/null
22955 # as_fn_mkdir_p
22956 # -------------
22957 # Create "$as_dir" as a directory, including parents if necessary.
22958 as_fn_mkdir_p ()
22961 case $as_dir in #(
22962 -*) as_dir=./$as_dir;;
22963 esac
22964 test -d "$as_dir" || eval $as_mkdir_p || {
22965 as_dirs=
22966 while :; do
22967 case $as_dir in #(
22968 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22969 *) as_qdir=$as_dir;;
22970 esac
22971 as_dirs="'$as_qdir' $as_dirs"
22972 as_dir=`$as_dirname -- "$as_dir" ||
22973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22974 X"$as_dir" : 'X\(//\)[^/]' \| \
22975 X"$as_dir" : 'X\(//\)$' \| \
22976 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22977 printf "%s\n" X"$as_dir" |
22978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22979 s//\1/
22982 /^X\(\/\/\)[^/].*/{
22983 s//\1/
22986 /^X\(\/\/\)$/{
22987 s//\1/
22990 /^X\(\/\).*/{
22991 s//\1/
22994 s/.*/./; q'`
22995 test -d "$as_dir" && break
22996 done
22997 test -z "$as_dirs" || eval "mkdir $as_dirs"
22998 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23001 } # as_fn_mkdir_p
23002 if mkdir -p . 2>/dev/null; then
23003 as_mkdir_p='mkdir -p "$as_dir"'
23004 else
23005 test -d ./-p && rmdir ./-p
23006 as_mkdir_p=false
23010 # as_fn_executable_p FILE
23011 # -----------------------
23012 # Test if FILE is an executable regular file.
23013 as_fn_executable_p ()
23015 test -f "$1" && test -x "$1"
23016 } # as_fn_executable_p
23017 as_test_x='test -x'
23018 as_executable_p=as_fn_executable_p
23020 # Sed expression to map a string onto a valid CPP name.
23021 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23023 # Sed expression to map a string onto a valid variable name.
23024 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23027 exec 6>&1
23028 ## ----------------------------------- ##
23029 ## Main body of $CONFIG_STATUS script. ##
23030 ## ----------------------------------- ##
23031 _ASEOF
23032 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23035 # Save the log message, to keep $0 and so on meaningful, and to
23036 # report actual input values of CONFIG_FILES etc. instead of their
23037 # values after options handling.
23038 ac_log="
23039 This file was extended by Wine $as_me 7.20, which was
23040 generated by GNU Autoconf 2.71. Invocation command line was
23042 CONFIG_FILES = $CONFIG_FILES
23043 CONFIG_HEADERS = $CONFIG_HEADERS
23044 CONFIG_LINKS = $CONFIG_LINKS
23045 CONFIG_COMMANDS = $CONFIG_COMMANDS
23046 $ $0 $@
23048 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23051 _ACEOF
23054 case $ac_config_headers in *"
23055 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23056 esac
23059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23060 # Files that config.status was made for.
23061 config_headers="$ac_config_headers"
23062 config_links="$ac_config_links"
23063 config_commands="$ac_config_commands"
23065 _ACEOF
23067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23068 ac_cs_usage="\
23069 \`$as_me' instantiates files and other configuration actions
23070 from templates according to the current configuration. Unless the files
23071 and actions are specified as TAGs, all are instantiated by default.
23073 Usage: $0 [OPTION]... [TAG]...
23075 -h, --help print this help, then exit
23076 -V, --version print version number and configuration settings, then exit
23077 --config print configuration, then exit
23078 -q, --quiet, --silent
23079 do not print progress messages
23080 -d, --debug don't remove temporary files
23081 --recheck update $as_me by reconfiguring in the same conditions
23082 --header=FILE[:TEMPLATE]
23083 instantiate the configuration header FILE
23085 Configuration headers:
23086 $config_headers
23088 Configuration links:
23089 $config_links
23091 Configuration commands:
23092 $config_commands
23094 Report bugs to <wine-devel@winehq.org>.
23095 Wine home page: <https://www.winehq.org>."
23097 _ACEOF
23098 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23099 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23101 ac_cs_config='$ac_cs_config_escaped'
23102 ac_cs_version="\\
23103 Wine config.status 7.20
23104 configured by $0, generated by GNU Autoconf 2.71,
23105 with options \\"\$ac_cs_config\\"
23107 Copyright (C) 2021 Free Software Foundation, Inc.
23108 This config.status script is free software; the Free Software Foundation
23109 gives unlimited permission to copy, distribute and modify it."
23111 ac_pwd='$ac_pwd'
23112 srcdir='$srcdir'
23113 test -n "\$AWK" || AWK=awk
23114 _ACEOF
23116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23117 # The default lists apply if the user does not specify any file.
23118 ac_need_defaults=:
23119 while test $# != 0
23121 case $1 in
23122 --*=?*)
23123 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23124 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23125 ac_shift=:
23127 --*=)
23128 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23129 ac_optarg=
23130 ac_shift=:
23133 ac_option=$1
23134 ac_optarg=$2
23135 ac_shift=shift
23137 esac
23139 case $ac_option in
23140 # Handling of the options.
23141 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23142 ac_cs_recheck=: ;;
23143 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23144 printf "%s\n" "$ac_cs_version"; exit ;;
23145 --config | --confi | --conf | --con | --co | --c )
23146 printf "%s\n" "$ac_cs_config"; exit ;;
23147 --debug | --debu | --deb | --de | --d | -d )
23148 debug=: ;;
23149 --header | --heade | --head | --hea )
23150 $ac_shift
23151 case $ac_optarg in
23152 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23153 esac
23154 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23155 ac_need_defaults=false;;
23156 --he | --h)
23157 # Conflict between --help and --header
23158 as_fn_error $? "ambiguous option: \`$1'
23159 Try \`$0 --help' for more information.";;
23160 --help | --hel | -h )
23161 printf "%s\n" "$ac_cs_usage"; exit ;;
23162 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23163 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23164 ac_cs_silent=: ;;
23166 # This is an error.
23167 -*) as_fn_error $? "unrecognized option: \`$1'
23168 Try \`$0 --help' for more information." ;;
23170 *) as_fn_append ac_config_targets " $1"
23171 ac_need_defaults=false ;;
23173 esac
23174 shift
23175 done
23177 ac_configure_extra_args=
23179 if $ac_cs_silent; then
23180 exec 6>/dev/null
23181 ac_configure_extra_args="$ac_configure_extra_args --silent"
23184 _ACEOF
23185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23186 if \$ac_cs_recheck; then
23187 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23188 shift
23189 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23190 CONFIG_SHELL='$SHELL'
23191 export CONFIG_SHELL
23192 exec "\$@"
23195 _ACEOF
23196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23197 exec 5>>config.log
23199 echo
23200 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23201 ## Running $as_me. ##
23202 _ASBOX
23203 printf "%s\n" "$ac_log"
23204 } >&5
23206 _ACEOF
23207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23209 # INIT-COMMANDS
23211 wine_fn_output_makedep ()
23213 as_dir=tools; as_fn_mkdir_p
23214 $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
23216 wine_fn_output_makefile ()
23218 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23219 # This Makefile understands the following targets:
23221 # all (default): build wine
23222 # clean: remove all intermediate files
23223 # distclean: also remove all files created by configure
23224 # test: run tests
23225 # testclean: clean test results to force running all tests again
23226 # install-lib: install libraries needed to run applications
23227 # install-dev: install development environment
23228 # install: install everything
23229 # uninstall: uninstall everything
23230 # ctags: create a tags file for vim and others.
23231 # etags: create a TAGS file for Emacs.
23233 SHELL = $SHELL
23234 PATH_SEPARATOR = $PATH_SEPARATOR
23235 PACKAGE_NAME = $PACKAGE_NAME
23236 PACKAGE_TARNAME = $PACKAGE_TARNAME
23237 PACKAGE_VERSION = $PACKAGE_VERSION
23238 PACKAGE_STRING = $PACKAGE_STRING
23239 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23240 PACKAGE_URL = $PACKAGE_URL
23241 exec_prefix = $exec_prefix
23242 prefix = $prefix
23243 program_transform_name = $program_transform_name
23244 bindir = $bindir
23245 sbindir = $sbindir
23246 libexecdir = $libexecdir
23247 datarootdir = $datarootdir
23248 datadir = $datadir
23249 sysconfdir = $sysconfdir
23250 sharedstatedir = $sharedstatedir
23251 localstatedir = $localstatedir
23252 runstatedir = $runstatedir
23253 includedir = $includedir
23254 oldincludedir = $oldincludedir
23255 docdir = $docdir
23256 infodir = $infodir
23257 htmldir = $htmldir
23258 dvidir = $dvidir
23259 pdfdir = $pdfdir
23260 psdir = $psdir
23261 libdir = $libdir
23262 localedir = $localedir
23263 mandir = $mandir
23264 DEFS = $DEFS
23265 ECHO_C = $ECHO_C
23266 ECHO_N = $ECHO_N
23267 ECHO_T = $ECHO_T
23268 LIBS = $LIBS
23269 build_alias = $build_alias
23270 host_alias = $host_alias
23271 target_alias = $target_alias
23272 system_dllpath = $system_dllpath
23273 build = $build
23274 build_cpu = $build_cpu
23275 build_vendor = $build_vendor
23276 build_os = $build_os
23277 host = $host
23278 host_cpu = $host_cpu
23279 host_vendor = $host_vendor
23280 host_os = $host_os
23281 dlldir = $dlldir
23282 fontdir = $fontdir
23283 nlsdir = $nlsdir
23284 srcdir = $srcdir
23285 SET_MAKE = $SET_MAKE
23286 CC = $CC
23287 CFLAGS = $CFLAGS
23288 LDFLAGS = $LDFLAGS
23289 CPPFLAGS = $CPPFLAGS
23290 ac_ct_CC = $ac_ct_CC
23291 EXEEXT = $EXEEXT
23292 OBJEXT = $OBJEXT
23293 CXX = $CXX
23294 CXXFLAGS = $CXXFLAGS
23295 ac_ct_CXX = $ac_ct_CXX
23296 CPPBIN = $CPPBIN
23297 LD = $LD
23298 TARGETFLAGS = $TARGETFLAGS
23299 toolsext = $toolsext
23300 HOST_ARCH = $HOST_ARCH
23301 aarch64_CC = $aarch64_CC
23302 aarch64_CFLAGS = $aarch64_CFLAGS
23303 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23304 aarch64_LDFLAGS = $aarch64_LDFLAGS
23305 aarch64_DEBUG = $aarch64_DEBUG
23306 aarch64_TARGET = $aarch64_TARGET
23307 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23308 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23309 arm_CC = $arm_CC
23310 arm_CFLAGS = $arm_CFLAGS
23311 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23312 arm_LDFLAGS = $arm_LDFLAGS
23313 arm_DEBUG = $arm_DEBUG
23314 arm_TARGET = $arm_TARGET
23315 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23316 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23317 i386_CC = $i386_CC
23318 i386_CFLAGS = $i386_CFLAGS
23319 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23320 i386_LDFLAGS = $i386_LDFLAGS
23321 i386_DEBUG = $i386_DEBUG
23322 i386_TARGET = $i386_TARGET
23323 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23324 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23325 x86_64_CC = $x86_64_CC
23326 x86_64_CFLAGS = $x86_64_CFLAGS
23327 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23328 x86_64_LDFLAGS = $x86_64_LDFLAGS
23329 x86_64_DEBUG = $x86_64_DEBUG
23330 x86_64_TARGET = $x86_64_TARGET
23331 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23332 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23333 toolsdir = $toolsdir
23334 MAKEDEP = $MAKEDEP
23335 RUNTESTFLAGS = $RUNTESTFLAGS
23336 SED_CMD = $SED_CMD
23337 FLEX = $FLEX
23338 BISON = $BISON
23339 AR = $AR
23340 ac_ct_AR = $ac_ct_AR
23341 STRIP = $STRIP
23342 RANLIB = $RANLIB
23343 LN_S = $LN_S
23344 GREP = $GREP
23345 EGREP = $EGREP
23346 LDCONFIG = $LDCONFIG
23347 MSGFMT = $MSGFMT
23348 PKG_CONFIG = $PKG_CONFIG
23349 FONTFORGE = $FONTFORGE
23350 RSVG = $RSVG
23351 CONVERT = $CONVERT
23352 ICOTOOL = $ICOTOOL
23353 I386_LIBS = $I386_LIBS
23354 OPENGL_LIBS = $OPENGL_LIBS
23355 DLLFLAGS = $DLLFLAGS
23356 LDDLLFLAGS = $LDDLLFLAGS
23357 LDEXECFLAGS = $LDEXECFLAGS
23358 EXTRACFLAGS = $EXTRACFLAGS
23359 UNIXDLLFLAGS = $UNIXDLLFLAGS
23360 UNIXLDFLAGS = $UNIXLDFLAGS
23361 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23362 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23363 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23364 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23365 LDD = $LDD
23366 OTOOL = $OTOOL
23367 READELF = $READELF
23368 SUBDIRS = $SUBDIRS
23369 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23370 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23371 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23372 OBJC = $OBJC
23373 OBJCFLAGS = $OBJCFLAGS
23374 ac_ct_OBJC = $ac_ct_OBJC
23375 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23376 IOKIT_LIBS = $IOKIT_LIBS
23377 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23378 CORESERVICES_LIBS = $CORESERVICES_LIBS
23379 APPKIT_LIBS = $APPKIT_LIBS
23380 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23381 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23382 SECURITY_LIBS = $SECURITY_LIBS
23383 COREAUDIO_LIBS = $COREAUDIO_LIBS
23384 OPENAL_LIBS = $OPENAL_LIBS
23385 OPENCL_LIBS = $OPENCL_LIBS
23386 CARBON_LIBS = $CARBON_LIBS
23387 METAL_LIBS = $METAL_LIBS
23388 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23389 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23390 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23391 PRELINK = $PRELINK
23392 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23393 PE_ARCHS = $PE_ARCHS
23394 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23395 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23396 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23397 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23398 GSM_PE_LIBS = $GSM_PE_LIBS
23399 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23400 JPEG_PE_LIBS = $JPEG_PE_LIBS
23401 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23402 JXR_PE_LIBS = $JXR_PE_LIBS
23403 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23404 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23405 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23406 MPG123_PE_LIBS = $MPG123_PE_LIBS
23407 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23408 PNG_PE_LIBS = $PNG_PE_LIBS
23409 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23410 TIFF_PE_LIBS = $TIFF_PE_LIBS
23411 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23412 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23413 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23414 XML2_PE_LIBS = $XML2_PE_LIBS
23415 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23416 XSLT_PE_LIBS = $XSLT_PE_LIBS
23417 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23418 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23419 PTHREAD_LIBS = $PTHREAD_LIBS
23420 XMKMF = $XMKMF
23421 CPP = $CPP
23422 X_CFLAGS = $X_CFLAGS
23423 X_PRE_LIBS = $X_PRE_LIBS
23424 X_LIBS = $X_LIBS
23425 X_EXTRA_LIBS = $X_EXTRA_LIBS
23426 PCAP_LIBS = $PCAP_LIBS
23427 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23428 INOTIFY_LIBS = $INOTIFY_LIBS
23429 DBUS_CFLAGS = $DBUS_CFLAGS
23430 DBUS_LIBS = $DBUS_LIBS
23431 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23432 GNUTLS_LIBS = $GNUTLS_LIBS
23433 SANE_CFLAGS = $SANE_CFLAGS
23434 SANE_LIBS = $SANE_LIBS
23435 USB_CFLAGS = $USB_CFLAGS
23436 USB_LIBS = $USB_LIBS
23437 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23438 GPHOTO2_LIBS = $GPHOTO2_LIBS
23439 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23440 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23441 RESOLV_LIBS = $RESOLV_LIBS
23442 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23443 FREETYPE_LIBS = $FREETYPE_LIBS
23444 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23445 PULSE_CFLAGS = $PULSE_CFLAGS
23446 PULSE_LIBS = $PULSE_LIBS
23447 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23448 GSTREAMER_LIBS = $GSTREAMER_LIBS
23449 ALSA_LIBS = $ALSA_LIBS
23450 OSS4_CFLAGS = $OSS4_CFLAGS
23451 OSS4_LIBS = $OSS4_LIBS
23452 UDEV_CFLAGS = $UDEV_CFLAGS
23453 UDEV_LIBS = $UDEV_LIBS
23454 UNWIND_CFLAGS = $UNWIND_CFLAGS
23455 UNWIND_LIBS = $UNWIND_LIBS
23456 SDL2_CFLAGS = $SDL2_CFLAGS
23457 SDL2_LIBS = $SDL2_LIBS
23458 CAPI20_CFLAGS = $CAPI20_CFLAGS
23459 CAPI20_LIBS = $CAPI20_LIBS
23460 CUPS_CFLAGS = $CUPS_CFLAGS
23461 CUPS_LIBS = $CUPS_LIBS
23462 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23463 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23464 KRB5_CFLAGS = $KRB5_CFLAGS
23465 KRB5_LIBS = $KRB5_LIBS
23466 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23467 GSSAPI_LIBS = $GSSAPI_LIBS
23468 PROCSTAT_LIBS = $PROCSTAT_LIBS
23469 NETAPI_CFLAGS = $NETAPI_CFLAGS
23470 NETAPI_LIBS = $NETAPI_LIBS
23471 MSVCRTFLAGS = $MSVCRTFLAGS
23472 DELAYLOADFLAG = $DELAYLOADFLAG
23473 RT_LIBS = $RT_LIBS
23474 LDAP_CFLAGS = $LDAP_CFLAGS
23475 LDAP_LIBS = $LDAP_LIBS
23476 TAGSFLAGS = $TAGSFLAGS
23477 LIBOBJS = $LIBOBJS
23478 LTLIBOBJS = $LTLIBOBJS
23479 $SET_MAKE
23480 $wine_rules
23481 _WINE_EOF
23482 as_fn_error $? "could not create Makefile" "$LINENO" 5
23485 _ACEOF
23487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23489 # Handling of arguments.
23490 for ac_config_target in $ac_config_targets
23492 case $ac_config_target in
23493 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23494 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23495 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23496 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23497 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23498 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23500 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23501 esac
23502 done
23505 # If the user did not use the arguments to specify the items to instantiate,
23506 # then the envvar interface is used. Set only those that are not.
23507 # We use the long form for the default assignment because of an extremely
23508 # bizarre bug on SunOS 4.1.3.
23509 if $ac_need_defaults; then
23510 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23511 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23512 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23515 # Have a temporary directory for convenience. Make it in the build tree
23516 # simply because there is no reason against having it here, and in addition,
23517 # creating and moving files from /tmp can sometimes cause problems.
23518 # Hook for its removal unless debugging.
23519 # Note that there is a small window in which the directory will not be cleaned:
23520 # after its creation but before its name has been assigned to `$tmp'.
23521 $debug ||
23523 tmp= ac_tmp=
23524 trap 'exit_status=$?
23525 : "${ac_tmp:=$tmp}"
23526 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23528 trap 'as_fn_exit 1' 1 2 13 15
23530 # Create a (secure) tmp directory for tmp files.
23533 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23534 test -d "$tmp"
23535 } ||
23537 tmp=./conf$$-$RANDOM
23538 (umask 077 && mkdir "$tmp")
23539 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23540 ac_tmp=$tmp
23542 # Set up the scripts for CONFIG_HEADERS section.
23543 # No need to generate them if there are no CONFIG_HEADERS.
23544 # This happens for instance with `./config.status Makefile'.
23545 if test -n "$CONFIG_HEADERS"; then
23546 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23547 BEGIN {
23548 _ACEOF
23550 # Transform confdefs.h into an awk script `defines.awk', embedded as
23551 # here-document in config.status, that substitutes the proper values into
23552 # config.h.in to produce config.h.
23554 # Create a delimiter string that does not exist in confdefs.h, to ease
23555 # handling of long lines.
23556 ac_delim='%!_!# '
23557 for ac_last_try in false false :; do
23558 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23559 if test -z "$ac_tt"; then
23560 break
23561 elif $ac_last_try; then
23562 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23563 else
23564 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23566 done
23568 # For the awk script, D is an array of macro values keyed by name,
23569 # likewise P contains macro parameters if any. Preserve backslash
23570 # newline sequences.
23572 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23573 sed -n '
23574 s/.\{148\}/&'"$ac_delim"'/g
23575 t rset
23576 :rset
23577 s/^[ ]*#[ ]*define[ ][ ]*/ /
23578 t def
23580 :def
23581 s/\\$//
23582 t bsnl
23583 s/["\\]/\\&/g
23584 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23585 D["\1"]=" \3"/p
23586 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23588 :bsnl
23589 s/["\\]/\\&/g
23590 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23591 D["\1"]=" \3\\\\\\n"\\/p
23592 t cont
23593 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23594 t cont
23596 :cont
23598 s/.\{148\}/&'"$ac_delim"'/g
23599 t clear
23600 :clear
23601 s/\\$//
23602 t bsnlc
23603 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23605 :bsnlc
23606 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23607 b cont
23608 ' <confdefs.h | sed '
23609 s/'"$ac_delim"'/"\\\
23610 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23613 for (key in D) D_is_set[key] = 1
23614 FS = "\a"
23616 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23617 line = \$ 0
23618 split(line, arg, " ")
23619 if (arg[1] == "#") {
23620 defundef = arg[2]
23621 mac1 = arg[3]
23622 } else {
23623 defundef = substr(arg[1], 2)
23624 mac1 = arg[2]
23626 split(mac1, mac2, "(") #)
23627 macro = mac2[1]
23628 prefix = substr(line, 1, index(line, defundef) - 1)
23629 if (D_is_set[macro]) {
23630 # Preserve the white space surrounding the "#".
23631 print prefix "define", macro P[macro] D[macro]
23632 next
23633 } else {
23634 # Replace #undef with comments. This is necessary, for example,
23635 # in the case of _POSIX_SOURCE, which is predefined and required
23636 # on some systems where configure will not decide to define it.
23637 if (defundef == "undef") {
23638 print "/*", prefix defundef, macro, "*/"
23639 next
23643 { print }
23644 _ACAWK
23645 _ACEOF
23646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23647 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23648 fi # test -n "$CONFIG_HEADERS"
23651 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23652 shift
23653 for ac_tag
23655 case $ac_tag in
23656 :[FHLC]) ac_mode=$ac_tag; continue;;
23657 esac
23658 case $ac_mode$ac_tag in
23659 :[FHL]*:*);;
23660 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23661 :[FH]-) ac_tag=-:-;;
23662 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23663 esac
23664 ac_save_IFS=$IFS
23665 IFS=:
23666 set x $ac_tag
23667 IFS=$ac_save_IFS
23668 shift
23669 ac_file=$1
23670 shift
23672 case $ac_mode in
23673 :L) ac_source=$1;;
23674 :[FH])
23675 ac_file_inputs=
23676 for ac_f
23678 case $ac_f in
23679 -) ac_f="$ac_tmp/stdin";;
23680 *) # Look for the file first in the build tree, then in the source tree
23681 # (if the path is not absolute). The absolute path cannot be DOS-style,
23682 # because $ac_f cannot contain `:'.
23683 test -f "$ac_f" ||
23684 case $ac_f in
23685 [\\/$]*) false;;
23686 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23687 esac ||
23688 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23689 esac
23690 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23691 as_fn_append ac_file_inputs " '$ac_f'"
23692 done
23694 # Let's still pretend it is `configure' which instantiates (i.e., don't
23695 # use $as_me), people would be surprised to read:
23696 # /* config.h. Generated by config.status. */
23697 configure_input='Generated from '`
23698 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23699 `' by configure.'
23700 if test x"$ac_file" != x-; then
23701 configure_input="$ac_file. $configure_input"
23702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23703 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23705 # Neutralize special characters interpreted by sed in replacement strings.
23706 case $configure_input in #(
23707 *\&* | *\|* | *\\* )
23708 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23709 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23710 *) ac_sed_conf_input=$configure_input;;
23711 esac
23713 case $ac_tag in
23714 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23715 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23716 esac
23718 esac
23720 ac_dir=`$as_dirname -- "$ac_file" ||
23721 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23722 X"$ac_file" : 'X\(//\)[^/]' \| \
23723 X"$ac_file" : 'X\(//\)$' \| \
23724 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23725 printf "%s\n" X"$ac_file" |
23726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23727 s//\1/
23730 /^X\(\/\/\)[^/].*/{
23731 s//\1/
23734 /^X\(\/\/\)$/{
23735 s//\1/
23738 /^X\(\/\).*/{
23739 s//\1/
23742 s/.*/./; q'`
23743 as_dir="$ac_dir"; as_fn_mkdir_p
23744 ac_builddir=.
23746 case "$ac_dir" in
23747 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23749 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23750 # A ".." for each directory in $ac_dir_suffix.
23751 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23752 case $ac_top_builddir_sub in
23753 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23754 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23755 esac ;;
23756 esac
23757 ac_abs_top_builddir=$ac_pwd
23758 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23759 # for backward compatibility:
23760 ac_top_builddir=$ac_top_build_prefix
23762 case $srcdir in
23763 .) # We are building in place.
23764 ac_srcdir=.
23765 ac_top_srcdir=$ac_top_builddir_sub
23766 ac_abs_top_srcdir=$ac_pwd ;;
23767 [\\/]* | ?:[\\/]* ) # Absolute name.
23768 ac_srcdir=$srcdir$ac_dir_suffix;
23769 ac_top_srcdir=$srcdir
23770 ac_abs_top_srcdir=$srcdir ;;
23771 *) # Relative name.
23772 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23773 ac_top_srcdir=$ac_top_build_prefix$srcdir
23774 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23775 esac
23776 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23779 case $ac_mode in
23783 # CONFIG_HEADER
23785 if test x"$ac_file" != x-; then
23787 printf "%s\n" "/* $configure_input */" >&1 \
23788 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23789 } >"$ac_tmp/config.h" \
23790 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23791 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23793 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23794 else
23795 rm -f "$ac_file"
23796 mv "$ac_tmp/config.h" "$ac_file" \
23797 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23799 else
23800 printf "%s\n" "/* $configure_input */" >&1 \
23801 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23802 || as_fn_error $? "could not create -" "$LINENO" 5
23807 # CONFIG_LINK
23810 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23812 else
23813 # Prefer the file from the source tree if names are identical.
23814 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23815 ac_source=$srcdir/$ac_source
23818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23819 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23821 if test ! -r "$ac_source"; then
23822 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23824 rm -f "$ac_file"
23826 # Try a relative symlink, then a hard link, then a copy.
23827 case $ac_source in
23828 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23829 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23830 esac
23831 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23832 ln "$ac_source" "$ac_file" 2>/dev/null ||
23833 cp -p "$ac_source" "$ac_file" ||
23834 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23837 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23838 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23840 esac
23843 case $ac_file$ac_mode in
23844 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23845 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23846 "Makefile":C) wine_fn_output_makefile Makefile ;;
23848 esac
23849 done # for ac_tag
23852 as_fn_exit 0
23853 _ACEOF
23854 ac_clean_files=$ac_clean_files_save
23856 test $ac_write_fail = 0 ||
23857 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23860 # configure is writing to config.log, and then calls config.status.
23861 # config.status does its own redirection, appending to config.log.
23862 # Unfortunately, on DOS this fails, as config.log is still kept open
23863 # by configure, so config.status won't be able to write to it; its
23864 # output is simply discarded. So we exec the FD to /dev/null,
23865 # effectively closing config.log, so it can be properly (re)opened and
23866 # appended to by config.status. When coming back to configure, we
23867 # need to make the FD available again.
23868 if test "$no_create" != yes; then
23869 ac_cs_success=:
23870 ac_config_status_args=
23871 test "$silent" = yes &&
23872 ac_config_status_args="$ac_config_status_args --quiet"
23873 exec 5>/dev/null
23874 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23875 exec 5>>config.log
23876 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23877 # would make configure fail if this is the last instruction.
23878 $ac_cs_success || as_fn_exit 1
23880 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23882 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23886 if test "$no_create" = "yes"
23887 then
23888 exit 0
23891 ac_save_IFS="$IFS"
23892 if test "x$wine_notices" != x; then
23893 echo >&6
23894 IFS="|"
23895 for msg in $wine_notices; do
23896 IFS="$ac_save_IFS"
23897 if ${msg:+false} :
23898 then :
23900 else $as_nop
23901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23902 printf "%s\n" "$as_me: $msg" >&6;}
23904 done
23906 IFS="|"
23907 for msg in $wine_warnings; do
23908 IFS="$ac_save_IFS"
23909 if ${msg:+false} :
23910 then :
23912 else $as_nop
23913 echo >&2
23914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23915 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23917 done
23918 IFS="$ac_save_IFS"
23920 printf "%s\n" "
23921 $as_me: Finished. Do '${ac_make}' to compile Wine.
23922 " >&6