wined3d: Do not enforce GL map access for resources with WINED3D_RESOURCE_ACCESS_CPU.
[wine.git] / configure
blob0a2e5964f64da4b2ff4e98641b30d187d95c5687
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.19.
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.19'
615 PACKAGE_STRING='Wine 7.19'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 LDAP_LIBS
656 LDAP_CFLAGS
657 RT_LIBS
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCAP_LIBS
704 X_EXTRA_LIBS
705 X_LIBS
706 X_PRE_LIBS
707 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 ZLIB_PE_LIBS
712 ZLIB_PE_CFLAGS
713 XSLT_PE_LIBS
714 XSLT_PE_CFLAGS
715 XML2_PE_LIBS
716 XML2_PE_CFLAGS
717 VKD3D_PE_LIBS
718 VKD3D_PE_CFLAGS
719 TIFF_PE_LIBS
720 TIFF_PE_CFLAGS
721 PNG_PE_LIBS
722 PNG_PE_CFLAGS
723 MPG123_PE_LIBS
724 MPG123_PE_CFLAGS
725 LCMS2_PE_LIBS
726 LCMS2_PE_CFLAGS
727 JXR_PE_LIBS
728 JXR_PE_CFLAGS
729 JPEG_PE_LIBS
730 JPEG_PE_CFLAGS
731 GSM_PE_LIBS
732 GSM_PE_CFLAGS
733 FAUDIO_PE_LIBS
734 FAUDIO_PE_CFLAGS
735 MINGW_PKG_CONFIG
736 CROSSDEBUG
737 DELAYLOADFLAG
738 CROSSLDFLAGS
739 EXTRACROSSCFLAGS
740 CROSSCFLAGS
741 CROSSCC
742 CROSSTARGET
743 LIBWINE_DEPENDS
744 PRELINK
745 WINELOADER_DEPENDS
746 LIBWINE_LDFLAGS
747 LIBWINE_SHAREDLIB
748 METAL_LIBS
749 CARBON_LIBS
750 OPENCL_LIBS
751 OPENAL_LIBS
752 COREAUDIO_LIBS
753 SECURITY_LIBS
754 DISKARBITRATION_LIBS
755 SYSTEMCONFIGURATION_LIBS
756 APPKIT_LIBS
757 CORESERVICES_LIBS
758 APPLICATIONSERVICES_LIBS
759 IOKIT_LIBS
760 COREFOUNDATION_LIBS
761 ac_ct_OBJC
762 OBJCFLAGS
763 OBJC
764 DLLTOOL
765 WINELOADER_PROGRAMS
766 CONFIGURE_TARGETS
767 DISABLED_SUBDIRS
768 SUBDIRS
769 READELF
770 OTOOL
772 WINEPRELOADER_LDFLAGS
773 WINELOADER_LDFLAGS
774 TOP_INSTALL_DEV
775 TOP_INSTALL_LIB
776 UNIXLDFLAGS
777 UNIXDLLFLAGS
778 EXTRACFLAGS
779 LDEXECFLAGS
780 LDDLLFLAGS
781 DLLFLAGS
782 OPENGL_LIBS
783 I386_LIBS
784 ICOTOOL
785 CONVERT
786 RSVG
787 FONTFORGE
788 PKG_CONFIG
789 MSGFMT
790 LDCONFIG
791 EGREP
792 GREP
793 LN_S
794 RANLIB
795 STRIP
796 ac_ct_AR
798 BISON
799 FLEX
800 SED_CMD
801 RUNTESTFLAGS
802 MAKEDEP
803 toolsdir
804 toolsext
805 TARGETFLAGS
807 CPPBIN
808 ac_ct_CXX
809 CXXFLAGS
811 OBJEXT
812 EXEEXT
813 ac_ct_CC
814 CPPFLAGS
815 LDFLAGS
816 CFLAGS
818 SET_MAKE
819 srcdir
820 nlsdir
821 fontdir
822 dlldir
823 host_os
824 host_vendor
825 host_cpu
826 host
827 build_os
828 build_vendor
829 build_cpu
830 build
831 system_dllpath
832 target_alias
833 host_alias
834 build_alias
835 LIBS
836 ECHO_T
837 ECHO_N
838 ECHO_C
839 DEFS
840 mandir
841 localedir
842 libdir
843 psdir
844 pdfdir
845 dvidir
846 htmldir
847 infodir
848 docdir
849 oldincludedir
850 includedir
851 runstatedir
852 localstatedir
853 sharedstatedir
854 sysconfdir
855 datadir
856 datarootdir
857 libexecdir
858 sbindir
859 bindir
860 program_transform_name
861 prefix
862 exec_prefix
863 PACKAGE_URL
864 PACKAGE_BUGREPORT
865 PACKAGE_STRING
866 PACKAGE_VERSION
867 PACKAGE_TARNAME
868 PACKAGE_NAME
869 PATH_SEPARATOR
870 SHELL'
871 ac_subst_files=''
872 ac_user_opts='
873 enable_option_checking
874 enable_win16
875 enable_win64
876 enable_tests
877 enable_build_id
878 enable_maintainer_mode
879 enable_silent_rules
880 enable_werror
881 with_alsa
882 with_capi
883 with_coreaudio
884 with_cups
885 with_dbus
886 with_float_abi
887 with_fontconfig
888 with_freetype
889 with_gettext
890 with_gettextpo
891 with_gphoto
892 with_gnutls
893 with_gssapi
894 with_gstreamer
895 with_inotify
896 with_krb5
897 with_ldap
898 with_mingw
899 with_netapi
900 with_openal
901 with_opencl
902 with_opengl
903 with_osmesa
904 with_oss
905 with_pcap
906 with_pthread
907 with_pulse
908 with_sane
909 with_sdl
910 with_udev
911 with_unwind
912 with_usb
913 with_v4l2
914 with_vulkan
915 with_xcomposite
916 with_xcursor
917 with_xfixes
918 with_xinerama
919 with_xinput
920 with_xinput2
921 with_xrandr
922 with_xrender
923 with_xshape
924 with_xshm
925 with_xxf86vm
926 with_system_dllpath
927 with_wine_tools
928 with_wine64
929 enable_largefile
930 with_x
931 enable_acledit
932 enable_aclui
933 enable_activeds_tlb
934 enable_activeds
935 enable_actxprxy
936 enable_adsldp
937 enable_adsldpc
938 enable_advapi32
939 enable_advpack
940 enable_amsi
941 enable_amstream
942 enable_apisetschema
943 enable_apphelp
944 enable_appwiz_cpl
945 enable_atl
946 enable_atl100
947 enable_atl110
948 enable_atl80
949 enable_atl90
950 enable_atlthunk
951 enable_atmlib
952 enable_authz
953 enable_avicap32
954 enable_avifil32
955 enable_avrt
956 enable_bcrypt
957 enable_bluetoothapis
958 enable_browseui
959 enable_bthprops_cpl
960 enable_cabinet
961 enable_capi2032
962 enable_cards
963 enable_cdosys
964 enable_cfgmgr32
965 enable_clusapi
966 enable_cng_sys
967 enable_combase
968 enable_comcat
969 enable_comctl32
970 enable_comdlg32
971 enable_compstui
972 enable_comsvcs
973 enable_concrt140
974 enable_connect
975 enable_credui
976 enable_crtdll
977 enable_crypt32
978 enable_cryptdlg
979 enable_cryptdll
980 enable_cryptext
981 enable_cryptnet
982 enable_cryptowinrt
983 enable_cryptsp
984 enable_cryptui
985 enable_ctapi32
986 enable_ctl3d32
987 enable_d2d1
988 enable_d3d10
989 enable_d3d10_1
990 enable_d3d10core
991 enable_d3d11
992 enable_d3d12
993 enable_d3d8
994 enable_d3d8thk
995 enable_d3d9
996 enable_d3dcompiler_33
997 enable_d3dcompiler_34
998 enable_d3dcompiler_35
999 enable_d3dcompiler_36
1000 enable_d3dcompiler_37
1001 enable_d3dcompiler_38
1002 enable_d3dcompiler_39
1003 enable_d3dcompiler_40
1004 enable_d3dcompiler_41
1005 enable_d3dcompiler_42
1006 enable_d3dcompiler_43
1007 enable_d3dcompiler_46
1008 enable_d3dcompiler_47
1009 enable_d3dim
1010 enable_d3dim700
1011 enable_d3drm
1012 enable_d3dx10_33
1013 enable_d3dx10_34
1014 enable_d3dx10_35
1015 enable_d3dx10_36
1016 enable_d3dx10_37
1017 enable_d3dx10_38
1018 enable_d3dx10_39
1019 enable_d3dx10_40
1020 enable_d3dx10_41
1021 enable_d3dx10_42
1022 enable_d3dx10_43
1023 enable_d3dx11_42
1024 enable_d3dx11_43
1025 enable_d3dx9_24
1026 enable_d3dx9_25
1027 enable_d3dx9_26
1028 enable_d3dx9_27
1029 enable_d3dx9_28
1030 enable_d3dx9_29
1031 enable_d3dx9_30
1032 enable_d3dx9_31
1033 enable_d3dx9_32
1034 enable_d3dx9_33
1035 enable_d3dx9_34
1036 enable_d3dx9_35
1037 enable_d3dx9_36
1038 enable_d3dx9_37
1039 enable_d3dx9_38
1040 enable_d3dx9_39
1041 enable_d3dx9_40
1042 enable_d3dx9_41
1043 enable_d3dx9_42
1044 enable_d3dx9_43
1045 enable_d3dxof
1046 enable_davclnt
1047 enable_dbgeng
1048 enable_dbghelp
1049 enable_dciman32
1050 enable_dcomp
1051 enable_ddraw
1052 enable_ddrawex
1053 enable_devenum
1054 enable_dhcpcsvc
1055 enable_dhcpcsvc6
1056 enable_dhtmled_ocx
1057 enable_diasymreader
1058 enable_difxapi
1059 enable_dinput
1060 enable_dinput8
1061 enable_directmanipulation
1062 enable_dispex
1063 enable_dmband
1064 enable_dmcompos
1065 enable_dmime
1066 enable_dmloader
1067 enable_dmscript
1068 enable_dmstyle
1069 enable_dmsynth
1070 enable_dmusic
1071 enable_dmusic32
1072 enable_dnsapi
1073 enable_dplay
1074 enable_dplayx
1075 enable_dpnaddr
1076 enable_dpnet
1077 enable_dpnhpast
1078 enable_dpnhupnp
1079 enable_dpnlobby
1080 enable_dpvoice
1081 enable_dpwsockx
1082 enable_drmclien
1083 enable_dsdmo
1084 enable_dsound
1085 enable_dsquery
1086 enable_dssenh
1087 enable_dsuiext
1088 enable_dswave
1089 enable_dwmapi
1090 enable_dwrite
1091 enable_dx8vb
1092 enable_dxdiagn
1093 enable_dxgi
1094 enable_dxtrans
1095 enable_dxva2
1096 enable_esent
1097 enable_evr
1098 enable_explorerframe
1099 enable_faultrep
1100 enable_feclient
1101 enable_fltlib
1102 enable_fltmgr_sys
1103 enable_fntcache
1104 enable_fontsub
1105 enable_fusion
1106 enable_fwpuclnt
1107 enable_gameux
1108 enable_gamingtcui
1109 enable_gdi32
1110 enable_gdiplus
1111 enable_glu32
1112 enable_gphoto2_ds
1113 enable_gpkcsp
1114 enable_hal
1115 enable_hhctrl_ocx
1116 enable_hid
1117 enable_hidclass_sys
1118 enable_hidparse_sys
1119 enable_hlink
1120 enable_hnetcfg
1121 enable_http_sys
1122 enable_httpapi
1123 enable_ia2comproxy
1124 enable_iccvid
1125 enable_icmp
1126 enable_ieframe
1127 enable_ieproxy
1128 enable_imaadp32_acm
1129 enable_imagehlp
1130 enable_imm32
1131 enable_inetcomm
1132 enable_inetcpl_cpl
1133 enable_inetmib1
1134 enable_infosoft
1135 enable_initpki
1136 enable_inkobj
1137 enable_inseng
1138 enable_iphlpapi
1139 enable_iprop
1140 enable_irprops_cpl
1141 enable_itircl
1142 enable_itss
1143 enable_joy_cpl
1144 enable_jscript
1145 enable_jsproxy
1146 enable_kerberos
1147 enable_kernel32
1148 enable_kernelbase
1149 enable_ksecdd_sys
1150 enable_ksproxy_ax
1151 enable_ksuser
1152 enable_ktmw32
1153 enable_l3codeca_acm
1154 enable_light_msstyles
1155 enable_loadperf
1156 enable_localspl
1157 enable_localui
1158 enable_lz32
1159 enable_mapi32
1160 enable_mapistub
1161 enable_mciavi32
1162 enable_mcicda
1163 enable_mciqtz32
1164 enable_mciseq
1165 enable_mciwave
1166 enable_mf
1167 enable_mf3216
1168 enable_mferror
1169 enable_mfmediaengine
1170 enable_mfplat
1171 enable_mfplay
1172 enable_mfreadwrite
1173 enable_mfsrcsnk
1174 enable_mgmtapi
1175 enable_midimap
1176 enable_mlang
1177 enable_mmcndmgr
1178 enable_mmdevapi
1179 enable_mountmgr_sys
1180 enable_mp3dmod
1181 enable_mpr
1182 enable_mprapi
1183 enable_msacm32_drv
1184 enable_msacm32
1185 enable_msado15
1186 enable_msadp32_acm
1187 enable_msasn1
1188 enable_mscat32
1189 enable_mscms
1190 enable_mscoree
1191 enable_mscorwks
1192 enable_msctf
1193 enable_msctfmonitor
1194 enable_msctfp
1195 enable_msdaps
1196 enable_msdasql
1197 enable_msdelta
1198 enable_msdmo
1199 enable_msdrm
1200 enable_msftedit
1201 enable_msg711_acm
1202 enable_msgsm32_acm
1203 enable_mshtml_tlb
1204 enable_mshtml
1205 enable_msi
1206 enable_msident
1207 enable_msimg32
1208 enable_msimsg
1209 enable_msimtf
1210 enable_msisip
1211 enable_msisys_ocx
1212 enable_msls31
1213 enable_msnet32
1214 enable_mspatcha
1215 enable_msports
1216 enable_msrle32
1217 enable_msscript_ocx
1218 enable_mssign32
1219 enable_mssip32
1220 enable_mstask
1221 enable_msv1_0
1222 enable_msvcirt
1223 enable_msvcm80
1224 enable_msvcm90
1225 enable_msvcp100
1226 enable_msvcp110
1227 enable_msvcp120
1228 enable_msvcp120_app
1229 enable_msvcp140
1230 enable_msvcp140_1
1231 enable_msvcp140_2
1232 enable_msvcp140_atomic_wait
1233 enable_msvcp60
1234 enable_msvcp70
1235 enable_msvcp71
1236 enable_msvcp80
1237 enable_msvcp90
1238 enable_msvcp_win
1239 enable_msvcr100
1240 enable_msvcr110
1241 enable_msvcr120
1242 enable_msvcr120_app
1243 enable_msvcr70
1244 enable_msvcr71
1245 enable_msvcr80
1246 enable_msvcr90
1247 enable_msvcrt
1248 enable_msvcrt20
1249 enable_msvcrt40
1250 enable_msvcrtd
1251 enable_msvfw32
1252 enable_msvidc32
1253 enable_mswsock
1254 enable_msxml
1255 enable_msxml2
1256 enable_msxml3
1257 enable_msxml4
1258 enable_msxml6
1259 enable_mtxdm
1260 enable_ncrypt
1261 enable_nddeapi
1262 enable_ndis_sys
1263 enable_netapi32
1264 enable_netcfgx
1265 enable_netio_sys
1266 enable_netprofm
1267 enable_netutils
1268 enable_newdev
1269 enable_ninput
1270 enable_normaliz
1271 enable_npmshtml
1272 enable_npptools
1273 enable_nsi
1274 enable_nsiproxy_sys
1275 enable_ntdll
1276 enable_ntdsapi
1277 enable_ntoskrnl_exe
1278 enable_ntprint
1279 enable_objsel
1280 enable_odbc32
1281 enable_odbcbcp
1282 enable_odbccp32
1283 enable_odbccu32
1284 enable_ole32
1285 enable_oleacc
1286 enable_oleaut32
1287 enable_olecli32
1288 enable_oledb32
1289 enable_oledlg
1290 enable_olepro32
1291 enable_olesvr32
1292 enable_olethk32
1293 enable_opcservices
1294 enable_openal32
1295 enable_opencl
1296 enable_opengl32
1297 enable_packager
1298 enable_pdh
1299 enable_photometadatahandler
1300 enable_pidgen
1301 enable_powrprof
1302 enable_printui
1303 enable_prntvpt
1304 enable_propsys
1305 enable_psapi
1306 enable_pstorec
1307 enable_pwrshplugin
1308 enable_qasf
1309 enable_qcap
1310 enable_qdvd
1311 enable_qedit
1312 enable_qmgr
1313 enable_qmgrprxy
1314 enable_quartz
1315 enable_query
1316 enable_qwave
1317 enable_rasapi32
1318 enable_rasdlg
1319 enable_regapi
1320 enable_resutils
1321 enable_riched20
1322 enable_riched32
1323 enable_rpcrt4
1324 enable_rsabase
1325 enable_rsaenh
1326 enable_rstrtmgr
1327 enable_rtutils
1328 enable_rtworkq
1329 enable_samlib
1330 enable_sane_ds
1331 enable_sapi
1332 enable_sas
1333 enable_scarddlg
1334 enable_sccbase
1335 enable_schannel
1336 enable_schedsvc
1337 enable_scrobj
1338 enable_scrrun
1339 enable_scsiport_sys
1340 enable_sechost
1341 enable_secur32
1342 enable_security
1343 enable_sensapi
1344 enable_serialui
1345 enable_setupapi
1346 enable_sfc
1347 enable_sfc_os
1348 enable_shcore
1349 enable_shdoclc
1350 enable_shdocvw
1351 enable_shell32
1352 enable_shfolder
1353 enable_shlwapi
1354 enable_slbcsp
1355 enable_slc
1356 enable_snmpapi
1357 enable_softpub
1358 enable_spoolss
1359 enable_sppc
1360 enable_srclient
1361 enable_srvcli
1362 enable_sspicli
1363 enable_stdole2_tlb
1364 enable_stdole32_tlb
1365 enable_sti
1366 enable_strmdll
1367 enable_svrapi
1368 enable_sxs
1369 enable_t2embed
1370 enable_tapi32
1371 enable_taskschd
1372 enable_tbs
1373 enable_tdh
1374 enable_tdi_sys
1375 enable_threadpoolwinrt
1376 enable_traffic
1377 enable_twain_32
1378 enable_tzres
1379 enable_ucrtbase
1380 enable_uianimation
1381 enable_uiautomationcore
1382 enable_uiribbon
1383 enable_unicows
1384 enable_updspapi
1385 enable_url
1386 enable_urlmon
1387 enable_usbd_sys
1388 enable_user32
1389 enable_userenv
1390 enable_usp10
1391 enable_utildll
1392 enable_uxtheme
1393 enable_vbscript
1394 enable_vcomp
1395 enable_vcomp100
1396 enable_vcomp110
1397 enable_vcomp120
1398 enable_vcomp140
1399 enable_vcomp90
1400 enable_vcruntime140
1401 enable_vcruntime140_1
1402 enable_vdmdbg
1403 enable_version
1404 enable_vga
1405 enable_virtdisk
1406 enable_vssapi
1407 enable_vulkan_1
1408 enable_wbemdisp
1409 enable_wbemprox
1410 enable_wdscore
1411 enable_webservices
1412 enable_websocket
1413 enable_wer
1414 enable_wevtapi
1415 enable_wevtsvc
1416 enable_wiaservc
1417 enable_wimgapi
1418 enable_win32u
1419 enable_windows_devices_enumeration
1420 enable_windows_gaming_input
1421 enable_windows_globalization
1422 enable_windows_media_devices
1423 enable_windows_media_speech
1424 enable_windows_networking
1425 enable_windowscodecs
1426 enable_windowscodecsext
1427 enable_winealsa_drv
1428 enable_wineandroid_drv
1429 enable_winebus_sys
1430 enable_winecoreaudio_drv
1431 enable_winecrt0
1432 enable_wined3d
1433 enable_winegstreamer
1434 enable_winehid_sys
1435 enable_winemac_drv
1436 enable_winemapi
1437 enable_wineoss_drv
1438 enable_wineps_drv
1439 enable_winepulse_drv
1440 enable_wineusb_sys
1441 enable_winevulkan
1442 enable_winex11_drv
1443 enable_winexinput_sys
1444 enable_wing32
1445 enable_winhttp
1446 enable_wininet
1447 enable_winmm
1448 enable_winnls32
1449 enable_winscard
1450 enable_winspool_drv
1451 enable_winsta
1452 enable_wintab32
1453 enable_wintrust
1454 enable_wintypes
1455 enable_winusb
1456 enable_wlanapi
1457 enable_wlanui
1458 enable_wldap32
1459 enable_wmasf
1460 enable_wmi
1461 enable_wmiutils
1462 enable_wmp
1463 enable_wmphoto
1464 enable_wmvcore
1465 enable_wnaspi32
1466 enable_wow64
1467 enable_wow64cpu
1468 enable_wow64win
1469 enable_wpc
1470 enable_wpcap
1471 enable_ws2_32
1472 enable_wsdapi
1473 enable_wshom_ocx
1474 enable_wsnmp32
1475 enable_wsock32
1476 enable_wtsapi32
1477 enable_wuapi
1478 enable_wuaueng
1479 enable_x3daudio1_0
1480 enable_x3daudio1_1
1481 enable_x3daudio1_2
1482 enable_x3daudio1_3
1483 enable_x3daudio1_4
1484 enable_x3daudio1_5
1485 enable_x3daudio1_6
1486 enable_x3daudio1_7
1487 enable_xactengine2_0
1488 enable_xactengine2_4
1489 enable_xactengine2_7
1490 enable_xactengine2_9
1491 enable_xactengine3_0
1492 enable_xactengine3_1
1493 enable_xactengine3_2
1494 enable_xactengine3_3
1495 enable_xactengine3_4
1496 enable_xactengine3_5
1497 enable_xactengine3_6
1498 enable_xactengine3_7
1499 enable_xapofx1_1
1500 enable_xapofx1_2
1501 enable_xapofx1_3
1502 enable_xapofx1_4
1503 enable_xapofx1_5
1504 enable_xaudio2_0
1505 enable_xaudio2_1
1506 enable_xaudio2_2
1507 enable_xaudio2_3
1508 enable_xaudio2_4
1509 enable_xaudio2_5
1510 enable_xaudio2_6
1511 enable_xaudio2_7
1512 enable_xaudio2_8
1513 enable_xaudio2_9
1514 enable_xinput1_1
1515 enable_xinput1_2
1516 enable_xinput1_3
1517 enable_xinput1_4
1518 enable_xinput9_1_0
1519 enable_xmllite
1520 enable_xolehlp
1521 enable_xpsprint
1522 enable_xpssvcs
1523 enable_fonts
1524 enable_include
1525 enable_adsiid
1526 enable_dmoguids
1527 enable_dxerr8
1528 enable_dxerr9
1529 enable_dxguid
1530 enable_faudio
1531 enable_gsm
1532 enable_jpeg
1533 enable_jxr
1534 enable_lcms2
1535 enable_mfuuid
1536 enable_mpg123
1537 enable_png
1538 enable_strmbase
1539 enable_strmiids
1540 enable_tiff
1541 enable_uuid
1542 enable_vkd3d
1543 enable_wbemuuid
1544 enable_wine
1545 enable_wmcodecdspuuid
1546 enable_xml2
1547 enable_xslt
1548 enable_zlib
1549 enable_loader
1550 enable_nls
1551 enable_po
1552 enable_arp
1553 enable_aspnet_regiis
1554 enable_attrib
1555 enable_cabarc
1556 enable_cacls
1557 enable_chcp_com
1558 enable_clock
1559 enable_cmd
1560 enable_conhost
1561 enable_control
1562 enable_cscript
1563 enable_dism
1564 enable_dllhost
1565 enable_dplaysvr
1566 enable_dpnsvr
1567 enable_dpvsetup
1568 enable_dxdiag
1569 enable_eject
1570 enable_expand
1571 enable_explorer
1572 enable_extrac32
1573 enable_fc
1574 enable_find
1575 enable_findstr
1576 enable_fsutil
1577 enable_hh
1578 enable_hostname
1579 enable_icacls
1580 enable_icinfo
1581 enable_iexplore
1582 enable_ipconfig
1583 enable_lodctr
1584 enable_mofcomp
1585 enable_mshta
1586 enable_msidb
1587 enable_msiexec
1588 enable_msinfo32
1589 enable_net
1590 enable_netsh
1591 enable_netstat
1592 enable_ngen
1593 enable_notepad
1594 enable_oleview
1595 enable_ping
1596 enable_plugplay
1597 enable_powershell
1598 enable_presentationfontcache
1599 enable_progman
1600 enable_reg
1601 enable_regasm
1602 enable_regedit
1603 enable_regini
1604 enable_regsvcs
1605 enable_regsvr32
1606 enable_robocopy
1607 enable_rpcss
1608 enable_rundll32
1609 enable_sc
1610 enable_schtasks
1611 enable_sdbinst
1612 enable_secedit
1613 enable_servicemodelreg
1614 enable_services
1615 enable_shutdown
1616 enable_spoolsv
1617 enable_start
1618 enable_subst
1619 enable_svchost
1620 enable_systeminfo
1621 enable_taskkill
1622 enable_tasklist
1623 enable_taskmgr
1624 enable_termsv
1625 enable_uninstaller
1626 enable_unlodctr
1627 enable_view
1628 enable_wevtutil
1629 enable_where
1630 enable_whoami
1631 enable_wineboot
1632 enable_winebrowser
1633 enable_winecfg
1634 enable_wineconsole
1635 enable_winedbg
1636 enable_winedevice
1637 enable_winefile
1638 enable_winemenubuilder
1639 enable_winemine
1640 enable_winemsibuilder
1641 enable_winepath
1642 enable_winetest
1643 enable_winhlp32
1644 enable_winmgmt
1645 enable_winver
1646 enable_wmic
1647 enable_wmplayer
1648 enable_wordpad
1649 enable_write
1650 enable_wscript
1651 enable_wuauserv
1652 enable_wusa
1653 enable_xcopy
1654 enable_server
1655 enable_tools
1656 enable_sfnt2fon
1657 enable_widl
1658 enable_winebuild
1659 enable_winedump
1660 enable_winegcc
1661 enable_winemaker
1662 enable_wmc
1663 enable_wrc
1665 ac_precious_vars='build_alias
1666 host_alias
1667 target_alias
1669 CFLAGS
1670 LDFLAGS
1671 LIBS
1672 CPPFLAGS
1674 CXXFLAGS
1676 OBJC
1677 OBJCFLAGS
1678 FAUDIO_PE_CFLAGS
1679 FAUDIO_PE_LIBS
1680 GSM_PE_CFLAGS
1681 GSM_PE_LIBS
1682 JPEG_PE_CFLAGS
1683 JPEG_PE_LIBS
1684 JXR_PE_CFLAGS
1685 JXR_PE_LIBS
1686 LCMS2_PE_CFLAGS
1687 LCMS2_PE_LIBS
1688 MPG123_PE_CFLAGS
1689 MPG123_PE_LIBS
1690 PNG_PE_CFLAGS
1691 PNG_PE_LIBS
1692 TIFF_PE_CFLAGS
1693 TIFF_PE_LIBS
1694 VKD3D_PE_CFLAGS
1695 VKD3D_PE_LIBS
1696 XML2_PE_CFLAGS
1697 XML2_PE_LIBS
1698 XSLT_PE_CFLAGS
1699 XSLT_PE_LIBS
1700 ZLIB_PE_CFLAGS
1701 ZLIB_PE_LIBS
1702 XMKMF
1704 INOTIFY_CFLAGS
1705 INOTIFY_LIBS
1706 DBUS_CFLAGS
1707 DBUS_LIBS
1708 GNUTLS_CFLAGS
1709 GNUTLS_LIBS
1710 SANE_CFLAGS
1711 SANE_LIBS
1712 USB_CFLAGS
1713 USB_LIBS
1714 GPHOTO2_CFLAGS
1715 GPHOTO2_LIBS
1716 GPHOTO2_PORT_CFLAGS
1717 GPHOTO2_PORT_LIBS
1718 FREETYPE_CFLAGS
1719 FREETYPE_LIBS
1720 PULSE_CFLAGS
1721 PULSE_LIBS
1722 GSTREAMER_CFLAGS
1723 GSTREAMER_LIBS
1724 UDEV_CFLAGS
1725 UDEV_LIBS
1726 UNWIND_CFLAGS
1727 UNWIND_LIBS
1728 SDL2_CFLAGS
1729 SDL2_LIBS
1730 CAPI20_CFLAGS
1731 CAPI20_LIBS
1732 CUPS_CFLAGS
1733 CUPS_LIBS
1734 FONTCONFIG_CFLAGS
1735 FONTCONFIG_LIBS
1736 KRB5_CFLAGS
1737 KRB5_LIBS
1738 GSSAPI_CFLAGS
1739 GSSAPI_LIBS
1740 NETAPI_CFLAGS
1741 NETAPI_LIBS
1742 LDAP_CFLAGS
1743 LDAP_LIBS'
1746 # Initialize some variables set by options.
1747 ac_init_help=
1748 ac_init_version=false
1749 ac_unrecognized_opts=
1750 ac_unrecognized_sep=
1751 # The variables have the same names as the options, with
1752 # dashes changed to underlines.
1753 cache_file=/dev/null
1754 exec_prefix=NONE
1755 no_create=
1756 no_recursion=
1757 prefix=NONE
1758 program_prefix=NONE
1759 program_suffix=NONE
1760 program_transform_name=s,x,x,
1761 silent=
1762 site=
1763 srcdir=
1764 verbose=
1765 x_includes=NONE
1766 x_libraries=NONE
1768 # Installation directory options.
1769 # These are left unexpanded so users can "make install exec_prefix=/foo"
1770 # and all the variables that are supposed to be based on exec_prefix
1771 # by default will actually change.
1772 # Use braces instead of parens because sh, perl, etc. also accept them.
1773 # (The list follows the same order as the GNU Coding Standards.)
1774 bindir='${exec_prefix}/bin'
1775 sbindir='${exec_prefix}/sbin'
1776 libexecdir='${exec_prefix}/libexec'
1777 datarootdir='${prefix}/share'
1778 datadir='${datarootdir}'
1779 sysconfdir='${prefix}/etc'
1780 sharedstatedir='${prefix}/com'
1781 localstatedir='${prefix}/var'
1782 runstatedir='${localstatedir}/run'
1783 includedir='${prefix}/include'
1784 oldincludedir='/usr/include'
1785 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1786 infodir='${datarootdir}/info'
1787 htmldir='${docdir}'
1788 dvidir='${docdir}'
1789 pdfdir='${docdir}'
1790 psdir='${docdir}'
1791 libdir='${exec_prefix}/lib'
1792 localedir='${datarootdir}/locale'
1793 mandir='${datarootdir}/man'
1795 ac_prev=
1796 ac_dashdash=
1797 for ac_option
1799 # If the previous option needs an argument, assign it.
1800 if test -n "$ac_prev"; then
1801 eval $ac_prev=\$ac_option
1802 ac_prev=
1803 continue
1806 case $ac_option in
1807 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1808 *=) ac_optarg= ;;
1809 *) ac_optarg=yes ;;
1810 esac
1812 case $ac_dashdash$ac_option in
1814 ac_dashdash=yes ;;
1816 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1817 ac_prev=bindir ;;
1818 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1819 bindir=$ac_optarg ;;
1821 -build | --build | --buil | --bui | --bu)
1822 ac_prev=build_alias ;;
1823 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1824 build_alias=$ac_optarg ;;
1826 -cache-file | --cache-file | --cache-fil | --cache-fi \
1827 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1828 ac_prev=cache_file ;;
1829 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1830 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1831 cache_file=$ac_optarg ;;
1833 --config-cache | -C)
1834 cache_file=config.cache ;;
1836 -datadir | --datadir | --datadi | --datad)
1837 ac_prev=datadir ;;
1838 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1839 datadir=$ac_optarg ;;
1841 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1842 | --dataroo | --dataro | --datar)
1843 ac_prev=datarootdir ;;
1844 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1845 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1846 datarootdir=$ac_optarg ;;
1848 -disable-* | --disable-*)
1849 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1850 # Reject names that are not valid shell variable names.
1851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1852 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1853 ac_useropt_orig=$ac_useropt
1854 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1855 case $ac_user_opts in
1857 "enable_$ac_useropt"
1858 "*) ;;
1859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1860 ac_unrecognized_sep=', ';;
1861 esac
1862 eval enable_$ac_useropt=no ;;
1864 -docdir | --docdir | --docdi | --doc | --do)
1865 ac_prev=docdir ;;
1866 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1867 docdir=$ac_optarg ;;
1869 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1870 ac_prev=dvidir ;;
1871 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1872 dvidir=$ac_optarg ;;
1874 -enable-* | --enable-*)
1875 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1876 # Reject names that are not valid shell variable names.
1877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1878 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1879 ac_useropt_orig=$ac_useropt
1880 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1881 case $ac_user_opts in
1883 "enable_$ac_useropt"
1884 "*) ;;
1885 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1886 ac_unrecognized_sep=', ';;
1887 esac
1888 eval enable_$ac_useropt=\$ac_optarg ;;
1890 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1891 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1892 | --exec | --exe | --ex)
1893 ac_prev=exec_prefix ;;
1894 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1895 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1896 | --exec=* | --exe=* | --ex=*)
1897 exec_prefix=$ac_optarg ;;
1899 -gas | --gas | --ga | --g)
1900 # Obsolete; use --with-gas.
1901 with_gas=yes ;;
1903 -help | --help | --hel | --he | -h)
1904 ac_init_help=long ;;
1905 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1906 ac_init_help=recursive ;;
1907 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1908 ac_init_help=short ;;
1910 -host | --host | --hos | --ho)
1911 ac_prev=host_alias ;;
1912 -host=* | --host=* | --hos=* | --ho=*)
1913 host_alias=$ac_optarg ;;
1915 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1916 ac_prev=htmldir ;;
1917 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1918 | --ht=*)
1919 htmldir=$ac_optarg ;;
1921 -includedir | --includedir | --includedi | --included | --include \
1922 | --includ | --inclu | --incl | --inc)
1923 ac_prev=includedir ;;
1924 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1925 | --includ=* | --inclu=* | --incl=* | --inc=*)
1926 includedir=$ac_optarg ;;
1928 -infodir | --infodir | --infodi | --infod | --info | --inf)
1929 ac_prev=infodir ;;
1930 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1931 infodir=$ac_optarg ;;
1933 -libdir | --libdir | --libdi | --libd)
1934 ac_prev=libdir ;;
1935 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1936 libdir=$ac_optarg ;;
1938 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1939 | --libexe | --libex | --libe)
1940 ac_prev=libexecdir ;;
1941 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1942 | --libexe=* | --libex=* | --libe=*)
1943 libexecdir=$ac_optarg ;;
1945 -localedir | --localedir | --localedi | --localed | --locale)
1946 ac_prev=localedir ;;
1947 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1948 localedir=$ac_optarg ;;
1950 -localstatedir | --localstatedir | --localstatedi | --localstated \
1951 | --localstate | --localstat | --localsta | --localst | --locals)
1952 ac_prev=localstatedir ;;
1953 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1954 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1955 localstatedir=$ac_optarg ;;
1957 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1958 ac_prev=mandir ;;
1959 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1960 mandir=$ac_optarg ;;
1962 -nfp | --nfp | --nf)
1963 # Obsolete; use --without-fp.
1964 with_fp=no ;;
1966 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1967 | --no-cr | --no-c | -n)
1968 no_create=yes ;;
1970 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1971 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1972 no_recursion=yes ;;
1974 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1975 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1976 | --oldin | --oldi | --old | --ol | --o)
1977 ac_prev=oldincludedir ;;
1978 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1979 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1980 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1981 oldincludedir=$ac_optarg ;;
1983 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1984 ac_prev=prefix ;;
1985 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1986 prefix=$ac_optarg ;;
1988 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1989 | --program-pre | --program-pr | --program-p)
1990 ac_prev=program_prefix ;;
1991 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1992 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1993 program_prefix=$ac_optarg ;;
1995 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1996 | --program-suf | --program-su | --program-s)
1997 ac_prev=program_suffix ;;
1998 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1999 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2000 program_suffix=$ac_optarg ;;
2002 -program-transform-name | --program-transform-name \
2003 | --program-transform-nam | --program-transform-na \
2004 | --program-transform-n | --program-transform- \
2005 | --program-transform | --program-transfor \
2006 | --program-transfo | --program-transf \
2007 | --program-trans | --program-tran \
2008 | --progr-tra | --program-tr | --program-t)
2009 ac_prev=program_transform_name ;;
2010 -program-transform-name=* | --program-transform-name=* \
2011 | --program-transform-nam=* | --program-transform-na=* \
2012 | --program-transform-n=* | --program-transform-=* \
2013 | --program-transform=* | --program-transfor=* \
2014 | --program-transfo=* | --program-transf=* \
2015 | --program-trans=* | --program-tran=* \
2016 | --progr-tra=* | --program-tr=* | --program-t=*)
2017 program_transform_name=$ac_optarg ;;
2019 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2020 ac_prev=pdfdir ;;
2021 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2022 pdfdir=$ac_optarg ;;
2024 -psdir | --psdir | --psdi | --psd | --ps)
2025 ac_prev=psdir ;;
2026 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2027 psdir=$ac_optarg ;;
2029 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2030 | -silent | --silent | --silen | --sile | --sil)
2031 silent=yes ;;
2033 -runstatedir | --runstatedir | --runstatedi | --runstated \
2034 | --runstate | --runstat | --runsta | --runst | --runs \
2035 | --run | --ru | --r)
2036 ac_prev=runstatedir ;;
2037 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2038 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2039 | --run=* | --ru=* | --r=*)
2040 runstatedir=$ac_optarg ;;
2042 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2043 ac_prev=sbindir ;;
2044 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2045 | --sbi=* | --sb=*)
2046 sbindir=$ac_optarg ;;
2048 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2049 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2050 | --sharedst | --shareds | --shared | --share | --shar \
2051 | --sha | --sh)
2052 ac_prev=sharedstatedir ;;
2053 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2054 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2055 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2056 | --sha=* | --sh=*)
2057 sharedstatedir=$ac_optarg ;;
2059 -site | --site | --sit)
2060 ac_prev=site ;;
2061 -site=* | --site=* | --sit=*)
2062 site=$ac_optarg ;;
2064 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2065 ac_prev=srcdir ;;
2066 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2067 srcdir=$ac_optarg ;;
2069 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2070 | --syscon | --sysco | --sysc | --sys | --sy)
2071 ac_prev=sysconfdir ;;
2072 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2073 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2074 sysconfdir=$ac_optarg ;;
2076 -target | --target | --targe | --targ | --tar | --ta | --t)
2077 ac_prev=target_alias ;;
2078 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2079 target_alias=$ac_optarg ;;
2081 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2082 verbose=yes ;;
2084 -version | --version | --versio | --versi | --vers | -V)
2085 ac_init_version=: ;;
2087 -with-* | --with-*)
2088 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2089 # Reject names that are not valid shell variable names.
2090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2091 as_fn_error $? "invalid package name: \`$ac_useropt'"
2092 ac_useropt_orig=$ac_useropt
2093 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2094 case $ac_user_opts in
2096 "with_$ac_useropt"
2097 "*) ;;
2098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2099 ac_unrecognized_sep=', ';;
2100 esac
2101 eval with_$ac_useropt=\$ac_optarg ;;
2103 -without-* | --without-*)
2104 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2105 # Reject names that are not valid shell variable names.
2106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2107 as_fn_error $? "invalid package name: \`$ac_useropt'"
2108 ac_useropt_orig=$ac_useropt
2109 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2110 case $ac_user_opts in
2112 "with_$ac_useropt"
2113 "*) ;;
2114 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2115 ac_unrecognized_sep=', ';;
2116 esac
2117 eval with_$ac_useropt=no ;;
2119 --x)
2120 # Obsolete; use --with-x.
2121 with_x=yes ;;
2123 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2124 | --x-incl | --x-inc | --x-in | --x-i)
2125 ac_prev=x_includes ;;
2126 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2127 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2128 x_includes=$ac_optarg ;;
2130 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2131 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2132 ac_prev=x_libraries ;;
2133 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2134 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2135 x_libraries=$ac_optarg ;;
2137 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2138 Try \`$0 --help' for more information"
2141 *=*)
2142 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2143 # Reject names that are not valid shell variable names.
2144 case $ac_envvar in #(
2145 '' | [0-9]* | *[!_$as_cr_alnum]* )
2146 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2147 esac
2148 eval $ac_envvar=\$ac_optarg
2149 export $ac_envvar ;;
2152 # FIXME: should be removed in autoconf 3.0.
2153 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2154 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2155 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2156 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2159 esac
2160 done
2162 if test -n "$ac_prev"; then
2163 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2164 as_fn_error $? "missing argument to $ac_option"
2167 if test -n "$ac_unrecognized_opts"; then
2168 case $enable_option_checking in
2169 no) ;;
2170 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2171 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2172 esac
2175 # Check all directory arguments for consistency.
2176 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2177 datadir sysconfdir sharedstatedir localstatedir includedir \
2178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2179 libdir localedir mandir runstatedir
2181 eval ac_val=\$$ac_var
2182 # Remove trailing slashes.
2183 case $ac_val in
2184 */ )
2185 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2186 eval $ac_var=\$ac_val;;
2187 esac
2188 # Be sure to have absolute directory names.
2189 case $ac_val in
2190 [\\/$]* | ?:[\\/]* ) continue;;
2191 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2192 esac
2193 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2194 done
2196 # There might be people who depend on the old broken behavior: `$host'
2197 # used to hold the argument of --host etc.
2198 # FIXME: To remove some day.
2199 build=$build_alias
2200 host=$host_alias
2201 target=$target_alias
2203 # FIXME: To remove some day.
2204 if test "x$host_alias" != x; then
2205 if test "x$build_alias" = x; then
2206 cross_compiling=maybe
2207 elif test "x$build_alias" != "x$host_alias"; then
2208 cross_compiling=yes
2212 ac_tool_prefix=
2213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2215 test "$silent" = yes && exec 6>/dev/null
2218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2219 ac_ls_di=`ls -di .` &&
2220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2221 as_fn_error $? "working directory cannot be determined"
2222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2223 as_fn_error $? "pwd does not report name of working directory"
2226 # Find the source files, if location was not specified.
2227 if test -z "$srcdir"; then
2228 ac_srcdir_defaulted=yes
2229 # Try the directory containing this script, then the parent directory.
2230 ac_confdir=`$as_dirname -- "$as_myself" ||
2231 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2232 X"$as_myself" : 'X\(//\)[^/]' \| \
2233 X"$as_myself" : 'X\(//\)$' \| \
2234 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2235 printf "%s\n" X"$as_myself" |
2236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2237 s//\1/
2240 /^X\(\/\/\)[^/].*/{
2241 s//\1/
2244 /^X\(\/\/\)$/{
2245 s//\1/
2248 /^X\(\/\).*/{
2249 s//\1/
2252 s/.*/./; q'`
2253 srcdir=$ac_confdir
2254 if test ! -r "$srcdir/$ac_unique_file"; then
2255 srcdir=..
2257 else
2258 ac_srcdir_defaulted=no
2260 if test ! -r "$srcdir/$ac_unique_file"; then
2261 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2262 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2264 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2265 ac_abs_confdir=`(
2266 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2267 pwd)`
2268 # When building in place, set srcdir=.
2269 if test "$ac_abs_confdir" = "$ac_pwd"; then
2270 srcdir=.
2272 # Remove unnecessary trailing slashes from srcdir.
2273 # Double slashes in file names in object file debugging info
2274 # mess up M-x gdb in Emacs.
2275 case $srcdir in
2276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2277 esac
2278 for ac_var in $ac_precious_vars; do
2279 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2280 eval ac_env_${ac_var}_value=\$${ac_var}
2281 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2282 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2283 done
2286 # Report the --help message.
2288 if test "$ac_init_help" = "long"; then
2289 # Omit some internal or obsolete options to make the list less imposing.
2290 # This message is too long to be a string in the A/UX 3.1 sh.
2291 cat <<_ACEOF
2292 \`configure' configures Wine 7.19 to adapt to many kinds of systems.
2294 Usage: $0 [OPTION]... [VAR=VALUE]...
2296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2297 VAR=VALUE. See below for descriptions of some of the useful variables.
2299 Defaults for the options are specified in brackets.
2301 Configuration:
2302 -h, --help display this help and exit
2303 --help=short display options specific to this package
2304 --help=recursive display the short help of all the included packages
2305 -V, --version display version information and exit
2306 -q, --quiet, --silent do not print \`checking ...' messages
2307 --cache-file=FILE cache test results in FILE [disabled]
2308 -C, --config-cache alias for \`--cache-file=config.cache'
2309 -n, --no-create do not create output files
2310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2312 Installation directories:
2313 --prefix=PREFIX install architecture-independent files in PREFIX
2314 [$ac_default_prefix]
2315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2316 [PREFIX]
2318 By default, \`make install' will install all the files in
2319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2321 for instance \`--prefix=\$HOME'.
2323 For better control, use the options below.
2325 Fine tuning of the installation directories:
2326 --bindir=DIR user executables [EPREFIX/bin]
2327 --sbindir=DIR system admin executables [EPREFIX/sbin]
2328 --libexecdir=DIR program executables [EPREFIX/libexec]
2329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2332 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2333 --libdir=DIR object code libraries [EPREFIX/lib]
2334 --includedir=DIR C header files [PREFIX/include]
2335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2338 --infodir=DIR info documentation [DATAROOTDIR/info]
2339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2340 --mandir=DIR man documentation [DATAROOTDIR/man]
2341 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2342 --htmldir=DIR html documentation [DOCDIR]
2343 --dvidir=DIR dvi documentation [DOCDIR]
2344 --pdfdir=DIR pdf documentation [DOCDIR]
2345 --psdir=DIR ps documentation [DOCDIR]
2346 _ACEOF
2348 cat <<\_ACEOF
2350 X features:
2351 --x-includes=DIR X include files are in DIR
2352 --x-libraries=DIR X library files are in DIR
2354 System types:
2355 --build=BUILD configure for building on BUILD [guessed]
2356 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2357 _ACEOF
2360 if test -n "$ac_init_help"; then
2361 case $ac_init_help in
2362 short | recursive ) echo "Configuration of Wine 7.19:";;
2363 esac
2364 cat <<\_ACEOF
2366 Optional Features:
2367 --disable-option-checking ignore unrecognized --enable/--with options
2368 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2369 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2370 --disable-win16 do not include Win16 support
2371 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2372 binaries)
2373 --disable-tests do not build the regression tests
2374 --enable-build-id include .buildid section in output objects
2375 --enable-maintainer-mode
2376 enable maintainer-specific build rules
2377 --enable-silent-rules use silent build rules (override: "make V=1")
2378 --enable-werror treat compilation warnings as errors
2379 --disable-largefile omit support for large files
2381 Optional Packages:
2382 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2383 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2384 --without-alsa do not use the Alsa sound support
2385 --without-capi do not use CAPI (ISDN support)
2386 --without-coreaudio do not use the CoreAudio sound support
2387 --without-cups do not use CUPS
2388 --without-dbus do not use DBus (dynamic device support)
2389 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2390 --without-fontconfig do not use fontconfig
2391 --without-freetype do not use the FreeType library
2392 --without-gettext do not use gettext
2393 --with-gettextpo use the GetTextPO library to rebuild po files
2394 --without-gphoto do not use gphoto (Digital Camera support)
2395 --without-gnutls do not use GnuTLS (schannel support)
2396 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2397 --without-gstreamer do not use GStreamer (codecs support)
2398 --without-inotify do not use inotify (filesystem change notifications)
2399 --without-krb5 do not use krb5 (Kerberos)
2400 --without-ldap do not use LDAP
2401 --without-mingw do not use the MinGW cross-compiler
2402 --without-netapi do not use the Samba NetAPI library
2403 --without-openal do not use OpenAL
2404 --without-opencl do not use OpenCL
2405 --without-opengl do not use OpenGL
2406 --without-osmesa do not use the OSMesa library
2407 --without-oss do not use the OSS sound support
2408 --without-pcap do not use the Packet Capture library
2409 --without-pthread do not use the pthread library
2410 --without-pulse do not use PulseAudio sound support
2411 --without-sane do not use SANE (scanner support)
2412 --without-sdl do not use SDL
2413 --without-udev do not use udev (plug and play support)
2414 --without-unwind do not use the libunwind library (exception
2415 handling)
2416 --without-usb do not use the libusb library
2417 --without-v4l2 do not use v4l2 (video capture)
2418 --without-vulkan do not use Vulkan
2419 --without-xcomposite do not use the Xcomposite extension
2420 --without-xcursor do not use the Xcursor extension
2421 --without-xfixes do not use Xfixes for clipboard change notifications
2422 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2423 --without-xinput do not use the Xinput extension
2424 --without-xinput2 do not use the Xinput 2 extension
2425 --without-xrandr do not use Xrandr (multi-monitor support)
2426 --without-xrender do not use the Xrender extension
2427 --without-xshape do not use the Xshape extension
2428 --without-xshm do not use XShm (shared memory extension)
2429 --without-xxf86vm do not use XFree video mode extension
2430 --with-system-dllpath=PATH
2431 load external PE dependencies from colon-separated
2432 path PATH
2433 --with-wine-tools=DIR use Wine tools from directory DIR
2434 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2435 --with-x use the X Window System
2437 Some influential environment variables:
2438 CC C compiler command
2439 CFLAGS C compiler flags
2440 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2441 nonstandard directory <lib dir>
2442 LIBS libraries to pass to the linker, e.g. -l<library>
2443 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2444 you have headers in a nonstandard directory <include dir>
2445 CXX C++ compiler command
2446 CXXFLAGS C++ compiler flags
2447 OBJC Objective C compiler command
2448 OBJCFLAGS Objective C compiler flags
2449 FAUDIO_PE_CFLAGS
2450 C compiler flags for the PE faudio, overriding the bundled
2451 version
2452 FAUDIO_PE_LIBS
2453 Linker flags for the PE faudio, overriding the bundled version
2454 GSM_PE_CFLAGS
2455 C compiler flags for the PE gsm, overriding the bundled version
2456 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2457 JPEG_PE_CFLAGS
2458 C compiler flags for the PE jpeg, overriding the bundled version
2459 JPEG_PE_LIBS
2460 Linker flags for the PE jpeg, overriding the bundled version
2461 JXR_PE_CFLAGS
2462 C compiler flags for the PE jxr, overriding the bundled version
2463 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2464 LCMS2_PE_CFLAGS
2465 C compiler flags for the PE lcms2, overriding the bundled
2466 version
2467 LCMS2_PE_LIBS
2468 Linker flags for the PE lcms2, overriding the bundled version
2469 MPG123_PE_CFLAGS
2470 C compiler flags for the PE mpg123, overriding the bundled
2471 version
2472 MPG123_PE_LIBS
2473 Linker flags for the PE mpg123, overriding the bundled version
2474 PNG_PE_CFLAGS
2475 C compiler flags for the PE png, overriding the bundled version
2476 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2477 TIFF_PE_CFLAGS
2478 C compiler flags for the PE tiff, overriding the bundled version
2479 TIFF_PE_LIBS
2480 Linker flags for the PE tiff, overriding the bundled version
2481 VKD3D_PE_CFLAGS
2482 C compiler flags for the PE vkd3d, overriding the bundled
2483 version
2484 VKD3D_PE_LIBS
2485 Linker flags for the PE vkd3d, overriding the bundled version
2486 XML2_PE_CFLAGS
2487 C compiler flags for the PE xml2, overriding the bundled version
2488 XML2_PE_LIBS
2489 Linker flags for the PE xml2, overriding the bundled version
2490 XSLT_PE_CFLAGS
2491 C compiler flags for the PE xslt, overriding the bundled version
2492 XSLT_PE_LIBS
2493 Linker flags for the PE xslt, overriding the bundled version
2494 ZLIB_PE_CFLAGS
2495 C compiler flags for the PE zlib, overriding the bundled version
2496 ZLIB_PE_LIBS
2497 Linker flags for the PE zlib, overriding the bundled version
2498 XMKMF Path to xmkmf, Makefile generator for X Window System
2499 CPP C preprocessor
2500 INOTIFY_CFLAGS
2501 C compiler flags for libinotify, overriding pkg-config
2502 INOTIFY_LIBS
2503 Linker flags for libinotify, overriding pkg-config
2504 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2505 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2506 GNUTLS_CFLAGS
2507 C compiler flags for gnutls, overriding pkg-config
2508 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2509 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2510 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2511 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2512 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2513 GPHOTO2_CFLAGS
2514 C compiler flags for libgphoto2, overriding pkg-config
2515 GPHOTO2_LIBS
2516 Linker flags for libgphoto2, overriding pkg-config
2517 GPHOTO2_PORT_CFLAGS
2518 C compiler flags for libgphoto2_port, overriding pkg-config
2519 GPHOTO2_PORT_LIBS
2520 Linker flags for libgphoto2_port, overriding pkg-config
2521 FREETYPE_CFLAGS
2522 C compiler flags for freetype2, overriding pkg-config
2523 FREETYPE_LIBS
2524 Linker flags for freetype2, overriding pkg-config
2525 PULSE_CFLAGS
2526 C compiler flags for libpulse, overriding pkg-config
2527 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2528 GSTREAMER_CFLAGS
2529 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2530 gstreamer-audio-1.0, overriding pkg-config
2531 GSTREAMER_LIBS
2532 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2533 gstreamer-audio-1.0, overriding pkg-config
2534 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2535 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2536 UNWIND_CFLAGS
2537 C compiler flags for libunwind, overriding pkg-config
2538 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2539 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2540 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2541 CAPI20_CFLAGS
2542 C compiler flags for capi20, overriding pkg-config
2543 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2544 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2545 CUPS_LIBS Linker flags for cups, overriding pkg-config
2546 FONTCONFIG_CFLAGS
2547 C compiler flags for fontconfig, overriding pkg-config
2548 FONTCONFIG_LIBS
2549 Linker flags for fontconfig, overriding pkg-config
2550 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2551 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2552 GSSAPI_CFLAGS
2553 C compiler flags for krb5-gssapi, overriding pkg-config
2554 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2555 NETAPI_CFLAGS
2556 C compiler flags for netapi, overriding pkg-config
2557 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2558 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2559 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2561 Use these variables to override the choices made by `configure' or to help
2562 it to find libraries and programs with nonstandard names/locations.
2564 Report bugs to <wine-devel@winehq.org>.
2565 Wine home page: <https://www.winehq.org>.
2566 _ACEOF
2567 ac_status=$?
2570 if test "$ac_init_help" = "recursive"; then
2571 # If there are subdirs, report their specific --help.
2572 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2573 test -d "$ac_dir" ||
2574 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2575 continue
2576 ac_builddir=.
2578 case "$ac_dir" in
2579 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2581 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2582 # A ".." for each directory in $ac_dir_suffix.
2583 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2584 case $ac_top_builddir_sub in
2585 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2586 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2587 esac ;;
2588 esac
2589 ac_abs_top_builddir=$ac_pwd
2590 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2591 # for backward compatibility:
2592 ac_top_builddir=$ac_top_build_prefix
2594 case $srcdir in
2595 .) # We are building in place.
2596 ac_srcdir=.
2597 ac_top_srcdir=$ac_top_builddir_sub
2598 ac_abs_top_srcdir=$ac_pwd ;;
2599 [\\/]* | ?:[\\/]* ) # Absolute name.
2600 ac_srcdir=$srcdir$ac_dir_suffix;
2601 ac_top_srcdir=$srcdir
2602 ac_abs_top_srcdir=$srcdir ;;
2603 *) # Relative name.
2604 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2605 ac_top_srcdir=$ac_top_build_prefix$srcdir
2606 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2607 esac
2608 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2610 cd "$ac_dir" || { ac_status=$?; continue; }
2611 # Check for configure.gnu first; this name is used for a wrapper for
2612 # Metaconfig's "Configure" on case-insensitive file systems.
2613 if test -f "$ac_srcdir/configure.gnu"; then
2614 echo &&
2615 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2616 elif test -f "$ac_srcdir/configure"; then
2617 echo &&
2618 $SHELL "$ac_srcdir/configure" --help=recursive
2619 else
2620 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2621 fi || ac_status=$?
2622 cd "$ac_pwd" || { ac_status=$?; break; }
2623 done
2626 test -n "$ac_init_help" && exit $ac_status
2627 if $ac_init_version; then
2628 cat <<\_ACEOF
2629 Wine configure 7.19
2630 generated by GNU Autoconf 2.71
2632 Copyright (C) 2021 Free Software Foundation, Inc.
2633 This configure script is free software; the Free Software Foundation
2634 gives unlimited permission to copy, distribute and modify it.
2635 _ACEOF
2636 exit
2639 ## ------------------------ ##
2640 ## Autoconf initialization. ##
2641 ## ------------------------ ##
2643 # ac_fn_c_try_compile LINENO
2644 # --------------------------
2645 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2646 ac_fn_c_try_compile ()
2648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2649 rm -f conftest.$ac_objext conftest.beam
2650 if { { ac_try="$ac_compile"
2651 case "(($ac_try" in
2652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2653 *) ac_try_echo=$ac_try;;
2654 esac
2655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2656 printf "%s\n" "$ac_try_echo"; } >&5
2657 (eval "$ac_compile") 2>conftest.err
2658 ac_status=$?
2659 if test -s conftest.err; then
2660 grep -v '^ *+' conftest.err >conftest.er1
2661 cat conftest.er1 >&5
2662 mv -f conftest.er1 conftest.err
2664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2665 test $ac_status = 0; } && {
2666 test -z "$ac_c_werror_flag" ||
2667 test ! -s conftest.err
2668 } && test -s conftest.$ac_objext
2669 then :
2670 ac_retval=0
2671 else $as_nop
2672 printf "%s\n" "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2675 ac_retval=1
2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2678 as_fn_set_status $ac_retval
2680 } # ac_fn_c_try_compile
2682 # ac_fn_cxx_try_compile LINENO
2683 # ----------------------------
2684 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2685 ac_fn_cxx_try_compile ()
2687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2688 rm -f conftest.$ac_objext conftest.beam
2689 if { { ac_try="$ac_compile"
2690 case "(($ac_try" in
2691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2692 *) ac_try_echo=$ac_try;;
2693 esac
2694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2695 printf "%s\n" "$ac_try_echo"; } >&5
2696 (eval "$ac_compile") 2>conftest.err
2697 ac_status=$?
2698 if test -s conftest.err; then
2699 grep -v '^ *+' conftest.err >conftest.er1
2700 cat conftest.er1 >&5
2701 mv -f conftest.er1 conftest.err
2703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2704 test $ac_status = 0; } && {
2705 test -z "$ac_cxx_werror_flag" ||
2706 test ! -s conftest.err
2707 } && test -s conftest.$ac_objext
2708 then :
2709 ac_retval=0
2710 else $as_nop
2711 printf "%s\n" "$as_me: failed program was:" >&5
2712 sed 's/^/| /' conftest.$ac_ext >&5
2714 ac_retval=1
2716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2717 as_fn_set_status $ac_retval
2719 } # ac_fn_cxx_try_compile
2721 # ac_fn_c_try_link LINENO
2722 # -----------------------
2723 # Try to link conftest.$ac_ext, and return whether this succeeded.
2724 ac_fn_c_try_link ()
2726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2727 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2728 if { { ac_try="$ac_link"
2729 case "(($ac_try" in
2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2732 esac
2733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2734 printf "%s\n" "$ac_try_echo"; } >&5
2735 (eval "$ac_link") 2>conftest.err
2736 ac_status=$?
2737 if test -s conftest.err; then
2738 grep -v '^ *+' conftest.err >conftest.er1
2739 cat conftest.er1 >&5
2740 mv -f conftest.er1 conftest.err
2742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2743 test $ac_status = 0; } && {
2744 test -z "$ac_c_werror_flag" ||
2745 test ! -s conftest.err
2746 } && test -s conftest$ac_exeext && {
2747 test "$cross_compiling" = yes ||
2748 test -x conftest$ac_exeext
2750 then :
2751 ac_retval=0
2752 else $as_nop
2753 printf "%s\n" "$as_me: failed program was:" >&5
2754 sed 's/^/| /' conftest.$ac_ext >&5
2756 ac_retval=1
2758 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2759 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2760 # interfere with the next link command; also delete a directory that is
2761 # left behind by Apple's compiler. We do this before executing the actions.
2762 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2764 as_fn_set_status $ac_retval
2766 } # ac_fn_c_try_link
2768 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2769 # -------------------------------------------------------
2770 # Tests whether HEADER exists and can be compiled using the include files in
2771 # INCLUDES, setting the cache variable VAR accordingly.
2772 ac_fn_c_check_header_compile ()
2774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2776 printf %s "checking for $2... " >&6; }
2777 if eval test \${$3+y}
2778 then :
2779 printf %s "(cached) " >&6
2780 else $as_nop
2781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2782 /* end confdefs.h. */
2784 #include <$2>
2785 _ACEOF
2786 if ac_fn_c_try_compile "$LINENO"
2787 then :
2788 eval "$3=yes"
2789 else $as_nop
2790 eval "$3=no"
2792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2794 eval ac_res=\$$3
2795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2796 printf "%s\n" "$ac_res" >&6; }
2797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2799 } # ac_fn_c_check_header_compile
2801 # ac_fn_objc_try_compile LINENO
2802 # -----------------------------
2803 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2804 ac_fn_objc_try_compile ()
2806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2807 rm -f conftest.$ac_objext conftest.beam
2808 if { { ac_try="$ac_compile"
2809 case "(($ac_try" in
2810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2812 esac
2813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2814 printf "%s\n" "$ac_try_echo"; } >&5
2815 (eval "$ac_compile") 2>conftest.err
2816 ac_status=$?
2817 if test -s conftest.err; then
2818 grep -v '^ *+' conftest.err >conftest.er1
2819 cat conftest.er1 >&5
2820 mv -f conftest.er1 conftest.err
2822 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2823 test $ac_status = 0; } && {
2824 test -z "$ac_objc_werror_flag" ||
2825 test ! -s conftest.err
2826 } && test -s conftest.$ac_objext
2827 then :
2828 ac_retval=0
2829 else $as_nop
2830 printf "%s\n" "$as_me: failed program was:" >&5
2831 sed 's/^/| /' conftest.$ac_ext >&5
2833 ac_retval=1
2835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2836 as_fn_set_status $ac_retval
2838 } # ac_fn_objc_try_compile
2840 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2841 # ----------------------------------------------------------
2842 # Tests whether HEADER exists and can be compiled using the include files in
2843 # INCLUDES, setting the cache variable VAR accordingly.
2844 ac_fn_objc_check_header_compile ()
2846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2848 printf %s "checking for $2... " >&6; }
2849 if eval test \${$3+y}
2850 then :
2851 printf %s "(cached) " >&6
2852 else $as_nop
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2856 #include <$2>
2857 _ACEOF
2858 if ac_fn_objc_try_compile "$LINENO"
2859 then :
2860 eval "$3=yes"
2861 else $as_nop
2862 eval "$3=no"
2864 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2866 eval ac_res=\$$3
2867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2868 printf "%s\n" "$ac_res" >&6; }
2869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2871 } # ac_fn_objc_check_header_compile
2873 # ac_fn_c_check_func LINENO FUNC VAR
2874 # ----------------------------------
2875 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2876 ac_fn_c_check_func ()
2878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2880 printf %s "checking for $2... " >&6; }
2881 if eval test \${$3+y}
2882 then :
2883 printf %s "(cached) " >&6
2884 else $as_nop
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2887 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2889 #define $2 innocuous_$2
2891 /* System header to define __stub macros and hopefully few prototypes,
2892 which can conflict with char $2 (); below. */
2894 #include <limits.h>
2895 #undef $2
2897 /* Override any GCC internal prototype to avoid an error.
2898 Use char because int might match the return type of a GCC
2899 builtin and then its argument prototype would still apply. */
2900 #ifdef __cplusplus
2901 extern "C"
2902 #endif
2903 char $2 ();
2904 /* The GNU C library defines this for functions which it implements
2905 to always fail with ENOSYS. Some functions are actually named
2906 something starting with __ and the normal name is an alias. */
2907 #if defined __stub_$2 || defined __stub___$2
2908 choke me
2909 #endif
2912 main (void)
2914 return $2 ();
2916 return 0;
2918 _ACEOF
2919 if ac_fn_c_try_link "$LINENO"
2920 then :
2921 eval "$3=yes"
2922 else $as_nop
2923 eval "$3=no"
2925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2926 conftest$ac_exeext conftest.$ac_ext
2928 eval ac_res=\$$3
2929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2930 printf "%s\n" "$ac_res" >&6; }
2931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2933 } # ac_fn_c_check_func
2935 # ac_fn_c_try_cpp LINENO
2936 # ----------------------
2937 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2938 ac_fn_c_try_cpp ()
2940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2941 if { { ac_try="$ac_cpp conftest.$ac_ext"
2942 case "(($ac_try" in
2943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2945 esac
2946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2947 printf "%s\n" "$ac_try_echo"; } >&5
2948 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2949 ac_status=$?
2950 if test -s conftest.err; then
2951 grep -v '^ *+' conftest.err >conftest.er1
2952 cat conftest.er1 >&5
2953 mv -f conftest.er1 conftest.err
2955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2956 test $ac_status = 0; } > conftest.i && {
2957 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2958 test ! -s conftest.err
2960 then :
2961 ac_retval=0
2962 else $as_nop
2963 printf "%s\n" "$as_me: failed program was:" >&5
2964 sed 's/^/| /' conftest.$ac_ext >&5
2966 ac_retval=1
2968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2969 as_fn_set_status $ac_retval
2971 } # ac_fn_c_try_cpp
2973 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2974 # ----------------------------------------------------
2975 # Tries to find if the field MEMBER exists in type AGGR, after including
2976 # INCLUDES, setting cache variable VAR accordingly.
2977 ac_fn_c_check_member ()
2979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2981 printf %s "checking for $2.$3... " >&6; }
2982 if eval test \${$4+y}
2983 then :
2984 printf %s "(cached) " >&6
2985 else $as_nop
2986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987 /* end confdefs.h. */
2990 main (void)
2992 static $2 ac_aggr;
2993 if (ac_aggr.$3)
2994 return 0;
2996 return 0;
2998 _ACEOF
2999 if ac_fn_c_try_compile "$LINENO"
3000 then :
3001 eval "$4=yes"
3002 else $as_nop
3003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004 /* end confdefs.h. */
3007 main (void)
3009 static $2 ac_aggr;
3010 if (sizeof ac_aggr.$3)
3011 return 0;
3013 return 0;
3015 _ACEOF
3016 if ac_fn_c_try_compile "$LINENO"
3017 then :
3018 eval "$4=yes"
3019 else $as_nop
3020 eval "$4=no"
3022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3026 eval ac_res=\$$4
3027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3028 printf "%s\n" "$ac_res" >&6; }
3029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3031 } # ac_fn_c_check_member
3033 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3034 # -------------------------------------------
3035 # Tests whether TYPE exists after having included INCLUDES, setting cache
3036 # variable VAR accordingly.
3037 ac_fn_c_check_type ()
3039 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3041 printf %s "checking for $2... " >&6; }
3042 if eval test \${$3+y}
3043 then :
3044 printf %s "(cached) " >&6
3045 else $as_nop
3046 eval "$3=no"
3047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048 /* end confdefs.h. */
3051 main (void)
3053 if (sizeof ($2))
3054 return 0;
3056 return 0;
3058 _ACEOF
3059 if ac_fn_c_try_compile "$LINENO"
3060 then :
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3065 main (void)
3067 if (sizeof (($2)))
3068 return 0;
3070 return 0;
3072 _ACEOF
3073 if ac_fn_c_try_compile "$LINENO"
3074 then :
3076 else $as_nop
3077 eval "$3=yes"
3079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3083 eval ac_res=\$$3
3084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3085 printf "%s\n" "$ac_res" >&6; }
3086 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3088 } # ac_fn_c_check_type
3089 ac_configure_args_raw=
3090 for ac_arg
3092 case $ac_arg in
3093 *\'*)
3094 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3095 esac
3096 as_fn_append ac_configure_args_raw " '$ac_arg'"
3097 done
3099 case $ac_configure_args_raw in
3100 *$as_nl*)
3101 ac_safe_unquote= ;;
3103 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3104 ac_unsafe_a="$ac_unsafe_z#~"
3105 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3106 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3107 esac
3109 cat >config.log <<_ACEOF
3110 This file contains any messages produced by compilers while
3111 running configure, to aid debugging if configure makes a mistake.
3113 It was created by Wine $as_me 7.19, which was
3114 generated by GNU Autoconf 2.71. Invocation command line was
3116 $ $0$ac_configure_args_raw
3118 _ACEOF
3119 exec 5>>config.log
3121 cat <<_ASUNAME
3122 ## --------- ##
3123 ## Platform. ##
3124 ## --------- ##
3126 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3127 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3128 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3129 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3130 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3132 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3133 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3135 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3136 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3137 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3138 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3139 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3140 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3141 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3143 _ASUNAME
3145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146 for as_dir in $PATH
3148 IFS=$as_save_IFS
3149 case $as_dir in #(((
3150 '') as_dir=./ ;;
3151 */) ;;
3152 *) as_dir=$as_dir/ ;;
3153 esac
3154 printf "%s\n" "PATH: $as_dir"
3155 done
3156 IFS=$as_save_IFS
3158 } >&5
3160 cat >&5 <<_ACEOF
3163 ## ----------- ##
3164 ## Core tests. ##
3165 ## ----------- ##
3167 _ACEOF
3170 # Keep a trace of the command line.
3171 # Strip out --no-create and --no-recursion so they do not pile up.
3172 # Strip out --silent because we don't want to record it for future runs.
3173 # Also quote any args containing shell meta-characters.
3174 # Make two passes to allow for proper duplicate-argument suppression.
3175 ac_configure_args=
3176 ac_configure_args0=
3177 ac_configure_args1=
3178 ac_must_keep_next=false
3179 for ac_pass in 1 2
3181 for ac_arg
3183 case $ac_arg in
3184 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3185 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3186 | -silent | --silent | --silen | --sile | --sil)
3187 continue ;;
3188 *\'*)
3189 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3190 esac
3191 case $ac_pass in
3192 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3194 as_fn_append ac_configure_args1 " '$ac_arg'"
3195 if test $ac_must_keep_next = true; then
3196 ac_must_keep_next=false # Got value, back to normal.
3197 else
3198 case $ac_arg in
3199 *=* | --config-cache | -C | -disable-* | --disable-* \
3200 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3201 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3202 | -with-* | --with-* | -without-* | --without-* | --x)
3203 case "$ac_configure_args0 " in
3204 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3205 esac
3207 -* ) ac_must_keep_next=true ;;
3208 esac
3210 as_fn_append ac_configure_args " '$ac_arg'"
3212 esac
3213 done
3214 done
3215 { ac_configure_args0=; unset ac_configure_args0;}
3216 { ac_configure_args1=; unset ac_configure_args1;}
3218 # When interrupted or exit'd, cleanup temporary files, and complete
3219 # config.log. We remove comments because anyway the quotes in there
3220 # would cause problems or look ugly.
3221 # WARNING: Use '\'' to represent an apostrophe within the trap.
3222 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3223 trap 'exit_status=$?
3224 # Sanitize IFS.
3225 IFS=" "" $as_nl"
3226 # Save into config.log some information that might help in debugging.
3228 echo
3230 printf "%s\n" "## ---------------- ##
3231 ## Cache variables. ##
3232 ## ---------------- ##"
3233 echo
3234 # The following way of writing the cache mishandles newlines in values,
3236 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3237 eval ac_val=\$$ac_var
3238 case $ac_val in #(
3239 *${as_nl}*)
3240 case $ac_var in #(
3241 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3242 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3243 esac
3244 case $ac_var in #(
3245 _ | IFS | as_nl) ;; #(
3246 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3247 *) { eval $ac_var=; unset $ac_var;} ;;
3248 esac ;;
3249 esac
3250 done
3251 (set) 2>&1 |
3252 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3253 *${as_nl}ac_space=\ *)
3254 sed -n \
3255 "s/'\''/'\''\\\\'\'''\''/g;
3256 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3257 ;; #(
3259 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3261 esac |
3262 sort
3264 echo
3266 printf "%s\n" "## ----------------- ##
3267 ## Output variables. ##
3268 ## ----------------- ##"
3269 echo
3270 for ac_var in $ac_subst_vars
3272 eval ac_val=\$$ac_var
3273 case $ac_val in
3274 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3275 esac
3276 printf "%s\n" "$ac_var='\''$ac_val'\''"
3277 done | sort
3278 echo
3280 if test -n "$ac_subst_files"; then
3281 printf "%s\n" "## ------------------- ##
3282 ## File substitutions. ##
3283 ## ------------------- ##"
3284 echo
3285 for ac_var in $ac_subst_files
3287 eval ac_val=\$$ac_var
3288 case $ac_val in
3289 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3290 esac
3291 printf "%s\n" "$ac_var='\''$ac_val'\''"
3292 done | sort
3293 echo
3296 if test -s confdefs.h; then
3297 printf "%s\n" "## ----------- ##
3298 ## confdefs.h. ##
3299 ## ----------- ##"
3300 echo
3301 cat confdefs.h
3302 echo
3304 test "$ac_signal" != 0 &&
3305 printf "%s\n" "$as_me: caught signal $ac_signal"
3306 printf "%s\n" "$as_me: exit $exit_status"
3307 } >&5
3308 rm -f core *.core core.conftest.* &&
3309 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3310 exit $exit_status
3312 for ac_signal in 1 2 13 15; do
3313 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3314 done
3315 ac_signal=0
3317 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3318 rm -f -r conftest* confdefs.h
3320 printf "%s\n" "/* confdefs.h */" > confdefs.h
3322 # Predefined preprocessor variables.
3324 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3326 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3328 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3330 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3332 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3334 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3337 # Let the site file select an alternate cache file if it wants to.
3338 # Prefer an explicitly selected file to automatically selected ones.
3339 if test -n "$CONFIG_SITE"; then
3340 ac_site_files="$CONFIG_SITE"
3341 elif test "x$prefix" != xNONE; then
3342 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3343 else
3344 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3347 for ac_site_file in $ac_site_files
3349 case $ac_site_file in #(
3350 */*) :
3351 ;; #(
3352 *) :
3353 ac_site_file=./$ac_site_file ;;
3354 esac
3355 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3357 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3358 sed 's/^/| /' "$ac_site_file" >&5
3359 . "$ac_site_file" \
3360 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3361 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3362 as_fn_error $? "failed to load site script $ac_site_file
3363 See \`config.log' for more details" "$LINENO" 5; }
3365 done
3367 if test -r "$cache_file"; then
3368 # Some versions of bash will fail to source /dev/null (special files
3369 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3370 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3372 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3373 case $cache_file in
3374 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3375 *) . "./$cache_file";;
3376 esac
3378 else
3379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3380 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3381 >$cache_file
3384 # Test code for whether the C compiler supports C89 (global declarations)
3385 ac_c_conftest_c89_globals='
3386 /* Does the compiler advertise C89 conformance?
3387 Do not test the value of __STDC__, because some compilers set it to 0
3388 while being otherwise adequately conformant. */
3389 #if !defined __STDC__
3390 # error "Compiler does not advertise C89 conformance"
3391 #endif
3393 #include <stddef.h>
3394 #include <stdarg.h>
3395 struct stat;
3396 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3397 struct buf { int x; };
3398 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3399 static char *e (p, i)
3400 char **p;
3401 int i;
3403 return p[i];
3405 static char *f (char * (*g) (char **, int), char **p, ...)
3407 char *s;
3408 va_list v;
3409 va_start (v,p);
3410 s = g (p, va_arg (v,int));
3411 va_end (v);
3412 return s;
3415 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3416 function prototypes and stuff, but not \xHH hex character constants.
3417 These do not provoke an error unfortunately, instead are silently treated
3418 as an "x". The following induces an error, until -std is added to get
3419 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3420 array size at least. It is necessary to write \x00 == 0 to get something
3421 that is true only with -std. */
3422 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3424 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3425 inside strings and character constants. */
3426 #define FOO(x) '\''x'\''
3427 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3429 int test (int i, double x);
3430 struct s1 {int (*f) (int a);};
3431 struct s2 {int (*f) (double a);};
3432 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3433 int, int);'
3435 # Test code for whether the C compiler supports C89 (body of main).
3436 ac_c_conftest_c89_main='
3437 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3440 # Test code for whether the C compiler supports C99 (global declarations)
3441 ac_c_conftest_c99_globals='
3442 // Does the compiler advertise C99 conformance?
3443 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3444 # error "Compiler does not advertise C99 conformance"
3445 #endif
3447 #include <stdbool.h>
3448 extern int puts (const char *);
3449 extern int printf (const char *, ...);
3450 extern int dprintf (int, const char *, ...);
3451 extern void *malloc (size_t);
3453 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3454 // dprintf is used instead of fprintf to avoid needing to declare
3455 // FILE and stderr.
3456 #define debug(...) dprintf (2, __VA_ARGS__)
3457 #define showlist(...) puts (#__VA_ARGS__)
3458 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3459 static void
3460 test_varargs_macros (void)
3462 int x = 1234;
3463 int y = 5678;
3464 debug ("Flag");
3465 debug ("X = %d\n", x);
3466 showlist (The first, second, and third items.);
3467 report (x>y, "x is %d but y is %d", x, y);
3470 // Check long long types.
3471 #define BIG64 18446744073709551615ull
3472 #define BIG32 4294967295ul
3473 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3474 #if !BIG_OK
3475 #error "your preprocessor is broken"
3476 #endif
3477 #if BIG_OK
3478 #else
3479 #error "your preprocessor is broken"
3480 #endif
3481 static long long int bignum = -9223372036854775807LL;
3482 static unsigned long long int ubignum = BIG64;
3484 struct incomplete_array
3486 int datasize;
3487 double data[];
3490 struct named_init {
3491 int number;
3492 const wchar_t *name;
3493 double average;
3496 typedef const char *ccp;
3498 static inline int
3499 test_restrict (ccp restrict text)
3501 // See if C++-style comments work.
3502 // Iterate through items via the restricted pointer.
3503 // Also check for declarations in for loops.
3504 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3505 continue;
3506 return 0;
3509 // Check varargs and va_copy.
3510 static bool
3511 test_varargs (const char *format, ...)
3513 va_list args;
3514 va_start (args, format);
3515 va_list args_copy;
3516 va_copy (args_copy, args);
3518 const char *str = "";
3519 int number = 0;
3520 float fnumber = 0;
3522 while (*format)
3524 switch (*format++)
3526 case '\''s'\'': // string
3527 str = va_arg (args_copy, const char *);
3528 break;
3529 case '\''d'\'': // int
3530 number = va_arg (args_copy, int);
3531 break;
3532 case '\''f'\'': // float
3533 fnumber = va_arg (args_copy, double);
3534 break;
3535 default:
3536 break;
3539 va_end (args_copy);
3540 va_end (args);
3542 return *str && number && fnumber;
3546 # Test code for whether the C compiler supports C99 (body of main).
3547 ac_c_conftest_c99_main='
3548 // Check bool.
3549 _Bool success = false;
3550 success |= (argc != 0);
3552 // Check restrict.
3553 if (test_restrict ("String literal") == 0)
3554 success = true;
3555 char *restrict newvar = "Another string";
3557 // Check varargs.
3558 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3559 test_varargs_macros ();
3561 // Check flexible array members.
3562 struct incomplete_array *ia =
3563 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3564 ia->datasize = 10;
3565 for (int i = 0; i < ia->datasize; ++i)
3566 ia->data[i] = i * 1.234;
3568 // Check named initializers.
3569 struct named_init ni = {
3570 .number = 34,
3571 .name = L"Test wide string",
3572 .average = 543.34343,
3575 ni.number = 58;
3577 int dynamic_array[ni.number];
3578 dynamic_array[0] = argv[0][0];
3579 dynamic_array[ni.number - 1] = 543;
3581 // work around unused variable warnings
3582 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3583 || dynamic_array[ni.number - 1] != 543);
3586 # Test code for whether the C compiler supports C11 (global declarations)
3587 ac_c_conftest_c11_globals='
3588 // Does the compiler advertise C11 conformance?
3589 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3590 # error "Compiler does not advertise C11 conformance"
3591 #endif
3593 // Check _Alignas.
3594 char _Alignas (double) aligned_as_double;
3595 char _Alignas (0) no_special_alignment;
3596 extern char aligned_as_int;
3597 char _Alignas (0) _Alignas (int) aligned_as_int;
3599 // Check _Alignof.
3600 enum
3602 int_alignment = _Alignof (int),
3603 int_array_alignment = _Alignof (int[100]),
3604 char_alignment = _Alignof (char)
3606 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3608 // Check _Noreturn.
3609 int _Noreturn does_not_return (void) { for (;;) continue; }
3611 // Check _Static_assert.
3612 struct test_static_assert
3614 int x;
3615 _Static_assert (sizeof (int) <= sizeof (long int),
3616 "_Static_assert does not work in struct");
3617 long int y;
3620 // Check UTF-8 literals.
3621 #define u8 syntax error!
3622 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3624 // Check duplicate typedefs.
3625 typedef long *long_ptr;
3626 typedef long int *long_ptr;
3627 typedef long_ptr long_ptr;
3629 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3630 struct anonymous
3632 union {
3633 struct { int i; int j; };
3634 struct { int k; long int l; } w;
3636 int m;
3637 } v1;
3640 # Test code for whether the C compiler supports C11 (body of main).
3641 ac_c_conftest_c11_main='
3642 _Static_assert ((offsetof (struct anonymous, i)
3643 == offsetof (struct anonymous, w.k)),
3644 "Anonymous union alignment botch");
3645 v1.i = 2;
3646 v1.w.k = 5;
3647 ok |= v1.i != 5;
3650 # Test code for whether the C compiler supports C11 (complete).
3651 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3652 ${ac_c_conftest_c99_globals}
3653 ${ac_c_conftest_c11_globals}
3656 main (int argc, char **argv)
3658 int ok = 0;
3659 ${ac_c_conftest_c89_main}
3660 ${ac_c_conftest_c99_main}
3661 ${ac_c_conftest_c11_main}
3662 return ok;
3666 # Test code for whether the C compiler supports C99 (complete).
3667 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3668 ${ac_c_conftest_c99_globals}
3671 main (int argc, char **argv)
3673 int ok = 0;
3674 ${ac_c_conftest_c89_main}
3675 ${ac_c_conftest_c99_main}
3676 return ok;
3680 # Test code for whether the C compiler supports C89 (complete).
3681 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3684 main (int argc, char **argv)
3686 int ok = 0;
3687 ${ac_c_conftest_c89_main}
3688 return ok;
3692 # Test code for whether the C++ compiler supports C++98 (global declarations)
3693 ac_cxx_conftest_cxx98_globals='
3694 // Does the compiler advertise C++98 conformance?
3695 #if !defined __cplusplus || __cplusplus < 199711L
3696 # error "Compiler does not advertise C++98 conformance"
3697 #endif
3699 // These inclusions are to reject old compilers that
3700 // lack the unsuffixed header files.
3701 #include <cstdlib>
3702 #include <exception>
3704 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3705 extern void assert (int);
3706 namespace std {
3707 extern int strcmp (const char *, const char *);
3710 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3711 using std::exception;
3712 using std::strcmp;
3714 namespace {
3716 void test_exception_syntax()
3718 try {
3719 throw "test";
3720 } catch (const char *s) {
3721 // Extra parentheses suppress a warning when building autoconf itself,
3722 // due to lint rules shared with more typical C programs.
3723 assert (!(strcmp) (s, "test"));
3727 template <typename T> struct test_template
3729 T const val;
3730 explicit test_template(T t) : val(t) {}
3731 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3734 } // anonymous namespace
3737 # Test code for whether the C++ compiler supports C++98 (body of main)
3738 ac_cxx_conftest_cxx98_main='
3739 assert (argc);
3740 assert (! argv[0]);
3742 test_exception_syntax ();
3743 test_template<double> tt (2.0);
3744 assert (tt.add (4) == 6.0);
3745 assert (true && !false);
3749 # Test code for whether the C++ compiler supports C++11 (global declarations)
3750 ac_cxx_conftest_cxx11_globals='
3751 // Does the compiler advertise C++ 2011 conformance?
3752 #if !defined __cplusplus || __cplusplus < 201103L
3753 # error "Compiler does not advertise C++11 conformance"
3754 #endif
3756 namespace cxx11test
3758 constexpr int get_val() { return 20; }
3760 struct testinit
3762 int i;
3763 double d;
3766 class delegate
3768 public:
3769 delegate(int n) : n(n) {}
3770 delegate(): delegate(2354) {}
3772 virtual int getval() { return this->n; };
3773 protected:
3774 int n;
3777 class overridden : public delegate
3779 public:
3780 overridden(int n): delegate(n) {}
3781 virtual int getval() override final { return this->n * 2; }
3784 class nocopy
3786 public:
3787 nocopy(int i): i(i) {}
3788 nocopy() = default;
3789 nocopy(const nocopy&) = delete;
3790 nocopy & operator=(const nocopy&) = delete;
3791 private:
3792 int i;
3795 // for testing lambda expressions
3796 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3798 return f(v);
3801 // for testing variadic templates and trailing return types
3802 template <typename V> auto sum(V first) -> V
3804 return first;
3806 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3808 return first + sum(rest...);
3813 # Test code for whether the C++ compiler supports C++11 (body of main)
3814 ac_cxx_conftest_cxx11_main='
3816 // Test auto and decltype
3817 auto a1 = 6538;
3818 auto a2 = 48573953.4;
3819 auto a3 = "String literal";
3821 int total = 0;
3822 for (auto i = a3; *i; ++i) { total += *i; }
3824 decltype(a2) a4 = 34895.034;
3827 // Test constexpr
3828 short sa[cxx11test::get_val()] = { 0 };
3831 // Test initializer lists
3832 cxx11test::testinit il = { 4323, 435234.23544 };
3835 // Test range-based for
3836 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3837 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3838 for (auto &x : array) { x += 23; }
3841 // Test lambda expressions
3842 using cxx11test::eval;
3843 assert (eval ([](int x) { return x*2; }, 21) == 42);
3844 double d = 2.0;
3845 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3846 assert (d == 5.0);
3847 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3848 assert (d == 5.0);
3851 // Test use of variadic templates
3852 using cxx11test::sum;
3853 auto a = sum(1);
3854 auto b = sum(1, 2);
3855 auto c = sum(1.0, 2.0, 3.0);
3858 // Test constructor delegation
3859 cxx11test::delegate d1;
3860 cxx11test::delegate d2();
3861 cxx11test::delegate d3(45);
3864 // Test override and final
3865 cxx11test::overridden o1(55464);
3868 // Test nullptr
3869 char *c = nullptr;
3872 // Test template brackets
3873 test_template<::test_template<int>> v(test_template<int>(12));
3876 // Unicode literals
3877 char const *utf8 = u8"UTF-8 string \u2500";
3878 char16_t const *utf16 = u"UTF-8 string \u2500";
3879 char32_t const *utf32 = U"UTF-32 string \u2500";
3883 # Test code for whether the C compiler supports C++11 (complete).
3884 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3885 ${ac_cxx_conftest_cxx11_globals}
3888 main (int argc, char **argv)
3890 int ok = 0;
3891 ${ac_cxx_conftest_cxx98_main}
3892 ${ac_cxx_conftest_cxx11_main}
3893 return ok;
3897 # Test code for whether the C compiler supports C++98 (complete).
3898 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3900 main (int argc, char **argv)
3902 int ok = 0;
3903 ${ac_cxx_conftest_cxx98_main}
3904 return ok;
3908 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3909 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3910 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3911 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3912 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3913 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3914 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3915 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3916 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3918 # Auxiliary files required by this configure script.
3919 ac_aux_files="config.guess config.sub"
3921 # Locations in which to look for auxiliary files.
3922 ac_aux_dir_candidates="${srcdir}/tools"
3924 # Search for a directory containing all of the required auxiliary files,
3925 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3926 # If we don't find one directory that contains all the files we need,
3927 # we report the set of missing files from the *first* directory in
3928 # $ac_aux_dir_candidates and give up.
3929 ac_missing_aux_files=""
3930 ac_first_candidate=:
3931 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933 as_found=false
3934 for as_dir in $ac_aux_dir_candidates
3936 IFS=$as_save_IFS
3937 case $as_dir in #(((
3938 '') as_dir=./ ;;
3939 */) ;;
3940 *) as_dir=$as_dir/ ;;
3941 esac
3942 as_found=:
3944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3945 ac_aux_dir_found=yes
3946 ac_install_sh=
3947 for ac_aux in $ac_aux_files
3949 # As a special case, if "install-sh" is required, that requirement
3950 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3951 # and $ac_install_sh is set appropriately for whichever one is found.
3952 if test x"$ac_aux" = x"install-sh"
3953 then
3954 if test -f "${as_dir}install-sh"; then
3955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3956 ac_install_sh="${as_dir}install-sh -c"
3957 elif test -f "${as_dir}install.sh"; then
3958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3959 ac_install_sh="${as_dir}install.sh -c"
3960 elif test -f "${as_dir}shtool"; then
3961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3962 ac_install_sh="${as_dir}shtool install -c"
3963 else
3964 ac_aux_dir_found=no
3965 if $ac_first_candidate; then
3966 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3967 else
3968 break
3971 else
3972 if test -f "${as_dir}${ac_aux}"; then
3973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3974 else
3975 ac_aux_dir_found=no
3976 if $ac_first_candidate; then
3977 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3978 else
3979 break
3983 done
3984 if test "$ac_aux_dir_found" = yes; then
3985 ac_aux_dir="$as_dir"
3986 break
3988 ac_first_candidate=false
3990 as_found=false
3991 done
3992 IFS=$as_save_IFS
3993 if $as_found
3994 then :
3996 else $as_nop
3997 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4001 # These three variables are undocumented and unsupported,
4002 # and are intended to be withdrawn in a future Autoconf release.
4003 # They can cause serious problems if a builder's source tree is in a directory
4004 # whose full name contains unusual characters.
4005 if test -f "${ac_aux_dir}config.guess"; then
4006 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4008 if test -f "${ac_aux_dir}config.sub"; then
4009 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4011 if test -f "$ac_aux_dir/configure"; then
4012 ac_configure="$SHELL ${ac_aux_dir}configure"
4015 # Check that the precious variables saved in the cache have kept the same
4016 # value.
4017 ac_cache_corrupted=false
4018 for ac_var in $ac_precious_vars; do
4019 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4020 eval ac_new_set=\$ac_env_${ac_var}_set
4021 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4022 eval ac_new_val=\$ac_env_${ac_var}_value
4023 case $ac_old_set,$ac_new_set in
4024 set,)
4025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4026 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4027 ac_cache_corrupted=: ;;
4028 ,set)
4029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4030 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4031 ac_cache_corrupted=: ;;
4032 ,);;
4034 if test "x$ac_old_val" != "x$ac_new_val"; then
4035 # differences in whitespace do not lead to failure.
4036 ac_old_val_w=`echo x $ac_old_val`
4037 ac_new_val_w=`echo x $ac_new_val`
4038 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4040 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4041 ac_cache_corrupted=:
4042 else
4043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4044 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4045 eval $ac_var=\$ac_old_val
4047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4048 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4050 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4051 fi;;
4052 esac
4053 # Pass precious variables to config.status.
4054 if test "$ac_new_set" = set; then
4055 case $ac_new_val in
4056 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4057 *) ac_arg=$ac_var=$ac_new_val ;;
4058 esac
4059 case " $ac_configure_args " in
4060 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4061 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4062 esac
4064 done
4065 if $ac_cache_corrupted; then
4066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4069 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4070 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4071 and start over" "$LINENO" 5
4073 ## -------------------- ##
4074 ## Main body of script. ##
4075 ## -------------------- ##
4077 ac_ext=c
4078 ac_cpp='$CPP $CPPFLAGS'
4079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4085 ac_config_headers="$ac_config_headers include/config.h"
4089 libwine_version="1.0"
4092 # Check whether --enable-win16 was given.
4093 if test ${enable_win16+y}
4094 then :
4095 enableval=$enable_win16;
4098 # Check whether --enable-win64 was given.
4099 if test ${enable_win64+y}
4100 then :
4101 enableval=$enable_win64;
4104 # Check whether --enable-tests was given.
4105 if test ${enable_tests+y}
4106 then :
4107 enableval=$enable_tests;
4110 # Check whether --enable-build-id was given.
4111 if test ${enable_build_id+y}
4112 then :
4113 enableval=$enable_build_id;
4116 # Check whether --enable-maintainer-mode was given.
4117 if test ${enable_maintainer_mode+y}
4118 then :
4119 enableval=$enable_maintainer_mode;
4122 # Check whether --enable-silent-rules was given.
4123 if test ${enable_silent_rules+y}
4124 then :
4125 enableval=$enable_silent_rules;
4128 # Check whether --enable-werror was given.
4129 if test ${enable_werror+y}
4130 then :
4131 enableval=$enable_werror;
4136 # Check whether --with-alsa was given.
4137 if test ${with_alsa+y}
4138 then :
4139 withval=$with_alsa;
4143 # Check whether --with-capi was given.
4144 if test ${with_capi+y}
4145 then :
4146 withval=$with_capi;
4150 # Check whether --with-coreaudio was given.
4151 if test ${with_coreaudio+y}
4152 then :
4153 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4157 # Check whether --with-cups was given.
4158 if test ${with_cups+y}
4159 then :
4160 withval=$with_cups;
4164 # Check whether --with-dbus was given.
4165 if test ${with_dbus+y}
4166 then :
4167 withval=$with_dbus;
4171 # Check whether --with-float-abi was given.
4172 if test ${with_float_abi+y}
4173 then :
4174 withval=$with_float_abi;
4178 # Check whether --with-fontconfig was given.
4179 if test ${with_fontconfig+y}
4180 then :
4181 withval=$with_fontconfig;
4185 # Check whether --with-freetype was given.
4186 if test ${with_freetype+y}
4187 then :
4188 withval=$with_freetype;
4192 # Check whether --with-gettext was given.
4193 if test ${with_gettext+y}
4194 then :
4195 withval=$with_gettext;
4199 # Check whether --with-gettextpo was given.
4200 if test ${with_gettextpo+y}
4201 then :
4202 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4206 # Check whether --with-gphoto was given.
4207 if test ${with_gphoto+y}
4208 then :
4209 withval=$with_gphoto;
4213 # Check whether --with-gnutls was given.
4214 if test ${with_gnutls+y}
4215 then :
4216 withval=$with_gnutls;
4220 # Check whether --with-gssapi was given.
4221 if test ${with_gssapi+y}
4222 then :
4223 withval=$with_gssapi;
4227 # Check whether --with-gstreamer was given.
4228 if test ${with_gstreamer+y}
4229 then :
4230 withval=$with_gstreamer;
4234 # Check whether --with-inotify was given.
4235 if test ${with_inotify+y}
4236 then :
4237 withval=$with_inotify;
4241 # Check whether --with-krb5 was given.
4242 if test ${with_krb5+y}
4243 then :
4244 withval=$with_krb5;
4248 # Check whether --with-ldap was given.
4249 if test ${with_ldap+y}
4250 then :
4251 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4255 # Check whether --with-mingw was given.
4256 if test ${with_mingw+y}
4257 then :
4258 withval=$with_mingw;
4262 # Check whether --with-netapi was given.
4263 if test ${with_netapi+y}
4264 then :
4265 withval=$with_netapi;
4269 # Check whether --with-openal was given.
4270 if test ${with_openal+y}
4271 then :
4272 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4276 # Check whether --with-opencl was given.
4277 if test ${with_opencl+y}
4278 then :
4279 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4283 # Check whether --with-opengl was given.
4284 if test ${with_opengl+y}
4285 then :
4286 withval=$with_opengl;
4290 # Check whether --with-osmesa was given.
4291 if test ${with_osmesa+y}
4292 then :
4293 withval=$with_osmesa;
4297 # Check whether --with-oss was given.
4298 if test ${with_oss+y}
4299 then :
4300 withval=$with_oss;
4304 # Check whether --with-pcap was given.
4305 if test ${with_pcap+y}
4306 then :
4307 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4311 # Check whether --with-pthread was given.
4312 if test ${with_pthread+y}
4313 then :
4314 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4318 # Check whether --with-pulse was given.
4319 if test ${with_pulse+y}
4320 then :
4321 withval=$with_pulse;
4325 # Check whether --with-sane was given.
4326 if test ${with_sane+y}
4327 then :
4328 withval=$with_sane;
4332 # Check whether --with-sdl was given.
4333 if test ${with_sdl+y}
4334 then :
4335 withval=$with_sdl;
4339 # Check whether --with-udev was given.
4340 if test ${with_udev+y}
4341 then :
4342 withval=$with_udev;
4346 # Check whether --with-unwind was given.
4347 if test ${with_unwind+y}
4348 then :
4349 withval=$with_unwind;
4353 # Check whether --with-usb was given.
4354 if test ${with_usb+y}
4355 then :
4356 withval=$with_usb;
4360 # Check whether --with-v4l2 was given.
4361 if test ${with_v4l2+y}
4362 then :
4363 withval=$with_v4l2;
4367 # Check whether --with-vulkan was given.
4368 if test ${with_vulkan+y}
4369 then :
4370 withval=$with_vulkan;
4374 # Check whether --with-xcomposite was given.
4375 if test ${with_xcomposite+y}
4376 then :
4377 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4381 # Check whether --with-xcursor was given.
4382 if test ${with_xcursor+y}
4383 then :
4384 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4388 # Check whether --with-xfixes was given.
4389 if test ${with_xfixes+y}
4390 then :
4391 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4395 # Check whether --with-xinerama was given.
4396 if test ${with_xinerama+y}
4397 then :
4398 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4402 # Check whether --with-xinput was given.
4403 if test ${with_xinput+y}
4404 then :
4405 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4409 # Check whether --with-xinput2 was given.
4410 if test ${with_xinput2+y}
4411 then :
4412 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4416 # Check whether --with-xrandr was given.
4417 if test ${with_xrandr+y}
4418 then :
4419 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4423 # Check whether --with-xrender was given.
4424 if test ${with_xrender+y}
4425 then :
4426 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4430 # Check whether --with-xshape was given.
4431 if test ${with_xshape+y}
4432 then :
4433 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4437 # Check whether --with-xshm was given.
4438 if test ${with_xshm+y}
4439 then :
4440 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4444 # Check whether --with-xxf86vm was given.
4445 if test ${with_xxf86vm+y}
4446 then :
4447 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
4452 # Check whether --with-system-dllpath was given.
4453 if test ${with_system_dllpath+y}
4454 then :
4455 withval=$with_system_dllpath; system_dllpath=$withval
4460 # Check whether --with-wine-tools was given.
4461 if test ${with_wine_tools+y}
4462 then :
4463 withval=$with_wine_tools;
4467 # Check whether --with-wine64 was given.
4468 if test ${with_wine64+y}
4469 then :
4470 withval=$with_wine64;
4477 # Make sure we can run config.sub.
4478 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4479 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4482 printf %s "checking build system type... " >&6; }
4483 if test ${ac_cv_build+y}
4484 then :
4485 printf %s "(cached) " >&6
4486 else $as_nop
4487 ac_build_alias=$build_alias
4488 test "x$ac_build_alias" = x &&
4489 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4490 test "x$ac_build_alias" = x &&
4491 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4492 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4493 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4497 printf "%s\n" "$ac_cv_build" >&6; }
4498 case $ac_cv_build in
4499 *-*-*) ;;
4500 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4501 esac
4502 build=$ac_cv_build
4503 ac_save_IFS=$IFS; IFS='-'
4504 set x $ac_cv_build
4505 shift
4506 build_cpu=$1
4507 build_vendor=$2
4508 shift; shift
4509 # Remember, the first character of IFS is used to create $*,
4510 # except with old shells:
4511 build_os=$*
4512 IFS=$ac_save_IFS
4513 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4517 printf %s "checking host system type... " >&6; }
4518 if test ${ac_cv_host+y}
4519 then :
4520 printf %s "(cached) " >&6
4521 else $as_nop
4522 if test "x$host_alias" = x; then
4523 ac_cv_host=$ac_cv_build
4524 else
4525 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4526 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4531 printf "%s\n" "$ac_cv_host" >&6; }
4532 case $ac_cv_host in
4533 *-*-*) ;;
4534 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4535 esac
4536 host=$ac_cv_host
4537 ac_save_IFS=$IFS; IFS='-'
4538 set x $ac_cv_host
4539 shift
4540 host_cpu=$1
4541 host_vendor=$2
4542 shift; shift
4543 # Remember, the first character of IFS is used to create $*,
4544 # except with old shells:
4545 host_os=$*
4546 IFS=$ac_save_IFS
4547 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4551 dlldir=\${libdir}/wine
4553 fontdir=\${datadir}/wine/fonts
4555 nlsdir=\${datadir}/wine/nls
4560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4561 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4562 set x ${MAKE-make}
4563 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4564 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4565 then :
4566 printf %s "(cached) " >&6
4567 else $as_nop
4568 cat >conftest.make <<\_ACEOF
4569 SHELL = /bin/sh
4570 all:
4571 @echo '@@@%%%=$(MAKE)=@@@%%%'
4572 _ACEOF
4573 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4574 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4575 *@@@%%%=?*=@@@%%%*)
4576 eval ac_cv_prog_make_${ac_make}_set=yes;;
4578 eval ac_cv_prog_make_${ac_make}_set=no;;
4579 esac
4580 rm -f conftest.make
4582 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4584 printf "%s\n" "yes" >&6; }
4585 SET_MAKE=
4586 else
4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4588 printf "%s\n" "no" >&6; }
4589 SET_MAKE="MAKE=${MAKE-make}"
4601 ac_ext=c
4602 ac_cpp='$CPP $CPPFLAGS'
4603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4606 if test -n "$ac_tool_prefix"; then
4607 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4608 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610 printf %s "checking for $ac_word... " >&6; }
4611 if test ${ac_cv_prog_CC+y}
4612 then :
4613 printf %s "(cached) " >&6
4614 else $as_nop
4615 if test -n "$CC"; then
4616 ac_cv_prog_CC="$CC" # Let the user override the test.
4617 else
4618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4619 for as_dir in $PATH
4621 IFS=$as_save_IFS
4622 case $as_dir in #(((
4623 '') as_dir=./ ;;
4624 */) ;;
4625 *) as_dir=$as_dir/ ;;
4626 esac
4627 for ac_exec_ext in '' $ac_executable_extensions; do
4628 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4629 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4631 break 2
4633 done
4634 done
4635 IFS=$as_save_IFS
4639 CC=$ac_cv_prog_CC
4640 if test -n "$CC"; then
4641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4642 printf "%s\n" "$CC" >&6; }
4643 else
4644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645 printf "%s\n" "no" >&6; }
4650 if test -z "$ac_cv_prog_CC"; then
4651 ac_ct_CC=$CC
4652 # Extract the first word of "gcc", so it can be a program name with args.
4653 set dummy gcc; ac_word=$2
4654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4655 printf %s "checking for $ac_word... " >&6; }
4656 if test ${ac_cv_prog_ac_ct_CC+y}
4657 then :
4658 printf %s "(cached) " >&6
4659 else $as_nop
4660 if test -n "$ac_ct_CC"; then
4661 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4662 else
4663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4664 for as_dir in $PATH
4666 IFS=$as_save_IFS
4667 case $as_dir in #(((
4668 '') as_dir=./ ;;
4669 */) ;;
4670 *) as_dir=$as_dir/ ;;
4671 esac
4672 for ac_exec_ext in '' $ac_executable_extensions; do
4673 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4674 ac_cv_prog_ac_ct_CC="gcc"
4675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4676 break 2
4678 done
4679 done
4680 IFS=$as_save_IFS
4684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4685 if test -n "$ac_ct_CC"; then
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4687 printf "%s\n" "$ac_ct_CC" >&6; }
4688 else
4689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 printf "%s\n" "no" >&6; }
4693 if test "x$ac_ct_CC" = x; then
4694 CC=""
4695 else
4696 case $cross_compiling:$ac_tool_warned in
4697 yes:)
4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4699 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4700 ac_tool_warned=yes ;;
4701 esac
4702 CC=$ac_ct_CC
4704 else
4705 CC="$ac_cv_prog_CC"
4708 if test -z "$CC"; then
4709 if test -n "$ac_tool_prefix"; then
4710 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4711 set dummy ${ac_tool_prefix}cc; ac_word=$2
4712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 printf %s "checking for $ac_word... " >&6; }
4714 if test ${ac_cv_prog_CC+y}
4715 then :
4716 printf %s "(cached) " >&6
4717 else $as_nop
4718 if test -n "$CC"; then
4719 ac_cv_prog_CC="$CC" # Let the user override the test.
4720 else
4721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4722 for as_dir in $PATH
4724 IFS=$as_save_IFS
4725 case $as_dir in #(((
4726 '') as_dir=./ ;;
4727 */) ;;
4728 *) as_dir=$as_dir/ ;;
4729 esac
4730 for ac_exec_ext in '' $ac_executable_extensions; do
4731 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4732 ac_cv_prog_CC="${ac_tool_prefix}cc"
4733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4734 break 2
4736 done
4737 done
4738 IFS=$as_save_IFS
4742 CC=$ac_cv_prog_CC
4743 if test -n "$CC"; then
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4745 printf "%s\n" "$CC" >&6; }
4746 else
4747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4748 printf "%s\n" "no" >&6; }
4754 if test -z "$CC"; then
4755 # Extract the first word of "cc", so it can be a program name with args.
4756 set dummy cc; ac_word=$2
4757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4758 printf %s "checking for $ac_word... " >&6; }
4759 if test ${ac_cv_prog_CC+y}
4760 then :
4761 printf %s "(cached) " >&6
4762 else $as_nop
4763 if test -n "$CC"; then
4764 ac_cv_prog_CC="$CC" # Let the user override the test.
4765 else
4766 ac_prog_rejected=no
4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 for as_dir in $PATH
4770 IFS=$as_save_IFS
4771 case $as_dir in #(((
4772 '') as_dir=./ ;;
4773 */) ;;
4774 *) as_dir=$as_dir/ ;;
4775 esac
4776 for ac_exec_ext in '' $ac_executable_extensions; do
4777 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4778 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4779 ac_prog_rejected=yes
4780 continue
4782 ac_cv_prog_CC="cc"
4783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4784 break 2
4786 done
4787 done
4788 IFS=$as_save_IFS
4790 if test $ac_prog_rejected = yes; then
4791 # We found a bogon in the path, so make sure we never use it.
4792 set dummy $ac_cv_prog_CC
4793 shift
4794 if test $# != 0; then
4795 # We chose a different compiler from the bogus one.
4796 # However, it has the same basename, so the bogon will be chosen
4797 # first if we set CC to just the basename; use the full file name.
4798 shift
4799 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4804 CC=$ac_cv_prog_CC
4805 if test -n "$CC"; then
4806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4807 printf "%s\n" "$CC" >&6; }
4808 else
4809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810 printf "%s\n" "no" >&6; }
4815 if test -z "$CC"; then
4816 if test -n "$ac_tool_prefix"; then
4817 for ac_prog in cl.exe
4819 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4820 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4822 printf %s "checking for $ac_word... " >&6; }
4823 if test ${ac_cv_prog_CC+y}
4824 then :
4825 printf %s "(cached) " >&6
4826 else $as_nop
4827 if test -n "$CC"; then
4828 ac_cv_prog_CC="$CC" # Let the user override the test.
4829 else
4830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4831 for as_dir in $PATH
4833 IFS=$as_save_IFS
4834 case $as_dir in #(((
4835 '') as_dir=./ ;;
4836 */) ;;
4837 *) as_dir=$as_dir/ ;;
4838 esac
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4843 break 2
4845 done
4846 done
4847 IFS=$as_save_IFS
4851 CC=$ac_cv_prog_CC
4852 if test -n "$CC"; then
4853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4854 printf "%s\n" "$CC" >&6; }
4855 else
4856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 printf "%s\n" "no" >&6; }
4861 test -n "$CC" && break
4862 done
4864 if test -z "$CC"; then
4865 ac_ct_CC=$CC
4866 for ac_prog in cl.exe
4868 # Extract the first word of "$ac_prog", so it can be a program name with args.
4869 set dummy $ac_prog; ac_word=$2
4870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871 printf %s "checking for $ac_word... " >&6; }
4872 if test ${ac_cv_prog_ac_ct_CC+y}
4873 then :
4874 printf %s "(cached) " >&6
4875 else $as_nop
4876 if test -n "$ac_ct_CC"; then
4877 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4878 else
4879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4880 for as_dir in $PATH
4882 IFS=$as_save_IFS
4883 case $as_dir in #(((
4884 '') as_dir=./ ;;
4885 */) ;;
4886 *) as_dir=$as_dir/ ;;
4887 esac
4888 for ac_exec_ext in '' $ac_executable_extensions; do
4889 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4890 ac_cv_prog_ac_ct_CC="$ac_prog"
4891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4892 break 2
4894 done
4895 done
4896 IFS=$as_save_IFS
4900 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4901 if test -n "$ac_ct_CC"; then
4902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4903 printf "%s\n" "$ac_ct_CC" >&6; }
4904 else
4905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4906 printf "%s\n" "no" >&6; }
4910 test -n "$ac_ct_CC" && break
4911 done
4913 if test "x$ac_ct_CC" = x; then
4914 CC=""
4915 else
4916 case $cross_compiling:$ac_tool_warned in
4917 yes:)
4918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4919 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4920 ac_tool_warned=yes ;;
4921 esac
4922 CC=$ac_ct_CC
4927 if test -z "$CC"; then
4928 if test -n "$ac_tool_prefix"; then
4929 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4930 set dummy ${ac_tool_prefix}clang; ac_word=$2
4931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 printf %s "checking for $ac_word... " >&6; }
4933 if test ${ac_cv_prog_CC+y}
4934 then :
4935 printf %s "(cached) " >&6
4936 else $as_nop
4937 if test -n "$CC"; then
4938 ac_cv_prog_CC="$CC" # Let the user override the test.
4939 else
4940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4941 for as_dir in $PATH
4943 IFS=$as_save_IFS
4944 case $as_dir in #(((
4945 '') as_dir=./ ;;
4946 */) ;;
4947 *) as_dir=$as_dir/ ;;
4948 esac
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4951 ac_cv_prog_CC="${ac_tool_prefix}clang"
4952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4953 break 2
4955 done
4956 done
4957 IFS=$as_save_IFS
4961 CC=$ac_cv_prog_CC
4962 if test -n "$CC"; then
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4964 printf "%s\n" "$CC" >&6; }
4965 else
4966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 printf "%s\n" "no" >&6; }
4972 if test -z "$ac_cv_prog_CC"; then
4973 ac_ct_CC=$CC
4974 # Extract the first word of "clang", so it can be a program name with args.
4975 set dummy clang; ac_word=$2
4976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4977 printf %s "checking for $ac_word... " >&6; }
4978 if test ${ac_cv_prog_ac_ct_CC+y}
4979 then :
4980 printf %s "(cached) " >&6
4981 else $as_nop
4982 if test -n "$ac_ct_CC"; then
4983 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4984 else
4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4986 for as_dir in $PATH
4988 IFS=$as_save_IFS
4989 case $as_dir in #(((
4990 '') as_dir=./ ;;
4991 */) ;;
4992 *) as_dir=$as_dir/ ;;
4993 esac
4994 for ac_exec_ext in '' $ac_executable_extensions; do
4995 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4996 ac_cv_prog_ac_ct_CC="clang"
4997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4998 break 2
5000 done
5001 done
5002 IFS=$as_save_IFS
5006 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5007 if test -n "$ac_ct_CC"; then
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5009 printf "%s\n" "$ac_ct_CC" >&6; }
5010 else
5011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012 printf "%s\n" "no" >&6; }
5015 if test "x$ac_ct_CC" = x; then
5016 CC=""
5017 else
5018 case $cross_compiling:$ac_tool_warned in
5019 yes:)
5020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5021 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5022 ac_tool_warned=yes ;;
5023 esac
5024 CC=$ac_ct_CC
5026 else
5027 CC="$ac_cv_prog_CC"
5033 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5034 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5035 as_fn_error $? "no acceptable C compiler found in \$PATH
5036 See \`config.log' for more details" "$LINENO" 5; }
5038 # Provide some information about the compiler.
5039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5040 set X $ac_compile
5041 ac_compiler=$2
5042 for ac_option in --version -v -V -qversion -version; do
5043 { { ac_try="$ac_compiler $ac_option >&5"
5044 case "(($ac_try" in
5045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5046 *) ac_try_echo=$ac_try;;
5047 esac
5048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5049 printf "%s\n" "$ac_try_echo"; } >&5
5050 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5051 ac_status=$?
5052 if test -s conftest.err; then
5053 sed '10a\
5054 ... rest of stderr output deleted ...
5055 10q' conftest.err >conftest.er1
5056 cat conftest.er1 >&5
5058 rm -f conftest.er1 conftest.err
5059 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5060 test $ac_status = 0; }
5061 done
5063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5064 /* end confdefs.h. */
5067 main (void)
5071 return 0;
5073 _ACEOF
5074 ac_clean_files_save=$ac_clean_files
5075 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5076 # Try to create an executable without -o first, disregard a.out.
5077 # It will help us diagnose broken compilers, and finding out an intuition
5078 # of exeext.
5079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5080 printf %s "checking whether the C compiler works... " >&6; }
5081 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5083 # The possible output files:
5084 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5086 ac_rmfiles=
5087 for ac_file in $ac_files
5089 case $ac_file in
5090 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5091 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5092 esac
5093 done
5094 rm -f $ac_rmfiles
5096 if { { ac_try="$ac_link_default"
5097 case "(($ac_try" in
5098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5099 *) ac_try_echo=$ac_try;;
5100 esac
5101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5102 printf "%s\n" "$ac_try_echo"; } >&5
5103 (eval "$ac_link_default") 2>&5
5104 ac_status=$?
5105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5106 test $ac_status = 0; }
5107 then :
5108 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5109 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5110 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5111 # so that the user can short-circuit this test for compilers unknown to
5112 # Autoconf.
5113 for ac_file in $ac_files ''
5115 test -f "$ac_file" || continue
5116 case $ac_file in
5117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5119 [ab].out )
5120 # We found the default executable, but exeext='' is most
5121 # certainly right.
5122 break;;
5123 *.* )
5124 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5125 then :; else
5126 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5128 # We set ac_cv_exeext here because the later test for it is not
5129 # safe: cross compilers may not add the suffix if given an `-o'
5130 # argument, so we may need to know it at that point already.
5131 # Even if this section looks crufty: it has the advantage of
5132 # actually working.
5133 break;;
5135 break;;
5136 esac
5137 done
5138 test "$ac_cv_exeext" = no && ac_cv_exeext=
5140 else $as_nop
5141 ac_file=''
5143 if test -z "$ac_file"
5144 then :
5145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 printf "%s\n" "no" >&6; }
5147 printf "%s\n" "$as_me: failed program was:" >&5
5148 sed 's/^/| /' conftest.$ac_ext >&5
5150 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5151 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5152 as_fn_error 77 "C compiler cannot create executables
5153 See \`config.log' for more details" "$LINENO" 5; }
5154 else $as_nop
5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5156 printf "%s\n" "yes" >&6; }
5158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5159 printf %s "checking for C compiler default output file name... " >&6; }
5160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5161 printf "%s\n" "$ac_file" >&6; }
5162 ac_exeext=$ac_cv_exeext
5164 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5165 ac_clean_files=$ac_clean_files_save
5166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5167 printf %s "checking for suffix of executables... " >&6; }
5168 if { { ac_try="$ac_link"
5169 case "(($ac_try" in
5170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5171 *) ac_try_echo=$ac_try;;
5172 esac
5173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5174 printf "%s\n" "$ac_try_echo"; } >&5
5175 (eval "$ac_link") 2>&5
5176 ac_status=$?
5177 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5178 test $ac_status = 0; }
5179 then :
5180 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5181 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5182 # work properly (i.e., refer to `conftest.exe'), while it won't with
5183 # `rm'.
5184 for ac_file in conftest.exe conftest conftest.*; do
5185 test -f "$ac_file" || continue
5186 case $ac_file in
5187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5188 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5189 break;;
5190 * ) break;;
5191 esac
5192 done
5193 else $as_nop
5194 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5195 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5196 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5197 See \`config.log' for more details" "$LINENO" 5; }
5199 rm -f conftest conftest$ac_cv_exeext
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5201 printf "%s\n" "$ac_cv_exeext" >&6; }
5203 rm -f conftest.$ac_ext
5204 EXEEXT=$ac_cv_exeext
5205 ac_exeext=$EXEEXT
5206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5207 /* end confdefs.h. */
5208 #include <stdio.h>
5210 main (void)
5212 FILE *f = fopen ("conftest.out", "w");
5213 return ferror (f) || fclose (f) != 0;
5216 return 0;
5218 _ACEOF
5219 ac_clean_files="$ac_clean_files conftest.out"
5220 # Check that the compiler produces executables we can run. If not, either
5221 # the compiler is broken, or we cross compile.
5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5223 printf %s "checking whether we are cross compiling... " >&6; }
5224 if test "$cross_compiling" != yes; then
5225 { { ac_try="$ac_link"
5226 case "(($ac_try" in
5227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5228 *) ac_try_echo=$ac_try;;
5229 esac
5230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5231 printf "%s\n" "$ac_try_echo"; } >&5
5232 (eval "$ac_link") 2>&5
5233 ac_status=$?
5234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5235 test $ac_status = 0; }
5236 if { ac_try='./conftest$ac_cv_exeext'
5237 { { case "(($ac_try" in
5238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5239 *) ac_try_echo=$ac_try;;
5240 esac
5241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5242 printf "%s\n" "$ac_try_echo"; } >&5
5243 (eval "$ac_try") 2>&5
5244 ac_status=$?
5245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5246 test $ac_status = 0; }; }; then
5247 cross_compiling=no
5248 else
5249 if test "$cross_compiling" = maybe; then
5250 cross_compiling=yes
5251 else
5252 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5253 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5254 as_fn_error 77 "cannot run C compiled programs.
5255 If you meant to cross compile, use \`--host'.
5256 See \`config.log' for more details" "$LINENO" 5; }
5260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5261 printf "%s\n" "$cross_compiling" >&6; }
5263 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5264 ac_clean_files=$ac_clean_files_save
5265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5266 printf %s "checking for suffix of object files... " >&6; }
5267 if test ${ac_cv_objext+y}
5268 then :
5269 printf %s "(cached) " >&6
5270 else $as_nop
5271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5272 /* end confdefs.h. */
5275 main (void)
5279 return 0;
5281 _ACEOF
5282 rm -f conftest.o conftest.obj
5283 if { { ac_try="$ac_compile"
5284 case "(($ac_try" in
5285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5286 *) ac_try_echo=$ac_try;;
5287 esac
5288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5289 printf "%s\n" "$ac_try_echo"; } >&5
5290 (eval "$ac_compile") 2>&5
5291 ac_status=$?
5292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5293 test $ac_status = 0; }
5294 then :
5295 for ac_file in conftest.o conftest.obj conftest.*; do
5296 test -f "$ac_file" || continue;
5297 case $ac_file in
5298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5299 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5300 break;;
5301 esac
5302 done
5303 else $as_nop
5304 printf "%s\n" "$as_me: failed program was:" >&5
5305 sed 's/^/| /' conftest.$ac_ext >&5
5307 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5308 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5309 as_fn_error $? "cannot compute suffix of object files: cannot compile
5310 See \`config.log' for more details" "$LINENO" 5; }
5312 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5315 printf "%s\n" "$ac_cv_objext" >&6; }
5316 OBJEXT=$ac_cv_objext
5317 ac_objext=$OBJEXT
5318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5319 printf %s "checking whether the compiler supports GNU C... " >&6; }
5320 if test ${ac_cv_c_compiler_gnu+y}
5321 then :
5322 printf %s "(cached) " >&6
5323 else $as_nop
5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5328 main (void)
5330 #ifndef __GNUC__
5331 choke me
5332 #endif
5335 return 0;
5337 _ACEOF
5338 if ac_fn_c_try_compile "$LINENO"
5339 then :
5340 ac_compiler_gnu=yes
5341 else $as_nop
5342 ac_compiler_gnu=no
5344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5345 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5349 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5352 if test $ac_compiler_gnu = yes; then
5353 GCC=yes
5354 else
5355 GCC=
5357 ac_test_CFLAGS=${CFLAGS+y}
5358 ac_save_CFLAGS=$CFLAGS
5359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5360 printf %s "checking whether $CC accepts -g... " >&6; }
5361 if test ${ac_cv_prog_cc_g+y}
5362 then :
5363 printf %s "(cached) " >&6
5364 else $as_nop
5365 ac_save_c_werror_flag=$ac_c_werror_flag
5366 ac_c_werror_flag=yes
5367 ac_cv_prog_cc_g=no
5368 CFLAGS="-g"
5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5370 /* end confdefs.h. */
5373 main (void)
5377 return 0;
5379 _ACEOF
5380 if ac_fn_c_try_compile "$LINENO"
5381 then :
5382 ac_cv_prog_cc_g=yes
5383 else $as_nop
5384 CFLAGS=""
5385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5386 /* end confdefs.h. */
5389 main (void)
5393 return 0;
5395 _ACEOF
5396 if ac_fn_c_try_compile "$LINENO"
5397 then :
5399 else $as_nop
5400 ac_c_werror_flag=$ac_save_c_werror_flag
5401 CFLAGS="-g"
5402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5403 /* end confdefs.h. */
5406 main (void)
5410 return 0;
5412 _ACEOF
5413 if ac_fn_c_try_compile "$LINENO"
5414 then :
5415 ac_cv_prog_cc_g=yes
5417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5419 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5422 ac_c_werror_flag=$ac_save_c_werror_flag
5424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5425 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5426 if test $ac_test_CFLAGS; then
5427 CFLAGS=$ac_save_CFLAGS
5428 elif test $ac_cv_prog_cc_g = yes; then
5429 if test "$GCC" = yes; then
5430 CFLAGS="-g -O2"
5431 else
5432 CFLAGS="-g"
5434 else
5435 if test "$GCC" = yes; then
5436 CFLAGS="-O2"
5437 else
5438 CFLAGS=
5441 ac_prog_cc_stdc=no
5442 if test x$ac_prog_cc_stdc = xno
5443 then :
5444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5445 printf %s "checking for $CC option to enable C11 features... " >&6; }
5446 if test ${ac_cv_prog_cc_c11+y}
5447 then :
5448 printf %s "(cached) " >&6
5449 else $as_nop
5450 ac_cv_prog_cc_c11=no
5451 ac_save_CC=$CC
5452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5454 $ac_c_conftest_c11_program
5455 _ACEOF
5456 for ac_arg in '' -std=gnu11
5458 CC="$ac_save_CC $ac_arg"
5459 if ac_fn_c_try_compile "$LINENO"
5460 then :
5461 ac_cv_prog_cc_c11=$ac_arg
5463 rm -f core conftest.err conftest.$ac_objext conftest.beam
5464 test "x$ac_cv_prog_cc_c11" != "xno" && break
5465 done
5466 rm -f conftest.$ac_ext
5467 CC=$ac_save_CC
5470 if test "x$ac_cv_prog_cc_c11" = xno
5471 then :
5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5473 printf "%s\n" "unsupported" >&6; }
5474 else $as_nop
5475 if test "x$ac_cv_prog_cc_c11" = x
5476 then :
5477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5478 printf "%s\n" "none needed" >&6; }
5479 else $as_nop
5480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5481 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5482 CC="$CC $ac_cv_prog_cc_c11"
5484 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5485 ac_prog_cc_stdc=c11
5488 if test x$ac_prog_cc_stdc = xno
5489 then :
5490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5491 printf %s "checking for $CC option to enable C99 features... " >&6; }
5492 if test ${ac_cv_prog_cc_c99+y}
5493 then :
5494 printf %s "(cached) " >&6
5495 else $as_nop
5496 ac_cv_prog_cc_c99=no
5497 ac_save_CC=$CC
5498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5499 /* end confdefs.h. */
5500 $ac_c_conftest_c99_program
5501 _ACEOF
5502 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5504 CC="$ac_save_CC $ac_arg"
5505 if ac_fn_c_try_compile "$LINENO"
5506 then :
5507 ac_cv_prog_cc_c99=$ac_arg
5509 rm -f core conftest.err conftest.$ac_objext conftest.beam
5510 test "x$ac_cv_prog_cc_c99" != "xno" && break
5511 done
5512 rm -f conftest.$ac_ext
5513 CC=$ac_save_CC
5516 if test "x$ac_cv_prog_cc_c99" = xno
5517 then :
5518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5519 printf "%s\n" "unsupported" >&6; }
5520 else $as_nop
5521 if test "x$ac_cv_prog_cc_c99" = x
5522 then :
5523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5524 printf "%s\n" "none needed" >&6; }
5525 else $as_nop
5526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5527 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5528 CC="$CC $ac_cv_prog_cc_c99"
5530 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5531 ac_prog_cc_stdc=c99
5534 if test x$ac_prog_cc_stdc = xno
5535 then :
5536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5537 printf %s "checking for $CC option to enable C89 features... " >&6; }
5538 if test ${ac_cv_prog_cc_c89+y}
5539 then :
5540 printf %s "(cached) " >&6
5541 else $as_nop
5542 ac_cv_prog_cc_c89=no
5543 ac_save_CC=$CC
5544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5545 /* end confdefs.h. */
5546 $ac_c_conftest_c89_program
5547 _ACEOF
5548 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5550 CC="$ac_save_CC $ac_arg"
5551 if ac_fn_c_try_compile "$LINENO"
5552 then :
5553 ac_cv_prog_cc_c89=$ac_arg
5555 rm -f core conftest.err conftest.$ac_objext conftest.beam
5556 test "x$ac_cv_prog_cc_c89" != "xno" && break
5557 done
5558 rm -f conftest.$ac_ext
5559 CC=$ac_save_CC
5562 if test "x$ac_cv_prog_cc_c89" = xno
5563 then :
5564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5565 printf "%s\n" "unsupported" >&6; }
5566 else $as_nop
5567 if test "x$ac_cv_prog_cc_c89" = x
5568 then :
5569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5570 printf "%s\n" "none needed" >&6; }
5571 else $as_nop
5572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5573 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5574 CC="$CC $ac_cv_prog_cc_c89"
5576 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5577 ac_prog_cc_stdc=c89
5581 ac_ext=c
5582 ac_cpp='$CPP $CPPFLAGS'
5583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5593 ac_ext=cpp
5594 ac_cpp='$CXXCPP $CPPFLAGS'
5595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5598 if test -z "$CXX"; then
5599 if test -n "$CCC"; then
5600 CXX=$CCC
5601 else
5602 if test -n "$ac_tool_prefix"; then
5603 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5606 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5608 printf %s "checking for $ac_word... " >&6; }
5609 if test ${ac_cv_prog_CXX+y}
5610 then :
5611 printf %s "(cached) " >&6
5612 else $as_nop
5613 if test -n "$CXX"; then
5614 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5615 else
5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 for as_dir in $PATH
5619 IFS=$as_save_IFS
5620 case $as_dir in #(((
5621 '') as_dir=./ ;;
5622 */) ;;
5623 *) as_dir=$as_dir/ ;;
5624 esac
5625 for ac_exec_ext in '' $ac_executable_extensions; do
5626 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5627 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5629 break 2
5631 done
5632 done
5633 IFS=$as_save_IFS
5637 CXX=$ac_cv_prog_CXX
5638 if test -n "$CXX"; then
5639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5640 printf "%s\n" "$CXX" >&6; }
5641 else
5642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 printf "%s\n" "no" >&6; }
5647 test -n "$CXX" && break
5648 done
5650 if test -z "$CXX"; then
5651 ac_ct_CXX=$CXX
5652 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5654 # Extract the first word of "$ac_prog", so it can be a program name with args.
5655 set dummy $ac_prog; ac_word=$2
5656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5657 printf %s "checking for $ac_word... " >&6; }
5658 if test ${ac_cv_prog_ac_ct_CXX+y}
5659 then :
5660 printf %s "(cached) " >&6
5661 else $as_nop
5662 if test -n "$ac_ct_CXX"; then
5663 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5664 else
5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 for as_dir in $PATH
5668 IFS=$as_save_IFS
5669 case $as_dir in #(((
5670 '') as_dir=./ ;;
5671 */) ;;
5672 *) as_dir=$as_dir/ ;;
5673 esac
5674 for ac_exec_ext in '' $ac_executable_extensions; do
5675 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5676 ac_cv_prog_ac_ct_CXX="$ac_prog"
5677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5678 break 2
5680 done
5681 done
5682 IFS=$as_save_IFS
5686 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5687 if test -n "$ac_ct_CXX"; then
5688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5689 printf "%s\n" "$ac_ct_CXX" >&6; }
5690 else
5691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5692 printf "%s\n" "no" >&6; }
5696 test -n "$ac_ct_CXX" && break
5697 done
5699 if test "x$ac_ct_CXX" = x; then
5700 CXX="g++"
5701 else
5702 case $cross_compiling:$ac_tool_warned in
5703 yes:)
5704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5705 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5706 ac_tool_warned=yes ;;
5707 esac
5708 CXX=$ac_ct_CXX
5714 # Provide some information about the compiler.
5715 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5716 set X $ac_compile
5717 ac_compiler=$2
5718 for ac_option in --version -v -V -qversion; do
5719 { { ac_try="$ac_compiler $ac_option >&5"
5720 case "(($ac_try" in
5721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5722 *) ac_try_echo=$ac_try;;
5723 esac
5724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5725 printf "%s\n" "$ac_try_echo"; } >&5
5726 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5727 ac_status=$?
5728 if test -s conftest.err; then
5729 sed '10a\
5730 ... rest of stderr output deleted ...
5731 10q' conftest.err >conftest.er1
5732 cat conftest.er1 >&5
5734 rm -f conftest.er1 conftest.err
5735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5736 test $ac_status = 0; }
5737 done
5739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5740 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5741 if test ${ac_cv_cxx_compiler_gnu+y}
5742 then :
5743 printf %s "(cached) " >&6
5744 else $as_nop
5745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5746 /* end confdefs.h. */
5749 main (void)
5751 #ifndef __GNUC__
5752 choke me
5753 #endif
5756 return 0;
5758 _ACEOF
5759 if ac_fn_cxx_try_compile "$LINENO"
5760 then :
5761 ac_compiler_gnu=yes
5762 else $as_nop
5763 ac_compiler_gnu=no
5765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5766 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5770 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5773 if test $ac_compiler_gnu = yes; then
5774 GXX=yes
5775 else
5776 GXX=
5778 ac_test_CXXFLAGS=${CXXFLAGS+y}
5779 ac_save_CXXFLAGS=$CXXFLAGS
5780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5781 printf %s "checking whether $CXX accepts -g... " >&6; }
5782 if test ${ac_cv_prog_cxx_g+y}
5783 then :
5784 printf %s "(cached) " >&6
5785 else $as_nop
5786 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5787 ac_cxx_werror_flag=yes
5788 ac_cv_prog_cxx_g=no
5789 CXXFLAGS="-g"
5790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5791 /* end confdefs.h. */
5794 main (void)
5798 return 0;
5800 _ACEOF
5801 if ac_fn_cxx_try_compile "$LINENO"
5802 then :
5803 ac_cv_prog_cxx_g=yes
5804 else $as_nop
5805 CXXFLAGS=""
5806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5807 /* end confdefs.h. */
5810 main (void)
5814 return 0;
5816 _ACEOF
5817 if ac_fn_cxx_try_compile "$LINENO"
5818 then :
5820 else $as_nop
5821 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5822 CXXFLAGS="-g"
5823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5824 /* end confdefs.h. */
5827 main (void)
5831 return 0;
5833 _ACEOF
5834 if ac_fn_cxx_try_compile "$LINENO"
5835 then :
5836 ac_cv_prog_cxx_g=yes
5838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5843 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5846 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5847 if test $ac_test_CXXFLAGS; then
5848 CXXFLAGS=$ac_save_CXXFLAGS
5849 elif test $ac_cv_prog_cxx_g = yes; then
5850 if test "$GXX" = yes; then
5851 CXXFLAGS="-g -O2"
5852 else
5853 CXXFLAGS="-g"
5855 else
5856 if test "$GXX" = yes; then
5857 CXXFLAGS="-O2"
5858 else
5859 CXXFLAGS=
5862 ac_prog_cxx_stdcxx=no
5863 if test x$ac_prog_cxx_stdcxx = xno
5864 then :
5865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5866 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5867 if test ${ac_cv_prog_cxx_11+y}
5868 then :
5869 printf %s "(cached) " >&6
5870 else $as_nop
5871 ac_cv_prog_cxx_11=no
5872 ac_save_CXX=$CXX
5873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5874 /* end confdefs.h. */
5875 $ac_cxx_conftest_cxx11_program
5876 _ACEOF
5877 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5879 CXX="$ac_save_CXX $ac_arg"
5880 if ac_fn_cxx_try_compile "$LINENO"
5881 then :
5882 ac_cv_prog_cxx_cxx11=$ac_arg
5884 rm -f core conftest.err conftest.$ac_objext conftest.beam
5885 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5886 done
5887 rm -f conftest.$ac_ext
5888 CXX=$ac_save_CXX
5891 if test "x$ac_cv_prog_cxx_cxx11" = xno
5892 then :
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5894 printf "%s\n" "unsupported" >&6; }
5895 else $as_nop
5896 if test "x$ac_cv_prog_cxx_cxx11" = x
5897 then :
5898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5899 printf "%s\n" "none needed" >&6; }
5900 else $as_nop
5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5902 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5903 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5905 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5906 ac_prog_cxx_stdcxx=cxx11
5909 if test x$ac_prog_cxx_stdcxx = xno
5910 then :
5911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5912 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5913 if test ${ac_cv_prog_cxx_98+y}
5914 then :
5915 printf %s "(cached) " >&6
5916 else $as_nop
5917 ac_cv_prog_cxx_98=no
5918 ac_save_CXX=$CXX
5919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5920 /* end confdefs.h. */
5921 $ac_cxx_conftest_cxx98_program
5922 _ACEOF
5923 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5925 CXX="$ac_save_CXX $ac_arg"
5926 if ac_fn_cxx_try_compile "$LINENO"
5927 then :
5928 ac_cv_prog_cxx_cxx98=$ac_arg
5930 rm -f core conftest.err conftest.$ac_objext conftest.beam
5931 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5932 done
5933 rm -f conftest.$ac_ext
5934 CXX=$ac_save_CXX
5937 if test "x$ac_cv_prog_cxx_cxx98" = xno
5938 then :
5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5940 printf "%s\n" "unsupported" >&6; }
5941 else $as_nop
5942 if test "x$ac_cv_prog_cxx_cxx98" = x
5943 then :
5944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5945 printf "%s\n" "none needed" >&6; }
5946 else $as_nop
5947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5948 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5949 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5951 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5952 ac_prog_cxx_stdcxx=cxx98
5956 ac_ext=c
5957 ac_cpp='$CPP $CPPFLAGS'
5958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5962 if test -n "$ac_tool_prefix"; then
5963 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5964 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 printf %s "checking for $ac_word... " >&6; }
5967 if test ${ac_cv_prog_CPPBIN+y}
5968 then :
5969 printf %s "(cached) " >&6
5970 else $as_nop
5971 if test -n "$CPPBIN"; then
5972 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5973 else
5974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5975 for as_dir in $PATH
5977 IFS=$as_save_IFS
5978 case $as_dir in #(((
5979 '') as_dir=./ ;;
5980 */) ;;
5981 *) as_dir=$as_dir/ ;;
5982 esac
5983 for ac_exec_ext in '' $ac_executable_extensions; do
5984 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5985 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5987 break 2
5989 done
5990 done
5991 IFS=$as_save_IFS
5995 CPPBIN=$ac_cv_prog_CPPBIN
5996 if test -n "$CPPBIN"; then
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5998 printf "%s\n" "$CPPBIN" >&6; }
5999 else
6000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 printf "%s\n" "no" >&6; }
6006 if test -z "$ac_cv_prog_CPPBIN"; then
6007 ac_ct_CPPBIN=$CPPBIN
6008 # Extract the first word of "cpp", so it can be a program name with args.
6009 set dummy cpp; ac_word=$2
6010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6011 printf %s "checking for $ac_word... " >&6; }
6012 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6013 then :
6014 printf %s "(cached) " >&6
6015 else $as_nop
6016 if test -n "$ac_ct_CPPBIN"; then
6017 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6018 else
6019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6020 for as_dir in $PATH
6022 IFS=$as_save_IFS
6023 case $as_dir in #(((
6024 '') as_dir=./ ;;
6025 */) ;;
6026 *) as_dir=$as_dir/ ;;
6027 esac
6028 for ac_exec_ext in '' $ac_executable_extensions; do
6029 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6030 ac_cv_prog_ac_ct_CPPBIN="cpp"
6031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6032 break 2
6034 done
6035 done
6036 IFS=$as_save_IFS
6040 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6041 if test -n "$ac_ct_CPPBIN"; then
6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6043 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6044 else
6045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 printf "%s\n" "no" >&6; }
6049 if test "x$ac_ct_CPPBIN" = x; then
6050 CPPBIN="cpp"
6051 else
6052 case $cross_compiling:$ac_tool_warned in
6053 yes:)
6054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6055 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6056 ac_tool_warned=yes ;;
6057 esac
6058 CPPBIN=$ac_ct_CPPBIN
6060 else
6061 CPPBIN="$ac_cv_prog_CPPBIN"
6065 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6067 if test -n "$ac_tool_prefix"; then
6068 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6069 set dummy ${ac_tool_prefix}ld; ac_word=$2
6070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6071 printf %s "checking for $ac_word... " >&6; }
6072 if test ${ac_cv_prog_LD+y}
6073 then :
6074 printf %s "(cached) " >&6
6075 else $as_nop
6076 if test -n "$LD"; then
6077 ac_cv_prog_LD="$LD" # Let the user override the test.
6078 else
6079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6080 for as_dir in $PATH
6082 IFS=$as_save_IFS
6083 case $as_dir in #(((
6084 '') as_dir=./ ;;
6085 */) ;;
6086 *) as_dir=$as_dir/ ;;
6087 esac
6088 for ac_exec_ext in '' $ac_executable_extensions; do
6089 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6090 ac_cv_prog_LD="${ac_tool_prefix}ld"
6091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6092 break 2
6094 done
6095 done
6096 IFS=$as_save_IFS
6100 LD=$ac_cv_prog_LD
6101 if test -n "$LD"; then
6102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6103 printf "%s\n" "$LD" >&6; }
6104 else
6105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6106 printf "%s\n" "no" >&6; }
6111 if test -z "$ac_cv_prog_LD"; then
6112 ac_ct_LD=$LD
6113 # Extract the first word of "ld", so it can be a program name with args.
6114 set dummy ld; ac_word=$2
6115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6116 printf %s "checking for $ac_word... " >&6; }
6117 if test ${ac_cv_prog_ac_ct_LD+y}
6118 then :
6119 printf %s "(cached) " >&6
6120 else $as_nop
6121 if test -n "$ac_ct_LD"; then
6122 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6123 else
6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125 for as_dir in $PATH
6127 IFS=$as_save_IFS
6128 case $as_dir in #(((
6129 '') as_dir=./ ;;
6130 */) ;;
6131 *) as_dir=$as_dir/ ;;
6132 esac
6133 for ac_exec_ext in '' $ac_executable_extensions; do
6134 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6135 ac_cv_prog_ac_ct_LD="ld"
6136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6137 break 2
6139 done
6140 done
6141 IFS=$as_save_IFS
6145 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6146 if test -n "$ac_ct_LD"; then
6147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6148 printf "%s\n" "$ac_ct_LD" >&6; }
6149 else
6150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6151 printf "%s\n" "no" >&6; }
6154 if test "x$ac_ct_LD" = x; then
6155 LD=""
6156 else
6157 case $cross_compiling:$ac_tool_warned in
6158 yes:)
6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6160 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6161 ac_tool_warned=yes ;;
6162 esac
6163 LD=$ac_ct_LD
6165 else
6166 LD="$ac_cv_prog_LD"
6170 case $host in
6171 *-darwin*)
6172 with_fontconfig=${with_fontconfig:-no}
6174 *-mingw32*|*-cygwin*)
6175 enable_win16=${enable_win16:-no}
6176 with_mingw=${with_mingw:-no}
6178 esac
6181 case $host in
6182 x86_64*|amd64*)
6183 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6184 then
6185 CC="$CC -m32"
6186 CXX="$CXX -m32"
6188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6189 printf %s "checking whether $CC works... " >&6; }
6190 if test ${wine_cv_cc_m32+y}
6191 then :
6192 printf %s "(cached) " >&6
6193 else $as_nop
6194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6195 /* end confdefs.h. */
6198 main (void)
6202 return 0;
6204 _ACEOF
6205 if ac_fn_c_try_link "$LINENO"
6206 then :
6207 wine_cv_cc_m32=yes
6208 else $as_nop
6209 wine_cv_cc_m32=no
6211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6212 conftest$ac_exeext conftest.$ac_ext
6214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6215 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6216 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
6217 host_cpu="i386"
6218 notice_platform="32-bit "
6219 TARGETFLAGS="$TARGETFLAGS -m32"
6220 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6221 export PKG_CONFIG_PATH
6222 enable_win16=${enable_win16:-yes}
6223 with_unwind=${with_unwind:-no}
6224 else
6225 if test "x${GCC}" = "xyes"
6226 then
6227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6228 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6229 if test ${wine_cv_builtin_ms_va_list+y}
6230 then :
6231 printf %s "(cached) " >&6
6232 else $as_nop
6233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6234 /* end confdefs.h. */
6235 #include <stdarg.h>
6237 main (void)
6239 void func(__builtin_ms_va_list *args);
6241 return 0;
6243 _ACEOF
6244 if ac_fn_c_try_compile "$LINENO"
6245 then :
6246 wine_cv_builtin_ms_va_list=yes
6247 else $as_nop
6248 wine_cv_builtin_ms_va_list=no
6250 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6253 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6254 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
6256 CC="$CC -m64"
6257 CXX="$CXX -m64"
6258 host_cpu="x86_64"
6259 notice_platform="64-bit "
6260 TARGETFLAGS="$TARGETFLAGS -m64"
6261 enable_wow64=${enable_wow64:-yes}
6262 enable_wow64win=${enable_wow64win:-yes}
6263 enable_wow64cpu=${enable_wow64cpu:-yes}
6266 arm*)
6267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6268 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6269 if test ${wine_cv_thumb2+y}
6270 then :
6271 printf %s "(cached) " >&6
6272 else $as_nop
6273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6274 /* end confdefs.h. */
6277 main (void)
6279 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6281 return 0;
6283 _ACEOF
6284 if ac_fn_c_try_link "$LINENO"
6285 then :
6286 wine_cv_thumb2=yes
6287 else $as_nop
6288 wine_cv_thumb2=no
6290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6291 conftest$ac_exeext conftest.$ac_ext
6293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6294 printf "%s\n" "$wine_cv_thumb2" >&6; }
6295 if test x"$wine_cv_thumb2" = xyes
6296 then
6297 CFLAGS="$CFLAGS -mthumb"
6298 TARGETFLAGS="$TARGETFLAGS -mthumb"
6299 else
6300 CFLAGS="$CFLAGS -marm"
6301 TARGETFLAGS="$TARGETFLAGS -marm"
6303 case $with_float_abi in
6304 soft|softfp|hard)
6305 float_abi=$with_float_abi ;;
6307 case $host_os in
6308 *eabihf)
6309 float_abi=hard ;;
6311 float_abi=softfp
6312 saved_CFLAGS=$CFLAGS
6313 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6315 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6316 if test ${wine_cv_float_abi+y}
6317 then :
6318 printf %s "(cached) " >&6
6319 else $as_nop
6320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6324 main (void)
6326 asm("vmrs r2,fpscr");
6328 return 0;
6330 _ACEOF
6331 if ac_fn_c_try_link "$LINENO"
6332 then :
6333 wine_cv_float_abi=yes
6334 else $as_nop
6335 wine_cv_float_abi=no
6337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6338 conftest$ac_exeext conftest.$ac_ext
6340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6341 printf "%s\n" "$wine_cv_float_abi" >&6; }
6342 if test $wine_cv_float_abi = no
6343 then
6344 float_abi=soft
6345 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6347 CFLAGS=$saved_CFLAGS
6348 esac
6350 esac
6351 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6352 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6354 aarch64*)
6355 enable_wow64=${enable_wow64:-yes}
6356 enable_wow64win=${enable_wow64win:-yes}
6358 i[3456789]86*)
6359 enable_win16=${enable_win16:-yes}
6360 with_unwind=${with_unwind:-no}
6362 esac
6364 enable_win16=${enable_win16:-no}
6365 enable_win64=${enable_win64:-no}
6366 enable_wow64=${enable_wow64:-no}
6367 enable_wow64win=${enable_wow64win:-no}
6368 enable_wow64cpu=${enable_wow64cpu:-no}
6370 enable_winetest=${enable_winetest:-$enable_tests}
6372 if test "x$enable_win64" = "xyes"
6373 then
6374 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6375 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6378 case $build_os in
6379 cygwin*|mingw32*) toolsext=".exe"
6381 *) toolsext=""
6383 esac
6385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6386 printf %s "checking for the directory containing the Wine tools... " >&6; }
6387 if test ${wine_cv_toolsdir+y}
6388 then :
6389 printf %s "(cached) " >&6
6390 else $as_nop
6391 wine_cv_toolsdir="$with_wine_tools"
6392 if test -z "$with_wine_tools"; then
6393 if test "$cross_compiling" = "yes"; then
6394 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6395 elif test -n "$with_wine64"; then
6396 wine_cv_toolsdir="$with_wine64"
6400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6401 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6402 if test -z "$wine_cv_toolsdir"; then
6403 wine_makedep=tools/makedep$toolsext
6404 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6405 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6406 enable_tools=${enable_tools:-no}
6407 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6408 else
6409 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6411 toolsdir=$wine_cv_toolsdir
6413 MAKEDEP=$wine_makedep
6415 RUNTESTFLAGS="-q -P wine"
6417 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'"
6420 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6421 then
6422 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6425 for ac_prog in flex
6427 # Extract the first word of "$ac_prog", so it can be a program name with args.
6428 set dummy $ac_prog; ac_word=$2
6429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6430 printf %s "checking for $ac_word... " >&6; }
6431 if test ${ac_cv_prog_FLEX+y}
6432 then :
6433 printf %s "(cached) " >&6
6434 else $as_nop
6435 if test -n "$FLEX"; then
6436 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6437 else
6438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6439 for as_dir in $PATH
6441 IFS=$as_save_IFS
6442 case $as_dir in #(((
6443 '') as_dir=./ ;;
6444 */) ;;
6445 *) as_dir=$as_dir/ ;;
6446 esac
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6449 ac_cv_prog_FLEX="$ac_prog"
6450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6451 break 2
6453 done
6454 done
6455 IFS=$as_save_IFS
6459 FLEX=$ac_cv_prog_FLEX
6460 if test -n "$FLEX"; then
6461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6462 printf "%s\n" "$FLEX" >&6; }
6463 else
6464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 printf "%s\n" "no" >&6; }
6469 test -n "$FLEX" && break
6470 done
6471 test -n "$FLEX" || FLEX="none"
6473 if test "$FLEX" = "none"
6474 then
6475 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6478 printf %s "checking whether flex is recent enough... " >&6; }
6479 if test ${wine_cv_recent_flex+y}
6480 then :
6481 printf %s "(cached) " >&6
6482 else $as_nop
6483 cat >conftest.l <<EOF
6484 %top{
6485 #include "prediluvian.h"
6489 if $FLEX -t conftest.l >/dev/null 2>&5
6490 then
6491 wine_cv_recent_flex=yes
6492 else
6493 wine_cv_recent_flex=no
6496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6497 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6498 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
6500 for ac_prog in bison
6502 # Extract the first word of "$ac_prog", so it can be a program name with args.
6503 set dummy $ac_prog; ac_word=$2
6504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6505 printf %s "checking for $ac_word... " >&6; }
6506 if test ${ac_cv_prog_BISON+y}
6507 then :
6508 printf %s "(cached) " >&6
6509 else $as_nop
6510 if test -n "$BISON"; then
6511 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6512 else
6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6514 for as_dir in $PATH
6516 IFS=$as_save_IFS
6517 case $as_dir in #(((
6518 '') as_dir=./ ;;
6519 */) ;;
6520 *) as_dir=$as_dir/ ;;
6521 esac
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6524 ac_cv_prog_BISON="$ac_prog"
6525 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6526 break 2
6528 done
6529 done
6530 IFS=$as_save_IFS
6534 BISON=$ac_cv_prog_BISON
6535 if test -n "$BISON"; then
6536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6537 printf "%s\n" "$BISON" >&6; }
6538 else
6539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 printf "%s\n" "no" >&6; }
6544 test -n "$BISON" && break
6545 done
6546 test -n "$BISON" || BISON="none"
6548 if test "$BISON" = "none"
6549 then
6550 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6553 printf %s "checking whether bison is recent enough... " >&6; }
6554 if test ${wine_cv_recent_bison+y}
6555 then :
6556 printf %s "(cached) " >&6
6557 else $as_nop
6558 cat >conftest.y <<EOF
6559 %define parse.error verbose
6561 empty: ;
6563 if $BISON conftest.y >/dev/null 2>&5
6564 then
6565 wine_cv_recent_bison=yes
6566 else
6567 wine_cv_recent_bison=no
6570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6571 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6572 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
6574 if test -n "$ac_tool_prefix"; then
6575 for ac_prog in ar gar
6577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6578 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580 printf %s "checking for $ac_word... " >&6; }
6581 if test ${ac_cv_prog_AR+y}
6582 then :
6583 printf %s "(cached) " >&6
6584 else $as_nop
6585 if test -n "$AR"; then
6586 ac_cv_prog_AR="$AR" # Let the user override the test.
6587 else
6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589 for as_dir in $PATH
6591 IFS=$as_save_IFS
6592 case $as_dir in #(((
6593 '') as_dir=./ ;;
6594 */) ;;
6595 *) as_dir=$as_dir/ ;;
6596 esac
6597 for ac_exec_ext in '' $ac_executable_extensions; do
6598 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6599 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6601 break 2
6603 done
6604 done
6605 IFS=$as_save_IFS
6609 AR=$ac_cv_prog_AR
6610 if test -n "$AR"; then
6611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6612 printf "%s\n" "$AR" >&6; }
6613 else
6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6615 printf "%s\n" "no" >&6; }
6619 test -n "$AR" && break
6620 done
6622 if test -z "$AR"; then
6623 ac_ct_AR=$AR
6624 for ac_prog in ar gar
6626 # Extract the first word of "$ac_prog", so it can be a program name with args.
6627 set dummy $ac_prog; ac_word=$2
6628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6629 printf %s "checking for $ac_word... " >&6; }
6630 if test ${ac_cv_prog_ac_ct_AR+y}
6631 then :
6632 printf %s "(cached) " >&6
6633 else $as_nop
6634 if test -n "$ac_ct_AR"; then
6635 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6636 else
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 for as_dir in $PATH
6640 IFS=$as_save_IFS
6641 case $as_dir in #(((
6642 '') as_dir=./ ;;
6643 */) ;;
6644 *) as_dir=$as_dir/ ;;
6645 esac
6646 for ac_exec_ext in '' $ac_executable_extensions; do
6647 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6648 ac_cv_prog_ac_ct_AR="$ac_prog"
6649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6650 break 2
6652 done
6653 done
6654 IFS=$as_save_IFS
6658 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6659 if test -n "$ac_ct_AR"; then
6660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6661 printf "%s\n" "$ac_ct_AR" >&6; }
6662 else
6663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6664 printf "%s\n" "no" >&6; }
6668 test -n "$ac_ct_AR" && break
6669 done
6671 if test "x$ac_ct_AR" = x; then
6672 AR="ar"
6673 else
6674 case $cross_compiling:$ac_tool_warned in
6675 yes:)
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6677 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6678 ac_tool_warned=yes ;;
6679 esac
6680 AR=$ac_ct_AR
6684 if test -n "$ac_tool_prefix"; then
6685 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6686 set dummy ${ac_tool_prefix}strip; ac_word=$2
6687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6688 printf %s "checking for $ac_word... " >&6; }
6689 if test ${ac_cv_prog_STRIP+y}
6690 then :
6691 printf %s "(cached) " >&6
6692 else $as_nop
6693 if test -n "$STRIP"; then
6694 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6695 else
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 for as_dir in $PATH
6699 IFS=$as_save_IFS
6700 case $as_dir in #(((
6701 '') as_dir=./ ;;
6702 */) ;;
6703 *) as_dir=$as_dir/ ;;
6704 esac
6705 for ac_exec_ext in '' $ac_executable_extensions; do
6706 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6707 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6709 break 2
6711 done
6712 done
6713 IFS=$as_save_IFS
6717 STRIP=$ac_cv_prog_STRIP
6718 if test -n "$STRIP"; then
6719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6720 printf "%s\n" "$STRIP" >&6; }
6721 else
6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6723 printf "%s\n" "no" >&6; }
6728 if test -z "$ac_cv_prog_STRIP"; then
6729 ac_ct_STRIP=$STRIP
6730 # Extract the first word of "strip", so it can be a program name with args.
6731 set dummy strip; ac_word=$2
6732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6733 printf %s "checking for $ac_word... " >&6; }
6734 if test ${ac_cv_prog_ac_ct_STRIP+y}
6735 then :
6736 printf %s "(cached) " >&6
6737 else $as_nop
6738 if test -n "$ac_ct_STRIP"; then
6739 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6740 else
6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742 for as_dir in $PATH
6744 IFS=$as_save_IFS
6745 case $as_dir in #(((
6746 '') as_dir=./ ;;
6747 */) ;;
6748 *) as_dir=$as_dir/ ;;
6749 esac
6750 for ac_exec_ext in '' $ac_executable_extensions; do
6751 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6752 ac_cv_prog_ac_ct_STRIP="strip"
6753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6754 break 2
6756 done
6757 done
6758 IFS=$as_save_IFS
6762 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6763 if test -n "$ac_ct_STRIP"; then
6764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6765 printf "%s\n" "$ac_ct_STRIP" >&6; }
6766 else
6767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 printf "%s\n" "no" >&6; }
6771 if test "x$ac_ct_STRIP" = x; then
6772 STRIP="strip"
6773 else
6774 case $cross_compiling:$ac_tool_warned in
6775 yes:)
6776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6777 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6778 ac_tool_warned=yes ;;
6779 esac
6780 STRIP=$ac_ct_STRIP
6782 else
6783 STRIP="$ac_cv_prog_STRIP"
6786 if test -n "$ac_tool_prefix"; then
6787 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6788 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6790 printf %s "checking for $ac_word... " >&6; }
6791 if test ${ac_cv_prog_RANLIB+y}
6792 then :
6793 printf %s "(cached) " >&6
6794 else $as_nop
6795 if test -n "$RANLIB"; then
6796 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6797 else
6798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6799 for as_dir in $PATH
6801 IFS=$as_save_IFS
6802 case $as_dir in #(((
6803 '') as_dir=./ ;;
6804 */) ;;
6805 *) as_dir=$as_dir/ ;;
6806 esac
6807 for ac_exec_ext in '' $ac_executable_extensions; do
6808 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6809 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6811 break 2
6813 done
6814 done
6815 IFS=$as_save_IFS
6819 RANLIB=$ac_cv_prog_RANLIB
6820 if test -n "$RANLIB"; then
6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6822 printf "%s\n" "$RANLIB" >&6; }
6823 else
6824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6825 printf "%s\n" "no" >&6; }
6830 if test -z "$ac_cv_prog_RANLIB"; then
6831 ac_ct_RANLIB=$RANLIB
6832 # Extract the first word of "ranlib", so it can be a program name with args.
6833 set dummy ranlib; ac_word=$2
6834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6835 printf %s "checking for $ac_word... " >&6; }
6836 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6837 then :
6838 printf %s "(cached) " >&6
6839 else $as_nop
6840 if test -n "$ac_ct_RANLIB"; then
6841 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6842 else
6843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6844 for as_dir in $PATH
6846 IFS=$as_save_IFS
6847 case $as_dir in #(((
6848 '') as_dir=./ ;;
6849 */) ;;
6850 *) as_dir=$as_dir/ ;;
6851 esac
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6854 ac_cv_prog_ac_ct_RANLIB="ranlib"
6855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6856 break 2
6858 done
6859 done
6860 IFS=$as_save_IFS
6864 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6865 if test -n "$ac_ct_RANLIB"; then
6866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6867 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6868 else
6869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6870 printf "%s\n" "no" >&6; }
6873 if test "x$ac_ct_RANLIB" = x; then
6874 RANLIB=":"
6875 else
6876 case $cross_compiling:$ac_tool_warned in
6877 yes:)
6878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6879 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6880 ac_tool_warned=yes ;;
6881 esac
6882 RANLIB=$ac_ct_RANLIB
6884 else
6885 RANLIB="$ac_cv_prog_RANLIB"
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6889 printf %s "checking whether ln -s works... " >&6; }
6890 LN_S=$as_ln_s
6891 if test "$LN_S" = "ln -s"; then
6892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6893 printf "%s\n" "yes" >&6; }
6894 else
6895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6896 printf "%s\n" "no, using $LN_S" >&6; }
6899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6900 printf %s "checking for grep that handles long lines and -e... " >&6; }
6901 if test ${ac_cv_path_GREP+y}
6902 then :
6903 printf %s "(cached) " >&6
6904 else $as_nop
6905 if test -z "$GREP"; then
6906 ac_path_GREP_found=false
6907 # Loop through the user's path and test for each of PROGNAME-LIST
6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6909 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6911 IFS=$as_save_IFS
6912 case $as_dir in #(((
6913 '') as_dir=./ ;;
6914 */) ;;
6915 *) as_dir=$as_dir/ ;;
6916 esac
6917 for ac_prog in grep ggrep
6919 for ac_exec_ext in '' $ac_executable_extensions; do
6920 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6921 as_fn_executable_p "$ac_path_GREP" || continue
6922 # Check for GNU ac_path_GREP and select it if it is found.
6923 # Check for GNU $ac_path_GREP
6924 case `"$ac_path_GREP" --version 2>&1` in
6925 *GNU*)
6926 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6928 ac_count=0
6929 printf %s 0123456789 >"conftest.in"
6930 while :
6932 cat "conftest.in" "conftest.in" >"conftest.tmp"
6933 mv "conftest.tmp" "conftest.in"
6934 cp "conftest.in" "conftest.nl"
6935 printf "%s\n" 'GREP' >> "conftest.nl"
6936 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6937 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6938 as_fn_arith $ac_count + 1 && ac_count=$as_val
6939 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6940 # Best one so far, save it but keep looking for a better one
6941 ac_cv_path_GREP="$ac_path_GREP"
6942 ac_path_GREP_max=$ac_count
6944 # 10*(2^10) chars as input seems more than enough
6945 test $ac_count -gt 10 && break
6946 done
6947 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6948 esac
6950 $ac_path_GREP_found && break 3
6951 done
6952 done
6953 done
6954 IFS=$as_save_IFS
6955 if test -z "$ac_cv_path_GREP"; then
6956 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6958 else
6959 ac_cv_path_GREP=$GREP
6963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6964 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6965 GREP="$ac_cv_path_GREP"
6968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6969 printf %s "checking for egrep... " >&6; }
6970 if test ${ac_cv_path_EGREP+y}
6971 then :
6972 printf %s "(cached) " >&6
6973 else $as_nop
6974 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6975 then ac_cv_path_EGREP="$GREP -E"
6976 else
6977 if test -z "$EGREP"; then
6978 ac_path_EGREP_found=false
6979 # Loop through the user's path and test for each of PROGNAME-LIST
6980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6983 IFS=$as_save_IFS
6984 case $as_dir in #(((
6985 '') as_dir=./ ;;
6986 */) ;;
6987 *) as_dir=$as_dir/ ;;
6988 esac
6989 for ac_prog in egrep
6991 for ac_exec_ext in '' $ac_executable_extensions; do
6992 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6993 as_fn_executable_p "$ac_path_EGREP" || continue
6994 # Check for GNU ac_path_EGREP and select it if it is found.
6995 # Check for GNU $ac_path_EGREP
6996 case `"$ac_path_EGREP" --version 2>&1` in
6997 *GNU*)
6998 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7000 ac_count=0
7001 printf %s 0123456789 >"conftest.in"
7002 while :
7004 cat "conftest.in" "conftest.in" >"conftest.tmp"
7005 mv "conftest.tmp" "conftest.in"
7006 cp "conftest.in" "conftest.nl"
7007 printf "%s\n" 'EGREP' >> "conftest.nl"
7008 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7009 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7010 as_fn_arith $ac_count + 1 && ac_count=$as_val
7011 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7012 # Best one so far, save it but keep looking for a better one
7013 ac_cv_path_EGREP="$ac_path_EGREP"
7014 ac_path_EGREP_max=$ac_count
7016 # 10*(2^10) chars as input seems more than enough
7017 test $ac_count -gt 10 && break
7018 done
7019 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7020 esac
7022 $ac_path_EGREP_found && break 3
7023 done
7024 done
7025 done
7026 IFS=$as_save_IFS
7027 if test -z "$ac_cv_path_EGREP"; then
7028 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7030 else
7031 ac_cv_path_EGREP=$EGREP
7036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7037 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7038 EGREP="$ac_cv_path_EGREP"
7041 # Extract the first word of "ldconfig", so it can be a program name with args.
7042 set dummy ldconfig; ac_word=$2
7043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7044 printf %s "checking for $ac_word... " >&6; }
7045 if test ${ac_cv_path_LDCONFIG+y}
7046 then :
7047 printf %s "(cached) " >&6
7048 else $as_nop
7049 case $LDCONFIG in
7050 [\\/]* | ?:[\\/]*)
7051 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7055 for as_dir in /sbin /usr/sbin $PATH
7057 IFS=$as_save_IFS
7058 case $as_dir in #(((
7059 '') as_dir=./ ;;
7060 */) ;;
7061 *) as_dir=$as_dir/ ;;
7062 esac
7063 for ac_exec_ext in '' $ac_executable_extensions; do
7064 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7065 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7067 break 2
7069 done
7070 done
7071 IFS=$as_save_IFS
7073 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7075 esac
7077 LDCONFIG=$ac_cv_path_LDCONFIG
7078 if test -n "$LDCONFIG"; then
7079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7080 printf "%s\n" "$LDCONFIG" >&6; }
7081 else
7082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7083 printf "%s\n" "no" >&6; }
7087 for ac_prog in msgfmt
7089 # Extract the first word of "$ac_prog", so it can be a program name with args.
7090 set dummy $ac_prog; ac_word=$2
7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 printf %s "checking for $ac_word... " >&6; }
7093 if test ${ac_cv_prog_MSGFMT+y}
7094 then :
7095 printf %s "(cached) " >&6
7096 else $as_nop
7097 if test -n "$MSGFMT"; then
7098 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7099 else
7100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7101 for as_dir in $PATH
7103 IFS=$as_save_IFS
7104 case $as_dir in #(((
7105 '') as_dir=./ ;;
7106 */) ;;
7107 *) as_dir=$as_dir/ ;;
7108 esac
7109 for ac_exec_ext in '' $ac_executable_extensions; do
7110 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7111 ac_cv_prog_MSGFMT="$ac_prog"
7112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7113 break 2
7115 done
7116 done
7117 IFS=$as_save_IFS
7121 MSGFMT=$ac_cv_prog_MSGFMT
7122 if test -n "$MSGFMT"; then
7123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7124 printf "%s\n" "$MSGFMT" >&6; }
7125 else
7126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 printf "%s\n" "no" >&6; }
7131 test -n "$MSGFMT" && break
7132 done
7133 test -n "$MSGFMT" || MSGFMT="false"
7135 if test ${ac_tool_prefix+y}
7136 then :
7137 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7138 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 printf %s "checking for $ac_word... " >&6; }
7141 if test ${ac_cv_prog_PKG_CONFIG+y}
7142 then :
7143 printf %s "(cached) " >&6
7144 else $as_nop
7145 if test -n "$PKG_CONFIG"; then
7146 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7147 else
7148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 for as_dir in $PATH
7151 IFS=$as_save_IFS
7152 case $as_dir in #(((
7153 '') as_dir=./ ;;
7154 */) ;;
7155 *) as_dir=$as_dir/ ;;
7156 esac
7157 for ac_exec_ext in '' $ac_executable_extensions; do
7158 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7159 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7161 break 2
7163 done
7164 done
7165 IFS=$as_save_IFS
7169 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7170 if test -n "$PKG_CONFIG"; then
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7172 printf "%s\n" "$PKG_CONFIG" >&6; }
7173 else
7174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 printf "%s\n" "no" >&6; }
7180 if ${ac_cv_prog_PKG_CONFIG:+false} :
7181 then :
7182 if test "x$cross_compiling" = xyes
7183 then :
7185 else $as_nop
7186 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7187 # Extract the first word of "pkg-config", so it can be a program name with args.
7188 set dummy pkg-config; ac_word=$2
7189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7190 printf %s "checking for $ac_word... " >&6; }
7191 if test ${ac_cv_prog_PKG_CONFIG+y}
7192 then :
7193 printf %s "(cached) " >&6
7194 else $as_nop
7195 if test -n "$PKG_CONFIG"; then
7196 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7197 else
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 for as_dir in $PATH
7201 IFS=$as_save_IFS
7202 case $as_dir in #(((
7203 '') as_dir=./ ;;
7204 */) ;;
7205 *) as_dir=$as_dir/ ;;
7206 esac
7207 for ac_exec_ext in '' $ac_executable_extensions; do
7208 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7209 ac_cv_prog_PKG_CONFIG="pkg-config"
7210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7211 break 2
7213 done
7214 done
7215 IFS=$as_save_IFS
7219 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7220 if test -n "$PKG_CONFIG"; then
7221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7222 printf "%s\n" "$PKG_CONFIG" >&6; }
7223 else
7224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 printf "%s\n" "no" >&6; }
7230 else $as_nop
7231 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7234 if test "x$enable_maintainer_mode" != "xyes"
7235 then
7236 FONTFORGE=""
7237 RSVG=""
7238 CONVERT=""
7239 ICOTOOL=""
7240 else
7241 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7242 for ac_prog in fontforge
7244 # Extract the first word of "$ac_prog", so it can be a program name with args.
7245 set dummy $ac_prog; ac_word=$2
7246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7247 printf %s "checking for $ac_word... " >&6; }
7248 if test ${ac_cv_prog_FONTFORGE+y}
7249 then :
7250 printf %s "(cached) " >&6
7251 else $as_nop
7252 if test -n "$FONTFORGE"; then
7253 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7254 else
7255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7256 for as_dir in $PATH
7258 IFS=$as_save_IFS
7259 case $as_dir in #(((
7260 '') as_dir=./ ;;
7261 */) ;;
7262 *) as_dir=$as_dir/ ;;
7263 esac
7264 for ac_exec_ext in '' $ac_executable_extensions; do
7265 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7266 ac_cv_prog_FONTFORGE="$ac_prog"
7267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7268 break 2
7270 done
7271 done
7272 IFS=$as_save_IFS
7276 FONTFORGE=$ac_cv_prog_FONTFORGE
7277 if test -n "$FONTFORGE"; then
7278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7279 printf "%s\n" "$FONTFORGE" >&6; }
7280 else
7281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7282 printf "%s\n" "no" >&6; }
7286 test -n "$FONTFORGE" && break
7287 done
7288 test -n "$FONTFORGE" || FONTFORGE="false"
7290 for ac_prog in rsvg-convert rsvg
7292 # Extract the first word of "$ac_prog", so it can be a program name with args.
7293 set dummy $ac_prog; ac_word=$2
7294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7295 printf %s "checking for $ac_word... " >&6; }
7296 if test ${ac_cv_prog_RSVG+y}
7297 then :
7298 printf %s "(cached) " >&6
7299 else $as_nop
7300 if test -n "$RSVG"; then
7301 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7302 else
7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7304 for as_dir in $PATH
7306 IFS=$as_save_IFS
7307 case $as_dir in #(((
7308 '') as_dir=./ ;;
7309 */) ;;
7310 *) as_dir=$as_dir/ ;;
7311 esac
7312 for ac_exec_ext in '' $ac_executable_extensions; do
7313 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7314 ac_cv_prog_RSVG="$ac_prog"
7315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7316 break 2
7318 done
7319 done
7320 IFS=$as_save_IFS
7324 RSVG=$ac_cv_prog_RSVG
7325 if test -n "$RSVG"; then
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7327 printf "%s\n" "$RSVG" >&6; }
7328 else
7329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 printf "%s\n" "no" >&6; }
7334 test -n "$RSVG" && break
7335 done
7336 test -n "$RSVG" || RSVG="false"
7338 for ac_prog in convert
7340 # Extract the first word of "$ac_prog", so it can be a program name with args.
7341 set dummy $ac_prog; ac_word=$2
7342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 printf %s "checking for $ac_word... " >&6; }
7344 if test ${ac_cv_prog_CONVERT+y}
7345 then :
7346 printf %s "(cached) " >&6
7347 else $as_nop
7348 if test -n "$CONVERT"; then
7349 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7350 else
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7352 for as_dir in $PATH
7354 IFS=$as_save_IFS
7355 case $as_dir in #(((
7356 '') as_dir=./ ;;
7357 */) ;;
7358 *) as_dir=$as_dir/ ;;
7359 esac
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_CONVERT="$ac_prog"
7363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7364 break 2
7366 done
7367 done
7368 IFS=$as_save_IFS
7372 CONVERT=$ac_cv_prog_CONVERT
7373 if test -n "$CONVERT"; then
7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7375 printf "%s\n" "$CONVERT" >&6; }
7376 else
7377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 printf "%s\n" "no" >&6; }
7382 test -n "$CONVERT" && break
7383 done
7384 test -n "$CONVERT" || CONVERT="false"
7386 for ac_prog in icotool
7388 # Extract the first word of "$ac_prog", so it can be a program name with args.
7389 set dummy $ac_prog; ac_word=$2
7390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391 printf %s "checking for $ac_word... " >&6; }
7392 if test ${ac_cv_prog_ICOTOOL+y}
7393 then :
7394 printf %s "(cached) " >&6
7395 else $as_nop
7396 if test -n "$ICOTOOL"; then
7397 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7402 IFS=$as_save_IFS
7403 case $as_dir in #(((
7404 '') as_dir=./ ;;
7405 */) ;;
7406 *) as_dir=$as_dir/ ;;
7407 esac
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_ICOTOOL="$ac_prog"
7411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7412 break 2
7414 done
7415 done
7416 IFS=$as_save_IFS
7420 ICOTOOL=$ac_cv_prog_ICOTOOL
7421 if test -n "$ICOTOOL"; then
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7423 printf "%s\n" "$ICOTOOL" >&6; }
7424 else
7425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 printf "%s\n" "no" >&6; }
7430 test -n "$ICOTOOL" && break
7431 done
7432 test -n "$ICOTOOL" || ICOTOOL="false"
7434 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7435 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7437 if test "$CONVERT" = false
7438 then
7439 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7440 else
7441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7442 printf %s "checking for recent enough imagemagick... " >&6; }
7443 convert_version=`convert --version | head -n1`
7444 if test "x$convert_version" != "x"
7445 then
7446 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7447 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7448 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7449 then
7450 CONVERT=false
7453 if test "$CONVERT" = false
7454 then
7455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7456 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7457 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7458 else
7459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7460 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7464 if test "$ICOTOOL" = false
7465 then
7466 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7467 else
7468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7469 printf %s "checking for recent enough icotool... " >&6; }
7470 icotool_version=`icotool --version | head -n1`
7471 if test "x$icotool_version" != "x"
7472 then
7473 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7474 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7475 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7476 then
7477 ICOTOOL=false
7478 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7481 if test "$ICOTOOL" = false
7482 then
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7484 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7485 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7486 else
7487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7488 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7492 with_gettext=yes
7493 with_gettextpo=yes
7495 enable_werror=yes
7498 test "x$with_gettext" != xno || MSGFMT=false
7499 if test "$MSGFMT" != "false"
7500 then
7501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7502 printf %s "checking whether msgfmt supports contexts... " >&6; }
7503 if test ${wine_cv_msgfmt_contexts+y}
7504 then :
7505 printf %s "(cached) " >&6
7506 else $as_nop
7507 cat >conftest.po <<EOF
7508 # comment
7509 msgctxt "ctxt"
7510 msgid "id"
7511 msgstr "str"
7513 if $MSGFMT -o /dev/null conftest.po 2>&5
7514 then
7515 wine_cv_msgfmt_contexts=yes
7516 else
7517 wine_cv_msgfmt_contexts=no
7520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7521 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7522 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7524 if test "$MSGFMT" = false
7525 then :
7526 case "x$with_gettext" in
7527 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7528 xno) ;;
7529 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7530 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7531 esac
7532 enable_po=${enable_po:-no}
7536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7537 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7538 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7539 then :
7540 printf %s "(cached) " >&6
7541 else $as_nop
7542 ac_check_lib_save_LIBS=$LIBS
7543 LIBS="-li386 $LIBS"
7544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7545 /* end confdefs.h. */
7547 /* Override any GCC internal prototype to avoid an error.
7548 Use char because int might match the return type of a GCC
7549 builtin and then its argument prototype would still apply. */
7550 char i386_set_ldt ();
7552 main (void)
7554 return i386_set_ldt ();
7556 return 0;
7558 _ACEOF
7559 if ac_fn_c_try_link "$LINENO"
7560 then :
7561 ac_cv_lib_i386_i386_set_ldt=yes
7562 else $as_nop
7563 ac_cv_lib_i386_i386_set_ldt=no
7565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7566 conftest$ac_exeext conftest.$ac_ext
7567 LIBS=$ac_check_lib_save_LIBS
7569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7570 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7571 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7572 then :
7573 I386_LIBS="-li386"
7578 OPENGL_LIBS=""
7582 # Check whether --enable-largefile was given.
7583 if test ${enable_largefile+y}
7584 then :
7585 enableval=$enable_largefile;
7588 if test "$enable_largefile" != no; then
7590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7591 printf %s "checking for special C compiler options needed for large files... " >&6; }
7592 if test ${ac_cv_sys_largefile_CC+y}
7593 then :
7594 printf %s "(cached) " >&6
7595 else $as_nop
7596 ac_cv_sys_largefile_CC=no
7597 if test "$GCC" != yes; then
7598 ac_save_CC=$CC
7599 while :; do
7600 # IRIX 6.2 and later do not support large files by default,
7601 # so use the C compiler's -n32 option if that helps.
7602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7603 /* end confdefs.h. */
7604 #include <sys/types.h>
7605 /* Check that off_t can represent 2**63 - 1 correctly.
7606 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7607 since some C++ compilers masquerading as C compilers
7608 incorrectly reject 9223372036854775807. */
7609 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7610 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7611 && LARGE_OFF_T % 2147483647 == 1)
7612 ? 1 : -1];
7614 main (void)
7618 return 0;
7620 _ACEOF
7621 if ac_fn_c_try_compile "$LINENO"
7622 then :
7623 break
7625 rm -f core conftest.err conftest.$ac_objext conftest.beam
7626 CC="$CC -n32"
7627 if ac_fn_c_try_compile "$LINENO"
7628 then :
7629 ac_cv_sys_largefile_CC=' -n32'; break
7631 rm -f core conftest.err conftest.$ac_objext conftest.beam
7632 break
7633 done
7634 CC=$ac_save_CC
7635 rm -f conftest.$ac_ext
7638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7639 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7640 if test "$ac_cv_sys_largefile_CC" != no; then
7641 CC=$CC$ac_cv_sys_largefile_CC
7644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7645 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7646 if test ${ac_cv_sys_file_offset_bits+y}
7647 then :
7648 printf %s "(cached) " >&6
7649 else $as_nop
7650 while :; do
7651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7652 /* end confdefs.h. */
7653 #include <sys/types.h>
7654 /* Check that off_t can represent 2**63 - 1 correctly.
7655 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7656 since some C++ compilers masquerading as C compilers
7657 incorrectly reject 9223372036854775807. */
7658 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7659 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7660 && LARGE_OFF_T % 2147483647 == 1)
7661 ? 1 : -1];
7663 main (void)
7667 return 0;
7669 _ACEOF
7670 if ac_fn_c_try_compile "$LINENO"
7671 then :
7672 ac_cv_sys_file_offset_bits=no; break
7674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h. */
7677 #define _FILE_OFFSET_BITS 64
7678 #include <sys/types.h>
7679 /* Check that off_t can represent 2**63 - 1 correctly.
7680 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7681 since some C++ compilers masquerading as C compilers
7682 incorrectly reject 9223372036854775807. */
7683 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7684 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7685 && LARGE_OFF_T % 2147483647 == 1)
7686 ? 1 : -1];
7688 main (void)
7692 return 0;
7694 _ACEOF
7695 if ac_fn_c_try_compile "$LINENO"
7696 then :
7697 ac_cv_sys_file_offset_bits=64; break
7699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7700 ac_cv_sys_file_offset_bits=unknown
7701 break
7702 done
7704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7705 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7706 case $ac_cv_sys_file_offset_bits in #(
7707 no | unknown) ;;
7709 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7711 esac
7712 rm -rf conftest*
7713 if test $ac_cv_sys_file_offset_bits = unknown; then
7714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7715 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7716 if test ${ac_cv_sys_large_files+y}
7717 then :
7718 printf %s "(cached) " >&6
7719 else $as_nop
7720 while :; do
7721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7722 /* end confdefs.h. */
7723 #include <sys/types.h>
7724 /* Check that off_t can represent 2**63 - 1 correctly.
7725 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7726 since some C++ compilers masquerading as C compilers
7727 incorrectly reject 9223372036854775807. */
7728 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7729 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7730 && LARGE_OFF_T % 2147483647 == 1)
7731 ? 1 : -1];
7733 main (void)
7737 return 0;
7739 _ACEOF
7740 if ac_fn_c_try_compile "$LINENO"
7741 then :
7742 ac_cv_sys_large_files=no; break
7744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7746 /* end confdefs.h. */
7747 #define _LARGE_FILES 1
7748 #include <sys/types.h>
7749 /* Check that off_t can represent 2**63 - 1 correctly.
7750 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7751 since some C++ compilers masquerading as C compilers
7752 incorrectly reject 9223372036854775807. */
7753 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7754 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7755 && LARGE_OFF_T % 2147483647 == 1)
7756 ? 1 : -1];
7758 main (void)
7762 return 0;
7764 _ACEOF
7765 if ac_fn_c_try_compile "$LINENO"
7766 then :
7767 ac_cv_sys_large_files=1; break
7769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7770 ac_cv_sys_large_files=unknown
7771 break
7772 done
7774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7775 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7776 case $ac_cv_sys_large_files in #(
7777 no | unknown) ;;
7779 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7781 esac
7782 rm -rf conftest*
7787 ac_header= ac_cache=
7788 for ac_item in $ac_header_c_list
7790 if test $ac_cache; then
7791 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7792 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7793 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7795 ac_header= ac_cache=
7796 elif test $ac_header; then
7797 ac_cache=$ac_item
7798 else
7799 ac_header=$ac_item
7801 done
7810 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7811 then :
7813 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7816 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7817 if test "x$ac_cv_header_AL_al_h" = xyes
7818 then :
7819 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7822 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7823 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7824 then :
7825 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7828 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7829 if test "x$ac_cv_header_CL_cl_h" = xyes
7830 then :
7831 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7834 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7835 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7836 then :
7837 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7840 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7841 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7842 then :
7843 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7846 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7847 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7848 then :
7849 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7852 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7853 if test "x$ac_cv_header_EGL_egl_h" = xyes
7854 then :
7855 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7858 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7859 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7860 then :
7861 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7864 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7866 then :
7867 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7872 then :
7873 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7878 then :
7879 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_Security_Security_h" = xyes
7884 then :
7885 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7890 then :
7891 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7896 then :
7897 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_arpa_inet_h" = xyes
7902 then :
7903 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7908 then :
7909 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_asm_types_h" = xyes
7914 then :
7915 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_asm_user_h" = xyes
7920 then :
7921 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_elf_h" = xyes
7926 then :
7927 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_float_h" = xyes
7932 then :
7933 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_gettext_po_h" = xyes
7938 then :
7939 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_libproc_h" = xyes
7944 then :
7945 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_link_h" = xyes
7950 then :
7951 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7956 then :
7957 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_linux_filter_h" = xyes
7962 then :
7963 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7968 then :
7969 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7974 then :
7975 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_linux_input_h" = xyes
7980 then :
7981 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7986 then :
7987 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_linux_major_h" = xyes
7992 then :
7993 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_linux_param_h" = xyes
7998 then :
7999 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_linux_serial_h" = xyes
8004 then :
8005 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_linux_types_h" = xyes
8010 then :
8011 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8016 then :
8017 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_lwp_h" = xyes
8022 then :
8023 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8028 then :
8029 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_mach_mach_h" = xyes
8034 then :
8035 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_machine_cpu_h" = xyes
8040 then :
8041 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8046 then :
8047 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_mntent_h" = xyes
8052 then :
8053 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_netdb_h" = xyes
8058 then :
8059 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_netinet_in_h" = xyes
8064 then :
8065 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8070 then :
8071 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8076 then :
8077 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8082 then :
8083 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8088 then :
8089 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_port_h" = xyes
8094 then :
8095 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_pthread_h" = xyes
8100 then :
8101 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_pwd_h" = xyes
8106 then :
8107 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8112 then :
8113 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_sched_h" = xyes
8118 then :
8119 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8124 then :
8125 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8130 then :
8131 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_scsi_sg_h" = xyes
8136 then :
8137 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_stdint_h" = xyes
8142 then :
8143 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_attr_h" = xyes
8148 then :
8149 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_auxv_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_cdio_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_epoll_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_event_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_filio_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_ipc_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_link_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_modem_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_mtio_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_param_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_prctl_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_queue_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_random_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_resource_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_shm_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_signal_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_sockio_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_strtio_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_syscall_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_sys_times_h" = xyes
8298 then :
8299 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_sys_uio_h" = xyes
8304 then :
8305 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_sys_user_h" = xyes
8310 then :
8311 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_sys_utsname_h" = xyes
8316 then :
8317 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_sys_vnode_h" = xyes
8322 then :
8323 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_sys_xattr_h" = xyes
8328 then :
8329 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8332 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8333 if test "x$ac_cv_header_syscall_h" = xyes
8334 then :
8335 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8338 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8339 if test "x$ac_cv_header_utime_h" = xyes
8340 then :
8341 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8344 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8345 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8346 then :
8347 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8350 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8351 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8352 then :
8353 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8357 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8358 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8359 then :
8361 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8365 if test $ac_cv_header_sys_mkdev_h = no; then
8366 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8367 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8368 then :
8370 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8376 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8377 if test ${ac_cv_header_stat_broken+y}
8378 then :
8379 printf %s "(cached) " >&6
8380 else $as_nop
8381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382 /* end confdefs.h. */
8383 #include <sys/types.h>
8384 #include <sys/stat.h>
8386 #if defined S_ISBLK && defined S_IFDIR
8387 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8388 #endif
8390 #if defined S_ISBLK && defined S_IFCHR
8391 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8392 #endif
8394 #if defined S_ISLNK && defined S_IFREG
8395 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8396 #endif
8398 #if defined S_ISSOCK && defined S_IFREG
8399 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8400 #endif
8402 _ACEOF
8403 if ac_fn_c_try_compile "$LINENO"
8404 then :
8405 ac_cv_header_stat_broken=no
8406 else $as_nop
8407 ac_cv_header_stat_broken=yes
8409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8412 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8413 if test $ac_cv_header_stat_broken = yes; then
8415 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8421 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8422 #ifdef HAVE_SYS_PARAM_H
8423 # include <sys/param.h>
8424 #endif
8426 if test "x$ac_cv_header_sys_conf_h" = xyes
8427 then :
8428 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8431 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8432 #ifdef HAVE_SYS_PARAM_H
8433 # include <sys/param.h>
8434 #endif
8436 if test "x$ac_cv_header_sys_mount_h" = xyes
8437 then :
8438 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8441 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8442 #ifdef HAVE_SYS_PARAM_H
8443 # include <sys/param.h>
8444 #endif
8446 if test "x$ac_cv_header_sys_statfs_h" = xyes
8447 then :
8448 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8451 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8452 #ifdef HAVE_SYS_PARAM_H
8453 # include <sys/param.h>
8454 #endif
8456 if test "x$ac_cv_header_sys_user_h" = xyes
8457 then :
8458 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8461 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8462 #ifdef HAVE_SYS_PARAM_H
8463 # include <sys/param.h>
8464 #endif
8466 if test "x$ac_cv_header_sys_vfs_h" = xyes
8467 then :
8468 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8473 saved_sysctl_h_CFLAGS=$CFLAGS
8474 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8475 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8476 #ifdef HAVE_SYS_PARAM_H
8477 # include <sys/param.h>
8478 #endif
8480 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8481 then :
8482 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8486 CFLAGS=$saved_sysctl_h_CFLAGS
8488 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8489 #include <sys/socket.h>
8490 #ifdef HAVE_SYS_SOCKETVAR_H
8491 # include <sys/socketvar.h>
8492 #endif
8493 #ifdef HAVE_NET_ROUTE_H
8494 # include <net/route.h>
8495 #endif
8496 #ifdef HAVE_NETINET_IN_H
8497 # include <netinet/in.h>
8498 #endif
8499 #ifdef HAVE_NETINET_IN_SYSTM_H
8500 # include <netinet/in_systm.h>
8501 #endif
8502 #ifdef HAVE_NET_IF_H
8503 # include <net/if.h>
8504 #endif
8505 #ifdef HAVE_NETINET_IP_H
8506 # include <netinet/ip.h>
8507 #endif
8509 if test "x$ac_cv_header_netinet_ip_h" = xyes
8510 then :
8511 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8514 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8515 #include <sys/socket.h>
8516 #ifdef HAVE_SYS_SOCKETVAR_H
8517 # include <sys/socketvar.h>
8518 #endif
8519 #ifdef HAVE_NET_ROUTE_H
8520 # include <net/route.h>
8521 #endif
8522 #ifdef HAVE_NETINET_IN_H
8523 # include <netinet/in.h>
8524 #endif
8525 #ifdef HAVE_NETINET_IN_SYSTM_H
8526 # include <netinet/in_systm.h>
8527 #endif
8528 #ifdef HAVE_NET_IF_H
8529 # include <net/if.h>
8530 #endif
8531 #ifdef HAVE_NETINET_IP_H
8532 # include <netinet/ip.h>
8533 #endif
8535 if test "x$ac_cv_header_net_if_h" = xyes
8536 then :
8537 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8540 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8541 #include <sys/socket.h>
8542 #ifdef HAVE_SYS_SOCKETVAR_H
8543 # include <sys/socketvar.h>
8544 #endif
8545 #ifdef HAVE_NET_ROUTE_H
8546 # include <net/route.h>
8547 #endif
8548 #ifdef HAVE_NETINET_IN_H
8549 # include <netinet/in.h>
8550 #endif
8551 #ifdef HAVE_NETINET_IN_SYSTM_H
8552 # include <netinet/in_systm.h>
8553 #endif
8554 #ifdef HAVE_NET_IF_H
8555 # include <net/if.h>
8556 #endif
8557 #ifdef HAVE_NETINET_IP_H
8558 # include <netinet/ip.h>
8559 #endif
8561 if test "x$ac_cv_header_net_if_arp_h" = xyes
8562 then :
8563 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8566 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8567 #include <sys/socket.h>
8568 #ifdef HAVE_SYS_SOCKETVAR_H
8569 # include <sys/socketvar.h>
8570 #endif
8571 #ifdef HAVE_NET_ROUTE_H
8572 # include <net/route.h>
8573 #endif
8574 #ifdef HAVE_NETINET_IN_H
8575 # include <netinet/in.h>
8576 #endif
8577 #ifdef HAVE_NETINET_IN_SYSTM_H
8578 # include <netinet/in_systm.h>
8579 #endif
8580 #ifdef HAVE_NET_IF_H
8581 # include <net/if.h>
8582 #endif
8583 #ifdef HAVE_NETINET_IP_H
8584 # include <netinet/ip.h>
8585 #endif
8587 if test "x$ac_cv_header_net_if_dl_h" = xyes
8588 then :
8589 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8592 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8593 #include <sys/socket.h>
8594 #ifdef HAVE_SYS_SOCKETVAR_H
8595 # include <sys/socketvar.h>
8596 #endif
8597 #ifdef HAVE_NET_ROUTE_H
8598 # include <net/route.h>
8599 #endif
8600 #ifdef HAVE_NETINET_IN_H
8601 # include <netinet/in.h>
8602 #endif
8603 #ifdef HAVE_NETINET_IN_SYSTM_H
8604 # include <netinet/in_systm.h>
8605 #endif
8606 #ifdef HAVE_NET_IF_H
8607 # include <net/if.h>
8608 #endif
8609 #ifdef HAVE_NETINET_IP_H
8610 # include <netinet/ip.h>
8611 #endif
8613 if test "x$ac_cv_header_net_if_types_h" = xyes
8614 then :
8615 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8618 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8619 #include <sys/socket.h>
8620 #ifdef HAVE_SYS_SOCKETVAR_H
8621 # include <sys/socketvar.h>
8622 #endif
8623 #ifdef HAVE_NET_ROUTE_H
8624 # include <net/route.h>
8625 #endif
8626 #ifdef HAVE_NETINET_IN_H
8627 # include <netinet/in.h>
8628 #endif
8629 #ifdef HAVE_NETINET_IN_SYSTM_H
8630 # include <netinet/in_systm.h>
8631 #endif
8632 #ifdef HAVE_NET_IF_H
8633 # include <net/if.h>
8634 #endif
8635 #ifdef HAVE_NETINET_IP_H
8636 # include <netinet/ip.h>
8637 #endif
8639 if test "x$ac_cv_header_net_route_h" = xyes
8640 then :
8641 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8644 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8645 #include <sys/socket.h>
8646 #ifdef HAVE_SYS_SOCKETVAR_H
8647 # include <sys/socketvar.h>
8648 #endif
8649 #ifdef HAVE_NET_ROUTE_H
8650 # include <net/route.h>
8651 #endif
8652 #ifdef HAVE_NETINET_IN_H
8653 # include <netinet/in.h>
8654 #endif
8655 #ifdef HAVE_NETINET_IN_SYSTM_H
8656 # include <netinet/in_systm.h>
8657 #endif
8658 #ifdef HAVE_NET_IF_H
8659 # include <net/if.h>
8660 #endif
8661 #ifdef HAVE_NETINET_IP_H
8662 # include <netinet/ip.h>
8663 #endif
8665 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8666 then :
8667 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8670 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8671 #include <sys/socket.h>
8672 #ifdef HAVE_SYS_SOCKETVAR_H
8673 # include <sys/socketvar.h>
8674 #endif
8675 #ifdef HAVE_NET_ROUTE_H
8676 # include <net/route.h>
8677 #endif
8678 #ifdef HAVE_NETINET_IN_H
8679 # include <netinet/in.h>
8680 #endif
8681 #ifdef HAVE_NETINET_IN_SYSTM_H
8682 # include <netinet/in_systm.h>
8683 #endif
8684 #ifdef HAVE_NET_IF_H
8685 # include <net/if.h>
8686 #endif
8687 #ifdef HAVE_NETINET_IP_H
8688 # include <netinet/ip.h>
8689 #endif
8691 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8692 then :
8693 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8696 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8697 #include <sys/socket.h>
8698 #ifdef HAVE_SYS_SOCKETVAR_H
8699 # include <sys/socketvar.h>
8700 #endif
8701 #ifdef HAVE_NET_ROUTE_H
8702 # include <net/route.h>
8703 #endif
8704 #ifdef HAVE_NETINET_IN_H
8705 # include <netinet/in.h>
8706 #endif
8707 #ifdef HAVE_NETINET_IN_SYSTM_H
8708 # include <netinet/in_systm.h>
8709 #endif
8710 #ifdef HAVE_NET_IF_H
8711 # include <net/if.h>
8712 #endif
8713 #ifdef HAVE_NETINET_IP_H
8714 # include <netinet/ip.h>
8715 #endif
8717 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8718 then :
8719 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8722 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8723 #include <sys/socket.h>
8724 #ifdef HAVE_SYS_SOCKETVAR_H
8725 # include <sys/socketvar.h>
8726 #endif
8727 #ifdef HAVE_NET_ROUTE_H
8728 # include <net/route.h>
8729 #endif
8730 #ifdef HAVE_NETINET_IN_H
8731 # include <netinet/in.h>
8732 #endif
8733 #ifdef HAVE_NETINET_IN_SYSTM_H
8734 # include <netinet/in_systm.h>
8735 #endif
8736 #ifdef HAVE_NET_IF_H
8737 # include <net/if.h>
8738 #endif
8739 #ifdef HAVE_NETINET_IP_H
8740 # include <netinet/ip.h>
8741 #endif
8743 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8744 then :
8745 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8748 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8749 #include <sys/socket.h>
8750 #ifdef HAVE_SYS_SOCKETVAR_H
8751 # include <sys/socketvar.h>
8752 #endif
8753 #ifdef HAVE_NET_ROUTE_H
8754 # include <net/route.h>
8755 #endif
8756 #ifdef HAVE_NETINET_IN_H
8757 # include <netinet/in.h>
8758 #endif
8759 #ifdef HAVE_NETINET_IN_SYSTM_H
8760 # include <netinet/in_systm.h>
8761 #endif
8762 #ifdef HAVE_NET_IF_H
8763 # include <net/if.h>
8764 #endif
8765 #ifdef HAVE_NETINET_IP_H
8766 # include <netinet/ip.h>
8767 #endif
8769 if test "x$ac_cv_header_netinet_udp_h" = xyes
8770 then :
8771 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8774 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8775 #include <sys/socket.h>
8776 #ifdef HAVE_SYS_SOCKETVAR_H
8777 # include <sys/socketvar.h>
8778 #endif
8779 #ifdef HAVE_NET_ROUTE_H
8780 # include <net/route.h>
8781 #endif
8782 #ifdef HAVE_NETINET_IN_H
8783 # include <netinet/in.h>
8784 #endif
8785 #ifdef HAVE_NETINET_IN_SYSTM_H
8786 # include <netinet/in_systm.h>
8787 #endif
8788 #ifdef HAVE_NET_IF_H
8789 # include <net/if.h>
8790 #endif
8791 #ifdef HAVE_NETINET_IP_H
8792 # include <netinet/ip.h>
8793 #endif
8795 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8796 then :
8797 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8800 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8801 #include <sys/socket.h>
8802 #ifdef HAVE_SYS_SOCKETVAR_H
8803 # include <sys/socketvar.h>
8804 #endif
8805 #ifdef HAVE_NET_ROUTE_H
8806 # include <net/route.h>
8807 #endif
8808 #ifdef HAVE_NETINET_IN_H
8809 # include <netinet/in.h>
8810 #endif
8811 #ifdef HAVE_NETINET_IN_SYSTM_H
8812 # include <netinet/in_systm.h>
8813 #endif
8814 #ifdef HAVE_NET_IF_H
8815 # include <net/if.h>
8816 #endif
8817 #ifdef HAVE_NETINET_IP_H
8818 # include <netinet/ip.h>
8819 #endif
8821 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8822 then :
8823 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8826 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8827 #include <sys/socket.h>
8828 #ifdef HAVE_SYS_SOCKETVAR_H
8829 # include <sys/socketvar.h>
8830 #endif
8831 #ifdef HAVE_NET_ROUTE_H
8832 # include <net/route.h>
8833 #endif
8834 #ifdef HAVE_NETINET_IN_H
8835 # include <netinet/in.h>
8836 #endif
8837 #ifdef HAVE_NETINET_IN_SYSTM_H
8838 # include <netinet/in_systm.h>
8839 #endif
8840 #ifdef HAVE_NET_IF_H
8841 # include <net/if.h>
8842 #endif
8843 #ifdef HAVE_NETINET_IP_H
8844 # include <netinet/ip.h>
8845 #endif
8847 if test "x$ac_cv_header_sys_un_h" = xyes
8848 then :
8849 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8854 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8855 #include <sys/socket.h>
8856 #ifdef HAVE_SYS_SOCKETVAR_H
8857 # include <sys/socketvar.h>
8858 #endif
8859 #ifdef HAVE_NETINET_IN_H
8860 # include <netinet/in.h>
8861 #endif
8862 #ifdef HAVE_NETINET_IN_SYSTM_H
8863 # include <netinet/in_systm.h>
8864 #endif
8865 #ifdef HAVE_NETINET_IP_H
8866 # include <netinet/ip.h>
8867 #endif
8868 #ifdef HAVE_NETINET_IP_VAR_H
8869 # include <netinet/ip_var.h>
8870 #endif
8871 #ifdef HAVE_NETINET_IP_ICMP_H
8872 # include <netinet/ip_icmp.h>
8873 #endif
8874 #ifdef HAVE_NETINET_UDP_H
8875 # include <netinet/udp.h>
8876 #endif
8877 #ifdef HAVE_NETINET_TCP_H
8878 # include <netinet/tcp.h>
8879 #endif
8881 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8882 then :
8883 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8886 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8887 #include <sys/socket.h>
8888 #ifdef HAVE_SYS_SOCKETVAR_H
8889 # include <sys/socketvar.h>
8890 #endif
8891 #ifdef HAVE_NETINET_IN_H
8892 # include <netinet/in.h>
8893 #endif
8894 #ifdef HAVE_NETINET_IN_SYSTM_H
8895 # include <netinet/in_systm.h>
8896 #endif
8897 #ifdef HAVE_NETINET_IP_H
8898 # include <netinet/ip.h>
8899 #endif
8900 #ifdef HAVE_NETINET_IP_VAR_H
8901 # include <netinet/ip_var.h>
8902 #endif
8903 #ifdef HAVE_NETINET_IP_ICMP_H
8904 # include <netinet/ip_icmp.h>
8905 #endif
8906 #ifdef HAVE_NETINET_UDP_H
8907 # include <netinet/udp.h>
8908 #endif
8909 #ifdef HAVE_NETINET_TCP_H
8910 # include <netinet/tcp.h>
8911 #endif
8913 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8914 then :
8915 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8918 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8919 #include <sys/socket.h>
8920 #ifdef HAVE_SYS_SOCKETVAR_H
8921 # include <sys/socketvar.h>
8922 #endif
8923 #ifdef HAVE_NETINET_IN_H
8924 # include <netinet/in.h>
8925 #endif
8926 #ifdef HAVE_NETINET_IN_SYSTM_H
8927 # include <netinet/in_systm.h>
8928 #endif
8929 #ifdef HAVE_NETINET_IP_H
8930 # include <netinet/ip.h>
8931 #endif
8932 #ifdef HAVE_NETINET_IP_VAR_H
8933 # include <netinet/ip_var.h>
8934 #endif
8935 #ifdef HAVE_NETINET_IP_ICMP_H
8936 # include <netinet/ip_icmp.h>
8937 #endif
8938 #ifdef HAVE_NETINET_UDP_H
8939 # include <netinet/udp.h>
8940 #endif
8941 #ifdef HAVE_NETINET_TCP_H
8942 # include <netinet/tcp.h>
8943 #endif
8945 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8946 then :
8947 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8950 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8951 #include <sys/socket.h>
8952 #ifdef HAVE_SYS_SOCKETVAR_H
8953 # include <sys/socketvar.h>
8954 #endif
8955 #ifdef HAVE_NETINET_IN_H
8956 # include <netinet/in.h>
8957 #endif
8958 #ifdef HAVE_NETINET_IN_SYSTM_H
8959 # include <netinet/in_systm.h>
8960 #endif
8961 #ifdef HAVE_NETINET_IP_H
8962 # include <netinet/ip.h>
8963 #endif
8964 #ifdef HAVE_NETINET_IP_VAR_H
8965 # include <netinet/ip_var.h>
8966 #endif
8967 #ifdef HAVE_NETINET_IP_ICMP_H
8968 # include <netinet/ip_icmp.h>
8969 #endif
8970 #ifdef HAVE_NETINET_UDP_H
8971 # include <netinet/udp.h>
8972 #endif
8973 #ifdef HAVE_NETINET_TCP_H
8974 # include <netinet/tcp.h>
8975 #endif
8977 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8978 then :
8979 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8984 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8985 #include <sys/socket.h>
8986 #ifdef HAVE_ASM_TYPES_H
8987 # include <asm/types.h>
8988 #endif
8989 #ifdef HAVE_LINUX_TYPES_H
8990 # include <linux/types.h>
8991 #endif
8993 if test "x$ac_cv_header_linux_ipx_h" = xyes
8994 then :
8995 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8998 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8999 #include <sys/socket.h>
9000 #ifdef HAVE_ASM_TYPES_H
9001 # include <asm/types.h>
9002 #endif
9003 #ifdef HAVE_LINUX_TYPES_H
9004 # include <linux/types.h>
9005 #endif
9007 if test "x$ac_cv_header_linux_irda_h" = xyes
9008 then :
9009 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9012 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9013 #include <sys/socket.h>
9014 #ifdef HAVE_ASM_TYPES_H
9015 # include <asm/types.h>
9016 #endif
9017 #ifdef HAVE_LINUX_TYPES_H
9018 # include <linux/types.h>
9019 #endif
9021 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9022 then :
9023 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9028 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9029 #include <sys/socket.h>
9030 #ifdef HAVE_NETINET_IN_H
9031 # include <netinet/in.h>
9032 #endif
9033 #ifdef HAVE_ARPA_NAMESER_H
9034 # include <arpa/nameser.h>
9035 #endif
9037 if test "x$ac_cv_header_resolv_h" = xyes
9038 then :
9039 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9044 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9046 if test "x$ac_cv_header_ifaddrs_h" = xyes
9047 then :
9048 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9053 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9055 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9056 then :
9057 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9062 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9063 #ifdef HAVE_SYS_UCONTEXT_H
9064 #include <sys/ucontext.h>
9065 #endif
9067 if test "x$ac_cv_header_sys_thr_h" = xyes
9068 then :
9069 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9074 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9075 #include <pthread.h>
9076 #endif
9078 if test "x$ac_cv_header_pthread_np_h" = xyes
9079 then :
9080 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9085 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9086 #include <sys/types.h>
9087 #ifdef HAVE_ASM_TYPES_H
9088 #include <asm/types.h>
9089 #endif
9091 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9092 then :
9093 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9098 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9099 #include <sys/param.h>
9100 #endif
9101 #include <sys/socket.h>
9102 #ifdef HAVE_SYS_QUEUE_H
9103 #include <sys/queue.h>
9104 #endif
9106 if test "x$ac_cv_header_libprocstat_h" = xyes
9107 then :
9108 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9113 if test "x$ac_cv_header_sys_xattr_h" = xyes
9114 then
9115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9116 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9117 if test ${wine_cv_xattr_extra_args+y}
9118 then :
9119 printf %s "(cached) " >&6
9120 else $as_nop
9121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9122 /* end confdefs.h. */
9123 #include <sys/xattr.h>
9125 main (void)
9127 getxattr("", "", "", 0, 0, 0);
9129 return 0;
9131 _ACEOF
9132 if ac_fn_c_try_compile "$LINENO"
9133 then :
9134 wine_cv_xattr_extra_args=yes
9135 else $as_nop
9136 wine_cv_xattr_extra_args=no
9138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9141 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9142 test $wine_cv_xattr_extra_args != yes ||
9143 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9148 DLLFLAGS=""
9150 LDDLLFLAGS=""
9152 LDEXECFLAGS=""
9154 EXTRACFLAGS=""
9156 UNIXDLLFLAGS="-fPIC"
9158 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9160 TOP_INSTALL_LIB=""
9162 TOP_INSTALL_DEV=""
9164 WINELOADER_LDFLAGS=""
9166 WINEPRELOADER_LDFLAGS=""
9168 LIBEXT="so"
9169 # Extract the first word of "ldd", so it can be a program name with args.
9170 set dummy ldd; ac_word=$2
9171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9172 printf %s "checking for $ac_word... " >&6; }
9173 if test ${ac_cv_path_LDD+y}
9174 then :
9175 printf %s "(cached) " >&6
9176 else $as_nop
9177 case $LDD in
9178 [\\/]* | ?:[\\/]*)
9179 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9183 as_dummy="/sbin:/usr/sbin:$PATH"
9184 for as_dir in $as_dummy
9186 IFS=$as_save_IFS
9187 case $as_dir in #(((
9188 '') as_dir=./ ;;
9189 */) ;;
9190 *) as_dir=$as_dir/ ;;
9191 esac
9192 for ac_exec_ext in '' $ac_executable_extensions; do
9193 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9194 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9196 break 2
9198 done
9199 done
9200 IFS=$as_save_IFS
9202 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9204 esac
9206 LDD=$ac_cv_path_LDD
9207 if test -n "$LDD"; then
9208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9209 printf "%s\n" "$LDD" >&6; }
9210 else
9211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9212 printf "%s\n" "no" >&6; }
9216 if test -n "$ac_tool_prefix"; then
9217 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9218 set dummy ${ac_tool_prefix}otool; ac_word=$2
9219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9220 printf %s "checking for $ac_word... " >&6; }
9221 if test ${ac_cv_prog_OTOOL+y}
9222 then :
9223 printf %s "(cached) " >&6
9224 else $as_nop
9225 if test -n "$OTOOL"; then
9226 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9227 else
9228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9229 for as_dir in $PATH
9231 IFS=$as_save_IFS
9232 case $as_dir in #(((
9233 '') as_dir=./ ;;
9234 */) ;;
9235 *) as_dir=$as_dir/ ;;
9236 esac
9237 for ac_exec_ext in '' $ac_executable_extensions; do
9238 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9239 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9241 break 2
9243 done
9244 done
9245 IFS=$as_save_IFS
9249 OTOOL=$ac_cv_prog_OTOOL
9250 if test -n "$OTOOL"; then
9251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9252 printf "%s\n" "$OTOOL" >&6; }
9253 else
9254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9255 printf "%s\n" "no" >&6; }
9260 if test -z "$ac_cv_prog_OTOOL"; then
9261 ac_ct_OTOOL=$OTOOL
9262 # Extract the first word of "otool", so it can be a program name with args.
9263 set dummy otool; ac_word=$2
9264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9265 printf %s "checking for $ac_word... " >&6; }
9266 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9267 then :
9268 printf %s "(cached) " >&6
9269 else $as_nop
9270 if test -n "$ac_ct_OTOOL"; then
9271 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9272 else
9273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9274 for as_dir in $PATH
9276 IFS=$as_save_IFS
9277 case $as_dir in #(((
9278 '') as_dir=./ ;;
9279 */) ;;
9280 *) as_dir=$as_dir/ ;;
9281 esac
9282 for ac_exec_ext in '' $ac_executable_extensions; do
9283 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9284 ac_cv_prog_ac_ct_OTOOL="otool"
9285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9286 break 2
9288 done
9289 done
9290 IFS=$as_save_IFS
9294 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9295 if test -n "$ac_ct_OTOOL"; then
9296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9297 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9298 else
9299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9300 printf "%s\n" "no" >&6; }
9303 if test "x$ac_ct_OTOOL" = x; then
9304 OTOOL="otool"
9305 else
9306 case $cross_compiling:$ac_tool_warned in
9307 yes:)
9308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9309 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9310 ac_tool_warned=yes ;;
9311 esac
9312 OTOOL=$ac_ct_OTOOL
9314 else
9315 OTOOL="$ac_cv_prog_OTOOL"
9318 if test -n "$ac_tool_prefix"; then
9319 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9320 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9322 printf %s "checking for $ac_word... " >&6; }
9323 if test ${ac_cv_prog_READELF+y}
9324 then :
9325 printf %s "(cached) " >&6
9326 else $as_nop
9327 if test -n "$READELF"; then
9328 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9329 else
9330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9331 for as_dir in $PATH
9333 IFS=$as_save_IFS
9334 case $as_dir in #(((
9335 '') as_dir=./ ;;
9336 */) ;;
9337 *) as_dir=$as_dir/ ;;
9338 esac
9339 for ac_exec_ext in '' $ac_executable_extensions; do
9340 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9341 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9343 break 2
9345 done
9346 done
9347 IFS=$as_save_IFS
9351 READELF=$ac_cv_prog_READELF
9352 if test -n "$READELF"; then
9353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9354 printf "%s\n" "$READELF" >&6; }
9355 else
9356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9357 printf "%s\n" "no" >&6; }
9362 if test -z "$ac_cv_prog_READELF"; then
9363 ac_ct_READELF=$READELF
9364 # Extract the first word of "readelf", so it can be a program name with args.
9365 set dummy readelf; ac_word=$2
9366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9367 printf %s "checking for $ac_word... " >&6; }
9368 if test ${ac_cv_prog_ac_ct_READELF+y}
9369 then :
9370 printf %s "(cached) " >&6
9371 else $as_nop
9372 if test -n "$ac_ct_READELF"; then
9373 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9374 else
9375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9376 for as_dir in $PATH
9378 IFS=$as_save_IFS
9379 case $as_dir in #(((
9380 '') as_dir=./ ;;
9381 */) ;;
9382 *) as_dir=$as_dir/ ;;
9383 esac
9384 for ac_exec_ext in '' $ac_executable_extensions; do
9385 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9386 ac_cv_prog_ac_ct_READELF="readelf"
9387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9388 break 2
9390 done
9391 done
9392 IFS=$as_save_IFS
9396 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9397 if test -n "$ac_ct_READELF"; then
9398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9399 printf "%s\n" "$ac_ct_READELF" >&6; }
9400 else
9401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9402 printf "%s\n" "no" >&6; }
9405 if test "x$ac_ct_READELF" = x; then
9406 READELF="true"
9407 else
9408 case $cross_compiling:$ac_tool_warned in
9409 yes:)
9410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9411 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9412 ac_tool_warned=yes ;;
9413 esac
9414 READELF=$ac_ct_READELF
9416 else
9417 READELF="$ac_cv_prog_READELF"
9420 wine_rules="all:"
9421 SUBDIRS=""
9423 DISABLED_SUBDIRS=""
9425 CONFIGURE_TARGETS=""
9428 wine_fn_append_file ()
9430 as_fn_append $1 " \\$as_nl $2"
9433 wine_fn_append_rule ()
9435 as_fn_append wine_rules "$as_nl$1"
9438 wine_fn_config_makefile ()
9440 wine_fn_append_file SUBDIRS $1
9441 if eval test \"x\$"$2"\" = x"no"
9442 then :
9443 wine_fn_append_file DISABLED_SUBDIRS $1
9447 wine_fn_config_symlink ()
9449 ac_links=$@
9450 wine_fn_append_rule \
9451 "$ac_links:
9452 @./config.status \$@"
9453 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9456 wine_binary="wine"
9457 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9458 WINELOADER_PROGRAMS="$wine_binary"
9460 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9462 case $host_os in
9463 cygwin*|mingw32*)
9464 if test -n "$ac_tool_prefix"; then
9465 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9466 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9468 printf %s "checking for $ac_word... " >&6; }
9469 if test ${ac_cv_prog_DLLTOOL+y}
9470 then :
9471 printf %s "(cached) " >&6
9472 else $as_nop
9473 if test -n "$DLLTOOL"; then
9474 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9475 else
9476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9477 for as_dir in $PATH
9479 IFS=$as_save_IFS
9480 case $as_dir in #(((
9481 '') as_dir=./ ;;
9482 */) ;;
9483 *) as_dir=$as_dir/ ;;
9484 esac
9485 for ac_exec_ext in '' $ac_executable_extensions; do
9486 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9487 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9489 break 2
9491 done
9492 done
9493 IFS=$as_save_IFS
9497 DLLTOOL=$ac_cv_prog_DLLTOOL
9498 if test -n "$DLLTOOL"; then
9499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9500 printf "%s\n" "$DLLTOOL" >&6; }
9501 else
9502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9503 printf "%s\n" "no" >&6; }
9508 if test -z "$ac_cv_prog_DLLTOOL"; then
9509 ac_ct_DLLTOOL=$DLLTOOL
9510 # Extract the first word of "dlltool", so it can be a program name with args.
9511 set dummy dlltool; ac_word=$2
9512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9513 printf %s "checking for $ac_word... " >&6; }
9514 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9515 then :
9516 printf %s "(cached) " >&6
9517 else $as_nop
9518 if test -n "$ac_ct_DLLTOOL"; then
9519 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9520 else
9521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9522 for as_dir in $PATH
9524 IFS=$as_save_IFS
9525 case $as_dir in #(((
9526 '') as_dir=./ ;;
9527 */) ;;
9528 *) as_dir=$as_dir/ ;;
9529 esac
9530 for ac_exec_ext in '' $ac_executable_extensions; do
9531 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9532 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9534 break 2
9536 done
9537 done
9538 IFS=$as_save_IFS
9542 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9543 if test -n "$ac_ct_DLLTOOL"; then
9544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9545 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9546 else
9547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9548 printf "%s\n" "no" >&6; }
9551 if test "x$ac_ct_DLLTOOL" = x; then
9552 DLLTOOL="false"
9553 else
9554 case $cross_compiling:$ac_tool_warned in
9555 yes:)
9556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9557 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9558 ac_tool_warned=yes ;;
9559 esac
9560 DLLTOOL=$ac_ct_DLLTOOL
9562 else
9563 DLLTOOL="$ac_cv_prog_DLLTOOL"
9566 LIBEXT="dll"
9567 EXTRACFLAGS="-D__WINE_PE_BUILD"
9568 case $host_cpu in
9569 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9570 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9571 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9572 then :
9573 printf %s "(cached) " >&6
9574 else $as_nop
9575 ac_wine_try_cflags_saved=$CFLAGS
9576 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9578 /* end confdefs.h. */
9579 int main(int argc, char **argv) { return 0; }
9580 _ACEOF
9581 if ac_fn_c_try_link "$LINENO"
9582 then :
9583 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9584 else $as_nop
9585 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9588 conftest$ac_exeext conftest.$ac_ext
9589 CFLAGS=$ac_wine_try_cflags_saved
9591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9592 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9593 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9594 then :
9595 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9596 fi ;;
9597 esac
9598 enable_loader=${enable_loader:-no}
9599 enable_server=${enable_server:-no}
9600 with_x=${with_x:-no}
9601 with_pthread=${with_pthread:-no}
9604 darwin*|macosx*)
9605 ac_ext=m
9606 ac_cpp='$OBJCPP $CPPFLAGS'
9607 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9608 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9609 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9611 ac_ext=m
9612 ac_cpp='$OBJCPP $CPPFLAGS'
9613 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9614 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9615 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9616 if test -n "$ac_tool_prefix"; then
9617 for ac_prog in gcc objcc objc cc CC clang
9619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9620 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9622 printf %s "checking for $ac_word... " >&6; }
9623 if test ${ac_cv_prog_OBJC+y}
9624 then :
9625 printf %s "(cached) " >&6
9626 else $as_nop
9627 if test -n "$OBJC"; then
9628 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9629 else
9630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9631 for as_dir in $PATH
9633 IFS=$as_save_IFS
9634 case $as_dir in #(((
9635 '') as_dir=./ ;;
9636 */) ;;
9637 *) as_dir=$as_dir/ ;;
9638 esac
9639 for ac_exec_ext in '' $ac_executable_extensions; do
9640 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9641 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9643 break 2
9645 done
9646 done
9647 IFS=$as_save_IFS
9651 OBJC=$ac_cv_prog_OBJC
9652 if test -n "$OBJC"; then
9653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9654 printf "%s\n" "$OBJC" >&6; }
9655 else
9656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9657 printf "%s\n" "no" >&6; }
9661 test -n "$OBJC" && break
9662 done
9664 if test -z "$OBJC"; then
9665 ac_ct_OBJC=$OBJC
9666 for ac_prog in gcc objcc objc cc CC clang
9668 # Extract the first word of "$ac_prog", so it can be a program name with args.
9669 set dummy $ac_prog; ac_word=$2
9670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9671 printf %s "checking for $ac_word... " >&6; }
9672 if test ${ac_cv_prog_ac_ct_OBJC+y}
9673 then :
9674 printf %s "(cached) " >&6
9675 else $as_nop
9676 if test -n "$ac_ct_OBJC"; then
9677 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9678 else
9679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9680 for as_dir in $PATH
9682 IFS=$as_save_IFS
9683 case $as_dir in #(((
9684 '') as_dir=./ ;;
9685 */) ;;
9686 *) as_dir=$as_dir/ ;;
9687 esac
9688 for ac_exec_ext in '' $ac_executable_extensions; do
9689 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9690 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9692 break 2
9694 done
9695 done
9696 IFS=$as_save_IFS
9700 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9701 if test -n "$ac_ct_OBJC"; then
9702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9703 printf "%s\n" "$ac_ct_OBJC" >&6; }
9704 else
9705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9706 printf "%s\n" "no" >&6; }
9710 test -n "$ac_ct_OBJC" && break
9711 done
9713 if test "x$ac_ct_OBJC" = x; then
9714 OBJC="gcc"
9715 else
9716 case $cross_compiling:$ac_tool_warned in
9717 yes:)
9718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9719 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9720 ac_tool_warned=yes ;;
9721 esac
9722 OBJC=$ac_ct_OBJC
9726 # Provide some information about the compiler.
9727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9728 set X $ac_compile
9729 ac_compiler=$2
9730 for ac_option in --version -v -V -qversion; do
9731 { { ac_try="$ac_compiler $ac_option >&5"
9732 case "(($ac_try" in
9733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9734 *) ac_try_echo=$ac_try;;
9735 esac
9736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9737 printf "%s\n" "$ac_try_echo"; } >&5
9738 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9739 ac_status=$?
9740 if test -s conftest.err; then
9741 sed '10a\
9742 ... rest of stderr output deleted ...
9743 10q' conftest.err >conftest.er1
9744 cat conftest.er1 >&5
9746 rm -f conftest.er1 conftest.err
9747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9748 test $ac_status = 0; }
9749 done
9751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9752 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9753 if test ${ac_cv_objc_compiler_gnu+y}
9754 then :
9755 printf %s "(cached) " >&6
9756 else $as_nop
9757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758 /* end confdefs.h. */
9761 main (void)
9763 #ifndef __GNUC__
9764 choke me
9765 #endif
9768 return 0;
9770 _ACEOF
9771 if ac_fn_objc_try_compile "$LINENO"
9772 then :
9773 ac_compiler_gnu=yes
9774 else $as_nop
9775 ac_compiler_gnu=no
9777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9778 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9782 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9783 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9785 if test $ac_compiler_gnu = yes; then
9786 GOBJC=yes
9787 else
9788 GOBJC=
9790 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9791 ac_save_OBJCFLAGS=$OBJCFLAGS
9792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9793 printf %s "checking whether $OBJC accepts -g... " >&6; }
9794 if test ${ac_cv_prog_objc_g+y}
9795 then :
9796 printf %s "(cached) " >&6
9797 else $as_nop
9798 ac_save_objc_werror_flag=$ac_objc_werror_flag
9799 ac_objc_werror_flag=yes
9800 ac_cv_prog_objc_g=no
9801 OBJCFLAGS="-g"
9802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9803 /* end confdefs.h. */
9806 main (void)
9810 return 0;
9812 _ACEOF
9813 if ac_fn_objc_try_compile "$LINENO"
9814 then :
9815 ac_cv_prog_objc_g=yes
9816 else $as_nop
9817 OBJCFLAGS=""
9818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9819 /* end confdefs.h. */
9822 main (void)
9826 return 0;
9828 _ACEOF
9829 if ac_fn_objc_try_compile "$LINENO"
9830 then :
9832 else $as_nop
9833 ac_objc_werror_flag=$ac_save_objc_werror_flag
9834 OBJCFLAGS="-g"
9835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9839 main (void)
9843 return 0;
9845 _ACEOF
9846 if ac_fn_objc_try_compile "$LINENO"
9847 then :
9848 ac_cv_prog_objc_g=yes
9850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9855 ac_objc_werror_flag=$ac_save_objc_werror_flag
9857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9858 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9859 if test $ac_test_OBJCFLAGS; then
9860 OBJCFLAGS=$ac_save_OBJCFLAGS
9861 elif test $ac_cv_prog_objc_g = yes; then
9862 if test "$GOBJC" = yes; then
9863 OBJCFLAGS="-g -O2"
9864 else
9865 OBJCFLAGS="-g"
9867 else
9868 if test "$GOBJC" = yes; then
9869 OBJCFLAGS="-O2"
9870 else
9871 OBJCFLAGS=
9874 ac_ext=m
9875 ac_cpp='$OBJCPP $CPPFLAGS'
9876 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9877 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9878 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9881 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9882 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9883 then :
9884 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9888 ac_ext=c
9889 ac_cpp='$CPP $CPPFLAGS'
9890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9894 LIBEXT="dylib"
9895 DLLFLAGS="$DLLFLAGS -fPIC"
9896 LDDLLFLAGS="-fPIC"
9897 COREFOUNDATION_LIBS="-framework CoreFoundation"
9899 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9901 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9903 CORESERVICES_LIBS="-framework CoreServices"
9905 APPKIT_LIBS="-framework AppKit"
9907 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9910 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9912 wine_can_build_preloader=yes
9913 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"
9914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9915 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9916 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9917 then :
9918 printf %s "(cached) " >&6
9919 else $as_nop
9920 ac_wine_try_cflags_saved=$CFLAGS
9921 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9924 int main(int argc, char **argv) { return 0; }
9925 _ACEOF
9926 if ac_fn_c_try_link "$LINENO"
9927 then :
9928 ac_cv_cflags__Wl__no_new_main__e__main=yes
9929 else $as_nop
9930 ac_cv_cflags__Wl__no_new_main__e__main=no
9932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9933 conftest$ac_exeext conftest.$ac_ext
9934 CFLAGS=$ac_wine_try_cflags_saved
9936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9937 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9938 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9939 then :
9940 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9941 { 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
9942 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9943 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9944 then :
9945 printf %s "(cached) " >&6
9946 else $as_nop
9947 ac_wine_try_cflags_saved=$CFLAGS
9948 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9950 /* end confdefs.h. */
9951 int main(int argc, char **argv) { return 0; }
9952 _ACEOF
9953 if ac_fn_c_try_link "$LINENO"
9954 then :
9955 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9956 else $as_nop
9957 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9960 conftest$ac_exeext conftest.$ac_ext
9961 CFLAGS=$ac_wine_try_cflags_saved
9963 { 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
9964 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9965 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9966 then :
9967 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9968 else $as_nop
9969 wine_can_build_preloader=no
9971 else $as_nop
9972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9973 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9974 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9975 then :
9976 printf %s "(cached) " >&6
9977 else $as_nop
9978 ac_wine_try_cflags_saved=$CFLAGS
9979 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9981 /* end confdefs.h. */
9982 int main(int argc, char **argv) { return 0; }
9983 _ACEOF
9984 if ac_fn_c_try_link "$LINENO"
9985 then :
9986 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9987 else $as_nop
9988 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9991 conftest$ac_exeext conftest.$ac_ext
9992 CFLAGS=$ac_wine_try_cflags_saved
9994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9995 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9996 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9997 then :
9998 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9999 else $as_nop
10000 wine_can_build_preloader=no
10003 if test "$wine_can_build_preloader" = "yes"
10004 then
10005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
10006 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
10007 if test ${ac_cv_cflags__Wl__no_pie+y}
10008 then :
10009 printf %s "(cached) " >&6
10010 else $as_nop
10011 ac_wine_try_cflags_saved=$CFLAGS
10012 CFLAGS="$CFLAGS -Wl,-no_pie"
10013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10014 /* end confdefs.h. */
10015 int main(int argc, char **argv) { return 0; }
10016 _ACEOF
10017 if ac_fn_c_try_link "$LINENO"
10018 then :
10019 ac_cv_cflags__Wl__no_pie=yes
10020 else $as_nop
10021 ac_cv_cflags__Wl__no_pie=no
10023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10024 conftest$ac_exeext conftest.$ac_ext
10025 CFLAGS=$ac_wine_try_cflags_saved
10027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
10028 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
10029 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
10030 then :
10031 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
10033 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
10034 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
10035 else
10036 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
10039 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
10040 then
10041 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10044 if test "$ac_cv_header_Security_Security_h" = "yes"
10045 then
10046 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10049 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10050 then
10051 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10053 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10055 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10056 then
10057 OPENAL_LIBS="-framework OpenAL"
10060 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10062 ac_cv_lib_openal=yes
10064 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10065 then
10066 OPENCL_LIBS="-framework OpenCL"
10068 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10070 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10071 then
10072 ac_save_LIBS="$LIBS"
10073 LIBS="$LIBS $IOKIT_LIBS"
10074 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10075 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10076 then :
10077 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10081 LIBS="$ac_save_LIBS"
10084 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10085 then
10086 CARBON_LIBS="-framework Carbon"
10089 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10090 then
10091 METAL_LIBS="-framework Metal"
10095 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10096 then
10097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10098 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10099 ac_ext=m
10100 ac_cpp='$OBJCPP $CPPFLAGS'
10101 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10102 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10103 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10106 /* end confdefs.h. */
10107 #include <Metal/Metal.h>
10109 main (void)
10111 id<MTLDevice> device; device.registryID;
10113 return 0;
10115 _ACEOF
10116 if ac_fn_objc_try_compile "$LINENO"
10117 then :
10118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10119 printf "%s\n" "yes" >&6; }
10121 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10123 else $as_nop
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10125 printf "%s\n" "no" >&6; }
10127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10128 ac_ext=c
10129 ac_cpp='$CPP $CPPFLAGS'
10130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10136 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10137 then
10138 ac_save_LIBS="$LIBS"
10139 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10140 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10141 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10142 then :
10143 enable_winemac_drv=${enable_winemac_drv:-yes}
10146 LIBS="$ac_save_LIBS"
10149 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10150 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10152 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10154 WINELOADER_DEPENDS="wine_info.plist"
10156 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10159 linux-android*)
10161 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10163 DLLFLAGS="$DLLFLAGS -fPIC"
10164 LDDLLFLAGS="-fPIC"
10165 LDEXECFLAGS="-Wl,-pie"
10166 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10168 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10169 if test ${ac_cv_cflags__Wl__z_defs+y}
10170 then :
10171 printf %s "(cached) " >&6
10172 else $as_nop
10173 ac_wine_try_cflags_saved=$CFLAGS
10174 CFLAGS="$CFLAGS -Wl,-z,defs"
10175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10176 /* end confdefs.h. */
10177 int main(int argc, char **argv) { return 0; }
10178 _ACEOF
10179 if ac_fn_c_try_link "$LINENO"
10180 then :
10181 ac_cv_cflags__Wl__z_defs=yes
10182 else $as_nop
10183 ac_cv_cflags__Wl__z_defs=no
10185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10186 conftest$ac_exeext conftest.$ac_ext
10187 CFLAGS=$ac_wine_try_cflags_saved
10189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10190 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10191 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10192 then :
10193 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10196 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10197 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10198 then :
10199 printf %s "(cached) " >&6
10200 else $as_nop
10201 ac_wine_try_cflags_saved=$CFLAGS
10202 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10204 /* end confdefs.h. */
10205 int main(int argc, char **argv) { return 0; }
10206 _ACEOF
10207 if ac_fn_c_try_link "$LINENO"
10208 then :
10209 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10210 else $as_nop
10211 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10214 conftest$ac_exeext conftest.$ac_ext
10215 CFLAGS=$ac_wine_try_cflags_saved
10217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10218 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10219 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10220 then :
10221 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10223 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10226 printf %s "checking for -lEGL... " >&6; }
10227 if test ${ac_cv_lib_soname_EGL+y}
10228 then :
10229 printf %s "(cached) " >&6
10230 else $as_nop
10231 ac_check_soname_save_LIBS=$LIBS
10232 LIBS="-lEGL $LIBS"
10233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10234 /* end confdefs.h. */
10236 /* Override any GCC internal prototype to avoid an error.
10237 Use char because int might match the return type of a GCC
10238 builtin and then its argument prototype would still apply. */
10239 char eglGetProcAddress ();
10241 main (void)
10243 return eglGetProcAddress ();
10245 return 0;
10247 _ACEOF
10248 if ac_fn_c_try_link "$LINENO"
10249 then :
10250 case "$LIBEXT" in
10251 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10252 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'` ;;
10253 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10254 if ${ac_cv_lib_soname_EGL:+false} :
10255 then :
10256 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10257 fi ;;
10258 esac
10259 else $as_nop
10260 ac_cv_lib_soname_EGL=
10262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10263 conftest$ac_exeext conftest.$ac_ext
10264 LIBS=$ac_check_soname_save_LIBS
10266 if ${ac_cv_lib_soname_EGL:+false} :
10267 then :
10268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10269 printf "%s\n" "not found" >&6; }
10271 else $as_nop
10272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10273 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10275 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10280 printf %s "checking for -lGLESv2... " >&6; }
10281 if test ${ac_cv_lib_soname_GLESv2+y}
10282 then :
10283 printf %s "(cached) " >&6
10284 else $as_nop
10285 ac_check_soname_save_LIBS=$LIBS
10286 LIBS="-lGLESv2 $LIBS"
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10290 /* Override any GCC internal prototype to avoid an error.
10291 Use char because int might match the return type of a GCC
10292 builtin and then its argument prototype would still apply. */
10293 char glFlush ();
10295 main (void)
10297 return glFlush ();
10299 return 0;
10301 _ACEOF
10302 if ac_fn_c_try_link "$LINENO"
10303 then :
10304 case "$LIBEXT" in
10305 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10306 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'` ;;
10307 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10308 if ${ac_cv_lib_soname_GLESv2:+false} :
10309 then :
10310 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10311 fi ;;
10312 esac
10313 else $as_nop
10314 ac_cv_lib_soname_GLESv2=
10316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10317 conftest$ac_exeext conftest.$ac_ext
10318 LIBS=$ac_check_soname_save_LIBS
10320 if ${ac_cv_lib_soname_GLESv2:+false} :
10321 then :
10322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10323 printf "%s\n" "not found" >&6; }
10325 else $as_nop
10326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10327 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10329 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10334 if test "x$exec_prefix" = xNONE
10335 then
10336 case $host_cpu in
10337 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10338 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10339 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10340 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10341 esac
10347 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10349 test "$ac_cv_sys_file_offset_bits" = 64 &&
10350 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10352 case $host_cpu in
10353 *i[3456789]86*)
10354 DLLFLAGS="$DLLFLAGS -fno-PIC"
10355 LDDLLFLAGS="-fno-PIC"
10356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10357 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10358 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10359 then :
10360 printf %s "(cached) " >&6
10361 else $as_nop
10362 ac_wine_try_cflags_saved=$CFLAGS
10363 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
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__fno_PIC__Wl__z_notext=yes
10371 else $as_nop
10372 ac_cv_cflags__fno_PIC__Wl__z_notext=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__fno_PIC__Wl__z_notext" >&5
10379 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10380 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10381 then :
10382 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10386 DLLFLAGS="$DLLFLAGS -fPIC"
10387 LDDLLFLAGS="-fPIC" ;;
10388 esac
10389 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10391 echo '{ global: *; };' >conftest.map
10392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10393 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10394 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10395 then :
10396 printf %s "(cached) " >&6
10397 else $as_nop
10398 ac_wine_try_cflags_saved=$CFLAGS
10399 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10402 int main(int argc, char **argv) { return 0; }
10403 _ACEOF
10404 if ac_fn_c_try_link "$LINENO"
10405 then :
10406 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10407 else $as_nop
10408 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10411 conftest$ac_exeext conftest.$ac_ext
10412 CFLAGS=$ac_wine_try_cflags_saved
10414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10415 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10416 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10417 then :
10418 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10420 rm -f conftest.map
10422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10423 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10424 if test ${ac_cv_cflags__Wl__z_defs+y}
10425 then :
10426 printf %s "(cached) " >&6
10427 else $as_nop
10428 ac_wine_try_cflags_saved=$CFLAGS
10429 CFLAGS="$CFLAGS -Wl,-z,defs"
10430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10431 /* end confdefs.h. */
10432 int main(int argc, char **argv) { return 0; }
10433 _ACEOF
10434 if ac_fn_c_try_link "$LINENO"
10435 then :
10436 ac_cv_cflags__Wl__z_defs=yes
10437 else $as_nop
10438 ac_cv_cflags__Wl__z_defs=no
10440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10441 conftest$ac_exeext conftest.$ac_ext
10442 CFLAGS=$ac_wine_try_cflags_saved
10444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10445 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10446 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10447 then :
10448 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10451 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10452 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10453 then :
10454 printf %s "(cached) " >&6
10455 else $as_nop
10456 ac_wine_try_cflags_saved=$CFLAGS
10457 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10459 /* end confdefs.h. */
10460 int main(int argc, char **argv) { return 0; }
10461 _ACEOF
10462 if ac_fn_c_try_link "$LINENO"
10463 then :
10464 ac_cv_cflags__Wl___export_dynamic=yes
10465 else $as_nop
10466 ac_cv_cflags__Wl___export_dynamic=no
10468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10469 conftest$ac_exeext conftest.$ac_ext
10470 CFLAGS=$ac_wine_try_cflags_saved
10472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10473 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10474 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10475 then :
10476 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10478 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10480 case $host_cpu in
10481 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10483 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10484 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10485 then :
10486 printf %s "(cached) " >&6
10487 else $as_nop
10488 ac_wine_try_cflags_saved=$CFLAGS
10489 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10491 /* end confdefs.h. */
10492 int main(int argc, char **argv) { return 0; }
10493 _ACEOF
10494 if ac_fn_c_try_link "$LINENO"
10495 then :
10496 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10497 else $as_nop
10498 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10501 conftest$ac_exeext conftest.$ac_ext
10502 CFLAGS=$ac_wine_try_cflags_saved
10504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10505 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10506 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10507 then :
10508 case $host_os in
10509 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10510 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10511 esac
10512 else $as_nop
10513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10514 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10515 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10516 then :
10517 printf %s "(cached) " >&6
10518 else $as_nop
10519 ac_wine_try_cflags_saved=$CFLAGS
10520 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h. */
10523 int main(int argc, char **argv) { return 0; }
10524 _ACEOF
10525 if ac_fn_c_try_link "$LINENO"
10526 then :
10527 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10528 else $as_nop
10529 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10532 conftest$ac_exeext conftest.$ac_ext
10533 CFLAGS=$ac_wine_try_cflags_saved
10535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10536 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10537 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10538 then :
10539 case $host_os in
10540 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10541 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10542 esac
10544 # Extract the first word of "prelink", so it can be a program name with args.
10545 set dummy prelink; ac_word=$2
10546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10547 printf %s "checking for $ac_word... " >&6; }
10548 if test ${ac_cv_path_PRELINK+y}
10549 then :
10550 printf %s "(cached) " >&6
10551 else $as_nop
10552 case $PRELINK in
10553 [\\/]* | ?:[\\/]*)
10554 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10558 for as_dir in /sbin /usr/sbin $PATH
10560 IFS=$as_save_IFS
10561 case $as_dir in #(((
10562 '') as_dir=./ ;;
10563 */) ;;
10564 *) as_dir=$as_dir/ ;;
10565 esac
10566 for ac_exec_ext in '' $ac_executable_extensions; do
10567 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10568 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10570 break 2
10572 done
10573 done
10574 IFS=$as_save_IFS
10576 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10578 esac
10580 PRELINK=$ac_cv_path_PRELINK
10581 if test -n "$PRELINK"; then
10582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10583 printf "%s\n" "$PRELINK" >&6; }
10584 else
10585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10586 printf "%s\n" "no" >&6; }
10590 if test "x$PRELINK" = xfalse
10591 then
10592 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10596 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10597 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10598 then :
10599 printf %s "(cached) " >&6
10600 else $as_nop
10601 ac_wine_try_cflags_saved=$CFLAGS
10602 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10604 /* end confdefs.h. */
10605 int main(int argc, char **argv) { return 0; }
10606 _ACEOF
10607 if ac_fn_c_try_link "$LINENO"
10608 then :
10609 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10610 else $as_nop
10611 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10614 conftest$ac_exeext conftest.$ac_ext
10615 CFLAGS=$ac_wine_try_cflags_saved
10617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10618 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10619 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10620 then :
10621 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10624 esac
10625 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10627 LIBWINE_DEPENDS="wine.map"
10629 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10631 esac
10633 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10634 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10635 enable_winemac_drv=${enable_winemac_drv:-no}
10638 if test "x$with_mingw" != xno
10639 then
10640 case "x$with_mingw" in
10641 x|xyes) case "$host_cpu" in
10642 aarch64*)
10643 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10644 arm*)
10645 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10646 i[3456789]86*)
10647 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
10648 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10649 mingw32-gcc clang" ;;
10650 x86_64)
10651 ac_prefix_list="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc
10652 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10654 ac_prefix_list="" ;;
10655 esac
10656 for ac_prog in $ac_prefix_list
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_CROSSCC+y}
10663 then :
10664 printf %s "(cached) " >&6
10665 else $as_nop
10666 if test -n "$CROSSCC"; then
10667 ac_cv_prog_CROSSCC="$CROSSCC" # 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_CROSSCC="$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 CROSSCC=$ac_cv_prog_CROSSCC
10691 if test -n "$CROSSCC"; then
10692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10693 printf "%s\n" "$CROSSCC" >&6; }
10694 else
10695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10696 printf "%s\n" "no" >&6; }
10700 test -n "$CROSSCC" && break
10701 done
10702 test -n "$CROSSCC" || CROSSCC="false"
10704 *) CROSSCC=$with_mingw ;;
10705 esac
10706 if test "$CROSSCC" != "false"
10707 then
10708 ac_save_CC="$CC"
10709 saved_CFLAGS=$CFLAGS
10710 saved_LDFLAGS=$LDFLAGS
10711 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10713 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10717 CC="$CROSSCC"
10718 CFLAGS=$CROSSCFLAGS
10719 LDFLAGS=$CROSSLDFLAGS
10720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10721 printf %s "checking whether $CROSSCC works... " >&6; }
10722 if test ${wine_cv_crosscc+y}
10723 then :
10724 printf %s "(cached) " >&6
10725 else $as_nop
10726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10727 /* end confdefs.h. */
10730 main (void)
10734 return 0;
10736 _ACEOF
10737 if ac_fn_c_try_compile "$LINENO"
10738 then :
10739 wine_cv_crosscc=yes
10740 else $as_nop
10741 wine_cv_crosscc=no
10743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10746 printf "%s\n" "$wine_cv_crosscc" >&6; }
10747 if test $wine_cv_crosscc = yes
10748 then
10749 set x $CROSSCC
10750 shift
10751 while test $# -ge 1
10753 case "$1" in
10754 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10755 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10756 esac
10757 shift
10758 done
10760 llvm_target=$CROSSTARGET
10761 llvm_cflags="-fuse-ld=lld"
10762 if test -z "$llvm_target"
10763 then
10764 case $host_cpu in
10765 *i[3456789]86*) llvm_target=i686-windows ;;
10766 *) llvm_target=$host_cpu-windows ;;
10767 esac
10769 case $llvm_target in
10770 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10771 esac
10772 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10774 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10775 if eval test \${$as_ac_var+y}
10776 then :
10777 printf %s "(cached) " >&6
10778 else $as_nop
10779 ac_wine_try_cflags_saved=$CFLAGS
10780 ac_wine_try_cflags_saved_cc=$CC
10781 ac_wine_try_cflags_saved_exeext=$ac_exeext
10782 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10783 CC="$CROSSCC"
10784 ac_exeext=".exe"
10785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10786 /* end confdefs.h. */
10787 int __cdecl mainCRTStartup(void) { return 0; }
10788 _ACEOF
10789 if ac_fn_c_try_link "$LINENO"
10790 then :
10791 eval "$as_ac_var=yes"
10792 else $as_nop
10793 eval "$as_ac_var=no"
10795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10796 conftest$ac_exeext conftest.$ac_ext
10797 CFLAGS=$ac_wine_try_cflags_saved
10798 CC=$ac_wine_try_cflags_saved_cc
10799 ac_exeext=$ac_wine_try_cflags_saved_exeext
10801 eval ac_res=\$$as_ac_var
10802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10803 printf "%s\n" "$ac_res" >&6; }
10804 if eval test \"x\$"$as_ac_var"\" = x"yes"
10805 then :
10806 CROSSTARGET=$llvm_target
10807 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10808 DELAYLOADFLAG="-Wl,-delayload,"
10810 CFLAGS="$CFLAGS $llvm_cflags"
10813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CROSSCC option to enable C99 features" >&5
10814 printf %s "checking for $CROSSCC option to enable C99 features... " >&6; }
10815 if test ${wine_cv_crosscc_c99+y}
10816 then :
10817 printf %s "(cached) " >&6
10818 else $as_nop
10819 wine_cv_crosscc_c99=no
10820 for arg in '' '-std=gnu99'
10822 CC="$CROSSCC $arg"
10823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10824 /* end confdefs.h. */
10825 $ac_c_conftest_c99_program
10826 _ACEOF
10827 if ac_fn_c_try_compile "$LINENO"
10828 then :
10829 wine_cv_crosscc_c99=$arg
10830 else $as_nop
10831 wine_cv_crosscc_c99=no
10833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10834 test "x$wine_cv_crosscc_c99" != xno && break
10835 done
10838 case "x$wine_cv_crosscc_c99" in
10839 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10840 printf "%s\n" "none needed" >&6; } ;;
10841 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10842 printf "%s\n" "unsupported" >&6; } ;;
10843 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc_c99" >&5
10844 printf "%s\n" "$wine_cv_crosscc_c99" >&6; }
10845 CROSSCC="$CROSSCC $wine_cv_crosscc_c99" ;;
10846 esac
10848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10849 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10850 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10851 then :
10852 printf %s "(cached) " >&6
10853 else $as_nop
10854 ac_wine_try_cflags_saved=$CFLAGS
10855 ac_wine_try_cflags_saved_cc=$CC
10856 ac_wine_try_cflags_saved_exeext=$ac_exeext
10857 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10858 CC="$CROSSCC"
10859 ac_exeext=".exe"
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10862 int __cdecl mainCRTStartup(void) { return 0; }
10863 _ACEOF
10864 if ac_fn_c_try_link "$LINENO"
10865 then :
10866 ac_cv_crosscflags__fno_strict_aliasing=yes
10867 else $as_nop
10868 ac_cv_crosscflags__fno_strict_aliasing=no
10870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10871 conftest$ac_exeext conftest.$ac_ext
10872 CFLAGS=$ac_wine_try_cflags_saved
10873 CC=$ac_wine_try_cflags_saved_cc
10874 ac_exeext=$ac_wine_try_cflags_saved_exeext
10876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10877 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10878 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10879 then :
10880 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10883 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10884 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
10885 then :
10886 printf %s "(cached) " >&6
10887 else $as_nop
10888 ac_wine_try_cflags_saved=$CFLAGS
10889 ac_wine_try_cflags_saved_cc=$CC
10890 ac_wine_try_cflags_saved_exeext=$ac_exeext
10891 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10892 CC="$CROSSCC"
10893 ac_exeext=".exe"
10894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10895 /* end confdefs.h. */
10896 int __cdecl mainCRTStartup(void) { return 0; }
10897 _ACEOF
10898 if ac_fn_c_try_link "$LINENO"
10899 then :
10900 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10901 else $as_nop
10902 ac_cv_crosscflags__Werror_unknown_warning_option=no
10904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10905 conftest$ac_exeext conftest.$ac_ext
10906 CFLAGS=$ac_wine_try_cflags_saved
10907 CC=$ac_wine_try_cflags_saved_cc
10908 ac_exeext=$ac_wine_try_cflags_saved_exeext
10910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10911 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10912 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10913 then :
10914 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10917 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10918 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10919 then :
10920 printf %s "(cached) " >&6
10921 else $as_nop
10922 ac_wine_try_cflags_saved=$CFLAGS
10923 ac_wine_try_cflags_saved_cc=$CC
10924 ac_wine_try_cflags_saved_exeext=$ac_exeext
10925 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10926 CC="$CROSSCC"
10927 ac_exeext=".exe"
10928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10930 int __cdecl mainCRTStartup(void) { return 0; }
10931 _ACEOF
10932 if ac_fn_c_try_link "$LINENO"
10933 then :
10934 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10935 else $as_nop
10936 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10939 conftest$ac_exeext conftest.$ac_ext
10940 CFLAGS=$ac_wine_try_cflags_saved
10941 CC=$ac_wine_try_cflags_saved_cc
10942 ac_exeext=$ac_wine_try_cflags_saved_exeext
10944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10945 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10946 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10947 then :
10948 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10951 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10952 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
10953 then :
10954 printf %s "(cached) " >&6
10955 else $as_nop
10956 ac_wine_try_cflags_saved=$CFLAGS
10957 ac_wine_try_cflags_saved_cc=$CC
10958 ac_wine_try_cflags_saved_exeext=$ac_exeext
10959 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10960 CC="$CROSSCC"
10961 ac_exeext=".exe"
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10964 int __cdecl mainCRTStartup(void) { return 0; }
10965 _ACEOF
10966 if ac_fn_c_try_link "$LINENO"
10967 then :
10968 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10969 else $as_nop
10970 ac_cv_crosscflags__Wdeclaration_after_statement=no
10972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10973 conftest$ac_exeext conftest.$ac_ext
10974 CFLAGS=$ac_wine_try_cflags_saved
10975 CC=$ac_wine_try_cflags_saved_cc
10976 ac_exeext=$ac_wine_try_cflags_saved_exeext
10978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10979 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10980 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10981 then :
10982 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10985 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10986 if test ${ac_cv_crosscflags__Wempty_body+y}
10987 then :
10988 printf %s "(cached) " >&6
10989 else $as_nop
10990 ac_wine_try_cflags_saved=$CFLAGS
10991 ac_wine_try_cflags_saved_cc=$CC
10992 ac_wine_try_cflags_saved_exeext=$ac_exeext
10993 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10994 CC="$CROSSCC"
10995 ac_exeext=".exe"
10996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10997 /* end confdefs.h. */
10998 int __cdecl mainCRTStartup(void) { return 0; }
10999 _ACEOF
11000 if ac_fn_c_try_link "$LINENO"
11001 then :
11002 ac_cv_crosscflags__Wempty_body=yes
11003 else $as_nop
11004 ac_cv_crosscflags__Wempty_body=no
11006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11007 conftest$ac_exeext conftest.$ac_ext
11008 CFLAGS=$ac_wine_try_cflags_saved
11009 CC=$ac_wine_try_cflags_saved_cc
11010 ac_exeext=$ac_wine_try_cflags_saved_exeext
11012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
11013 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
11014 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
11015 then :
11016 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
11018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
11019 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
11020 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
11021 then :
11022 printf %s "(cached) " >&6
11023 else $as_nop
11024 ac_wine_try_cflags_saved=$CFLAGS
11025 ac_wine_try_cflags_saved_cc=$CC
11026 ac_wine_try_cflags_saved_exeext=$ac_exeext
11027 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11028 CC="$CROSSCC"
11029 ac_exeext=".exe"
11030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11032 int __cdecl mainCRTStartup(void) { return 0; }
11033 _ACEOF
11034 if ac_fn_c_try_link "$LINENO"
11035 then :
11036 ac_cv_crosscflags__Wignored_qualifiers=yes
11037 else $as_nop
11038 ac_cv_crosscflags__Wignored_qualifiers=no
11040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11041 conftest$ac_exeext conftest.$ac_ext
11042 CFLAGS=$ac_wine_try_cflags_saved
11043 CC=$ac_wine_try_cflags_saved_cc
11044 ac_exeext=$ac_wine_try_cflags_saved_exeext
11046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11047 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11048 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11049 then :
11050 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11053 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11054 if test ${ac_cv_crosscflags__Winit_self+y}
11055 then :
11056 printf %s "(cached) " >&6
11057 else $as_nop
11058 ac_wine_try_cflags_saved=$CFLAGS
11059 ac_wine_try_cflags_saved_cc=$CC
11060 ac_wine_try_cflags_saved_exeext=$ac_exeext
11061 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11062 CC="$CROSSCC"
11063 ac_exeext=".exe"
11064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h. */
11066 int __cdecl mainCRTStartup(void) { return 0; }
11067 _ACEOF
11068 if ac_fn_c_try_link "$LINENO"
11069 then :
11070 ac_cv_crosscflags__Winit_self=yes
11071 else $as_nop
11072 ac_cv_crosscflags__Winit_self=no
11074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11075 conftest$ac_exeext conftest.$ac_ext
11076 CFLAGS=$ac_wine_try_cflags_saved
11077 CC=$ac_wine_try_cflags_saved_cc
11078 ac_exeext=$ac_wine_try_cflags_saved_exeext
11080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11081 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11082 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11083 then :
11084 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11087 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11088 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11089 then :
11090 printf %s "(cached) " >&6
11091 else $as_nop
11092 ac_wine_try_cflags_saved=$CFLAGS
11093 ac_wine_try_cflags_saved_cc=$CC
11094 ac_wine_try_cflags_saved_exeext=$ac_exeext
11095 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11096 CC="$CROSSCC"
11097 ac_exeext=".exe"
11098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11099 /* end confdefs.h. */
11100 int __cdecl mainCRTStartup(void) { return 0; }
11101 _ACEOF
11102 if ac_fn_c_try_link "$LINENO"
11103 then :
11104 ac_cv_crosscflags__Wpacked_not_aligned=yes
11105 else $as_nop
11106 ac_cv_crosscflags__Wpacked_not_aligned=no
11108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11109 conftest$ac_exeext conftest.$ac_ext
11110 CFLAGS=$ac_wine_try_cflags_saved
11111 CC=$ac_wine_try_cflags_saved_cc
11112 ac_exeext=$ac_wine_try_cflags_saved_exeext
11114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11115 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11116 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11117 then :
11118 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11121 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11122 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11123 then :
11124 printf %s "(cached) " >&6
11125 else $as_nop
11126 ac_wine_try_cflags_saved=$CFLAGS
11127 ac_wine_try_cflags_saved_cc=$CC
11128 ac_wine_try_cflags_saved_exeext=$ac_exeext
11129 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11130 CC="$CROSSCC"
11131 ac_exeext=".exe"
11132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11134 int __cdecl mainCRTStartup(void) { return 0; }
11135 _ACEOF
11136 if ac_fn_c_try_link "$LINENO"
11137 then :
11138 ac_cv_crosscflags__Wpragma_pack=yes
11139 else $as_nop
11140 ac_cv_crosscflags__Wpragma_pack=no
11142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11143 conftest$ac_exeext conftest.$ac_ext
11144 CFLAGS=$ac_wine_try_cflags_saved
11145 CC=$ac_wine_try_cflags_saved_cc
11146 ac_exeext=$ac_wine_try_cflags_saved_exeext
11148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11149 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11150 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11151 then :
11152 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11155 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11156 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11157 then :
11158 printf %s "(cached) " >&6
11159 else $as_nop
11160 ac_wine_try_cflags_saved=$CFLAGS
11161 ac_wine_try_cflags_saved_cc=$CC
11162 ac_wine_try_cflags_saved_exeext=$ac_exeext
11163 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11164 CC="$CROSSCC"
11165 ac_exeext=".exe"
11166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11168 int __cdecl mainCRTStartup(void) { return 0; }
11169 _ACEOF
11170 if ac_fn_c_try_link "$LINENO"
11171 then :
11172 ac_cv_crosscflags__Wshift_overflow_2=yes
11173 else $as_nop
11174 ac_cv_crosscflags__Wshift_overflow_2=no
11176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11177 conftest$ac_exeext conftest.$ac_ext
11178 CFLAGS=$ac_wine_try_cflags_saved
11179 CC=$ac_wine_try_cflags_saved_cc
11180 ac_exeext=$ac_wine_try_cflags_saved_exeext
11182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11183 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11184 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11185 then :
11186 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11189 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11190 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11191 then :
11192 printf %s "(cached) " >&6
11193 else $as_nop
11194 ac_wine_try_cflags_saved=$CFLAGS
11195 ac_wine_try_cflags_saved_cc=$CC
11196 ac_wine_try_cflags_saved_exeext=$ac_exeext
11197 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11198 CC="$CROSSCC"
11199 ac_exeext=".exe"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11202 int __cdecl mainCRTStartup(void) { return 0; }
11203 _ACEOF
11204 if ac_fn_c_try_link "$LINENO"
11205 then :
11206 ac_cv_crosscflags__Wstrict_prototypes=yes
11207 else $as_nop
11208 ac_cv_crosscflags__Wstrict_prototypes=no
11210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11211 conftest$ac_exeext conftest.$ac_ext
11212 CFLAGS=$ac_wine_try_cflags_saved
11213 CC=$ac_wine_try_cflags_saved_cc
11214 ac_exeext=$ac_wine_try_cflags_saved_exeext
11216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11217 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11218 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11219 then :
11220 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11223 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11224 if test ${ac_cv_crosscflags__Wtype_limits+y}
11225 then :
11226 printf %s "(cached) " >&6
11227 else $as_nop
11228 ac_wine_try_cflags_saved=$CFLAGS
11229 ac_wine_try_cflags_saved_cc=$CC
11230 ac_wine_try_cflags_saved_exeext=$ac_exeext
11231 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11232 CC="$CROSSCC"
11233 ac_exeext=".exe"
11234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11236 int __cdecl mainCRTStartup(void) { return 0; }
11237 _ACEOF
11238 if ac_fn_c_try_link "$LINENO"
11239 then :
11240 ac_cv_crosscflags__Wtype_limits=yes
11241 else $as_nop
11242 ac_cv_crosscflags__Wtype_limits=no
11244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11245 conftest$ac_exeext conftest.$ac_ext
11246 CFLAGS=$ac_wine_try_cflags_saved
11247 CC=$ac_wine_try_cflags_saved_cc
11248 ac_exeext=$ac_wine_try_cflags_saved_exeext
11250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11251 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11252 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11253 then :
11254 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11257 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11258 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11259 then :
11260 printf %s "(cached) " >&6
11261 else $as_nop
11262 ac_wine_try_cflags_saved=$CFLAGS
11263 ac_wine_try_cflags_saved_cc=$CC
11264 ac_wine_try_cflags_saved_exeext=$ac_exeext
11265 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11266 CC="$CROSSCC"
11267 ac_exeext=".exe"
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11270 int __cdecl mainCRTStartup(void) { return 0; }
11271 _ACEOF
11272 if ac_fn_c_try_link "$LINENO"
11273 then :
11274 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11275 else $as_nop
11276 ac_cv_crosscflags__Wunused_but_set_parameter=no
11278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11279 conftest$ac_exeext conftest.$ac_ext
11280 CFLAGS=$ac_wine_try_cflags_saved
11281 CC=$ac_wine_try_cflags_saved_cc
11282 ac_exeext=$ac_wine_try_cflags_saved_exeext
11284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11285 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11286 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11287 then :
11288 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11291 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11292 if test ${ac_cv_crosscflags__Wvla+y}
11293 then :
11294 printf %s "(cached) " >&6
11295 else $as_nop
11296 ac_wine_try_cflags_saved=$CFLAGS
11297 ac_wine_try_cflags_saved_cc=$CC
11298 ac_wine_try_cflags_saved_exeext=$ac_exeext
11299 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11300 CC="$CROSSCC"
11301 ac_exeext=".exe"
11302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11304 int __cdecl mainCRTStartup(void) { return 0; }
11305 _ACEOF
11306 if ac_fn_c_try_link "$LINENO"
11307 then :
11308 ac_cv_crosscflags__Wvla=yes
11309 else $as_nop
11310 ac_cv_crosscflags__Wvla=no
11312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11313 conftest$ac_exeext conftest.$ac_ext
11314 CFLAGS=$ac_wine_try_cflags_saved
11315 CC=$ac_wine_try_cflags_saved_cc
11316 ac_exeext=$ac_wine_try_cflags_saved_exeext
11318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11319 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11320 if test "x$ac_cv_crosscflags__Wvla" = xyes
11321 then :
11322 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11325 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11326 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11327 then :
11328 printf %s "(cached) " >&6
11329 else $as_nop
11330 ac_wine_try_cflags_saved=$CFLAGS
11331 ac_wine_try_cflags_saved_cc=$CC
11332 ac_wine_try_cflags_saved_exeext=$ac_exeext
11333 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11334 CC="$CROSSCC"
11335 ac_exeext=".exe"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11338 int __cdecl mainCRTStartup(void) { return 0; }
11339 _ACEOF
11340 if ac_fn_c_try_link "$LINENO"
11341 then :
11342 ac_cv_crosscflags__Wwrite_strings=yes
11343 else $as_nop
11344 ac_cv_crosscflags__Wwrite_strings=no
11346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11347 conftest$ac_exeext conftest.$ac_ext
11348 CFLAGS=$ac_wine_try_cflags_saved
11349 CC=$ac_wine_try_cflags_saved_cc
11350 ac_exeext=$ac_wine_try_cflags_saved_exeext
11352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11353 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11354 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11355 then :
11356 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11359 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11360 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11361 then :
11362 printf %s "(cached) " >&6
11363 else $as_nop
11364 ac_wine_try_cflags_saved=$CFLAGS
11365 ac_wine_try_cflags_saved_cc=$CC
11366 ac_wine_try_cflags_saved_exeext=$ac_exeext
11367 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11368 CC="$CROSSCC"
11369 ac_exeext=".exe"
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11372 int __cdecl mainCRTStartup(void) { return 0; }
11373 _ACEOF
11374 if ac_fn_c_try_link "$LINENO"
11375 then :
11376 ac_cv_crosscflags__Wpointer_arith=yes
11377 else $as_nop
11378 ac_cv_crosscflags__Wpointer_arith=no
11380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11381 conftest$ac_exeext conftest.$ac_ext
11382 CFLAGS=$ac_wine_try_cflags_saved
11383 CC=$ac_wine_try_cflags_saved_cc
11384 ac_exeext=$ac_wine_try_cflags_saved_exeext
11386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11387 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11388 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11389 then :
11390 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11393 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11394 if test ${ac_cv_crosscflags__Wlogical_op+y}
11395 then :
11396 printf %s "(cached) " >&6
11397 else $as_nop
11398 ac_wine_try_cflags_saved=$CFLAGS
11399 ac_wine_try_cflags_saved_cc=$CC
11400 ac_wine_try_cflags_saved_exeext=$ac_exeext
11401 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11402 CC="$CROSSCC"
11403 ac_exeext=".exe"
11404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11405 /* end confdefs.h. */
11406 int __cdecl mainCRTStartup(void) { return 0; }
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"
11409 then :
11410 ac_cv_crosscflags__Wlogical_op=yes
11411 else $as_nop
11412 ac_cv_crosscflags__Wlogical_op=no
11414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11415 conftest$ac_exeext conftest.$ac_ext
11416 CFLAGS=$ac_wine_try_cflags_saved
11417 CC=$ac_wine_try_cflags_saved_cc
11418 ac_exeext=$ac_wine_try_cflags_saved_exeext
11420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11421 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11422 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11423 then :
11424 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11427 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11428 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11429 then :
11430 printf %s "(cached) " >&6
11431 else $as_nop
11432 ac_wine_try_cflags_saved=$CFLAGS
11433 ac_wine_try_cflags_saved_cc=$CC
11434 ac_wine_try_cflags_saved_exeext=$ac_exeext
11435 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11436 CC="$CROSSCC"
11437 ac_exeext=".exe"
11438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h. */
11440 int __cdecl mainCRTStartup(void) { return 0; }
11441 _ACEOF
11442 if ac_fn_c_try_link "$LINENO"
11443 then :
11444 ac_cv_crosscflags__Wabsolute_value=yes
11445 else $as_nop
11446 ac_cv_crosscflags__Wabsolute_value=no
11448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11449 conftest$ac_exeext conftest.$ac_ext
11450 CFLAGS=$ac_wine_try_cflags_saved
11451 CC=$ac_wine_try_cflags_saved_cc
11452 ac_exeext=$ac_wine_try_cflags_saved_exeext
11454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11455 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11456 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11457 then :
11458 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11461 case $host_cpu in
11462 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11463 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11464 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11465 then :
11466 printf %s "(cached) " >&6
11467 else $as_nop
11468 ac_wine_try_cflags_saved=$CFLAGS
11469 ac_wine_try_cflags_saved_cc=$CC
11470 ac_wine_try_cflags_saved_exeext=$ac_exeext
11471 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11472 CC="$CROSSCC"
11473 ac_exeext=".exe"
11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475 /* end confdefs.h. */
11476 int __cdecl mainCRTStartup(void) { return 0; }
11477 _ACEOF
11478 if ac_fn_c_try_link "$LINENO"
11479 then :
11480 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11481 else $as_nop
11482 ac_cv_crosscflags__fno_omit_frame_pointer=no
11484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11485 conftest$ac_exeext conftest.$ac_ext
11486 CFLAGS=$ac_wine_try_cflags_saved
11487 CC=$ac_wine_try_cflags_saved_cc
11488 ac_exeext=$ac_wine_try_cflags_saved_exeext
11490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11491 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11492 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11493 then :
11494 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--disable-stdcall-fixup" >&5
11497 printf %s "checking whether the cross-compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
11498 if test ${ac_cv_crosscflags__Wl___disable_stdcall_fixup+y}
11499 then :
11500 printf %s "(cached) " >&6
11501 else $as_nop
11502 ac_wine_try_cflags_saved=$CFLAGS
11503 ac_wine_try_cflags_saved_cc=$CC
11504 ac_wine_try_cflags_saved_exeext=$ac_exeext
11505 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11506 CC="$CROSSCC"
11507 ac_exeext=".exe"
11508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11510 int __cdecl mainCRTStartup(void) { return 0; }
11511 _ACEOF
11512 if ac_fn_c_try_link "$LINENO"
11513 then :
11514 ac_cv_crosscflags__Wl___disable_stdcall_fixup=yes
11515 else $as_nop
11516 ac_cv_crosscflags__Wl___disable_stdcall_fixup=no
11518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11519 conftest$ac_exeext conftest.$ac_ext
11520 CFLAGS=$ac_wine_try_cflags_saved
11521 CC=$ac_wine_try_cflags_saved_cc
11522 ac_exeext=$ac_wine_try_cflags_saved_exeext
11524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___disable_stdcall_fixup" >&5
11525 printf "%s\n" "$ac_cv_crosscflags__Wl___disable_stdcall_fixup" >&6; }
11526 if test "x$ac_cv_crosscflags__Wl___disable_stdcall_fixup" = xyes
11527 then :
11528 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--disable-stdcall-fixup"
11529 fi ;;
11530 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11531 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11532 if test ${ac_cv_crosscflags__Wno_format+y}
11533 then :
11534 printf %s "(cached) " >&6
11535 else $as_nop
11536 ac_wine_try_cflags_saved=$CFLAGS
11537 ac_wine_try_cflags_saved_cc=$CC
11538 ac_wine_try_cflags_saved_exeext=$ac_exeext
11539 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11540 CC="$CROSSCC"
11541 ac_exeext=".exe"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11544 int __cdecl mainCRTStartup(void) { return 0; }
11545 _ACEOF
11546 if ac_fn_c_try_link "$LINENO"
11547 then :
11548 ac_cv_crosscflags__Wno_format=yes
11549 else $as_nop
11550 ac_cv_crosscflags__Wno_format=no
11552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11553 conftest$ac_exeext conftest.$ac_ext
11554 CFLAGS=$ac_wine_try_cflags_saved
11555 CC=$ac_wine_try_cflags_saved_cc
11556 ac_exeext=$ac_wine_try_cflags_saved_exeext
11558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11559 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11560 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11561 then :
11562 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11565 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11566 if test ${ac_cv_crosscflags__Wformat_overflow+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_cc=$CC
11572 ac_wine_try_cflags_saved_exeext=$ac_exeext
11573 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11574 CC="$CROSSCC"
11575 ac_exeext=".exe"
11576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11578 int __cdecl mainCRTStartup(void) { return 0; }
11579 _ACEOF
11580 if ac_fn_c_try_link "$LINENO"
11581 then :
11582 ac_cv_crosscflags__Wformat_overflow=yes
11583 else $as_nop
11584 ac_cv_crosscflags__Wformat_overflow=no
11586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11587 conftest$ac_exeext conftest.$ac_ext
11588 CFLAGS=$ac_wine_try_cflags_saved
11589 CC=$ac_wine_try_cflags_saved_cc
11590 ac_exeext=$ac_wine_try_cflags_saved_exeext
11592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11593 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11594 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11595 then :
11596 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11599 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11600 if test ${ac_cv_crosscflags__Wnonnull+y}
11601 then :
11602 printf %s "(cached) " >&6
11603 else $as_nop
11604 ac_wine_try_cflags_saved=$CFLAGS
11605 ac_wine_try_cflags_saved_cc=$CC
11606 ac_wine_try_cflags_saved_exeext=$ac_exeext
11607 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11608 CC="$CROSSCC"
11609 ac_exeext=".exe"
11610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11612 int __cdecl mainCRTStartup(void) { return 0; }
11613 _ACEOF
11614 if ac_fn_c_try_link "$LINENO"
11615 then :
11616 ac_cv_crosscflags__Wnonnull=yes
11617 else $as_nop
11618 ac_cv_crosscflags__Wnonnull=no
11620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11621 conftest$ac_exeext conftest.$ac_ext
11622 CFLAGS=$ac_wine_try_cflags_saved
11623 CC=$ac_wine_try_cflags_saved_cc
11624 ac_exeext=$ac_wine_try_cflags_saved_exeext
11626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11627 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11628 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11629 then :
11630 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11633 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11634 if test ${ac_cv_crosscflags__mcx16+y}
11635 then :
11636 printf %s "(cached) " >&6
11637 else $as_nop
11638 ac_wine_try_cflags_saved=$CFLAGS
11639 ac_wine_try_cflags_saved_cc=$CC
11640 ac_wine_try_cflags_saved_exeext=$ac_exeext
11641 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11642 CC="$CROSSCC"
11643 ac_exeext=".exe"
11644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11646 int __cdecl mainCRTStartup(void) { return 0; }
11647 _ACEOF
11648 if ac_fn_c_try_link "$LINENO"
11649 then :
11650 ac_cv_crosscflags__mcx16=yes
11651 else $as_nop
11652 ac_cv_crosscflags__mcx16=no
11654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11655 conftest$ac_exeext conftest.$ac_ext
11656 CFLAGS=$ac_wine_try_cflags_saved
11657 CC=$ac_wine_try_cflags_saved_cc
11658 ac_exeext=$ac_wine_try_cflags_saved_exeext
11660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11661 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11662 if test "x$ac_cv_crosscflags__mcx16" = xyes
11663 then :
11664 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11665 fi ;;
11666 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11667 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11668 if test ${ac_cv_crosscflags__Wno_format+y}
11669 then :
11670 printf %s "(cached) " >&6
11671 else $as_nop
11672 ac_wine_try_cflags_saved=$CFLAGS
11673 ac_wine_try_cflags_saved_cc=$CC
11674 ac_wine_try_cflags_saved_exeext=$ac_exeext
11675 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11676 CC="$CROSSCC"
11677 ac_exeext=".exe"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11680 int __cdecl mainCRTStartup(void) { return 0; }
11681 _ACEOF
11682 if ac_fn_c_try_link "$LINENO"
11683 then :
11684 ac_cv_crosscflags__Wno_format=yes
11685 else $as_nop
11686 ac_cv_crosscflags__Wno_format=no
11688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11689 conftest$ac_exeext conftest.$ac_ext
11690 CFLAGS=$ac_wine_try_cflags_saved
11691 CC=$ac_wine_try_cflags_saved_cc
11692 ac_exeext=$ac_wine_try_cflags_saved_exeext
11694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11695 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11696 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11697 then :
11698 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11699 fi ;;
11700 esac
11703 if test -z "$CROSSDEBUG"
11704 then
11705 for ac_flag in $CROSSCFLAGS; do
11706 case $ac_flag in
11707 -gdwarf*) CROSSDEBUG=dwarf ;;
11708 -gcodeview) CROSSDEBUG=pdb ;;
11709 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11710 esac
11711 done
11714 ac_debug_format_seen=""
11715 for ac_flag in $CROSSCFLAGS; do
11716 case $ac_flag in
11717 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11718 esac
11719 done
11720 if test "x$ac_debug_format_seen" = x
11721 then
11722 case $CROSSDEBUG in
11723 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11724 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11725 if test ${ac_cv_crosscflags__gdwarf_4+y}
11726 then :
11727 printf %s "(cached) " >&6
11728 else $as_nop
11729 ac_wine_try_cflags_saved=$CFLAGS
11730 ac_wine_try_cflags_saved_cc=$CC
11731 ac_wine_try_cflags_saved_exeext=$ac_exeext
11732 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11733 CC="$CROSSCC"
11734 ac_exeext=".exe"
11735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11736 /* end confdefs.h. */
11737 int __cdecl mainCRTStartup(void) { return 0; }
11738 _ACEOF
11739 if ac_fn_c_try_link "$LINENO"
11740 then :
11741 ac_cv_crosscflags__gdwarf_4=yes
11742 else $as_nop
11743 ac_cv_crosscflags__gdwarf_4=no
11745 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11746 conftest$ac_exeext conftest.$ac_ext
11747 CFLAGS=$ac_wine_try_cflags_saved
11748 CC=$ac_wine_try_cflags_saved_cc
11749 ac_exeext=$ac_wine_try_cflags_saved_exeext
11751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11752 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11753 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11754 then :
11755 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11756 fi ;;
11757 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11758 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11759 if test ${ac_cv_crosscflags__gcodeview+y}
11760 then :
11761 printf %s "(cached) " >&6
11762 else $as_nop
11763 ac_wine_try_cflags_saved=$CFLAGS
11764 ac_wine_try_cflags_saved_cc=$CC
11765 ac_wine_try_cflags_saved_exeext=$ac_exeext
11766 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11767 CC="$CROSSCC"
11768 ac_exeext=".exe"
11769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11770 /* end confdefs.h. */
11771 int __cdecl mainCRTStartup(void) { return 0; }
11772 _ACEOF
11773 if ac_fn_c_try_link "$LINENO"
11774 then :
11775 ac_cv_crosscflags__gcodeview=yes
11776 else $as_nop
11777 ac_cv_crosscflags__gcodeview=no
11779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11780 conftest$ac_exeext conftest.$ac_ext
11781 CFLAGS=$ac_wine_try_cflags_saved
11782 CC=$ac_wine_try_cflags_saved_cc
11783 ac_exeext=$ac_wine_try_cflags_saved_exeext
11785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11786 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11787 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11788 then :
11789 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11790 fi ;;
11791 esac
11794 if test "x$enable_werror" = "xyes"
11795 then
11796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11797 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11798 if test ${ac_cv_crosscflags__Werror+y}
11799 then :
11800 printf %s "(cached) " >&6
11801 else $as_nop
11802 ac_wine_try_cflags_saved=$CFLAGS
11803 ac_wine_try_cflags_saved_cc=$CC
11804 ac_wine_try_cflags_saved_exeext=$ac_exeext
11805 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11806 CC="$CROSSCC"
11807 ac_exeext=".exe"
11808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11809 /* end confdefs.h. */
11810 int __cdecl mainCRTStartup(void) { return 0; }
11811 _ACEOF
11812 if ac_fn_c_try_link "$LINENO"
11813 then :
11814 ac_cv_crosscflags__Werror=yes
11815 else $as_nop
11816 ac_cv_crosscflags__Werror=no
11818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11819 conftest$ac_exeext conftest.$ac_ext
11820 CFLAGS=$ac_wine_try_cflags_saved
11821 CC=$ac_wine_try_cflags_saved_cc
11822 ac_exeext=$ac_wine_try_cflags_saved_exeext
11824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11825 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11826 if test "x$ac_cv_crosscflags__Werror" = xyes
11827 then :
11828 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11831 if test "x$enable_build_id" = "xyes"
11832 then
11833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11834 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11835 if test ${ac_cv_crosscflags__Wl___build_id+y}
11836 then :
11837 printf %s "(cached) " >&6
11838 else $as_nop
11839 ac_wine_try_cflags_saved=$CFLAGS
11840 ac_wine_try_cflags_saved_cc=$CC
11841 ac_wine_try_cflags_saved_exeext=$ac_exeext
11842 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11843 CC="$CROSSCC"
11844 ac_exeext=".exe"
11845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11846 /* end confdefs.h. */
11847 int __cdecl mainCRTStartup(void) { return 0; }
11848 _ACEOF
11849 if ac_fn_c_try_link "$LINENO"
11850 then :
11851 ac_cv_crosscflags__Wl___build_id=yes
11852 else $as_nop
11853 ac_cv_crosscflags__Wl___build_id=no
11855 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11856 conftest$ac_exeext conftest.$ac_ext
11857 CFLAGS=$ac_wine_try_cflags_saved
11858 CC=$ac_wine_try_cflags_saved_cc
11859 ac_exeext=$ac_wine_try_cflags_saved_exeext
11861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11862 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11863 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11864 then :
11865 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11866 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11870 CFLAGS=$saved_CFLAGS
11871 LDFLAGS=$saved_LDFLAGS
11872 CC="$ac_save_CC"
11875 if test "x$CROSSTARGET" = "x"
11876 then :
11877 case "x$with_mingw" in
11878 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11879 xno) ;;
11880 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11881 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11882 esac
11886 case $host_cpu in
11887 aarch64*) test "x$CROSSTARGET" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5 ;;
11888 esac
11891 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11892 then
11893 case "$host_cpu" in
11894 i[3456789]86*)
11895 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11897 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11898 esac
11899 for ac_prog in $ac_prefix_list
11901 # Extract the first word of "$ac_prog", so it can be a program name with args.
11902 set dummy $ac_prog; ac_word=$2
11903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11904 printf %s "checking for $ac_word... " >&6; }
11905 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11906 then :
11907 printf %s "(cached) " >&6
11908 else $as_nop
11909 if test -n "$MINGW_PKG_CONFIG"; then
11910 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11911 else
11912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11913 for as_dir in $PATH
11915 IFS=$as_save_IFS
11916 case $as_dir in #(((
11917 '') as_dir=./ ;;
11918 */) ;;
11919 *) as_dir=$as_dir/ ;;
11920 esac
11921 for ac_exec_ext in '' $ac_executable_extensions; do
11922 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11923 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11924 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11925 break 2
11927 done
11928 done
11929 IFS=$as_save_IFS
11933 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11934 if test -n "$MINGW_PKG_CONFIG"; then
11935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11936 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11937 else
11938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11939 printf "%s\n" "no" >&6; }
11943 test -n "$MINGW_PKG_CONFIG" && break
11944 done
11945 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11947 if ${FAUDIO_PE_CFLAGS:+false} :
11948 then :
11949 if test ${MINGW_PKG_CONFIG+y}
11950 then :
11951 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11954 if ${FAUDIO_PE_LIBS:+false} :
11955 then :
11956 if test ${MINGW_PKG_CONFIG+y}
11957 then :
11958 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11961 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11962 ac_save_CPPFLAGS=$CPPFLAGS
11963 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11965 printf %s "checking for MinGW FAudio.h... " >&6; }
11966 if test ${ac_cv_mingw_header_FAudio_h+y}
11967 then :
11968 printf %s "(cached) " >&6
11969 else $as_nop
11970 ac_wine_check_headers_saved_cc=$CC
11971 ac_wine_check_headers_saved_exeext=$ac_exeext
11972 CC="$CROSSCC"
11973 ac_exeext=".exe"
11974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11975 /* end confdefs.h. */
11977 #include <FAudio.h>
11979 main (void)
11983 return 0;
11985 _ACEOF
11986 if ac_fn_c_try_compile "$LINENO"
11987 then :
11988 ac_cv_mingw_header_FAudio_h=yes
11989 else $as_nop
11990 ac_cv_mingw_header_FAudio_h=no
11992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11993 CC=$ac_wine_check_headers_saved_cc
11994 ac_exeext=$ac_wine_check_headers_saved_exeext
11996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11997 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11998 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11999 then :
12000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12001 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12002 if test ${ac_cv_mingw_lib_FAudio+y}
12003 then :
12004 printf %s "(cached) " >&6
12005 else $as_nop
12006 ac_wine_check_headers_saved_cc=$CC
12007 ac_wine_check_headers_saved_exeext=$ac_exeext
12008 ac_wine_check_headers_saved_libs=$LIBS
12009 CC="$CROSSCC"
12010 ac_exeext=".exe"
12011 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12015 /* Override any GCC internal prototype to avoid an error.
12016 Use char because int might match the return type of a GCC
12017 builtin and then its argument prototype would still apply. */
12018 char FAudio_CommitOperationSet ();
12020 main (void)
12022 return FAudio_CommitOperationSet ();
12024 return 0;
12026 _ACEOF
12027 if ac_fn_c_try_link "$LINENO"
12028 then :
12029 ac_cv_mingw_lib_FAudio=yes
12030 else $as_nop
12031 ac_cv_mingw_lib_FAudio=no
12033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12034 conftest$ac_exeext conftest.$ac_ext
12035 CC=$ac_wine_check_headers_saved_cc
12036 ac_exeext=$ac_wine_check_headers_saved_exeext
12037 LIBS=$ac_wine_check_headers_saved_libs
12039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12040 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12041 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12042 then :
12044 else $as_nop
12045 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12047 else $as_nop
12048 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12050 CPPFLAGS=$ac_save_CPPFLAGS
12052 if test "x$FAUDIO_PE_LIBS" = "x"
12053 then
12054 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12057 if ${JPEG_PE_CFLAGS:+false} :
12058 then :
12059 if test ${MINGW_PKG_CONFIG+y}
12060 then :
12061 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12064 if ${JPEG_PE_LIBS:+false} :
12065 then :
12066 if test ${MINGW_PKG_CONFIG+y}
12067 then :
12068 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12072 ac_save_CPPFLAGS=$CPPFLAGS
12073 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12075 printf %s "checking for MinGW jpeglib.h... " >&6; }
12076 if test ${ac_cv_mingw_header_jpeglib_h+y}
12077 then :
12078 printf %s "(cached) " >&6
12079 else $as_nop
12080 ac_wine_check_headers_saved_cc=$CC
12081 ac_wine_check_headers_saved_exeext=$ac_exeext
12082 CC="$CROSSCC"
12083 ac_exeext=".exe"
12084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12086 #include <stddef.h>
12087 #include <stdio.h>
12088 #include <jpeglib.h>
12090 main (void)
12094 return 0;
12096 _ACEOF
12097 if ac_fn_c_try_compile "$LINENO"
12098 then :
12099 ac_cv_mingw_header_jpeglib_h=yes
12100 else $as_nop
12101 ac_cv_mingw_header_jpeglib_h=no
12103 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12104 CC=$ac_wine_check_headers_saved_cc
12105 ac_exeext=$ac_wine_check_headers_saved_exeext
12107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12108 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12109 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12110 then :
12111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12112 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12113 if test ${ac_cv_mingw_lib_jpeg+y}
12114 then :
12115 printf %s "(cached) " >&6
12116 else $as_nop
12117 ac_wine_check_headers_saved_cc=$CC
12118 ac_wine_check_headers_saved_exeext=$ac_exeext
12119 ac_wine_check_headers_saved_libs=$LIBS
12120 CC="$CROSSCC"
12121 ac_exeext=".exe"
12122 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12124 /* end confdefs.h. */
12126 /* Override any GCC internal prototype to avoid an error.
12127 Use char because int might match the return type of a GCC
12128 builtin and then its argument prototype would still apply. */
12129 char jpeg_start_decompress ();
12131 main (void)
12133 return jpeg_start_decompress ();
12135 return 0;
12137 _ACEOF
12138 if ac_fn_c_try_link "$LINENO"
12139 then :
12140 ac_cv_mingw_lib_jpeg=yes
12141 else $as_nop
12142 ac_cv_mingw_lib_jpeg=no
12144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12145 conftest$ac_exeext conftest.$ac_ext
12146 CC=$ac_wine_check_headers_saved_cc
12147 ac_exeext=$ac_wine_check_headers_saved_exeext
12148 LIBS=$ac_wine_check_headers_saved_libs
12150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12151 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12152 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12153 then :
12155 else $as_nop
12156 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12158 else $as_nop
12159 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12161 CPPFLAGS=$ac_save_CPPFLAGS
12163 if test "x$JPEG_PE_LIBS" = "x"
12164 then
12165 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12168 if ${LCMS2_PE_CFLAGS:+false} :
12169 then :
12170 if test ${MINGW_PKG_CONFIG+y}
12171 then :
12172 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12175 if ${LCMS2_PE_LIBS:+false} :
12176 then :
12177 if test ${MINGW_PKG_CONFIG+y}
12178 then :
12179 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12182 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12183 ac_save_CPPFLAGS=$CPPFLAGS
12184 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12186 printf %s "checking for MinGW lcms2.h... " >&6; }
12187 if test ${ac_cv_mingw_header_lcms2_h+y}
12188 then :
12189 printf %s "(cached) " >&6
12190 else $as_nop
12191 ac_wine_check_headers_saved_cc=$CC
12192 ac_wine_check_headers_saved_exeext=$ac_exeext
12193 CC="$CROSSCC"
12194 ac_exeext=".exe"
12195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12196 /* end confdefs.h. */
12198 #include <lcms2.h>
12200 main (void)
12204 return 0;
12206 _ACEOF
12207 if ac_fn_c_try_compile "$LINENO"
12208 then :
12209 ac_cv_mingw_header_lcms2_h=yes
12210 else $as_nop
12211 ac_cv_mingw_header_lcms2_h=no
12213 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12214 CC=$ac_wine_check_headers_saved_cc
12215 ac_exeext=$ac_wine_check_headers_saved_exeext
12217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12218 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12219 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12220 then :
12221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12222 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12223 if test ${ac_cv_mingw_lib_lcms2+y}
12224 then :
12225 printf %s "(cached) " >&6
12226 else $as_nop
12227 ac_wine_check_headers_saved_cc=$CC
12228 ac_wine_check_headers_saved_exeext=$ac_exeext
12229 ac_wine_check_headers_saved_libs=$LIBS
12230 CC="$CROSSCC"
12231 ac_exeext=".exe"
12232 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12234 /* end confdefs.h. */
12236 /* Override any GCC internal prototype to avoid an error.
12237 Use char because int might match the return type of a GCC
12238 builtin and then its argument prototype would still apply. */
12239 char cmsOpenProfileFromFile ();
12241 main (void)
12243 return cmsOpenProfileFromFile ();
12245 return 0;
12247 _ACEOF
12248 if ac_fn_c_try_link "$LINENO"
12249 then :
12250 ac_cv_mingw_lib_lcms2=yes
12251 else $as_nop
12252 ac_cv_mingw_lib_lcms2=no
12254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12255 conftest$ac_exeext conftest.$ac_ext
12256 CC=$ac_wine_check_headers_saved_cc
12257 ac_exeext=$ac_wine_check_headers_saved_exeext
12258 LIBS=$ac_wine_check_headers_saved_libs
12260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12261 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12262 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12263 then :
12265 else $as_nop
12266 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12268 else $as_nop
12269 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12271 CPPFLAGS=$ac_save_CPPFLAGS
12273 if test "x$LCMS2_PE_LIBS" = "x"
12274 then
12275 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12278 if ${MPG123_PE_CFLAGS:+false} :
12279 then :
12280 if test ${MINGW_PKG_CONFIG+y}
12281 then :
12282 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12285 if ${MPG123_PE_LIBS:+false} :
12286 then :
12287 if test ${MINGW_PKG_CONFIG+y}
12288 then :
12289 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12292 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12293 ac_save_CPPFLAGS=$CPPFLAGS
12294 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12296 printf %s "checking for MinGW mpg123.h... " >&6; }
12297 if test ${ac_cv_mingw_header_mpg123_h+y}
12298 then :
12299 printf %s "(cached) " >&6
12300 else $as_nop
12301 ac_wine_check_headers_saved_cc=$CC
12302 ac_wine_check_headers_saved_exeext=$ac_exeext
12303 CC="$CROSSCC"
12304 ac_exeext=".exe"
12305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12306 /* end confdefs.h. */
12308 #include <mpg123.h>
12310 main (void)
12314 return 0;
12316 _ACEOF
12317 if ac_fn_c_try_compile "$LINENO"
12318 then :
12319 ac_cv_mingw_header_mpg123_h=yes
12320 else $as_nop
12321 ac_cv_mingw_header_mpg123_h=no
12323 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12324 CC=$ac_wine_check_headers_saved_cc
12325 ac_exeext=$ac_wine_check_headers_saved_exeext
12327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12328 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12329 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12330 then :
12331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12332 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12333 if test ${ac_cv_mingw_lib_mpg123+y}
12334 then :
12335 printf %s "(cached) " >&6
12336 else $as_nop
12337 ac_wine_check_headers_saved_cc=$CC
12338 ac_wine_check_headers_saved_exeext=$ac_exeext
12339 ac_wine_check_headers_saved_libs=$LIBS
12340 CC="$CROSSCC"
12341 ac_exeext=".exe"
12342 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12344 /* end confdefs.h. */
12346 /* Override any GCC internal prototype to avoid an error.
12347 Use char because int might match the return type of a GCC
12348 builtin and then its argument prototype would still apply. */
12349 char mpg123_feed ();
12351 main (void)
12353 return mpg123_feed ();
12355 return 0;
12357 _ACEOF
12358 if ac_fn_c_try_link "$LINENO"
12359 then :
12360 ac_cv_mingw_lib_mpg123=yes
12361 else $as_nop
12362 ac_cv_mingw_lib_mpg123=no
12364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12365 conftest$ac_exeext conftest.$ac_ext
12366 CC=$ac_wine_check_headers_saved_cc
12367 ac_exeext=$ac_wine_check_headers_saved_exeext
12368 LIBS=$ac_wine_check_headers_saved_libs
12370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12371 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12372 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12373 then :
12375 else $as_nop
12376 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12378 else $as_nop
12379 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12381 CPPFLAGS=$ac_save_CPPFLAGS
12383 if test "x$MPG123_PE_LIBS" = "x"
12384 then
12385 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12388 if ${PNG_PE_CFLAGS:+false} :
12389 then :
12390 if test ${MINGW_PKG_CONFIG+y}
12391 then :
12392 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12395 if ${PNG_PE_LIBS:+false} :
12396 then :
12397 if test ${MINGW_PKG_CONFIG+y}
12398 then :
12399 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12403 ac_save_CPPFLAGS=$CPPFLAGS
12404 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12406 printf %s "checking for MinGW png.h... " >&6; }
12407 if test ${ac_cv_mingw_header_png_h+y}
12408 then :
12409 printf %s "(cached) " >&6
12410 else $as_nop
12411 ac_wine_check_headers_saved_cc=$CC
12412 ac_wine_check_headers_saved_exeext=$ac_exeext
12413 CC="$CROSSCC"
12414 ac_exeext=".exe"
12415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12416 /* end confdefs.h. */
12418 #include <png.h>
12420 main (void)
12424 return 0;
12426 _ACEOF
12427 if ac_fn_c_try_compile "$LINENO"
12428 then :
12429 ac_cv_mingw_header_png_h=yes
12430 else $as_nop
12431 ac_cv_mingw_header_png_h=no
12433 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12434 CC=$ac_wine_check_headers_saved_cc
12435 ac_exeext=$ac_wine_check_headers_saved_exeext
12437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12438 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12439 if test "x$ac_cv_mingw_header_png_h" = xyes
12440 then :
12441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12442 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12443 if test ${ac_cv_mingw_lib_png+y}
12444 then :
12445 printf %s "(cached) " >&6
12446 else $as_nop
12447 ac_wine_check_headers_saved_cc=$CC
12448 ac_wine_check_headers_saved_exeext=$ac_exeext
12449 ac_wine_check_headers_saved_libs=$LIBS
12450 CC="$CROSSCC"
12451 ac_exeext=".exe"
12452 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12454 /* end confdefs.h. */
12456 /* Override any GCC internal prototype to avoid an error.
12457 Use char because int might match the return type of a GCC
12458 builtin and then its argument prototype would still apply. */
12459 char png_create_read_struct ();
12461 main (void)
12463 return png_create_read_struct ();
12465 return 0;
12467 _ACEOF
12468 if ac_fn_c_try_link "$LINENO"
12469 then :
12470 ac_cv_mingw_lib_png=yes
12471 else $as_nop
12472 ac_cv_mingw_lib_png=no
12474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12475 conftest$ac_exeext conftest.$ac_ext
12476 CC=$ac_wine_check_headers_saved_cc
12477 ac_exeext=$ac_wine_check_headers_saved_exeext
12478 LIBS=$ac_wine_check_headers_saved_libs
12480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12481 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12482 if test "x$ac_cv_mingw_lib_png" = xyes
12483 then :
12485 else $as_nop
12486 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12488 else $as_nop
12489 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12491 CPPFLAGS=$ac_save_CPPFLAGS
12493 if test "x$PNG_PE_LIBS" = "x"
12494 then
12495 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12498 if ${TIFF_PE_CFLAGS:+false} :
12499 then :
12500 if test ${MINGW_PKG_CONFIG+y}
12501 then :
12502 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12505 if ${TIFF_PE_LIBS:+false} :
12506 then :
12507 if test ${MINGW_PKG_CONFIG+y}
12508 then :
12509 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12513 ac_save_CPPFLAGS=$CPPFLAGS
12514 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12516 printf %s "checking for MinGW tiffio.h... " >&6; }
12517 if test ${ac_cv_mingw_header_tiffio_h+y}
12518 then :
12519 printf %s "(cached) " >&6
12520 else $as_nop
12521 ac_wine_check_headers_saved_cc=$CC
12522 ac_wine_check_headers_saved_exeext=$ac_exeext
12523 CC="$CROSSCC"
12524 ac_exeext=".exe"
12525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12526 /* end confdefs.h. */
12528 #include <tiffio.h>
12530 main (void)
12534 return 0;
12536 _ACEOF
12537 if ac_fn_c_try_compile "$LINENO"
12538 then :
12539 ac_cv_mingw_header_tiffio_h=yes
12540 else $as_nop
12541 ac_cv_mingw_header_tiffio_h=no
12543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12544 CC=$ac_wine_check_headers_saved_cc
12545 ac_exeext=$ac_wine_check_headers_saved_exeext
12547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12548 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12549 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12550 then :
12551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12552 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12553 if test ${ac_cv_mingw_lib_tiff+y}
12554 then :
12555 printf %s "(cached) " >&6
12556 else $as_nop
12557 ac_wine_check_headers_saved_cc=$CC
12558 ac_wine_check_headers_saved_exeext=$ac_exeext
12559 ac_wine_check_headers_saved_libs=$LIBS
12560 CC="$CROSSCC"
12561 ac_exeext=".exe"
12562 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12564 /* end confdefs.h. */
12566 /* Override any GCC internal prototype to avoid an error.
12567 Use char because int might match the return type of a GCC
12568 builtin and then its argument prototype would still apply. */
12569 char TIFFClientOpen ();
12571 main (void)
12573 return TIFFClientOpen ();
12575 return 0;
12577 _ACEOF
12578 if ac_fn_c_try_link "$LINENO"
12579 then :
12580 ac_cv_mingw_lib_tiff=yes
12581 else $as_nop
12582 ac_cv_mingw_lib_tiff=no
12584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12585 conftest$ac_exeext conftest.$ac_ext
12586 CC=$ac_wine_check_headers_saved_cc
12587 ac_exeext=$ac_wine_check_headers_saved_exeext
12588 LIBS=$ac_wine_check_headers_saved_libs
12590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12591 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12592 if test "x$ac_cv_mingw_lib_tiff" = xyes
12593 then :
12595 else $as_nop
12596 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12598 else $as_nop
12599 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12601 CPPFLAGS=$ac_save_CPPFLAGS
12603 if test "x$TIFF_PE_LIBS" = "x"
12604 then
12605 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12608 if ${XML2_PE_CFLAGS:+false} :
12609 then :
12610 if test ${MINGW_PKG_CONFIG+y}
12611 then :
12612 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12615 if ${XML2_PE_LIBS:+false} :
12616 then :
12617 if test ${MINGW_PKG_CONFIG+y}
12618 then :
12619 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12622 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12623 ac_save_CPPFLAGS=$CPPFLAGS
12624 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12626 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12627 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12628 then :
12629 printf %s "(cached) " >&6
12630 else $as_nop
12631 ac_wine_check_headers_saved_cc=$CC
12632 ac_wine_check_headers_saved_exeext=$ac_exeext
12633 CC="$CROSSCC"
12634 ac_exeext=".exe"
12635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12636 /* end confdefs.h. */
12638 #include <libxml/parser.h>
12640 main (void)
12644 return 0;
12646 _ACEOF
12647 if ac_fn_c_try_compile "$LINENO"
12648 then :
12649 ac_cv_mingw_header_libxml_parser_h=yes
12650 else $as_nop
12651 ac_cv_mingw_header_libxml_parser_h=no
12653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12654 CC=$ac_wine_check_headers_saved_cc
12655 ac_exeext=$ac_wine_check_headers_saved_exeext
12657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12658 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12659 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12660 then :
12663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12664 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12665 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12666 then :
12667 printf %s "(cached) " >&6
12668 else $as_nop
12669 ac_wine_check_headers_saved_cc=$CC
12670 ac_wine_check_headers_saved_exeext=$ac_exeext
12671 CC="$CROSSCC"
12672 ac_exeext=".exe"
12673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12674 /* end confdefs.h. */
12676 #include <libxml/xmlsave.h>
12678 main (void)
12682 return 0;
12684 _ACEOF
12685 if ac_fn_c_try_compile "$LINENO"
12686 then :
12687 ac_cv_mingw_header_libxml_xmlsave_h=yes
12688 else $as_nop
12689 ac_cv_mingw_header_libxml_xmlsave_h=no
12691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12692 CC=$ac_wine_check_headers_saved_cc
12693 ac_exeext=$ac_wine_check_headers_saved_exeext
12695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12696 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12697 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12698 then :
12701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12702 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12703 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12704 then :
12705 printf %s "(cached) " >&6
12706 else $as_nop
12707 ac_wine_check_headers_saved_cc=$CC
12708 ac_wine_check_headers_saved_exeext=$ac_exeext
12709 CC="$CROSSCC"
12710 ac_exeext=".exe"
12711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12712 /* end confdefs.h. */
12714 #include <libxml/SAX2.h>
12716 main (void)
12720 return 0;
12722 _ACEOF
12723 if ac_fn_c_try_compile "$LINENO"
12724 then :
12725 ac_cv_mingw_header_libxml_SAX2_h=yes
12726 else $as_nop
12727 ac_cv_mingw_header_libxml_SAX2_h=no
12729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12730 CC=$ac_wine_check_headers_saved_cc
12731 ac_exeext=$ac_wine_check_headers_saved_exeext
12733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12734 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12735 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12736 then :
12739 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"
12740 then
12741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12742 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12743 if test ${ac_cv_mingw_lib_xml2+y}
12744 then :
12745 printf %s "(cached) " >&6
12746 else $as_nop
12747 ac_wine_check_headers_saved_cc=$CC
12748 ac_wine_check_headers_saved_exeext=$ac_exeext
12749 ac_wine_check_headers_saved_libs=$LIBS
12750 CC="$CROSSCC"
12751 ac_exeext=".exe"
12752 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12756 /* Override any GCC internal prototype to avoid an error.
12757 Use char because int might match the return type of a GCC
12758 builtin and then its argument prototype would still apply. */
12759 char xmlFirstElementChild ();
12761 main (void)
12763 return xmlFirstElementChild ();
12765 return 0;
12767 _ACEOF
12768 if ac_fn_c_try_link "$LINENO"
12769 then :
12770 ac_cv_mingw_lib_xml2=yes
12771 else $as_nop
12772 ac_cv_mingw_lib_xml2=no
12774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12775 conftest$ac_exeext conftest.$ac_ext
12776 CC=$ac_wine_check_headers_saved_cc
12777 ac_exeext=$ac_wine_check_headers_saved_exeext
12778 LIBS=$ac_wine_check_headers_saved_libs
12780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12781 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12782 if test "x$ac_cv_mingw_lib_xml2" = xyes
12783 then :
12785 else $as_nop
12786 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12788 else
12789 XML2_PE_CFLAGS=""
12790 XML2_PE_LIBS=""
12792 CPPFLAGS=$ac_save_CPPFLAGS
12794 if test "x$XML2_PE_LIBS" = "x"
12795 then
12796 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12799 if ${XSLT_PE_CFLAGS:+false} :
12800 then :
12801 if test ${MINGW_PKG_CONFIG+y}
12802 then :
12803 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12806 if ${XSLT_PE_LIBS:+false} :
12807 then :
12808 if test ${MINGW_PKG_CONFIG+y}
12809 then :
12810 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12813 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12814 ac_save_CPPFLAGS=$CPPFLAGS
12815 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12817 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12818 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12819 then :
12820 printf %s "(cached) " >&6
12821 else $as_nop
12822 ac_wine_check_headers_saved_cc=$CC
12823 ac_wine_check_headers_saved_exeext=$ac_exeext
12824 CC="$CROSSCC"
12825 ac_exeext=".exe"
12826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12827 /* end confdefs.h. */
12829 #include <libxslt/pattern.h>
12831 main (void)
12835 return 0;
12837 _ACEOF
12838 if ac_fn_c_try_compile "$LINENO"
12839 then :
12840 ac_cv_mingw_header_libxslt_pattern_h=yes
12841 else $as_nop
12842 ac_cv_mingw_header_libxslt_pattern_h=no
12844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12845 CC=$ac_wine_check_headers_saved_cc
12846 ac_exeext=$ac_wine_check_headers_saved_exeext
12848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12849 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12850 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12851 then :
12854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12855 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12856 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12857 then :
12858 printf %s "(cached) " >&6
12859 else $as_nop
12860 ac_wine_check_headers_saved_cc=$CC
12861 ac_wine_check_headers_saved_exeext=$ac_exeext
12862 CC="$CROSSCC"
12863 ac_exeext=".exe"
12864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12867 #include <libxslt/transform.h>
12869 main (void)
12873 return 0;
12875 _ACEOF
12876 if ac_fn_c_try_compile "$LINENO"
12877 then :
12878 ac_cv_mingw_header_libxslt_transform_h=yes
12879 else $as_nop
12880 ac_cv_mingw_header_libxslt_transform_h=no
12882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12883 CC=$ac_wine_check_headers_saved_cc
12884 ac_exeext=$ac_wine_check_headers_saved_exeext
12886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12887 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12888 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12889 then :
12892 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12893 then
12894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12895 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12896 if test ${ac_cv_mingw_lib_xslt+y}
12897 then :
12898 printf %s "(cached) " >&6
12899 else $as_nop
12900 ac_wine_check_headers_saved_cc=$CC
12901 ac_wine_check_headers_saved_exeext=$ac_exeext
12902 ac_wine_check_headers_saved_libs=$LIBS
12903 CC="$CROSSCC"
12904 ac_exeext=".exe"
12905 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12907 /* end confdefs.h. */
12909 /* Override any GCC internal prototype to avoid an error.
12910 Use char because int might match the return type of a GCC
12911 builtin and then its argument prototype would still apply. */
12912 char xsltCompilePattern ();
12914 main (void)
12916 return xsltCompilePattern ();
12918 return 0;
12920 _ACEOF
12921 if ac_fn_c_try_link "$LINENO"
12922 then :
12923 ac_cv_mingw_lib_xslt=yes
12924 else $as_nop
12925 ac_cv_mingw_lib_xslt=no
12927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12928 conftest$ac_exeext conftest.$ac_ext
12929 CC=$ac_wine_check_headers_saved_cc
12930 ac_exeext=$ac_wine_check_headers_saved_exeext
12931 LIBS=$ac_wine_check_headers_saved_libs
12933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12934 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12935 if test "x$ac_cv_mingw_lib_xslt" = xyes
12936 then :
12938 else $as_nop
12939 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12941 else
12942 XSLT_PE_CFLAGS=""
12943 XSLT_PE_LIBS=""
12945 CPPFLAGS=$ac_save_CPPFLAGS
12947 if test "x$XSLT_PE_LIBS" = "x"
12948 then
12949 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12952 if ${VKD3D_PE_CFLAGS:+false} :
12953 then :
12954 if test ${MINGW_PKG_CONFIG+y}
12955 then :
12956 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12959 if ${VKD3D_PE_LIBS:+false} :
12960 then :
12961 if test ${MINGW_PKG_CONFIG+y}
12962 then :
12963 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12966 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12967 ac_save_CPPFLAGS=$CPPFLAGS
12968 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12970 printf %s "checking for MinGW vkd3d.h... " >&6; }
12971 if test ${ac_cv_mingw_header_vkd3d_h+y}
12972 then :
12973 printf %s "(cached) " >&6
12974 else $as_nop
12975 ac_wine_check_headers_saved_cc=$CC
12976 ac_wine_check_headers_saved_exeext=$ac_exeext
12977 CC="$CROSSCC"
12978 ac_exeext=".exe"
12979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12980 /* end confdefs.h. */
12982 #include <vkd3d.h>
12984 main (void)
12988 return 0;
12990 _ACEOF
12991 if ac_fn_c_try_compile "$LINENO"
12992 then :
12993 ac_cv_mingw_header_vkd3d_h=yes
12994 else $as_nop
12995 ac_cv_mingw_header_vkd3d_h=no
12997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12998 CC=$ac_wine_check_headers_saved_cc
12999 ac_exeext=$ac_wine_check_headers_saved_exeext
13001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13002 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13003 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13004 then :
13007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13008 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13009 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13010 then :
13011 printf %s "(cached) " >&6
13012 else $as_nop
13013 ac_wine_check_headers_saved_cc=$CC
13014 ac_wine_check_headers_saved_exeext=$ac_exeext
13015 CC="$CROSSCC"
13016 ac_exeext=".exe"
13017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13020 #include <vkd3d_shader.h>
13022 main (void)
13026 return 0;
13028 _ACEOF
13029 if ac_fn_c_try_compile "$LINENO"
13030 then :
13031 ac_cv_mingw_header_vkd3d_shader_h=yes
13032 else $as_nop
13033 ac_cv_mingw_header_vkd3d_shader_h=no
13035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13036 CC=$ac_wine_check_headers_saved_cc
13037 ac_exeext=$ac_wine_check_headers_saved_exeext
13039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13040 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13041 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13042 then :
13045 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13046 then
13047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13048 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13049 if test ${ac_cv_mingw_lib_vkd3d+y}
13050 then :
13051 printf %s "(cached) " >&6
13052 else $as_nop
13053 ac_wine_check_headers_saved_cc=$CC
13054 ac_wine_check_headers_saved_exeext=$ac_exeext
13055 ac_wine_check_headers_saved_libs=$LIBS
13056 CC="$CROSSCC"
13057 ac_exeext=".exe"
13058 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13060 /* end confdefs.h. */
13062 /* Override any GCC internal prototype to avoid an error.
13063 Use char because int might match the return type of a GCC
13064 builtin and then its argument prototype would still apply. */
13065 char vkd3d_set_log_callback ();
13067 main (void)
13069 return vkd3d_set_log_callback ();
13071 return 0;
13073 _ACEOF
13074 if ac_fn_c_try_link "$LINENO"
13075 then :
13076 ac_cv_mingw_lib_vkd3d=yes
13077 else $as_nop
13078 ac_cv_mingw_lib_vkd3d=no
13080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13081 conftest$ac_exeext conftest.$ac_ext
13082 CC=$ac_wine_check_headers_saved_cc
13083 ac_exeext=$ac_wine_check_headers_saved_exeext
13084 LIBS=$ac_wine_check_headers_saved_libs
13086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13087 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13088 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13089 then :
13091 else $as_nop
13094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13095 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13096 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13097 then :
13098 printf %s "(cached) " >&6
13099 else $as_nop
13100 ac_wine_check_headers_saved_cc=$CC
13101 ac_wine_check_headers_saved_exeext=$ac_exeext
13102 ac_wine_check_headers_saved_libs=$LIBS
13103 CC="$CROSSCC"
13104 ac_exeext=".exe"
13105 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13109 /* Override any GCC internal prototype to avoid an error.
13110 Use char because int might match the return type of a GCC
13111 builtin and then its argument prototype would still apply. */
13112 char vkd3d_shader_compile ();
13114 main (void)
13116 return vkd3d_shader_compile ();
13118 return 0;
13120 _ACEOF
13121 if ac_fn_c_try_link "$LINENO"
13122 then :
13123 ac_cv_mingw_lib_vkd3d_shader=yes
13124 else $as_nop
13125 ac_cv_mingw_lib_vkd3d_shader=no
13127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13128 conftest$ac_exeext conftest.$ac_ext
13129 CC=$ac_wine_check_headers_saved_cc
13130 ac_exeext=$ac_wine_check_headers_saved_exeext
13131 LIBS=$ac_wine_check_headers_saved_libs
13133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13134 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13135 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13136 then :
13138 else $as_nop
13141 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13142 then
13143 VKD3D_PE_CFLAGS=""
13144 VKD3D_PE_LIBS=""
13146 else
13147 VKD3D_PE_CFLAGS=""
13148 VKD3D_PE_LIBS=""
13150 CPPFLAGS=$ac_save_CPPFLAGS
13152 if test "x$VKD3D_PE_LIBS" = "x"
13153 then
13154 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13157 if ${ZLIB_PE_CFLAGS:+false} :
13158 then :
13159 if test ${MINGW_PKG_CONFIG+y}
13160 then :
13161 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13164 if ${ZLIB_PE_LIBS:+false} :
13165 then :
13166 if test ${MINGW_PKG_CONFIG+y}
13167 then :
13168 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13171 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13172 ac_save_CPPFLAGS=$CPPFLAGS
13173 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13175 printf %s "checking for MinGW zlib.h... " >&6; }
13176 if test ${ac_cv_mingw_header_zlib_h+y}
13177 then :
13178 printf %s "(cached) " >&6
13179 else $as_nop
13180 ac_wine_check_headers_saved_cc=$CC
13181 ac_wine_check_headers_saved_exeext=$ac_exeext
13182 CC="$CROSSCC"
13183 ac_exeext=".exe"
13184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13185 /* end confdefs.h. */
13187 #include <zlib.h>
13189 main (void)
13193 return 0;
13195 _ACEOF
13196 if ac_fn_c_try_compile "$LINENO"
13197 then :
13198 ac_cv_mingw_header_zlib_h=yes
13199 else $as_nop
13200 ac_cv_mingw_header_zlib_h=no
13202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13203 CC=$ac_wine_check_headers_saved_cc
13204 ac_exeext=$ac_wine_check_headers_saved_exeext
13206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13207 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13208 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13209 then :
13210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13211 printf %s "checking for inflate in MinGW -lz... " >&6; }
13212 if test ${ac_cv_mingw_lib_z+y}
13213 then :
13214 printf %s "(cached) " >&6
13215 else $as_nop
13216 ac_wine_check_headers_saved_cc=$CC
13217 ac_wine_check_headers_saved_exeext=$ac_exeext
13218 ac_wine_check_headers_saved_libs=$LIBS
13219 CC="$CROSSCC"
13220 ac_exeext=".exe"
13221 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13223 /* end confdefs.h. */
13225 /* Override any GCC internal prototype to avoid an error.
13226 Use char because int might match the return type of a GCC
13227 builtin and then its argument prototype would still apply. */
13228 char inflate ();
13230 main (void)
13232 return inflate ();
13234 return 0;
13236 _ACEOF
13237 if ac_fn_c_try_link "$LINENO"
13238 then :
13239 ac_cv_mingw_lib_z=yes
13240 else $as_nop
13241 ac_cv_mingw_lib_z=no
13243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13244 conftest$ac_exeext conftest.$ac_ext
13245 CC=$ac_wine_check_headers_saved_cc
13246 ac_exeext=$ac_wine_check_headers_saved_exeext
13247 LIBS=$ac_wine_check_headers_saved_libs
13249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13250 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13251 if test "x$ac_cv_mingw_lib_z" = xyes
13252 then :
13254 else $as_nop
13255 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13257 else $as_nop
13258 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13260 CPPFLAGS=$ac_save_CPPFLAGS
13262 if test "x$ZLIB_PE_LIBS" = "x"
13263 then
13264 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13268 if ${FAUDIO_PE_LIBS:+false} :
13269 then :
13270 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13271 if ${FAUDIO_PE_CFLAGS:+false} :
13272 then :
13273 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13274 else $as_nop
13275 enable_faudio=no
13277 else $as_nop
13278 enable_faudio=no
13280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13283 if ${GSM_PE_LIBS:+false} :
13284 then :
13285 GSM_PE_LIBS=gsm
13286 if ${GSM_PE_CFLAGS:+false} :
13287 then :
13288 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13289 else $as_nop
13290 enable_gsm=no
13292 else $as_nop
13293 enable_gsm=no
13295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13298 if ${JPEG_PE_LIBS:+false} :
13299 then :
13300 JPEG_PE_LIBS=jpeg
13301 if ${JPEG_PE_CFLAGS:+false} :
13302 then :
13303 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13304 else $as_nop
13305 enable_jpeg=no
13307 else $as_nop
13308 enable_jpeg=no
13310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13313 if ${JXR_PE_LIBS:+false} :
13314 then :
13315 JXR_PE_LIBS=jxr
13316 if ${JXR_PE_CFLAGS:+false} :
13317 then :
13318 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13319 else $as_nop
13320 enable_jxr=no
13322 else $as_nop
13323 enable_jxr=no
13325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13328 if ${LCMS2_PE_LIBS:+false} :
13329 then :
13330 LCMS2_PE_LIBS=lcms2
13331 if ${LCMS2_PE_CFLAGS:+false} :
13332 then :
13333 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13334 else $as_nop
13335 enable_lcms2=no
13337 else $as_nop
13338 enable_lcms2=no
13340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13343 if ${MPG123_PE_LIBS:+false} :
13344 then :
13345 MPG123_PE_LIBS=mpg123
13346 if ${MPG123_PE_CFLAGS:+false} :
13347 then :
13348 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13349 else $as_nop
13350 enable_mpg123=no
13352 else $as_nop
13353 enable_mpg123=no
13355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13358 if ${PNG_PE_LIBS:+false} :
13359 then :
13360 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13361 if ${PNG_PE_CFLAGS:+false} :
13362 then :
13363 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13364 else $as_nop
13365 enable_png=no
13367 else $as_nop
13368 enable_png=no
13370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13373 if ${TIFF_PE_LIBS:+false} :
13374 then :
13375 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13376 if ${TIFF_PE_CFLAGS:+false} :
13377 then :
13378 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13379 else $as_nop
13380 enable_tiff=no
13382 else $as_nop
13383 enable_tiff=no
13385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13388 if ${VKD3D_PE_LIBS:+false} :
13389 then :
13390 VKD3D_PE_LIBS=vkd3d
13391 if ${VKD3D_PE_CFLAGS:+false} :
13392 then :
13393 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13394 else $as_nop
13395 enable_vkd3d=no
13397 else $as_nop
13398 enable_vkd3d=no
13400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13403 if ${XML2_PE_LIBS:+false} :
13404 then :
13405 XML2_PE_LIBS=xml2
13406 if ${XML2_PE_CFLAGS:+false} :
13407 then :
13408 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13409 else $as_nop
13410 enable_xml2=no
13412 else $as_nop
13413 enable_xml2=no
13415 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13416 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13418 if ${XSLT_PE_LIBS:+false} :
13419 then :
13420 XSLT_PE_LIBS=xslt
13421 if ${XSLT_PE_CFLAGS:+false} :
13422 then :
13423 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13424 else $as_nop
13425 enable_xslt=no
13427 else $as_nop
13428 enable_xslt=no
13430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13433 if ${ZLIB_PE_LIBS:+false} :
13434 then :
13435 ZLIB_PE_LIBS=z
13436 if ${ZLIB_PE_CFLAGS:+false} :
13437 then :
13438 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13439 else $as_nop
13440 enable_zlib=no
13442 else $as_nop
13443 enable_zlib=no
13445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13450 if test "$ac_cv_header_pthread_h" = "yes"
13451 then
13452 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13453 if test "x$ac_cv_func_pthread_create" = xyes
13454 then :
13456 else $as_nop
13457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13458 printf %s "checking for pthread_create in -lpthread... " >&6; }
13459 if test ${ac_cv_lib_pthread_pthread_create+y}
13460 then :
13461 printf %s "(cached) " >&6
13462 else $as_nop
13463 ac_check_lib_save_LIBS=$LIBS
13464 LIBS="-lpthread $LIBS"
13465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13466 /* end confdefs.h. */
13468 /* Override any GCC internal prototype to avoid an error.
13469 Use char because int might match the return type of a GCC
13470 builtin and then its argument prototype would still apply. */
13471 char pthread_create ();
13473 main (void)
13475 return pthread_create ();
13477 return 0;
13479 _ACEOF
13480 if ac_fn_c_try_link "$LINENO"
13481 then :
13482 ac_cv_lib_pthread_pthread_create=yes
13483 else $as_nop
13484 ac_cv_lib_pthread_pthread_create=no
13486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13487 conftest$ac_exeext conftest.$ac_ext
13488 LIBS=$ac_check_lib_save_LIBS
13490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13491 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13492 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13493 then :
13494 PTHREAD_LIBS="-lpthread"
13501 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13502 then :
13503 case "x$with_pthread" in
13504 xno) ;;
13505 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13506 Wine cannot support threads without libpthread.
13507 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13508 esac
13513 ac_ext=c
13514 ac_cpp='$CPP $CPPFLAGS'
13515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13519 printf %s "checking how to run the C preprocessor... " >&6; }
13520 # On Suns, sometimes $CPP names a directory.
13521 if test -n "$CPP" && test -d "$CPP"; then
13522 CPP=
13524 if test -z "$CPP"; then
13525 if test ${ac_cv_prog_CPP+y}
13526 then :
13527 printf %s "(cached) " >&6
13528 else $as_nop
13529 # Double quotes because $CC needs to be expanded
13530 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13532 ac_preproc_ok=false
13533 for ac_c_preproc_warn_flag in '' yes
13535 # Use a header file that comes with gcc, so configuring glibc
13536 # with a fresh cross-compiler works.
13537 # On the NeXT, cc -E runs the code through the compiler's parser,
13538 # not just through cpp. "Syntax error" is here to catch this case.
13539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13540 /* end confdefs.h. */
13541 #include <limits.h>
13542 Syntax error
13543 _ACEOF
13544 if ac_fn_c_try_cpp "$LINENO"
13545 then :
13547 else $as_nop
13548 # Broken: fails on valid input.
13549 continue
13551 rm -f conftest.err conftest.i conftest.$ac_ext
13553 # OK, works on sane cases. Now check whether nonexistent headers
13554 # can be detected and how.
13555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13556 /* end confdefs.h. */
13557 #include <ac_nonexistent.h>
13558 _ACEOF
13559 if ac_fn_c_try_cpp "$LINENO"
13560 then :
13561 # Broken: success on invalid input.
13562 continue
13563 else $as_nop
13564 # Passes both tests.
13565 ac_preproc_ok=:
13566 break
13568 rm -f conftest.err conftest.i conftest.$ac_ext
13570 done
13571 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13572 rm -f conftest.i conftest.err conftest.$ac_ext
13573 if $ac_preproc_ok
13574 then :
13575 break
13578 done
13579 ac_cv_prog_CPP=$CPP
13582 CPP=$ac_cv_prog_CPP
13583 else
13584 ac_cv_prog_CPP=$CPP
13586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13587 printf "%s\n" "$CPP" >&6; }
13588 ac_preproc_ok=false
13589 for ac_c_preproc_warn_flag in '' yes
13591 # Use a header file that comes with gcc, so configuring glibc
13592 # with a fresh cross-compiler works.
13593 # On the NeXT, cc -E runs the code through the compiler's parser,
13594 # not just through cpp. "Syntax error" is here to catch this case.
13595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13597 #include <limits.h>
13598 Syntax error
13599 _ACEOF
13600 if ac_fn_c_try_cpp "$LINENO"
13601 then :
13603 else $as_nop
13604 # Broken: fails on valid input.
13605 continue
13607 rm -f conftest.err conftest.i conftest.$ac_ext
13609 # OK, works on sane cases. Now check whether nonexistent headers
13610 # can be detected and how.
13611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13612 /* end confdefs.h. */
13613 #include <ac_nonexistent.h>
13614 _ACEOF
13615 if ac_fn_c_try_cpp "$LINENO"
13616 then :
13617 # Broken: success on invalid input.
13618 continue
13619 else $as_nop
13620 # Passes both tests.
13621 ac_preproc_ok=:
13622 break
13624 rm -f conftest.err conftest.i conftest.$ac_ext
13626 done
13627 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13628 rm -f conftest.i conftest.err conftest.$ac_ext
13629 if $ac_preproc_ok
13630 then :
13632 else $as_nop
13633 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13634 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13635 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13636 See \`config.log' for more details" "$LINENO" 5; }
13639 ac_ext=c
13640 ac_cpp='$CPP $CPPFLAGS'
13641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13647 printf %s "checking for X... " >&6; }
13650 # Check whether --with-x was given.
13651 if test ${with_x+y}
13652 then :
13653 withval=$with_x;
13656 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13657 if test "x$with_x" = xno; then
13658 # The user explicitly disabled X.
13659 have_x=disabled
13660 else
13661 case $x_includes,$x_libraries in #(
13662 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13663 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13664 then :
13665 printf %s "(cached) " >&6
13666 else $as_nop
13667 # One or both of the vars are not set, and there is no cached value.
13668 ac_x_includes=no
13669 ac_x_libraries=no
13670 # Do we need to do anything special at all?
13671 ac_save_LIBS=$LIBS
13672 LIBS="-lX11 $LIBS"
13673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13675 #include <X11/Xlib.h>
13677 main (void)
13679 XrmInitialize ()
13681 return 0;
13683 _ACEOF
13684 if ac_fn_c_try_link "$LINENO"
13685 then :
13686 # We can compile and link X programs with no special options.
13687 ac_x_includes=
13688 ac_x_libraries=
13690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13691 conftest$ac_exeext conftest.$ac_ext
13692 LIBS="$ac_save_LIBS"
13693 # If that didn't work, only try xmkmf and file system searches
13694 # for native compilation.
13695 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13696 then :
13697 rm -f -r conftest.dir
13698 if mkdir conftest.dir; then
13699 cd conftest.dir
13700 cat >Imakefile <<'_ACEOF'
13701 incroot:
13702 @echo incroot='${INCROOT}'
13703 usrlibdir:
13704 @echo usrlibdir='${USRLIBDIR}'
13705 libdir:
13706 @echo libdir='${LIBDIR}'
13707 _ACEOF
13708 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13709 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13710 for ac_var in incroot usrlibdir libdir; do
13711 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13712 done
13713 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13714 for ac_extension in a so sl dylib la dll; do
13715 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13716 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13717 ac_im_usrlibdir=$ac_im_libdir; break
13719 done
13720 # Screen out bogus values from the imake configuration. They are
13721 # bogus both because they are the default anyway, and because
13722 # using them would break gcc on systems where it needs fixed includes.
13723 case $ac_im_incroot in
13724 /usr/include) ac_x_includes= ;;
13725 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13726 esac
13727 case $ac_im_usrlibdir in
13728 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13729 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13730 esac
13732 cd ..
13733 rm -f -r conftest.dir
13736 # Standard set of common directories for X headers.
13737 # Check X11 before X11Rn because it is often a symlink to the current release.
13738 ac_x_header_dirs='
13739 /usr/X11/include
13740 /usr/X11R7/include
13741 /usr/X11R6/include
13742 /usr/X11R5/include
13743 /usr/X11R4/include
13745 /usr/include/X11
13746 /usr/include/X11R7
13747 /usr/include/X11R6
13748 /usr/include/X11R5
13749 /usr/include/X11R4
13751 /usr/local/X11/include
13752 /usr/local/X11R7/include
13753 /usr/local/X11R6/include
13754 /usr/local/X11R5/include
13755 /usr/local/X11R4/include
13757 /usr/local/include/X11
13758 /usr/local/include/X11R7
13759 /usr/local/include/X11R6
13760 /usr/local/include/X11R5
13761 /usr/local/include/X11R4
13763 /opt/X11/include
13765 /usr/X386/include
13766 /usr/x386/include
13767 /usr/XFree86/include/X11
13769 /usr/include
13770 /usr/local/include
13771 /usr/unsupported/include
13772 /usr/athena/include
13773 /usr/local/x11r5/include
13774 /usr/lpp/Xamples/include
13776 /usr/openwin/include
13777 /usr/openwin/share/include'
13779 if test "$ac_x_includes" = no; then
13780 # Guess where to find include files, by looking for Xlib.h.
13781 # First, try using that file with no special directory specified.
13782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13783 /* end confdefs.h. */
13784 #include <X11/Xlib.h>
13785 _ACEOF
13786 if ac_fn_c_try_cpp "$LINENO"
13787 then :
13788 # We can compile using X headers with no special include directory.
13789 ac_x_includes=
13790 else $as_nop
13791 for ac_dir in $ac_x_header_dirs; do
13792 if test -r "$ac_dir/X11/Xlib.h"; then
13793 ac_x_includes=$ac_dir
13794 break
13796 done
13798 rm -f conftest.err conftest.i conftest.$ac_ext
13799 fi # $ac_x_includes = no
13801 if test "$ac_x_libraries" = no; then
13802 # Check for the libraries.
13803 # See if we find them without any special options.
13804 # Don't add to $LIBS permanently.
13805 ac_save_LIBS=$LIBS
13806 LIBS="-lX11 $LIBS"
13807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13808 /* end confdefs.h. */
13809 #include <X11/Xlib.h>
13811 main (void)
13813 XrmInitialize ()
13815 return 0;
13817 _ACEOF
13818 if ac_fn_c_try_link "$LINENO"
13819 then :
13820 LIBS=$ac_save_LIBS
13821 # We can link X programs with no special library path.
13822 ac_x_libraries=
13823 else $as_nop
13824 LIBS=$ac_save_LIBS
13825 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13827 # Don't even attempt the hair of trying to link an X program!
13828 for ac_extension in a so sl dylib la dll; do
13829 if test -r "$ac_dir/libX11.$ac_extension"; then
13830 ac_x_libraries=$ac_dir
13831 break 2
13833 done
13834 done
13836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13837 conftest$ac_exeext conftest.$ac_ext
13838 fi # $ac_x_libraries = no
13841 # Record the results.
13842 case $ac_x_includes,$ac_x_libraries in #(
13843 no,* | *,no | *\'*) :
13844 # Didn't find X, or a directory has "'" in its name.
13845 ac_cv_have_x="have_x=no" ;; #(
13846 *) :
13847 # Record where we found X for the cache.
13848 ac_cv_have_x="have_x=yes\
13849 ac_x_includes='$ac_x_includes'\
13850 ac_x_libraries='$ac_x_libraries'" ;;
13851 esac
13853 ;; #(
13854 *) have_x=yes;;
13855 esac
13856 eval "$ac_cv_have_x"
13857 fi # $with_x != no
13859 if test "$have_x" != yes; then
13860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13861 printf "%s\n" "$have_x" >&6; }
13862 no_x=yes
13863 else
13864 # If each of the values was on the command line, it overrides each guess.
13865 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13866 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13867 # Update the cache value to reflect the command line values.
13868 ac_cv_have_x="have_x=yes\
13869 ac_x_includes='$x_includes'\
13870 ac_x_libraries='$x_libraries'"
13871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13872 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13875 if test "$no_x" = yes; then
13876 # Not all programs may use this symbol, but it does not hurt to define it.
13878 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13880 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13881 else
13882 if test -n "$x_includes"; then
13883 X_CFLAGS="$X_CFLAGS -I$x_includes"
13886 # It would also be nice to do this for all -L options, not just this one.
13887 if test -n "$x_libraries"; then
13888 X_LIBS="$X_LIBS -L$x_libraries"
13889 # For Solaris; some versions of Sun CC require a space after -R and
13890 # others require no space. Words are not sufficient . . . .
13891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13892 printf %s "checking whether -R must be followed by a space... " >&6; }
13893 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13894 ac_xsave_c_werror_flag=$ac_c_werror_flag
13895 ac_c_werror_flag=yes
13896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13900 main (void)
13904 return 0;
13906 _ACEOF
13907 if ac_fn_c_try_link "$LINENO"
13908 then :
13909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13910 printf "%s\n" "no" >&6; }
13911 X_LIBS="$X_LIBS -R$x_libraries"
13912 else $as_nop
13913 LIBS="$ac_xsave_LIBS -R $x_libraries"
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13918 main (void)
13922 return 0;
13924 _ACEOF
13925 if ac_fn_c_try_link "$LINENO"
13926 then :
13927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13928 printf "%s\n" "yes" >&6; }
13929 X_LIBS="$X_LIBS -R $x_libraries"
13930 else $as_nop
13931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13932 printf "%s\n" "neither works" >&6; }
13934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13935 conftest$ac_exeext conftest.$ac_ext
13937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13938 conftest$ac_exeext conftest.$ac_ext
13939 ac_c_werror_flag=$ac_xsave_c_werror_flag
13940 LIBS=$ac_xsave_LIBS
13943 # Check for system-dependent libraries X programs must link with.
13944 # Do this before checking for the system-independent R6 libraries
13945 # (-lICE), since we may need -lsocket or whatever for X linking.
13947 if test "$ISC" = yes; then
13948 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13949 else
13950 # Martyn Johnson says this is needed for Ultrix, if the X
13951 # libraries were built with DECnet support. And Karl Berry says
13952 # the Alpha needs dnet_stub (dnet does not exist).
13953 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13955 /* end confdefs.h. */
13957 /* Override any GCC internal prototype to avoid an error.
13958 Use char because int might match the return type of a GCC
13959 builtin and then its argument prototype would still apply. */
13960 char XOpenDisplay ();
13962 main (void)
13964 return XOpenDisplay ();
13966 return 0;
13968 _ACEOF
13969 if ac_fn_c_try_link "$LINENO"
13970 then :
13972 else $as_nop
13973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13974 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13975 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13976 then :
13977 printf %s "(cached) " >&6
13978 else $as_nop
13979 ac_check_lib_save_LIBS=$LIBS
13980 LIBS="-ldnet $LIBS"
13981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13984 /* Override any GCC internal prototype to avoid an error.
13985 Use char because int might match the return type of a GCC
13986 builtin and then its argument prototype would still apply. */
13987 char dnet_ntoa ();
13989 main (void)
13991 return dnet_ntoa ();
13993 return 0;
13995 _ACEOF
13996 if ac_fn_c_try_link "$LINENO"
13997 then :
13998 ac_cv_lib_dnet_dnet_ntoa=yes
13999 else $as_nop
14000 ac_cv_lib_dnet_dnet_ntoa=no
14002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14003 conftest$ac_exeext conftest.$ac_ext
14004 LIBS=$ac_check_lib_save_LIBS
14006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14007 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14008 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14009 then :
14010 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14013 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14015 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14016 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14017 then :
14018 printf %s "(cached) " >&6
14019 else $as_nop
14020 ac_check_lib_save_LIBS=$LIBS
14021 LIBS="-ldnet_stub $LIBS"
14022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14023 /* end confdefs.h. */
14025 /* Override any GCC internal prototype to avoid an error.
14026 Use char because int might match the return type of a GCC
14027 builtin and then its argument prototype would still apply. */
14028 char dnet_ntoa ();
14030 main (void)
14032 return dnet_ntoa ();
14034 return 0;
14036 _ACEOF
14037 if ac_fn_c_try_link "$LINENO"
14038 then :
14039 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14040 else $as_nop
14041 ac_cv_lib_dnet_stub_dnet_ntoa=no
14043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14044 conftest$ac_exeext conftest.$ac_ext
14045 LIBS=$ac_check_lib_save_LIBS
14047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14048 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14049 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14050 then :
14051 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14057 conftest$ac_exeext conftest.$ac_ext
14058 LIBS="$ac_xsave_LIBS"
14060 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14061 # to get the SysV transport functions.
14062 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14063 # needs -lnsl.
14064 # The nsl library prevents programs from opening the X display
14065 # on Irix 5.2, according to T.E. Dickey.
14066 # The functions gethostbyname, getservbyname, and inet_addr are
14067 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14068 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14069 if test "x$ac_cv_func_gethostbyname" = xyes
14070 then :
14074 if test $ac_cv_func_gethostbyname = no; then
14075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14076 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14077 if test ${ac_cv_lib_nsl_gethostbyname+y}
14078 then :
14079 printf %s "(cached) " >&6
14080 else $as_nop
14081 ac_check_lib_save_LIBS=$LIBS
14082 LIBS="-lnsl $LIBS"
14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14086 /* Override any GCC internal prototype to avoid an error.
14087 Use char because int might match the return type of a GCC
14088 builtin and then its argument prototype would still apply. */
14089 char gethostbyname ();
14091 main (void)
14093 return gethostbyname ();
14095 return 0;
14097 _ACEOF
14098 if ac_fn_c_try_link "$LINENO"
14099 then :
14100 ac_cv_lib_nsl_gethostbyname=yes
14101 else $as_nop
14102 ac_cv_lib_nsl_gethostbyname=no
14104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14105 conftest$ac_exeext conftest.$ac_ext
14106 LIBS=$ac_check_lib_save_LIBS
14108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14109 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14110 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14111 then :
14112 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14115 if test $ac_cv_lib_nsl_gethostbyname = no; then
14116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14117 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14118 if test ${ac_cv_lib_bsd_gethostbyname+y}
14119 then :
14120 printf %s "(cached) " >&6
14121 else $as_nop
14122 ac_check_lib_save_LIBS=$LIBS
14123 LIBS="-lbsd $LIBS"
14124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14125 /* end confdefs.h. */
14127 /* Override any GCC internal prototype to avoid an error.
14128 Use char because int might match the return type of a GCC
14129 builtin and then its argument prototype would still apply. */
14130 char gethostbyname ();
14132 main (void)
14134 return gethostbyname ();
14136 return 0;
14138 _ACEOF
14139 if ac_fn_c_try_link "$LINENO"
14140 then :
14141 ac_cv_lib_bsd_gethostbyname=yes
14142 else $as_nop
14143 ac_cv_lib_bsd_gethostbyname=no
14145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14146 conftest$ac_exeext conftest.$ac_ext
14147 LIBS=$ac_check_lib_save_LIBS
14149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14150 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14151 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14152 then :
14153 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14159 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14160 # socket/setsockopt and other routines are undefined under SCO ODT
14161 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14162 # on later versions), says Simon Leinen: it contains gethostby*
14163 # variants that don't use the name server (or something). -lsocket
14164 # must be given before -lnsl if both are needed. We assume that
14165 # if connect needs -lnsl, so does gethostbyname.
14166 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14167 if test "x$ac_cv_func_connect" = xyes
14168 then :
14172 if test $ac_cv_func_connect = no; then
14173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14174 printf %s "checking for connect in -lsocket... " >&6; }
14175 if test ${ac_cv_lib_socket_connect+y}
14176 then :
14177 printf %s "(cached) " >&6
14178 else $as_nop
14179 ac_check_lib_save_LIBS=$LIBS
14180 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14184 /* Override any GCC internal prototype to avoid an error.
14185 Use char because int might match the return type of a GCC
14186 builtin and then its argument prototype would still apply. */
14187 char connect ();
14189 main (void)
14191 return connect ();
14193 return 0;
14195 _ACEOF
14196 if ac_fn_c_try_link "$LINENO"
14197 then :
14198 ac_cv_lib_socket_connect=yes
14199 else $as_nop
14200 ac_cv_lib_socket_connect=no
14202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14203 conftest$ac_exeext conftest.$ac_ext
14204 LIBS=$ac_check_lib_save_LIBS
14206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14207 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14208 if test "x$ac_cv_lib_socket_connect" = xyes
14209 then :
14210 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14215 # Guillermo Gomez says -lposix is necessary on A/UX.
14216 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14217 if test "x$ac_cv_func_remove" = xyes
14218 then :
14222 if test $ac_cv_func_remove = no; then
14223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14224 printf %s "checking for remove in -lposix... " >&6; }
14225 if test ${ac_cv_lib_posix_remove+y}
14226 then :
14227 printf %s "(cached) " >&6
14228 else $as_nop
14229 ac_check_lib_save_LIBS=$LIBS
14230 LIBS="-lposix $LIBS"
14231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14232 /* end confdefs.h. */
14234 /* Override any GCC internal prototype to avoid an error.
14235 Use char because int might match the return type of a GCC
14236 builtin and then its argument prototype would still apply. */
14237 char remove ();
14239 main (void)
14241 return remove ();
14243 return 0;
14245 _ACEOF
14246 if ac_fn_c_try_link "$LINENO"
14247 then :
14248 ac_cv_lib_posix_remove=yes
14249 else $as_nop
14250 ac_cv_lib_posix_remove=no
14252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14253 conftest$ac_exeext conftest.$ac_ext
14254 LIBS=$ac_check_lib_save_LIBS
14256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14257 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14258 if test "x$ac_cv_lib_posix_remove" = xyes
14259 then :
14260 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14265 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14266 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14267 if test "x$ac_cv_func_shmat" = xyes
14268 then :
14272 if test $ac_cv_func_shmat = no; then
14273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14274 printf %s "checking for shmat in -lipc... " >&6; }
14275 if test ${ac_cv_lib_ipc_shmat+y}
14276 then :
14277 printf %s "(cached) " >&6
14278 else $as_nop
14279 ac_check_lib_save_LIBS=$LIBS
14280 LIBS="-lipc $LIBS"
14281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14282 /* end confdefs.h. */
14284 /* Override any GCC internal prototype to avoid an error.
14285 Use char because int might match the return type of a GCC
14286 builtin and then its argument prototype would still apply. */
14287 char shmat ();
14289 main (void)
14291 return shmat ();
14293 return 0;
14295 _ACEOF
14296 if ac_fn_c_try_link "$LINENO"
14297 then :
14298 ac_cv_lib_ipc_shmat=yes
14299 else $as_nop
14300 ac_cv_lib_ipc_shmat=no
14302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14303 conftest$ac_exeext conftest.$ac_ext
14304 LIBS=$ac_check_lib_save_LIBS
14306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14307 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14308 if test "x$ac_cv_lib_ipc_shmat" = xyes
14309 then :
14310 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14316 # Check for libraries that X11R6 Xt/Xaw programs need.
14317 ac_save_LDFLAGS=$LDFLAGS
14318 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14319 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14320 # check for ICE first), but we must link in the order -lSM -lICE or
14321 # we get undefined symbols. So assume we have SM if we have ICE.
14322 # These have to be linked with before -lX11, unlike the other
14323 # libraries we check for below, so use a different variable.
14324 # John Interrante, Karl Berry
14325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14326 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14327 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14328 then :
14329 printf %s "(cached) " >&6
14330 else $as_nop
14331 ac_check_lib_save_LIBS=$LIBS
14332 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14334 /* end confdefs.h. */
14336 /* Override any GCC internal prototype to avoid an error.
14337 Use char because int might match the return type of a GCC
14338 builtin and then its argument prototype would still apply. */
14339 char IceConnectionNumber ();
14341 main (void)
14343 return IceConnectionNumber ();
14345 return 0;
14347 _ACEOF
14348 if ac_fn_c_try_link "$LINENO"
14349 then :
14350 ac_cv_lib_ICE_IceConnectionNumber=yes
14351 else $as_nop
14352 ac_cv_lib_ICE_IceConnectionNumber=no
14354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14355 conftest$ac_exeext conftest.$ac_ext
14356 LIBS=$ac_check_lib_save_LIBS
14358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14359 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14360 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14361 then :
14362 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14365 LDFLAGS=$ac_save_LDFLAGS
14370 if test "$have_x" = "yes"
14371 then
14372 ac_save_CPPFLAGS="$CPPFLAGS"
14373 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14376 printf %s "checking for -lX11... " >&6; }
14377 if test ${ac_cv_lib_soname_X11+y}
14378 then :
14379 printf %s "(cached) " >&6
14380 else $as_nop
14381 ac_check_soname_save_LIBS=$LIBS
14382 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h. */
14386 /* Override any GCC internal prototype to avoid an error.
14387 Use char because int might match the return type of a GCC
14388 builtin and then its argument prototype would still apply. */
14389 char XCreateWindow ();
14391 main (void)
14393 return XCreateWindow ();
14395 return 0;
14397 _ACEOF
14398 if ac_fn_c_try_link "$LINENO"
14399 then :
14400 case "$LIBEXT" in
14401 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14402 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'` ;;
14403 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14404 if ${ac_cv_lib_soname_X11:+false} :
14405 then :
14406 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14407 fi ;;
14408 esac
14409 else $as_nop
14410 ac_cv_lib_soname_X11=
14412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14413 conftest$ac_exeext conftest.$ac_ext
14414 LIBS=$ac_check_soname_save_LIBS
14416 if ${ac_cv_lib_soname_X11:+false} :
14417 then :
14418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14419 printf "%s\n" "not found" >&6; }
14421 else $as_nop
14422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14423 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14425 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14430 printf %s "checking for -lXext... " >&6; }
14431 if test ${ac_cv_lib_soname_Xext+y}
14432 then :
14433 printf %s "(cached) " >&6
14434 else $as_nop
14435 ac_check_soname_save_LIBS=$LIBS
14436 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14440 /* Override any GCC internal prototype to avoid an error.
14441 Use char because int might match the return type of a GCC
14442 builtin and then its argument prototype would still apply. */
14443 char XextCreateExtension ();
14445 main (void)
14447 return XextCreateExtension ();
14449 return 0;
14451 _ACEOF
14452 if ac_fn_c_try_link "$LINENO"
14453 then :
14454 case "$LIBEXT" in
14455 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14456 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'` ;;
14457 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14458 if ${ac_cv_lib_soname_Xext:+false} :
14459 then :
14460 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14461 fi ;;
14462 esac
14463 else $as_nop
14464 ac_cv_lib_soname_Xext=
14466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14467 conftest$ac_exeext conftest.$ac_ext
14468 LIBS=$ac_check_soname_save_LIBS
14470 if ${ac_cv_lib_soname_Xext:+false} :
14471 then :
14472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14473 printf "%s\n" "not found" >&6; }
14475 else $as_nop
14476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14477 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14479 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14481 X_LIBS="$X_LIBS -lXext"
14483 X_LIBS="$X_LIBS -lX11"
14485 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14486 # include <X11/Xlib.h>
14487 #endif
14488 #ifdef HAVE_X11_XUTIL_H
14489 # include <X11/Xutil.h>
14490 #endif
14492 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14493 then :
14494 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14497 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14498 # include <X11/Xlib.h>
14499 #endif
14500 #ifdef HAVE_X11_XUTIL_H
14501 # include <X11/Xutil.h>
14502 #endif
14504 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14505 then :
14506 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14509 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14510 # include <X11/Xlib.h>
14511 #endif
14512 #ifdef HAVE_X11_XUTIL_H
14513 # include <X11/Xutil.h>
14514 #endif
14516 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14517 then :
14518 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14521 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14522 # include <X11/Xlib.h>
14523 #endif
14524 #ifdef HAVE_X11_XUTIL_H
14525 # include <X11/Xutil.h>
14526 #endif
14528 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14529 then :
14530 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14533 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14534 # include <X11/Xlib.h>
14535 #endif
14536 #ifdef HAVE_X11_XUTIL_H
14537 # include <X11/Xutil.h>
14538 #endif
14540 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14541 then :
14542 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14545 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14546 # include <X11/Xlib.h>
14547 #endif
14548 #ifdef HAVE_X11_XUTIL_H
14549 # include <X11/Xutil.h>
14550 #endif
14552 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14553 then :
14554 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14557 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14558 # include <X11/Xlib.h>
14559 #endif
14560 #ifdef HAVE_X11_XUTIL_H
14561 # include <X11/Xutil.h>
14562 #endif
14564 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14565 then :
14566 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14569 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14570 # include <X11/Xlib.h>
14571 #endif
14572 #ifdef HAVE_X11_XUTIL_H
14573 # include <X11/Xutil.h>
14574 #endif
14576 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14577 then :
14578 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14581 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14582 # include <X11/Xlib.h>
14583 #endif
14584 #ifdef HAVE_X11_XUTIL_H
14585 # include <X11/Xutil.h>
14586 #endif
14588 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14589 then :
14590 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14593 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14594 # include <X11/Xlib.h>
14595 #endif
14596 #ifdef HAVE_X11_XUTIL_H
14597 # include <X11/Xutil.h>
14598 #endif
14600 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14601 then :
14602 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14605 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14606 # include <X11/Xlib.h>
14607 #endif
14608 #ifdef HAVE_X11_XUTIL_H
14609 # include <X11/Xutil.h>
14610 #endif
14612 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14613 then :
14614 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14617 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14618 # include <X11/Xlib.h>
14619 #endif
14620 #ifdef HAVE_X11_XUTIL_H
14621 # include <X11/Xutil.h>
14622 #endif
14624 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14625 then :
14626 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14629 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14630 # include <X11/Xlib.h>
14631 #endif
14632 #ifdef HAVE_X11_XUTIL_H
14633 # include <X11/Xutil.h>
14634 #endif
14636 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14637 then :
14638 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14641 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14642 # include <X11/Xlib.h>
14643 #endif
14644 #ifdef HAVE_X11_XUTIL_H
14645 # include <X11/Xutil.h>
14646 #endif
14648 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14649 then :
14650 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14653 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14654 # include <X11/Xlib.h>
14655 #endif
14656 #ifdef HAVE_X11_XUTIL_H
14657 # include <X11/Xutil.h>
14658 #endif
14660 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14661 then :
14662 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14667 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14668 then
14669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14670 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14671 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14672 then :
14673 printf %s "(cached) " >&6
14674 else $as_nop
14675 ac_check_lib_save_LIBS=$LIBS
14676 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14678 /* end confdefs.h. */
14680 /* Override any GCC internal prototype to avoid an error.
14681 Use char because int might match the return type of a GCC
14682 builtin and then its argument prototype would still apply. */
14683 char XkbQueryExtension ();
14685 main (void)
14687 return XkbQueryExtension ();
14689 return 0;
14691 _ACEOF
14692 if ac_fn_c_try_link "$LINENO"
14693 then :
14694 ac_cv_lib_X11_XkbQueryExtension=yes
14695 else $as_nop
14696 ac_cv_lib_X11_XkbQueryExtension=no
14698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14699 conftest$ac_exeext conftest.$ac_ext
14700 LIBS=$ac_check_lib_save_LIBS
14702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14703 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14704 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14705 then :
14707 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14713 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14714 then
14715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14716 printf %s "checking for -lXcursor... " >&6; }
14717 if test ${ac_cv_lib_soname_Xcursor+y}
14718 then :
14719 printf %s "(cached) " >&6
14720 else $as_nop
14721 ac_check_soname_save_LIBS=$LIBS
14722 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14724 /* end confdefs.h. */
14726 /* Override any GCC internal prototype to avoid an error.
14727 Use char because int might match the return type of a GCC
14728 builtin and then its argument prototype would still apply. */
14729 char XcursorImageLoadCursor ();
14731 main (void)
14733 return XcursorImageLoadCursor ();
14735 return 0;
14737 _ACEOF
14738 if ac_fn_c_try_link "$LINENO"
14739 then :
14740 case "$LIBEXT" in
14741 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14742 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'` ;;
14743 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14744 if ${ac_cv_lib_soname_Xcursor:+false} :
14745 then :
14746 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14747 fi ;;
14748 esac
14749 else $as_nop
14750 ac_cv_lib_soname_Xcursor=
14752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14753 conftest$ac_exeext conftest.$ac_ext
14754 LIBS=$ac_check_soname_save_LIBS
14756 if ${ac_cv_lib_soname_Xcursor:+false} :
14757 then :
14758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14759 printf "%s\n" "not found" >&6; }
14761 else $as_nop
14762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14763 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14765 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14770 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14771 then :
14772 case "x$with_xcursor" in
14773 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14774 xno) ;;
14775 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14776 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14777 esac
14781 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14782 then
14783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14784 printf %s "checking for -lXi... " >&6; }
14785 if test ${ac_cv_lib_soname_Xi+y}
14786 then :
14787 printf %s "(cached) " >&6
14788 else $as_nop
14789 ac_check_soname_save_LIBS=$LIBS
14790 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14792 /* end confdefs.h. */
14794 /* Override any GCC internal prototype to avoid an error.
14795 Use char because int might match the return type of a GCC
14796 builtin and then its argument prototype would still apply. */
14797 char XOpenDevice ();
14799 main (void)
14801 return XOpenDevice ();
14803 return 0;
14805 _ACEOF
14806 if ac_fn_c_try_link "$LINENO"
14807 then :
14808 case "$LIBEXT" in
14809 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14810 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'` ;;
14811 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14812 if ${ac_cv_lib_soname_Xi:+false} :
14813 then :
14814 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14815 fi ;;
14816 esac
14817 else $as_nop
14818 ac_cv_lib_soname_Xi=
14820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14821 conftest$ac_exeext conftest.$ac_ext
14822 LIBS=$ac_check_soname_save_LIBS
14824 if ${ac_cv_lib_soname_Xi:+false} :
14825 then :
14826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14827 printf "%s\n" "not found" >&6; }
14829 else $as_nop
14830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14831 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14833 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14838 if test "x$ac_cv_lib_soname_Xi" = "x"
14839 then :
14840 case "x$with_xinput" in
14841 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14842 xno) ;;
14843 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14844 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14845 esac
14849 if test "x$ac_cv_lib_soname_Xi" != x
14850 then
14851 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14852 then :
14853 case "x$with_xinput2" in
14854 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14855 xno) ;;
14856 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14857 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14858 esac
14863 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14864 then
14865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14866 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14867 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14868 then :
14869 printf %s "(cached) " >&6
14870 else $as_nop
14871 ac_check_lib_save_LIBS=$LIBS
14872 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14876 /* Override any GCC internal prototype to avoid an error.
14877 Use char because int might match the return type of a GCC
14878 builtin and then its argument prototype would still apply. */
14879 char XShmQueryExtension ();
14881 main (void)
14883 return XShmQueryExtension ();
14885 return 0;
14887 _ACEOF
14888 if ac_fn_c_try_link "$LINENO"
14889 then :
14890 ac_cv_lib_Xext_XShmQueryExtension=yes
14891 else $as_nop
14892 ac_cv_lib_Xext_XShmQueryExtension=no
14894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14895 conftest$ac_exeext conftest.$ac_ext
14896 LIBS=$ac_check_lib_save_LIBS
14898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14899 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14900 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14901 then :
14903 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14908 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14909 then :
14910 case "x$with_xshm" in
14911 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14912 xno) ;;
14913 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14914 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14915 esac
14919 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14920 then
14921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14922 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14923 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14924 then :
14925 printf %s "(cached) " >&6
14926 else $as_nop
14927 ac_check_lib_save_LIBS=$LIBS
14928 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h. */
14932 /* Override any GCC internal prototype to avoid an error.
14933 Use char because int might match the return type of a GCC
14934 builtin and then its argument prototype would still apply. */
14935 char XShapeQueryExtension ();
14937 main (void)
14939 return XShapeQueryExtension ();
14941 return 0;
14943 _ACEOF
14944 if ac_fn_c_try_link "$LINENO"
14945 then :
14946 ac_cv_lib_Xext_XShapeQueryExtension=yes
14947 else $as_nop
14948 ac_cv_lib_Xext_XShapeQueryExtension=no
14950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14951 conftest$ac_exeext conftest.$ac_ext
14952 LIBS=$ac_check_lib_save_LIBS
14954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14955 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14956 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14957 then :
14959 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14964 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14965 then :
14966 case "x$with_xshape" in
14967 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14968 xno) ;;
14969 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14970 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14971 esac
14975 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14976 then
14977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14978 printf %s "checking for -lXxf86vm... " >&6; }
14979 if test ${ac_cv_lib_soname_Xxf86vm+y}
14980 then :
14981 printf %s "(cached) " >&6
14982 else $as_nop
14983 ac_check_soname_save_LIBS=$LIBS
14984 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14986 /* end confdefs.h. */
14988 /* Override any GCC internal prototype to avoid an error.
14989 Use char because int might match the return type of a GCC
14990 builtin and then its argument prototype would still apply. */
14991 char XF86VidModeQueryExtension ();
14993 main (void)
14995 return XF86VidModeQueryExtension ();
14997 return 0;
14999 _ACEOF
15000 if ac_fn_c_try_link "$LINENO"
15001 then :
15002 case "$LIBEXT" in
15003 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15004 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'` ;;
15005 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15006 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15007 then :
15008 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15009 fi ;;
15010 esac
15011 else $as_nop
15012 ac_cv_lib_soname_Xxf86vm=
15014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15015 conftest$ac_exeext conftest.$ac_ext
15016 LIBS=$ac_check_soname_save_LIBS
15018 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15019 then :
15020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15021 printf "%s\n" "not found" >&6; }
15023 else $as_nop
15024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15025 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15027 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15032 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15033 then :
15034 case "x$with_xxf86vm" in
15035 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15036 xno) ;;
15037 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15038 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15039 esac
15043 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15044 then
15045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15046 printf %s "checking for -lXrender... " >&6; }
15047 if test ${ac_cv_lib_soname_Xrender+y}
15048 then :
15049 printf %s "(cached) " >&6
15050 else $as_nop
15051 ac_check_soname_save_LIBS=$LIBS
15052 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15056 /* Override any GCC internal prototype to avoid an error.
15057 Use char because int might match the return type of a GCC
15058 builtin and then its argument prototype would still apply. */
15059 char XRenderQueryExtension ();
15061 main (void)
15063 return XRenderQueryExtension ();
15065 return 0;
15067 _ACEOF
15068 if ac_fn_c_try_link "$LINENO"
15069 then :
15070 case "$LIBEXT" in
15071 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15072 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'` ;;
15073 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15074 if ${ac_cv_lib_soname_Xrender:+false} :
15075 then :
15076 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15077 fi ;;
15078 esac
15079 else $as_nop
15080 ac_cv_lib_soname_Xrender=
15082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15083 conftest$ac_exeext conftest.$ac_ext
15084 LIBS=$ac_check_soname_save_LIBS
15086 if ${ac_cv_lib_soname_Xrender:+false} :
15087 then :
15088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15089 printf "%s\n" "not found" >&6; }
15091 else $as_nop
15092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15093 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15095 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15098 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15099 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15100 then :
15101 printf %s "(cached) " >&6
15102 else $as_nop
15103 ac_check_lib_save_LIBS=$LIBS
15104 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15106 /* end confdefs.h. */
15108 /* Override any GCC internal prototype to avoid an error.
15109 Use char because int might match the return type of a GCC
15110 builtin and then its argument prototype would still apply. */
15111 char XRenderSetPictureTransform ();
15113 main (void)
15115 return XRenderSetPictureTransform ();
15117 return 0;
15119 _ACEOF
15120 if ac_fn_c_try_link "$LINENO"
15121 then :
15122 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15123 else $as_nop
15124 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15127 conftest$ac_exeext conftest.$ac_ext
15128 LIBS=$ac_check_lib_save_LIBS
15130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15131 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15132 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15133 then :
15135 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15140 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15141 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15142 then :
15143 printf %s "(cached) " >&6
15144 else $as_nop
15145 ac_check_lib_save_LIBS=$LIBS
15146 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15148 /* end confdefs.h. */
15150 /* Override any GCC internal prototype to avoid an error.
15151 Use char because int might match the return type of a GCC
15152 builtin and then its argument prototype would still apply. */
15153 char XRenderCreateLinearGradient ();
15155 main (void)
15157 return XRenderCreateLinearGradient ();
15159 return 0;
15161 _ACEOF
15162 if ac_fn_c_try_link "$LINENO"
15163 then :
15164 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15165 else $as_nop
15166 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15169 conftest$ac_exeext conftest.$ac_ext
15170 LIBS=$ac_check_lib_save_LIBS
15172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15173 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15174 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15175 then :
15177 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15184 if test "x$ac_cv_lib_soname_Xrender" = "x"
15185 then :
15186 case "x$with_xrender" in
15187 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15188 xno) ;;
15189 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15190 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15191 esac
15195 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15196 then
15197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15198 /* end confdefs.h. */
15199 #include <X11/Xlib.h>
15200 #include <X11/extensions/Xrandr.h>
15202 main (void)
15204 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15206 return 0;
15208 _ACEOF
15209 if ac_fn_c_try_compile "$LINENO"
15210 then :
15211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15212 printf %s "checking for -lXrandr... " >&6; }
15213 if test ${ac_cv_lib_soname_Xrandr+y}
15214 then :
15215 printf %s "(cached) " >&6
15216 else $as_nop
15217 ac_check_soname_save_LIBS=$LIBS
15218 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15220 /* end confdefs.h. */
15222 /* Override any GCC internal prototype to avoid an error.
15223 Use char because int might match the return type of a GCC
15224 builtin and then its argument prototype would still apply. */
15225 char XRRQueryExtension ();
15227 main (void)
15229 return XRRQueryExtension ();
15231 return 0;
15233 _ACEOF
15234 if ac_fn_c_try_link "$LINENO"
15235 then :
15236 case "$LIBEXT" in
15237 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15238 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'` ;;
15239 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15240 if ${ac_cv_lib_soname_Xrandr:+false} :
15241 then :
15242 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15243 fi ;;
15244 esac
15245 else $as_nop
15246 ac_cv_lib_soname_Xrandr=
15248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15249 conftest$ac_exeext conftest.$ac_ext
15250 LIBS=$ac_check_soname_save_LIBS
15252 if ${ac_cv_lib_soname_Xrandr:+false} :
15253 then :
15254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15255 printf "%s\n" "not found" >&6; }
15257 else $as_nop
15258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15259 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15261 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15264 /* end confdefs.h. */
15265 #include <X11/Xlib.h>
15266 #include <X11/extensions/Xrandr.h>
15268 main (void)
15270 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15272 return 0;
15274 _ACEOF
15275 if ac_fn_c_try_compile "$LINENO"
15276 then :
15278 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15280 else $as_nop
15281 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15283 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15286 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15288 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15289 then :
15290 case "x$with_xrandr" in
15291 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15292 xno) ;;
15293 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15294 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15295 esac
15299 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15300 then
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15303 #include <X11/Xlib.h>
15304 #include <X11/extensions/Xfixes.h>
15306 main (void)
15308 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15310 return 0;
15312 _ACEOF
15313 if ac_fn_c_try_compile "$LINENO"
15314 then :
15315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15316 printf %s "checking for -lXfixes... " >&6; }
15317 if test ${ac_cv_lib_soname_Xfixes+y}
15318 then :
15319 printf %s "(cached) " >&6
15320 else $as_nop
15321 ac_check_soname_save_LIBS=$LIBS
15322 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15324 /* end confdefs.h. */
15326 /* Override any GCC internal prototype to avoid an error.
15327 Use char because int might match the return type of a GCC
15328 builtin and then its argument prototype would still apply. */
15329 char XFixesQueryVersion ();
15331 main (void)
15333 return XFixesQueryVersion ();
15335 return 0;
15337 _ACEOF
15338 if ac_fn_c_try_link "$LINENO"
15339 then :
15340 case "$LIBEXT" in
15341 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15342 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'` ;;
15343 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15344 if ${ac_cv_lib_soname_Xfixes:+false} :
15345 then :
15346 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15347 fi ;;
15348 esac
15349 else $as_nop
15350 ac_cv_lib_soname_Xfixes=
15352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15353 conftest$ac_exeext conftest.$ac_ext
15354 LIBS=$ac_check_soname_save_LIBS
15356 if ${ac_cv_lib_soname_Xfixes:+false} :
15357 then :
15358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15359 printf "%s\n" "not found" >&6; }
15361 else $as_nop
15362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15363 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15365 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15372 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15373 then :
15374 case "x$with_xfixes" in
15375 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15376 xno) ;;
15377 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15378 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15379 esac
15383 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15384 then
15385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15386 /* end confdefs.h. */
15387 #include <X11/Xlib.h>
15388 #include <X11/extensions/Xinerama.h>
15390 main (void)
15392 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15394 return 0;
15396 _ACEOF
15397 if ac_fn_c_try_compile "$LINENO"
15398 then :
15399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15400 printf %s "checking for -lXinerama... " >&6; }
15401 if test ${ac_cv_lib_soname_Xinerama+y}
15402 then :
15403 printf %s "(cached) " >&6
15404 else $as_nop
15405 ac_check_soname_save_LIBS=$LIBS
15406 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15408 /* end confdefs.h. */
15410 /* Override any GCC internal prototype to avoid an error.
15411 Use char because int might match the return type of a GCC
15412 builtin and then its argument prototype would still apply. */
15413 char XineramaQueryScreens ();
15415 main (void)
15417 return XineramaQueryScreens ();
15419 return 0;
15421 _ACEOF
15422 if ac_fn_c_try_link "$LINENO"
15423 then :
15424 case "$LIBEXT" in
15425 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15426 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'` ;;
15427 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15428 if ${ac_cv_lib_soname_Xinerama:+false} :
15429 then :
15430 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15431 fi ;;
15432 esac
15433 else $as_nop
15434 ac_cv_lib_soname_Xinerama=
15436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15437 conftest$ac_exeext conftest.$ac_ext
15438 LIBS=$ac_check_soname_save_LIBS
15440 if ${ac_cv_lib_soname_Xinerama:+false} :
15441 then :
15442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15443 printf "%s\n" "not found" >&6; }
15445 else $as_nop
15446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15447 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15449 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15456 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15457 then :
15458 case "x$with_xinerama" in
15459 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15460 xno) ;;
15461 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15462 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15463 esac
15467 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15468 then
15469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15470 printf %s "checking for -lXcomposite... " >&6; }
15471 if test ${ac_cv_lib_soname_Xcomposite+y}
15472 then :
15473 printf %s "(cached) " >&6
15474 else $as_nop
15475 ac_check_soname_save_LIBS=$LIBS
15476 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h. */
15480 /* Override any GCC internal prototype to avoid an error.
15481 Use char because int might match the return type of a GCC
15482 builtin and then its argument prototype would still apply. */
15483 char XCompositeRedirectWindow ();
15485 main (void)
15487 return XCompositeRedirectWindow ();
15489 return 0;
15491 _ACEOF
15492 if ac_fn_c_try_link "$LINENO"
15493 then :
15494 case "$LIBEXT" in
15495 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15496 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'` ;;
15497 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15498 if ${ac_cv_lib_soname_Xcomposite:+false} :
15499 then :
15500 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15501 fi ;;
15502 esac
15503 else $as_nop
15504 ac_cv_lib_soname_Xcomposite=
15506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15507 conftest$ac_exeext conftest.$ac_ext
15508 LIBS=$ac_check_soname_save_LIBS
15510 if ${ac_cv_lib_soname_Xcomposite:+false} :
15511 then :
15512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15513 printf "%s\n" "not found" >&6; }
15515 else $as_nop
15516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15517 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15519 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15524 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15525 then :
15526 case "x$with_xcomposite" in
15527 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15528 xno) ;;
15529 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15530 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15531 esac
15535 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15536 #include <X11/Xlib.h>
15537 #endif
15539 if test "x$ac_cv_member_XICCallback_callback" = xyes
15540 then :
15542 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15546 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15547 #include <X11/Xlib.h>
15548 #endif
15550 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15551 then :
15553 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15560 opengl_msg=""
15561 if test "x$with_opengl" != "xno"
15562 then
15563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15564 printf %s "checking for -lGL... " >&6; }
15565 if test ${ac_cv_lib_soname_GL+y}
15566 then :
15567 printf %s "(cached) " >&6
15568 else $as_nop
15569 ac_check_soname_save_LIBS=$LIBS
15570 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15572 /* end confdefs.h. */
15574 /* Override any GCC internal prototype to avoid an error.
15575 Use char because int might match the return type of a GCC
15576 builtin and then its argument prototype would still apply. */
15577 char glXCreateContext ();
15579 main (void)
15581 return glXCreateContext ();
15583 return 0;
15585 _ACEOF
15586 if ac_fn_c_try_link "$LINENO"
15587 then :
15588 case "$LIBEXT" in
15589 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15590 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'` ;;
15591 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15592 if ${ac_cv_lib_soname_GL:+false} :
15593 then :
15594 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15595 fi ;;
15596 esac
15597 else $as_nop
15598 ac_cv_lib_soname_GL=
15600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15601 conftest$ac_exeext conftest.$ac_ext
15602 LIBS=$ac_check_soname_save_LIBS
15604 if ${ac_cv_lib_soname_GL:+false} :
15605 then :
15606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15607 printf "%s\n" "not found" >&6; }
15608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15609 printf %s "checking for -lGL... " >&6; }
15610 if test ${ac_cv_lib_soname_GL+y}
15611 then :
15612 printf %s "(cached) " >&6
15613 else $as_nop
15614 ac_check_soname_save_LIBS=$LIBS
15615 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"
15616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15617 /* end confdefs.h. */
15619 /* Override any GCC internal prototype to avoid an error.
15620 Use char because int might match the return type of a GCC
15621 builtin and then its argument prototype would still apply. */
15622 char glXCreateContext ();
15624 main (void)
15626 return glXCreateContext ();
15628 return 0;
15630 _ACEOF
15631 if ac_fn_c_try_link "$LINENO"
15632 then :
15633 case "$LIBEXT" in
15634 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15635 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'` ;;
15636 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15637 if ${ac_cv_lib_soname_GL:+false} :
15638 then :
15639 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15640 fi ;;
15641 esac
15642 else $as_nop
15643 ac_cv_lib_soname_GL=
15645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15646 conftest$ac_exeext conftest.$ac_ext
15647 LIBS=$ac_check_soname_save_LIBS
15649 if ${ac_cv_lib_soname_GL:+false} :
15650 then :
15651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15652 printf "%s\n" "not found" >&6; }
15653 if test -f /usr/X11R6/lib/libGL.a
15654 then
15655 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15656 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15657 else
15658 opengl_msg="No OpenGL library found on this system."
15660 else $as_nop
15661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15662 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15664 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15666 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"
15668 else $as_nop
15669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15670 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15672 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15674 OPENGL_LIBS="-lGL"
15676 if test "x$with_osmesa" != "xno"
15677 then
15678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15679 printf %s "checking for -lOSMesa... " >&6; }
15680 if test ${ac_cv_lib_soname_OSMesa+y}
15681 then :
15682 printf %s "(cached) " >&6
15683 else $as_nop
15684 ac_check_soname_save_LIBS=$LIBS
15685 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15687 /* end confdefs.h. */
15689 /* Override any GCC internal prototype to avoid an error.
15690 Use char because int might match the return type of a GCC
15691 builtin and then its argument prototype would still apply. */
15692 char OSMesaGetProcAddress ();
15694 main (void)
15696 return OSMesaGetProcAddress ();
15698 return 0;
15700 _ACEOF
15701 if ac_fn_c_try_link "$LINENO"
15702 then :
15703 case "$LIBEXT" in
15704 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15705 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'` ;;
15706 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15707 if ${ac_cv_lib_soname_OSMesa:+false} :
15708 then :
15709 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15710 fi ;;
15711 esac
15712 else $as_nop
15713 ac_cv_lib_soname_OSMesa=
15715 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15716 conftest$ac_exeext conftest.$ac_ext
15717 LIBS=$ac_check_soname_save_LIBS
15719 if ${ac_cv_lib_soname_OSMesa:+false} :
15720 then :
15721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15722 printf "%s\n" "not found" >&6; }
15724 else $as_nop
15725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15726 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15728 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15732 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15733 then :
15734 case "x$with_osmesa" in
15735 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15736 xno) ;;
15737 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15738 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15739 esac
15744 if test -n "$opengl_msg"
15745 then :
15746 case "x$with_opengl" in
15747 x) as_fn_append wine_warnings "|$opengl_msg
15748 OpenGL and Direct3D won't be supported." ;;
15749 xno) ;;
15750 *) as_fn_error $? "$opengl_msg
15751 OpenGL and Direct3D won't be supported.
15752 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15753 esac
15757 CPPFLAGS="$ac_save_CPPFLAGS"
15758 else
15759 X_CFLAGS=""
15760 X_LIBS=""
15763 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15764 then
15765 if test "x$X_LIBS" = "x"
15766 then :
15767 case "x$with_x" in
15768 xno) ;;
15769 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15770 without X support, which probably isn't what you want. You will need
15771 to install ${notice_platform}development packages of Xlib at the very least.
15772 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15773 esac
15774 enable_winex11_drv=${enable_winex11_drv:-no}
15776 else
15777 if test "x$X_LIBS" = "x"
15778 then :
15779 case "x$with_x" in
15780 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15781 xno) ;;
15782 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15783 This is an error since --with-x was requested." "$LINENO" 5 ;;
15784 esac
15785 enable_winex11_drv=${enable_winex11_drv:-no}
15789 if test "$ac_cv_header_CL_cl_h" = "yes"
15790 then
15791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15792 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15793 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15794 then :
15795 printf %s "(cached) " >&6
15796 else $as_nop
15797 ac_check_lib_save_LIBS=$LIBS
15798 LIBS="-lOpenCL $LIBS"
15799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15800 /* end confdefs.h. */
15802 /* Override any GCC internal prototype to avoid an error.
15803 Use char because int might match the return type of a GCC
15804 builtin and then its argument prototype would still apply. */
15805 char clGetPlatformInfo ();
15807 main (void)
15809 return clGetPlatformInfo ();
15811 return 0;
15813 _ACEOF
15814 if ac_fn_c_try_link "$LINENO"
15815 then :
15816 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15817 else $as_nop
15818 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15821 conftest$ac_exeext conftest.$ac_ext
15822 LIBS=$ac_check_lib_save_LIBS
15824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15825 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15826 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15827 then :
15828 OPENCL_LIBS="-lOpenCL"
15833 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15834 then :
15835 case "x$with_opencl" in
15836 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15837 xno) ;;
15838 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15839 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15840 esac
15841 enable_opencl=${enable_opencl:-no}
15844 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15845 then
15846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15847 printf %s "checking for pcap_create in -lpcap... " >&6; }
15848 if test ${ac_cv_lib_pcap_pcap_create+y}
15849 then :
15850 printf %s "(cached) " >&6
15851 else $as_nop
15852 ac_check_lib_save_LIBS=$LIBS
15853 LIBS="-lpcap $LIBS"
15854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15855 /* end confdefs.h. */
15857 /* Override any GCC internal prototype to avoid an error.
15858 Use char because int might match the return type of a GCC
15859 builtin and then its argument prototype would still apply. */
15860 char pcap_create ();
15862 main (void)
15864 return pcap_create ();
15866 return 0;
15868 _ACEOF
15869 if ac_fn_c_try_link "$LINENO"
15870 then :
15871 ac_cv_lib_pcap_pcap_create=yes
15872 else $as_nop
15873 ac_cv_lib_pcap_pcap_create=no
15875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15876 conftest$ac_exeext conftest.$ac_ext
15877 LIBS=$ac_check_lib_save_LIBS
15879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15880 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15881 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15882 then :
15883 PCAP_LIBS="-lpcap"
15888 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15889 then :
15890 case "x$with_pcap" in
15891 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15892 xno) ;;
15893 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15894 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15895 esac
15896 enable_wpcap=${enable_wpcap:-no}
15899 if test "x$with_inotify" != "xno"
15900 then
15901 if ${INOTIFY_CFLAGS:+false} :
15902 then :
15903 if test ${PKG_CONFIG+y}
15904 then :
15905 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15909 if ${INOTIFY_LIBS:+false} :
15910 then :
15911 if test ${PKG_CONFIG+y}
15912 then :
15913 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15918 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15920 ac_save_CPPFLAGS=$CPPFLAGS
15921 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15922 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15923 if test "x$ac_cv_header_sys_inotify_h" = xyes
15924 then :
15925 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15930 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15931 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15932 then :
15933 printf %s "(cached) " >&6
15934 else $as_nop
15935 ac_check_lib_save_LIBS=$LIBS
15936 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15940 /* Override any GCC internal prototype to avoid an error.
15941 Use char because int might match the return type of a GCC
15942 builtin and then its argument prototype would still apply. */
15943 char inotify_add_watch ();
15945 main (void)
15947 return inotify_add_watch ();
15949 return 0;
15951 _ACEOF
15952 if ac_fn_c_try_link "$LINENO"
15953 then :
15954 ac_cv_lib_inotify_inotify_add_watch=yes
15955 else $as_nop
15956 ac_cv_lib_inotify_inotify_add_watch=no
15958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15959 conftest$ac_exeext conftest.$ac_ext
15960 LIBS=$ac_check_lib_save_LIBS
15962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15963 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15964 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15965 then :
15967 else $as_nop
15968 INOTIFY_LIBS=""
15971 CPPFLAGS=$ac_save_CPPFLAGS
15974 if test "$ac_cv_header_sys_inotify_h" != "yes"
15975 then :
15976 case "x$with_inotify" in
15977 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15978 xno) ;;
15979 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15980 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15981 esac
15985 if test "x$with_dbus" != "xno"
15986 then
15987 if ${DBUS_CFLAGS:+false} :
15988 then :
15989 if test ${PKG_CONFIG+y}
15990 then :
15991 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15995 if ${DBUS_LIBS:+false} :
15996 then :
15997 if test ${PKG_CONFIG+y}
15998 then :
15999 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16006 ac_save_CPPFLAGS=$CPPFLAGS
16007 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16008 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16009 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16010 then :
16011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16012 printf %s "checking for -ldbus-1... " >&6; }
16013 if test ${ac_cv_lib_soname_dbus_1+y}
16014 then :
16015 printf %s "(cached) " >&6
16016 else $as_nop
16017 ac_check_soname_save_LIBS=$LIBS
16018 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16020 /* end confdefs.h. */
16022 /* Override any GCC internal prototype to avoid an error.
16023 Use char because int might match the return type of a GCC
16024 builtin and then its argument prototype would still apply. */
16025 char dbus_connection_close ();
16027 main (void)
16029 return dbus_connection_close ();
16031 return 0;
16033 _ACEOF
16034 if ac_fn_c_try_link "$LINENO"
16035 then :
16036 case "$LIBEXT" in
16037 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16038 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'` ;;
16039 *) 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'`
16040 if ${ac_cv_lib_soname_dbus_1:+false} :
16041 then :
16042 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16043 fi ;;
16044 esac
16045 else $as_nop
16046 ac_cv_lib_soname_dbus_1=
16048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16049 conftest$ac_exeext conftest.$ac_ext
16050 LIBS=$ac_check_soname_save_LIBS
16052 if ${ac_cv_lib_soname_dbus_1:+false} :
16053 then :
16054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16055 printf "%s\n" "not found" >&6; }
16056 DBUS_CFLAGS=""
16057 else $as_nop
16058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16059 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16061 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16065 else $as_nop
16066 DBUS_CFLAGS=""
16069 CPPFLAGS=$ac_save_CPPFLAGS
16072 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16073 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16074 then :
16075 case "x$with_dbus" in
16076 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16077 xno) ;;
16078 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16079 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16080 esac
16084 if test "x$with_gnutls" != "xno"
16085 then
16086 if ${GNUTLS_CFLAGS:+false} :
16087 then :
16088 if test ${PKG_CONFIG+y}
16089 then :
16090 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16094 if ${GNUTLS_LIBS:+false} :
16095 then :
16096 if test ${PKG_CONFIG+y}
16097 then :
16098 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16102 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16103 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16105 ac_save_CPPFLAGS=$CPPFLAGS
16106 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16107 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16108 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16109 then :
16110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16111 /* end confdefs.h. */
16112 #include <gnutls/gnutls.h>
16113 #include <gnutls/crypto.h>
16115 main (void)
16117 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16119 return 0;
16121 _ACEOF
16122 if ac_fn_c_try_compile "$LINENO"
16123 then :
16124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16125 printf %s "checking for -lgnutls... " >&6; }
16126 if test ${ac_cv_lib_soname_gnutls+y}
16127 then :
16128 printf %s "(cached) " >&6
16129 else $as_nop
16130 ac_check_soname_save_LIBS=$LIBS
16131 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16135 /* Override any GCC internal prototype to avoid an error.
16136 Use char because int might match the return type of a GCC
16137 builtin and then its argument prototype would still apply. */
16138 char gnutls_global_init ();
16140 main (void)
16142 return gnutls_global_init ();
16144 return 0;
16146 _ACEOF
16147 if ac_fn_c_try_link "$LINENO"
16148 then :
16149 case "$LIBEXT" in
16150 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16151 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'` ;;
16152 *) 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'`
16153 if ${ac_cv_lib_soname_gnutls:+false} :
16154 then :
16155 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'`
16156 fi ;;
16157 esac
16158 else $as_nop
16159 ac_cv_lib_soname_gnutls=
16161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16162 conftest$ac_exeext conftest.$ac_ext
16163 LIBS=$ac_check_soname_save_LIBS
16165 if ${ac_cv_lib_soname_gnutls:+false} :
16166 then :
16167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16168 printf "%s\n" "not found" >&6; }
16169 GNUTLS_CFLAGS=""
16170 else $as_nop
16171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16172 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16174 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16178 ac_wine_check_funcs_save_LIBS="$LIBS"
16179 LIBS="$LIBS $GNUTLS_LIBS"
16181 for ac_func in gnutls_cipher_init
16182 do :
16183 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16184 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16185 then :
16186 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16188 else $as_nop
16189 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16192 done
16193 LIBS="$ac_wine_check_funcs_save_LIBS"
16195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16196 else $as_nop
16197 GNUTLS_CFLAGS=""
16200 CPPFLAGS=$ac_save_CPPFLAGS
16203 if test "x$ac_cv_lib_soname_gnutls" = "x"
16204 then :
16205 case "x$with_gnutls" in
16206 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16207 xno) ;;
16208 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16209 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16210 esac
16214 if test "x$with_sane" != "xno"
16215 then
16216 if ${SANE_CFLAGS:+false} :
16217 then :
16218 if test ${PKG_CONFIG+y}
16219 then :
16220 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16223 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16224 if ${SANE_LIBS:+false} :
16225 then :
16226 if test ${PKG_CONFIG+y}
16227 then :
16228 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16231 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16235 ac_save_CPPFLAGS=$CPPFLAGS
16236 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16237 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16238 if test "x$ac_cv_header_sane_sane_h" = xyes
16239 then :
16240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16241 printf %s "checking for sane_init in -lsane... " >&6; }
16242 if test ${ac_cv_lib_sane_sane_init+y}
16243 then :
16244 printf %s "(cached) " >&6
16245 else $as_nop
16246 ac_check_lib_save_LIBS=$LIBS
16247 LIBS="-lsane $SANE_LIBS $LIBS"
16248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16249 /* end confdefs.h. */
16251 /* Override any GCC internal prototype to avoid an error.
16252 Use char because int might match the return type of a GCC
16253 builtin and then its argument prototype would still apply. */
16254 char sane_init ();
16256 main (void)
16258 return sane_init ();
16260 return 0;
16262 _ACEOF
16263 if ac_fn_c_try_link "$LINENO"
16264 then :
16265 ac_cv_lib_sane_sane_init=yes
16266 else $as_nop
16267 ac_cv_lib_sane_sane_init=no
16269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16270 conftest$ac_exeext conftest.$ac_ext
16271 LIBS=$ac_check_lib_save_LIBS
16273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16274 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16275 if test "x$ac_cv_lib_sane_sane_init" = xyes
16276 then :
16282 CPPFLAGS=$ac_save_CPPFLAGS
16285 if test "$ac_cv_lib_sane_sane_init" != "yes"
16286 then :
16287 case "x$with_sane" in
16288 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16289 xno) ;;
16290 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16291 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16292 esac
16293 enable_sane_ds=${enable_sane_ds:-no}
16296 if test "x$with_usb" != "xno"
16297 then
16298 if ${USB_CFLAGS:+false} :
16299 then :
16300 if test ${PKG_CONFIG+y}
16301 then :
16302 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16306 if ${USB_LIBS:+false} :
16307 then :
16308 if test ${PKG_CONFIG+y}
16309 then :
16310 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16314 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16317 ac_save_CPPFLAGS=$CPPFLAGS
16318 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16319 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16320 if test "x$ac_cv_header_libusb_h" = xyes
16321 then :
16322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16323 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16324 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16325 then :
16326 printf %s "(cached) " >&6
16327 else $as_nop
16328 ac_check_lib_save_LIBS=$LIBS
16329 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16331 /* end confdefs.h. */
16333 /* Override any GCC internal prototype to avoid an error.
16334 Use char because int might match the return type of a GCC
16335 builtin and then its argument prototype would still apply. */
16336 char libusb_interrupt_event_handler ();
16338 main (void)
16340 return libusb_interrupt_event_handler ();
16342 return 0;
16344 _ACEOF
16345 if ac_fn_c_try_link "$LINENO"
16346 then :
16347 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16348 else $as_nop
16349 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16352 conftest$ac_exeext conftest.$ac_ext
16353 LIBS=$ac_check_lib_save_LIBS
16355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16356 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16357 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16358 then :
16360 else $as_nop
16361 USB_LIBS=""
16364 else $as_nop
16365 USB_LIBS=""
16368 CPPFLAGS=$ac_save_CPPFLAGS
16371 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16372 then :
16373 case "x$with_usb" in
16374 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16375 xno) ;;
16376 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16377 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16378 esac
16379 enable_wineusb_sys=${enable_wineusb_sys:-no}
16382 if test "x$with_v4l2" != "xno"
16383 then
16384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16385 printf %s "checking for -lv4l2... " >&6; }
16386 if test ${ac_cv_lib_soname_v4l2+y}
16387 then :
16388 printf %s "(cached) " >&6
16389 else $as_nop
16390 ac_check_soname_save_LIBS=$LIBS
16391 LIBS="-lv4l2 $LIBS"
16392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16395 /* Override any GCC internal prototype to avoid an error.
16396 Use char because int might match the return type of a GCC
16397 builtin and then its argument prototype would still apply. */
16398 char v4l2_open ();
16400 main (void)
16402 return v4l2_open ();
16404 return 0;
16406 _ACEOF
16407 if ac_fn_c_try_link "$LINENO"
16408 then :
16409 case "$LIBEXT" in
16410 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16411 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'` ;;
16412 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16413 if ${ac_cv_lib_soname_v4l2:+false} :
16414 then :
16415 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16416 fi ;;
16417 esac
16418 else $as_nop
16419 ac_cv_lib_soname_v4l2=
16421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16422 conftest$ac_exeext conftest.$ac_ext
16423 LIBS=$ac_check_soname_save_LIBS
16425 if ${ac_cv_lib_soname_v4l2:+false} :
16426 then :
16427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16428 printf "%s\n" "not found" >&6; }
16430 else $as_nop
16431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16432 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16434 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16439 if test "x$ac_cv_lib_soname_v4l2" = "x"
16440 then :
16441 case "x$with_v4l2" in
16442 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16443 xno) ;;
16444 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16445 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16446 esac
16450 if test "x$with_gphoto" != "xno"
16451 then
16452 if ${GPHOTO2_CFLAGS:+false} :
16453 then :
16454 if test ${PKG_CONFIG+y}
16455 then :
16456 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16459 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16460 if ${GPHOTO2_LIBS:+false} :
16461 then :
16462 if test ${PKG_CONFIG+y}
16463 then :
16464 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16467 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16468 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16471 ac_save_CPPFLAGS=$CPPFLAGS
16472 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16473 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16474 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16475 then :
16476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16477 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16478 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16479 then :
16480 printf %s "(cached) " >&6
16481 else $as_nop
16482 ac_check_lib_save_LIBS=$LIBS
16483 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16487 /* Override any GCC internal prototype to avoid an error.
16488 Use char because int might match the return type of a GCC
16489 builtin and then its argument prototype would still apply. */
16490 char gp_camera_new ();
16492 main (void)
16494 return gp_camera_new ();
16496 return 0;
16498 _ACEOF
16499 if ac_fn_c_try_link "$LINENO"
16500 then :
16501 ac_cv_lib_gphoto2_gp_camera_new=yes
16502 else $as_nop
16503 ac_cv_lib_gphoto2_gp_camera_new=no
16505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16506 conftest$ac_exeext conftest.$ac_ext
16507 LIBS=$ac_check_lib_save_LIBS
16509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16510 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16511 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16512 then :
16518 CPPFLAGS=$ac_save_CPPFLAGS
16520 if ${GPHOTO2_PORT_CFLAGS:+false} :
16521 then :
16522 if test ${PKG_CONFIG+y}
16523 then :
16524 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16527 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16528 if ${GPHOTO2_PORT_LIBS:+false} :
16529 then :
16530 if test ${PKG_CONFIG+y}
16531 then :
16532 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16535 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16536 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16537 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16538 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16539 ac_save_CPPFLAGS=$CPPFLAGS
16540 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16541 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16542 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16543 then :
16544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16545 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16546 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16547 then :
16548 printf %s "(cached) " >&6
16549 else $as_nop
16550 ac_check_lib_save_LIBS=$LIBS
16551 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16553 /* end confdefs.h. */
16555 /* Override any GCC internal prototype to avoid an error.
16556 Use char because int might match the return type of a GCC
16557 builtin and then its argument prototype would still apply. */
16558 char gp_port_info_list_new ();
16560 main (void)
16562 return gp_port_info_list_new ();
16564 return 0;
16566 _ACEOF
16567 if ac_fn_c_try_link "$LINENO"
16568 then :
16569 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16570 else $as_nop
16571 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16574 conftest$ac_exeext conftest.$ac_ext
16575 LIBS=$ac_check_lib_save_LIBS
16577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16578 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16579 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16580 then :
16582 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16584 else $as_nop
16585 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16588 else $as_nop
16589 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16592 CPPFLAGS=$ac_save_CPPFLAGS
16595 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16596 then :
16597 case "x$with_gphoto" in
16598 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16599 xno) ;;
16600 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16601 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16602 esac
16603 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16605 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16606 then :
16607 case "x$with_gphoto" in
16608 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16609 xno) ;;
16610 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16611 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16612 esac
16617 if test "$ac_cv_header_resolv_h" = "yes"
16618 then
16619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16620 printf %s "checking for resolver library... " >&6; }
16621 if test ${ac_cv_have_resolv+y}
16622 then :
16623 printf %s "(cached) " >&6
16624 else $as_nop
16625 ac_save_LIBS="$LIBS"
16626 for lib in '' -lresolv
16628 LIBS="$lib $ac_save_LIBS"
16629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16630 /* end confdefs.h. */
16631 #ifdef HAVE_NETINET_IN_H
16632 #include <netinet/in.h>
16633 #endif
16634 #include <resolv.h>
16636 main (void)
16638 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16640 return 0;
16642 _ACEOF
16643 if ac_fn_c_try_link "$LINENO"
16644 then :
16645 ac_cv_have_resolv=${lib:-"none required"}
16646 else $as_nop
16647 ac_cv_have_resolv="not found"
16649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16650 conftest$ac_exeext conftest.$ac_ext
16651 test "x$ac_cv_have_resolv" = "xnot found" || break
16652 done
16653 LIBS="$ac_save_LIBS"
16655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16656 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16658 case "$ac_cv_have_resolv" in
16659 "not found") ;;
16660 "none required")
16662 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16665 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16667 RESOLV_LIBS=$ac_cv_have_resolv
16669 esac
16671 if test "x$ac_cv_have_resolv" != "xnot found"
16672 then
16673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16674 printf %s "checking for res_getservers... " >&6; }
16675 if test ${ac_cv_have_res_getservers+y}
16676 then :
16677 printf %s "(cached) " >&6
16678 else $as_nop
16679 ac_save_LIBS="$LIBS"
16680 LIBS="$RESOLV_LIBS $LIBS"
16681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16682 /* end confdefs.h. */
16683 #include <resolv.h>
16685 main (void)
16687 res_getservers(NULL, NULL, 0);
16689 return 0;
16691 _ACEOF
16692 if ac_fn_c_try_link "$LINENO"
16693 then :
16694 ac_cv_have_res_getservers=yes
16695 else $as_nop
16696 ac_cv_have_res_getservers=no
16698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16699 conftest$ac_exeext conftest.$ac_ext
16700 LIBS="$ac_save_LIBS"
16702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16703 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16704 if test "$ac_cv_have_res_getservers" = "yes"
16705 then
16707 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16713 if test "x$with_freetype" != "xno"
16714 then
16715 if ${FREETYPE_CFLAGS:+false} :
16716 then :
16717 if test ${PKG_CONFIG+y}
16718 then :
16719 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16722 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16723 if ${FREETYPE_LIBS:+false} :
16724 then :
16725 if test ${PKG_CONFIG+y}
16726 then :
16727 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16730 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16731 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16734 ac_save_CPPFLAGS=$CPPFLAGS
16735 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16736 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16737 if test "x$ac_cv_header_ft2build_h" = xyes
16738 then :
16739 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16743 if test "$ac_cv_header_ft2build_h" = "yes"
16744 then
16745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16746 printf %s "checking for -lfreetype... " >&6; }
16747 if test ${ac_cv_lib_soname_freetype+y}
16748 then :
16749 printf %s "(cached) " >&6
16750 else $as_nop
16751 ac_check_soname_save_LIBS=$LIBS
16752 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16754 /* end confdefs.h. */
16756 /* Override any GCC internal prototype to avoid an error.
16757 Use char because int might match the return type of a GCC
16758 builtin and then its argument prototype would still apply. */
16759 char FT_Init_FreeType ();
16761 main (void)
16763 return FT_Init_FreeType ();
16765 return 0;
16767 _ACEOF
16768 if ac_fn_c_try_link "$LINENO"
16769 then :
16770 case "$LIBEXT" in
16771 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16772 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'` ;;
16773 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16774 if ${ac_cv_lib_soname_freetype:+false} :
16775 then :
16776 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16777 fi ;;
16778 esac
16779 else $as_nop
16780 ac_cv_lib_soname_freetype=
16782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16783 conftest$ac_exeext conftest.$ac_ext
16784 LIBS=$ac_check_soname_save_LIBS
16786 if ${ac_cv_lib_soname_freetype:+false} :
16787 then :
16788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16789 printf "%s\n" "not found" >&6; }
16790 FREETYPE_LIBS=""
16791 else $as_nop
16792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16793 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16795 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16798 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16800 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16801 #include FT_MODULE_H
16803 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16804 then :
16806 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16812 else
16813 FREETYPE_CFLAGS=""
16814 FREETYPE_LIBS=""
16816 CPPFLAGS=$ac_save_CPPFLAGS
16819 if test "x$ac_cv_lib_soname_freetype" = x
16820 then :
16821 case "x$with_freetype" in
16822 xno) ;;
16823 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16824 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16825 esac
16826 enable_fonts=${enable_fonts:-no}
16829 ac_wine_check_funcs_save_LIBS="$LIBS"
16830 LIBS="$LIBS $PTHREAD_LIBS"
16831 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16832 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16833 then :
16834 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16838 LIBS="$ac_wine_check_funcs_save_LIBS"
16840 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16841 then
16842 if test "$ac_cv_header_gettext_po_h" = "yes"
16843 then
16844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16845 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16846 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16847 then :
16848 printf %s "(cached) " >&6
16849 else $as_nop
16850 ac_check_lib_save_LIBS=$LIBS
16851 LIBS="-lgettextpo $LIBS"
16852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16853 /* end confdefs.h. */
16855 /* Override any GCC internal prototype to avoid an error.
16856 Use char because int might match the return type of a GCC
16857 builtin and then its argument prototype would still apply. */
16858 char po_message_msgctxt ();
16860 main (void)
16862 return po_message_msgctxt ();
16864 return 0;
16866 _ACEOF
16867 if ac_fn_c_try_link "$LINENO"
16868 then :
16869 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16870 else $as_nop
16871 ac_cv_lib_gettextpo_po_message_msgctxt=no
16873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16874 conftest$ac_exeext conftest.$ac_ext
16875 LIBS=$ac_check_lib_save_LIBS
16877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16878 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16879 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16880 then :
16882 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16884 GETTEXTPO_LIBS="-lgettextpo"
16889 if test "x$GETTEXTPO_LIBS" = "x"
16890 then :
16891 case "x$with_gettextpo" in
16892 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16893 xno) ;;
16894 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16895 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16896 esac
16899 if test "$srcdir" != .
16900 then :
16901 case "x$with_gettextpo" in
16902 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16903 xno) ;;
16904 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16905 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16906 esac
16911 if test "x$with_pulse" != "xno";
16912 then
16913 if ${PULSE_CFLAGS:+false} :
16914 then :
16915 if test ${PKG_CONFIG+y}
16916 then :
16917 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16921 if ${PULSE_LIBS:+false} :
16922 then :
16923 if test ${PKG_CONFIG+y}
16924 then :
16925 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16930 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16931 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16932 ac_save_CPPFLAGS=$CPPFLAGS
16933 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16934 for ac_header in pulse/pulseaudio.h
16935 do :
16936 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16937 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16938 then :
16939 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16941 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16942 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16943 then :
16944 printf %s "(cached) " >&6
16945 else $as_nop
16946 ac_check_lib_save_LIBS=$LIBS
16947 LIBS="-lpulse $PULSE_LIBS $LIBS"
16948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16949 /* end confdefs.h. */
16951 /* Override any GCC internal prototype to avoid an error.
16952 Use char because int might match the return type of a GCC
16953 builtin and then its argument prototype would still apply. */
16954 char pa_stream_is_corked ();
16956 main (void)
16958 return pa_stream_is_corked ();
16960 return 0;
16962 _ACEOF
16963 if ac_fn_c_try_link "$LINENO"
16964 then :
16965 ac_cv_lib_pulse_pa_stream_is_corked=yes
16966 else $as_nop
16967 ac_cv_lib_pulse_pa_stream_is_corked=no
16969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16970 conftest$ac_exeext conftest.$ac_ext
16971 LIBS=$ac_check_lib_save_LIBS
16973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16974 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16975 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16976 then :
16978 else $as_nop
16979 PULSE_LIBS=""
16982 else $as_nop
16983 PULSE_LIBS=""
16986 done
16987 CPPFLAGS=$ac_save_CPPFLAGS
16990 if test -z "$PULSE_LIBS"
16991 then :
16992 case "x$with_pulse" in
16993 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16994 xno) ;;
16995 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16996 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16997 esac
16998 enable_winepulse_drv=${enable_winepulse_drv:-no}
17001 if test "x$with_gstreamer" != "xno"
17002 then
17003 if ${GSTREAMER_CFLAGS:+false} :
17004 then :
17005 if test ${PKG_CONFIG+y}
17006 then :
17007 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17011 if ${GSTREAMER_LIBS:+false} :
17012 then :
17013 if test ${PKG_CONFIG+y}
17014 then :
17015 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17020 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17021 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17022 ac_save_CPPFLAGS=$CPPFLAGS
17023 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17024 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17025 if test "x$ac_cv_header_gst_gst_h" = xyes
17026 then :
17027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17028 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17030 /* end confdefs.h. */
17031 #include <gst/gst.h>
17033 main (void)
17035 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17037 return 0;
17039 _ACEOF
17040 if ac_fn_c_try_compile "$LINENO"
17041 then :
17042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17043 printf "%s\n" "yes" >&6; }
17044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17045 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17046 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17047 then :
17048 printf %s "(cached) " >&6
17049 else $as_nop
17050 ac_check_lib_save_LIBS=$LIBS
17051 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17055 /* Override any GCC internal prototype to avoid an error.
17056 Use char because int might match the return type of a GCC
17057 builtin and then its argument prototype would still apply. */
17058 char gst_pad_new ();
17060 main (void)
17062 return gst_pad_new ();
17064 return 0;
17066 _ACEOF
17067 if ac_fn_c_try_link "$LINENO"
17068 then :
17069 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17070 else $as_nop
17071 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17074 conftest$ac_exeext conftest.$ac_ext
17075 LIBS=$ac_check_lib_save_LIBS
17077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17078 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17079 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17080 then :
17084 else $as_nop
17085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17086 printf "%s\n" "no" >&6; }
17087 ac_glib2_broken=yes
17088 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17093 CPPFLAGS=$ac_save_CPPFLAGS
17096 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17097 then :
17098 case "x$with_gstreamer" in
17099 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17100 xno) ;;
17101 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17102 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17103 esac
17104 enable_winegstreamer=${enable_winegstreamer:-no}
17107 ALSA_LIBS=""
17109 if test "x$with_alsa" != "xno"
17110 then
17111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17112 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17113 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17114 then :
17115 printf %s "(cached) " >&6
17116 else $as_nop
17117 ac_check_lib_save_LIBS=$LIBS
17118 LIBS="-lasound $LIBS"
17119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17120 /* end confdefs.h. */
17122 /* Override any GCC internal prototype to avoid an error.
17123 Use char because int might match the return type of a GCC
17124 builtin and then its argument prototype would still apply. */
17125 char snd_pcm_hw_params_get_access_mask ();
17127 main (void)
17129 return snd_pcm_hw_params_get_access_mask ();
17131 return 0;
17133 _ACEOF
17134 if ac_fn_c_try_link "$LINENO"
17135 then :
17136 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17137 else $as_nop
17138 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17141 conftest$ac_exeext conftest.$ac_ext
17142 LIBS=$ac_check_lib_save_LIBS
17144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17145 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17146 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17147 then :
17148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17149 /* end confdefs.h. */
17150 #include <alsa/asoundlib.h>
17152 main (void)
17154 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17156 return 0;
17158 _ACEOF
17159 if ac_fn_c_try_compile "$LINENO"
17160 then :
17161 ALSA_LIBS="-lasound"
17163 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17167 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17169 if test "x$with_oss" != xno
17170 then
17171 ac_save_CPPFLAGS="$CPPFLAGS"
17172 if test -f /etc/oss.conf
17173 then
17174 . /etc/oss.conf
17176 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17177 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17178 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17179 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17180 then :
17181 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17183 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17184 then :
17186 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17188 OSS4_CFLAGS="$ac_oss_incl"
17190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17191 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17192 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17193 then :
17194 printf %s "(cached) " >&6
17195 else $as_nop
17196 ac_check_lib_save_LIBS=$LIBS
17197 LIBS="-lossaudio $LIBS"
17198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17201 /* Override any GCC internal prototype to avoid an error.
17202 Use char because int might match the return type of a GCC
17203 builtin and then its argument prototype would still apply. */
17204 char _oss_ioctl ();
17206 main (void)
17208 return _oss_ioctl ();
17210 return 0;
17212 _ACEOF
17213 if ac_fn_c_try_link "$LINENO"
17214 then :
17215 ac_cv_lib_ossaudio__oss_ioctl=yes
17216 else $as_nop
17217 ac_cv_lib_ossaudio__oss_ioctl=no
17219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17220 conftest$ac_exeext conftest.$ac_ext
17221 LIBS=$ac_check_lib_save_LIBS
17223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17224 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17225 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17226 then :
17227 OSS4_LIBS="-lossaudio"
17235 CPPFLAGS="$ac_save_CPPFLAGS"
17237 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17238 then :
17239 case "x$with_oss" in
17240 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17241 xno) ;;
17242 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17243 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17244 esac
17245 enable_wineoss_drv=${enable_wineoss_drv:-no}
17248 if test "x$with_udev" != "xno"
17249 then
17250 if ${UDEV_CFLAGS:+false} :
17251 then :
17252 if test ${PKG_CONFIG+y}
17253 then :
17254 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17258 if ${UDEV_LIBS:+false} :
17259 then :
17260 if test ${PKG_CONFIG+y}
17261 then :
17262 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17266 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17268 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17269 ac_save_CPPFLAGS=$CPPFLAGS
17270 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17271 for ac_header in libudev.h
17272 do :
17273 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17274 if test "x$ac_cv_header_libudev_h" = xyes
17275 then :
17276 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17278 printf %s "checking for udev_new in -ludev... " >&6; }
17279 if test ${ac_cv_lib_udev_udev_new+y}
17280 then :
17281 printf %s "(cached) " >&6
17282 else $as_nop
17283 ac_check_lib_save_LIBS=$LIBS
17284 LIBS="-ludev $UDEV_LIBS $LIBS"
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17288 /* Override any GCC internal prototype to avoid an error.
17289 Use char because int might match the return type of a GCC
17290 builtin and then its argument prototype would still apply. */
17291 char udev_new ();
17293 main (void)
17295 return udev_new ();
17297 return 0;
17299 _ACEOF
17300 if ac_fn_c_try_link "$LINENO"
17301 then :
17302 ac_cv_lib_udev_udev_new=yes
17303 else $as_nop
17304 ac_cv_lib_udev_udev_new=no
17306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17307 conftest$ac_exeext conftest.$ac_ext
17308 LIBS=$ac_check_lib_save_LIBS
17310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17311 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17312 if test "x$ac_cv_lib_udev_udev_new" = xyes
17313 then :
17315 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17317 else $as_nop
17318 UDEV_LIBS=""
17321 else $as_nop
17322 UDEV_LIBS=""
17325 done
17326 CPPFLAGS=$ac_save_CPPFLAGS
17329 if test "x$UDEV_LIBS" = "x"
17330 then :
17331 case "x$with_udev" in
17332 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17333 xno) ;;
17334 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17335 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17336 esac
17340 if test "x$with_unwind" != xno
17341 then
17342 if ${UNWIND_CFLAGS:+false} :
17343 then :
17344 if test ${PKG_CONFIG+y}
17345 then :
17346 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17350 if ${UNWIND_LIBS:+false} :
17351 then :
17352 if test ${PKG_CONFIG+y}
17353 then :
17354 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17358 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17361 ac_save_CPPFLAGS=$CPPFLAGS
17362 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17364 printf %s "checking for unw_step... " >&6; }
17365 if test ${wine_cv_have_unw_step+y}
17366 then :
17367 printf %s "(cached) " >&6
17368 else $as_nop
17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17371 #define UNW_LOCAL_ONLY
17372 #include <libunwind.h>
17374 main (void)
17376 unw_cursor_t cursor; unw_step( &cursor );
17378 return 0;
17380 _ACEOF
17381 if ac_fn_c_try_link "$LINENO"
17382 then :
17383 wine_cv_have_unw_step="yes"
17384 else $as_nop
17385 wine_cv_have_unw_step="no"
17387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17388 conftest$ac_exeext conftest.$ac_ext
17390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17391 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17392 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17393 then
17394 save_libs=$LIBS
17395 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17396 LIBS="$UNWIND_LIBS $LIBS"
17397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17398 printf %s "checking for unw_step in libunwind... " >&6; }
17399 if test ${wine_cv_have_libunwind_unw_step+y}
17400 then :
17401 printf %s "(cached) " >&6
17402 else $as_nop
17403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17404 /* end confdefs.h. */
17405 #define UNW_LOCAL_ONLY
17406 #include <libunwind.h>
17408 main (void)
17410 unw_cursor_t cursor; unw_step( &cursor );
17412 return 0;
17414 _ACEOF
17415 if ac_fn_c_try_link "$LINENO"
17416 then :
17417 wine_cv_have_libunwind_unw_step="yes"
17418 else $as_nop
17419 wine_cv_have_libunwind_unw_step="no"
17421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17422 conftest$ac_exeext conftest.$ac_ext
17424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17425 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17426 LIBS=$save_libs
17428 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17429 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17430 then
17432 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17435 CPPFLAGS=$ac_save_CPPFLAGS
17438 case $host in
17439 aarch64*|*-darwin*)
17440 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17441 then :
17442 case "x$with_unwind" in
17443 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17444 xno) ;;
17445 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17446 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17447 esac
17449 fi ;;
17450 esac
17452 if test "x$with_sdl" != "xno"
17453 then
17454 if ${SDL2_CFLAGS:+false} :
17455 then :
17456 if test ${PKG_CONFIG+y}
17457 then :
17458 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17462 if ${SDL2_LIBS:+false} :
17463 then :
17464 if test ${PKG_CONFIG+y}
17465 then :
17466 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17470 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17473 ac_save_CPPFLAGS=$CPPFLAGS
17474 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17475 for ac_header in SDL.h
17476 do :
17477 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17478 if test "x$ac_cv_header_SDL_h" = xyes
17479 then :
17480 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17482 printf %s "checking for -lSDL2... " >&6; }
17483 if test ${ac_cv_lib_soname_SDL2+y}
17484 then :
17485 printf %s "(cached) " >&6
17486 else $as_nop
17487 ac_check_soname_save_LIBS=$LIBS
17488 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17490 /* end confdefs.h. */
17492 /* Override any GCC internal prototype to avoid an error.
17493 Use char because int might match the return type of a GCC
17494 builtin and then its argument prototype would still apply. */
17495 char SDL_Init ();
17497 main (void)
17499 return SDL_Init ();
17501 return 0;
17503 _ACEOF
17504 if ac_fn_c_try_link "$LINENO"
17505 then :
17506 case "$LIBEXT" in
17507 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17508 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'` ;;
17509 *) 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'`
17510 if ${ac_cv_lib_soname_SDL2:+false} :
17511 then :
17512 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17513 fi ;;
17514 esac
17515 else $as_nop
17516 ac_cv_lib_soname_SDL2=
17518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17519 conftest$ac_exeext conftest.$ac_ext
17520 LIBS=$ac_check_soname_save_LIBS
17522 if ${ac_cv_lib_soname_SDL2:+false} :
17523 then :
17524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17525 printf "%s\n" "not found" >&6; }
17527 else $as_nop
17528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17529 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17531 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17537 done
17538 CPPFLAGS=$ac_save_CPPFLAGS
17541 if test "x$ac_cv_lib_soname_SDL2" = "x"
17542 then :
17543 case "x$with_sdl" in
17544 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17545 xno) ;;
17546 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17547 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17548 esac
17552 if test "x$with_capi" != "xno"
17553 then
17554 if ${CAPI20_CFLAGS:+false} :
17555 then :
17556 if test ${PKG_CONFIG+y}
17557 then :
17558 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17562 if ${CAPI20_LIBS:+false} :
17563 then :
17564 if test ${PKG_CONFIG+y}
17565 then :
17566 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17573 ac_save_CPPFLAGS=$CPPFLAGS
17574 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17575 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17577 if test "x$ac_cv_header_capi20_h" = xyes
17578 then :
17579 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17582 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17584 if test "x$ac_cv_header_linux_capi_h" = xyes
17585 then :
17586 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17590 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17591 then
17592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17593 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17594 if test ${ac_cv_lib_capi20_capi20_register+y}
17595 then :
17596 printf %s "(cached) " >&6
17597 else $as_nop
17598 ac_check_lib_save_LIBS=$LIBS
17599 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17601 /* end confdefs.h. */
17603 /* Override any GCC internal prototype to avoid an error.
17604 Use char because int might match the return type of a GCC
17605 builtin and then its argument prototype would still apply. */
17606 char capi20_register ();
17608 main (void)
17610 return capi20_register ();
17612 return 0;
17614 _ACEOF
17615 if ac_fn_c_try_link "$LINENO"
17616 then :
17617 ac_cv_lib_capi20_capi20_register=yes
17618 else $as_nop
17619 ac_cv_lib_capi20_capi20_register=no
17621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17622 conftest$ac_exeext conftest.$ac_ext
17623 LIBS=$ac_check_lib_save_LIBS
17625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17626 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17627 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17628 then :
17630 else $as_nop
17631 CAPI20_LIBS=""
17635 CPPFLAGS=$ac_save_CPPFLAGS
17638 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17639 then :
17640 case "x$with_capi" in
17641 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17642 xno) ;;
17643 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17644 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17645 esac
17646 enable_capi2032=${enable_capi2032:-no}
17649 if test "x$with_cups" != "xno"
17650 then
17651 if ${CUPS_CFLAGS:+false} :
17652 then :
17653 if test ${PKG_CONFIG+y}
17654 then :
17655 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17658 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17659 if ${CUPS_LIBS:+false} :
17660 then :
17661 if test ${PKG_CONFIG+y}
17662 then :
17663 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17666 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17667 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17670 ac_save_CPPFLAGS=$CPPFLAGS
17671 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17672 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17673 if test "x$ac_cv_header_cups_cups_h" = xyes
17674 then :
17675 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17678 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17679 if test "x$ac_cv_header_cups_ppd_h" = xyes
17680 then :
17681 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17685 if test "$ac_cv_header_cups_cups_h" = "yes"
17686 then
17687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17688 printf %s "checking for -lcups... " >&6; }
17689 if test ${ac_cv_lib_soname_cups+y}
17690 then :
17691 printf %s "(cached) " >&6
17692 else $as_nop
17693 ac_check_soname_save_LIBS=$LIBS
17694 LIBS="-lcups $CUPS_LIBS $LIBS"
17695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17696 /* end confdefs.h. */
17698 /* Override any GCC internal prototype to avoid an error.
17699 Use char because int might match the return type of a GCC
17700 builtin and then its argument prototype would still apply. */
17701 char cupsGetDefault ();
17703 main (void)
17705 return cupsGetDefault ();
17707 return 0;
17709 _ACEOF
17710 if ac_fn_c_try_link "$LINENO"
17711 then :
17712 case "$LIBEXT" in
17713 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17714 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'` ;;
17715 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17716 if ${ac_cv_lib_soname_cups:+false} :
17717 then :
17718 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17719 fi ;;
17720 esac
17721 else $as_nop
17722 ac_cv_lib_soname_cups=
17724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17725 conftest$ac_exeext conftest.$ac_ext
17726 LIBS=$ac_check_soname_save_LIBS
17728 if ${ac_cv_lib_soname_cups:+false} :
17729 then :
17730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17731 printf "%s\n" "not found" >&6; }
17732 CUPS_LIBS=""
17733 else $as_nop
17734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17735 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17737 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17741 else
17742 CUPS_CFLAGS=""
17743 CUPS_LIBS=""
17745 CPPFLAGS=$ac_save_CPPFLAGS
17748 if test "x$ac_cv_lib_soname_cups" = "x"
17749 then :
17750 case "x$with_cups" in
17751 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17752 xno) ;;
17753 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17754 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17755 esac
17759 if test "x$with_fontconfig" != "xno"
17760 then
17761 if ${FONTCONFIG_CFLAGS:+false} :
17762 then :
17763 if test ${PKG_CONFIG+y}
17764 then :
17765 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17768 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17769 if ${FONTCONFIG_LIBS:+false} :
17770 then :
17771 if test ${PKG_CONFIG+y}
17772 then :
17773 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17776 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17780 ac_save_CPPFLAGS=$CPPFLAGS
17781 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17782 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17783 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17784 then :
17785 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17789 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17790 then
17791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17792 printf %s "checking for -lfontconfig... " >&6; }
17793 if test ${ac_cv_lib_soname_fontconfig+y}
17794 then :
17795 printf %s "(cached) " >&6
17796 else $as_nop
17797 ac_check_soname_save_LIBS=$LIBS
17798 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17800 /* end confdefs.h. */
17802 /* Override any GCC internal prototype to avoid an error.
17803 Use char because int might match the return type of a GCC
17804 builtin and then its argument prototype would still apply. */
17805 char FcInit ();
17807 main (void)
17809 return FcInit ();
17811 return 0;
17813 _ACEOF
17814 if ac_fn_c_try_link "$LINENO"
17815 then :
17816 case "$LIBEXT" in
17817 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17818 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'` ;;
17819 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17820 if ${ac_cv_lib_soname_fontconfig:+false} :
17821 then :
17822 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17823 fi ;;
17824 esac
17825 else $as_nop
17826 ac_cv_lib_soname_fontconfig=
17828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17829 conftest$ac_exeext conftest.$ac_ext
17830 LIBS=$ac_check_soname_save_LIBS
17832 if ${ac_cv_lib_soname_fontconfig:+false} :
17833 then :
17834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17835 printf "%s\n" "not found" >&6; }
17836 FONTCONFIG_CFLAGS=""
17837 else $as_nop
17838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17839 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17841 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17845 else
17846 FONTCONFIG_CFLAGS=""
17848 CPPFLAGS=$ac_save_CPPFLAGS
17851 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17852 then :
17853 case "x$with_fontconfig" in
17854 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17855 xno) ;;
17856 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17857 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17858 esac
17862 if test "x$with_krb5" != "xno"
17863 then
17864 if ${KRB5_CFLAGS:+false} :
17865 then :
17866 if test ${PKG_CONFIG+y}
17867 then :
17868 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17871 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17872 if ${KRB5_LIBS:+false} :
17873 then :
17874 if test ${PKG_CONFIG+y}
17875 then :
17876 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17879 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17881 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17882 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17883 ac_save_CPPFLAGS=$CPPFLAGS
17884 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17885 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17886 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17887 then :
17888 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17892 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17893 then
17894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17895 printf %s "checking for -lkrb5... " >&6; }
17896 if test ${ac_cv_lib_soname_krb5+y}
17897 then :
17898 printf %s "(cached) " >&6
17899 else $as_nop
17900 ac_check_soname_save_LIBS=$LIBS
17901 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17903 /* end confdefs.h. */
17905 /* Override any GCC internal prototype to avoid an error.
17906 Use char because int might match the return type of a GCC
17907 builtin and then its argument prototype would still apply. */
17908 char krb5_is_config_principal ();
17910 main (void)
17912 return krb5_is_config_principal ();
17914 return 0;
17916 _ACEOF
17917 if ac_fn_c_try_link "$LINENO"
17918 then :
17919 case "$LIBEXT" in
17920 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17921 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'` ;;
17922 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17923 if ${ac_cv_lib_soname_krb5:+false} :
17924 then :
17925 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17926 fi ;;
17927 esac
17928 else $as_nop
17929 ac_cv_lib_soname_krb5=
17931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17932 conftest$ac_exeext conftest.$ac_ext
17933 LIBS=$ac_check_soname_save_LIBS
17935 if ${ac_cv_lib_soname_krb5:+false} :
17936 then :
17937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17938 printf "%s\n" "not found" >&6; }
17939 KRB5_CFLAGS=""
17940 else $as_nop
17941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17942 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17944 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17948 else
17949 KRB5_CFLAGS=""
17951 CPPFLAGS=$ac_save_CPPFLAGS
17954 if test "x$ac_cv_lib_soname_krb5" = "x"
17955 then :
17956 case "x$with_krb5" in
17957 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17958 xno) ;;
17959 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17960 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17961 esac
17964 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17966 if test "x$with_gssapi" != "xno"
17967 then
17968 if ${GSSAPI_CFLAGS:+false} :
17969 then :
17970 if test ${PKG_CONFIG+y}
17971 then :
17972 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17975 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17976 if ${GSSAPI_LIBS:+false} :
17977 then :
17978 if test ${PKG_CONFIG+y}
17979 then :
17980 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17983 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17987 ac_save_CPPFLAGS=$CPPFLAGS
17988 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17989 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17990 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17991 then :
17992 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17995 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17996 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17997 then :
17998 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18002 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18003 then
18004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18005 printf %s "checking for -lgssapi_krb5... " >&6; }
18006 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18007 then :
18008 printf %s "(cached) " >&6
18009 else $as_nop
18010 ac_check_soname_save_LIBS=$LIBS
18011 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18013 /* end confdefs.h. */
18015 /* Override any GCC internal prototype to avoid an error.
18016 Use char because int might match the return type of a GCC
18017 builtin and then its argument prototype would still apply. */
18018 char gss_init_sec_context ();
18020 main (void)
18022 return gss_init_sec_context ();
18024 return 0;
18026 _ACEOF
18027 if ac_fn_c_try_link "$LINENO"
18028 then :
18029 case "$LIBEXT" in
18030 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18031 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'` ;;
18032 *) 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'`
18033 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18034 then :
18035 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18036 fi ;;
18037 esac
18038 else $as_nop
18039 ac_cv_lib_soname_gssapi_krb5=
18041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18042 conftest$ac_exeext conftest.$ac_ext
18043 LIBS=$ac_check_soname_save_LIBS
18045 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18046 then :
18047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18048 printf "%s\n" "not found" >&6; }
18049 GSSAPI_CFLAGS=""
18050 else $as_nop
18051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18052 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18054 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18058 else
18059 GSSAPI_CFLAGS=""
18061 CPPFLAGS=$ac_save_CPPFLAGS
18064 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18065 then :
18066 case "x$with_gssapi" in
18067 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18068 xno) ;;
18069 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18070 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18071 esac
18075 if test "$ac_cv_header_AL_al_h" = "yes"
18076 then
18077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18078 printf %s "checking for -lopenal... " >&6; }
18079 if test ${ac_cv_lib_soname_openal+y}
18080 then :
18081 printf %s "(cached) " >&6
18082 else $as_nop
18083 ac_check_soname_save_LIBS=$LIBS
18084 LIBS="-lopenal $LIBS"
18085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18086 /* end confdefs.h. */
18088 /* Override any GCC internal prototype to avoid an error.
18089 Use char because int might match the return type of a GCC
18090 builtin and then its argument prototype would still apply. */
18091 char alGetSource3i ();
18093 main (void)
18095 return alGetSource3i ();
18097 return 0;
18099 _ACEOF
18100 if ac_fn_c_try_link "$LINENO"
18101 then :
18102 case "$LIBEXT" in
18103 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18104 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'` ;;
18105 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18106 if ${ac_cv_lib_soname_openal:+false} :
18107 then :
18108 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18109 fi ;;
18110 esac
18111 else $as_nop
18112 ac_cv_lib_soname_openal=
18114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18115 conftest$ac_exeext conftest.$ac_ext
18116 LIBS=$ac_check_soname_save_LIBS
18118 if ${ac_cv_lib_soname_openal:+false} :
18119 then :
18120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18121 printf "%s\n" "not found" >&6; }
18123 else $as_nop
18124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18125 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18127 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18129 OPENAL_LIBS="-lopenal"
18131 ac_cv_lib_openal=yes
18133 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18137 if test "x$ac_cv_lib_openal" != xyes
18138 then :
18139 case "x$with_openal" in
18140 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18141 xno) ;;
18142 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18143 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18144 esac
18145 enable_openal32=${enable_openal32:-no}
18148 if test "$ac_cv_header_libprocstat_h" = "yes"
18149 then
18150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18151 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18152 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18153 then :
18154 printf %s "(cached) " >&6
18155 else $as_nop
18156 ac_check_lib_save_LIBS=$LIBS
18157 LIBS="-lprocstat $LIBS"
18158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18159 /* end confdefs.h. */
18161 /* Override any GCC internal prototype to avoid an error.
18162 Use char because int might match the return type of a GCC
18163 builtin and then its argument prototype would still apply. */
18164 char procstat_open_sysctl ();
18166 main (void)
18168 return procstat_open_sysctl ();
18170 return 0;
18172 _ACEOF
18173 if ac_fn_c_try_link "$LINENO"
18174 then :
18175 ac_cv_lib_procstat_procstat_open_sysctl=yes
18176 else $as_nop
18177 ac_cv_lib_procstat_procstat_open_sysctl=no
18179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18180 conftest$ac_exeext conftest.$ac_ext
18181 LIBS=$ac_check_lib_save_LIBS
18183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18184 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18185 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18186 then :
18188 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18190 PROCSTAT_LIBS="-lprocstat"
18196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18197 printf %s "checking for -lodbc... " >&6; }
18198 if test ${ac_cv_lib_soname_odbc+y}
18199 then :
18200 printf %s "(cached) " >&6
18201 else $as_nop
18202 ac_check_soname_save_LIBS=$LIBS
18203 LIBS="-lodbc $LIBS"
18204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18205 /* end confdefs.h. */
18207 /* Override any GCC internal prototype to avoid an error.
18208 Use char because int might match the return type of a GCC
18209 builtin and then its argument prototype would still apply. */
18210 char SQLConnect ();
18212 main (void)
18214 return SQLConnect ();
18216 return 0;
18218 _ACEOF
18219 if ac_fn_c_try_link "$LINENO"
18220 then :
18221 case "$LIBEXT" in
18222 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18223 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'` ;;
18224 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18225 if ${ac_cv_lib_soname_odbc:+false} :
18226 then :
18227 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18228 fi ;;
18229 esac
18230 else $as_nop
18231 ac_cv_lib_soname_odbc=
18233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18234 conftest$ac_exeext conftest.$ac_ext
18235 LIBS=$ac_check_soname_save_LIBS
18237 if ${ac_cv_lib_soname_odbc:+false} :
18238 then :
18239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18240 printf "%s\n" "not found" >&6; }
18241 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18243 else $as_nop
18244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18245 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18247 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18252 if test "x$with_netapi" != "xno"
18253 then
18254 if ${NETAPI_CFLAGS:+false} :
18255 then :
18256 if test ${PKG_CONFIG+y}
18257 then :
18258 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18262 if ${NETAPI_LIBS:+false} :
18263 then :
18264 if test ${PKG_CONFIG+y}
18265 then :
18266 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18273 ac_save_CPPFLAGS=$CPPFLAGS
18274 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18276 printf %s "checking for -lnetapi... " >&6; }
18277 if test ${ac_cv_lib_soname_netapi+y}
18278 then :
18279 printf %s "(cached) " >&6
18280 else $as_nop
18281 ac_check_soname_save_LIBS=$LIBS
18282 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18284 /* end confdefs.h. */
18286 /* Override any GCC internal prototype to avoid an error.
18287 Use char because int might match the return type of a GCC
18288 builtin and then its argument prototype would still apply. */
18289 char libnetapi_init ();
18291 main (void)
18293 return libnetapi_init ();
18295 return 0;
18297 _ACEOF
18298 if ac_fn_c_try_link "$LINENO"
18299 then :
18300 case "$LIBEXT" in
18301 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18302 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'` ;;
18303 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18304 if ${ac_cv_lib_soname_netapi:+false} :
18305 then :
18306 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18307 fi ;;
18308 esac
18309 else $as_nop
18310 ac_cv_lib_soname_netapi=
18312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18313 conftest$ac_exeext conftest.$ac_ext
18314 LIBS=$ac_check_soname_save_LIBS
18316 if ${ac_cv_lib_soname_netapi:+false} :
18317 then :
18318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18319 printf "%s\n" "not found" >&6; }
18320 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18322 else $as_nop
18323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18324 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18326 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18330 CPPFLAGS=$ac_save_CPPFLAGS
18333 if test "x$ac_cv_lib_soname_netapi" = "x"
18334 then :
18335 case "x$with_netapi" in
18336 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18337 xno) ;;
18338 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18339 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18340 esac
18341 enable_netapi=${enable_netapi:-no}
18345 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18346 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18347 then
18348 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18351 if test "x$with_vulkan" != "xno"
18352 then
18353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18354 printf %s "checking for -lvulkan... " >&6; }
18355 if test ${ac_cv_lib_soname_vulkan+y}
18356 then :
18357 printf %s "(cached) " >&6
18358 else $as_nop
18359 ac_check_soname_save_LIBS=$LIBS
18360 LIBS="-lvulkan $LIBS"
18361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18362 /* end confdefs.h. */
18364 /* Override any GCC internal prototype to avoid an error.
18365 Use char because int might match the return type of a GCC
18366 builtin and then its argument prototype would still apply. */
18367 char vkGetInstanceProcAddr ();
18369 main (void)
18371 return vkGetInstanceProcAddr ();
18373 return 0;
18375 _ACEOF
18376 if ac_fn_c_try_link "$LINENO"
18377 then :
18378 case "$LIBEXT" in
18379 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18380 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'` ;;
18381 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18382 if ${ac_cv_lib_soname_vulkan:+false} :
18383 then :
18384 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18385 fi ;;
18386 esac
18387 else $as_nop
18388 ac_cv_lib_soname_vulkan=
18390 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18391 conftest$ac_exeext conftest.$ac_ext
18392 LIBS=$ac_check_soname_save_LIBS
18394 if ${ac_cv_lib_soname_vulkan:+false} :
18395 then :
18396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18397 printf "%s\n" "not found" >&6; }
18399 else $as_nop
18400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18401 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18403 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18407 if test "x$ac_cv_lib_soname_vulkan" = "x"
18408 then
18409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18410 printf %s "checking for -lMoltenVK... " >&6; }
18411 if test ${ac_cv_lib_soname_MoltenVK+y}
18412 then :
18413 printf %s "(cached) " >&6
18414 else $as_nop
18415 ac_check_soname_save_LIBS=$LIBS
18416 LIBS="-lMoltenVK $LIBS"
18417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18418 /* end confdefs.h. */
18420 /* Override any GCC internal prototype to avoid an error.
18421 Use char because int might match the return type of a GCC
18422 builtin and then its argument prototype would still apply. */
18423 char vkGetInstanceProcAddr ();
18425 main (void)
18427 return vkGetInstanceProcAddr ();
18429 return 0;
18431 _ACEOF
18432 if ac_fn_c_try_link "$LINENO"
18433 then :
18434 case "$LIBEXT" in
18435 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18436 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'` ;;
18437 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18438 if ${ac_cv_lib_soname_MoltenVK:+false} :
18439 then :
18440 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18441 fi ;;
18442 esac
18443 else $as_nop
18444 ac_cv_lib_soname_MoltenVK=
18446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18447 conftest$ac_exeext conftest.$ac_ext
18448 LIBS=$ac_check_soname_save_LIBS
18450 if ${ac_cv_lib_soname_MoltenVK:+false} :
18451 then :
18452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18453 printf "%s\n" "not found" >&6; }
18455 else $as_nop
18456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18457 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18459 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18465 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18466 then :
18467 case "x$with_vulkan" in
18468 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18469 xno) ;;
18470 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18471 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18472 esac
18477 if test "x${GCC}" = "xyes"
18478 then
18479 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18481 saved_CFLAGS=$CFLAGS
18482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18483 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18484 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18485 then :
18486 printf %s "(cached) " >&6
18487 else $as_nop
18488 ac_wine_try_cflags_saved=$CFLAGS
18489 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18491 /* end confdefs.h. */
18492 int main(int argc, char **argv) { return 0; }
18493 _ACEOF
18494 if ac_fn_c_try_link "$LINENO"
18495 then :
18496 ac_cv_cflags__Werror_unknown_warning_option=yes
18497 else $as_nop
18498 ac_cv_cflags__Werror_unknown_warning_option=no
18500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18501 conftest$ac_exeext conftest.$ac_ext
18502 CFLAGS=$ac_wine_try_cflags_saved
18504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18505 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18506 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18507 then :
18508 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18511 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18512 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18513 then :
18514 printf %s "(cached) " >&6
18515 else $as_nop
18516 ac_wine_try_cflags_saved=$CFLAGS
18517 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18520 int main(int argc, char **argv) { return 0; }
18521 _ACEOF
18522 if ac_fn_c_try_link "$LINENO"
18523 then :
18524 ac_cv_cflags__Werror_unused_command_line_argument=yes
18525 else $as_nop
18526 ac_cv_cflags__Werror_unused_command_line_argument=no
18528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18529 conftest$ac_exeext conftest.$ac_ext
18530 CFLAGS=$ac_wine_try_cflags_saved
18532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18533 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18534 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18535 then :
18536 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18539 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18540 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18541 then :
18542 printf %s "(cached) " >&6
18543 else $as_nop
18544 ac_wine_try_cflags_saved=$CFLAGS
18545 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18547 /* end confdefs.h. */
18548 int main(int argc, char **argv) { return 0; }
18549 _ACEOF
18550 if ac_fn_c_try_link "$LINENO"
18551 then :
18552 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18553 else $as_nop
18554 ac_cv_cflags__Werror_ignored_optimization_argument=no
18556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18557 conftest$ac_exeext conftest.$ac_ext
18558 CFLAGS=$ac_wine_try_cflags_saved
18560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18561 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18562 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18563 then :
18564 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18567 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18568 if test ${ac_cv_cflags__fcf_protection_none+y}
18569 then :
18570 printf %s "(cached) " >&6
18571 else $as_nop
18572 ac_wine_try_cflags_saved=$CFLAGS
18573 CFLAGS="$CFLAGS -fcf-protection=none"
18574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18575 /* end confdefs.h. */
18576 int main(int argc, char **argv) { return 0; }
18577 _ACEOF
18578 if ac_fn_c_try_link "$LINENO"
18579 then :
18580 ac_cv_cflags__fcf_protection_none=yes
18581 else $as_nop
18582 ac_cv_cflags__fcf_protection_none=no
18584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18585 conftest$ac_exeext conftest.$ac_ext
18586 CFLAGS=$ac_wine_try_cflags_saved
18588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18589 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18590 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18591 then :
18592 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18595 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18596 if test ${ac_cv_cflags__fno_stack_protector+y}
18597 then :
18598 printf %s "(cached) " >&6
18599 else $as_nop
18600 ac_wine_try_cflags_saved=$CFLAGS
18601 CFLAGS="$CFLAGS -fno-stack-protector"
18602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18603 /* end confdefs.h. */
18604 int main(int argc, char **argv) { return 0; }
18605 _ACEOF
18606 if ac_fn_c_try_link "$LINENO"
18607 then :
18608 ac_cv_cflags__fno_stack_protector=yes
18609 else $as_nop
18610 ac_cv_cflags__fno_stack_protector=no
18612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18613 conftest$ac_exeext conftest.$ac_ext
18614 CFLAGS=$ac_wine_try_cflags_saved
18616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18617 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18618 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18619 then :
18620 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18623 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18624 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18625 then :
18626 printf %s "(cached) " >&6
18627 else $as_nop
18628 ac_wine_try_cflags_saved=$CFLAGS
18629 CFLAGS="$CFLAGS -fno-strict-aliasing"
18630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18631 /* end confdefs.h. */
18632 int main(int argc, char **argv) { return 0; }
18633 _ACEOF
18634 if ac_fn_c_try_link "$LINENO"
18635 then :
18636 ac_cv_cflags__fno_strict_aliasing=yes
18637 else $as_nop
18638 ac_cv_cflags__fno_strict_aliasing=no
18640 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18641 conftest$ac_exeext conftest.$ac_ext
18642 CFLAGS=$ac_wine_try_cflags_saved
18644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18645 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18646 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18647 then :
18648 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18651 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18652 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18653 then :
18654 printf %s "(cached) " >&6
18655 else $as_nop
18656 ac_wine_try_cflags_saved=$CFLAGS
18657 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18659 /* end confdefs.h. */
18660 int main(int argc, char **argv) { return 0; }
18661 _ACEOF
18662 if ac_fn_c_try_link "$LINENO"
18663 then :
18664 ac_cv_cflags__Wdeclaration_after_statement=yes
18665 else $as_nop
18666 ac_cv_cflags__Wdeclaration_after_statement=no
18668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18669 conftest$ac_exeext conftest.$ac_ext
18670 CFLAGS=$ac_wine_try_cflags_saved
18672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18673 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18674 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18675 then :
18676 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18679 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18680 if test ${ac_cv_cflags__Wempty_body+y}
18681 then :
18682 printf %s "(cached) " >&6
18683 else $as_nop
18684 ac_wine_try_cflags_saved=$CFLAGS
18685 CFLAGS="$CFLAGS -Wempty-body"
18686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18687 /* end confdefs.h. */
18688 int main(int argc, char **argv) { return 0; }
18689 _ACEOF
18690 if ac_fn_c_try_link "$LINENO"
18691 then :
18692 ac_cv_cflags__Wempty_body=yes
18693 else $as_nop
18694 ac_cv_cflags__Wempty_body=no
18696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18697 conftest$ac_exeext conftest.$ac_ext
18698 CFLAGS=$ac_wine_try_cflags_saved
18700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18701 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18702 if test "x$ac_cv_cflags__Wempty_body" = xyes
18703 then :
18704 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18707 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18708 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18709 then :
18710 printf %s "(cached) " >&6
18711 else $as_nop
18712 ac_wine_try_cflags_saved=$CFLAGS
18713 CFLAGS="$CFLAGS -Wignored-qualifiers"
18714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18715 /* end confdefs.h. */
18716 int main(int argc, char **argv) { return 0; }
18717 _ACEOF
18718 if ac_fn_c_try_link "$LINENO"
18719 then :
18720 ac_cv_cflags__Wignored_qualifiers=yes
18721 else $as_nop
18722 ac_cv_cflags__Wignored_qualifiers=no
18724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18725 conftest$ac_exeext conftest.$ac_ext
18726 CFLAGS=$ac_wine_try_cflags_saved
18728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18729 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18730 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18731 then :
18732 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18735 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18736 if test ${ac_cv_cflags__Winit_self+y}
18737 then :
18738 printf %s "(cached) " >&6
18739 else $as_nop
18740 ac_wine_try_cflags_saved=$CFLAGS
18741 CFLAGS="$CFLAGS -Winit-self"
18742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18743 /* end confdefs.h. */
18744 int main(int argc, char **argv) { return 0; }
18745 _ACEOF
18746 if ac_fn_c_try_link "$LINENO"
18747 then :
18748 ac_cv_cflags__Winit_self=yes
18749 else $as_nop
18750 ac_cv_cflags__Winit_self=no
18752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18753 conftest$ac_exeext conftest.$ac_ext
18754 CFLAGS=$ac_wine_try_cflags_saved
18756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18757 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18758 if test "x$ac_cv_cflags__Winit_self" = xyes
18759 then :
18760 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18763 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18764 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18765 then :
18766 printf %s "(cached) " >&6
18767 else $as_nop
18768 ac_wine_try_cflags_saved=$CFLAGS
18769 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18771 /* end confdefs.h. */
18772 int main(int argc, char **argv) { return 0; }
18773 _ACEOF
18774 if ac_fn_c_try_link "$LINENO"
18775 then :
18776 ac_cv_cflags__Wpacked_not_aligned=yes
18777 else $as_nop
18778 ac_cv_cflags__Wpacked_not_aligned=no
18780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18781 conftest$ac_exeext conftest.$ac_ext
18782 CFLAGS=$ac_wine_try_cflags_saved
18784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18785 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18786 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18787 then :
18788 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18791 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18792 if test ${ac_cv_cflags__Wpragma_pack+y}
18793 then :
18794 printf %s "(cached) " >&6
18795 else $as_nop
18796 ac_wine_try_cflags_saved=$CFLAGS
18797 CFLAGS="$CFLAGS -Wpragma-pack"
18798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18799 /* end confdefs.h. */
18800 int main(int argc, char **argv) { return 0; }
18801 _ACEOF
18802 if ac_fn_c_try_link "$LINENO"
18803 then :
18804 ac_cv_cflags__Wpragma_pack=yes
18805 else $as_nop
18806 ac_cv_cflags__Wpragma_pack=no
18808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18809 conftest$ac_exeext conftest.$ac_ext
18810 CFLAGS=$ac_wine_try_cflags_saved
18812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18813 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18814 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18815 then :
18816 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18819 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18820 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18821 then :
18822 printf %s "(cached) " >&6
18823 else $as_nop
18824 ac_wine_try_cflags_saved=$CFLAGS
18825 CFLAGS="$CFLAGS -Wshift-overflow=2"
18826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18827 /* end confdefs.h. */
18828 int main(int argc, char **argv) { return 0; }
18829 _ACEOF
18830 if ac_fn_c_try_link "$LINENO"
18831 then :
18832 ac_cv_cflags__Wshift_overflow_2=yes
18833 else $as_nop
18834 ac_cv_cflags__Wshift_overflow_2=no
18836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18837 conftest$ac_exeext conftest.$ac_ext
18838 CFLAGS=$ac_wine_try_cflags_saved
18840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18841 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18842 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18843 then :
18844 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18847 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18848 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18849 then :
18850 printf %s "(cached) " >&6
18851 else $as_nop
18852 ac_wine_try_cflags_saved=$CFLAGS
18853 CFLAGS="$CFLAGS -Wstrict-prototypes"
18854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18856 int main(int argc, char **argv) { return 0; }
18857 _ACEOF
18858 if ac_fn_c_try_link "$LINENO"
18859 then :
18860 ac_cv_cflags__Wstrict_prototypes=yes
18861 else $as_nop
18862 ac_cv_cflags__Wstrict_prototypes=no
18864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18865 conftest$ac_exeext conftest.$ac_ext
18866 CFLAGS=$ac_wine_try_cflags_saved
18868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18869 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18870 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18871 then :
18872 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18875 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18876 if test ${ac_cv_cflags__Wtype_limits+y}
18877 then :
18878 printf %s "(cached) " >&6
18879 else $as_nop
18880 ac_wine_try_cflags_saved=$CFLAGS
18881 CFLAGS="$CFLAGS -Wtype-limits"
18882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18883 /* end confdefs.h. */
18884 int main(int argc, char **argv) { return 0; }
18885 _ACEOF
18886 if ac_fn_c_try_link "$LINENO"
18887 then :
18888 ac_cv_cflags__Wtype_limits=yes
18889 else $as_nop
18890 ac_cv_cflags__Wtype_limits=no
18892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18893 conftest$ac_exeext conftest.$ac_ext
18894 CFLAGS=$ac_wine_try_cflags_saved
18896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18897 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18898 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18899 then :
18900 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18903 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18904 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18905 then :
18906 printf %s "(cached) " >&6
18907 else $as_nop
18908 ac_wine_try_cflags_saved=$CFLAGS
18909 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18911 /* end confdefs.h. */
18912 int main(int argc, char **argv) { return 0; }
18913 _ACEOF
18914 if ac_fn_c_try_link "$LINENO"
18915 then :
18916 ac_cv_cflags__Wunused_but_set_parameter=yes
18917 else $as_nop
18918 ac_cv_cflags__Wunused_but_set_parameter=no
18920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18921 conftest$ac_exeext conftest.$ac_ext
18922 CFLAGS=$ac_wine_try_cflags_saved
18924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18925 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18926 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18927 then :
18928 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18931 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18932 if test ${ac_cv_cflags__Wvla+y}
18933 then :
18934 printf %s "(cached) " >&6
18935 else $as_nop
18936 ac_wine_try_cflags_saved=$CFLAGS
18937 CFLAGS="$CFLAGS -Wvla"
18938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h. */
18940 int main(int argc, char **argv) { return 0; }
18941 _ACEOF
18942 if ac_fn_c_try_link "$LINENO"
18943 then :
18944 ac_cv_cflags__Wvla=yes
18945 else $as_nop
18946 ac_cv_cflags__Wvla=no
18948 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18949 conftest$ac_exeext conftest.$ac_ext
18950 CFLAGS=$ac_wine_try_cflags_saved
18952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18953 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18954 if test "x$ac_cv_cflags__Wvla" = xyes
18955 then :
18956 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18959 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18960 if test ${ac_cv_cflags__Wwrite_strings+y}
18961 then :
18962 printf %s "(cached) " >&6
18963 else $as_nop
18964 ac_wine_try_cflags_saved=$CFLAGS
18965 CFLAGS="$CFLAGS -Wwrite-strings"
18966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18967 /* end confdefs.h. */
18968 int main(int argc, char **argv) { return 0; }
18969 _ACEOF
18970 if ac_fn_c_try_link "$LINENO"
18971 then :
18972 ac_cv_cflags__Wwrite_strings=yes
18973 else $as_nop
18974 ac_cv_cflags__Wwrite_strings=no
18976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18977 conftest$ac_exeext conftest.$ac_ext
18978 CFLAGS=$ac_wine_try_cflags_saved
18980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18981 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18982 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18983 then :
18984 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18988 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18989 if test ${ac_cv_cflags__Wpointer_arith+y}
18990 then :
18991 printf %s "(cached) " >&6
18992 else $as_nop
18993 ac_wine_try_cflags_saved=$CFLAGS
18994 CFLAGS="$CFLAGS -Wpointer-arith"
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__Wpointer_arith=yes
19002 else $as_nop
19003 ac_cv_cflags__Wpointer_arith=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__Wpointer_arith" >&5
19010 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19011 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19012 then :
19013 saved_string_h_CFLAGS=$CFLAGS
19014 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19016 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19017 if test ${ac_cv_c_string_h_warnings+y}
19018 then :
19019 printf %s "(cached) " >&6
19020 else $as_nop
19021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19022 /* end confdefs.h. */
19023 #include <string.h>
19025 main (void)
19029 return 0;
19031 _ACEOF
19032 if ac_fn_c_try_compile "$LINENO"
19033 then :
19034 ac_cv_c_string_h_warnings=no
19035 else $as_nop
19036 ac_cv_c_string_h_warnings=yes
19038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19041 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19042 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19043 CFLAGS=$saved_string_h_CFLAGS
19046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19047 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19048 if test ${ac_cv_cflags__Wlogical_op+y}
19049 then :
19050 printf %s "(cached) " >&6
19051 else $as_nop
19052 ac_wine_try_cflags_saved=$CFLAGS
19053 CFLAGS="$CFLAGS -Wlogical-op"
19054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19055 /* end confdefs.h. */
19056 int main(int argc, char **argv) { return 0; }
19057 _ACEOF
19058 if ac_fn_c_try_link "$LINENO"
19059 then :
19060 ac_cv_cflags__Wlogical_op=yes
19061 else $as_nop
19062 ac_cv_cflags__Wlogical_op=no
19064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19065 conftest$ac_exeext conftest.$ac_ext
19066 CFLAGS=$ac_wine_try_cflags_saved
19068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19069 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19070 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19071 then :
19072 saved_string_h_CFLAGS=$CFLAGS
19073 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19075 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19076 if test ${ac_cv_c_logicalop_noisy+y}
19077 then :
19078 printf %s "(cached) " >&6
19079 else $as_nop
19080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19081 /* end confdefs.h. */
19082 #include <string.h>
19083 char*f(const char *h,char n) {return strchr(h,n);}
19085 main (void)
19089 return 0;
19091 _ACEOF
19092 if ac_fn_c_try_compile "$LINENO"
19093 then :
19094 ac_cv_c_logicalop_noisy=no
19095 else $as_nop
19096 ac_cv_c_logicalop_noisy=yes
19098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19101 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19102 CFLAGS=$saved_string_h_CFLAGS
19103 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19107 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19108 if test ${wine_cv_64bit_compare_swap+y}
19109 then :
19110 printf %s "(cached) " >&6
19111 else $as_nop
19112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19114 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19115 #error no
19116 #endif
19118 main (void)
19122 return 0;
19124 _ACEOF
19125 if ac_fn_c_try_compile "$LINENO"
19126 then :
19127 wine_cv_64bit_compare_swap="none needed"
19128 else $as_nop
19129 case $host_cpu in
19130 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19131 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19132 *) wine_cv_64bit_compare_swap="unknown" ;;
19133 esac
19134 if test "x$wine_cv_64bit_compare_swap" != xunknown
19135 then
19136 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19138 /* end confdefs.h. */
19139 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19140 #error no
19141 #endif
19143 main (void)
19147 return 0;
19149 _ACEOF
19150 if ac_fn_c_try_compile "$LINENO"
19151 then :
19153 else $as_nop
19154 wine_cv_64bit_compare_swap="unknown"
19156 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19157 CFLAGS=$saved_CFLAGS
19160 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19163 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19164 case "$wine_cv_64bit_compare_swap" in
19165 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19166 "none needed") ;;
19167 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19168 esac
19170 ac_debug_format_seen=""
19171 for ac_flag in $CFLAGS; do
19172 case $ac_flag in
19173 -gdwarf*) ac_debug_format_seen=yes ;;
19174 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19175 esac
19176 done
19177 if test "x$ac_debug_format_seen" = xdefault
19178 then
19179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19180 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19181 if test ${ac_cv_cflags__gdwarf_4+y}
19182 then :
19183 printf %s "(cached) " >&6
19184 else $as_nop
19185 ac_wine_try_cflags_saved=$CFLAGS
19186 CFLAGS="$CFLAGS -gdwarf-4"
19187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19188 /* end confdefs.h. */
19189 int main(int argc, char **argv) { return 0; }
19190 _ACEOF
19191 if ac_fn_c_try_link "$LINENO"
19192 then :
19193 ac_cv_cflags__gdwarf_4=yes
19194 else $as_nop
19195 ac_cv_cflags__gdwarf_4=no
19197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19198 conftest$ac_exeext conftest.$ac_ext
19199 CFLAGS=$ac_wine_try_cflags_saved
19201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19202 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19203 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19204 then :
19205 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19209 MSVCRTFLAGS=""
19211 case $host_os in
19212 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19213 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19214 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19215 then :
19216 printf %s "(cached) " >&6
19217 else $as_nop
19218 ac_wine_try_cflags_saved=$CFLAGS
19219 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19221 /* end confdefs.h. */
19222 int main(int argc, char **argv) { return 0; }
19223 _ACEOF
19224 if ac_fn_c_try_link "$LINENO"
19225 then :
19226 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19227 else $as_nop
19228 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19231 conftest$ac_exeext conftest.$ac_ext
19232 CFLAGS=$ac_wine_try_cflags_saved
19234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19235 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19236 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19237 then :
19238 DELAYLOADFLAG="-Wl,-delayload,"
19240 fi ;;
19241 *) MSVCRTFLAGS="-D_WIN32"
19242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19243 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19244 if test ${ac_cv_cflags__fno_builtin+y}
19245 then :
19246 printf %s "(cached) " >&6
19247 else $as_nop
19248 ac_wine_try_cflags_saved=$CFLAGS
19249 CFLAGS="$CFLAGS -fno-builtin"
19250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19251 /* end confdefs.h. */
19252 int main(int argc, char **argv) { return 0; }
19253 _ACEOF
19254 if ac_fn_c_try_link "$LINENO"
19255 then :
19256 ac_cv_cflags__fno_builtin=yes
19257 else $as_nop
19258 ac_cv_cflags__fno_builtin=no
19260 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19261 conftest$ac_exeext conftest.$ac_ext
19262 CFLAGS=$ac_wine_try_cflags_saved
19264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19265 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19266 if test "x$ac_cv_cflags__fno_builtin" = xyes
19267 then :
19268 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19271 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19272 if test ${ac_cv_cflags__fshort_wchar+y}
19273 then :
19274 printf %s "(cached) " >&6
19275 else $as_nop
19276 ac_wine_try_cflags_saved=$CFLAGS
19277 CFLAGS="$CFLAGS -fshort-wchar"
19278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19279 /* end confdefs.h. */
19280 int main(int argc, char **argv) { return 0; }
19281 _ACEOF
19282 if ac_fn_c_try_link "$LINENO"
19283 then :
19284 ac_cv_cflags__fshort_wchar=yes
19285 else $as_nop
19286 ac_cv_cflags__fshort_wchar=no
19288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19289 conftest$ac_exeext conftest.$ac_ext
19290 CFLAGS=$ac_wine_try_cflags_saved
19292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19293 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19294 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19295 then :
19296 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19299 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19300 if test ${ac_cv_cflags__Wno_format+y}
19301 then :
19302 printf %s "(cached) " >&6
19303 else $as_nop
19304 ac_wine_try_cflags_saved=$CFLAGS
19305 CFLAGS="$CFLAGS -Wno-format"
19306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h. */
19308 int main(int argc, char **argv) { return 0; }
19309 _ACEOF
19310 if ac_fn_c_try_link "$LINENO"
19311 then :
19312 ac_cv_cflags__Wno_format=yes
19313 else $as_nop
19314 ac_cv_cflags__Wno_format=no
19316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19317 conftest$ac_exeext conftest.$ac_ext
19318 CFLAGS=$ac_wine_try_cflags_saved
19320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19321 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19322 if test "x$ac_cv_cflags__Wno_format" = xyes
19323 then :
19324 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19325 fi ;;
19326 esac
19328 case $host_cpu in
19329 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19330 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19331 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19332 then :
19333 printf %s "(cached) " >&6
19334 else $as_nop
19335 ac_wine_try_cflags_saved=$CFLAGS
19336 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19338 /* end confdefs.h. */
19339 int main(int argc, char **argv) { return 0; }
19340 _ACEOF
19341 if ac_fn_c_try_link "$LINENO"
19342 then :
19343 ac_cv_cflags__fno_omit_frame_pointer=yes
19344 else $as_nop
19345 ac_cv_cflags__fno_omit_frame_pointer=no
19347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19348 conftest$ac_exeext conftest.$ac_ext
19349 CFLAGS=$ac_wine_try_cflags_saved
19351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19352 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19353 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19354 then :
19355 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19356 fi ;;
19357 *x86_64*)
19358 case $host_os in
19359 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19360 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19361 if test ${ac_cv_cflags__Wno_format+y}
19362 then :
19363 printf %s "(cached) " >&6
19364 else $as_nop
19365 ac_wine_try_cflags_saved=$CFLAGS
19366 CFLAGS="$CFLAGS -Wno-format"
19367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19368 /* end confdefs.h. */
19369 int main(int argc, char **argv) { return 0; }
19370 _ACEOF
19371 if ac_fn_c_try_link "$LINENO"
19372 then :
19373 ac_cv_cflags__Wno_format=yes
19374 else $as_nop
19375 ac_cv_cflags__Wno_format=no
19377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19378 conftest$ac_exeext conftest.$ac_ext
19379 CFLAGS=$ac_wine_try_cflags_saved
19381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19382 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19383 if test "x$ac_cv_cflags__Wno_format" = xyes
19384 then :
19385 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19386 fi ;;
19387 *) if test -z "$CROSSTARGET"
19388 then
19389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19390 printf %s "checking for working -mabi=ms... " >&6; }
19391 if test ${ac_cv_mabi_ms+y}
19392 then :
19393 printf %s "(cached) " >&6
19394 else $as_nop
19395 CFLAGS="$CFLAGS -mabi=ms"
19396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19397 /* end confdefs.h. */
19398 #include <stdarg.h>
19399 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19401 main (void)
19405 return 0;
19407 _ACEOF
19408 if ac_fn_c_try_compile "$LINENO"
19409 then :
19410 ac_cv_mabi_ms=yes
19411 else $as_nop
19412 ac_cv_mabi_ms=no
19414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19415 CFLAGS=$saved_CFLAGS
19417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19418 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19419 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
19421 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19422 esac ;;
19423 arm*)
19424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19425 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19426 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19427 then :
19428 printf %s "(cached) " >&6
19429 else $as_nop
19430 ac_wine_try_cflags_saved=$CFLAGS
19431 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19434 int main(int argc, char **argv) { return 0; }
19435 _ACEOF
19436 if ac_fn_c_try_link "$LINENO"
19437 then :
19438 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19439 else $as_nop
19440 ac_cv_cflags__Wincompatible_function_pointer_types=no
19442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19443 conftest$ac_exeext conftest.$ac_ext
19444 CFLAGS=$ac_wine_try_cflags_saved
19446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19447 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19448 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19449 then :
19450 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19451 fi ;;
19452 esac
19454 CFLAGS=$saved_CFLAGS
19456 if test "x$enable_werror" = "xyes"
19457 then
19458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19459 printf %s "checking whether the compiler supports -Werror... " >&6; }
19460 if test ${ac_cv_cflags__Werror+y}
19461 then :
19462 printf %s "(cached) " >&6
19463 else $as_nop
19464 ac_wine_try_cflags_saved=$CFLAGS
19465 CFLAGS="$CFLAGS -Werror"
19466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19467 /* end confdefs.h. */
19468 int main(int argc, char **argv) { return 0; }
19469 _ACEOF
19470 if ac_fn_c_try_link "$LINENO"
19471 then :
19472 ac_cv_cflags__Werror=yes
19473 else $as_nop
19474 ac_cv_cflags__Werror=no
19476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19477 conftest$ac_exeext conftest.$ac_ext
19478 CFLAGS=$ac_wine_try_cflags_saved
19480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19481 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19482 if test "x$ac_cv_cflags__Werror" = xyes
19483 then :
19484 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19487 if test "x$enable_build_id" = "xyes"
19488 then
19489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19490 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19491 if test ${ac_cv_cflags__Wl___build_id+y}
19492 then :
19493 printf %s "(cached) " >&6
19494 else $as_nop
19495 ac_wine_try_cflags_saved=$CFLAGS
19496 CFLAGS="$CFLAGS -Wl,--build-id"
19497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19498 /* end confdefs.h. */
19499 int main(int argc, char **argv) { return 0; }
19500 _ACEOF
19501 if ac_fn_c_try_link "$LINENO"
19502 then :
19503 ac_cv_cflags__Wl___build_id=yes
19504 else $as_nop
19505 ac_cv_cflags__Wl___build_id=no
19507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19508 conftest$ac_exeext conftest.$ac_ext
19509 CFLAGS=$ac_wine_try_cflags_saved
19511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19512 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19513 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19514 then :
19515 CFLAGS="$CFLAGS -Wl,--build-id"
19516 LDFLAGS="$LDFLAGS -Wl,--build-id"
19522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19523 printf %s "checking for the need to disable Fortify... " >&6; }
19524 if test ${ac_cv_c_fortify_enabled+y}
19525 then :
19526 printf %s "(cached) " >&6
19527 else $as_nop
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19530 #include <string.h>
19532 main (void)
19534 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19535 #error Fortify enabled
19536 #endif
19538 return 0;
19540 _ACEOF
19541 if ac_fn_c_try_compile "$LINENO"
19542 then :
19543 ac_cv_c_fortify_enabled=no
19544 else $as_nop
19545 ac_cv_c_fortify_enabled=yes
19547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19550 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19551 if test "$ac_cv_c_fortify_enabled" = yes
19552 then
19553 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19558 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19559 if test ${ac_cv_c_cfi_support+y}
19560 then :
19561 printf %s "(cached) " >&6
19562 else $as_nop
19563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19564 /* end confdefs.h. */
19565 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19567 main (void)
19571 return 0;
19573 _ACEOF
19574 if ac_fn_c_try_compile "$LINENO"
19575 then :
19576 ac_cv_c_cfi_support="yes"
19577 else $as_nop
19578 ac_cv_c_cfi_support="no"
19580 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19583 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19584 if test "$ac_cv_c_cfi_support" = "yes"
19585 then
19586 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19587 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19588 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19589 else
19590 if test "x$enable_win64" = "xyes"
19591 then
19592 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19597 case $host_os in
19598 linux*)
19599 case $host_cpu in
19600 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19601 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19602 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19604 esac
19606 esac
19609 ac_save_CFLAGS="$CFLAGS"
19610 CFLAGS="$CFLAGS $BUILTINFLAG"
19611 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19612 if test "x$ac_cv_func_epoll_create" = xyes
19613 then :
19614 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19617 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19618 if test "x$ac_cv_func_fstatfs" = xyes
19619 then :
19620 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19623 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19624 if test "x$ac_cv_func_futimens" = xyes
19625 then :
19626 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19629 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19630 if test "x$ac_cv_func_futimes" = xyes
19631 then :
19632 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19635 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19636 if test "x$ac_cv_func_futimesat" = xyes
19637 then :
19638 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19641 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19642 if test "x$ac_cv_func_getattrlist" = xyes
19643 then :
19644 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19647 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19648 if test "x$ac_cv_func_getauxval" = xyes
19649 then :
19650 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19653 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19654 if test "x$ac_cv_func_getifaddrs" = xyes
19655 then :
19656 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19659 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19660 if test "x$ac_cv_func_getrandom" = xyes
19661 then :
19662 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19665 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19666 if test "x$ac_cv_func_kqueue" = xyes
19667 then :
19668 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19671 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19672 if test "x$ac_cv_func_mach_continuous_time" = xyes
19673 then :
19674 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19677 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19678 if test "x$ac_cv_func_pipe2" = xyes
19679 then :
19680 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19683 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19684 if test "x$ac_cv_func_port_create" = xyes
19685 then :
19686 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19689 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19690 if test "x$ac_cv_func_posix_fadvise" = xyes
19691 then :
19692 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19695 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19696 if test "x$ac_cv_func_posix_fallocate" = xyes
19697 then :
19698 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19701 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19702 if test "x$ac_cv_func_prctl" = xyes
19703 then :
19704 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19707 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19708 if test "x$ac_cv_func_proc_pidinfo" = xyes
19709 then :
19710 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19713 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19714 if test "x$ac_cv_func_sched_yield" = xyes
19715 then :
19716 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19719 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19720 if test "x$ac_cv_func_setproctitle" = xyes
19721 then :
19722 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19725 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19726 if test "x$ac_cv_func_setprogname" = xyes
19727 then :
19728 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19731 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19732 if test "x$ac_cv_func_sigprocmask" = xyes
19733 then :
19734 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19737 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19738 if test "x$ac_cv_func_sysinfo" = xyes
19739 then :
19740 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19743 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19744 if test "x$ac_cv_func_tcdrain" = xyes
19745 then :
19746 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19749 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19750 if test "x$ac_cv_func_thr_kill2" = xyes
19751 then :
19752 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19756 CFLAGS="$ac_save_CFLAGS"
19758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19759 printf %s "checking for library containing dlopen... " >&6; }
19760 if test ${ac_cv_search_dlopen+y}
19761 then :
19762 printf %s "(cached) " >&6
19763 else $as_nop
19764 ac_func_search_save_LIBS=$LIBS
19765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19766 /* end confdefs.h. */
19768 /* Override any GCC internal prototype to avoid an error.
19769 Use char because int might match the return type of a GCC
19770 builtin and then its argument prototype would still apply. */
19771 char dlopen ();
19773 main (void)
19775 return dlopen ();
19777 return 0;
19779 _ACEOF
19780 for ac_lib in '' dl
19782 if test -z "$ac_lib"; then
19783 ac_res="none required"
19784 else
19785 ac_res=-l$ac_lib
19786 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19788 if ac_fn_c_try_link "$LINENO"
19789 then :
19790 ac_cv_search_dlopen=$ac_res
19792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19793 conftest$ac_exeext
19794 if test ${ac_cv_search_dlopen+y}
19795 then :
19796 break
19798 done
19799 if test ${ac_cv_search_dlopen+y}
19800 then :
19802 else $as_nop
19803 ac_cv_search_dlopen=no
19805 rm conftest.$ac_ext
19806 LIBS=$ac_func_search_save_LIBS
19808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19809 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19810 ac_res=$ac_cv_search_dlopen
19811 if test "$ac_res" != no
19812 then :
19813 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19817 ac_wine_check_funcs_save_LIBS="$LIBS"
19818 LIBS="$LIBS $DL_LIBS"
19819 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19820 if test "x$ac_cv_func_dlinfo" = xyes
19821 then :
19822 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19826 LIBS="$ac_wine_check_funcs_save_LIBS"
19828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19829 printf %s "checking for library containing gethostbyname... " >&6; }
19830 if test ${ac_cv_search_gethostbyname+y}
19831 then :
19832 printf %s "(cached) " >&6
19833 else $as_nop
19834 ac_func_search_save_LIBS=$LIBS
19835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19836 /* end confdefs.h. */
19838 /* Override any GCC internal prototype to avoid an error.
19839 Use char because int might match the return type of a GCC
19840 builtin and then its argument prototype would still apply. */
19841 char gethostbyname ();
19843 main (void)
19845 return gethostbyname ();
19847 return 0;
19849 _ACEOF
19850 for ac_lib in '' nsl
19852 if test -z "$ac_lib"; then
19853 ac_res="none required"
19854 else
19855 ac_res=-l$ac_lib
19856 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19858 if ac_fn_c_try_link "$LINENO"
19859 then :
19860 ac_cv_search_gethostbyname=$ac_res
19862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19863 conftest$ac_exeext
19864 if test ${ac_cv_search_gethostbyname+y}
19865 then :
19866 break
19868 done
19869 if test ${ac_cv_search_gethostbyname+y}
19870 then :
19872 else $as_nop
19873 ac_cv_search_gethostbyname=no
19875 rm conftest.$ac_ext
19876 LIBS=$ac_func_search_save_LIBS
19878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19879 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19880 ac_res=$ac_cv_search_gethostbyname
19881 if test "$ac_res" != no
19882 then :
19883 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19889 printf %s "checking for library containing connect... " >&6; }
19890 if test ${ac_cv_search_connect+y}
19891 then :
19892 printf %s "(cached) " >&6
19893 else $as_nop
19894 ac_func_search_save_LIBS=$LIBS
19895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19896 /* end confdefs.h. */
19898 /* Override any GCC internal prototype to avoid an error.
19899 Use char because int might match the return type of a GCC
19900 builtin and then its argument prototype would still apply. */
19901 char connect ();
19903 main (void)
19905 return connect ();
19907 return 0;
19909 _ACEOF
19910 for ac_lib in '' socket
19912 if test -z "$ac_lib"; then
19913 ac_res="none required"
19914 else
19915 ac_res=-l$ac_lib
19916 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19918 if ac_fn_c_try_link "$LINENO"
19919 then :
19920 ac_cv_search_connect=$ac_res
19922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19923 conftest$ac_exeext
19924 if test ${ac_cv_search_connect+y}
19925 then :
19926 break
19928 done
19929 if test ${ac_cv_search_connect+y}
19930 then :
19932 else $as_nop
19933 ac_cv_search_connect=no
19935 rm conftest.$ac_ext
19936 LIBS=$ac_func_search_save_LIBS
19938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19939 printf "%s\n" "$ac_cv_search_connect" >&6; }
19940 ac_res=$ac_cv_search_connect
19941 if test "$ac_res" != no
19942 then :
19943 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19949 printf %s "checking for library containing inet_aton... " >&6; }
19950 if test ${ac_cv_search_inet_aton+y}
19951 then :
19952 printf %s "(cached) " >&6
19953 else $as_nop
19954 ac_func_search_save_LIBS=$LIBS
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19958 /* Override any GCC internal prototype to avoid an error.
19959 Use char because int might match the return type of a GCC
19960 builtin and then its argument prototype would still apply. */
19961 char inet_aton ();
19963 main (void)
19965 return inet_aton ();
19967 return 0;
19969 _ACEOF
19970 for ac_lib in '' resolv
19972 if test -z "$ac_lib"; then
19973 ac_res="none required"
19974 else
19975 ac_res=-l$ac_lib
19976 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19978 if ac_fn_c_try_link "$LINENO"
19979 then :
19980 ac_cv_search_inet_aton=$ac_res
19982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19983 conftest$ac_exeext
19984 if test ${ac_cv_search_inet_aton+y}
19985 then :
19986 break
19988 done
19989 if test ${ac_cv_search_inet_aton+y}
19990 then :
19992 else $as_nop
19993 ac_cv_search_inet_aton=no
19995 rm conftest.$ac_ext
19996 LIBS=$ac_func_search_save_LIBS
19998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19999 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20000 ac_res=$ac_cv_search_inet_aton
20001 if test "$ac_res" != no
20002 then :
20003 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20008 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20009 if test "x$ac_cv_func_getaddrinfo" = xyes
20010 then :
20011 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20016 case $host_os in
20017 darwin*|macosx*) ;;
20018 *) ac_save_LIBS=$LIBS
20019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20020 printf %s "checking for library containing clock_gettime... " >&6; }
20021 if test ${ac_cv_search_clock_gettime+y}
20022 then :
20023 printf %s "(cached) " >&6
20024 else $as_nop
20025 ac_func_search_save_LIBS=$LIBS
20026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20027 /* end confdefs.h. */
20029 /* Override any GCC internal prototype to avoid an error.
20030 Use char because int might match the return type of a GCC
20031 builtin and then its argument prototype would still apply. */
20032 char clock_gettime ();
20034 main (void)
20036 return clock_gettime ();
20038 return 0;
20040 _ACEOF
20041 for ac_lib in '' rt
20043 if test -z "$ac_lib"; then
20044 ac_res="none required"
20045 else
20046 ac_res=-l$ac_lib
20047 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20049 if ac_fn_c_try_link "$LINENO"
20050 then :
20051 ac_cv_search_clock_gettime=$ac_res
20053 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20054 conftest$ac_exeext
20055 if test ${ac_cv_search_clock_gettime+y}
20056 then :
20057 break
20059 done
20060 if test ${ac_cv_search_clock_gettime+y}
20061 then :
20063 else $as_nop
20064 ac_cv_search_clock_gettime=no
20066 rm conftest.$ac_ext
20067 LIBS=$ac_func_search_save_LIBS
20069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20070 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20071 ac_res=$ac_cv_search_clock_gettime
20072 if test "$ac_res" != no
20073 then :
20074 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20076 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20078 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20082 LIBS=$ac_save_LIBS
20084 esac
20086 if test "x$with_ldap" != "xno"
20087 then
20088 if ${LDAP_CFLAGS:+false} :
20089 then :
20090 if test ${PKG_CONFIG+y}
20091 then :
20092 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20096 if ${LDAP_LIBS:+false} :
20097 then :
20098 if test ${PKG_CONFIG+y}
20099 then :
20100 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20104 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20107 ac_save_CPPFLAGS=$CPPFLAGS
20108 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20109 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20110 if test "x$ac_cv_header_ldap_h" = xyes
20111 then :
20112 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20115 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20116 if test "x$ac_cv_header_lber_h" = xyes
20117 then :
20118 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20122 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20123 then
20124 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20126 if test "x$ac_cv_type_LDAPSortKey" = xyes
20127 then :
20128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20129 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20130 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20131 then :
20132 printf %s "(cached) " >&6
20133 else $as_nop
20134 ac_check_lib_save_LIBS=$LIBS
20135 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20137 /* end confdefs.h. */
20139 /* Override any GCC internal prototype to avoid an error.
20140 Use char because int might match the return type of a GCC
20141 builtin and then its argument prototype would still apply. */
20142 char ldap_initialize ();
20144 main (void)
20146 return ldap_initialize ();
20148 return 0;
20150 _ACEOF
20151 if ac_fn_c_try_link "$LINENO"
20152 then :
20153 ac_cv_lib_ldap_ldap_initialize=yes
20154 else $as_nop
20155 ac_cv_lib_ldap_ldap_initialize=no
20157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20158 conftest$ac_exeext conftest.$ac_ext
20159 LIBS=$ac_check_lib_save_LIBS
20161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20162 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20163 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20164 then :
20165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20166 printf %s "checking for ber_init in -llber... " >&6; }
20167 if test ${ac_cv_lib_lber_ber_init+y}
20168 then :
20169 printf %s "(cached) " >&6
20170 else $as_nop
20171 ac_check_lib_save_LIBS=$LIBS
20172 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20174 /* end confdefs.h. */
20176 /* Override any GCC internal prototype to avoid an error.
20177 Use char because int might match the return type of a GCC
20178 builtin and then its argument prototype would still apply. */
20179 char ber_init ();
20181 main (void)
20183 return ber_init ();
20185 return 0;
20187 _ACEOF
20188 if ac_fn_c_try_link "$LINENO"
20189 then :
20190 ac_cv_lib_lber_ber_init=yes
20191 else $as_nop
20192 ac_cv_lib_lber_ber_init=no
20194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20195 conftest$ac_exeext conftest.$ac_ext
20196 LIBS=$ac_check_lib_save_LIBS
20198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20199 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20200 if test "x$ac_cv_lib_lber_ber_init" = xyes
20201 then :
20203 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20205 else $as_nop
20206 LDAP_LIBS=""
20209 else $as_nop
20210 LDAP_LIBS=""
20213 else $as_nop
20214 LDAP_LIBS=""
20217 else
20218 LDAP_LIBS=""
20220 CPPFLAGS=$ac_save_CPPFLAGS
20223 if test "x$LDAP_LIBS" = "x"
20224 then :
20225 case "x$with_ldap" in
20226 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20227 xno) ;;
20228 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20229 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20230 esac
20234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20235 printf %s "checking for sched_setaffinity... " >&6; }
20236 if test ${wine_cv_have_sched_setaffinity+y}
20237 then :
20238 printf %s "(cached) " >&6
20239 else $as_nop
20240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20241 /* end confdefs.h. */
20242 #include <sched.h>
20244 main (void)
20246 sched_setaffinity(0, 0, 0);
20248 return 0;
20250 _ACEOF
20251 if ac_fn_c_try_link "$LINENO"
20252 then :
20253 wine_cv_have_sched_setaffinity=yes
20254 else $as_nop
20255 wine_cv_have_sched_setaffinity=no
20257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20258 conftest$ac_exeext conftest.$ac_ext
20260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20261 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20262 if test "$wine_cv_have_sched_setaffinity" = "yes"
20263 then
20265 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20271 printf %s "checking for inline... " >&6; }
20272 if test ${ac_cv_c_inline+y}
20273 then :
20274 printf %s "(cached) " >&6
20275 else $as_nop
20276 ac_cv_c_inline=no
20277 for ac_kw in inline __inline__ __inline; do
20278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20279 /* end confdefs.h. */
20280 #ifndef __cplusplus
20281 typedef int foo_t;
20282 static $ac_kw foo_t static_foo (void) {return 0; }
20283 $ac_kw foo_t foo (void) {return 0; }
20284 #endif
20286 _ACEOF
20287 if ac_fn_c_try_compile "$LINENO"
20288 then :
20289 ac_cv_c_inline=$ac_kw
20291 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20292 test "$ac_cv_c_inline" != no && break
20293 done
20296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20297 printf "%s\n" "$ac_cv_c_inline" >&6; }
20299 case $ac_cv_c_inline in
20300 inline | yes) ;;
20302 case $ac_cv_c_inline in
20303 no) ac_val=;;
20304 *) ac_val=$ac_cv_c_inline;;
20305 esac
20306 cat >>confdefs.h <<_ACEOF
20307 #ifndef __cplusplus
20308 #define inline $ac_val
20309 #endif
20310 _ACEOF
20312 esac
20314 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20315 #include <signal.h>
20317 if test "x$ac_cv_type_sigset_t" = xyes
20318 then :
20320 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20325 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20327 if test "x$ac_cv_type_request_sense" = xyes
20328 then :
20330 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20336 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20337 #include <sys/socket.h>
20338 #ifdef HAVE_SYS_SOCKETVAR_H
20339 #include <sys/socketvar.h>
20340 #endif
20341 #ifdef HAVE_NET_ROUTE_H
20342 #include <net/route.h>
20343 #endif
20344 #ifdef HAVE_NETINET_IN_H
20345 #include <netinet/in.h>
20346 #endif
20347 #ifdef HAVE_NETINET_IN_SYSTM_H
20348 #include <netinet/in_systm.h>
20349 #endif
20350 #ifdef HAVE_NETINET_IP_H
20351 #include <netinet/ip.h>
20352 #endif
20353 #ifdef HAVE_NETINET_IN_PCB_H
20354 #include <netinet/in_pcb.h>
20355 #endif
20357 if test "x$ac_cv_type_struct_xinpgen" = xyes
20358 then :
20360 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20367 printf %s "checking for sigaddset... " >&6; }
20368 if test ${wine_cv_have_sigaddset+y}
20369 then :
20370 printf %s "(cached) " >&6
20371 else $as_nop
20372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20373 /* end confdefs.h. */
20374 #include <signal.h>
20376 main (void)
20378 sigset_t set; sigaddset(&set,SIGTERM);
20380 return 0;
20382 _ACEOF
20383 if ac_fn_c_try_link "$LINENO"
20384 then :
20385 wine_cv_have_sigaddset=yes
20386 else $as_nop
20387 wine_cv_have_sigaddset=no
20389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20390 conftest$ac_exeext conftest.$ac_ext
20392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20393 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20394 if test "$wine_cv_have_sigaddset" = "yes"
20395 then
20397 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20403 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20404 if test ${wine_cv_linux_gethostbyname_r_6+y}
20405 then :
20406 printf %s "(cached) " >&6
20407 else $as_nop
20408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20409 /* end confdefs.h. */
20410 #include <netdb.h>
20412 main (void)
20415 char *name=0;
20416 struct hostent he;
20417 struct hostent *result;
20418 char *buf=0;
20419 int bufsize=0;
20420 int errnr;
20421 char *addr=0;
20422 int addrlen=0;
20423 int addrtype=0;
20424 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20425 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20428 return 0;
20430 _ACEOF
20431 if ac_fn_c_try_link "$LINENO"
20432 then :
20433 wine_cv_linux_gethostbyname_r_6=yes
20434 else $as_nop
20435 wine_cv_linux_gethostbyname_r_6=no
20438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20439 conftest$ac_exeext conftest.$ac_ext
20442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20443 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20444 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20445 then
20447 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20451 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20452 #include <sys/socket.h>
20453 #ifdef HAVE_SYS_UN_H
20454 # include <sys/un.h>
20455 #endif
20457 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20458 then :
20460 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20464 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20465 #include <sys/socket.h>
20466 #ifdef HAVE_SYS_UN_H
20467 # include <sys/un.h>
20468 #endif
20470 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20471 then :
20473 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20479 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20480 #ifdef HAVE_SCSI_SG_H
20481 #include <scsi/sg.h>
20482 #endif
20484 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20485 then :
20487 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20491 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>
20492 #ifdef HAVE_SCSI_SG_H
20493 #include <scsi/sg.h>
20494 #endif
20496 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20497 then :
20499 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20505 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20507 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20508 then :
20510 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20516 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20517 #ifdef HAVE_SYS_MTIO_H
20518 #include <sys/mtio.h>
20519 #endif
20521 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20522 then :
20524 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20528 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20529 #ifdef HAVE_SYS_MTIO_H
20530 #include <sys/mtio.h>
20531 #endif
20533 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20534 then :
20536 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20540 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20541 #ifdef HAVE_SYS_MTIO_H
20542 #include <sys/mtio.h>
20543 #endif
20545 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20546 then :
20548 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20554 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20555 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20556 then :
20558 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20562 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20563 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20564 then :
20566 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20570 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20571 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20572 then :
20574 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20578 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20579 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20580 then :
20582 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20586 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20587 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20588 then :
20590 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20594 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20595 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20596 then :
20598 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20602 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20603 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20604 then :
20606 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20610 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20611 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20612 then :
20614 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20618 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20619 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20620 then :
20622 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20626 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20627 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20628 then :
20630 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20634 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20635 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20636 then :
20638 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20644 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>
20645 #ifdef HAVE_NETINET_IN_H
20646 #include <netinet/in.h>
20647 #endif
20649 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20650 then :
20652 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20658 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
20659 #include <resolv.h>
20660 #endif
20662 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20663 then :
20665 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20671 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20672 #include <netinet/in.h>
20673 #endif
20675 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20676 then :
20678 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20684 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20685 #ifdef HAVE_SYS_SOCKETVAR_H
20686 #include <sys/socketvar.h>
20687 #endif
20688 #ifdef HAVE_NETINET_IN_H
20689 #include <netinet/in.h>
20690 #endif
20691 #ifdef HAVE_NETINET_IP_VAR_H
20692 #include <netinet/ip_var.h>
20693 #endif
20695 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20696 then :
20698 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20704 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
20705 #include <netinet/ip_var.h>
20706 #endif
20708 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20709 then :
20711 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20717 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20718 #ifdef HAVE_SYS_SOCKETVAR_H
20719 #include <sys/socketvar.h>
20720 #endif
20721 #ifdef HAVE_NETINET_IN_H
20722 #include <netinet/in.h>
20723 #endif
20724 #ifdef HAVE_NETINET6_IP6_VAR_H
20725 #include <netinet6/ip6_var.h>
20726 #endif
20728 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20729 then :
20731 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20737 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20738 #ifdef HAVE_SYS_SOCKETVAR_H
20739 #include <sys/socketvar.h>
20740 #endif
20741 #ifdef HAVE_NETINET_IN_H
20742 #include <netinet/in.h>
20743 #endif
20744 #ifdef HAVE_NETINET_IP_H
20745 #include <netinet/ip.h>
20746 #endif
20747 #ifdef HAVE_NETINET_IP_ICMP_H
20748 #include <netinet/ip_icmp.h>
20749 #endif
20750 #ifdef HAVE_NETINET_ICMP_VAR_H
20751 #include <netinet/icmp_var.h>
20752 #endif
20754 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20755 then :
20757 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20763 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20764 #ifdef HAVE_SYS_SOCKETVAR_H
20765 #include <sys/socketvar.h>
20766 #endif
20767 #ifdef HAVE_NETINET_IN_H
20768 #include <netinet/in.h>
20769 #endif
20770 #ifdef HAVE_NETINET_ICMP6_H
20771 #include <netinet/icmp6.h>
20772 #endif
20774 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20775 then :
20777 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20783 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20784 #ifdef HAVE_SYS_SOCKETVAR_H
20785 #include <sys/socketvar.h>
20786 #endif
20787 #ifdef HAVE_NETINET_IN_H
20788 #include <netinet/in.h>
20789 #endif
20790 #ifdef HAVE_NETINET_TCP_H
20791 #include <netinet/tcp.h>
20792 #endif
20793 #ifdef HAVE_NETINET_TCP_VAR_H
20794 #include <netinet/tcp_var.h>
20795 #endif
20797 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20798 then :
20800 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20806 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
20807 #include <netinet/tcp_var.h>
20808 #endif
20810 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20811 then :
20813 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20819 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20820 #ifdef HAVE_NETINET_IN_H
20821 #include <netinet/in.h>
20822 #endif
20823 #ifdef HAVE_NETINET_IP_VAR_H
20824 #include <netinet/ip_var.h>
20825 #endif
20826 #ifdef HAVE_NETINET_UDP_H
20827 #include <netinet/udp.h>
20828 #endif
20829 #ifdef HAVE_NETINET_UDP_VAR_H
20830 #include <netinet/udp_var.h>
20831 #endif
20833 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20834 then :
20836 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20842 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20843 #ifdef HAVE_NET_IF_H
20844 # include <net/if.h>
20845 #endif
20847 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20848 then :
20850 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20856 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20857 # include <sys/sysinfo.h>
20858 #endif
20860 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20861 then :
20863 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20867 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20868 # include <sys/sysinfo.h>
20869 #endif
20871 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20872 then :
20874 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20880 LIBS="$ac_save_LIBS"
20882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20883 printf %s "checking for __builtin_popcount... " >&6; }
20884 if test ${ac_cv_have___builtin_popcount+y}
20885 then :
20886 printf %s "(cached) " >&6
20887 else $as_nop
20888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20889 /* end confdefs.h. */
20892 main (void)
20894 return __builtin_popcount(1)
20896 return 0;
20898 _ACEOF
20899 if ac_fn_c_try_link "$LINENO"
20900 then :
20901 ac_cv_have___builtin_popcount="yes"
20902 else $as_nop
20903 ac_cv_have___builtin_popcount="no"
20905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20906 conftest$ac_exeext conftest.$ac_ext
20908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20909 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20910 if test "$ac_cv_have___builtin_popcount" = "yes"
20911 then
20913 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20918 printf %s "checking for __clear_cache... " >&6; }
20919 if test ${ac_cv_have___clear_cache+y}
20920 then :
20921 printf %s "(cached) " >&6
20922 else $as_nop
20923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20924 /* end confdefs.h. */
20927 main (void)
20929 __clear_cache((void*)0, (void*)0); return 0;
20931 return 0;
20933 _ACEOF
20934 if ac_fn_c_try_link "$LINENO"
20935 then :
20936 ac_cv_have___clear_cache="yes"
20937 else $as_nop
20938 ac_cv_have___clear_cache="no"
20940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20941 conftest$ac_exeext conftest.$ac_ext
20943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20944 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20945 if test "$ac_cv_have___clear_cache" = "yes"
20946 then
20948 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20953 case $host_cpu in
20954 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20955 printf %s "checking whether we need to define __i386__... " >&6; }
20956 if test ${ac_cv_cpp_def___i386__+y}
20957 then :
20958 printf %s "(cached) " >&6
20959 else $as_nop
20960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20961 /* end confdefs.h. */
20962 #ifndef __i386__
20964 #endif
20965 _ACEOF
20966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20967 $EGREP "yes" >/dev/null 2>&1
20968 then :
20969 ac_cv_cpp_def___i386__=yes
20970 else $as_nop
20971 ac_cv_cpp_def___i386__=no
20973 rm -rf conftest*
20976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20977 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20978 if test "x$ac_cv_cpp_def___i386__" = xyes
20979 then :
20980 CFLAGS="$CFLAGS -D__i386__"
20981 LINTFLAGS="$LINTFLAGS -D__i386__"
20982 fi ;;
20983 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20984 printf %s "checking whether we need to define __x86_64__... " >&6; }
20985 if test ${ac_cv_cpp_def___x86_64__+y}
20986 then :
20987 printf %s "(cached) " >&6
20988 else $as_nop
20989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20990 /* end confdefs.h. */
20991 #ifndef __x86_64__
20993 #endif
20994 _ACEOF
20995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20996 $EGREP "yes" >/dev/null 2>&1
20997 then :
20998 ac_cv_cpp_def___x86_64__=yes
20999 else $as_nop
21000 ac_cv_cpp_def___x86_64__=no
21002 rm -rf conftest*
21005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21006 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21007 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21008 then :
21009 CFLAGS="$CFLAGS -D__x86_64__"
21010 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21011 fi ;;
21012 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21013 printf %s "checking whether we need to define __sparc64__... " >&6; }
21014 if test ${ac_cv_cpp_def___sparc64__+y}
21015 then :
21016 printf %s "(cached) " >&6
21017 else $as_nop
21018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21019 /* end confdefs.h. */
21020 #ifndef __sparc64__
21022 #endif
21023 _ACEOF
21024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21025 $EGREP "yes" >/dev/null 2>&1
21026 then :
21027 ac_cv_cpp_def___sparc64__=yes
21028 else $as_nop
21029 ac_cv_cpp_def___sparc64__=no
21031 rm -rf conftest*
21034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21035 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21036 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21037 then :
21038 CFLAGS="$CFLAGS -D__sparc64__"
21039 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21040 fi ;;
21041 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21042 printf %s "checking whether we need to define __sparc__... " >&6; }
21043 if test ${ac_cv_cpp_def___sparc__+y}
21044 then :
21045 printf %s "(cached) " >&6
21046 else $as_nop
21047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21048 /* end confdefs.h. */
21049 #ifndef __sparc__
21051 #endif
21052 _ACEOF
21053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21054 $EGREP "yes" >/dev/null 2>&1
21055 then :
21056 ac_cv_cpp_def___sparc__=yes
21057 else $as_nop
21058 ac_cv_cpp_def___sparc__=no
21060 rm -rf conftest*
21063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21064 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21065 if test "x$ac_cv_cpp_def___sparc__" = xyes
21066 then :
21067 CFLAGS="$CFLAGS -D__sparc__"
21068 LINTFLAGS="$LINTFLAGS -D__sparc__"
21069 fi ;;
21070 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21071 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21072 if test ${ac_cv_cpp_def___powerpc64__+y}
21073 then :
21074 printf %s "(cached) " >&6
21075 else $as_nop
21076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21077 /* end confdefs.h. */
21078 #ifndef __powerpc64__
21080 #endif
21081 _ACEOF
21082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21083 $EGREP "yes" >/dev/null 2>&1
21084 then :
21085 ac_cv_cpp_def___powerpc64__=yes
21086 else $as_nop
21087 ac_cv_cpp_def___powerpc64__=no
21089 rm -rf conftest*
21092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21093 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21094 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21095 then :
21096 CFLAGS="$CFLAGS -D__powerpc64__"
21097 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21098 fi ;;
21099 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21100 printf %s "checking whether we need to define __powerpc__... " >&6; }
21101 if test ${ac_cv_cpp_def___powerpc__+y}
21102 then :
21103 printf %s "(cached) " >&6
21104 else $as_nop
21105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21106 /* end confdefs.h. */
21107 #ifndef __powerpc__
21109 #endif
21110 _ACEOF
21111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21112 $EGREP "yes" >/dev/null 2>&1
21113 then :
21114 ac_cv_cpp_def___powerpc__=yes
21115 else $as_nop
21116 ac_cv_cpp_def___powerpc__=no
21118 rm -rf conftest*
21121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21122 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21123 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21124 then :
21125 CFLAGS="$CFLAGS -D__powerpc__"
21126 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21127 fi ;;
21128 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21129 printf %s "checking whether we need to define __aarch64__... " >&6; }
21130 if test ${ac_cv_cpp_def___aarch64__+y}
21131 then :
21132 printf %s "(cached) " >&6
21133 else $as_nop
21134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21135 /* end confdefs.h. */
21136 #ifndef __aarch64__
21138 #endif
21139 _ACEOF
21140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21141 $EGREP "yes" >/dev/null 2>&1
21142 then :
21143 ac_cv_cpp_def___aarch64__=yes
21144 else $as_nop
21145 ac_cv_cpp_def___aarch64__=no
21147 rm -rf conftest*
21150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21151 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21152 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21153 then :
21154 CFLAGS="$CFLAGS -D__aarch64__"
21155 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21156 fi ;;
21157 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21158 printf %s "checking whether we need to define __arm__... " >&6; }
21159 if test ${ac_cv_cpp_def___arm__+y}
21160 then :
21161 printf %s "(cached) " >&6
21162 else $as_nop
21163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21164 /* end confdefs.h. */
21165 #ifndef __arm__
21167 #endif
21168 _ACEOF
21169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21170 $EGREP "yes" >/dev/null 2>&1
21171 then :
21172 ac_cv_cpp_def___arm__=yes
21173 else $as_nop
21174 ac_cv_cpp_def___arm__=no
21176 rm -rf conftest*
21179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21180 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21181 if test "x$ac_cv_cpp_def___arm__" = xyes
21182 then :
21183 CFLAGS="$CFLAGS -D__arm__"
21184 LINTFLAGS="$LINTFLAGS -D__arm__"
21185 fi ;;
21186 esac
21188 case $host_vendor in
21189 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21190 printf %s "checking whether we need to define __sun__... " >&6; }
21191 if test ${ac_cv_cpp_def___sun__+y}
21192 then :
21193 printf %s "(cached) " >&6
21194 else $as_nop
21195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21196 /* end confdefs.h. */
21197 #ifndef __sun__
21199 #endif
21200 _ACEOF
21201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21202 $EGREP "yes" >/dev/null 2>&1
21203 then :
21204 ac_cv_cpp_def___sun__=yes
21205 else $as_nop
21206 ac_cv_cpp_def___sun__=no
21208 rm -rf conftest*
21211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21212 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21213 if test "x$ac_cv_cpp_def___sun__" = xyes
21214 then :
21215 CFLAGS="$CFLAGS -D__sun__"
21216 LINTFLAGS="$LINTFLAGS -D__sun__"
21217 fi ;;
21218 esac
21224 ac_config_commands="$ac_config_commands include/stamp-h"
21226 printf %s "creating Makefile rules..." >&6
21228 makedep_flags=""
21229 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21231 wine_srcdir=
21232 test "$srcdir" = . || wine_srcdir="$srcdir/"
21234 ac_config_links="$ac_config_links wine:tools/winewrapper"
21235 wine_fn_config_symlink wine
21236 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21237 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21238 wine_fn_config_symlink wine64
21241 wine_fn_config_makefile dlls/acledit enable_acledit
21242 wine_fn_config_makefile dlls/aclui enable_aclui
21243 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21244 wine_fn_config_makefile dlls/activeds enable_activeds
21245 wine_fn_config_makefile dlls/activeds/tests enable_tests
21246 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21247 wine_fn_config_makefile dlls/adsldp enable_adsldp
21248 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21249 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21250 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21251 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21252 wine_fn_config_makefile dlls/advpack enable_advpack
21253 wine_fn_config_makefile dlls/advpack/tests enable_tests
21254 wine_fn_config_makefile dlls/amsi enable_amsi
21255 wine_fn_config_makefile dlls/amstream enable_amstream
21256 wine_fn_config_makefile dlls/amstream/tests enable_tests
21257 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21258 wine_fn_config_makefile dlls/apphelp enable_apphelp
21259 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21260 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21261 wine_fn_config_makefile dlls/atl enable_atl
21262 wine_fn_config_makefile dlls/atl/tests enable_tests
21263 wine_fn_config_makefile dlls/atl100 enable_atl100
21264 wine_fn_config_makefile dlls/atl100/tests enable_tests
21265 wine_fn_config_makefile dlls/atl110 enable_atl110
21266 wine_fn_config_makefile dlls/atl110/tests enable_tests
21267 wine_fn_config_makefile dlls/atl80 enable_atl80
21268 wine_fn_config_makefile dlls/atl80/tests enable_tests
21269 wine_fn_config_makefile dlls/atl90 enable_atl90
21270 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21271 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21272 wine_fn_config_makefile dlls/atmlib enable_atmlib
21273 wine_fn_config_makefile dlls/authz enable_authz
21274 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21275 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21276 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21277 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21278 wine_fn_config_makefile dlls/avrt enable_avrt
21279 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21280 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21281 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21282 wine_fn_config_makefile dlls/browseui enable_browseui
21283 wine_fn_config_makefile dlls/browseui/tests enable_tests
21284 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21285 wine_fn_config_makefile dlls/cabinet enable_cabinet
21286 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21287 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21288 wine_fn_config_makefile dlls/cards enable_cards
21289 wine_fn_config_makefile dlls/cdosys enable_cdosys
21290 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21291 wine_fn_config_makefile dlls/clusapi enable_clusapi
21292 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21293 wine_fn_config_makefile dlls/combase enable_combase
21294 wine_fn_config_makefile dlls/combase/tests enable_tests
21295 wine_fn_config_makefile dlls/comcat enable_comcat
21296 wine_fn_config_makefile dlls/comcat/tests enable_tests
21297 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21298 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21299 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21300 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21301 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21302 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21303 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21304 wine_fn_config_makefile dlls/compstui enable_compstui
21305 wine_fn_config_makefile dlls/compstui/tests enable_tests
21306 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21307 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21308 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21309 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21310 wine_fn_config_makefile dlls/connect enable_connect
21311 wine_fn_config_makefile dlls/credui enable_credui
21312 wine_fn_config_makefile dlls/credui/tests enable_tests
21313 wine_fn_config_makefile dlls/crtdll enable_crtdll
21314 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21315 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21316 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21317 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21318 wine_fn_config_makefile dlls/cryptext enable_cryptext
21319 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21320 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21321 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21322 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21323 wine_fn_config_makefile dlls/cryptui enable_cryptui
21324 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21325 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21326 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21327 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21328 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21329 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21330 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21331 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21332 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21333 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21334 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21335 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21336 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21337 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21338 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21339 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21340 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21341 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21342 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21343 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21344 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21345 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21346 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21347 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21348 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21349 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21350 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21351 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21352 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21353 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21354 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21355 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21356 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21357 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21358 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21359 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21360 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21361 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21362 wine_fn_config_makefile dlls/d3dim enable_d3dim
21363 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21364 wine_fn_config_makefile dlls/d3drm enable_d3drm
21365 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21366 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21367 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21368 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21369 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21370 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21371 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21372 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21373 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21374 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21375 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21376 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21377 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21378 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21379 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21380 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21381 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21382 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21383 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21384 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21385 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21386 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21387 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21388 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21389 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21390 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21391 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21392 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21393 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21394 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21395 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21396 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21397 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21398 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21399 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21400 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21401 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21402 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21403 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21404 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21405 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21406 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21407 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21408 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21409 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21410 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21411 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21412 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21413 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21414 wine_fn_config_makefile dlls/davclnt enable_davclnt
21415 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21416 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21417 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21418 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21419 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21420 wine_fn_config_makefile dlls/dcomp enable_dcomp
21421 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21422 wine_fn_config_makefile dlls/ddraw enable_ddraw
21423 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21424 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21425 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21426 wine_fn_config_makefile dlls/devenum enable_devenum
21427 wine_fn_config_makefile dlls/devenum/tests enable_tests
21428 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21429 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21430 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21431 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21432 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21433 wine_fn_config_makefile dlls/difxapi enable_difxapi
21434 wine_fn_config_makefile dlls/dinput enable_dinput
21435 wine_fn_config_makefile dlls/dinput/tests enable_tests
21436 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21437 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21438 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21439 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21440 wine_fn_config_makefile dlls/dispex enable_dispex
21441 wine_fn_config_makefile dlls/dispex/tests enable_tests
21442 wine_fn_config_makefile dlls/display.drv16 enable_win16
21443 wine_fn_config_makefile dlls/dmband enable_dmband
21444 wine_fn_config_makefile dlls/dmband/tests enable_tests
21445 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21446 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21447 wine_fn_config_makefile dlls/dmime enable_dmime
21448 wine_fn_config_makefile dlls/dmime/tests enable_tests
21449 wine_fn_config_makefile dlls/dmloader enable_dmloader
21450 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21451 wine_fn_config_makefile dlls/dmscript enable_dmscript
21452 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21453 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21454 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21455 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21456 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21457 wine_fn_config_makefile dlls/dmusic enable_dmusic
21458 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21459 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21460 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21461 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21462 wine_fn_config_makefile dlls/dplay enable_dplay
21463 wine_fn_config_makefile dlls/dplayx enable_dplayx
21464 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21465 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21466 wine_fn_config_makefile dlls/dpnet enable_dpnet
21467 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21468 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21469 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21470 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21471 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21472 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21473 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21474 wine_fn_config_makefile dlls/drmclien enable_drmclien
21475 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21476 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21477 wine_fn_config_makefile dlls/dsound enable_dsound
21478 wine_fn_config_makefile dlls/dsound/tests enable_tests
21479 wine_fn_config_makefile dlls/dsquery enable_dsquery
21480 wine_fn_config_makefile dlls/dssenh enable_dssenh
21481 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21482 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21483 wine_fn_config_makefile dlls/dswave enable_dswave
21484 wine_fn_config_makefile dlls/dswave/tests enable_tests
21485 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21486 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21487 wine_fn_config_makefile dlls/dwrite enable_dwrite
21488 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21489 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21490 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21491 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21492 wine_fn_config_makefile dlls/dxgi enable_dxgi
21493 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21494 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21495 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21496 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21497 wine_fn_config_makefile dlls/esent enable_esent
21498 wine_fn_config_makefile dlls/evr enable_evr
21499 wine_fn_config_makefile dlls/evr/tests enable_tests
21500 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21501 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21502 wine_fn_config_makefile dlls/faultrep enable_faultrep
21503 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21504 wine_fn_config_makefile dlls/feclient enable_feclient
21505 wine_fn_config_makefile dlls/fltlib enable_fltlib
21506 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21507 wine_fn_config_makefile dlls/fntcache enable_fntcache
21508 wine_fn_config_makefile dlls/fontsub enable_fontsub
21509 wine_fn_config_makefile dlls/fusion enable_fusion
21510 wine_fn_config_makefile dlls/fusion/tests enable_tests
21511 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21512 wine_fn_config_makefile dlls/gameux enable_gameux
21513 wine_fn_config_makefile dlls/gameux/tests enable_tests
21514 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21515 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21516 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21517 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21518 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21519 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21520 wine_fn_config_makefile dlls/glu32 enable_glu32
21521 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21522 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21523 wine_fn_config_makefile dlls/hal enable_hal
21524 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21525 wine_fn_config_makefile dlls/hid enable_hid
21526 wine_fn_config_makefile dlls/hid/tests enable_tests
21527 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21528 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21529 wine_fn_config_makefile dlls/hlink enable_hlink
21530 wine_fn_config_makefile dlls/hlink/tests enable_tests
21531 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21532 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21533 wine_fn_config_makefile dlls/http.sys enable_http_sys
21534 wine_fn_config_makefile dlls/httpapi enable_httpapi
21535 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21536 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21537 wine_fn_config_makefile dlls/iccvid enable_iccvid
21538 wine_fn_config_makefile dlls/icmp enable_icmp
21539 wine_fn_config_makefile dlls/ieframe enable_ieframe
21540 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21541 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21542 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21543 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21544 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21545 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21546 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21547 wine_fn_config_makefile dlls/imm32 enable_imm32
21548 wine_fn_config_makefile dlls/imm32/tests enable_tests
21549 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21550 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21551 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21552 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21553 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21554 wine_fn_config_makefile dlls/infosoft enable_infosoft
21555 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21556 wine_fn_config_makefile dlls/initpki enable_initpki
21557 wine_fn_config_makefile dlls/inkobj enable_inkobj
21558 wine_fn_config_makefile dlls/inseng enable_inseng
21559 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21560 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21561 wine_fn_config_makefile dlls/iprop enable_iprop
21562 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21563 wine_fn_config_makefile dlls/itircl enable_itircl
21564 wine_fn_config_makefile dlls/itss enable_itss
21565 wine_fn_config_makefile dlls/itss/tests enable_tests
21566 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21567 wine_fn_config_makefile dlls/jscript enable_jscript
21568 wine_fn_config_makefile dlls/jscript/tests enable_tests
21569 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21570 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21571 wine_fn_config_makefile dlls/kerberos enable_kerberos
21572 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21573 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21574 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21575 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21576 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21577 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21578 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21579 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21580 wine_fn_config_makefile dlls/ksuser enable_ksuser
21581 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21582 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21583 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21584 wine_fn_config_makefile dlls/loadperf enable_loadperf
21585 wine_fn_config_makefile dlls/localspl enable_localspl
21586 wine_fn_config_makefile dlls/localspl/tests enable_tests
21587 wine_fn_config_makefile dlls/localui enable_localui
21588 wine_fn_config_makefile dlls/localui/tests enable_tests
21589 wine_fn_config_makefile dlls/lz32 enable_lz32
21590 wine_fn_config_makefile dlls/lz32/tests enable_tests
21591 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21592 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21593 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21594 wine_fn_config_makefile dlls/mapistub enable_mapistub
21595 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21596 wine_fn_config_makefile dlls/mcicda enable_mcicda
21597 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21598 wine_fn_config_makefile dlls/mciseq enable_mciseq
21599 wine_fn_config_makefile dlls/mciwave enable_mciwave
21600 wine_fn_config_makefile dlls/mf enable_mf
21601 wine_fn_config_makefile dlls/mf/tests enable_tests
21602 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21603 wine_fn_config_makefile dlls/mferror enable_mferror
21604 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21605 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21606 wine_fn_config_makefile dlls/mfplat enable_mfplat
21607 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21608 wine_fn_config_makefile dlls/mfplay enable_mfplay
21609 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21610 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21611 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21612 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21613 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21614 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21615 wine_fn_config_makefile dlls/midimap enable_midimap
21616 wine_fn_config_makefile dlls/mlang enable_mlang
21617 wine_fn_config_makefile dlls/mlang/tests enable_tests
21618 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21619 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21620 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21621 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21622 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21623 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21624 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21625 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21626 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21627 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21628 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21629 wine_fn_config_makefile dlls/mpr enable_mpr
21630 wine_fn_config_makefile dlls/mpr/tests enable_tests
21631 wine_fn_config_makefile dlls/mprapi enable_mprapi
21632 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21633 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21634 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21635 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21636 wine_fn_config_makefile dlls/msado15 enable_msado15
21637 wine_fn_config_makefile dlls/msado15/tests enable_tests
21638 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21639 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21640 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21641 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21642 wine_fn_config_makefile dlls/mscms enable_mscms
21643 wine_fn_config_makefile dlls/mscms/tests enable_tests
21644 wine_fn_config_makefile dlls/mscoree enable_mscoree
21645 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21646 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21647 wine_fn_config_makefile dlls/msctf enable_msctf
21648 wine_fn_config_makefile dlls/msctf/tests enable_tests
21649 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21650 wine_fn_config_makefile dlls/msctfp enable_msctfp
21651 wine_fn_config_makefile dlls/msdaps enable_msdaps
21652 wine_fn_config_makefile dlls/msdasql enable_msdasql
21653 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21654 wine_fn_config_makefile dlls/msdelta enable_msdelta
21655 wine_fn_config_makefile dlls/msdmo enable_msdmo
21656 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21657 wine_fn_config_makefile dlls/msdrm enable_msdrm
21658 wine_fn_config_makefile dlls/msftedit enable_msftedit
21659 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21660 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21661 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21662 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21663 wine_fn_config_makefile dlls/mshtml enable_mshtml
21664 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21665 wine_fn_config_makefile dlls/msi enable_msi
21666 wine_fn_config_makefile dlls/msi/tests enable_tests
21667 wine_fn_config_makefile dlls/msident enable_msident
21668 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21669 wine_fn_config_makefile dlls/msimsg enable_msimsg
21670 wine_fn_config_makefile dlls/msimtf enable_msimtf
21671 wine_fn_config_makefile dlls/msisip enable_msisip
21672 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21673 wine_fn_config_makefile dlls/msls31 enable_msls31
21674 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21675 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21676 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21677 wine_fn_config_makefile dlls/msports enable_msports
21678 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21679 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21680 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21681 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21682 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21683 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21684 wine_fn_config_makefile dlls/mstask enable_mstask
21685 wine_fn_config_makefile dlls/mstask/tests enable_tests
21686 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21687 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21688 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21689 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21690 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21691 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21692 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21693 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21694 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21695 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21696 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21697 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21698 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21699 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21700 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21701 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21702 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21703 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21704 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21705 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21706 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21707 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21708 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21709 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21710 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21711 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21712 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21713 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21714 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21715 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21716 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21717 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21718 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21719 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21720 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21721 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21722 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21723 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21724 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21725 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21726 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21727 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21728 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21729 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21730 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21731 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21732 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21733 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21734 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21735 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21736 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21737 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21738 wine_fn_config_makefile dlls/mswsock enable_mswsock
21739 wine_fn_config_makefile dlls/msxml enable_msxml
21740 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21741 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21742 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21743 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21744 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21745 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21746 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21747 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21748 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21749 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21750 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21751 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21752 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21753 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21754 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21755 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21756 wine_fn_config_makefile dlls/netprofm enable_netprofm
21757 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21758 wine_fn_config_makefile dlls/netutils enable_netutils
21759 wine_fn_config_makefile dlls/newdev enable_newdev
21760 wine_fn_config_makefile dlls/ninput enable_ninput
21761 wine_fn_config_makefile dlls/ninput/tests enable_tests
21762 wine_fn_config_makefile dlls/normaliz enable_normaliz
21763 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21764 wine_fn_config_makefile dlls/npptools enable_npptools
21765 wine_fn_config_makefile dlls/nsi enable_nsi
21766 wine_fn_config_makefile dlls/nsi/tests enable_tests
21767 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21768 wine_fn_config_makefile dlls/ntdll enable_ntdll
21769 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21770 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21771 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21772 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21773 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21774 wine_fn_config_makefile dlls/ntprint enable_ntprint
21775 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21776 wine_fn_config_makefile dlls/objsel enable_objsel
21777 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21778 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21779 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21780 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21781 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21782 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21783 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21784 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21785 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21786 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21787 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21788 wine_fn_config_makefile dlls/ole32 enable_ole32
21789 wine_fn_config_makefile dlls/ole32/tests enable_tests
21790 wine_fn_config_makefile dlls/oleacc enable_oleacc
21791 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21792 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21793 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21794 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21795 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21796 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21797 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21798 wine_fn_config_makefile dlls/oledlg enable_oledlg
21799 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21800 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21801 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21802 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21803 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21804 wine_fn_config_makefile dlls/opcservices enable_opcservices
21805 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21806 wine_fn_config_makefile dlls/openal32 enable_openal32
21807 wine_fn_config_makefile dlls/opencl enable_opencl
21808 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21809 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21810 wine_fn_config_makefile dlls/packager enable_packager
21811 wine_fn_config_makefile dlls/packager/tests enable_tests
21812 wine_fn_config_makefile dlls/pdh enable_pdh
21813 wine_fn_config_makefile dlls/pdh/tests enable_tests
21814 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21815 wine_fn_config_makefile dlls/pidgen enable_pidgen
21816 wine_fn_config_makefile dlls/powrprof enable_powrprof
21817 wine_fn_config_makefile dlls/printui enable_printui
21818 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21819 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21820 wine_fn_config_makefile dlls/propsys enable_propsys
21821 wine_fn_config_makefile dlls/propsys/tests enable_tests
21822 wine_fn_config_makefile dlls/psapi enable_psapi
21823 wine_fn_config_makefile dlls/psapi/tests enable_tests
21824 wine_fn_config_makefile dlls/pstorec enable_pstorec
21825 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21826 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21827 wine_fn_config_makefile dlls/qasf enable_qasf
21828 wine_fn_config_makefile dlls/qasf/tests enable_tests
21829 wine_fn_config_makefile dlls/qcap enable_qcap
21830 wine_fn_config_makefile dlls/qcap/tests enable_tests
21831 wine_fn_config_makefile dlls/qdvd enable_qdvd
21832 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21833 wine_fn_config_makefile dlls/qedit enable_qedit
21834 wine_fn_config_makefile dlls/qedit/tests enable_tests
21835 wine_fn_config_makefile dlls/qmgr enable_qmgr
21836 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21837 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21838 wine_fn_config_makefile dlls/quartz enable_quartz
21839 wine_fn_config_makefile dlls/quartz/tests enable_tests
21840 wine_fn_config_makefile dlls/query enable_query
21841 wine_fn_config_makefile dlls/qwave enable_qwave
21842 wine_fn_config_makefile dlls/qwave/tests enable_tests
21843 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21844 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21845 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21846 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21847 wine_fn_config_makefile dlls/regapi enable_regapi
21848 wine_fn_config_makefile dlls/resutils enable_resutils
21849 wine_fn_config_makefile dlls/riched20 enable_riched20
21850 wine_fn_config_makefile dlls/riched20/tests enable_tests
21851 wine_fn_config_makefile dlls/riched32 enable_riched32
21852 wine_fn_config_makefile dlls/riched32/tests enable_tests
21853 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21854 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21855 wine_fn_config_makefile dlls/rsabase enable_rsabase
21856 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21857 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21858 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21859 wine_fn_config_makefile dlls/rtutils enable_rtutils
21860 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21861 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21862 wine_fn_config_makefile dlls/samlib enable_samlib
21863 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21864 wine_fn_config_makefile dlls/sapi enable_sapi
21865 wine_fn_config_makefile dlls/sapi/tests enable_tests
21866 wine_fn_config_makefile dlls/sas enable_sas
21867 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21868 wine_fn_config_makefile dlls/sccbase enable_sccbase
21869 wine_fn_config_makefile dlls/schannel enable_schannel
21870 wine_fn_config_makefile dlls/schannel/tests enable_tests
21871 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21872 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21873 wine_fn_config_makefile dlls/scrobj enable_scrobj
21874 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21875 wine_fn_config_makefile dlls/scrrun enable_scrrun
21876 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21877 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21878 wine_fn_config_makefile dlls/sechost enable_sechost
21879 wine_fn_config_makefile dlls/secur32 enable_secur32
21880 wine_fn_config_makefile dlls/secur32/tests enable_tests
21881 wine_fn_config_makefile dlls/security enable_security
21882 wine_fn_config_makefile dlls/sensapi enable_sensapi
21883 wine_fn_config_makefile dlls/serialui enable_serialui
21884 wine_fn_config_makefile dlls/serialui/tests enable_tests
21885 wine_fn_config_makefile dlls/setupapi enable_setupapi
21886 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21887 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21888 wine_fn_config_makefile dlls/sfc enable_sfc
21889 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21890 wine_fn_config_makefile dlls/shcore enable_shcore
21891 wine_fn_config_makefile dlls/shcore/tests enable_tests
21892 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21893 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21894 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21895 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21896 wine_fn_config_makefile dlls/shell32 enable_shell32
21897 wine_fn_config_makefile dlls/shell32/tests enable_tests
21898 wine_fn_config_makefile dlls/shfolder enable_shfolder
21899 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21900 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21901 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21902 wine_fn_config_makefile dlls/slc enable_slc
21903 wine_fn_config_makefile dlls/slc/tests enable_tests
21904 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21905 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21906 wine_fn_config_makefile dlls/softpub enable_softpub
21907 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21908 wine_fn_config_makefile dlls/spoolss enable_spoolss
21909 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21910 wine_fn_config_makefile dlls/sppc enable_sppc
21911 wine_fn_config_makefile dlls/srclient enable_srclient
21912 wine_fn_config_makefile dlls/srvcli enable_srvcli
21913 wine_fn_config_makefile dlls/sspicli enable_sspicli
21914 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21915 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21916 wine_fn_config_makefile dlls/sti enable_sti
21917 wine_fn_config_makefile dlls/sti/tests enable_tests
21918 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21919 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21920 wine_fn_config_makefile dlls/strmdll enable_strmdll
21921 wine_fn_config_makefile dlls/svrapi enable_svrapi
21922 wine_fn_config_makefile dlls/sxs enable_sxs
21923 wine_fn_config_makefile dlls/sxs/tests enable_tests
21924 wine_fn_config_makefile dlls/system.drv16 enable_win16
21925 wine_fn_config_makefile dlls/t2embed enable_t2embed
21926 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21927 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21928 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21929 wine_fn_config_makefile dlls/taskschd enable_taskschd
21930 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21931 wine_fn_config_makefile dlls/tbs enable_tbs
21932 wine_fn_config_makefile dlls/tdh enable_tdh
21933 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21934 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21935 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21936 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21937 wine_fn_config_makefile dlls/traffic enable_traffic
21938 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21939 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21940 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21941 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21942 wine_fn_config_makefile dlls/tzres enable_tzres
21943 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21944 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21945 wine_fn_config_makefile dlls/uianimation enable_uianimation
21946 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21947 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21948 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21949 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21950 wine_fn_config_makefile dlls/unicows enable_unicows
21951 wine_fn_config_makefile dlls/updspapi enable_updspapi
21952 wine_fn_config_makefile dlls/url enable_url
21953 wine_fn_config_makefile dlls/urlmon enable_urlmon
21954 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21955 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21956 wine_fn_config_makefile dlls/user.exe16 enable_win16
21957 wine_fn_config_makefile dlls/user32 enable_user32
21958 wine_fn_config_makefile dlls/user32/tests enable_tests
21959 wine_fn_config_makefile dlls/userenv enable_userenv
21960 wine_fn_config_makefile dlls/userenv/tests enable_tests
21961 wine_fn_config_makefile dlls/usp10 enable_usp10
21962 wine_fn_config_makefile dlls/usp10/tests enable_tests
21963 wine_fn_config_makefile dlls/utildll enable_utildll
21964 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21965 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21966 wine_fn_config_makefile dlls/vbscript enable_vbscript
21967 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21968 wine_fn_config_makefile dlls/vcomp enable_vcomp
21969 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21970 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21971 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21972 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21973 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21974 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21975 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21976 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21977 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21978 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21979 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21980 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21981 wine_fn_config_makefile dlls/version enable_version
21982 wine_fn_config_makefile dlls/version/tests enable_tests
21983 wine_fn_config_makefile dlls/vga enable_vga
21984 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21985 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21986 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21987 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21988 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21989 wine_fn_config_makefile dlls/vssapi enable_vssapi
21990 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21991 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21992 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21993 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21994 wine_fn_config_makefile dlls/w32skrnl enable_win16
21995 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21996 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21997 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21998 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21999 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22000 wine_fn_config_makefile dlls/wdscore enable_wdscore
22001 wine_fn_config_makefile dlls/webservices enable_webservices
22002 wine_fn_config_makefile dlls/webservices/tests enable_tests
22003 wine_fn_config_makefile dlls/websocket enable_websocket
22004 wine_fn_config_makefile dlls/wer enable_wer
22005 wine_fn_config_makefile dlls/wer/tests enable_tests
22006 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22007 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22008 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22009 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22010 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22011 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22012 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22013 wine_fn_config_makefile dlls/win32u enable_win32u
22014 wine_fn_config_makefile dlls/win32u/tests enable_tests
22015 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22016 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22017 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22018 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22019 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22020 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22021 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22022 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22023 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22024 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22025 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22026 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22027 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22028 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22029 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22030 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22031 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22032 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22033 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22034 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22035 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22036 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22037 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22038 wine_fn_config_makefile dlls/wined3d enable_wined3d
22039 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22040 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22041 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22042 wine_fn_config_makefile dlls/winemapi enable_winemapi
22043 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22044 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22045 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22046 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22047 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22048 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22049 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22050 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22051 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22052 wine_fn_config_makefile dlls/wing32 enable_wing32
22053 wine_fn_config_makefile dlls/winhttp enable_winhttp
22054 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22055 wine_fn_config_makefile dlls/wininet enable_wininet
22056 wine_fn_config_makefile dlls/wininet/tests enable_tests
22057 wine_fn_config_makefile dlls/winmm enable_winmm
22058 wine_fn_config_makefile dlls/winmm/tests enable_tests
22059 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22060 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22061 wine_fn_config_makefile dlls/winscard enable_winscard
22062 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22063 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22064 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22065 wine_fn_config_makefile dlls/winsta enable_winsta
22066 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22067 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22068 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22069 wine_fn_config_makefile dlls/wintrust enable_wintrust
22070 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22071 wine_fn_config_makefile dlls/wintypes enable_wintypes
22072 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22073 wine_fn_config_makefile dlls/winusb enable_winusb
22074 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22075 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22076 wine_fn_config_makefile dlls/wlanui enable_wlanui
22077 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22078 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22079 wine_fn_config_makefile dlls/wmasf enable_wmasf
22080 wine_fn_config_makefile dlls/wmi enable_wmi
22081 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22082 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22083 wine_fn_config_makefile dlls/wmp enable_wmp
22084 wine_fn_config_makefile dlls/wmp/tests enable_tests
22085 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22086 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22087 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22088 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22089 wine_fn_config_makefile dlls/wow32 enable_win16
22090 wine_fn_config_makefile dlls/wow64 enable_wow64
22091 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22092 wine_fn_config_makefile dlls/wow64win enable_wow64win
22093 wine_fn_config_makefile dlls/wpc enable_wpc
22094 wine_fn_config_makefile dlls/wpc/tests enable_tests
22095 wine_fn_config_makefile dlls/wpcap enable_wpcap
22096 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22097 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22098 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22099 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22100 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22101 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22102 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22103 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22104 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22105 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22106 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22107 wine_fn_config_makefile dlls/wuapi enable_wuapi
22108 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22109 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22110 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22111 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22112 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22113 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22114 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22115 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22116 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22117 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22118 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22119 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22120 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22121 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22122 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22123 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22124 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22125 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22126 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22127 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22128 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22129 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22130 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22131 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22132 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22133 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22134 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22135 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22136 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22137 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22138 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22139 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22140 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22141 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22142 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22143 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22144 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22145 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22146 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22147 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22148 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22149 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22150 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22151 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22152 wine_fn_config_makefile dlls/xmllite enable_xmllite
22153 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22154 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22155 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22156 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22157 wine_fn_config_makefile fonts enable_fonts
22158 wine_fn_config_makefile include enable_include
22159 wine_fn_config_makefile libs/adsiid enable_adsiid
22160 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22161 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22162 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22163 wine_fn_config_makefile libs/dxguid enable_dxguid
22164 wine_fn_config_makefile libs/faudio enable_faudio
22165 wine_fn_config_makefile libs/gsm enable_gsm
22166 wine_fn_config_makefile libs/jpeg enable_jpeg
22167 wine_fn_config_makefile libs/jxr enable_jxr
22168 wine_fn_config_makefile libs/lcms2 enable_lcms2
22169 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22170 wine_fn_config_makefile libs/mpg123 enable_mpg123
22171 wine_fn_config_makefile libs/png enable_png
22172 wine_fn_config_makefile libs/strmbase enable_strmbase
22173 wine_fn_config_makefile libs/strmiids enable_strmiids
22174 wine_fn_config_makefile libs/tiff enable_tiff
22175 wine_fn_config_makefile libs/uuid enable_uuid
22176 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22177 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22178 wine_fn_config_makefile libs/wine enable_wine
22179 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22180 wine_fn_config_makefile libs/xml2 enable_xml2
22181 wine_fn_config_makefile libs/xslt enable_xslt
22182 wine_fn_config_makefile libs/zlib enable_zlib
22183 wine_fn_config_makefile loader enable_loader
22184 wine_fn_config_makefile nls enable_nls
22185 wine_fn_config_makefile po enable_po
22186 wine_fn_config_makefile programs/arp enable_arp
22187 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22188 wine_fn_config_makefile programs/attrib enable_attrib
22189 wine_fn_config_makefile programs/cabarc enable_cabarc
22190 wine_fn_config_makefile programs/cacls enable_cacls
22191 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22192 wine_fn_config_makefile programs/clock enable_clock
22193 wine_fn_config_makefile programs/cmd enable_cmd
22194 wine_fn_config_makefile programs/cmd/tests enable_tests
22195 wine_fn_config_makefile programs/conhost enable_conhost
22196 wine_fn_config_makefile programs/conhost/tests enable_tests
22197 wine_fn_config_makefile programs/control enable_control
22198 wine_fn_config_makefile programs/cscript enable_cscript
22199 wine_fn_config_makefile programs/dism enable_dism
22200 wine_fn_config_makefile programs/dllhost enable_dllhost
22201 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22202 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22203 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22204 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22205 wine_fn_config_makefile programs/eject enable_eject
22206 wine_fn_config_makefile programs/expand enable_expand
22207 wine_fn_config_makefile programs/explorer enable_explorer
22208 wine_fn_config_makefile programs/extrac32 enable_extrac32
22209 wine_fn_config_makefile programs/fc enable_fc
22210 wine_fn_config_makefile programs/find enable_find
22211 wine_fn_config_makefile programs/find/tests enable_tests
22212 wine_fn_config_makefile programs/findstr enable_findstr
22213 wine_fn_config_makefile programs/fsutil enable_fsutil
22214 wine_fn_config_makefile programs/fsutil/tests enable_tests
22215 wine_fn_config_makefile programs/hh enable_hh
22216 wine_fn_config_makefile programs/hostname enable_hostname
22217 wine_fn_config_makefile programs/icacls enable_icacls
22218 wine_fn_config_makefile programs/icinfo enable_icinfo
22219 wine_fn_config_makefile programs/iexplore enable_iexplore
22220 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22221 wine_fn_config_makefile programs/lodctr enable_lodctr
22222 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22223 wine_fn_config_makefile programs/mshta enable_mshta
22224 wine_fn_config_makefile programs/msidb enable_msidb
22225 wine_fn_config_makefile programs/msiexec enable_msiexec
22226 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22227 wine_fn_config_makefile programs/net enable_net
22228 wine_fn_config_makefile programs/netsh enable_netsh
22229 wine_fn_config_makefile programs/netstat enable_netstat
22230 wine_fn_config_makefile programs/ngen enable_ngen
22231 wine_fn_config_makefile programs/notepad enable_notepad
22232 wine_fn_config_makefile programs/oleview enable_oleview
22233 wine_fn_config_makefile programs/ping enable_ping
22234 wine_fn_config_makefile programs/plugplay enable_plugplay
22235 wine_fn_config_makefile programs/powershell enable_powershell
22236 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22237 wine_fn_config_makefile programs/progman enable_progman
22238 wine_fn_config_makefile programs/reg enable_reg
22239 wine_fn_config_makefile programs/reg/tests enable_tests
22240 wine_fn_config_makefile programs/regasm enable_regasm
22241 wine_fn_config_makefile programs/regedit enable_regedit
22242 wine_fn_config_makefile programs/regedit/tests enable_tests
22243 wine_fn_config_makefile programs/regini enable_regini
22244 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22245 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22246 wine_fn_config_makefile programs/robocopy enable_robocopy
22247 wine_fn_config_makefile programs/rpcss enable_rpcss
22248 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22249 wine_fn_config_makefile programs/rundll32 enable_rundll32
22250 wine_fn_config_makefile programs/sc enable_sc
22251 wine_fn_config_makefile programs/sc/tests enable_tests
22252 wine_fn_config_makefile programs/schtasks enable_schtasks
22253 wine_fn_config_makefile programs/schtasks/tests enable_tests
22254 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22255 wine_fn_config_makefile programs/secedit enable_secedit
22256 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22257 wine_fn_config_makefile programs/services enable_services
22258 wine_fn_config_makefile programs/services/tests enable_tests
22259 wine_fn_config_makefile programs/shutdown enable_shutdown
22260 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22261 wine_fn_config_makefile programs/start enable_start
22262 wine_fn_config_makefile programs/subst enable_subst
22263 wine_fn_config_makefile programs/svchost enable_svchost
22264 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22265 wine_fn_config_makefile programs/taskkill enable_taskkill
22266 wine_fn_config_makefile programs/tasklist enable_tasklist
22267 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22268 wine_fn_config_makefile programs/termsv enable_termsv
22269 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22270 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22271 wine_fn_config_makefile programs/view enable_view
22272 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22273 wine_fn_config_makefile programs/where enable_where
22274 wine_fn_config_makefile programs/whoami enable_whoami
22275 wine_fn_config_makefile programs/wineboot enable_wineboot
22276 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22277 wine_fn_config_makefile programs/winecfg enable_winecfg
22278 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22279 wine_fn_config_makefile programs/winedbg enable_winedbg
22280 wine_fn_config_makefile programs/winedevice enable_winedevice
22281 wine_fn_config_makefile programs/winefile enable_winefile
22282 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22283 wine_fn_config_makefile programs/winemine enable_winemine
22284 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22285 wine_fn_config_makefile programs/winepath enable_winepath
22286 wine_fn_config_makefile programs/winetest enable_winetest
22287 wine_fn_config_makefile programs/winevdm enable_win16
22288 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22289 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22290 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22291 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22292 wine_fn_config_makefile programs/winver enable_winver
22293 wine_fn_config_makefile programs/wmic enable_wmic
22294 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22295 wine_fn_config_makefile programs/wordpad enable_wordpad
22296 wine_fn_config_makefile programs/write enable_write
22297 wine_fn_config_makefile programs/wscript enable_wscript
22298 wine_fn_config_makefile programs/wscript/tests enable_tests
22299 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22300 wine_fn_config_makefile programs/wusa enable_wusa
22301 wine_fn_config_makefile programs/xcopy enable_xcopy
22302 wine_fn_config_makefile programs/xcopy/tests enable_tests
22303 wine_fn_config_makefile server enable_server
22304 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22305 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22306 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22307 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22308 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22309 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22310 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22311 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22312 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22315 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22316 wine_fn_append_file CONFIGURE_TARGETS "tags"
22317 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22318 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22319 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22320 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22321 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22322 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22324 if test "x$enable_tools" != xno
22325 then
22326 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22327 ac_config_commands="$ac_config_commands tools/makedep"
22331 ac_config_commands="$ac_config_commands Makefile"
22335 SHELL=/bin/sh
22338 wine_fn_append_rule "all: wine
22339 @echo \"Wine build complete.\"
22340 .INIT: Makefile
22341 .MAKEFILEDEPS:
22342 all: Makefile
22343 Makefile: config.status \$(MAKEDEP)
22344 @./config.status Makefile
22345 depend: \$(MAKEDEP)
22346 \$(MAKEDEP)$makedep_flags"
22349 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22350 @./config.status --recheck
22351 include/config.h: include/stamp-h
22352 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22353 @./config.status include/config.h include/stamp-h"
22355 if test "x$enable_maintainer_mode" = xyes
22356 then
22357 wine_fn_append_rule "configure: configure.ac aclocal.m4
22358 autoconf --warnings=all
22359 include/config.h.in: include/stamp-h.in
22360 include/stamp-h.in: configure.ac aclocal.m4
22361 autoheader --warnings=all
22362 @echo timestamp > \$@"
22365 if test "x$enable_tools" != xno
22366 then
22367 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22368 @./config.status tools/makedep
22369 Makefile: tools/makedep$ac_exeext"
22370 else
22371 wine_fn_append_rule "\$(MAKEDEP):
22372 @echo \"You need to run make in $toolsdir first\" && false"
22376 if test -n "$with_wine64"
22377 then
22378 case "$with_wine64" in
22379 /*) reldir="" ;;
22380 *) reldir="../" ;;
22381 esac
22382 rm -f fonts server 2>/dev/null
22383 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22384 loader/wine64 loader/wine64-preloader:
22385 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22386 $with_wine64/loader/wine:
22387 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22388 $with_wine64/loader/wine-preloader:
22389 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22390 clean::
22391 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22392 else
22393 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22394 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22395 fonts \
22396 loader/wine.inf \
22397 nls \
22398 programs/msidb/msidb \
22399 programs/msiexec/msiexec \
22400 programs/notepad/notepad \
22401 programs/regedit/regedit \
22402 programs/regsvr32/regsvr32 \
22403 programs/wineboot/wineboot \
22404 programs/winecfg/winecfg \
22405 programs/wineconsole/wineconsole \
22406 programs/winedbg/winedbg \
22407 programs/winefile/winefile \
22408 programs/winemine/winemine \
22409 programs/winepath/winepath \
22410 server/wineserver"
22412 case $host_os in
22413 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22414 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22415 esac
22419 wine_fn_append_rule "distclean:: clean
22420 rm -rf autom4te.cache
22421 maintainer-clean::
22422 rm -f configure include/config.h.in"
22425 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22426 @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)
22427 programs/winetest/build.rc: dummy
22428 @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)
22429 programs/winetest/build.nfo:
22430 @-\$(CC) -v 2>\$@
22431 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
22432 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22433 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22436 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22438 wine_fn_append_rule "TAGS etags:
22439 rm -f TAGS
22440 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22441 tags ctags:
22442 rm -f tags
22443 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22444 dummy:
22445 .PHONY: depend dummy install-manpages"
22447 printf "%s\n" " done" >&6
22448 cat >confcache <<\_ACEOF
22449 # This file is a shell script that caches the results of configure
22450 # tests run on this system so they can be shared between configure
22451 # scripts and configure runs, see configure's option --config-cache.
22452 # It is not useful on other systems. If it contains results you don't
22453 # want to keep, you may remove or edit it.
22455 # config.status only pays attention to the cache file if you give it
22456 # the --recheck option to rerun configure.
22458 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22459 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22460 # following values.
22462 _ACEOF
22464 # The following way of writing the cache mishandles newlines in values,
22465 # but we know of no workaround that is simple, portable, and efficient.
22466 # So, we kill variables containing newlines.
22467 # Ultrix sh set writes to stderr and can't be redirected directly,
22468 # and sets the high bit in the cache file unless we assign to the vars.
22470 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22471 eval ac_val=\$$ac_var
22472 case $ac_val in #(
22473 *${as_nl}*)
22474 case $ac_var in #(
22475 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22476 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22477 esac
22478 case $ac_var in #(
22479 _ | IFS | as_nl) ;; #(
22480 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22481 *) { eval $ac_var=; unset $ac_var;} ;;
22482 esac ;;
22483 esac
22484 done
22486 (set) 2>&1 |
22487 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22488 *${as_nl}ac_space=\ *)
22489 # `set' does not quote correctly, so add quotes: double-quote
22490 # substitution turns \\\\ into \\, and sed turns \\ into \.
22491 sed -n \
22492 "s/'/'\\\\''/g;
22493 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22494 ;; #(
22496 # `set' quotes correctly as required by POSIX, so do not add quotes.
22497 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22499 esac |
22500 sort
22502 sed '
22503 /^ac_cv_env_/b end
22504 t clear
22505 :clear
22506 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22507 t end
22508 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22509 :end' >>confcache
22510 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22511 if test -w "$cache_file"; then
22512 if test "x$cache_file" != "x/dev/null"; then
22513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22514 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22515 if test ! -f "$cache_file" || test -h "$cache_file"; then
22516 cat confcache >"$cache_file"
22517 else
22518 case $cache_file in #(
22519 */* | ?:*)
22520 mv -f confcache "$cache_file"$$ &&
22521 mv -f "$cache_file"$$ "$cache_file" ;; #(
22523 mv -f confcache "$cache_file" ;;
22524 esac
22527 else
22528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22529 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22532 rm -f confcache
22534 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22535 # Let make expand exec_prefix.
22536 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22538 DEFS=-DHAVE_CONFIG_H
22540 ac_libobjs=
22541 ac_ltlibobjs=
22543 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22544 # 1. Remove the extension, and $U if already installed.
22545 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22546 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22547 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22548 # will be set to the directory where LIBOBJS objects are built.
22549 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22550 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22551 done
22552 LIBOBJS=$ac_libobjs
22554 LTLIBOBJS=$ac_ltlibobjs
22558 : "${CONFIG_STATUS=./config.status}"
22559 ac_write_fail=0
22560 ac_clean_files_save=$ac_clean_files
22561 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22563 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22564 as_write_fail=0
22565 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22566 #! $SHELL
22567 # Generated by $as_me.
22568 # Run this file to recreate the current configuration.
22569 # Compiler output produced by configure, useful for debugging
22570 # configure, is in config.log if it exists.
22572 debug=false
22573 ac_cs_recheck=false
22574 ac_cs_silent=false
22576 SHELL=\${CONFIG_SHELL-$SHELL}
22577 export SHELL
22578 _ASEOF
22579 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22580 ## -------------------- ##
22581 ## M4sh Initialization. ##
22582 ## -------------------- ##
22584 # Be more Bourne compatible
22585 DUALCASE=1; export DUALCASE # for MKS sh
22586 as_nop=:
22587 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22588 then :
22589 emulate sh
22590 NULLCMD=:
22591 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22592 # is contrary to our usage. Disable this feature.
22593 alias -g '${1+"$@"}'='"$@"'
22594 setopt NO_GLOB_SUBST
22595 else $as_nop
22596 case `(set -o) 2>/dev/null` in #(
22597 *posix*) :
22598 set -o posix ;; #(
22599 *) :
22601 esac
22606 # Reset variables that may have inherited troublesome values from
22607 # the environment.
22609 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22610 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22611 # side effect of setting IFS to empty, thus disabling word splitting.)
22612 # Quoting is to prevent editors from complaining about space-tab.
22613 as_nl='
22615 export as_nl
22616 IFS=" "" $as_nl"
22618 PS1='$ '
22619 PS2='> '
22620 PS4='+ '
22622 # Ensure predictable behavior from utilities with locale-dependent output.
22623 LC_ALL=C
22624 export LC_ALL
22625 LANGUAGE=C
22626 export LANGUAGE
22628 # We cannot yet rely on "unset" to work, but we need these variables
22629 # to be unset--not just set to an empty or harmless value--now, to
22630 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22631 # also avoids known problems related to "unset" and subshell syntax
22632 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22633 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22634 do eval test \${$as_var+y} \
22635 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22636 done
22638 # Ensure that fds 0, 1, and 2 are open.
22639 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22640 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22641 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22643 # The user is always right.
22644 if ${PATH_SEPARATOR+false} :; then
22645 PATH_SEPARATOR=:
22646 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22647 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22648 PATH_SEPARATOR=';'
22653 # Find who we are. Look in the path if we contain no directory separator.
22654 as_myself=
22655 case $0 in #((
22656 *[\\/]* ) as_myself=$0 ;;
22657 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22658 for as_dir in $PATH
22660 IFS=$as_save_IFS
22661 case $as_dir in #(((
22662 '') as_dir=./ ;;
22663 */) ;;
22664 *) as_dir=$as_dir/ ;;
22665 esac
22666 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22667 done
22668 IFS=$as_save_IFS
22671 esac
22672 # We did not find ourselves, most probably we were run as `sh COMMAND'
22673 # in which case we are not to be found in the path.
22674 if test "x$as_myself" = x; then
22675 as_myself=$0
22677 if test ! -f "$as_myself"; then
22678 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22679 exit 1
22684 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22685 # ----------------------------------------
22686 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22687 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22688 # script with STATUS, using 1 if that was 0.
22689 as_fn_error ()
22691 as_status=$1; test $as_status -eq 0 && as_status=1
22692 if test "$4"; then
22693 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22696 printf "%s\n" "$as_me: error: $2" >&2
22697 as_fn_exit $as_status
22698 } # as_fn_error
22702 # as_fn_set_status STATUS
22703 # -----------------------
22704 # Set $? to STATUS, without forking.
22705 as_fn_set_status ()
22707 return $1
22708 } # as_fn_set_status
22710 # as_fn_exit STATUS
22711 # -----------------
22712 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22713 as_fn_exit ()
22715 set +e
22716 as_fn_set_status $1
22717 exit $1
22718 } # as_fn_exit
22720 # as_fn_unset VAR
22721 # ---------------
22722 # Portably unset VAR.
22723 as_fn_unset ()
22725 { eval $1=; unset $1;}
22727 as_unset=as_fn_unset
22729 # as_fn_append VAR VALUE
22730 # ----------------------
22731 # Append the text in VALUE to the end of the definition contained in VAR. Take
22732 # advantage of any shell optimizations that allow amortized linear growth over
22733 # repeated appends, instead of the typical quadratic growth present in naive
22734 # implementations.
22735 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22736 then :
22737 eval 'as_fn_append ()
22739 eval $1+=\$2
22741 else $as_nop
22742 as_fn_append ()
22744 eval $1=\$$1\$2
22746 fi # as_fn_append
22748 # as_fn_arith ARG...
22749 # ------------------
22750 # Perform arithmetic evaluation on the ARGs, and store the result in the
22751 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22752 # must be portable across $(()) and expr.
22753 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22754 then :
22755 eval 'as_fn_arith ()
22757 as_val=$(( $* ))
22759 else $as_nop
22760 as_fn_arith ()
22762 as_val=`expr "$@" || test $? -eq 1`
22764 fi # as_fn_arith
22767 if expr a : '\(a\)' >/dev/null 2>&1 &&
22768 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22769 as_expr=expr
22770 else
22771 as_expr=false
22774 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22775 as_basename=basename
22776 else
22777 as_basename=false
22780 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22781 as_dirname=dirname
22782 else
22783 as_dirname=false
22786 as_me=`$as_basename -- "$0" ||
22787 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22788 X"$0" : 'X\(//\)$' \| \
22789 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22790 printf "%s\n" X/"$0" |
22791 sed '/^.*\/\([^/][^/]*\)\/*$/{
22792 s//\1/
22795 /^X\/\(\/\/\)$/{
22796 s//\1/
22799 /^X\/\(\/\).*/{
22800 s//\1/
22803 s/.*/./; q'`
22805 # Avoid depending upon Character Ranges.
22806 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22807 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22808 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22809 as_cr_digits='0123456789'
22810 as_cr_alnum=$as_cr_Letters$as_cr_digits
22813 # Determine whether it's possible to make 'echo' print without a newline.
22814 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22815 # for compatibility with existing Makefiles.
22816 ECHO_C= ECHO_N= ECHO_T=
22817 case `echo -n x` in #(((((
22818 -n*)
22819 case `echo 'xy\c'` in
22820 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22821 xy) ECHO_C='\c';;
22822 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22823 ECHO_T=' ';;
22824 esac;;
22826 ECHO_N='-n';;
22827 esac
22829 # For backward compatibility with old third-party macros, we provide
22830 # the shell variables $as_echo and $as_echo_n. New code should use
22831 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22832 as_echo='printf %s\n'
22833 as_echo_n='printf %s'
22835 rm -f conf$$ conf$$.exe conf$$.file
22836 if test -d conf$$.dir; then
22837 rm -f conf$$.dir/conf$$.file
22838 else
22839 rm -f conf$$.dir
22840 mkdir conf$$.dir 2>/dev/null
22842 if (echo >conf$$.file) 2>/dev/null; then
22843 if ln -s conf$$.file conf$$ 2>/dev/null; then
22844 as_ln_s='ln -s'
22845 # ... but there are two gotchas:
22846 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22847 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22848 # In both cases, we have to default to `cp -pR'.
22849 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22850 as_ln_s='cp -pR'
22851 elif ln conf$$.file conf$$ 2>/dev/null; then
22852 as_ln_s=ln
22853 else
22854 as_ln_s='cp -pR'
22856 else
22857 as_ln_s='cp -pR'
22859 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22860 rmdir conf$$.dir 2>/dev/null
22863 # as_fn_mkdir_p
22864 # -------------
22865 # Create "$as_dir" as a directory, including parents if necessary.
22866 as_fn_mkdir_p ()
22869 case $as_dir in #(
22870 -*) as_dir=./$as_dir;;
22871 esac
22872 test -d "$as_dir" || eval $as_mkdir_p || {
22873 as_dirs=
22874 while :; do
22875 case $as_dir in #(
22876 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22877 *) as_qdir=$as_dir;;
22878 esac
22879 as_dirs="'$as_qdir' $as_dirs"
22880 as_dir=`$as_dirname -- "$as_dir" ||
22881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22882 X"$as_dir" : 'X\(//\)[^/]' \| \
22883 X"$as_dir" : 'X\(//\)$' \| \
22884 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22885 printf "%s\n" X"$as_dir" |
22886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22887 s//\1/
22890 /^X\(\/\/\)[^/].*/{
22891 s//\1/
22894 /^X\(\/\/\)$/{
22895 s//\1/
22898 /^X\(\/\).*/{
22899 s//\1/
22902 s/.*/./; q'`
22903 test -d "$as_dir" && break
22904 done
22905 test -z "$as_dirs" || eval "mkdir $as_dirs"
22906 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22909 } # as_fn_mkdir_p
22910 if mkdir -p . 2>/dev/null; then
22911 as_mkdir_p='mkdir -p "$as_dir"'
22912 else
22913 test -d ./-p && rmdir ./-p
22914 as_mkdir_p=false
22918 # as_fn_executable_p FILE
22919 # -----------------------
22920 # Test if FILE is an executable regular file.
22921 as_fn_executable_p ()
22923 test -f "$1" && test -x "$1"
22924 } # as_fn_executable_p
22925 as_test_x='test -x'
22926 as_executable_p=as_fn_executable_p
22928 # Sed expression to map a string onto a valid CPP name.
22929 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22931 # Sed expression to map a string onto a valid variable name.
22932 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22935 exec 6>&1
22936 ## ----------------------------------- ##
22937 ## Main body of $CONFIG_STATUS script. ##
22938 ## ----------------------------------- ##
22939 _ASEOF
22940 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22943 # Save the log message, to keep $0 and so on meaningful, and to
22944 # report actual input values of CONFIG_FILES etc. instead of their
22945 # values after options handling.
22946 ac_log="
22947 This file was extended by Wine $as_me 7.19, which was
22948 generated by GNU Autoconf 2.71. Invocation command line was
22950 CONFIG_FILES = $CONFIG_FILES
22951 CONFIG_HEADERS = $CONFIG_HEADERS
22952 CONFIG_LINKS = $CONFIG_LINKS
22953 CONFIG_COMMANDS = $CONFIG_COMMANDS
22954 $ $0 $@
22956 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22959 _ACEOF
22962 case $ac_config_headers in *"
22963 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22964 esac
22967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22968 # Files that config.status was made for.
22969 config_headers="$ac_config_headers"
22970 config_links="$ac_config_links"
22971 config_commands="$ac_config_commands"
22973 _ACEOF
22975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22976 ac_cs_usage="\
22977 \`$as_me' instantiates files and other configuration actions
22978 from templates according to the current configuration. Unless the files
22979 and actions are specified as TAGs, all are instantiated by default.
22981 Usage: $0 [OPTION]... [TAG]...
22983 -h, --help print this help, then exit
22984 -V, --version print version number and configuration settings, then exit
22985 --config print configuration, then exit
22986 -q, --quiet, --silent
22987 do not print progress messages
22988 -d, --debug don't remove temporary files
22989 --recheck update $as_me by reconfiguring in the same conditions
22990 --header=FILE[:TEMPLATE]
22991 instantiate the configuration header FILE
22993 Configuration headers:
22994 $config_headers
22996 Configuration links:
22997 $config_links
22999 Configuration commands:
23000 $config_commands
23002 Report bugs to <wine-devel@winehq.org>.
23003 Wine home page: <https://www.winehq.org>."
23005 _ACEOF
23006 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23007 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23009 ac_cs_config='$ac_cs_config_escaped'
23010 ac_cs_version="\\
23011 Wine config.status 7.19
23012 configured by $0, generated by GNU Autoconf 2.71,
23013 with options \\"\$ac_cs_config\\"
23015 Copyright (C) 2021 Free Software Foundation, Inc.
23016 This config.status script is free software; the Free Software Foundation
23017 gives unlimited permission to copy, distribute and modify it."
23019 ac_pwd='$ac_pwd'
23020 srcdir='$srcdir'
23021 test -n "\$AWK" || AWK=awk
23022 _ACEOF
23024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23025 # The default lists apply if the user does not specify any file.
23026 ac_need_defaults=:
23027 while test $# != 0
23029 case $1 in
23030 --*=?*)
23031 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23032 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23033 ac_shift=:
23035 --*=)
23036 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23037 ac_optarg=
23038 ac_shift=:
23041 ac_option=$1
23042 ac_optarg=$2
23043 ac_shift=shift
23045 esac
23047 case $ac_option in
23048 # Handling of the options.
23049 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23050 ac_cs_recheck=: ;;
23051 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23052 printf "%s\n" "$ac_cs_version"; exit ;;
23053 --config | --confi | --conf | --con | --co | --c )
23054 printf "%s\n" "$ac_cs_config"; exit ;;
23055 --debug | --debu | --deb | --de | --d | -d )
23056 debug=: ;;
23057 --header | --heade | --head | --hea )
23058 $ac_shift
23059 case $ac_optarg in
23060 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23061 esac
23062 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23063 ac_need_defaults=false;;
23064 --he | --h)
23065 # Conflict between --help and --header
23066 as_fn_error $? "ambiguous option: \`$1'
23067 Try \`$0 --help' for more information.";;
23068 --help | --hel | -h )
23069 printf "%s\n" "$ac_cs_usage"; exit ;;
23070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23071 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23072 ac_cs_silent=: ;;
23074 # This is an error.
23075 -*) as_fn_error $? "unrecognized option: \`$1'
23076 Try \`$0 --help' for more information." ;;
23078 *) as_fn_append ac_config_targets " $1"
23079 ac_need_defaults=false ;;
23081 esac
23082 shift
23083 done
23085 ac_configure_extra_args=
23087 if $ac_cs_silent; then
23088 exec 6>/dev/null
23089 ac_configure_extra_args="$ac_configure_extra_args --silent"
23092 _ACEOF
23093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23094 if \$ac_cs_recheck; then
23095 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23096 shift
23097 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23098 CONFIG_SHELL='$SHELL'
23099 export CONFIG_SHELL
23100 exec "\$@"
23103 _ACEOF
23104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23105 exec 5>>config.log
23107 echo
23108 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23109 ## Running $as_me. ##
23110 _ASBOX
23111 printf "%s\n" "$ac_log"
23112 } >&5
23114 _ACEOF
23115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23117 # INIT-COMMANDS
23119 wine_fn_output_makedep ()
23121 as_dir=tools; as_fn_mkdir_p
23122 $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
23124 wine_fn_output_makefile ()
23126 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23127 # This Makefile understands the following targets:
23129 # all (default): build wine
23130 # clean: remove all intermediate files
23131 # distclean: also remove all files created by configure
23132 # test: run tests
23133 # testclean: clean test results to force running all tests again
23134 # install-lib: install libraries needed to run applications
23135 # install-dev: install development environment
23136 # install: install everything
23137 # uninstall: uninstall everything
23138 # ctags: create a tags file for vim and others.
23139 # etags: create a TAGS file for Emacs.
23141 SHELL = $SHELL
23142 PATH_SEPARATOR = $PATH_SEPARATOR
23143 PACKAGE_NAME = $PACKAGE_NAME
23144 PACKAGE_TARNAME = $PACKAGE_TARNAME
23145 PACKAGE_VERSION = $PACKAGE_VERSION
23146 PACKAGE_STRING = $PACKAGE_STRING
23147 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23148 PACKAGE_URL = $PACKAGE_URL
23149 exec_prefix = $exec_prefix
23150 prefix = $prefix
23151 program_transform_name = $program_transform_name
23152 bindir = $bindir
23153 sbindir = $sbindir
23154 libexecdir = $libexecdir
23155 datarootdir = $datarootdir
23156 datadir = $datadir
23157 sysconfdir = $sysconfdir
23158 sharedstatedir = $sharedstatedir
23159 localstatedir = $localstatedir
23160 runstatedir = $runstatedir
23161 includedir = $includedir
23162 oldincludedir = $oldincludedir
23163 docdir = $docdir
23164 infodir = $infodir
23165 htmldir = $htmldir
23166 dvidir = $dvidir
23167 pdfdir = $pdfdir
23168 psdir = $psdir
23169 libdir = $libdir
23170 localedir = $localedir
23171 mandir = $mandir
23172 DEFS = $DEFS
23173 ECHO_C = $ECHO_C
23174 ECHO_N = $ECHO_N
23175 ECHO_T = $ECHO_T
23176 LIBS = $LIBS
23177 build_alias = $build_alias
23178 host_alias = $host_alias
23179 target_alias = $target_alias
23180 system_dllpath = $system_dllpath
23181 build = $build
23182 build_cpu = $build_cpu
23183 build_vendor = $build_vendor
23184 build_os = $build_os
23185 host = $host
23186 host_cpu = $host_cpu
23187 host_vendor = $host_vendor
23188 host_os = $host_os
23189 dlldir = $dlldir
23190 fontdir = $fontdir
23191 nlsdir = $nlsdir
23192 srcdir = $srcdir
23193 SET_MAKE = $SET_MAKE
23194 CC = $CC
23195 CFLAGS = $CFLAGS
23196 LDFLAGS = $LDFLAGS
23197 CPPFLAGS = $CPPFLAGS
23198 ac_ct_CC = $ac_ct_CC
23199 EXEEXT = $EXEEXT
23200 OBJEXT = $OBJEXT
23201 CXX = $CXX
23202 CXXFLAGS = $CXXFLAGS
23203 ac_ct_CXX = $ac_ct_CXX
23204 CPPBIN = $CPPBIN
23205 LD = $LD
23206 TARGETFLAGS = $TARGETFLAGS
23207 toolsext = $toolsext
23208 toolsdir = $toolsdir
23209 MAKEDEP = $MAKEDEP
23210 RUNTESTFLAGS = $RUNTESTFLAGS
23211 SED_CMD = $SED_CMD
23212 FLEX = $FLEX
23213 BISON = $BISON
23214 AR = $AR
23215 ac_ct_AR = $ac_ct_AR
23216 STRIP = $STRIP
23217 RANLIB = $RANLIB
23218 LN_S = $LN_S
23219 GREP = $GREP
23220 EGREP = $EGREP
23221 LDCONFIG = $LDCONFIG
23222 MSGFMT = $MSGFMT
23223 PKG_CONFIG = $PKG_CONFIG
23224 FONTFORGE = $FONTFORGE
23225 RSVG = $RSVG
23226 CONVERT = $CONVERT
23227 ICOTOOL = $ICOTOOL
23228 I386_LIBS = $I386_LIBS
23229 OPENGL_LIBS = $OPENGL_LIBS
23230 DLLFLAGS = $DLLFLAGS
23231 LDDLLFLAGS = $LDDLLFLAGS
23232 LDEXECFLAGS = $LDEXECFLAGS
23233 EXTRACFLAGS = $EXTRACFLAGS
23234 UNIXDLLFLAGS = $UNIXDLLFLAGS
23235 UNIXLDFLAGS = $UNIXLDFLAGS
23236 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23237 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23238 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23239 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23240 LDD = $LDD
23241 OTOOL = $OTOOL
23242 READELF = $READELF
23243 SUBDIRS = $SUBDIRS
23244 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23245 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23246 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23247 DLLTOOL = $DLLTOOL
23248 OBJC = $OBJC
23249 OBJCFLAGS = $OBJCFLAGS
23250 ac_ct_OBJC = $ac_ct_OBJC
23251 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23252 IOKIT_LIBS = $IOKIT_LIBS
23253 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23254 CORESERVICES_LIBS = $CORESERVICES_LIBS
23255 APPKIT_LIBS = $APPKIT_LIBS
23256 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23257 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23258 SECURITY_LIBS = $SECURITY_LIBS
23259 COREAUDIO_LIBS = $COREAUDIO_LIBS
23260 OPENAL_LIBS = $OPENAL_LIBS
23261 OPENCL_LIBS = $OPENCL_LIBS
23262 CARBON_LIBS = $CARBON_LIBS
23263 METAL_LIBS = $METAL_LIBS
23264 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23265 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23266 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23267 PRELINK = $PRELINK
23268 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23269 CROSSTARGET = $CROSSTARGET
23270 CROSSCC = $CROSSCC
23271 CROSSCFLAGS = $CROSSCFLAGS
23272 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23273 CROSSLDFLAGS = $CROSSLDFLAGS
23274 DELAYLOADFLAG = $DELAYLOADFLAG
23275 CROSSDEBUG = $CROSSDEBUG
23276 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23277 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23278 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23279 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23280 GSM_PE_LIBS = $GSM_PE_LIBS
23281 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23282 JPEG_PE_LIBS = $JPEG_PE_LIBS
23283 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23284 JXR_PE_LIBS = $JXR_PE_LIBS
23285 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23286 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23287 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23288 MPG123_PE_LIBS = $MPG123_PE_LIBS
23289 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23290 PNG_PE_LIBS = $PNG_PE_LIBS
23291 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23292 TIFF_PE_LIBS = $TIFF_PE_LIBS
23293 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23294 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23295 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23296 XML2_PE_LIBS = $XML2_PE_LIBS
23297 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23298 XSLT_PE_LIBS = $XSLT_PE_LIBS
23299 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23300 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23301 PTHREAD_LIBS = $PTHREAD_LIBS
23302 XMKMF = $XMKMF
23303 CPP = $CPP
23304 X_CFLAGS = $X_CFLAGS
23305 X_PRE_LIBS = $X_PRE_LIBS
23306 X_LIBS = $X_LIBS
23307 X_EXTRA_LIBS = $X_EXTRA_LIBS
23308 PCAP_LIBS = $PCAP_LIBS
23309 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23310 INOTIFY_LIBS = $INOTIFY_LIBS
23311 DBUS_CFLAGS = $DBUS_CFLAGS
23312 DBUS_LIBS = $DBUS_LIBS
23313 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23314 GNUTLS_LIBS = $GNUTLS_LIBS
23315 SANE_CFLAGS = $SANE_CFLAGS
23316 SANE_LIBS = $SANE_LIBS
23317 USB_CFLAGS = $USB_CFLAGS
23318 USB_LIBS = $USB_LIBS
23319 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23320 GPHOTO2_LIBS = $GPHOTO2_LIBS
23321 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23322 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23323 RESOLV_LIBS = $RESOLV_LIBS
23324 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23325 FREETYPE_LIBS = $FREETYPE_LIBS
23326 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23327 PULSE_CFLAGS = $PULSE_CFLAGS
23328 PULSE_LIBS = $PULSE_LIBS
23329 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23330 GSTREAMER_LIBS = $GSTREAMER_LIBS
23331 ALSA_LIBS = $ALSA_LIBS
23332 OSS4_CFLAGS = $OSS4_CFLAGS
23333 OSS4_LIBS = $OSS4_LIBS
23334 UDEV_CFLAGS = $UDEV_CFLAGS
23335 UDEV_LIBS = $UDEV_LIBS
23336 UNWIND_CFLAGS = $UNWIND_CFLAGS
23337 UNWIND_LIBS = $UNWIND_LIBS
23338 SDL2_CFLAGS = $SDL2_CFLAGS
23339 SDL2_LIBS = $SDL2_LIBS
23340 CAPI20_CFLAGS = $CAPI20_CFLAGS
23341 CAPI20_LIBS = $CAPI20_LIBS
23342 CUPS_CFLAGS = $CUPS_CFLAGS
23343 CUPS_LIBS = $CUPS_LIBS
23344 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23345 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23346 KRB5_CFLAGS = $KRB5_CFLAGS
23347 KRB5_LIBS = $KRB5_LIBS
23348 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23349 GSSAPI_LIBS = $GSSAPI_LIBS
23350 PROCSTAT_LIBS = $PROCSTAT_LIBS
23351 NETAPI_CFLAGS = $NETAPI_CFLAGS
23352 NETAPI_LIBS = $NETAPI_LIBS
23353 MSVCRTFLAGS = $MSVCRTFLAGS
23354 RT_LIBS = $RT_LIBS
23355 LDAP_CFLAGS = $LDAP_CFLAGS
23356 LDAP_LIBS = $LDAP_LIBS
23357 TAGSFLAGS = $TAGSFLAGS
23358 LIBOBJS = $LIBOBJS
23359 LTLIBOBJS = $LTLIBOBJS
23360 $SET_MAKE
23361 $wine_rules
23362 _WINE_EOF
23363 as_fn_error $? "could not create Makefile" "$LINENO" 5
23366 _ACEOF
23368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23370 # Handling of arguments.
23371 for ac_config_target in $ac_config_targets
23373 case $ac_config_target in
23374 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23375 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23376 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23377 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23378 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23379 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23381 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23382 esac
23383 done
23386 # If the user did not use the arguments to specify the items to instantiate,
23387 # then the envvar interface is used. Set only those that are not.
23388 # We use the long form for the default assignment because of an extremely
23389 # bizarre bug on SunOS 4.1.3.
23390 if $ac_need_defaults; then
23391 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23392 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23393 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23396 # Have a temporary directory for convenience. Make it in the build tree
23397 # simply because there is no reason against having it here, and in addition,
23398 # creating and moving files from /tmp can sometimes cause problems.
23399 # Hook for its removal unless debugging.
23400 # Note that there is a small window in which the directory will not be cleaned:
23401 # after its creation but before its name has been assigned to `$tmp'.
23402 $debug ||
23404 tmp= ac_tmp=
23405 trap 'exit_status=$?
23406 : "${ac_tmp:=$tmp}"
23407 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23409 trap 'as_fn_exit 1' 1 2 13 15
23411 # Create a (secure) tmp directory for tmp files.
23414 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23415 test -d "$tmp"
23416 } ||
23418 tmp=./conf$$-$RANDOM
23419 (umask 077 && mkdir "$tmp")
23420 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23421 ac_tmp=$tmp
23423 # Set up the scripts for CONFIG_HEADERS section.
23424 # No need to generate them if there are no CONFIG_HEADERS.
23425 # This happens for instance with `./config.status Makefile'.
23426 if test -n "$CONFIG_HEADERS"; then
23427 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23428 BEGIN {
23429 _ACEOF
23431 # Transform confdefs.h into an awk script `defines.awk', embedded as
23432 # here-document in config.status, that substitutes the proper values into
23433 # config.h.in to produce config.h.
23435 # Create a delimiter string that does not exist in confdefs.h, to ease
23436 # handling of long lines.
23437 ac_delim='%!_!# '
23438 for ac_last_try in false false :; do
23439 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23440 if test -z "$ac_tt"; then
23441 break
23442 elif $ac_last_try; then
23443 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23444 else
23445 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23447 done
23449 # For the awk script, D is an array of macro values keyed by name,
23450 # likewise P contains macro parameters if any. Preserve backslash
23451 # newline sequences.
23453 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23454 sed -n '
23455 s/.\{148\}/&'"$ac_delim"'/g
23456 t rset
23457 :rset
23458 s/^[ ]*#[ ]*define[ ][ ]*/ /
23459 t def
23461 :def
23462 s/\\$//
23463 t bsnl
23464 s/["\\]/\\&/g
23465 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23466 D["\1"]=" \3"/p
23467 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23469 :bsnl
23470 s/["\\]/\\&/g
23471 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23472 D["\1"]=" \3\\\\\\n"\\/p
23473 t cont
23474 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23475 t cont
23477 :cont
23479 s/.\{148\}/&'"$ac_delim"'/g
23480 t clear
23481 :clear
23482 s/\\$//
23483 t bsnlc
23484 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23486 :bsnlc
23487 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23488 b cont
23489 ' <confdefs.h | sed '
23490 s/'"$ac_delim"'/"\\\
23491 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23494 for (key in D) D_is_set[key] = 1
23495 FS = "\a"
23497 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23498 line = \$ 0
23499 split(line, arg, " ")
23500 if (arg[1] == "#") {
23501 defundef = arg[2]
23502 mac1 = arg[3]
23503 } else {
23504 defundef = substr(arg[1], 2)
23505 mac1 = arg[2]
23507 split(mac1, mac2, "(") #)
23508 macro = mac2[1]
23509 prefix = substr(line, 1, index(line, defundef) - 1)
23510 if (D_is_set[macro]) {
23511 # Preserve the white space surrounding the "#".
23512 print prefix "define", macro P[macro] D[macro]
23513 next
23514 } else {
23515 # Replace #undef with comments. This is necessary, for example,
23516 # in the case of _POSIX_SOURCE, which is predefined and required
23517 # on some systems where configure will not decide to define it.
23518 if (defundef == "undef") {
23519 print "/*", prefix defundef, macro, "*/"
23520 next
23524 { print }
23525 _ACAWK
23526 _ACEOF
23527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23528 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23529 fi # test -n "$CONFIG_HEADERS"
23532 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23533 shift
23534 for ac_tag
23536 case $ac_tag in
23537 :[FHLC]) ac_mode=$ac_tag; continue;;
23538 esac
23539 case $ac_mode$ac_tag in
23540 :[FHL]*:*);;
23541 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23542 :[FH]-) ac_tag=-:-;;
23543 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23544 esac
23545 ac_save_IFS=$IFS
23546 IFS=:
23547 set x $ac_tag
23548 IFS=$ac_save_IFS
23549 shift
23550 ac_file=$1
23551 shift
23553 case $ac_mode in
23554 :L) ac_source=$1;;
23555 :[FH])
23556 ac_file_inputs=
23557 for ac_f
23559 case $ac_f in
23560 -) ac_f="$ac_tmp/stdin";;
23561 *) # Look for the file first in the build tree, then in the source tree
23562 # (if the path is not absolute). The absolute path cannot be DOS-style,
23563 # because $ac_f cannot contain `:'.
23564 test -f "$ac_f" ||
23565 case $ac_f in
23566 [\\/$]*) false;;
23567 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23568 esac ||
23569 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23570 esac
23571 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23572 as_fn_append ac_file_inputs " '$ac_f'"
23573 done
23575 # Let's still pretend it is `configure' which instantiates (i.e., don't
23576 # use $as_me), people would be surprised to read:
23577 # /* config.h. Generated by config.status. */
23578 configure_input='Generated from '`
23579 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23580 `' by configure.'
23581 if test x"$ac_file" != x-; then
23582 configure_input="$ac_file. $configure_input"
23583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23584 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23586 # Neutralize special characters interpreted by sed in replacement strings.
23587 case $configure_input in #(
23588 *\&* | *\|* | *\\* )
23589 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23590 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23591 *) ac_sed_conf_input=$configure_input;;
23592 esac
23594 case $ac_tag in
23595 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23596 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23597 esac
23599 esac
23601 ac_dir=`$as_dirname -- "$ac_file" ||
23602 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23603 X"$ac_file" : 'X\(//\)[^/]' \| \
23604 X"$ac_file" : 'X\(//\)$' \| \
23605 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23606 printf "%s\n" X"$ac_file" |
23607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23608 s//\1/
23611 /^X\(\/\/\)[^/].*/{
23612 s//\1/
23615 /^X\(\/\/\)$/{
23616 s//\1/
23619 /^X\(\/\).*/{
23620 s//\1/
23623 s/.*/./; q'`
23624 as_dir="$ac_dir"; as_fn_mkdir_p
23625 ac_builddir=.
23627 case "$ac_dir" in
23628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23630 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23631 # A ".." for each directory in $ac_dir_suffix.
23632 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23633 case $ac_top_builddir_sub in
23634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23636 esac ;;
23637 esac
23638 ac_abs_top_builddir=$ac_pwd
23639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23640 # for backward compatibility:
23641 ac_top_builddir=$ac_top_build_prefix
23643 case $srcdir in
23644 .) # We are building in place.
23645 ac_srcdir=.
23646 ac_top_srcdir=$ac_top_builddir_sub
23647 ac_abs_top_srcdir=$ac_pwd ;;
23648 [\\/]* | ?:[\\/]* ) # Absolute name.
23649 ac_srcdir=$srcdir$ac_dir_suffix;
23650 ac_top_srcdir=$srcdir
23651 ac_abs_top_srcdir=$srcdir ;;
23652 *) # Relative name.
23653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23654 ac_top_srcdir=$ac_top_build_prefix$srcdir
23655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23656 esac
23657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23660 case $ac_mode in
23664 # CONFIG_HEADER
23666 if test x"$ac_file" != x-; then
23668 printf "%s\n" "/* $configure_input */" >&1 \
23669 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23670 } >"$ac_tmp/config.h" \
23671 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23672 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23674 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23675 else
23676 rm -f "$ac_file"
23677 mv "$ac_tmp/config.h" "$ac_file" \
23678 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23680 else
23681 printf "%s\n" "/* $configure_input */" >&1 \
23682 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23683 || as_fn_error $? "could not create -" "$LINENO" 5
23688 # CONFIG_LINK
23691 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23693 else
23694 # Prefer the file from the source tree if names are identical.
23695 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23696 ac_source=$srcdir/$ac_source
23699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23700 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23702 if test ! -r "$ac_source"; then
23703 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23705 rm -f "$ac_file"
23707 # Try a relative symlink, then a hard link, then a copy.
23708 case $ac_source in
23709 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23710 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23711 esac
23712 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23713 ln "$ac_source" "$ac_file" 2>/dev/null ||
23714 cp -p "$ac_source" "$ac_file" ||
23715 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23718 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23719 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23721 esac
23724 case $ac_file$ac_mode in
23725 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23726 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23727 "Makefile":C) wine_fn_output_makefile Makefile ;;
23729 esac
23730 done # for ac_tag
23733 as_fn_exit 0
23734 _ACEOF
23735 ac_clean_files=$ac_clean_files_save
23737 test $ac_write_fail = 0 ||
23738 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23741 # configure is writing to config.log, and then calls config.status.
23742 # config.status does its own redirection, appending to config.log.
23743 # Unfortunately, on DOS this fails, as config.log is still kept open
23744 # by configure, so config.status won't be able to write to it; its
23745 # output is simply discarded. So we exec the FD to /dev/null,
23746 # effectively closing config.log, so it can be properly (re)opened and
23747 # appended to by config.status. When coming back to configure, we
23748 # need to make the FD available again.
23749 if test "$no_create" != yes; then
23750 ac_cs_success=:
23751 ac_config_status_args=
23752 test "$silent" = yes &&
23753 ac_config_status_args="$ac_config_status_args --quiet"
23754 exec 5>/dev/null
23755 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23756 exec 5>>config.log
23757 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23758 # would make configure fail if this is the last instruction.
23759 $ac_cs_success || as_fn_exit 1
23761 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23763 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23767 if test "$no_create" = "yes"
23768 then
23769 exit 0
23772 ac_save_IFS="$IFS"
23773 if test "x$wine_notices" != x; then
23774 echo >&6
23775 IFS="|"
23776 for msg in $wine_notices; do
23777 IFS="$ac_save_IFS"
23778 if ${msg:+false} :
23779 then :
23781 else $as_nop
23782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23783 printf "%s\n" "$as_me: $msg" >&6;}
23785 done
23787 IFS="|"
23788 for msg in $wine_warnings; do
23789 IFS="$ac_save_IFS"
23790 if ${msg:+false} :
23791 then :
23793 else $as_nop
23794 echo >&2
23795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23796 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23798 done
23799 IFS="$ac_save_IFS"
23801 printf "%s\n" "
23802 $as_me: Finished. Do '${ac_make}' to compile Wine.
23803 " >&6