mshtml: Implement StorageEvent and send it when clearing the storage.
[wine.git] / configure
blobc79b3a373cdd22f1192caec3b272de53872a8898
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.17.
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.17'
615 PACKAGE_STRING='Wine 7.17'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 LDAP_LIBS
656 LDAP_CFLAGS
657 RT_LIBS
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCAP_LIBS
704 X_EXTRA_LIBS
705 X_LIBS
706 X_PRE_LIBS
707 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 ZLIB_PE_LIBS
712 ZLIB_PE_CFLAGS
713 XSLT_PE_LIBS
714 XSLT_PE_CFLAGS
715 XML2_PE_LIBS
716 XML2_PE_CFLAGS
717 VKD3D_PE_LIBS
718 VKD3D_PE_CFLAGS
719 TIFF_PE_LIBS
720 TIFF_PE_CFLAGS
721 PNG_PE_LIBS
722 PNG_PE_CFLAGS
723 MPG123_PE_LIBS
724 MPG123_PE_CFLAGS
725 LCMS2_PE_LIBS
726 LCMS2_PE_CFLAGS
727 JXR_PE_LIBS
728 JXR_PE_CFLAGS
729 JPEG_PE_LIBS
730 JPEG_PE_CFLAGS
731 GSM_PE_LIBS
732 GSM_PE_CFLAGS
733 FAUDIO_PE_LIBS
734 FAUDIO_PE_CFLAGS
735 MINGW_PKG_CONFIG
736 EXCESS_PRECISION_CFLAGS
737 CROSSDEBUG
738 DELAYLOADFLAG
739 CROSSLDFLAGS
740 EXTRACROSSCFLAGS
741 CROSSCFLAGS
742 CROSSCC
743 CROSSTARGET
744 LIBWINE_DEPENDS
745 PRELINK
746 WINELOADER_DEPENDS
747 LIBWINE_LDFLAGS
748 LIBWINE_SHAREDLIB
749 METAL_LIBS
750 CARBON_LIBS
751 OPENCL_LIBS
752 OPENAL_LIBS
753 COREAUDIO_LIBS
754 SECURITY_LIBS
755 DISKARBITRATION_LIBS
756 SYSTEMCONFIGURATION_LIBS
757 APPKIT_LIBS
758 CORESERVICES_LIBS
759 APPLICATIONSERVICES_LIBS
760 IOKIT_LIBS
761 COREFOUNDATION_LIBS
762 ac_ct_OBJC
763 OBJCFLAGS
764 OBJC
765 DLLTOOL
766 WINELOADER_PROGRAMS
767 CONFIGURE_TARGETS
768 DISABLED_SUBDIRS
769 SUBDIRS
770 READELF
771 OTOOL
773 WINEPRELOADER_LDFLAGS
774 WINELOADER_LDFLAGS
775 TOP_INSTALL_DEV
776 TOP_INSTALL_LIB
777 UNIXLDFLAGS
778 UNIXDLLFLAGS
779 EXTRACFLAGS
780 LDEXECFLAGS
781 LDDLLFLAGS
782 DLLFLAGS
783 OPENGL_LIBS
784 I386_LIBS
785 ICOTOOL
786 CONVERT
787 RSVG
788 FONTFORGE
789 PKG_CONFIG
790 MSGFMT
791 LDCONFIG
792 EGREP
793 GREP
794 LN_S
795 RANLIB
796 STRIP
797 ac_ct_AR
799 BISON
800 FLEX
801 SED_CMD
802 RUNTESTFLAGS
803 MAKEDEP
804 toolsdir
805 toolsext
806 TARGETFLAGS
808 CPPBIN
809 ac_ct_CXX
810 CXXFLAGS
812 OBJEXT
813 EXEEXT
814 ac_ct_CC
815 CPPFLAGS
816 LDFLAGS
817 CFLAGS
819 SET_MAKE
820 srcdir
821 nlsdir
822 fontdir
823 dlldir
824 host_os
825 host_vendor
826 host_cpu
827 host
828 build_os
829 build_vendor
830 build_cpu
831 build
832 system_dllpath
833 target_alias
834 host_alias
835 build_alias
836 LIBS
837 ECHO_T
838 ECHO_N
839 ECHO_C
840 DEFS
841 mandir
842 localedir
843 libdir
844 psdir
845 pdfdir
846 dvidir
847 htmldir
848 infodir
849 docdir
850 oldincludedir
851 includedir
852 runstatedir
853 localstatedir
854 sharedstatedir
855 sysconfdir
856 datadir
857 datarootdir
858 libexecdir
859 sbindir
860 bindir
861 program_transform_name
862 prefix
863 exec_prefix
864 PACKAGE_URL
865 PACKAGE_BUGREPORT
866 PACKAGE_STRING
867 PACKAGE_VERSION
868 PACKAGE_TARNAME
869 PACKAGE_NAME
870 PATH_SEPARATOR
871 SHELL'
872 ac_subst_files=''
873 ac_user_opts='
874 enable_option_checking
875 enable_win16
876 enable_win64
877 enable_tests
878 enable_build_id
879 enable_maintainer_mode
880 enable_silent_rules
881 enable_werror
882 with_alsa
883 with_capi
884 with_coreaudio
885 with_cups
886 with_dbus
887 with_float_abi
888 with_fontconfig
889 with_freetype
890 with_gettext
891 with_gettextpo
892 with_gphoto
893 with_gnutls
894 with_gssapi
895 with_gstreamer
896 with_inotify
897 with_krb5
898 with_ldap
899 with_mingw
900 with_netapi
901 with_openal
902 with_opencl
903 with_opengl
904 with_osmesa
905 with_oss
906 with_pcap
907 with_pthread
908 with_pulse
909 with_sane
910 with_sdl
911 with_udev
912 with_unwind
913 with_usb
914 with_v4l2
915 with_vulkan
916 with_xcomposite
917 with_xcursor
918 with_xfixes
919 with_xinerama
920 with_xinput
921 with_xinput2
922 with_xrandr
923 with_xrender
924 with_xshape
925 with_xshm
926 with_xxf86vm
927 with_system_dllpath
928 with_wine_tools
929 with_wine64
930 enable_largefile
931 with_x
932 enable_acledit
933 enable_aclui
934 enable_activeds_tlb
935 enable_activeds
936 enable_actxprxy
937 enable_adsldp
938 enable_adsldpc
939 enable_advapi32
940 enable_advpack
941 enable_amsi
942 enable_amstream
943 enable_apisetschema
944 enable_apphelp
945 enable_appwiz_cpl
946 enable_atl
947 enable_atl100
948 enable_atl110
949 enable_atl80
950 enable_atl90
951 enable_atlthunk
952 enable_atmlib
953 enable_authz
954 enable_avicap32
955 enable_avifil32
956 enable_avrt
957 enable_bcrypt
958 enable_bluetoothapis
959 enable_browseui
960 enable_bthprops_cpl
961 enable_cabinet
962 enable_capi2032
963 enable_cards
964 enable_cdosys
965 enable_cfgmgr32
966 enable_clusapi
967 enable_cng_sys
968 enable_combase
969 enable_comcat
970 enable_comctl32
971 enable_comdlg32
972 enable_compstui
973 enable_comsvcs
974 enable_concrt140
975 enable_connect
976 enable_credui
977 enable_crtdll
978 enable_crypt32
979 enable_cryptdlg
980 enable_cryptdll
981 enable_cryptext
982 enable_cryptnet
983 enable_cryptsp
984 enable_cryptui
985 enable_ctapi32
986 enable_ctl3d32
987 enable_d2d1
988 enable_d3d10
989 enable_d3d10_1
990 enable_d3d10core
991 enable_d3d11
992 enable_d3d12
993 enable_d3d8
994 enable_d3d8thk
995 enable_d3d9
996 enable_d3dcompiler_33
997 enable_d3dcompiler_34
998 enable_d3dcompiler_35
999 enable_d3dcompiler_36
1000 enable_d3dcompiler_37
1001 enable_d3dcompiler_38
1002 enable_d3dcompiler_39
1003 enable_d3dcompiler_40
1004 enable_d3dcompiler_41
1005 enable_d3dcompiler_42
1006 enable_d3dcompiler_43
1007 enable_d3dcompiler_46
1008 enable_d3dcompiler_47
1009 enable_d3dim
1010 enable_d3dim700
1011 enable_d3drm
1012 enable_d3dx10_33
1013 enable_d3dx10_34
1014 enable_d3dx10_35
1015 enable_d3dx10_36
1016 enable_d3dx10_37
1017 enable_d3dx10_38
1018 enable_d3dx10_39
1019 enable_d3dx10_40
1020 enable_d3dx10_41
1021 enable_d3dx10_42
1022 enable_d3dx10_43
1023 enable_d3dx11_42
1024 enable_d3dx11_43
1025 enable_d3dx9_24
1026 enable_d3dx9_25
1027 enable_d3dx9_26
1028 enable_d3dx9_27
1029 enable_d3dx9_28
1030 enable_d3dx9_29
1031 enable_d3dx9_30
1032 enable_d3dx9_31
1033 enable_d3dx9_32
1034 enable_d3dx9_33
1035 enable_d3dx9_34
1036 enable_d3dx9_35
1037 enable_d3dx9_36
1038 enable_d3dx9_37
1039 enable_d3dx9_38
1040 enable_d3dx9_39
1041 enable_d3dx9_40
1042 enable_d3dx9_41
1043 enable_d3dx9_42
1044 enable_d3dx9_43
1045 enable_d3dxof
1046 enable_davclnt
1047 enable_dbgeng
1048 enable_dbghelp
1049 enable_dciman32
1050 enable_dcomp
1051 enable_ddraw
1052 enable_ddrawex
1053 enable_devenum
1054 enable_dhcpcsvc
1055 enable_dhcpcsvc6
1056 enable_dhtmled_ocx
1057 enable_diasymreader
1058 enable_difxapi
1059 enable_dinput
1060 enable_dinput8
1061 enable_directmanipulation
1062 enable_dispex
1063 enable_dmband
1064 enable_dmcompos
1065 enable_dmime
1066 enable_dmloader
1067 enable_dmscript
1068 enable_dmstyle
1069 enable_dmsynth
1070 enable_dmusic
1071 enable_dmusic32
1072 enable_dnsapi
1073 enable_dplay
1074 enable_dplayx
1075 enable_dpnaddr
1076 enable_dpnet
1077 enable_dpnhpast
1078 enable_dpnhupnp
1079 enable_dpnlobby
1080 enable_dpvoice
1081 enable_dpwsockx
1082 enable_drmclien
1083 enable_dsdmo
1084 enable_dsound
1085 enable_dsquery
1086 enable_dssenh
1087 enable_dsuiext
1088 enable_dswave
1089 enable_dwmapi
1090 enable_dwrite
1091 enable_dx8vb
1092 enable_dxdiagn
1093 enable_dxgi
1094 enable_dxtrans
1095 enable_dxva2
1096 enable_esent
1097 enable_evr
1098 enable_explorerframe
1099 enable_faultrep
1100 enable_feclient
1101 enable_fltlib
1102 enable_fltmgr_sys
1103 enable_fntcache
1104 enable_fontsub
1105 enable_fusion
1106 enable_fwpuclnt
1107 enable_gameux
1108 enable_gamingtcui
1109 enable_gdi32
1110 enable_gdiplus
1111 enable_glu32
1112 enable_gphoto2_ds
1113 enable_gpkcsp
1114 enable_hal
1115 enable_hhctrl_ocx
1116 enable_hid
1117 enable_hidclass_sys
1118 enable_hidparse_sys
1119 enable_hlink
1120 enable_hnetcfg
1121 enable_http_sys
1122 enable_httpapi
1123 enable_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_traffic
1376 enable_twain_32
1377 enable_tzres
1378 enable_ucrtbase
1379 enable_uianimation
1380 enable_uiautomationcore
1381 enable_uiribbon
1382 enable_unicows
1383 enable_updspapi
1384 enable_url
1385 enable_urlmon
1386 enable_usbd_sys
1387 enable_user32
1388 enable_userenv
1389 enable_usp10
1390 enable_utildll
1391 enable_uxtheme
1392 enable_vbscript
1393 enable_vcomp
1394 enable_vcomp100
1395 enable_vcomp110
1396 enable_vcomp120
1397 enable_vcomp140
1398 enable_vcomp90
1399 enable_vcruntime140
1400 enable_vcruntime140_1
1401 enable_vdmdbg
1402 enable_version
1403 enable_vga
1404 enable_virtdisk
1405 enable_vssapi
1406 enable_vulkan_1
1407 enable_wbemdisp
1408 enable_wbemprox
1409 enable_wdscore
1410 enable_webservices
1411 enable_websocket
1412 enable_wer
1413 enable_wevtapi
1414 enable_wevtsvc
1415 enable_wiaservc
1416 enable_wimgapi
1417 enable_win32u
1418 enable_windows_devices_enumeration
1419 enable_windows_gaming_input
1420 enable_windows_globalization
1421 enable_windows_media_devices
1422 enable_windows_media_speech
1423 enable_windows_networking
1424 enable_windowscodecs
1425 enable_windowscodecsext
1426 enable_winealsa_drv
1427 enable_wineandroid_drv
1428 enable_winebus_sys
1429 enable_winecoreaudio_drv
1430 enable_winecrt0
1431 enable_wined3d
1432 enable_winegstreamer
1433 enable_winehid_sys
1434 enable_winemac_drv
1435 enable_winemapi
1436 enable_wineoss_drv
1437 enable_wineps_drv
1438 enable_winepulse_drv
1439 enable_wineusb_sys
1440 enable_winevulkan
1441 enable_winex11_drv
1442 enable_winexinput_sys
1443 enable_wing32
1444 enable_winhttp
1445 enable_wininet
1446 enable_winmm
1447 enable_winnls32
1448 enable_winscard
1449 enable_winspool_drv
1450 enable_winsta
1451 enable_wintab32
1452 enable_wintrust
1453 enable_wintypes
1454 enable_winusb
1455 enable_wlanapi
1456 enable_wlanui
1457 enable_wldap32
1458 enable_wmasf
1459 enable_wmi
1460 enable_wmiutils
1461 enable_wmp
1462 enable_wmphoto
1463 enable_wmvcore
1464 enable_wnaspi32
1465 enable_wow64
1466 enable_wow64cpu
1467 enable_wow64win
1468 enable_wpc
1469 enable_wpcap
1470 enable_ws2_32
1471 enable_wsdapi
1472 enable_wshom_ocx
1473 enable_wsnmp32
1474 enable_wsock32
1475 enable_wtsapi32
1476 enable_wuapi
1477 enable_wuaueng
1478 enable_x3daudio1_0
1479 enable_x3daudio1_1
1480 enable_x3daudio1_2
1481 enable_x3daudio1_3
1482 enable_x3daudio1_4
1483 enable_x3daudio1_5
1484 enable_x3daudio1_6
1485 enable_x3daudio1_7
1486 enable_xactengine2_0
1487 enable_xactengine2_4
1488 enable_xactengine2_7
1489 enable_xactengine2_9
1490 enable_xactengine3_0
1491 enable_xactengine3_1
1492 enable_xactengine3_2
1493 enable_xactengine3_3
1494 enable_xactengine3_4
1495 enable_xactengine3_5
1496 enable_xactengine3_6
1497 enable_xactengine3_7
1498 enable_xapofx1_1
1499 enable_xapofx1_2
1500 enable_xapofx1_3
1501 enable_xapofx1_4
1502 enable_xapofx1_5
1503 enable_xaudio2_0
1504 enable_xaudio2_1
1505 enable_xaudio2_2
1506 enable_xaudio2_3
1507 enable_xaudio2_4
1508 enable_xaudio2_5
1509 enable_xaudio2_6
1510 enable_xaudio2_7
1511 enable_xaudio2_8
1512 enable_xaudio2_9
1513 enable_xinput1_1
1514 enable_xinput1_2
1515 enable_xinput1_3
1516 enable_xinput1_4
1517 enable_xinput9_1_0
1518 enable_xmllite
1519 enable_xolehlp
1520 enable_xpsprint
1521 enable_xpssvcs
1522 enable_fonts
1523 enable_include
1524 enable_adsiid
1525 enable_dmoguids
1526 enable_dxerr8
1527 enable_dxerr9
1528 enable_dxguid
1529 enable_faudio
1530 enable_gsm
1531 enable_jpeg
1532 enable_jxr
1533 enable_lcms2
1534 enable_mfuuid
1535 enable_mpg123
1536 enable_png
1537 enable_strmbase
1538 enable_strmiids
1539 enable_tiff
1540 enable_uuid
1541 enable_vkd3d
1542 enable_wbemuuid
1543 enable_wine
1544 enable_wmcodecdspuuid
1545 enable_xml2
1546 enable_xslt
1547 enable_zlib
1548 enable_loader
1549 enable_nls
1550 enable_po
1551 enable_arp
1552 enable_aspnet_regiis
1553 enable_attrib
1554 enable_cabarc
1555 enable_cacls
1556 enable_chcp_com
1557 enable_clock
1558 enable_cmd
1559 enable_conhost
1560 enable_control
1561 enable_cscript
1562 enable_dism
1563 enable_dllhost
1564 enable_dplaysvr
1565 enable_dpnsvr
1566 enable_dpvsetup
1567 enable_dxdiag
1568 enable_eject
1569 enable_expand
1570 enable_explorer
1571 enable_extrac32
1572 enable_fc
1573 enable_find
1574 enable_findstr
1575 enable_fsutil
1576 enable_hh
1577 enable_hostname
1578 enable_icacls
1579 enable_icinfo
1580 enable_iexplore
1581 enable_ipconfig
1582 enable_lodctr
1583 enable_mofcomp
1584 enable_mshta
1585 enable_msidb
1586 enable_msiexec
1587 enable_msinfo32
1588 enable_net
1589 enable_netsh
1590 enable_netstat
1591 enable_ngen
1592 enable_notepad
1593 enable_oleview
1594 enable_ping
1595 enable_plugplay
1596 enable_powershell
1597 enable_presentationfontcache
1598 enable_progman
1599 enable_reg
1600 enable_regasm
1601 enable_regedit
1602 enable_regini
1603 enable_regsvcs
1604 enable_regsvr32
1605 enable_robocopy
1606 enable_rpcss
1607 enable_rundll32
1608 enable_sc
1609 enable_schtasks
1610 enable_sdbinst
1611 enable_secedit
1612 enable_servicemodelreg
1613 enable_services
1614 enable_shutdown
1615 enable_spoolsv
1616 enable_start
1617 enable_subst
1618 enable_svchost
1619 enable_systeminfo
1620 enable_taskkill
1621 enable_tasklist
1622 enable_taskmgr
1623 enable_termsv
1624 enable_uninstaller
1625 enable_unlodctr
1626 enable_view
1627 enable_wevtutil
1628 enable_where
1629 enable_whoami
1630 enable_wineboot
1631 enable_winebrowser
1632 enable_winecfg
1633 enable_wineconsole
1634 enable_winedbg
1635 enable_winedevice
1636 enable_winefile
1637 enable_winemenubuilder
1638 enable_winemine
1639 enable_winemsibuilder
1640 enable_winepath
1641 enable_winetest
1642 enable_winhlp32
1643 enable_winmgmt
1644 enable_winver
1645 enable_wmic
1646 enable_wmplayer
1647 enable_wordpad
1648 enable_write
1649 enable_wscript
1650 enable_wuauserv
1651 enable_wusa
1652 enable_xcopy
1653 enable_server
1654 enable_tools
1655 enable_sfnt2fon
1656 enable_widl
1657 enable_winebuild
1658 enable_winedump
1659 enable_winegcc
1660 enable_winemaker
1661 enable_wmc
1662 enable_wrc
1664 ac_precious_vars='build_alias
1665 host_alias
1666 target_alias
1668 CFLAGS
1669 LDFLAGS
1670 LIBS
1671 CPPFLAGS
1673 CXXFLAGS
1675 OBJC
1676 OBJCFLAGS
1677 FAUDIO_PE_CFLAGS
1678 FAUDIO_PE_LIBS
1679 GSM_PE_CFLAGS
1680 GSM_PE_LIBS
1681 JPEG_PE_CFLAGS
1682 JPEG_PE_LIBS
1683 JXR_PE_CFLAGS
1684 JXR_PE_LIBS
1685 LCMS2_PE_CFLAGS
1686 LCMS2_PE_LIBS
1687 MPG123_PE_CFLAGS
1688 MPG123_PE_LIBS
1689 PNG_PE_CFLAGS
1690 PNG_PE_LIBS
1691 TIFF_PE_CFLAGS
1692 TIFF_PE_LIBS
1693 VKD3D_PE_CFLAGS
1694 VKD3D_PE_LIBS
1695 XML2_PE_CFLAGS
1696 XML2_PE_LIBS
1697 XSLT_PE_CFLAGS
1698 XSLT_PE_LIBS
1699 ZLIB_PE_CFLAGS
1700 ZLIB_PE_LIBS
1701 XMKMF
1703 INOTIFY_CFLAGS
1704 INOTIFY_LIBS
1705 DBUS_CFLAGS
1706 DBUS_LIBS
1707 GNUTLS_CFLAGS
1708 GNUTLS_LIBS
1709 SANE_CFLAGS
1710 SANE_LIBS
1711 USB_CFLAGS
1712 USB_LIBS
1713 GPHOTO2_CFLAGS
1714 GPHOTO2_LIBS
1715 GPHOTO2_PORT_CFLAGS
1716 GPHOTO2_PORT_LIBS
1717 FREETYPE_CFLAGS
1718 FREETYPE_LIBS
1719 PULSE_CFLAGS
1720 PULSE_LIBS
1721 GSTREAMER_CFLAGS
1722 GSTREAMER_LIBS
1723 UDEV_CFLAGS
1724 UDEV_LIBS
1725 UNWIND_CFLAGS
1726 UNWIND_LIBS
1727 SDL2_CFLAGS
1728 SDL2_LIBS
1729 CAPI20_CFLAGS
1730 CAPI20_LIBS
1731 CUPS_CFLAGS
1732 CUPS_LIBS
1733 FONTCONFIG_CFLAGS
1734 FONTCONFIG_LIBS
1735 KRB5_CFLAGS
1736 KRB5_LIBS
1737 GSSAPI_CFLAGS
1738 GSSAPI_LIBS
1739 NETAPI_CFLAGS
1740 NETAPI_LIBS
1741 LDAP_CFLAGS
1742 LDAP_LIBS'
1745 # Initialize some variables set by options.
1746 ac_init_help=
1747 ac_init_version=false
1748 ac_unrecognized_opts=
1749 ac_unrecognized_sep=
1750 # The variables have the same names as the options, with
1751 # dashes changed to underlines.
1752 cache_file=/dev/null
1753 exec_prefix=NONE
1754 no_create=
1755 no_recursion=
1756 prefix=NONE
1757 program_prefix=NONE
1758 program_suffix=NONE
1759 program_transform_name=s,x,x,
1760 silent=
1761 site=
1762 srcdir=
1763 verbose=
1764 x_includes=NONE
1765 x_libraries=NONE
1767 # Installation directory options.
1768 # These are left unexpanded so users can "make install exec_prefix=/foo"
1769 # and all the variables that are supposed to be based on exec_prefix
1770 # by default will actually change.
1771 # Use braces instead of parens because sh, perl, etc. also accept them.
1772 # (The list follows the same order as the GNU Coding Standards.)
1773 bindir='${exec_prefix}/bin'
1774 sbindir='${exec_prefix}/sbin'
1775 libexecdir='${exec_prefix}/libexec'
1776 datarootdir='${prefix}/share'
1777 datadir='${datarootdir}'
1778 sysconfdir='${prefix}/etc'
1779 sharedstatedir='${prefix}/com'
1780 localstatedir='${prefix}/var'
1781 runstatedir='${localstatedir}/run'
1782 includedir='${prefix}/include'
1783 oldincludedir='/usr/include'
1784 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1785 infodir='${datarootdir}/info'
1786 htmldir='${docdir}'
1787 dvidir='${docdir}'
1788 pdfdir='${docdir}'
1789 psdir='${docdir}'
1790 libdir='${exec_prefix}/lib'
1791 localedir='${datarootdir}/locale'
1792 mandir='${datarootdir}/man'
1794 ac_prev=
1795 ac_dashdash=
1796 for ac_option
1798 # If the previous option needs an argument, assign it.
1799 if test -n "$ac_prev"; then
1800 eval $ac_prev=\$ac_option
1801 ac_prev=
1802 continue
1805 case $ac_option in
1806 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1807 *=) ac_optarg= ;;
1808 *) ac_optarg=yes ;;
1809 esac
1811 case $ac_dashdash$ac_option in
1813 ac_dashdash=yes ;;
1815 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1816 ac_prev=bindir ;;
1817 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1818 bindir=$ac_optarg ;;
1820 -build | --build | --buil | --bui | --bu)
1821 ac_prev=build_alias ;;
1822 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1823 build_alias=$ac_optarg ;;
1825 -cache-file | --cache-file | --cache-fil | --cache-fi \
1826 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1827 ac_prev=cache_file ;;
1828 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1829 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1830 cache_file=$ac_optarg ;;
1832 --config-cache | -C)
1833 cache_file=config.cache ;;
1835 -datadir | --datadir | --datadi | --datad)
1836 ac_prev=datadir ;;
1837 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1838 datadir=$ac_optarg ;;
1840 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1841 | --dataroo | --dataro | --datar)
1842 ac_prev=datarootdir ;;
1843 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1844 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1845 datarootdir=$ac_optarg ;;
1847 -disable-* | --disable-*)
1848 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1849 # Reject names that are not valid shell variable names.
1850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1851 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1852 ac_useropt_orig=$ac_useropt
1853 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1854 case $ac_user_opts in
1856 "enable_$ac_useropt"
1857 "*) ;;
1858 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1859 ac_unrecognized_sep=', ';;
1860 esac
1861 eval enable_$ac_useropt=no ;;
1863 -docdir | --docdir | --docdi | --doc | --do)
1864 ac_prev=docdir ;;
1865 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1866 docdir=$ac_optarg ;;
1868 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1869 ac_prev=dvidir ;;
1870 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1871 dvidir=$ac_optarg ;;
1873 -enable-* | --enable-*)
1874 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1875 # Reject names that are not valid shell variable names.
1876 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1877 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1878 ac_useropt_orig=$ac_useropt
1879 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1880 case $ac_user_opts in
1882 "enable_$ac_useropt"
1883 "*) ;;
1884 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1885 ac_unrecognized_sep=', ';;
1886 esac
1887 eval enable_$ac_useropt=\$ac_optarg ;;
1889 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1890 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1891 | --exec | --exe | --ex)
1892 ac_prev=exec_prefix ;;
1893 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1894 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1895 | --exec=* | --exe=* | --ex=*)
1896 exec_prefix=$ac_optarg ;;
1898 -gas | --gas | --ga | --g)
1899 # Obsolete; use --with-gas.
1900 with_gas=yes ;;
1902 -help | --help | --hel | --he | -h)
1903 ac_init_help=long ;;
1904 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1905 ac_init_help=recursive ;;
1906 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1907 ac_init_help=short ;;
1909 -host | --host | --hos | --ho)
1910 ac_prev=host_alias ;;
1911 -host=* | --host=* | --hos=* | --ho=*)
1912 host_alias=$ac_optarg ;;
1914 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1915 ac_prev=htmldir ;;
1916 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1917 | --ht=*)
1918 htmldir=$ac_optarg ;;
1920 -includedir | --includedir | --includedi | --included | --include \
1921 | --includ | --inclu | --incl | --inc)
1922 ac_prev=includedir ;;
1923 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1924 | --includ=* | --inclu=* | --incl=* | --inc=*)
1925 includedir=$ac_optarg ;;
1927 -infodir | --infodir | --infodi | --infod | --info | --inf)
1928 ac_prev=infodir ;;
1929 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1930 infodir=$ac_optarg ;;
1932 -libdir | --libdir | --libdi | --libd)
1933 ac_prev=libdir ;;
1934 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1935 libdir=$ac_optarg ;;
1937 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1938 | --libexe | --libex | --libe)
1939 ac_prev=libexecdir ;;
1940 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1941 | --libexe=* | --libex=* | --libe=*)
1942 libexecdir=$ac_optarg ;;
1944 -localedir | --localedir | --localedi | --localed | --locale)
1945 ac_prev=localedir ;;
1946 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1947 localedir=$ac_optarg ;;
1949 -localstatedir | --localstatedir | --localstatedi | --localstated \
1950 | --localstate | --localstat | --localsta | --localst | --locals)
1951 ac_prev=localstatedir ;;
1952 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1953 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1954 localstatedir=$ac_optarg ;;
1956 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1957 ac_prev=mandir ;;
1958 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1959 mandir=$ac_optarg ;;
1961 -nfp | --nfp | --nf)
1962 # Obsolete; use --without-fp.
1963 with_fp=no ;;
1965 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1966 | --no-cr | --no-c | -n)
1967 no_create=yes ;;
1969 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1970 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1971 no_recursion=yes ;;
1973 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1974 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1975 | --oldin | --oldi | --old | --ol | --o)
1976 ac_prev=oldincludedir ;;
1977 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1978 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1979 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1980 oldincludedir=$ac_optarg ;;
1982 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1983 ac_prev=prefix ;;
1984 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1985 prefix=$ac_optarg ;;
1987 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1988 | --program-pre | --program-pr | --program-p)
1989 ac_prev=program_prefix ;;
1990 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1991 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1992 program_prefix=$ac_optarg ;;
1994 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1995 | --program-suf | --program-su | --program-s)
1996 ac_prev=program_suffix ;;
1997 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1998 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1999 program_suffix=$ac_optarg ;;
2001 -program-transform-name | --program-transform-name \
2002 | --program-transform-nam | --program-transform-na \
2003 | --program-transform-n | --program-transform- \
2004 | --program-transform | --program-transfor \
2005 | --program-transfo | --program-transf \
2006 | --program-trans | --program-tran \
2007 | --progr-tra | --program-tr | --program-t)
2008 ac_prev=program_transform_name ;;
2009 -program-transform-name=* | --program-transform-name=* \
2010 | --program-transform-nam=* | --program-transform-na=* \
2011 | --program-transform-n=* | --program-transform-=* \
2012 | --program-transform=* | --program-transfor=* \
2013 | --program-transfo=* | --program-transf=* \
2014 | --program-trans=* | --program-tran=* \
2015 | --progr-tra=* | --program-tr=* | --program-t=*)
2016 program_transform_name=$ac_optarg ;;
2018 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2019 ac_prev=pdfdir ;;
2020 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2021 pdfdir=$ac_optarg ;;
2023 -psdir | --psdir | --psdi | --psd | --ps)
2024 ac_prev=psdir ;;
2025 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2026 psdir=$ac_optarg ;;
2028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2029 | -silent | --silent | --silen | --sile | --sil)
2030 silent=yes ;;
2032 -runstatedir | --runstatedir | --runstatedi | --runstated \
2033 | --runstate | --runstat | --runsta | --runst | --runs \
2034 | --run | --ru | --r)
2035 ac_prev=runstatedir ;;
2036 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2037 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2038 | --run=* | --ru=* | --r=*)
2039 runstatedir=$ac_optarg ;;
2041 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2042 ac_prev=sbindir ;;
2043 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2044 | --sbi=* | --sb=*)
2045 sbindir=$ac_optarg ;;
2047 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2048 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2049 | --sharedst | --shareds | --shared | --share | --shar \
2050 | --sha | --sh)
2051 ac_prev=sharedstatedir ;;
2052 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2053 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2054 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2055 | --sha=* | --sh=*)
2056 sharedstatedir=$ac_optarg ;;
2058 -site | --site | --sit)
2059 ac_prev=site ;;
2060 -site=* | --site=* | --sit=*)
2061 site=$ac_optarg ;;
2063 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2064 ac_prev=srcdir ;;
2065 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2066 srcdir=$ac_optarg ;;
2068 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2069 | --syscon | --sysco | --sysc | --sys | --sy)
2070 ac_prev=sysconfdir ;;
2071 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2072 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2073 sysconfdir=$ac_optarg ;;
2075 -target | --target | --targe | --targ | --tar | --ta | --t)
2076 ac_prev=target_alias ;;
2077 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2078 target_alias=$ac_optarg ;;
2080 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2081 verbose=yes ;;
2083 -version | --version | --versio | --versi | --vers | -V)
2084 ac_init_version=: ;;
2086 -with-* | --with-*)
2087 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2088 # Reject names that are not valid shell variable names.
2089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2090 as_fn_error $? "invalid package name: \`$ac_useropt'"
2091 ac_useropt_orig=$ac_useropt
2092 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2093 case $ac_user_opts in
2095 "with_$ac_useropt"
2096 "*) ;;
2097 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2098 ac_unrecognized_sep=', ';;
2099 esac
2100 eval with_$ac_useropt=\$ac_optarg ;;
2102 -without-* | --without-*)
2103 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2104 # Reject names that are not valid shell variable names.
2105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2106 as_fn_error $? "invalid package name: \`$ac_useropt'"
2107 ac_useropt_orig=$ac_useropt
2108 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2109 case $ac_user_opts in
2111 "with_$ac_useropt"
2112 "*) ;;
2113 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2114 ac_unrecognized_sep=', ';;
2115 esac
2116 eval with_$ac_useropt=no ;;
2118 --x)
2119 # Obsolete; use --with-x.
2120 with_x=yes ;;
2122 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2123 | --x-incl | --x-inc | --x-in | --x-i)
2124 ac_prev=x_includes ;;
2125 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2126 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2127 x_includes=$ac_optarg ;;
2129 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2130 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2131 ac_prev=x_libraries ;;
2132 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2133 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2134 x_libraries=$ac_optarg ;;
2136 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2137 Try \`$0 --help' for more information"
2140 *=*)
2141 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2142 # Reject names that are not valid shell variable names.
2143 case $ac_envvar in #(
2144 '' | [0-9]* | *[!_$as_cr_alnum]* )
2145 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2146 esac
2147 eval $ac_envvar=\$ac_optarg
2148 export $ac_envvar ;;
2151 # FIXME: should be removed in autoconf 3.0.
2152 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2153 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2154 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2155 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2158 esac
2159 done
2161 if test -n "$ac_prev"; then
2162 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2163 as_fn_error $? "missing argument to $ac_option"
2166 if test -n "$ac_unrecognized_opts"; then
2167 case $enable_option_checking in
2168 no) ;;
2169 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2170 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2171 esac
2174 # Check all directory arguments for consistency.
2175 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2176 datadir sysconfdir sharedstatedir localstatedir includedir \
2177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2178 libdir localedir mandir runstatedir
2180 eval ac_val=\$$ac_var
2181 # Remove trailing slashes.
2182 case $ac_val in
2183 */ )
2184 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2185 eval $ac_var=\$ac_val;;
2186 esac
2187 # Be sure to have absolute directory names.
2188 case $ac_val in
2189 [\\/$]* | ?:[\\/]* ) continue;;
2190 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2191 esac
2192 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2193 done
2195 # There might be people who depend on the old broken behavior: `$host'
2196 # used to hold the argument of --host etc.
2197 # FIXME: To remove some day.
2198 build=$build_alias
2199 host=$host_alias
2200 target=$target_alias
2202 # FIXME: To remove some day.
2203 if test "x$host_alias" != x; then
2204 if test "x$build_alias" = x; then
2205 cross_compiling=maybe
2206 elif test "x$build_alias" != "x$host_alias"; then
2207 cross_compiling=yes
2211 ac_tool_prefix=
2212 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2214 test "$silent" = yes && exec 6>/dev/null
2217 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2218 ac_ls_di=`ls -di .` &&
2219 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2220 as_fn_error $? "working directory cannot be determined"
2221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2222 as_fn_error $? "pwd does not report name of working directory"
2225 # Find the source files, if location was not specified.
2226 if test -z "$srcdir"; then
2227 ac_srcdir_defaulted=yes
2228 # Try the directory containing this script, then the parent directory.
2229 ac_confdir=`$as_dirname -- "$as_myself" ||
2230 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2231 X"$as_myself" : 'X\(//\)[^/]' \| \
2232 X"$as_myself" : 'X\(//\)$' \| \
2233 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2234 printf "%s\n" X"$as_myself" |
2235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2236 s//\1/
2239 /^X\(\/\/\)[^/].*/{
2240 s//\1/
2243 /^X\(\/\/\)$/{
2244 s//\1/
2247 /^X\(\/\).*/{
2248 s//\1/
2251 s/.*/./; q'`
2252 srcdir=$ac_confdir
2253 if test ! -r "$srcdir/$ac_unique_file"; then
2254 srcdir=..
2256 else
2257 ac_srcdir_defaulted=no
2259 if test ! -r "$srcdir/$ac_unique_file"; then
2260 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2261 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2264 ac_abs_confdir=`(
2265 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2266 pwd)`
2267 # When building in place, set srcdir=.
2268 if test "$ac_abs_confdir" = "$ac_pwd"; then
2269 srcdir=.
2271 # Remove unnecessary trailing slashes from srcdir.
2272 # Double slashes in file names in object file debugging info
2273 # mess up M-x gdb in Emacs.
2274 case $srcdir in
2275 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2276 esac
2277 for ac_var in $ac_precious_vars; do
2278 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2279 eval ac_env_${ac_var}_value=\$${ac_var}
2280 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2281 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2282 done
2285 # Report the --help message.
2287 if test "$ac_init_help" = "long"; then
2288 # Omit some internal or obsolete options to make the list less imposing.
2289 # This message is too long to be a string in the A/UX 3.1 sh.
2290 cat <<_ACEOF
2291 \`configure' configures Wine 7.17 to adapt to many kinds of systems.
2293 Usage: $0 [OPTION]... [VAR=VALUE]...
2295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2296 VAR=VALUE. See below for descriptions of some of the useful variables.
2298 Defaults for the options are specified in brackets.
2300 Configuration:
2301 -h, --help display this help and exit
2302 --help=short display options specific to this package
2303 --help=recursive display the short help of all the included packages
2304 -V, --version display version information and exit
2305 -q, --quiet, --silent do not print \`checking ...' messages
2306 --cache-file=FILE cache test results in FILE [disabled]
2307 -C, --config-cache alias for \`--cache-file=config.cache'
2308 -n, --no-create do not create output files
2309 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2311 Installation directories:
2312 --prefix=PREFIX install architecture-independent files in PREFIX
2313 [$ac_default_prefix]
2314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2315 [PREFIX]
2317 By default, \`make install' will install all the files in
2318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2320 for instance \`--prefix=\$HOME'.
2322 For better control, use the options below.
2324 Fine tuning of the installation directories:
2325 --bindir=DIR user executables [EPREFIX/bin]
2326 --sbindir=DIR system admin executables [EPREFIX/sbin]
2327 --libexecdir=DIR program executables [EPREFIX/libexec]
2328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2330 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2331 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2332 --libdir=DIR object code libraries [EPREFIX/lib]
2333 --includedir=DIR C header files [PREFIX/include]
2334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2337 --infodir=DIR info documentation [DATAROOTDIR/info]
2338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2339 --mandir=DIR man documentation [DATAROOTDIR/man]
2340 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2341 --htmldir=DIR html documentation [DOCDIR]
2342 --dvidir=DIR dvi documentation [DOCDIR]
2343 --pdfdir=DIR pdf documentation [DOCDIR]
2344 --psdir=DIR ps documentation [DOCDIR]
2345 _ACEOF
2347 cat <<\_ACEOF
2349 X features:
2350 --x-includes=DIR X include files are in DIR
2351 --x-libraries=DIR X library files are in DIR
2353 System types:
2354 --build=BUILD configure for building on BUILD [guessed]
2355 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2356 _ACEOF
2359 if test -n "$ac_init_help"; then
2360 case $ac_init_help in
2361 short | recursive ) echo "Configuration of Wine 7.17:";;
2362 esac
2363 cat <<\_ACEOF
2365 Optional Features:
2366 --disable-option-checking ignore unrecognized --enable/--with options
2367 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2368 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2369 --disable-win16 do not include Win16 support
2370 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2371 binaries)
2372 --disable-tests do not build the regression tests
2373 --enable-build-id include .buildid section in output objects
2374 --enable-maintainer-mode
2375 enable maintainer-specific build rules
2376 --enable-silent-rules use silent build rules (override: "make V=1")
2377 --enable-werror treat compilation warnings as errors
2378 --disable-largefile omit support for large files
2380 Optional Packages:
2381 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2382 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2383 --without-alsa do not use the Alsa sound support
2384 --without-capi do not use CAPI (ISDN support)
2385 --without-coreaudio do not use the CoreAudio sound support
2386 --without-cups do not use CUPS
2387 --without-dbus do not use DBus (dynamic device support)
2388 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2389 --without-fontconfig do not use fontconfig
2390 --without-freetype do not use the FreeType library
2391 --without-gettext do not use gettext
2392 --with-gettextpo use the GetTextPO library to rebuild po files
2393 --without-gphoto do not use gphoto (Digital Camera support)
2394 --without-gnutls do not use GnuTLS (schannel support)
2395 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2396 --without-gstreamer do not use GStreamer (codecs support)
2397 --without-inotify do not use inotify (filesystem change notifications)
2398 --without-krb5 do not use krb5 (Kerberos)
2399 --without-ldap do not use LDAP
2400 --without-mingw do not use the MinGW cross-compiler
2401 --without-netapi do not use the Samba NetAPI library
2402 --without-openal do not use OpenAL
2403 --without-opencl do not use OpenCL
2404 --without-opengl do not use OpenGL
2405 --without-osmesa do not use the OSMesa library
2406 --without-oss do not use the OSS sound support
2407 --without-pcap do not use the Packet Capture library
2408 --without-pthread do not use the pthread library
2409 --without-pulse do not use PulseAudio sound support
2410 --without-sane do not use SANE (scanner support)
2411 --without-sdl do not use SDL
2412 --without-udev do not use udev (plug and play support)
2413 --without-unwind do not use the libunwind library (exception
2414 handling)
2415 --without-usb do not use the libusb library
2416 --without-v4l2 do not use v4l2 (video capture)
2417 --without-vulkan do not use Vulkan
2418 --without-xcomposite do not use the Xcomposite extension
2419 --without-xcursor do not use the Xcursor extension
2420 --without-xfixes do not use Xfixes for clipboard change notifications
2421 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2422 --without-xinput do not use the Xinput extension
2423 --without-xinput2 do not use the Xinput 2 extension
2424 --without-xrandr do not use Xrandr (multi-monitor support)
2425 --without-xrender do not use the Xrender extension
2426 --without-xshape do not use the Xshape extension
2427 --without-xshm do not use XShm (shared memory extension)
2428 --without-xxf86vm do not use XFree video mode extension
2429 --with-system-dllpath=PATH
2430 load external PE dependencies from colon-separated
2431 path PATH
2432 --with-wine-tools=DIR use Wine tools from directory DIR
2433 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2434 --with-x use the X Window System
2436 Some influential environment variables:
2437 CC C compiler command
2438 CFLAGS C compiler flags
2439 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2440 nonstandard directory <lib dir>
2441 LIBS libraries to pass to the linker, e.g. -l<library>
2442 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2443 you have headers in a nonstandard directory <include dir>
2444 CXX C++ compiler command
2445 CXXFLAGS C++ compiler flags
2446 OBJC Objective C compiler command
2447 OBJCFLAGS Objective C compiler flags
2448 FAUDIO_PE_CFLAGS
2449 C compiler flags for the PE faudio, overriding the bundled
2450 version
2451 FAUDIO_PE_LIBS
2452 Linker flags for the PE faudio, overriding the bundled version
2453 GSM_PE_CFLAGS
2454 C compiler flags for the PE gsm, overriding the bundled version
2455 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2456 JPEG_PE_CFLAGS
2457 C compiler flags for the PE jpeg, overriding the bundled version
2458 JPEG_PE_LIBS
2459 Linker flags for the PE jpeg, overriding the bundled version
2460 JXR_PE_CFLAGS
2461 C compiler flags for the PE jxr, overriding the bundled version
2462 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2463 LCMS2_PE_CFLAGS
2464 C compiler flags for the PE lcms2, overriding the bundled
2465 version
2466 LCMS2_PE_LIBS
2467 Linker flags for the PE lcms2, overriding the bundled version
2468 MPG123_PE_CFLAGS
2469 C compiler flags for the PE mpg123, overriding the bundled
2470 version
2471 MPG123_PE_LIBS
2472 Linker flags for the PE mpg123, overriding the bundled version
2473 PNG_PE_CFLAGS
2474 C compiler flags for the PE png, overriding the bundled version
2475 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2476 TIFF_PE_CFLAGS
2477 C compiler flags for the PE tiff, overriding the bundled version
2478 TIFF_PE_LIBS
2479 Linker flags for the PE tiff, overriding the bundled version
2480 VKD3D_PE_CFLAGS
2481 C compiler flags for the PE vkd3d, overriding the bundled
2482 version
2483 VKD3D_PE_LIBS
2484 Linker flags for the PE vkd3d, overriding the bundled version
2485 XML2_PE_CFLAGS
2486 C compiler flags for the PE xml2, overriding the bundled version
2487 XML2_PE_LIBS
2488 Linker flags for the PE xml2, overriding the bundled version
2489 XSLT_PE_CFLAGS
2490 C compiler flags for the PE xslt, overriding the bundled version
2491 XSLT_PE_LIBS
2492 Linker flags for the PE xslt, overriding the bundled version
2493 ZLIB_PE_CFLAGS
2494 C compiler flags for the PE zlib, overriding the bundled version
2495 ZLIB_PE_LIBS
2496 Linker flags for the PE zlib, overriding the bundled version
2497 XMKMF Path to xmkmf, Makefile generator for X Window System
2498 CPP C preprocessor
2499 INOTIFY_CFLAGS
2500 C compiler flags for libinotify, overriding pkg-config
2501 INOTIFY_LIBS
2502 Linker flags for libinotify, overriding pkg-config
2503 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2504 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2505 GNUTLS_CFLAGS
2506 C compiler flags for gnutls, overriding pkg-config
2507 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2508 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2509 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2510 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2511 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2512 GPHOTO2_CFLAGS
2513 C compiler flags for libgphoto2, overriding pkg-config
2514 GPHOTO2_LIBS
2515 Linker flags for libgphoto2, overriding pkg-config
2516 GPHOTO2_PORT_CFLAGS
2517 C compiler flags for libgphoto2_port, overriding pkg-config
2518 GPHOTO2_PORT_LIBS
2519 Linker flags for libgphoto2_port, overriding pkg-config
2520 FREETYPE_CFLAGS
2521 C compiler flags for freetype2, overriding pkg-config
2522 FREETYPE_LIBS
2523 Linker flags for freetype2, overriding pkg-config
2524 PULSE_CFLAGS
2525 C compiler flags for libpulse, overriding pkg-config
2526 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2527 GSTREAMER_CFLAGS
2528 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2529 gstreamer-audio-1.0, overriding pkg-config
2530 GSTREAMER_LIBS
2531 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2532 gstreamer-audio-1.0, overriding pkg-config
2533 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2534 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2535 UNWIND_CFLAGS
2536 C compiler flags for libunwind, overriding pkg-config
2537 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2538 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2539 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2540 CAPI20_CFLAGS
2541 C compiler flags for capi20, overriding pkg-config
2542 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2543 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2544 CUPS_LIBS Linker flags for cups, overriding pkg-config
2545 FONTCONFIG_CFLAGS
2546 C compiler flags for fontconfig, overriding pkg-config
2547 FONTCONFIG_LIBS
2548 Linker flags for fontconfig, overriding pkg-config
2549 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2550 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2551 GSSAPI_CFLAGS
2552 C compiler flags for krb5-gssapi, overriding pkg-config
2553 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2554 NETAPI_CFLAGS
2555 C compiler flags for netapi, overriding pkg-config
2556 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2557 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2558 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2560 Use these variables to override the choices made by `configure' or to help
2561 it to find libraries and programs with nonstandard names/locations.
2563 Report bugs to <wine-devel@winehq.org>.
2564 Wine home page: <https://www.winehq.org>.
2565 _ACEOF
2566 ac_status=$?
2569 if test "$ac_init_help" = "recursive"; then
2570 # If there are subdirs, report their specific --help.
2571 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2572 test -d "$ac_dir" ||
2573 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2574 continue
2575 ac_builddir=.
2577 case "$ac_dir" in
2578 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2580 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2581 # A ".." for each directory in $ac_dir_suffix.
2582 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2583 case $ac_top_builddir_sub in
2584 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2585 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2586 esac ;;
2587 esac
2588 ac_abs_top_builddir=$ac_pwd
2589 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2590 # for backward compatibility:
2591 ac_top_builddir=$ac_top_build_prefix
2593 case $srcdir in
2594 .) # We are building in place.
2595 ac_srcdir=.
2596 ac_top_srcdir=$ac_top_builddir_sub
2597 ac_abs_top_srcdir=$ac_pwd ;;
2598 [\\/]* | ?:[\\/]* ) # Absolute name.
2599 ac_srcdir=$srcdir$ac_dir_suffix;
2600 ac_top_srcdir=$srcdir
2601 ac_abs_top_srcdir=$srcdir ;;
2602 *) # Relative name.
2603 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2604 ac_top_srcdir=$ac_top_build_prefix$srcdir
2605 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2606 esac
2607 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2609 cd "$ac_dir" || { ac_status=$?; continue; }
2610 # Check for configure.gnu first; this name is used for a wrapper for
2611 # Metaconfig's "Configure" on case-insensitive file systems.
2612 if test -f "$ac_srcdir/configure.gnu"; then
2613 echo &&
2614 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2615 elif test -f "$ac_srcdir/configure"; then
2616 echo &&
2617 $SHELL "$ac_srcdir/configure" --help=recursive
2618 else
2619 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2620 fi || ac_status=$?
2621 cd "$ac_pwd" || { ac_status=$?; break; }
2622 done
2625 test -n "$ac_init_help" && exit $ac_status
2626 if $ac_init_version; then
2627 cat <<\_ACEOF
2628 Wine configure 7.17
2629 generated by GNU Autoconf 2.71
2631 Copyright (C) 2021 Free Software Foundation, Inc.
2632 This configure script is free software; the Free Software Foundation
2633 gives unlimited permission to copy, distribute and modify it.
2634 _ACEOF
2635 exit
2638 ## ------------------------ ##
2639 ## Autoconf initialization. ##
2640 ## ------------------------ ##
2642 # ac_fn_c_try_compile LINENO
2643 # --------------------------
2644 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2645 ac_fn_c_try_compile ()
2647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2648 rm -f conftest.$ac_objext conftest.beam
2649 if { { ac_try="$ac_compile"
2650 case "(($ac_try" in
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2653 esac
2654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2655 printf "%s\n" "$ac_try_echo"; } >&5
2656 (eval "$ac_compile") 2>conftest.err
2657 ac_status=$?
2658 if test -s conftest.err; then
2659 grep -v '^ *+' conftest.err >conftest.er1
2660 cat conftest.er1 >&5
2661 mv -f conftest.er1 conftest.err
2663 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2664 test $ac_status = 0; } && {
2665 test -z "$ac_c_werror_flag" ||
2666 test ! -s conftest.err
2667 } && test -s conftest.$ac_objext
2668 then :
2669 ac_retval=0
2670 else $as_nop
2671 printf "%s\n" "$as_me: failed program was:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2674 ac_retval=1
2676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2677 as_fn_set_status $ac_retval
2679 } # ac_fn_c_try_compile
2681 # ac_fn_cxx_try_compile LINENO
2682 # ----------------------------
2683 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2684 ac_fn_cxx_try_compile ()
2686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2687 rm -f conftest.$ac_objext conftest.beam
2688 if { { ac_try="$ac_compile"
2689 case "(($ac_try" in
2690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2691 *) ac_try_echo=$ac_try;;
2692 esac
2693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2694 printf "%s\n" "$ac_try_echo"; } >&5
2695 (eval "$ac_compile") 2>conftest.err
2696 ac_status=$?
2697 if test -s conftest.err; then
2698 grep -v '^ *+' conftest.err >conftest.er1
2699 cat conftest.er1 >&5
2700 mv -f conftest.er1 conftest.err
2702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2703 test $ac_status = 0; } && {
2704 test -z "$ac_cxx_werror_flag" ||
2705 test ! -s conftest.err
2706 } && test -s conftest.$ac_objext
2707 then :
2708 ac_retval=0
2709 else $as_nop
2710 printf "%s\n" "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2713 ac_retval=1
2715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2716 as_fn_set_status $ac_retval
2718 } # ac_fn_cxx_try_compile
2720 # ac_fn_c_try_link LINENO
2721 # -----------------------
2722 # Try to link conftest.$ac_ext, and return whether this succeeded.
2723 ac_fn_c_try_link ()
2725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2726 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2727 if { { ac_try="$ac_link"
2728 case "(($ac_try" in
2729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;;
2731 esac
2732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2733 printf "%s\n" "$ac_try_echo"; } >&5
2734 (eval "$ac_link") 2>conftest.err
2735 ac_status=$?
2736 if test -s conftest.err; then
2737 grep -v '^ *+' conftest.err >conftest.er1
2738 cat conftest.er1 >&5
2739 mv -f conftest.er1 conftest.err
2741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2742 test $ac_status = 0; } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest$ac_exeext && {
2746 test "$cross_compiling" = yes ||
2747 test -x conftest$ac_exeext
2749 then :
2750 ac_retval=0
2751 else $as_nop
2752 printf "%s\n" "$as_me: failed program was:" >&5
2753 sed 's/^/| /' conftest.$ac_ext >&5
2755 ac_retval=1
2757 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2758 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2759 # interfere with the next link command; also delete a directory that is
2760 # left behind by Apple's compiler. We do this before executing the actions.
2761 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2763 as_fn_set_status $ac_retval
2765 } # ac_fn_c_try_link
2767 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2768 # -------------------------------------------------------
2769 # Tests whether HEADER exists and can be compiled using the include files in
2770 # INCLUDES, setting the cache variable VAR accordingly.
2771 ac_fn_c_check_header_compile ()
2773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2775 printf %s "checking for $2... " >&6; }
2776 if eval test \${$3+y}
2777 then :
2778 printf %s "(cached) " >&6
2779 else $as_nop
2780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2781 /* end confdefs.h. */
2783 #include <$2>
2784 _ACEOF
2785 if ac_fn_c_try_compile "$LINENO"
2786 then :
2787 eval "$3=yes"
2788 else $as_nop
2789 eval "$3=no"
2791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2793 eval ac_res=\$$3
2794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2795 printf "%s\n" "$ac_res" >&6; }
2796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2798 } # ac_fn_c_check_header_compile
2800 # ac_fn_objc_try_compile LINENO
2801 # -----------------------------
2802 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2803 ac_fn_objc_try_compile ()
2805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2806 rm -f conftest.$ac_objext conftest.beam
2807 if { { ac_try="$ac_compile"
2808 case "(($ac_try" in
2809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2810 *) ac_try_echo=$ac_try;;
2811 esac
2812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2813 printf "%s\n" "$ac_try_echo"; } >&5
2814 (eval "$ac_compile") 2>conftest.err
2815 ac_status=$?
2816 if test -s conftest.err; then
2817 grep -v '^ *+' conftest.err >conftest.er1
2818 cat conftest.er1 >&5
2819 mv -f conftest.er1 conftest.err
2821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2822 test $ac_status = 0; } && {
2823 test -z "$ac_objc_werror_flag" ||
2824 test ! -s conftest.err
2825 } && test -s conftest.$ac_objext
2826 then :
2827 ac_retval=0
2828 else $as_nop
2829 printf "%s\n" "$as_me: failed program was:" >&5
2830 sed 's/^/| /' conftest.$ac_ext >&5
2832 ac_retval=1
2834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2835 as_fn_set_status $ac_retval
2837 } # ac_fn_objc_try_compile
2839 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2840 # ----------------------------------------------------------
2841 # Tests whether HEADER exists and can be compiled using the include files in
2842 # INCLUDES, setting the cache variable VAR accordingly.
2843 ac_fn_objc_check_header_compile ()
2845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2847 printf %s "checking for $2... " >&6; }
2848 if eval test \${$3+y}
2849 then :
2850 printf %s "(cached) " >&6
2851 else $as_nop
2852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2855 #include <$2>
2856 _ACEOF
2857 if ac_fn_objc_try_compile "$LINENO"
2858 then :
2859 eval "$3=yes"
2860 else $as_nop
2861 eval "$3=no"
2863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2865 eval ac_res=\$$3
2866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2867 printf "%s\n" "$ac_res" >&6; }
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2870 } # ac_fn_objc_check_header_compile
2872 # ac_fn_c_check_func LINENO FUNC VAR
2873 # ----------------------------------
2874 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2875 ac_fn_c_check_func ()
2877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2879 printf %s "checking for $2... " >&6; }
2880 if eval test \${$3+y}
2881 then :
2882 printf %s "(cached) " >&6
2883 else $as_nop
2884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h. */
2886 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2888 #define $2 innocuous_$2
2890 /* System header to define __stub macros and hopefully few prototypes,
2891 which can conflict with char $2 (); below. */
2893 #include <limits.h>
2894 #undef $2
2896 /* Override any GCC internal prototype to avoid an error.
2897 Use char because int might match the return type of a GCC
2898 builtin and then its argument prototype would still apply. */
2899 #ifdef __cplusplus
2900 extern "C"
2901 #endif
2902 char $2 ();
2903 /* The GNU C library defines this for functions which it implements
2904 to always fail with ENOSYS. Some functions are actually named
2905 something starting with __ and the normal name is an alias. */
2906 #if defined __stub_$2 || defined __stub___$2
2907 choke me
2908 #endif
2911 main (void)
2913 return $2 ();
2915 return 0;
2917 _ACEOF
2918 if ac_fn_c_try_link "$LINENO"
2919 then :
2920 eval "$3=yes"
2921 else $as_nop
2922 eval "$3=no"
2924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2925 conftest$ac_exeext conftest.$ac_ext
2927 eval ac_res=\$$3
2928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2929 printf "%s\n" "$ac_res" >&6; }
2930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2932 } # ac_fn_c_check_func
2934 # ac_fn_c_try_cpp LINENO
2935 # ----------------------
2936 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2937 ac_fn_c_try_cpp ()
2939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2940 if { { ac_try="$ac_cpp conftest.$ac_ext"
2941 case "(($ac_try" in
2942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2944 esac
2945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2946 printf "%s\n" "$ac_try_echo"; } >&5
2947 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2948 ac_status=$?
2949 if test -s conftest.err; then
2950 grep -v '^ *+' conftest.err >conftest.er1
2951 cat conftest.er1 >&5
2952 mv -f conftest.er1 conftest.err
2954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2955 test $ac_status = 0; } > conftest.i && {
2956 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2957 test ! -s conftest.err
2959 then :
2960 ac_retval=0
2961 else $as_nop
2962 printf "%s\n" "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.$ac_ext >&5
2965 ac_retval=1
2967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2968 as_fn_set_status $ac_retval
2970 } # ac_fn_c_try_cpp
2972 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2973 # ----------------------------------------------------
2974 # Tries to find if the field MEMBER exists in type AGGR, after including
2975 # INCLUDES, setting cache variable VAR accordingly.
2976 ac_fn_c_check_member ()
2978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2980 printf %s "checking for $2.$3... " >&6; }
2981 if eval test \${$4+y}
2982 then :
2983 printf %s "(cached) " >&6
2984 else $as_nop
2985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h. */
2989 main (void)
2991 static $2 ac_aggr;
2992 if (ac_aggr.$3)
2993 return 0;
2995 return 0;
2997 _ACEOF
2998 if ac_fn_c_try_compile "$LINENO"
2999 then :
3000 eval "$4=yes"
3001 else $as_nop
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3006 main (void)
3008 static $2 ac_aggr;
3009 if (sizeof ac_aggr.$3)
3010 return 0;
3012 return 0;
3014 _ACEOF
3015 if ac_fn_c_try_compile "$LINENO"
3016 then :
3017 eval "$4=yes"
3018 else $as_nop
3019 eval "$4=no"
3021 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3025 eval ac_res=\$$4
3026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3027 printf "%s\n" "$ac_res" >&6; }
3028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3030 } # ac_fn_c_check_member
3032 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3033 # -------------------------------------------
3034 # Tests whether TYPE exists after having included INCLUDES, setting cache
3035 # variable VAR accordingly.
3036 ac_fn_c_check_type ()
3038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3040 printf %s "checking for $2... " >&6; }
3041 if eval test \${$3+y}
3042 then :
3043 printf %s "(cached) " >&6
3044 else $as_nop
3045 eval "$3=no"
3046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h. */
3050 main (void)
3052 if (sizeof ($2))
3053 return 0;
3055 return 0;
3057 _ACEOF
3058 if ac_fn_c_try_compile "$LINENO"
3059 then :
3060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3061 /* end confdefs.h. */
3064 main (void)
3066 if (sizeof (($2)))
3067 return 0;
3069 return 0;
3071 _ACEOF
3072 if ac_fn_c_try_compile "$LINENO"
3073 then :
3075 else $as_nop
3076 eval "$3=yes"
3078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3082 eval ac_res=\$$3
3083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3084 printf "%s\n" "$ac_res" >&6; }
3085 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3087 } # ac_fn_c_check_type
3088 ac_configure_args_raw=
3089 for ac_arg
3091 case $ac_arg in
3092 *\'*)
3093 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3094 esac
3095 as_fn_append ac_configure_args_raw " '$ac_arg'"
3096 done
3098 case $ac_configure_args_raw in
3099 *$as_nl*)
3100 ac_safe_unquote= ;;
3102 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3103 ac_unsafe_a="$ac_unsafe_z#~"
3104 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3105 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3106 esac
3108 cat >config.log <<_ACEOF
3109 This file contains any messages produced by compilers while
3110 running configure, to aid debugging if configure makes a mistake.
3112 It was created by Wine $as_me 7.17, which was
3113 generated by GNU Autoconf 2.71. Invocation command line was
3115 $ $0$ac_configure_args_raw
3117 _ACEOF
3118 exec 5>>config.log
3120 cat <<_ASUNAME
3121 ## --------- ##
3122 ## Platform. ##
3123 ## --------- ##
3125 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3126 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3127 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3128 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3129 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3131 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3132 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3134 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3135 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3136 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3137 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3138 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3139 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3140 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3142 _ASUNAME
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 for as_dir in $PATH
3147 IFS=$as_save_IFS
3148 case $as_dir in #(((
3149 '') as_dir=./ ;;
3150 */) ;;
3151 *) as_dir=$as_dir/ ;;
3152 esac
3153 printf "%s\n" "PATH: $as_dir"
3154 done
3155 IFS=$as_save_IFS
3157 } >&5
3159 cat >&5 <<_ACEOF
3162 ## ----------- ##
3163 ## Core tests. ##
3164 ## ----------- ##
3166 _ACEOF
3169 # Keep a trace of the command line.
3170 # Strip out --no-create and --no-recursion so they do not pile up.
3171 # Strip out --silent because we don't want to record it for future runs.
3172 # Also quote any args containing shell meta-characters.
3173 # Make two passes to allow for proper duplicate-argument suppression.
3174 ac_configure_args=
3175 ac_configure_args0=
3176 ac_configure_args1=
3177 ac_must_keep_next=false
3178 for ac_pass in 1 2
3180 for ac_arg
3182 case $ac_arg in
3183 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3184 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3185 | -silent | --silent | --silen | --sile | --sil)
3186 continue ;;
3187 *\'*)
3188 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3189 esac
3190 case $ac_pass in
3191 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3193 as_fn_append ac_configure_args1 " '$ac_arg'"
3194 if test $ac_must_keep_next = true; then
3195 ac_must_keep_next=false # Got value, back to normal.
3196 else
3197 case $ac_arg in
3198 *=* | --config-cache | -C | -disable-* | --disable-* \
3199 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3200 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3201 | -with-* | --with-* | -without-* | --without-* | --x)
3202 case "$ac_configure_args0 " in
3203 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3204 esac
3206 -* ) ac_must_keep_next=true ;;
3207 esac
3209 as_fn_append ac_configure_args " '$ac_arg'"
3211 esac
3212 done
3213 done
3214 { ac_configure_args0=; unset ac_configure_args0;}
3215 { ac_configure_args1=; unset ac_configure_args1;}
3217 # When interrupted or exit'd, cleanup temporary files, and complete
3218 # config.log. We remove comments because anyway the quotes in there
3219 # would cause problems or look ugly.
3220 # WARNING: Use '\'' to represent an apostrophe within the trap.
3221 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3222 trap 'exit_status=$?
3223 # Sanitize IFS.
3224 IFS=" "" $as_nl"
3225 # Save into config.log some information that might help in debugging.
3227 echo
3229 printf "%s\n" "## ---------------- ##
3230 ## Cache variables. ##
3231 ## ---------------- ##"
3232 echo
3233 # The following way of writing the cache mishandles newlines in values,
3235 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3236 eval ac_val=\$$ac_var
3237 case $ac_val in #(
3238 *${as_nl}*)
3239 case $ac_var in #(
3240 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3241 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3242 esac
3243 case $ac_var in #(
3244 _ | IFS | as_nl) ;; #(
3245 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3246 *) { eval $ac_var=; unset $ac_var;} ;;
3247 esac ;;
3248 esac
3249 done
3250 (set) 2>&1 |
3251 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3252 *${as_nl}ac_space=\ *)
3253 sed -n \
3254 "s/'\''/'\''\\\\'\'''\''/g;
3255 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3256 ;; #(
3258 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3260 esac |
3261 sort
3263 echo
3265 printf "%s\n" "## ----------------- ##
3266 ## Output variables. ##
3267 ## ----------------- ##"
3268 echo
3269 for ac_var in $ac_subst_vars
3271 eval ac_val=\$$ac_var
3272 case $ac_val in
3273 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3274 esac
3275 printf "%s\n" "$ac_var='\''$ac_val'\''"
3276 done | sort
3277 echo
3279 if test -n "$ac_subst_files"; then
3280 printf "%s\n" "## ------------------- ##
3281 ## File substitutions. ##
3282 ## ------------------- ##"
3283 echo
3284 for ac_var in $ac_subst_files
3286 eval ac_val=\$$ac_var
3287 case $ac_val in
3288 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3289 esac
3290 printf "%s\n" "$ac_var='\''$ac_val'\''"
3291 done | sort
3292 echo
3295 if test -s confdefs.h; then
3296 printf "%s\n" "## ----------- ##
3297 ## confdefs.h. ##
3298 ## ----------- ##"
3299 echo
3300 cat confdefs.h
3301 echo
3303 test "$ac_signal" != 0 &&
3304 printf "%s\n" "$as_me: caught signal $ac_signal"
3305 printf "%s\n" "$as_me: exit $exit_status"
3306 } >&5
3307 rm -f core *.core core.conftest.* &&
3308 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3309 exit $exit_status
3311 for ac_signal in 1 2 13 15; do
3312 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3313 done
3314 ac_signal=0
3316 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3317 rm -f -r conftest* confdefs.h
3319 printf "%s\n" "/* confdefs.h */" > confdefs.h
3321 # Predefined preprocessor variables.
3323 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3325 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3327 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3329 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3331 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3333 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3336 # Let the site file select an alternate cache file if it wants to.
3337 # Prefer an explicitly selected file to automatically selected ones.
3338 if test -n "$CONFIG_SITE"; then
3339 ac_site_files="$CONFIG_SITE"
3340 elif test "x$prefix" != xNONE; then
3341 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3342 else
3343 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3346 for ac_site_file in $ac_site_files
3348 case $ac_site_file in #(
3349 */*) :
3350 ;; #(
3351 *) :
3352 ac_site_file=./$ac_site_file ;;
3353 esac
3354 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3356 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3357 sed 's/^/| /' "$ac_site_file" >&5
3358 . "$ac_site_file" \
3359 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3360 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3361 as_fn_error $? "failed to load site script $ac_site_file
3362 See \`config.log' for more details" "$LINENO" 5; }
3364 done
3366 if test -r "$cache_file"; then
3367 # Some versions of bash will fail to source /dev/null (special files
3368 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3369 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3371 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3372 case $cache_file in
3373 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3374 *) . "./$cache_file";;
3375 esac
3377 else
3378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3379 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3380 >$cache_file
3383 # Test code for whether the C compiler supports C89 (global declarations)
3384 ac_c_conftest_c89_globals='
3385 /* Does the compiler advertise C89 conformance?
3386 Do not test the value of __STDC__, because some compilers set it to 0
3387 while being otherwise adequately conformant. */
3388 #if !defined __STDC__
3389 # error "Compiler does not advertise C89 conformance"
3390 #endif
3392 #include <stddef.h>
3393 #include <stdarg.h>
3394 struct stat;
3395 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3396 struct buf { int x; };
3397 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3398 static char *e (p, i)
3399 char **p;
3400 int i;
3402 return p[i];
3404 static char *f (char * (*g) (char **, int), char **p, ...)
3406 char *s;
3407 va_list v;
3408 va_start (v,p);
3409 s = g (p, va_arg (v,int));
3410 va_end (v);
3411 return s;
3414 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3415 function prototypes and stuff, but not \xHH hex character constants.
3416 These do not provoke an error unfortunately, instead are silently treated
3417 as an "x". The following induces an error, until -std is added to get
3418 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3419 array size at least. It is necessary to write \x00 == 0 to get something
3420 that is true only with -std. */
3421 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3423 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3424 inside strings and character constants. */
3425 #define FOO(x) '\''x'\''
3426 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3428 int test (int i, double x);
3429 struct s1 {int (*f) (int a);};
3430 struct s2 {int (*f) (double a);};
3431 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3432 int, int);'
3434 # Test code for whether the C compiler supports C89 (body of main).
3435 ac_c_conftest_c89_main='
3436 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3439 # Test code for whether the C compiler supports C99 (global declarations)
3440 ac_c_conftest_c99_globals='
3441 // Does the compiler advertise C99 conformance?
3442 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3443 # error "Compiler does not advertise C99 conformance"
3444 #endif
3446 #include <stdbool.h>
3447 extern int puts (const char *);
3448 extern int printf (const char *, ...);
3449 extern int dprintf (int, const char *, ...);
3450 extern void *malloc (size_t);
3452 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3453 // dprintf is used instead of fprintf to avoid needing to declare
3454 // FILE and stderr.
3455 #define debug(...) dprintf (2, __VA_ARGS__)
3456 #define showlist(...) puts (#__VA_ARGS__)
3457 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3458 static void
3459 test_varargs_macros (void)
3461 int x = 1234;
3462 int y = 5678;
3463 debug ("Flag");
3464 debug ("X = %d\n", x);
3465 showlist (The first, second, and third items.);
3466 report (x>y, "x is %d but y is %d", x, y);
3469 // Check long long types.
3470 #define BIG64 18446744073709551615ull
3471 #define BIG32 4294967295ul
3472 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3473 #if !BIG_OK
3474 #error "your preprocessor is broken"
3475 #endif
3476 #if BIG_OK
3477 #else
3478 #error "your preprocessor is broken"
3479 #endif
3480 static long long int bignum = -9223372036854775807LL;
3481 static unsigned long long int ubignum = BIG64;
3483 struct incomplete_array
3485 int datasize;
3486 double data[];
3489 struct named_init {
3490 int number;
3491 const wchar_t *name;
3492 double average;
3495 typedef const char *ccp;
3497 static inline int
3498 test_restrict (ccp restrict text)
3500 // See if C++-style comments work.
3501 // Iterate through items via the restricted pointer.
3502 // Also check for declarations in for loops.
3503 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3504 continue;
3505 return 0;
3508 // Check varargs and va_copy.
3509 static bool
3510 test_varargs (const char *format, ...)
3512 va_list args;
3513 va_start (args, format);
3514 va_list args_copy;
3515 va_copy (args_copy, args);
3517 const char *str = "";
3518 int number = 0;
3519 float fnumber = 0;
3521 while (*format)
3523 switch (*format++)
3525 case '\''s'\'': // string
3526 str = va_arg (args_copy, const char *);
3527 break;
3528 case '\''d'\'': // int
3529 number = va_arg (args_copy, int);
3530 break;
3531 case '\''f'\'': // float
3532 fnumber = va_arg (args_copy, double);
3533 break;
3534 default:
3535 break;
3538 va_end (args_copy);
3539 va_end (args);
3541 return *str && number && fnumber;
3545 # Test code for whether the C compiler supports C99 (body of main).
3546 ac_c_conftest_c99_main='
3547 // Check bool.
3548 _Bool success = false;
3549 success |= (argc != 0);
3551 // Check restrict.
3552 if (test_restrict ("String literal") == 0)
3553 success = true;
3554 char *restrict newvar = "Another string";
3556 // Check varargs.
3557 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3558 test_varargs_macros ();
3560 // Check flexible array members.
3561 struct incomplete_array *ia =
3562 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3563 ia->datasize = 10;
3564 for (int i = 0; i < ia->datasize; ++i)
3565 ia->data[i] = i * 1.234;
3567 // Check named initializers.
3568 struct named_init ni = {
3569 .number = 34,
3570 .name = L"Test wide string",
3571 .average = 543.34343,
3574 ni.number = 58;
3576 int dynamic_array[ni.number];
3577 dynamic_array[0] = argv[0][0];
3578 dynamic_array[ni.number - 1] = 543;
3580 // work around unused variable warnings
3581 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3582 || dynamic_array[ni.number - 1] != 543);
3585 # Test code for whether the C compiler supports C11 (global declarations)
3586 ac_c_conftest_c11_globals='
3587 // Does the compiler advertise C11 conformance?
3588 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3589 # error "Compiler does not advertise C11 conformance"
3590 #endif
3592 // Check _Alignas.
3593 char _Alignas (double) aligned_as_double;
3594 char _Alignas (0) no_special_alignment;
3595 extern char aligned_as_int;
3596 char _Alignas (0) _Alignas (int) aligned_as_int;
3598 // Check _Alignof.
3599 enum
3601 int_alignment = _Alignof (int),
3602 int_array_alignment = _Alignof (int[100]),
3603 char_alignment = _Alignof (char)
3605 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3607 // Check _Noreturn.
3608 int _Noreturn does_not_return (void) { for (;;) continue; }
3610 // Check _Static_assert.
3611 struct test_static_assert
3613 int x;
3614 _Static_assert (sizeof (int) <= sizeof (long int),
3615 "_Static_assert does not work in struct");
3616 long int y;
3619 // Check UTF-8 literals.
3620 #define u8 syntax error!
3621 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3623 // Check duplicate typedefs.
3624 typedef long *long_ptr;
3625 typedef long int *long_ptr;
3626 typedef long_ptr long_ptr;
3628 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3629 struct anonymous
3631 union {
3632 struct { int i; int j; };
3633 struct { int k; long int l; } w;
3635 int m;
3636 } v1;
3639 # Test code for whether the C compiler supports C11 (body of main).
3640 ac_c_conftest_c11_main='
3641 _Static_assert ((offsetof (struct anonymous, i)
3642 == offsetof (struct anonymous, w.k)),
3643 "Anonymous union alignment botch");
3644 v1.i = 2;
3645 v1.w.k = 5;
3646 ok |= v1.i != 5;
3649 # Test code for whether the C compiler supports C11 (complete).
3650 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3651 ${ac_c_conftest_c99_globals}
3652 ${ac_c_conftest_c11_globals}
3655 main (int argc, char **argv)
3657 int ok = 0;
3658 ${ac_c_conftest_c89_main}
3659 ${ac_c_conftest_c99_main}
3660 ${ac_c_conftest_c11_main}
3661 return ok;
3665 # Test code for whether the C compiler supports C99 (complete).
3666 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3667 ${ac_c_conftest_c99_globals}
3670 main (int argc, char **argv)
3672 int ok = 0;
3673 ${ac_c_conftest_c89_main}
3674 ${ac_c_conftest_c99_main}
3675 return ok;
3679 # Test code for whether the C compiler supports C89 (complete).
3680 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3683 main (int argc, char **argv)
3685 int ok = 0;
3686 ${ac_c_conftest_c89_main}
3687 return ok;
3691 # Test code for whether the C++ compiler supports C++98 (global declarations)
3692 ac_cxx_conftest_cxx98_globals='
3693 // Does the compiler advertise C++98 conformance?
3694 #if !defined __cplusplus || __cplusplus < 199711L
3695 # error "Compiler does not advertise C++98 conformance"
3696 #endif
3698 // These inclusions are to reject old compilers that
3699 // lack the unsuffixed header files.
3700 #include <cstdlib>
3701 #include <exception>
3703 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3704 extern void assert (int);
3705 namespace std {
3706 extern int strcmp (const char *, const char *);
3709 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3710 using std::exception;
3711 using std::strcmp;
3713 namespace {
3715 void test_exception_syntax()
3717 try {
3718 throw "test";
3719 } catch (const char *s) {
3720 // Extra parentheses suppress a warning when building autoconf itself,
3721 // due to lint rules shared with more typical C programs.
3722 assert (!(strcmp) (s, "test"));
3726 template <typename T> struct test_template
3728 T const val;
3729 explicit test_template(T t) : val(t) {}
3730 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3733 } // anonymous namespace
3736 # Test code for whether the C++ compiler supports C++98 (body of main)
3737 ac_cxx_conftest_cxx98_main='
3738 assert (argc);
3739 assert (! argv[0]);
3741 test_exception_syntax ();
3742 test_template<double> tt (2.0);
3743 assert (tt.add (4) == 6.0);
3744 assert (true && !false);
3748 # Test code for whether the C++ compiler supports C++11 (global declarations)
3749 ac_cxx_conftest_cxx11_globals='
3750 // Does the compiler advertise C++ 2011 conformance?
3751 #if !defined __cplusplus || __cplusplus < 201103L
3752 # error "Compiler does not advertise C++11 conformance"
3753 #endif
3755 namespace cxx11test
3757 constexpr int get_val() { return 20; }
3759 struct testinit
3761 int i;
3762 double d;
3765 class delegate
3767 public:
3768 delegate(int n) : n(n) {}
3769 delegate(): delegate(2354) {}
3771 virtual int getval() { return this->n; };
3772 protected:
3773 int n;
3776 class overridden : public delegate
3778 public:
3779 overridden(int n): delegate(n) {}
3780 virtual int getval() override final { return this->n * 2; }
3783 class nocopy
3785 public:
3786 nocopy(int i): i(i) {}
3787 nocopy() = default;
3788 nocopy(const nocopy&) = delete;
3789 nocopy & operator=(const nocopy&) = delete;
3790 private:
3791 int i;
3794 // for testing lambda expressions
3795 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3797 return f(v);
3800 // for testing variadic templates and trailing return types
3801 template <typename V> auto sum(V first) -> V
3803 return first;
3805 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3807 return first + sum(rest...);
3812 # Test code for whether the C++ compiler supports C++11 (body of main)
3813 ac_cxx_conftest_cxx11_main='
3815 // Test auto and decltype
3816 auto a1 = 6538;
3817 auto a2 = 48573953.4;
3818 auto a3 = "String literal";
3820 int total = 0;
3821 for (auto i = a3; *i; ++i) { total += *i; }
3823 decltype(a2) a4 = 34895.034;
3826 // Test constexpr
3827 short sa[cxx11test::get_val()] = { 0 };
3830 // Test initializer lists
3831 cxx11test::testinit il = { 4323, 435234.23544 };
3834 // Test range-based for
3835 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3836 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3837 for (auto &x : array) { x += 23; }
3840 // Test lambda expressions
3841 using cxx11test::eval;
3842 assert (eval ([](int x) { return x*2; }, 21) == 42);
3843 double d = 2.0;
3844 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3845 assert (d == 5.0);
3846 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3847 assert (d == 5.0);
3850 // Test use of variadic templates
3851 using cxx11test::sum;
3852 auto a = sum(1);
3853 auto b = sum(1, 2);
3854 auto c = sum(1.0, 2.0, 3.0);
3857 // Test constructor delegation
3858 cxx11test::delegate d1;
3859 cxx11test::delegate d2();
3860 cxx11test::delegate d3(45);
3863 // Test override and final
3864 cxx11test::overridden o1(55464);
3867 // Test nullptr
3868 char *c = nullptr;
3871 // Test template brackets
3872 test_template<::test_template<int>> v(test_template<int>(12));
3875 // Unicode literals
3876 char const *utf8 = u8"UTF-8 string \u2500";
3877 char16_t const *utf16 = u"UTF-8 string \u2500";
3878 char32_t const *utf32 = U"UTF-32 string \u2500";
3882 # Test code for whether the C compiler supports C++11 (complete).
3883 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3884 ${ac_cxx_conftest_cxx11_globals}
3887 main (int argc, char **argv)
3889 int ok = 0;
3890 ${ac_cxx_conftest_cxx98_main}
3891 ${ac_cxx_conftest_cxx11_main}
3892 return ok;
3896 # Test code for whether the C compiler supports C++98 (complete).
3897 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3899 main (int argc, char **argv)
3901 int ok = 0;
3902 ${ac_cxx_conftest_cxx98_main}
3903 return ok;
3907 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3908 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3909 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3910 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3911 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3912 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3913 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3914 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3915 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3917 # Auxiliary files required by this configure script.
3918 ac_aux_files="config.guess config.sub"
3920 # Locations in which to look for auxiliary files.
3921 ac_aux_dir_candidates="${srcdir}/tools"
3923 # Search for a directory containing all of the required auxiliary files,
3924 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3925 # If we don't find one directory that contains all the files we need,
3926 # we report the set of missing files from the *first* directory in
3927 # $ac_aux_dir_candidates and give up.
3928 ac_missing_aux_files=""
3929 ac_first_candidate=:
3930 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3932 as_found=false
3933 for as_dir in $ac_aux_dir_candidates
3935 IFS=$as_save_IFS
3936 case $as_dir in #(((
3937 '') as_dir=./ ;;
3938 */) ;;
3939 *) as_dir=$as_dir/ ;;
3940 esac
3941 as_found=:
3943 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3944 ac_aux_dir_found=yes
3945 ac_install_sh=
3946 for ac_aux in $ac_aux_files
3948 # As a special case, if "install-sh" is required, that requirement
3949 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3950 # and $ac_install_sh is set appropriately for whichever one is found.
3951 if test x"$ac_aux" = x"install-sh"
3952 then
3953 if test -f "${as_dir}install-sh"; then
3954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3955 ac_install_sh="${as_dir}install-sh -c"
3956 elif test -f "${as_dir}install.sh"; then
3957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3958 ac_install_sh="${as_dir}install.sh -c"
3959 elif test -f "${as_dir}shtool"; then
3960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3961 ac_install_sh="${as_dir}shtool install -c"
3962 else
3963 ac_aux_dir_found=no
3964 if $ac_first_candidate; then
3965 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3966 else
3967 break
3970 else
3971 if test -f "${as_dir}${ac_aux}"; then
3972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3973 else
3974 ac_aux_dir_found=no
3975 if $ac_first_candidate; then
3976 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3977 else
3978 break
3982 done
3983 if test "$ac_aux_dir_found" = yes; then
3984 ac_aux_dir="$as_dir"
3985 break
3987 ac_first_candidate=false
3989 as_found=false
3990 done
3991 IFS=$as_save_IFS
3992 if $as_found
3993 then :
3995 else $as_nop
3996 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4000 # These three variables are undocumented and unsupported,
4001 # and are intended to be withdrawn in a future Autoconf release.
4002 # They can cause serious problems if a builder's source tree is in a directory
4003 # whose full name contains unusual characters.
4004 if test -f "${ac_aux_dir}config.guess"; then
4005 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4007 if test -f "${ac_aux_dir}config.sub"; then
4008 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4010 if test -f "$ac_aux_dir/configure"; then
4011 ac_configure="$SHELL ${ac_aux_dir}configure"
4014 # Check that the precious variables saved in the cache have kept the same
4015 # value.
4016 ac_cache_corrupted=false
4017 for ac_var in $ac_precious_vars; do
4018 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4019 eval ac_new_set=\$ac_env_${ac_var}_set
4020 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4021 eval ac_new_val=\$ac_env_${ac_var}_value
4022 case $ac_old_set,$ac_new_set in
4023 set,)
4024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4025 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4026 ac_cache_corrupted=: ;;
4027 ,set)
4028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4029 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4030 ac_cache_corrupted=: ;;
4031 ,);;
4033 if test "x$ac_old_val" != "x$ac_new_val"; then
4034 # differences in whitespace do not lead to failure.
4035 ac_old_val_w=`echo x $ac_old_val`
4036 ac_new_val_w=`echo x $ac_new_val`
4037 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4039 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4040 ac_cache_corrupted=:
4041 else
4042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4043 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4044 eval $ac_var=\$ac_old_val
4046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4047 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4049 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4050 fi;;
4051 esac
4052 # Pass precious variables to config.status.
4053 if test "$ac_new_set" = set; then
4054 case $ac_new_val in
4055 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4056 *) ac_arg=$ac_var=$ac_new_val ;;
4057 esac
4058 case " $ac_configure_args " in
4059 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4060 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4061 esac
4063 done
4064 if $ac_cache_corrupted; then
4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4066 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4068 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4069 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4070 and start over" "$LINENO" 5
4072 ## -------------------- ##
4073 ## Main body of script. ##
4074 ## -------------------- ##
4076 ac_ext=c
4077 ac_cpp='$CPP $CPPFLAGS'
4078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4084 ac_config_headers="$ac_config_headers include/config.h"
4088 libwine_version="1.0"
4091 # Check whether --enable-win16 was given.
4092 if test ${enable_win16+y}
4093 then :
4094 enableval=$enable_win16;
4097 # Check whether --enable-win64 was given.
4098 if test ${enable_win64+y}
4099 then :
4100 enableval=$enable_win64;
4103 # Check whether --enable-tests was given.
4104 if test ${enable_tests+y}
4105 then :
4106 enableval=$enable_tests;
4109 # Check whether --enable-build-id was given.
4110 if test ${enable_build_id+y}
4111 then :
4112 enableval=$enable_build_id;
4115 # Check whether --enable-maintainer-mode was given.
4116 if test ${enable_maintainer_mode+y}
4117 then :
4118 enableval=$enable_maintainer_mode;
4121 # Check whether --enable-silent-rules was given.
4122 if test ${enable_silent_rules+y}
4123 then :
4124 enableval=$enable_silent_rules;
4127 # Check whether --enable-werror was given.
4128 if test ${enable_werror+y}
4129 then :
4130 enableval=$enable_werror;
4135 # Check whether --with-alsa was given.
4136 if test ${with_alsa+y}
4137 then :
4138 withval=$with_alsa;
4142 # Check whether --with-capi was given.
4143 if test ${with_capi+y}
4144 then :
4145 withval=$with_capi;
4149 # Check whether --with-coreaudio was given.
4150 if test ${with_coreaudio+y}
4151 then :
4152 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4156 # Check whether --with-cups was given.
4157 if test ${with_cups+y}
4158 then :
4159 withval=$with_cups;
4163 # Check whether --with-dbus was given.
4164 if test ${with_dbus+y}
4165 then :
4166 withval=$with_dbus;
4170 # Check whether --with-float-abi was given.
4171 if test ${with_float_abi+y}
4172 then :
4173 withval=$with_float_abi;
4177 # Check whether --with-fontconfig was given.
4178 if test ${with_fontconfig+y}
4179 then :
4180 withval=$with_fontconfig;
4184 # Check whether --with-freetype was given.
4185 if test ${with_freetype+y}
4186 then :
4187 withval=$with_freetype;
4191 # Check whether --with-gettext was given.
4192 if test ${with_gettext+y}
4193 then :
4194 withval=$with_gettext;
4198 # Check whether --with-gettextpo was given.
4199 if test ${with_gettextpo+y}
4200 then :
4201 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4205 # Check whether --with-gphoto was given.
4206 if test ${with_gphoto+y}
4207 then :
4208 withval=$with_gphoto;
4212 # Check whether --with-gnutls was given.
4213 if test ${with_gnutls+y}
4214 then :
4215 withval=$with_gnutls;
4219 # Check whether --with-gssapi was given.
4220 if test ${with_gssapi+y}
4221 then :
4222 withval=$with_gssapi;
4226 # Check whether --with-gstreamer was given.
4227 if test ${with_gstreamer+y}
4228 then :
4229 withval=$with_gstreamer;
4233 # Check whether --with-inotify was given.
4234 if test ${with_inotify+y}
4235 then :
4236 withval=$with_inotify;
4240 # Check whether --with-krb5 was given.
4241 if test ${with_krb5+y}
4242 then :
4243 withval=$with_krb5;
4247 # Check whether --with-ldap was given.
4248 if test ${with_ldap+y}
4249 then :
4250 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4254 # Check whether --with-mingw was given.
4255 if test ${with_mingw+y}
4256 then :
4257 withval=$with_mingw;
4261 # Check whether --with-netapi was given.
4262 if test ${with_netapi+y}
4263 then :
4264 withval=$with_netapi;
4268 # Check whether --with-openal was given.
4269 if test ${with_openal+y}
4270 then :
4271 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4275 # Check whether --with-opencl was given.
4276 if test ${with_opencl+y}
4277 then :
4278 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4282 # Check whether --with-opengl was given.
4283 if test ${with_opengl+y}
4284 then :
4285 withval=$with_opengl;
4289 # Check whether --with-osmesa was given.
4290 if test ${with_osmesa+y}
4291 then :
4292 withval=$with_osmesa;
4296 # Check whether --with-oss was given.
4297 if test ${with_oss+y}
4298 then :
4299 withval=$with_oss;
4303 # Check whether --with-pcap was given.
4304 if test ${with_pcap+y}
4305 then :
4306 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4310 # Check whether --with-pthread was given.
4311 if test ${with_pthread+y}
4312 then :
4313 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4317 # Check whether --with-pulse was given.
4318 if test ${with_pulse+y}
4319 then :
4320 withval=$with_pulse;
4324 # Check whether --with-sane was given.
4325 if test ${with_sane+y}
4326 then :
4327 withval=$with_sane;
4331 # Check whether --with-sdl was given.
4332 if test ${with_sdl+y}
4333 then :
4334 withval=$with_sdl;
4338 # Check whether --with-udev was given.
4339 if test ${with_udev+y}
4340 then :
4341 withval=$with_udev;
4345 # Check whether --with-unwind was given.
4346 if test ${with_unwind+y}
4347 then :
4348 withval=$with_unwind;
4352 # Check whether --with-usb was given.
4353 if test ${with_usb+y}
4354 then :
4355 withval=$with_usb;
4359 # Check whether --with-v4l2 was given.
4360 if test ${with_v4l2+y}
4361 then :
4362 withval=$with_v4l2;
4366 # Check whether --with-vulkan was given.
4367 if test ${with_vulkan+y}
4368 then :
4369 withval=$with_vulkan;
4373 # Check whether --with-xcomposite was given.
4374 if test ${with_xcomposite+y}
4375 then :
4376 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4380 # Check whether --with-xcursor was given.
4381 if test ${with_xcursor+y}
4382 then :
4383 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4387 # Check whether --with-xfixes was given.
4388 if test ${with_xfixes+y}
4389 then :
4390 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4394 # Check whether --with-xinerama was given.
4395 if test ${with_xinerama+y}
4396 then :
4397 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4401 # Check whether --with-xinput was given.
4402 if test ${with_xinput+y}
4403 then :
4404 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4408 # Check whether --with-xinput2 was given.
4409 if test ${with_xinput2+y}
4410 then :
4411 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4415 # Check whether --with-xrandr was given.
4416 if test ${with_xrandr+y}
4417 then :
4418 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4422 # Check whether --with-xrender was given.
4423 if test ${with_xrender+y}
4424 then :
4425 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4429 # Check whether --with-xshape was given.
4430 if test ${with_xshape+y}
4431 then :
4432 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4436 # Check whether --with-xshm was given.
4437 if test ${with_xshm+y}
4438 then :
4439 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4443 # Check whether --with-xxf86vm was given.
4444 if test ${with_xxf86vm+y}
4445 then :
4446 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
4451 # Check whether --with-system-dllpath was given.
4452 if test ${with_system_dllpath+y}
4453 then :
4454 withval=$with_system_dllpath; system_dllpath=$withval
4459 # Check whether --with-wine-tools was given.
4460 if test ${with_wine_tools+y}
4461 then :
4462 withval=$with_wine_tools;
4466 # Check whether --with-wine64 was given.
4467 if test ${with_wine64+y}
4468 then :
4469 withval=$with_wine64;
4476 # Make sure we can run config.sub.
4477 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4478 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4481 printf %s "checking build system type... " >&6; }
4482 if test ${ac_cv_build+y}
4483 then :
4484 printf %s "(cached) " >&6
4485 else $as_nop
4486 ac_build_alias=$build_alias
4487 test "x$ac_build_alias" = x &&
4488 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4489 test "x$ac_build_alias" = x &&
4490 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4491 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4492 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4496 printf "%s\n" "$ac_cv_build" >&6; }
4497 case $ac_cv_build in
4498 *-*-*) ;;
4499 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4500 esac
4501 build=$ac_cv_build
4502 ac_save_IFS=$IFS; IFS='-'
4503 set x $ac_cv_build
4504 shift
4505 build_cpu=$1
4506 build_vendor=$2
4507 shift; shift
4508 # Remember, the first character of IFS is used to create $*,
4509 # except with old shells:
4510 build_os=$*
4511 IFS=$ac_save_IFS
4512 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4516 printf %s "checking host system type... " >&6; }
4517 if test ${ac_cv_host+y}
4518 then :
4519 printf %s "(cached) " >&6
4520 else $as_nop
4521 if test "x$host_alias" = x; then
4522 ac_cv_host=$ac_cv_build
4523 else
4524 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4525 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4530 printf "%s\n" "$ac_cv_host" >&6; }
4531 case $ac_cv_host in
4532 *-*-*) ;;
4533 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4534 esac
4535 host=$ac_cv_host
4536 ac_save_IFS=$IFS; IFS='-'
4537 set x $ac_cv_host
4538 shift
4539 host_cpu=$1
4540 host_vendor=$2
4541 shift; shift
4542 # Remember, the first character of IFS is used to create $*,
4543 # except with old shells:
4544 host_os=$*
4545 IFS=$ac_save_IFS
4546 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4550 dlldir=\${libdir}/wine
4552 fontdir=\${datadir}/wine/fonts
4554 nlsdir=\${datadir}/wine/nls
4559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4560 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4561 set x ${MAKE-make}
4562 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4563 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4564 then :
4565 printf %s "(cached) " >&6
4566 else $as_nop
4567 cat >conftest.make <<\_ACEOF
4568 SHELL = /bin/sh
4569 all:
4570 @echo '@@@%%%=$(MAKE)=@@@%%%'
4571 _ACEOF
4572 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4573 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4574 *@@@%%%=?*=@@@%%%*)
4575 eval ac_cv_prog_make_${ac_make}_set=yes;;
4577 eval ac_cv_prog_make_${ac_make}_set=no;;
4578 esac
4579 rm -f conftest.make
4581 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4583 printf "%s\n" "yes" >&6; }
4584 SET_MAKE=
4585 else
4586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4587 printf "%s\n" "no" >&6; }
4588 SET_MAKE="MAKE=${MAKE-make}"
4600 ac_ext=c
4601 ac_cpp='$CPP $CPPFLAGS'
4602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4605 if test -n "$ac_tool_prefix"; then
4606 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4607 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4609 printf %s "checking for $ac_word... " >&6; }
4610 if test ${ac_cv_prog_CC+y}
4611 then :
4612 printf %s "(cached) " >&6
4613 else $as_nop
4614 if test -n "$CC"; then
4615 ac_cv_prog_CC="$CC" # Let the user override the test.
4616 else
4617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4618 for as_dir in $PATH
4620 IFS=$as_save_IFS
4621 case $as_dir in #(((
4622 '') as_dir=./ ;;
4623 */) ;;
4624 *) as_dir=$as_dir/ ;;
4625 esac
4626 for ac_exec_ext in '' $ac_executable_extensions; do
4627 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4628 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4630 break 2
4632 done
4633 done
4634 IFS=$as_save_IFS
4638 CC=$ac_cv_prog_CC
4639 if test -n "$CC"; then
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4641 printf "%s\n" "$CC" >&6; }
4642 else
4643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644 printf "%s\n" "no" >&6; }
4649 if test -z "$ac_cv_prog_CC"; then
4650 ac_ct_CC=$CC
4651 # Extract the first word of "gcc", so it can be a program name with args.
4652 set dummy gcc; ac_word=$2
4653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 printf %s "checking for $ac_word... " >&6; }
4655 if test ${ac_cv_prog_ac_ct_CC+y}
4656 then :
4657 printf %s "(cached) " >&6
4658 else $as_nop
4659 if test -n "$ac_ct_CC"; then
4660 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4661 else
4662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663 for as_dir in $PATH
4665 IFS=$as_save_IFS
4666 case $as_dir in #(((
4667 '') as_dir=./ ;;
4668 */) ;;
4669 *) as_dir=$as_dir/ ;;
4670 esac
4671 for ac_exec_ext in '' $ac_executable_extensions; do
4672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4673 ac_cv_prog_ac_ct_CC="gcc"
4674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4675 break 2
4677 done
4678 done
4679 IFS=$as_save_IFS
4683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4684 if test -n "$ac_ct_CC"; then
4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4686 printf "%s\n" "$ac_ct_CC" >&6; }
4687 else
4688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 printf "%s\n" "no" >&6; }
4692 if test "x$ac_ct_CC" = x; then
4693 CC=""
4694 else
4695 case $cross_compiling:$ac_tool_warned in
4696 yes:)
4697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4698 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4699 ac_tool_warned=yes ;;
4700 esac
4701 CC=$ac_ct_CC
4703 else
4704 CC="$ac_cv_prog_CC"
4707 if test -z "$CC"; then
4708 if test -n "$ac_tool_prefix"; then
4709 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4710 set dummy ${ac_tool_prefix}cc; ac_word=$2
4711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 printf %s "checking for $ac_word... " >&6; }
4713 if test ${ac_cv_prog_CC+y}
4714 then :
4715 printf %s "(cached) " >&6
4716 else $as_nop
4717 if test -n "$CC"; then
4718 ac_cv_prog_CC="$CC" # Let the user override the test.
4719 else
4720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4721 for as_dir in $PATH
4723 IFS=$as_save_IFS
4724 case $as_dir in #(((
4725 '') as_dir=./ ;;
4726 */) ;;
4727 *) as_dir=$as_dir/ ;;
4728 esac
4729 for ac_exec_ext in '' $ac_executable_extensions; do
4730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4731 ac_cv_prog_CC="${ac_tool_prefix}cc"
4732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4733 break 2
4735 done
4736 done
4737 IFS=$as_save_IFS
4741 CC=$ac_cv_prog_CC
4742 if test -n "$CC"; then
4743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4744 printf "%s\n" "$CC" >&6; }
4745 else
4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 printf "%s\n" "no" >&6; }
4753 if test -z "$CC"; then
4754 # Extract the first word of "cc", so it can be a program name with args.
4755 set dummy cc; ac_word=$2
4756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 printf %s "checking for $ac_word... " >&6; }
4758 if test ${ac_cv_prog_CC+y}
4759 then :
4760 printf %s "(cached) " >&6
4761 else $as_nop
4762 if test -n "$CC"; then
4763 ac_cv_prog_CC="$CC" # Let the user override the test.
4764 else
4765 ac_prog_rejected=no
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 for as_dir in $PATH
4769 IFS=$as_save_IFS
4770 case $as_dir in #(((
4771 '') as_dir=./ ;;
4772 */) ;;
4773 *) as_dir=$as_dir/ ;;
4774 esac
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4777 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4778 ac_prog_rejected=yes
4779 continue
4781 ac_cv_prog_CC="cc"
4782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4783 break 2
4785 done
4786 done
4787 IFS=$as_save_IFS
4789 if test $ac_prog_rejected = yes; then
4790 # We found a bogon in the path, so make sure we never use it.
4791 set dummy $ac_cv_prog_CC
4792 shift
4793 if test $# != 0; then
4794 # We chose a different compiler from the bogus one.
4795 # However, it has the same basename, so the bogon will be chosen
4796 # first if we set CC to just the basename; use the full file name.
4797 shift
4798 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4803 CC=$ac_cv_prog_CC
4804 if test -n "$CC"; then
4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4806 printf "%s\n" "$CC" >&6; }
4807 else
4808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 printf "%s\n" "no" >&6; }
4814 if test -z "$CC"; then
4815 if test -n "$ac_tool_prefix"; then
4816 for ac_prog in cl.exe
4818 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4819 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 printf %s "checking for $ac_word... " >&6; }
4822 if test ${ac_cv_prog_CC+y}
4823 then :
4824 printf %s "(cached) " >&6
4825 else $as_nop
4826 if test -n "$CC"; then
4827 ac_cv_prog_CC="$CC" # Let the user override the test.
4828 else
4829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4830 for as_dir in $PATH
4832 IFS=$as_save_IFS
4833 case $as_dir in #(((
4834 '') as_dir=./ ;;
4835 */) ;;
4836 *) as_dir=$as_dir/ ;;
4837 esac
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4840 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4842 break 2
4844 done
4845 done
4846 IFS=$as_save_IFS
4850 CC=$ac_cv_prog_CC
4851 if test -n "$CC"; then
4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4853 printf "%s\n" "$CC" >&6; }
4854 else
4855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 printf "%s\n" "no" >&6; }
4860 test -n "$CC" && break
4861 done
4863 if test -z "$CC"; then
4864 ac_ct_CC=$CC
4865 for ac_prog in cl.exe
4867 # Extract the first word of "$ac_prog", so it can be a program name with args.
4868 set dummy $ac_prog; ac_word=$2
4869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870 printf %s "checking for $ac_word... " >&6; }
4871 if test ${ac_cv_prog_ac_ct_CC+y}
4872 then :
4873 printf %s "(cached) " >&6
4874 else $as_nop
4875 if test -n "$ac_ct_CC"; then
4876 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4877 else
4878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4879 for as_dir in $PATH
4881 IFS=$as_save_IFS
4882 case $as_dir in #(((
4883 '') as_dir=./ ;;
4884 */) ;;
4885 *) as_dir=$as_dir/ ;;
4886 esac
4887 for ac_exec_ext in '' $ac_executable_extensions; do
4888 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_ac_ct_CC="$ac_prog"
4890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4891 break 2
4893 done
4894 done
4895 IFS=$as_save_IFS
4899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4900 if test -n "$ac_ct_CC"; then
4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4902 printf "%s\n" "$ac_ct_CC" >&6; }
4903 else
4904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 printf "%s\n" "no" >&6; }
4909 test -n "$ac_ct_CC" && break
4910 done
4912 if test "x$ac_ct_CC" = x; then
4913 CC=""
4914 else
4915 case $cross_compiling:$ac_tool_warned in
4916 yes:)
4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4918 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4919 ac_tool_warned=yes ;;
4920 esac
4921 CC=$ac_ct_CC
4926 if test -z "$CC"; then
4927 if test -n "$ac_tool_prefix"; then
4928 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4929 set dummy ${ac_tool_prefix}clang; ac_word=$2
4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 printf %s "checking for $ac_word... " >&6; }
4932 if test ${ac_cv_prog_CC+y}
4933 then :
4934 printf %s "(cached) " >&6
4935 else $as_nop
4936 if test -n "$CC"; then
4937 ac_cv_prog_CC="$CC" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4942 IFS=$as_save_IFS
4943 case $as_dir in #(((
4944 '') as_dir=./ ;;
4945 */) ;;
4946 *) as_dir=$as_dir/ ;;
4947 esac
4948 for ac_exec_ext in '' $ac_executable_extensions; do
4949 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_CC="${ac_tool_prefix}clang"
4951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4952 break 2
4954 done
4955 done
4956 IFS=$as_save_IFS
4960 CC=$ac_cv_prog_CC
4961 if test -n "$CC"; then
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4963 printf "%s\n" "$CC" >&6; }
4964 else
4965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 printf "%s\n" "no" >&6; }
4971 if test -z "$ac_cv_prog_CC"; then
4972 ac_ct_CC=$CC
4973 # Extract the first word of "clang", so it can be a program name with args.
4974 set dummy clang; ac_word=$2
4975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 printf %s "checking for $ac_word... " >&6; }
4977 if test ${ac_cv_prog_ac_ct_CC+y}
4978 then :
4979 printf %s "(cached) " >&6
4980 else $as_nop
4981 if test -n "$ac_ct_CC"; then
4982 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4983 else
4984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4985 for as_dir in $PATH
4987 IFS=$as_save_IFS
4988 case $as_dir in #(((
4989 '') as_dir=./ ;;
4990 */) ;;
4991 *) as_dir=$as_dir/ ;;
4992 esac
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_ac_ct_CC="clang"
4996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4997 break 2
4999 done
5000 done
5001 IFS=$as_save_IFS
5005 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5006 if test -n "$ac_ct_CC"; then
5007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5008 printf "%s\n" "$ac_ct_CC" >&6; }
5009 else
5010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 printf "%s\n" "no" >&6; }
5014 if test "x$ac_ct_CC" = x; then
5015 CC=""
5016 else
5017 case $cross_compiling:$ac_tool_warned in
5018 yes:)
5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5020 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5021 ac_tool_warned=yes ;;
5022 esac
5023 CC=$ac_ct_CC
5025 else
5026 CC="$ac_cv_prog_CC"
5032 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5033 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5034 as_fn_error $? "no acceptable C compiler found in \$PATH
5035 See \`config.log' for more details" "$LINENO" 5; }
5037 # Provide some information about the compiler.
5038 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5039 set X $ac_compile
5040 ac_compiler=$2
5041 for ac_option in --version -v -V -qversion -version; do
5042 { { ac_try="$ac_compiler $ac_option >&5"
5043 case "(($ac_try" in
5044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5045 *) ac_try_echo=$ac_try;;
5046 esac
5047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5048 printf "%s\n" "$ac_try_echo"; } >&5
5049 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5050 ac_status=$?
5051 if test -s conftest.err; then
5052 sed '10a\
5053 ... rest of stderr output deleted ...
5054 10q' conftest.err >conftest.er1
5055 cat conftest.er1 >&5
5057 rm -f conftest.er1 conftest.err
5058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5059 test $ac_status = 0; }
5060 done
5062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5063 /* end confdefs.h. */
5066 main (void)
5070 return 0;
5072 _ACEOF
5073 ac_clean_files_save=$ac_clean_files
5074 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5075 # Try to create an executable without -o first, disregard a.out.
5076 # It will help us diagnose broken compilers, and finding out an intuition
5077 # of exeext.
5078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5079 printf %s "checking whether the C compiler works... " >&6; }
5080 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5082 # The possible output files:
5083 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5085 ac_rmfiles=
5086 for ac_file in $ac_files
5088 case $ac_file in
5089 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5090 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5091 esac
5092 done
5093 rm -f $ac_rmfiles
5095 if { { ac_try="$ac_link_default"
5096 case "(($ac_try" in
5097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5098 *) ac_try_echo=$ac_try;;
5099 esac
5100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5101 printf "%s\n" "$ac_try_echo"; } >&5
5102 (eval "$ac_link_default") 2>&5
5103 ac_status=$?
5104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5105 test $ac_status = 0; }
5106 then :
5107 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5108 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5109 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5110 # so that the user can short-circuit this test for compilers unknown to
5111 # Autoconf.
5112 for ac_file in $ac_files ''
5114 test -f "$ac_file" || continue
5115 case $ac_file in
5116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5118 [ab].out )
5119 # We found the default executable, but exeext='' is most
5120 # certainly right.
5121 break;;
5122 *.* )
5123 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5124 then :; else
5125 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5127 # We set ac_cv_exeext here because the later test for it is not
5128 # safe: cross compilers may not add the suffix if given an `-o'
5129 # argument, so we may need to know it at that point already.
5130 # Even if this section looks crufty: it has the advantage of
5131 # actually working.
5132 break;;
5134 break;;
5135 esac
5136 done
5137 test "$ac_cv_exeext" = no && ac_cv_exeext=
5139 else $as_nop
5140 ac_file=''
5142 if test -z "$ac_file"
5143 then :
5144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5145 printf "%s\n" "no" >&6; }
5146 printf "%s\n" "$as_me: failed program was:" >&5
5147 sed 's/^/| /' conftest.$ac_ext >&5
5149 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5150 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5151 as_fn_error 77 "C compiler cannot create executables
5152 See \`config.log' for more details" "$LINENO" 5; }
5153 else $as_nop
5154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5155 printf "%s\n" "yes" >&6; }
5157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5158 printf %s "checking for C compiler default output file name... " >&6; }
5159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5160 printf "%s\n" "$ac_file" >&6; }
5161 ac_exeext=$ac_cv_exeext
5163 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5164 ac_clean_files=$ac_clean_files_save
5165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5166 printf %s "checking for suffix of executables... " >&6; }
5167 if { { ac_try="$ac_link"
5168 case "(($ac_try" in
5169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5170 *) ac_try_echo=$ac_try;;
5171 esac
5172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5173 printf "%s\n" "$ac_try_echo"; } >&5
5174 (eval "$ac_link") 2>&5
5175 ac_status=$?
5176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5177 test $ac_status = 0; }
5178 then :
5179 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5180 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5181 # work properly (i.e., refer to `conftest.exe'), while it won't with
5182 # `rm'.
5183 for ac_file in conftest.exe conftest conftest.*; do
5184 test -f "$ac_file" || continue
5185 case $ac_file in
5186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5187 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5188 break;;
5189 * ) break;;
5190 esac
5191 done
5192 else $as_nop
5193 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5194 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5195 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5196 See \`config.log' for more details" "$LINENO" 5; }
5198 rm -f conftest conftest$ac_cv_exeext
5199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5200 printf "%s\n" "$ac_cv_exeext" >&6; }
5202 rm -f conftest.$ac_ext
5203 EXEEXT=$ac_cv_exeext
5204 ac_exeext=$EXEEXT
5205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5207 #include <stdio.h>
5209 main (void)
5211 FILE *f = fopen ("conftest.out", "w");
5212 return ferror (f) || fclose (f) != 0;
5215 return 0;
5217 _ACEOF
5218 ac_clean_files="$ac_clean_files conftest.out"
5219 # Check that the compiler produces executables we can run. If not, either
5220 # the compiler is broken, or we cross compile.
5221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5222 printf %s "checking whether we are cross compiling... " >&6; }
5223 if test "$cross_compiling" != yes; then
5224 { { ac_try="$ac_link"
5225 case "(($ac_try" in
5226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5227 *) ac_try_echo=$ac_try;;
5228 esac
5229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5230 printf "%s\n" "$ac_try_echo"; } >&5
5231 (eval "$ac_link") 2>&5
5232 ac_status=$?
5233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5234 test $ac_status = 0; }
5235 if { ac_try='./conftest$ac_cv_exeext'
5236 { { case "(($ac_try" in
5237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5238 *) ac_try_echo=$ac_try;;
5239 esac
5240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5241 printf "%s\n" "$ac_try_echo"; } >&5
5242 (eval "$ac_try") 2>&5
5243 ac_status=$?
5244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5245 test $ac_status = 0; }; }; then
5246 cross_compiling=no
5247 else
5248 if test "$cross_compiling" = maybe; then
5249 cross_compiling=yes
5250 else
5251 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5252 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5253 as_fn_error 77 "cannot run C compiled programs.
5254 If you meant to cross compile, use \`--host'.
5255 See \`config.log' for more details" "$LINENO" 5; }
5259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5260 printf "%s\n" "$cross_compiling" >&6; }
5262 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5263 ac_clean_files=$ac_clean_files_save
5264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5265 printf %s "checking for suffix of object files... " >&6; }
5266 if test ${ac_cv_objext+y}
5267 then :
5268 printf %s "(cached) " >&6
5269 else $as_nop
5270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5271 /* end confdefs.h. */
5274 main (void)
5278 return 0;
5280 _ACEOF
5281 rm -f conftest.o conftest.obj
5282 if { { ac_try="$ac_compile"
5283 case "(($ac_try" in
5284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5285 *) ac_try_echo=$ac_try;;
5286 esac
5287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5288 printf "%s\n" "$ac_try_echo"; } >&5
5289 (eval "$ac_compile") 2>&5
5290 ac_status=$?
5291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5292 test $ac_status = 0; }
5293 then :
5294 for ac_file in conftest.o conftest.obj conftest.*; do
5295 test -f "$ac_file" || continue;
5296 case $ac_file in
5297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5298 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5299 break;;
5300 esac
5301 done
5302 else $as_nop
5303 printf "%s\n" "$as_me: failed program was:" >&5
5304 sed 's/^/| /' conftest.$ac_ext >&5
5306 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5307 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5308 as_fn_error $? "cannot compute suffix of object files: cannot compile
5309 See \`config.log' for more details" "$LINENO" 5; }
5311 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5314 printf "%s\n" "$ac_cv_objext" >&6; }
5315 OBJEXT=$ac_cv_objext
5316 ac_objext=$OBJEXT
5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5318 printf %s "checking whether the compiler supports GNU C... " >&6; }
5319 if test ${ac_cv_c_compiler_gnu+y}
5320 then :
5321 printf %s "(cached) " >&6
5322 else $as_nop
5323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5324 /* end confdefs.h. */
5327 main (void)
5329 #ifndef __GNUC__
5330 choke me
5331 #endif
5334 return 0;
5336 _ACEOF
5337 if ac_fn_c_try_compile "$LINENO"
5338 then :
5339 ac_compiler_gnu=yes
5340 else $as_nop
5341 ac_compiler_gnu=no
5343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5344 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5348 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5351 if test $ac_compiler_gnu = yes; then
5352 GCC=yes
5353 else
5354 GCC=
5356 ac_test_CFLAGS=${CFLAGS+y}
5357 ac_save_CFLAGS=$CFLAGS
5358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5359 printf %s "checking whether $CC accepts -g... " >&6; }
5360 if test ${ac_cv_prog_cc_g+y}
5361 then :
5362 printf %s "(cached) " >&6
5363 else $as_nop
5364 ac_save_c_werror_flag=$ac_c_werror_flag
5365 ac_c_werror_flag=yes
5366 ac_cv_prog_cc_g=no
5367 CFLAGS="-g"
5368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5369 /* end confdefs.h. */
5372 main (void)
5376 return 0;
5378 _ACEOF
5379 if ac_fn_c_try_compile "$LINENO"
5380 then :
5381 ac_cv_prog_cc_g=yes
5382 else $as_nop
5383 CFLAGS=""
5384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385 /* end confdefs.h. */
5388 main (void)
5392 return 0;
5394 _ACEOF
5395 if ac_fn_c_try_compile "$LINENO"
5396 then :
5398 else $as_nop
5399 ac_c_werror_flag=$ac_save_c_werror_flag
5400 CFLAGS="-g"
5401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5405 main (void)
5409 return 0;
5411 _ACEOF
5412 if ac_fn_c_try_compile "$LINENO"
5413 then :
5414 ac_cv_prog_cc_g=yes
5416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5420 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5421 ac_c_werror_flag=$ac_save_c_werror_flag
5423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5424 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5425 if test $ac_test_CFLAGS; then
5426 CFLAGS=$ac_save_CFLAGS
5427 elif test $ac_cv_prog_cc_g = yes; then
5428 if test "$GCC" = yes; then
5429 CFLAGS="-g -O2"
5430 else
5431 CFLAGS="-g"
5433 else
5434 if test "$GCC" = yes; then
5435 CFLAGS="-O2"
5436 else
5437 CFLAGS=
5440 ac_prog_cc_stdc=no
5441 if test x$ac_prog_cc_stdc = xno
5442 then :
5443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5444 printf %s "checking for $CC option to enable C11 features... " >&6; }
5445 if test ${ac_cv_prog_cc_c11+y}
5446 then :
5447 printf %s "(cached) " >&6
5448 else $as_nop
5449 ac_cv_prog_cc_c11=no
5450 ac_save_CC=$CC
5451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5452 /* end confdefs.h. */
5453 $ac_c_conftest_c11_program
5454 _ACEOF
5455 for ac_arg in '' -std=gnu11
5457 CC="$ac_save_CC $ac_arg"
5458 if ac_fn_c_try_compile "$LINENO"
5459 then :
5460 ac_cv_prog_cc_c11=$ac_arg
5462 rm -f core conftest.err conftest.$ac_objext conftest.beam
5463 test "x$ac_cv_prog_cc_c11" != "xno" && break
5464 done
5465 rm -f conftest.$ac_ext
5466 CC=$ac_save_CC
5469 if test "x$ac_cv_prog_cc_c11" = xno
5470 then :
5471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5472 printf "%s\n" "unsupported" >&6; }
5473 else $as_nop
5474 if test "x$ac_cv_prog_cc_c11" = x
5475 then :
5476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5477 printf "%s\n" "none needed" >&6; }
5478 else $as_nop
5479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5480 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5481 CC="$CC $ac_cv_prog_cc_c11"
5483 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5484 ac_prog_cc_stdc=c11
5487 if test x$ac_prog_cc_stdc = xno
5488 then :
5489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5490 printf %s "checking for $CC option to enable C99 features... " >&6; }
5491 if test ${ac_cv_prog_cc_c99+y}
5492 then :
5493 printf %s "(cached) " >&6
5494 else $as_nop
5495 ac_cv_prog_cc_c99=no
5496 ac_save_CC=$CC
5497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5498 /* end confdefs.h. */
5499 $ac_c_conftest_c99_program
5500 _ACEOF
5501 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5503 CC="$ac_save_CC $ac_arg"
5504 if ac_fn_c_try_compile "$LINENO"
5505 then :
5506 ac_cv_prog_cc_c99=$ac_arg
5508 rm -f core conftest.err conftest.$ac_objext conftest.beam
5509 test "x$ac_cv_prog_cc_c99" != "xno" && break
5510 done
5511 rm -f conftest.$ac_ext
5512 CC=$ac_save_CC
5515 if test "x$ac_cv_prog_cc_c99" = xno
5516 then :
5517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5518 printf "%s\n" "unsupported" >&6; }
5519 else $as_nop
5520 if test "x$ac_cv_prog_cc_c99" = x
5521 then :
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5523 printf "%s\n" "none needed" >&6; }
5524 else $as_nop
5525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5526 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5527 CC="$CC $ac_cv_prog_cc_c99"
5529 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5530 ac_prog_cc_stdc=c99
5533 if test x$ac_prog_cc_stdc = xno
5534 then :
5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5536 printf %s "checking for $CC option to enable C89 features... " >&6; }
5537 if test ${ac_cv_prog_cc_c89+y}
5538 then :
5539 printf %s "(cached) " >&6
5540 else $as_nop
5541 ac_cv_prog_cc_c89=no
5542 ac_save_CC=$CC
5543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5544 /* end confdefs.h. */
5545 $ac_c_conftest_c89_program
5546 _ACEOF
5547 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5549 CC="$ac_save_CC $ac_arg"
5550 if ac_fn_c_try_compile "$LINENO"
5551 then :
5552 ac_cv_prog_cc_c89=$ac_arg
5554 rm -f core conftest.err conftest.$ac_objext conftest.beam
5555 test "x$ac_cv_prog_cc_c89" != "xno" && break
5556 done
5557 rm -f conftest.$ac_ext
5558 CC=$ac_save_CC
5561 if test "x$ac_cv_prog_cc_c89" = xno
5562 then :
5563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5564 printf "%s\n" "unsupported" >&6; }
5565 else $as_nop
5566 if test "x$ac_cv_prog_cc_c89" = x
5567 then :
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5569 printf "%s\n" "none needed" >&6; }
5570 else $as_nop
5571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5572 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5573 CC="$CC $ac_cv_prog_cc_c89"
5575 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5576 ac_prog_cc_stdc=c89
5580 ac_ext=c
5581 ac_cpp='$CPP $CPPFLAGS'
5582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5592 ac_ext=cpp
5593 ac_cpp='$CXXCPP $CPPFLAGS'
5594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5597 if test -z "$CXX"; then
5598 if test -n "$CCC"; then
5599 CXX=$CCC
5600 else
5601 if test -n "$ac_tool_prefix"; then
5602 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5604 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5605 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 printf %s "checking for $ac_word... " >&6; }
5608 if test ${ac_cv_prog_CXX+y}
5609 then :
5610 printf %s "(cached) " >&6
5611 else $as_nop
5612 if test -n "$CXX"; then
5613 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5614 else
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 for as_dir in $PATH
5618 IFS=$as_save_IFS
5619 case $as_dir in #(((
5620 '') as_dir=./ ;;
5621 */) ;;
5622 *) as_dir=$as_dir/ ;;
5623 esac
5624 for ac_exec_ext in '' $ac_executable_extensions; do
5625 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5626 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5628 break 2
5630 done
5631 done
5632 IFS=$as_save_IFS
5636 CXX=$ac_cv_prog_CXX
5637 if test -n "$CXX"; then
5638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5639 printf "%s\n" "$CXX" >&6; }
5640 else
5641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642 printf "%s\n" "no" >&6; }
5646 test -n "$CXX" && break
5647 done
5649 if test -z "$CXX"; then
5650 ac_ct_CXX=$CXX
5651 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5653 # Extract the first word of "$ac_prog", so it can be a program name with args.
5654 set dummy $ac_prog; ac_word=$2
5655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656 printf %s "checking for $ac_word... " >&6; }
5657 if test ${ac_cv_prog_ac_ct_CXX+y}
5658 then :
5659 printf %s "(cached) " >&6
5660 else $as_nop
5661 if test -n "$ac_ct_CXX"; then
5662 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5663 else
5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 for as_dir in $PATH
5667 IFS=$as_save_IFS
5668 case $as_dir in #(((
5669 '') as_dir=./ ;;
5670 */) ;;
5671 *) as_dir=$as_dir/ ;;
5672 esac
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_ac_ct_CXX="$ac_prog"
5676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5677 break 2
5679 done
5680 done
5681 IFS=$as_save_IFS
5685 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5686 if test -n "$ac_ct_CXX"; then
5687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5688 printf "%s\n" "$ac_ct_CXX" >&6; }
5689 else
5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 printf "%s\n" "no" >&6; }
5695 test -n "$ac_ct_CXX" && break
5696 done
5698 if test "x$ac_ct_CXX" = x; then
5699 CXX="g++"
5700 else
5701 case $cross_compiling:$ac_tool_warned in
5702 yes:)
5703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5704 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705 ac_tool_warned=yes ;;
5706 esac
5707 CXX=$ac_ct_CXX
5713 # Provide some information about the compiler.
5714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5715 set X $ac_compile
5716 ac_compiler=$2
5717 for ac_option in --version -v -V -qversion; do
5718 { { ac_try="$ac_compiler $ac_option >&5"
5719 case "(($ac_try" in
5720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5721 *) ac_try_echo=$ac_try;;
5722 esac
5723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5724 printf "%s\n" "$ac_try_echo"; } >&5
5725 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5726 ac_status=$?
5727 if test -s conftest.err; then
5728 sed '10a\
5729 ... rest of stderr output deleted ...
5730 10q' conftest.err >conftest.er1
5731 cat conftest.er1 >&5
5733 rm -f conftest.er1 conftest.err
5734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5735 test $ac_status = 0; }
5736 done
5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5739 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5740 if test ${ac_cv_cxx_compiler_gnu+y}
5741 then :
5742 printf %s "(cached) " >&6
5743 else $as_nop
5744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5745 /* end confdefs.h. */
5748 main (void)
5750 #ifndef __GNUC__
5751 choke me
5752 #endif
5755 return 0;
5757 _ACEOF
5758 if ac_fn_cxx_try_compile "$LINENO"
5759 then :
5760 ac_compiler_gnu=yes
5761 else $as_nop
5762 ac_compiler_gnu=no
5764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5765 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5769 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5772 if test $ac_compiler_gnu = yes; then
5773 GXX=yes
5774 else
5775 GXX=
5777 ac_test_CXXFLAGS=${CXXFLAGS+y}
5778 ac_save_CXXFLAGS=$CXXFLAGS
5779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5780 printf %s "checking whether $CXX accepts -g... " >&6; }
5781 if test ${ac_cv_prog_cxx_g+y}
5782 then :
5783 printf %s "(cached) " >&6
5784 else $as_nop
5785 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5786 ac_cxx_werror_flag=yes
5787 ac_cv_prog_cxx_g=no
5788 CXXFLAGS="-g"
5789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5790 /* end confdefs.h. */
5793 main (void)
5797 return 0;
5799 _ACEOF
5800 if ac_fn_cxx_try_compile "$LINENO"
5801 then :
5802 ac_cv_prog_cxx_g=yes
5803 else $as_nop
5804 CXXFLAGS=""
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5809 main (void)
5813 return 0;
5815 _ACEOF
5816 if ac_fn_cxx_try_compile "$LINENO"
5817 then :
5819 else $as_nop
5820 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5821 CXXFLAGS="-g"
5822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5823 /* end confdefs.h. */
5826 main (void)
5830 return 0;
5832 _ACEOF
5833 if ac_fn_cxx_try_compile "$LINENO"
5834 then :
5835 ac_cv_prog_cxx_g=yes
5837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5842 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5845 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5846 if test $ac_test_CXXFLAGS; then
5847 CXXFLAGS=$ac_save_CXXFLAGS
5848 elif test $ac_cv_prog_cxx_g = yes; then
5849 if test "$GXX" = yes; then
5850 CXXFLAGS="-g -O2"
5851 else
5852 CXXFLAGS="-g"
5854 else
5855 if test "$GXX" = yes; then
5856 CXXFLAGS="-O2"
5857 else
5858 CXXFLAGS=
5861 ac_prog_cxx_stdcxx=no
5862 if test x$ac_prog_cxx_stdcxx = xno
5863 then :
5864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5865 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5866 if test ${ac_cv_prog_cxx_11+y}
5867 then :
5868 printf %s "(cached) " >&6
5869 else $as_nop
5870 ac_cv_prog_cxx_11=no
5871 ac_save_CXX=$CXX
5872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5873 /* end confdefs.h. */
5874 $ac_cxx_conftest_cxx11_program
5875 _ACEOF
5876 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5878 CXX="$ac_save_CXX $ac_arg"
5879 if ac_fn_cxx_try_compile "$LINENO"
5880 then :
5881 ac_cv_prog_cxx_cxx11=$ac_arg
5883 rm -f core conftest.err conftest.$ac_objext conftest.beam
5884 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5885 done
5886 rm -f conftest.$ac_ext
5887 CXX=$ac_save_CXX
5890 if test "x$ac_cv_prog_cxx_cxx11" = xno
5891 then :
5892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5893 printf "%s\n" "unsupported" >&6; }
5894 else $as_nop
5895 if test "x$ac_cv_prog_cxx_cxx11" = x
5896 then :
5897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5898 printf "%s\n" "none needed" >&6; }
5899 else $as_nop
5900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5901 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5902 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5904 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5905 ac_prog_cxx_stdcxx=cxx11
5908 if test x$ac_prog_cxx_stdcxx = xno
5909 then :
5910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5911 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5912 if test ${ac_cv_prog_cxx_98+y}
5913 then :
5914 printf %s "(cached) " >&6
5915 else $as_nop
5916 ac_cv_prog_cxx_98=no
5917 ac_save_CXX=$CXX
5918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5919 /* end confdefs.h. */
5920 $ac_cxx_conftest_cxx98_program
5921 _ACEOF
5922 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5924 CXX="$ac_save_CXX $ac_arg"
5925 if ac_fn_cxx_try_compile "$LINENO"
5926 then :
5927 ac_cv_prog_cxx_cxx98=$ac_arg
5929 rm -f core conftest.err conftest.$ac_objext conftest.beam
5930 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5931 done
5932 rm -f conftest.$ac_ext
5933 CXX=$ac_save_CXX
5936 if test "x$ac_cv_prog_cxx_cxx98" = xno
5937 then :
5938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5939 printf "%s\n" "unsupported" >&6; }
5940 else $as_nop
5941 if test "x$ac_cv_prog_cxx_cxx98" = x
5942 then :
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5944 printf "%s\n" "none needed" >&6; }
5945 else $as_nop
5946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5947 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5948 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5950 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5951 ac_prog_cxx_stdcxx=cxx98
5955 ac_ext=c
5956 ac_cpp='$CPP $CPPFLAGS'
5957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5961 if test -n "$ac_tool_prefix"; then
5962 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5963 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5965 printf %s "checking for $ac_word... " >&6; }
5966 if test ${ac_cv_prog_CPPBIN+y}
5967 then :
5968 printf %s "(cached) " >&6
5969 else $as_nop
5970 if test -n "$CPPBIN"; then
5971 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5972 else
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 for as_dir in $PATH
5976 IFS=$as_save_IFS
5977 case $as_dir in #(((
5978 '') as_dir=./ ;;
5979 */) ;;
5980 *) as_dir=$as_dir/ ;;
5981 esac
5982 for ac_exec_ext in '' $ac_executable_extensions; do
5983 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5984 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5986 break 2
5988 done
5989 done
5990 IFS=$as_save_IFS
5994 CPPBIN=$ac_cv_prog_CPPBIN
5995 if test -n "$CPPBIN"; then
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5997 printf "%s\n" "$CPPBIN" >&6; }
5998 else
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6000 printf "%s\n" "no" >&6; }
6005 if test -z "$ac_cv_prog_CPPBIN"; then
6006 ac_ct_CPPBIN=$CPPBIN
6007 # Extract the first word of "cpp", so it can be a program name with args.
6008 set dummy cpp; ac_word=$2
6009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010 printf %s "checking for $ac_word... " >&6; }
6011 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6012 then :
6013 printf %s "(cached) " >&6
6014 else $as_nop
6015 if test -n "$ac_ct_CPPBIN"; then
6016 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6017 else
6018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6019 for as_dir in $PATH
6021 IFS=$as_save_IFS
6022 case $as_dir in #(((
6023 '') as_dir=./ ;;
6024 */) ;;
6025 *) as_dir=$as_dir/ ;;
6026 esac
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_ac_ct_CPPBIN="cpp"
6030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6031 break 2
6033 done
6034 done
6035 IFS=$as_save_IFS
6039 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6040 if test -n "$ac_ct_CPPBIN"; then
6041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6042 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6043 else
6044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 printf "%s\n" "no" >&6; }
6048 if test "x$ac_ct_CPPBIN" = x; then
6049 CPPBIN="cpp"
6050 else
6051 case $cross_compiling:$ac_tool_warned in
6052 yes:)
6053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6054 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6055 ac_tool_warned=yes ;;
6056 esac
6057 CPPBIN=$ac_ct_CPPBIN
6059 else
6060 CPPBIN="$ac_cv_prog_CPPBIN"
6064 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6066 if test -n "$ac_tool_prefix"; then
6067 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6068 set dummy ${ac_tool_prefix}ld; ac_word=$2
6069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 printf %s "checking for $ac_word... " >&6; }
6071 if test ${ac_cv_prog_LD+y}
6072 then :
6073 printf %s "(cached) " >&6
6074 else $as_nop
6075 if test -n "$LD"; then
6076 ac_cv_prog_LD="$LD" # Let the user override the test.
6077 else
6078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6079 for as_dir in $PATH
6081 IFS=$as_save_IFS
6082 case $as_dir in #(((
6083 '') as_dir=./ ;;
6084 */) ;;
6085 *) as_dir=$as_dir/ ;;
6086 esac
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_LD="${ac_tool_prefix}ld"
6090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6091 break 2
6093 done
6094 done
6095 IFS=$as_save_IFS
6099 LD=$ac_cv_prog_LD
6100 if test -n "$LD"; then
6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6102 printf "%s\n" "$LD" >&6; }
6103 else
6104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 printf "%s\n" "no" >&6; }
6110 if test -z "$ac_cv_prog_LD"; then
6111 ac_ct_LD=$LD
6112 # Extract the first word of "ld", so it can be a program name with args.
6113 set dummy ld; ac_word=$2
6114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 printf %s "checking for $ac_word... " >&6; }
6116 if test ${ac_cv_prog_ac_ct_LD+y}
6117 then :
6118 printf %s "(cached) " >&6
6119 else $as_nop
6120 if test -n "$ac_ct_LD"; then
6121 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6122 else
6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124 for as_dir in $PATH
6126 IFS=$as_save_IFS
6127 case $as_dir in #(((
6128 '') as_dir=./ ;;
6129 */) ;;
6130 *) as_dir=$as_dir/ ;;
6131 esac
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6134 ac_cv_prog_ac_ct_LD="ld"
6135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6136 break 2
6138 done
6139 done
6140 IFS=$as_save_IFS
6144 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6145 if test -n "$ac_ct_LD"; then
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6147 printf "%s\n" "$ac_ct_LD" >&6; }
6148 else
6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 printf "%s\n" "no" >&6; }
6153 if test "x$ac_ct_LD" = x; then
6154 LD=""
6155 else
6156 case $cross_compiling:$ac_tool_warned in
6157 yes:)
6158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6159 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6160 ac_tool_warned=yes ;;
6161 esac
6162 LD=$ac_ct_LD
6164 else
6165 LD="$ac_cv_prog_LD"
6169 case $host in
6170 *-darwin*)
6171 with_fontconfig=${with_fontconfig:-no}
6173 *-mingw32*|*-cygwin*)
6174 enable_win16=${enable_win16:-no}
6175 with_mingw=${with_mingw:-no}
6177 esac
6180 case $host in
6181 x86_64*|amd64*)
6182 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6183 then
6184 CC="$CC -m32"
6185 CXX="$CXX -m32"
6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6188 printf %s "checking whether $CC works... " >&6; }
6189 if test ${wine_cv_cc_m32+y}
6190 then :
6191 printf %s "(cached) " >&6
6192 else $as_nop
6193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6194 /* end confdefs.h. */
6197 main (void)
6201 return 0;
6203 _ACEOF
6204 if ac_fn_c_try_link "$LINENO"
6205 then :
6206 wine_cv_cc_m32=yes
6207 else $as_nop
6208 wine_cv_cc_m32=no
6210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6211 conftest$ac_exeext conftest.$ac_ext
6213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6214 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6215 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
6216 host_cpu="i386"
6217 notice_platform="32-bit "
6218 TARGETFLAGS="$TARGETFLAGS -m32"
6219 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6220 export PKG_CONFIG_PATH
6221 enable_win16=${enable_win16:-yes}
6222 with_unwind=${with_unwind:-no}
6223 else
6224 if test "x${GCC}" = "xyes"
6225 then
6226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6227 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6228 if test ${wine_cv_builtin_ms_va_list+y}
6229 then :
6230 printf %s "(cached) " >&6
6231 else $as_nop
6232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6233 /* end confdefs.h. */
6234 #include <stdarg.h>
6236 main (void)
6238 void func(__builtin_ms_va_list *args);
6240 return 0;
6242 _ACEOF
6243 if ac_fn_c_try_compile "$LINENO"
6244 then :
6245 wine_cv_builtin_ms_va_list=yes
6246 else $as_nop
6247 wine_cv_builtin_ms_va_list=no
6249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6252 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6253 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
6255 CC="$CC -m64"
6256 CXX="$CXX -m64"
6257 host_cpu="x86_64"
6258 notice_platform="64-bit "
6259 TARGETFLAGS="$TARGETFLAGS -m64"
6260 enable_wow64=${enable_wow64:-yes}
6261 enable_wow64win=${enable_wow64win:-yes}
6262 enable_wow64cpu=${enable_wow64cpu:-yes}
6265 arm*)
6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6267 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6268 if test ${wine_cv_thumb2+y}
6269 then :
6270 printf %s "(cached) " >&6
6271 else $as_nop
6272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6273 /* end confdefs.h. */
6276 main (void)
6278 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6280 return 0;
6282 _ACEOF
6283 if ac_fn_c_try_link "$LINENO"
6284 then :
6285 wine_cv_thumb2=yes
6286 else $as_nop
6287 wine_cv_thumb2=no
6289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6290 conftest$ac_exeext conftest.$ac_ext
6292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6293 printf "%s\n" "$wine_cv_thumb2" >&6; }
6294 if test x"$wine_cv_thumb2" = xyes
6295 then
6296 CFLAGS="$CFLAGS -mthumb"
6297 TARGETFLAGS="$TARGETFLAGS -mthumb"
6298 else
6299 CFLAGS="$CFLAGS -marm"
6300 TARGETFLAGS="$TARGETFLAGS -marm"
6302 case $with_float_abi in
6303 soft|softfp|hard)
6304 float_abi=$with_float_abi ;;
6306 case $host_os in
6307 *eabihf)
6308 float_abi=hard ;;
6310 float_abi=softfp
6311 saved_CFLAGS=$CFLAGS
6312 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6314 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6315 if test ${wine_cv_float_abi+y}
6316 then :
6317 printf %s "(cached) " >&6
6318 else $as_nop
6319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6320 /* end confdefs.h. */
6323 main (void)
6325 asm("vmrs r2,fpscr");
6327 return 0;
6329 _ACEOF
6330 if ac_fn_c_try_link "$LINENO"
6331 then :
6332 wine_cv_float_abi=yes
6333 else $as_nop
6334 wine_cv_float_abi=no
6336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6337 conftest$ac_exeext conftest.$ac_ext
6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6340 printf "%s\n" "$wine_cv_float_abi" >&6; }
6341 if test $wine_cv_float_abi = no
6342 then
6343 float_abi=soft
6344 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6346 CFLAGS=$saved_CFLAGS
6347 esac
6349 esac
6350 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6351 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6353 aarch64*)
6354 enable_wow64=${enable_wow64:-yes}
6355 enable_wow64win=${enable_wow64win:-yes}
6357 i[3456789]86*)
6358 enable_win16=${enable_win16:-yes}
6359 with_unwind=${with_unwind:-no}
6361 esac
6363 enable_win16=${enable_win16:-no}
6364 enable_win64=${enable_win64:-no}
6365 enable_wow64=${enable_wow64:-no}
6366 enable_wow64win=${enable_wow64win:-no}
6367 enable_wow64cpu=${enable_wow64cpu:-no}
6369 enable_winetest=${enable_winetest:-$enable_tests}
6371 if test "x$enable_win64" = "xyes"
6372 then
6373 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6374 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6377 case $build_os in
6378 cygwin*|mingw32*) toolsext=".exe"
6380 *) toolsext=""
6382 esac
6384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6385 printf %s "checking for the directory containing the Wine tools... " >&6; }
6386 if test ${wine_cv_toolsdir+y}
6387 then :
6388 printf %s "(cached) " >&6
6389 else $as_nop
6390 wine_cv_toolsdir="$with_wine_tools"
6391 if test -z "$with_wine_tools"; then
6392 if test "$cross_compiling" = "yes"; then
6393 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6394 elif test -n "$with_wine64"; then
6395 wine_cv_toolsdir="$with_wine64"
6399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6400 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6401 if test -z "$wine_cv_toolsdir"; then
6402 wine_makedep=tools/makedep$toolsext
6403 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6404 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6405 enable_tools=${enable_tools:-no}
6406 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6407 else
6408 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6410 toolsdir=$wine_cv_toolsdir
6412 MAKEDEP=$wine_makedep
6414 RUNTESTFLAGS="-q -P wine"
6416 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'"
6419 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6420 then
6421 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6424 for ac_prog in flex
6426 # Extract the first word of "$ac_prog", so it can be a program name with args.
6427 set dummy $ac_prog; ac_word=$2
6428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 printf %s "checking for $ac_word... " >&6; }
6430 if test ${ac_cv_prog_FLEX+y}
6431 then :
6432 printf %s "(cached) " >&6
6433 else $as_nop
6434 if test -n "$FLEX"; then
6435 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6436 else
6437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6438 for as_dir in $PATH
6440 IFS=$as_save_IFS
6441 case $as_dir in #(((
6442 '') as_dir=./ ;;
6443 */) ;;
6444 *) as_dir=$as_dir/ ;;
6445 esac
6446 for ac_exec_ext in '' $ac_executable_extensions; do
6447 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6448 ac_cv_prog_FLEX="$ac_prog"
6449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6450 break 2
6452 done
6453 done
6454 IFS=$as_save_IFS
6458 FLEX=$ac_cv_prog_FLEX
6459 if test -n "$FLEX"; then
6460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6461 printf "%s\n" "$FLEX" >&6; }
6462 else
6463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464 printf "%s\n" "no" >&6; }
6468 test -n "$FLEX" && break
6469 done
6470 test -n "$FLEX" || FLEX="none"
6472 if test "$FLEX" = "none"
6473 then
6474 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6477 printf %s "checking whether flex is recent enough... " >&6; }
6478 if test ${wine_cv_recent_flex+y}
6479 then :
6480 printf %s "(cached) " >&6
6481 else $as_nop
6482 cat >conftest.l <<EOF
6483 %top{
6484 #include "prediluvian.h"
6488 if $FLEX -t conftest.l >/dev/null 2>&5
6489 then
6490 wine_cv_recent_flex=yes
6491 else
6492 wine_cv_recent_flex=no
6495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6496 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6497 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
6499 for ac_prog in bison
6501 # Extract the first word of "$ac_prog", so it can be a program name with args.
6502 set dummy $ac_prog; ac_word=$2
6503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6504 printf %s "checking for $ac_word... " >&6; }
6505 if test ${ac_cv_prog_BISON+y}
6506 then :
6507 printf %s "(cached) " >&6
6508 else $as_nop
6509 if test -n "$BISON"; then
6510 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6511 else
6512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 for as_dir in $PATH
6515 IFS=$as_save_IFS
6516 case $as_dir in #(((
6517 '') as_dir=./ ;;
6518 */) ;;
6519 *) as_dir=$as_dir/ ;;
6520 esac
6521 for ac_exec_ext in '' $ac_executable_extensions; do
6522 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6523 ac_cv_prog_BISON="$ac_prog"
6524 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6525 break 2
6527 done
6528 done
6529 IFS=$as_save_IFS
6533 BISON=$ac_cv_prog_BISON
6534 if test -n "$BISON"; then
6535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6536 printf "%s\n" "$BISON" >&6; }
6537 else
6538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6539 printf "%s\n" "no" >&6; }
6543 test -n "$BISON" && break
6544 done
6545 test -n "$BISON" || BISON="none"
6547 if test "$BISON" = "none"
6548 then
6549 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6552 printf %s "checking whether bison is recent enough... " >&6; }
6553 if test ${wine_cv_recent_bison+y}
6554 then :
6555 printf %s "(cached) " >&6
6556 else $as_nop
6557 cat >conftest.y <<EOF
6558 %define parse.error verbose
6560 empty: ;
6562 if $BISON conftest.y >/dev/null 2>&5
6563 then
6564 wine_cv_recent_bison=yes
6565 else
6566 wine_cv_recent_bison=no
6569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6570 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6571 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
6573 if test -n "$ac_tool_prefix"; then
6574 for ac_prog in ar gar
6576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6577 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579 printf %s "checking for $ac_word... " >&6; }
6580 if test ${ac_cv_prog_AR+y}
6581 then :
6582 printf %s "(cached) " >&6
6583 else $as_nop
6584 if test -n "$AR"; then
6585 ac_cv_prog_AR="$AR" # Let the user override the test.
6586 else
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 for as_dir in $PATH
6590 IFS=$as_save_IFS
6591 case $as_dir in #(((
6592 '') as_dir=./ ;;
6593 */) ;;
6594 *) as_dir=$as_dir/ ;;
6595 esac
6596 for ac_exec_ext in '' $ac_executable_extensions; do
6597 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6598 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6600 break 2
6602 done
6603 done
6604 IFS=$as_save_IFS
6608 AR=$ac_cv_prog_AR
6609 if test -n "$AR"; then
6610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6611 printf "%s\n" "$AR" >&6; }
6612 else
6613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6614 printf "%s\n" "no" >&6; }
6618 test -n "$AR" && break
6619 done
6621 if test -z "$AR"; then
6622 ac_ct_AR=$AR
6623 for ac_prog in ar gar
6625 # Extract the first word of "$ac_prog", so it can be a program name with args.
6626 set dummy $ac_prog; ac_word=$2
6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 printf %s "checking for $ac_word... " >&6; }
6629 if test ${ac_cv_prog_ac_ct_AR+y}
6630 then :
6631 printf %s "(cached) " >&6
6632 else $as_nop
6633 if test -n "$ac_ct_AR"; then
6634 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6635 else
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6637 for as_dir in $PATH
6639 IFS=$as_save_IFS
6640 case $as_dir in #(((
6641 '') as_dir=./ ;;
6642 */) ;;
6643 *) as_dir=$as_dir/ ;;
6644 esac
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6647 ac_cv_prog_ac_ct_AR="$ac_prog"
6648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6649 break 2
6651 done
6652 done
6653 IFS=$as_save_IFS
6657 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6658 if test -n "$ac_ct_AR"; then
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6660 printf "%s\n" "$ac_ct_AR" >&6; }
6661 else
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 printf "%s\n" "no" >&6; }
6667 test -n "$ac_ct_AR" && break
6668 done
6670 if test "x$ac_ct_AR" = x; then
6671 AR="ar"
6672 else
6673 case $cross_compiling:$ac_tool_warned in
6674 yes:)
6675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6676 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6677 ac_tool_warned=yes ;;
6678 esac
6679 AR=$ac_ct_AR
6683 if test -n "$ac_tool_prefix"; then
6684 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6685 set dummy ${ac_tool_prefix}strip; ac_word=$2
6686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6687 printf %s "checking for $ac_word... " >&6; }
6688 if test ${ac_cv_prog_STRIP+y}
6689 then :
6690 printf %s "(cached) " >&6
6691 else $as_nop
6692 if test -n "$STRIP"; then
6693 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6694 else
6695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 for as_dir in $PATH
6698 IFS=$as_save_IFS
6699 case $as_dir in #(((
6700 '') as_dir=./ ;;
6701 */) ;;
6702 *) as_dir=$as_dir/ ;;
6703 esac
6704 for ac_exec_ext in '' $ac_executable_extensions; do
6705 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6706 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6708 break 2
6710 done
6711 done
6712 IFS=$as_save_IFS
6716 STRIP=$ac_cv_prog_STRIP
6717 if test -n "$STRIP"; then
6718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6719 printf "%s\n" "$STRIP" >&6; }
6720 else
6721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6722 printf "%s\n" "no" >&6; }
6727 if test -z "$ac_cv_prog_STRIP"; then
6728 ac_ct_STRIP=$STRIP
6729 # Extract the first word of "strip", so it can be a program name with args.
6730 set dummy strip; ac_word=$2
6731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 printf %s "checking for $ac_word... " >&6; }
6733 if test ${ac_cv_prog_ac_ct_STRIP+y}
6734 then :
6735 printf %s "(cached) " >&6
6736 else $as_nop
6737 if test -n "$ac_ct_STRIP"; then
6738 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6739 else
6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6741 for as_dir in $PATH
6743 IFS=$as_save_IFS
6744 case $as_dir in #(((
6745 '') as_dir=./ ;;
6746 */) ;;
6747 *) as_dir=$as_dir/ ;;
6748 esac
6749 for ac_exec_ext in '' $ac_executable_extensions; do
6750 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6751 ac_cv_prog_ac_ct_STRIP="strip"
6752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6753 break 2
6755 done
6756 done
6757 IFS=$as_save_IFS
6761 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6762 if test -n "$ac_ct_STRIP"; then
6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6764 printf "%s\n" "$ac_ct_STRIP" >&6; }
6765 else
6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767 printf "%s\n" "no" >&6; }
6770 if test "x$ac_ct_STRIP" = x; then
6771 STRIP="strip"
6772 else
6773 case $cross_compiling:$ac_tool_warned in
6774 yes:)
6775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6776 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6777 ac_tool_warned=yes ;;
6778 esac
6779 STRIP=$ac_ct_STRIP
6781 else
6782 STRIP="$ac_cv_prog_STRIP"
6785 if test -n "$ac_tool_prefix"; then
6786 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6787 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789 printf %s "checking for $ac_word... " >&6; }
6790 if test ${ac_cv_prog_RANLIB+y}
6791 then :
6792 printf %s "(cached) " >&6
6793 else $as_nop
6794 if test -n "$RANLIB"; then
6795 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6796 else
6797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6798 for as_dir in $PATH
6800 IFS=$as_save_IFS
6801 case $as_dir in #(((
6802 '') as_dir=./ ;;
6803 */) ;;
6804 *) as_dir=$as_dir/ ;;
6805 esac
6806 for ac_exec_ext in '' $ac_executable_extensions; do
6807 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6808 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6809 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6810 break 2
6812 done
6813 done
6814 IFS=$as_save_IFS
6818 RANLIB=$ac_cv_prog_RANLIB
6819 if test -n "$RANLIB"; then
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6821 printf "%s\n" "$RANLIB" >&6; }
6822 else
6823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6824 printf "%s\n" "no" >&6; }
6829 if test -z "$ac_cv_prog_RANLIB"; then
6830 ac_ct_RANLIB=$RANLIB
6831 # Extract the first word of "ranlib", so it can be a program name with args.
6832 set dummy ranlib; ac_word=$2
6833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6834 printf %s "checking for $ac_word... " >&6; }
6835 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6836 then :
6837 printf %s "(cached) " >&6
6838 else $as_nop
6839 if test -n "$ac_ct_RANLIB"; then
6840 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6841 else
6842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6843 for as_dir in $PATH
6845 IFS=$as_save_IFS
6846 case $as_dir in #(((
6847 '') as_dir=./ ;;
6848 */) ;;
6849 *) as_dir=$as_dir/ ;;
6850 esac
6851 for ac_exec_ext in '' $ac_executable_extensions; do
6852 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6853 ac_cv_prog_ac_ct_RANLIB="ranlib"
6854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6855 break 2
6857 done
6858 done
6859 IFS=$as_save_IFS
6863 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6864 if test -n "$ac_ct_RANLIB"; then
6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6866 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6867 else
6868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6869 printf "%s\n" "no" >&6; }
6872 if test "x$ac_ct_RANLIB" = x; then
6873 RANLIB=":"
6874 else
6875 case $cross_compiling:$ac_tool_warned in
6876 yes:)
6877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6878 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6879 ac_tool_warned=yes ;;
6880 esac
6881 RANLIB=$ac_ct_RANLIB
6883 else
6884 RANLIB="$ac_cv_prog_RANLIB"
6887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6888 printf %s "checking whether ln -s works... " >&6; }
6889 LN_S=$as_ln_s
6890 if test "$LN_S" = "ln -s"; then
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6892 printf "%s\n" "yes" >&6; }
6893 else
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6895 printf "%s\n" "no, using $LN_S" >&6; }
6898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6899 printf %s "checking for grep that handles long lines and -e... " >&6; }
6900 if test ${ac_cv_path_GREP+y}
6901 then :
6902 printf %s "(cached) " >&6
6903 else $as_nop
6904 if test -z "$GREP"; then
6905 ac_path_GREP_found=false
6906 # Loop through the user's path and test for each of PROGNAME-LIST
6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6908 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6910 IFS=$as_save_IFS
6911 case $as_dir in #(((
6912 '') as_dir=./ ;;
6913 */) ;;
6914 *) as_dir=$as_dir/ ;;
6915 esac
6916 for ac_prog in grep ggrep
6918 for ac_exec_ext in '' $ac_executable_extensions; do
6919 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6920 as_fn_executable_p "$ac_path_GREP" || continue
6921 # Check for GNU ac_path_GREP and select it if it is found.
6922 # Check for GNU $ac_path_GREP
6923 case `"$ac_path_GREP" --version 2>&1` in
6924 *GNU*)
6925 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6927 ac_count=0
6928 printf %s 0123456789 >"conftest.in"
6929 while :
6931 cat "conftest.in" "conftest.in" >"conftest.tmp"
6932 mv "conftest.tmp" "conftest.in"
6933 cp "conftest.in" "conftest.nl"
6934 printf "%s\n" 'GREP' >> "conftest.nl"
6935 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6936 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6937 as_fn_arith $ac_count + 1 && ac_count=$as_val
6938 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6939 # Best one so far, save it but keep looking for a better one
6940 ac_cv_path_GREP="$ac_path_GREP"
6941 ac_path_GREP_max=$ac_count
6943 # 10*(2^10) chars as input seems more than enough
6944 test $ac_count -gt 10 && break
6945 done
6946 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6947 esac
6949 $ac_path_GREP_found && break 3
6950 done
6951 done
6952 done
6953 IFS=$as_save_IFS
6954 if test -z "$ac_cv_path_GREP"; then
6955 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6957 else
6958 ac_cv_path_GREP=$GREP
6962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6963 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6964 GREP="$ac_cv_path_GREP"
6967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6968 printf %s "checking for egrep... " >&6; }
6969 if test ${ac_cv_path_EGREP+y}
6970 then :
6971 printf %s "(cached) " >&6
6972 else $as_nop
6973 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6974 then ac_cv_path_EGREP="$GREP -E"
6975 else
6976 if test -z "$EGREP"; then
6977 ac_path_EGREP_found=false
6978 # Loop through the user's path and test for each of PROGNAME-LIST
6979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6982 IFS=$as_save_IFS
6983 case $as_dir in #(((
6984 '') as_dir=./ ;;
6985 */) ;;
6986 *) as_dir=$as_dir/ ;;
6987 esac
6988 for ac_prog in egrep
6990 for ac_exec_ext in '' $ac_executable_extensions; do
6991 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6992 as_fn_executable_p "$ac_path_EGREP" || continue
6993 # Check for GNU ac_path_EGREP and select it if it is found.
6994 # Check for GNU $ac_path_EGREP
6995 case `"$ac_path_EGREP" --version 2>&1` in
6996 *GNU*)
6997 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6999 ac_count=0
7000 printf %s 0123456789 >"conftest.in"
7001 while :
7003 cat "conftest.in" "conftest.in" >"conftest.tmp"
7004 mv "conftest.tmp" "conftest.in"
7005 cp "conftest.in" "conftest.nl"
7006 printf "%s\n" 'EGREP' >> "conftest.nl"
7007 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7008 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7009 as_fn_arith $ac_count + 1 && ac_count=$as_val
7010 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7011 # Best one so far, save it but keep looking for a better one
7012 ac_cv_path_EGREP="$ac_path_EGREP"
7013 ac_path_EGREP_max=$ac_count
7015 # 10*(2^10) chars as input seems more than enough
7016 test $ac_count -gt 10 && break
7017 done
7018 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7019 esac
7021 $ac_path_EGREP_found && break 3
7022 done
7023 done
7024 done
7025 IFS=$as_save_IFS
7026 if test -z "$ac_cv_path_EGREP"; then
7027 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7029 else
7030 ac_cv_path_EGREP=$EGREP
7035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7036 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7037 EGREP="$ac_cv_path_EGREP"
7040 # Extract the first word of "ldconfig", so it can be a program name with args.
7041 set dummy ldconfig; ac_word=$2
7042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 printf %s "checking for $ac_word... " >&6; }
7044 if test ${ac_cv_path_LDCONFIG+y}
7045 then :
7046 printf %s "(cached) " >&6
7047 else $as_nop
7048 case $LDCONFIG in
7049 [\\/]* | ?:[\\/]*)
7050 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7054 for as_dir in /sbin /usr/sbin $PATH
7056 IFS=$as_save_IFS
7057 case $as_dir in #(((
7058 '') as_dir=./ ;;
7059 */) ;;
7060 *) as_dir=$as_dir/ ;;
7061 esac
7062 for ac_exec_ext in '' $ac_executable_extensions; do
7063 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7064 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7066 break 2
7068 done
7069 done
7070 IFS=$as_save_IFS
7072 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7074 esac
7076 LDCONFIG=$ac_cv_path_LDCONFIG
7077 if test -n "$LDCONFIG"; then
7078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7079 printf "%s\n" "$LDCONFIG" >&6; }
7080 else
7081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7082 printf "%s\n" "no" >&6; }
7086 for ac_prog in msgfmt
7088 # Extract the first word of "$ac_prog", so it can be a program name with args.
7089 set dummy $ac_prog; ac_word=$2
7090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 printf %s "checking for $ac_word... " >&6; }
7092 if test ${ac_cv_prog_MSGFMT+y}
7093 then :
7094 printf %s "(cached) " >&6
7095 else $as_nop
7096 if test -n "$MSGFMT"; then
7097 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7098 else
7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100 for as_dir in $PATH
7102 IFS=$as_save_IFS
7103 case $as_dir in #(((
7104 '') as_dir=./ ;;
7105 */) ;;
7106 *) as_dir=$as_dir/ ;;
7107 esac
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7110 ac_cv_prog_MSGFMT="$ac_prog"
7111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7112 break 2
7114 done
7115 done
7116 IFS=$as_save_IFS
7120 MSGFMT=$ac_cv_prog_MSGFMT
7121 if test -n "$MSGFMT"; then
7122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7123 printf "%s\n" "$MSGFMT" >&6; }
7124 else
7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126 printf "%s\n" "no" >&6; }
7130 test -n "$MSGFMT" && break
7131 done
7132 test -n "$MSGFMT" || MSGFMT="false"
7134 if test ${ac_tool_prefix+y}
7135 then :
7136 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7137 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7139 printf %s "checking for $ac_word... " >&6; }
7140 if test ${ac_cv_prog_PKG_CONFIG+y}
7141 then :
7142 printf %s "(cached) " >&6
7143 else $as_nop
7144 if test -n "$PKG_CONFIG"; then
7145 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7146 else
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7148 for as_dir in $PATH
7150 IFS=$as_save_IFS
7151 case $as_dir in #(((
7152 '') as_dir=./ ;;
7153 */) ;;
7154 *) as_dir=$as_dir/ ;;
7155 esac
7156 for ac_exec_ext in '' $ac_executable_extensions; do
7157 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7160 break 2
7162 done
7163 done
7164 IFS=$as_save_IFS
7168 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7169 if test -n "$PKG_CONFIG"; then
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7171 printf "%s\n" "$PKG_CONFIG" >&6; }
7172 else
7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 printf "%s\n" "no" >&6; }
7179 if ${ac_cv_prog_PKG_CONFIG:+false} :
7180 then :
7181 if test "x$cross_compiling" = xyes
7182 then :
7184 else $as_nop
7185 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7186 # Extract the first word of "pkg-config", so it can be a program name with args.
7187 set dummy pkg-config; ac_word=$2
7188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189 printf %s "checking for $ac_word... " >&6; }
7190 if test ${ac_cv_prog_PKG_CONFIG+y}
7191 then :
7192 printf %s "(cached) " >&6
7193 else $as_nop
7194 if test -n "$PKG_CONFIG"; then
7195 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7196 else
7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7198 for as_dir in $PATH
7200 IFS=$as_save_IFS
7201 case $as_dir in #(((
7202 '') as_dir=./ ;;
7203 */) ;;
7204 *) as_dir=$as_dir/ ;;
7205 esac
7206 for ac_exec_ext in '' $ac_executable_extensions; do
7207 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7208 ac_cv_prog_PKG_CONFIG="pkg-config"
7209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7210 break 2
7212 done
7213 done
7214 IFS=$as_save_IFS
7218 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7219 if test -n "$PKG_CONFIG"; then
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7221 printf "%s\n" "$PKG_CONFIG" >&6; }
7222 else
7223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 printf "%s\n" "no" >&6; }
7229 else $as_nop
7230 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7233 if test "x$enable_maintainer_mode" != "xyes"
7234 then
7235 FONTFORGE=""
7236 RSVG=""
7237 CONVERT=""
7238 ICOTOOL=""
7239 else
7240 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7241 for ac_prog in fontforge
7243 # Extract the first word of "$ac_prog", so it can be a program name with args.
7244 set dummy $ac_prog; ac_word=$2
7245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246 printf %s "checking for $ac_word... " >&6; }
7247 if test ${ac_cv_prog_FONTFORGE+y}
7248 then :
7249 printf %s "(cached) " >&6
7250 else $as_nop
7251 if test -n "$FONTFORGE"; then
7252 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7253 else
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 for as_dir in $PATH
7257 IFS=$as_save_IFS
7258 case $as_dir in #(((
7259 '') as_dir=./ ;;
7260 */) ;;
7261 *) as_dir=$as_dir/ ;;
7262 esac
7263 for ac_exec_ext in '' $ac_executable_extensions; do
7264 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7265 ac_cv_prog_FONTFORGE="$ac_prog"
7266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7267 break 2
7269 done
7270 done
7271 IFS=$as_save_IFS
7275 FONTFORGE=$ac_cv_prog_FONTFORGE
7276 if test -n "$FONTFORGE"; then
7277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7278 printf "%s\n" "$FONTFORGE" >&6; }
7279 else
7280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281 printf "%s\n" "no" >&6; }
7285 test -n "$FONTFORGE" && break
7286 done
7287 test -n "$FONTFORGE" || FONTFORGE="false"
7289 for ac_prog in rsvg-convert rsvg
7291 # Extract the first word of "$ac_prog", so it can be a program name with args.
7292 set dummy $ac_prog; ac_word=$2
7293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7294 printf %s "checking for $ac_word... " >&6; }
7295 if test ${ac_cv_prog_RSVG+y}
7296 then :
7297 printf %s "(cached) " >&6
7298 else $as_nop
7299 if test -n "$RSVG"; then
7300 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7301 else
7302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7303 for as_dir in $PATH
7305 IFS=$as_save_IFS
7306 case $as_dir in #(((
7307 '') as_dir=./ ;;
7308 */) ;;
7309 *) as_dir=$as_dir/ ;;
7310 esac
7311 for ac_exec_ext in '' $ac_executable_extensions; do
7312 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7313 ac_cv_prog_RSVG="$ac_prog"
7314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7315 break 2
7317 done
7318 done
7319 IFS=$as_save_IFS
7323 RSVG=$ac_cv_prog_RSVG
7324 if test -n "$RSVG"; then
7325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7326 printf "%s\n" "$RSVG" >&6; }
7327 else
7328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 printf "%s\n" "no" >&6; }
7333 test -n "$RSVG" && break
7334 done
7335 test -n "$RSVG" || RSVG="false"
7337 for ac_prog in convert
7339 # Extract the first word of "$ac_prog", so it can be a program name with args.
7340 set dummy $ac_prog; ac_word=$2
7341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 printf %s "checking for $ac_word... " >&6; }
7343 if test ${ac_cv_prog_CONVERT+y}
7344 then :
7345 printf %s "(cached) " >&6
7346 else $as_nop
7347 if test -n "$CONVERT"; then
7348 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7349 else
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7351 for as_dir in $PATH
7353 IFS=$as_save_IFS
7354 case $as_dir in #(((
7355 '') as_dir=./ ;;
7356 */) ;;
7357 *) as_dir=$as_dir/ ;;
7358 esac
7359 for ac_exec_ext in '' $ac_executable_extensions; do
7360 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7361 ac_cv_prog_CONVERT="$ac_prog"
7362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7363 break 2
7365 done
7366 done
7367 IFS=$as_save_IFS
7371 CONVERT=$ac_cv_prog_CONVERT
7372 if test -n "$CONVERT"; then
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7374 printf "%s\n" "$CONVERT" >&6; }
7375 else
7376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7377 printf "%s\n" "no" >&6; }
7381 test -n "$CONVERT" && break
7382 done
7383 test -n "$CONVERT" || CONVERT="false"
7385 for ac_prog in icotool
7387 # Extract the first word of "$ac_prog", so it can be a program name with args.
7388 set dummy $ac_prog; ac_word=$2
7389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 printf %s "checking for $ac_word... " >&6; }
7391 if test ${ac_cv_prog_ICOTOOL+y}
7392 then :
7393 printf %s "(cached) " >&6
7394 else $as_nop
7395 if test -n "$ICOTOOL"; then
7396 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7397 else
7398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7399 for as_dir in $PATH
7401 IFS=$as_save_IFS
7402 case $as_dir in #(((
7403 '') as_dir=./ ;;
7404 */) ;;
7405 *) as_dir=$as_dir/ ;;
7406 esac
7407 for ac_exec_ext in '' $ac_executable_extensions; do
7408 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7409 ac_cv_prog_ICOTOOL="$ac_prog"
7410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7411 break 2
7413 done
7414 done
7415 IFS=$as_save_IFS
7419 ICOTOOL=$ac_cv_prog_ICOTOOL
7420 if test -n "$ICOTOOL"; then
7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7422 printf "%s\n" "$ICOTOOL" >&6; }
7423 else
7424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7425 printf "%s\n" "no" >&6; }
7429 test -n "$ICOTOOL" && break
7430 done
7431 test -n "$ICOTOOL" || ICOTOOL="false"
7433 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7434 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7436 if test "$CONVERT" = false
7437 then
7438 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7439 else
7440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7441 printf %s "checking for recent enough imagemagick... " >&6; }
7442 convert_version=`convert --version | head -n1`
7443 if test "x$convert_version" != "x"
7444 then
7445 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7446 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7447 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7448 then
7449 CONVERT=false
7452 if test "$CONVERT" = false
7453 then
7454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7455 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7456 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7457 else
7458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7459 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7463 if test "$ICOTOOL" = false
7464 then
7465 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7466 else
7467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7468 printf %s "checking for recent enough icotool... " >&6; }
7469 icotool_version=`icotool --version | head -n1`
7470 if test "x$icotool_version" != "x"
7471 then
7472 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7473 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7474 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7475 then
7476 ICOTOOL=false
7477 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7480 if test "$ICOTOOL" = false
7481 then
7482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7483 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7484 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7485 else
7486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7487 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7491 with_gettext=yes
7492 with_gettextpo=yes
7494 enable_werror=yes
7497 test "x$with_gettext" != xno || MSGFMT=false
7498 if test "$MSGFMT" != "false"
7499 then
7500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7501 printf %s "checking whether msgfmt supports contexts... " >&6; }
7502 if test ${wine_cv_msgfmt_contexts+y}
7503 then :
7504 printf %s "(cached) " >&6
7505 else $as_nop
7506 cat >conftest.po <<EOF
7507 # comment
7508 msgctxt "ctxt"
7509 msgid "id"
7510 msgstr "str"
7512 if $MSGFMT -o /dev/null conftest.po 2>&5
7513 then
7514 wine_cv_msgfmt_contexts=yes
7515 else
7516 wine_cv_msgfmt_contexts=no
7519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7520 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7521 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7523 if test "$MSGFMT" = false
7524 then :
7525 case "x$with_gettext" in
7526 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7527 xno) ;;
7528 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7529 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7530 esac
7531 enable_po=${enable_po:-no}
7535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7536 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7537 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7538 then :
7539 printf %s "(cached) " >&6
7540 else $as_nop
7541 ac_check_lib_save_LIBS=$LIBS
7542 LIBS="-li386 $LIBS"
7543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7544 /* end confdefs.h. */
7546 /* Override any GCC internal prototype to avoid an error.
7547 Use char because int might match the return type of a GCC
7548 builtin and then its argument prototype would still apply. */
7549 char i386_set_ldt ();
7551 main (void)
7553 return i386_set_ldt ();
7555 return 0;
7557 _ACEOF
7558 if ac_fn_c_try_link "$LINENO"
7559 then :
7560 ac_cv_lib_i386_i386_set_ldt=yes
7561 else $as_nop
7562 ac_cv_lib_i386_i386_set_ldt=no
7564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7565 conftest$ac_exeext conftest.$ac_ext
7566 LIBS=$ac_check_lib_save_LIBS
7568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7569 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7570 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7571 then :
7572 I386_LIBS="-li386"
7577 OPENGL_LIBS=""
7581 # Check whether --enable-largefile was given.
7582 if test ${enable_largefile+y}
7583 then :
7584 enableval=$enable_largefile;
7587 if test "$enable_largefile" != no; then
7589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7590 printf %s "checking for special C compiler options needed for large files... " >&6; }
7591 if test ${ac_cv_sys_largefile_CC+y}
7592 then :
7593 printf %s "(cached) " >&6
7594 else $as_nop
7595 ac_cv_sys_largefile_CC=no
7596 if test "$GCC" != yes; then
7597 ac_save_CC=$CC
7598 while :; do
7599 # IRIX 6.2 and later do not support large files by default,
7600 # so use the C compiler's -n32 option if that helps.
7601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7602 /* end confdefs.h. */
7603 #include <sys/types.h>
7604 /* Check that off_t can represent 2**63 - 1 correctly.
7605 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7606 since some C++ compilers masquerading as C compilers
7607 incorrectly reject 9223372036854775807. */
7608 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7609 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7610 && LARGE_OFF_T % 2147483647 == 1)
7611 ? 1 : -1];
7613 main (void)
7617 return 0;
7619 _ACEOF
7620 if ac_fn_c_try_compile "$LINENO"
7621 then :
7622 break
7624 rm -f core conftest.err conftest.$ac_objext conftest.beam
7625 CC="$CC -n32"
7626 if ac_fn_c_try_compile "$LINENO"
7627 then :
7628 ac_cv_sys_largefile_CC=' -n32'; break
7630 rm -f core conftest.err conftest.$ac_objext conftest.beam
7631 break
7632 done
7633 CC=$ac_save_CC
7634 rm -f conftest.$ac_ext
7637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7638 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7639 if test "$ac_cv_sys_largefile_CC" != no; then
7640 CC=$CC$ac_cv_sys_largefile_CC
7643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7644 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7645 if test ${ac_cv_sys_file_offset_bits+y}
7646 then :
7647 printf %s "(cached) " >&6
7648 else $as_nop
7649 while :; do
7650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7652 #include <sys/types.h>
7653 /* Check that off_t can represent 2**63 - 1 correctly.
7654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7655 since some C++ compilers masquerading as C compilers
7656 incorrectly reject 9223372036854775807. */
7657 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7659 && LARGE_OFF_T % 2147483647 == 1)
7660 ? 1 : -1];
7662 main (void)
7666 return 0;
7668 _ACEOF
7669 if ac_fn_c_try_compile "$LINENO"
7670 then :
7671 ac_cv_sys_file_offset_bits=no; break
7673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7675 /* end confdefs.h. */
7676 #define _FILE_OFFSET_BITS 64
7677 #include <sys/types.h>
7678 /* Check that off_t can represent 2**63 - 1 correctly.
7679 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7680 since some C++ compilers masquerading as C compilers
7681 incorrectly reject 9223372036854775807. */
7682 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7683 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7684 && LARGE_OFF_T % 2147483647 == 1)
7685 ? 1 : -1];
7687 main (void)
7691 return 0;
7693 _ACEOF
7694 if ac_fn_c_try_compile "$LINENO"
7695 then :
7696 ac_cv_sys_file_offset_bits=64; break
7698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7699 ac_cv_sys_file_offset_bits=unknown
7700 break
7701 done
7703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7704 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7705 case $ac_cv_sys_file_offset_bits in #(
7706 no | unknown) ;;
7708 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7710 esac
7711 rm -rf conftest*
7712 if test $ac_cv_sys_file_offset_bits = unknown; then
7713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7714 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7715 if test ${ac_cv_sys_large_files+y}
7716 then :
7717 printf %s "(cached) " >&6
7718 else $as_nop
7719 while :; do
7720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7721 /* end confdefs.h. */
7722 #include <sys/types.h>
7723 /* Check that off_t can represent 2**63 - 1 correctly.
7724 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7725 since some C++ compilers masquerading as C compilers
7726 incorrectly reject 9223372036854775807. */
7727 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7728 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7729 && LARGE_OFF_T % 2147483647 == 1)
7730 ? 1 : -1];
7732 main (void)
7736 return 0;
7738 _ACEOF
7739 if ac_fn_c_try_compile "$LINENO"
7740 then :
7741 ac_cv_sys_large_files=no; break
7743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7745 /* end confdefs.h. */
7746 #define _LARGE_FILES 1
7747 #include <sys/types.h>
7748 /* Check that off_t can represent 2**63 - 1 correctly.
7749 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7750 since some C++ compilers masquerading as C compilers
7751 incorrectly reject 9223372036854775807. */
7752 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7753 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7754 && LARGE_OFF_T % 2147483647 == 1)
7755 ? 1 : -1];
7757 main (void)
7761 return 0;
7763 _ACEOF
7764 if ac_fn_c_try_compile "$LINENO"
7765 then :
7766 ac_cv_sys_large_files=1; break
7768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7769 ac_cv_sys_large_files=unknown
7770 break
7771 done
7773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7774 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7775 case $ac_cv_sys_large_files in #(
7776 no | unknown) ;;
7778 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7780 esac
7781 rm -rf conftest*
7786 ac_header= ac_cache=
7787 for ac_item in $ac_header_c_list
7789 if test $ac_cache; then
7790 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7791 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7792 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7794 ac_header= ac_cache=
7795 elif test $ac_header; then
7796 ac_cache=$ac_item
7797 else
7798 ac_header=$ac_item
7800 done
7809 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7810 then :
7812 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7815 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7816 if test "x$ac_cv_header_AL_al_h" = xyes
7817 then :
7818 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7821 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7822 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7823 then :
7824 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7827 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7828 if test "x$ac_cv_header_CL_cl_h" = xyes
7829 then :
7830 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7833 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7834 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7835 then :
7836 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7839 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7840 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7841 then :
7842 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7845 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7846 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7847 then :
7848 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7851 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7852 if test "x$ac_cv_header_EGL_egl_h" = xyes
7853 then :
7854 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7857 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7858 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7859 then :
7860 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7863 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7864 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7865 then :
7866 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7869 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7870 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7871 then :
7872 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7875 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7876 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7877 then :
7878 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7881 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_Security_Security_h" = xyes
7883 then :
7884 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7889 then :
7890 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7895 then :
7896 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_arpa_inet_h" = xyes
7901 then :
7902 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7907 then :
7908 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_asm_types_h" = xyes
7913 then :
7914 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_asm_user_h" = xyes
7919 then :
7920 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_elf_h" = xyes
7925 then :
7926 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_float_h" = xyes
7931 then :
7932 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_gettext_po_h" = xyes
7937 then :
7938 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_libproc_h" = xyes
7943 then :
7944 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_link_h" = xyes
7949 then :
7950 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7955 then :
7956 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_linux_filter_h" = xyes
7961 then :
7962 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7967 then :
7968 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7973 then :
7974 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_linux_input_h" = xyes
7979 then :
7980 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7985 then :
7986 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_linux_major_h" = xyes
7991 then :
7992 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_linux_param_h" = xyes
7997 then :
7998 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_linux_serial_h" = xyes
8003 then :
8004 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_linux_types_h" = xyes
8009 then :
8010 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8015 then :
8016 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_lwp_h" = xyes
8021 then :
8022 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8027 then :
8028 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_mach_mach_h" = xyes
8033 then :
8034 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_machine_cpu_h" = xyes
8039 then :
8040 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8045 then :
8046 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_mntent_h" = xyes
8051 then :
8052 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_netdb_h" = xyes
8057 then :
8058 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_netinet_in_h" = xyes
8063 then :
8064 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8069 then :
8070 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8075 then :
8076 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8081 then :
8082 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8087 then :
8088 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_port_h" = xyes
8093 then :
8094 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_pthread_h" = xyes
8099 then :
8100 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_pwd_h" = xyes
8105 then :
8106 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8111 then :
8112 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_sched_h" = xyes
8117 then :
8118 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8123 then :
8124 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8129 then :
8130 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_scsi_sg_h" = xyes
8135 then :
8136 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_stdint_h" = xyes
8141 then :
8142 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_attr_h" = xyes
8147 then :
8148 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_auxv_h" = xyes
8153 then :
8154 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_cdio_h" = xyes
8159 then :
8160 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_epoll_h" = xyes
8165 then :
8166 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_event_h" = xyes
8171 then :
8172 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_filio_h" = xyes
8177 then :
8178 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_ipc_h" = xyes
8183 then :
8184 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_link_h" = xyes
8189 then :
8190 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_modem_h" = xyes
8195 then :
8196 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_mtio_h" = xyes
8201 then :
8202 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_param_h" = xyes
8207 then :
8208 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_prctl_h" = xyes
8213 then :
8214 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8219 then :
8220 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_queue_h" = xyes
8225 then :
8226 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_random_h" = xyes
8231 then :
8232 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_resource_h" = xyes
8237 then :
8238 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8243 then :
8244 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_shm_h" = xyes
8249 then :
8250 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_signal_h" = xyes
8255 then :
8256 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8261 then :
8262 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_sys_sockio_h" = xyes
8267 then :
8268 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8273 then :
8274 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_sys_strtio_h" = xyes
8279 then :
8280 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_syscall_h" = xyes
8285 then :
8286 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8291 then :
8292 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8295 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8296 if test "x$ac_cv_header_sys_times_h" = xyes
8297 then :
8298 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_sys_uio_h" = xyes
8303 then :
8304 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_sys_user_h" = xyes
8309 then :
8310 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_sys_utsname_h" = xyes
8315 then :
8316 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8319 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_sys_vnode_h" = xyes
8321 then :
8322 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8325 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8326 if test "x$ac_cv_header_syscall_h" = xyes
8327 then :
8328 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8331 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8332 if test "x$ac_cv_header_utime_h" = xyes
8333 then :
8334 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8337 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8338 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8339 then :
8340 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8343 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8344 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8345 then :
8346 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8350 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8351 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8352 then :
8354 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8358 if test $ac_cv_header_sys_mkdev_h = no; then
8359 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8360 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8361 then :
8363 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8369 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8370 if test ${ac_cv_header_stat_broken+y}
8371 then :
8372 printf %s "(cached) " >&6
8373 else $as_nop
8374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8375 /* end confdefs.h. */
8376 #include <sys/types.h>
8377 #include <sys/stat.h>
8379 #if defined S_ISBLK && defined S_IFDIR
8380 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8381 #endif
8383 #if defined S_ISBLK && defined S_IFCHR
8384 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8385 #endif
8387 #if defined S_ISLNK && defined S_IFREG
8388 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8389 #endif
8391 #if defined S_ISSOCK && defined S_IFREG
8392 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8393 #endif
8395 _ACEOF
8396 if ac_fn_c_try_compile "$LINENO"
8397 then :
8398 ac_cv_header_stat_broken=no
8399 else $as_nop
8400 ac_cv_header_stat_broken=yes
8402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8405 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8406 if test $ac_cv_header_stat_broken = yes; then
8408 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8414 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8415 #ifdef HAVE_SYS_PARAM_H
8416 # include <sys/param.h>
8417 #endif
8419 if test "x$ac_cv_header_sys_conf_h" = xyes
8420 then :
8421 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8424 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8425 #ifdef HAVE_SYS_PARAM_H
8426 # include <sys/param.h>
8427 #endif
8429 if test "x$ac_cv_header_sys_mount_h" = xyes
8430 then :
8431 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8434 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8435 #ifdef HAVE_SYS_PARAM_H
8436 # include <sys/param.h>
8437 #endif
8439 if test "x$ac_cv_header_sys_statfs_h" = xyes
8440 then :
8441 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8444 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8445 #ifdef HAVE_SYS_PARAM_H
8446 # include <sys/param.h>
8447 #endif
8449 if test "x$ac_cv_header_sys_user_h" = xyes
8450 then :
8451 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8454 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8455 #ifdef HAVE_SYS_PARAM_H
8456 # include <sys/param.h>
8457 #endif
8459 if test "x$ac_cv_header_sys_vfs_h" = xyes
8460 then :
8461 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8466 saved_sysctl_h_CFLAGS=$CFLAGS
8467 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8468 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8469 #ifdef HAVE_SYS_PARAM_H
8470 # include <sys/param.h>
8471 #endif
8473 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8474 then :
8475 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8479 CFLAGS=$saved_sysctl_h_CFLAGS
8481 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8482 #include <sys/socket.h>
8483 #ifdef HAVE_SYS_SOCKETVAR_H
8484 # include <sys/socketvar.h>
8485 #endif
8486 #ifdef HAVE_NET_ROUTE_H
8487 # include <net/route.h>
8488 #endif
8489 #ifdef HAVE_NETINET_IN_H
8490 # include <netinet/in.h>
8491 #endif
8492 #ifdef HAVE_NETINET_IN_SYSTM_H
8493 # include <netinet/in_systm.h>
8494 #endif
8495 #ifdef HAVE_NET_IF_H
8496 # include <net/if.h>
8497 #endif
8498 #ifdef HAVE_NETINET_IP_H
8499 # include <netinet/ip.h>
8500 #endif
8502 if test "x$ac_cv_header_netinet_ip_h" = xyes
8503 then :
8504 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8507 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8508 #include <sys/socket.h>
8509 #ifdef HAVE_SYS_SOCKETVAR_H
8510 # include <sys/socketvar.h>
8511 #endif
8512 #ifdef HAVE_NET_ROUTE_H
8513 # include <net/route.h>
8514 #endif
8515 #ifdef HAVE_NETINET_IN_H
8516 # include <netinet/in.h>
8517 #endif
8518 #ifdef HAVE_NETINET_IN_SYSTM_H
8519 # include <netinet/in_systm.h>
8520 #endif
8521 #ifdef HAVE_NET_IF_H
8522 # include <net/if.h>
8523 #endif
8524 #ifdef HAVE_NETINET_IP_H
8525 # include <netinet/ip.h>
8526 #endif
8528 if test "x$ac_cv_header_net_if_h" = xyes
8529 then :
8530 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8533 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8534 #include <sys/socket.h>
8535 #ifdef HAVE_SYS_SOCKETVAR_H
8536 # include <sys/socketvar.h>
8537 #endif
8538 #ifdef HAVE_NET_ROUTE_H
8539 # include <net/route.h>
8540 #endif
8541 #ifdef HAVE_NETINET_IN_H
8542 # include <netinet/in.h>
8543 #endif
8544 #ifdef HAVE_NETINET_IN_SYSTM_H
8545 # include <netinet/in_systm.h>
8546 #endif
8547 #ifdef HAVE_NET_IF_H
8548 # include <net/if.h>
8549 #endif
8550 #ifdef HAVE_NETINET_IP_H
8551 # include <netinet/ip.h>
8552 #endif
8554 if test "x$ac_cv_header_net_if_arp_h" = xyes
8555 then :
8556 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8559 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8560 #include <sys/socket.h>
8561 #ifdef HAVE_SYS_SOCKETVAR_H
8562 # include <sys/socketvar.h>
8563 #endif
8564 #ifdef HAVE_NET_ROUTE_H
8565 # include <net/route.h>
8566 #endif
8567 #ifdef HAVE_NETINET_IN_H
8568 # include <netinet/in.h>
8569 #endif
8570 #ifdef HAVE_NETINET_IN_SYSTM_H
8571 # include <netinet/in_systm.h>
8572 #endif
8573 #ifdef HAVE_NET_IF_H
8574 # include <net/if.h>
8575 #endif
8576 #ifdef HAVE_NETINET_IP_H
8577 # include <netinet/ip.h>
8578 #endif
8580 if test "x$ac_cv_header_net_if_dl_h" = xyes
8581 then :
8582 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8585 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8586 #include <sys/socket.h>
8587 #ifdef HAVE_SYS_SOCKETVAR_H
8588 # include <sys/socketvar.h>
8589 #endif
8590 #ifdef HAVE_NET_ROUTE_H
8591 # include <net/route.h>
8592 #endif
8593 #ifdef HAVE_NETINET_IN_H
8594 # include <netinet/in.h>
8595 #endif
8596 #ifdef HAVE_NETINET_IN_SYSTM_H
8597 # include <netinet/in_systm.h>
8598 #endif
8599 #ifdef HAVE_NET_IF_H
8600 # include <net/if.h>
8601 #endif
8602 #ifdef HAVE_NETINET_IP_H
8603 # include <netinet/ip.h>
8604 #endif
8606 if test "x$ac_cv_header_net_if_types_h" = xyes
8607 then :
8608 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8611 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8612 #include <sys/socket.h>
8613 #ifdef HAVE_SYS_SOCKETVAR_H
8614 # include <sys/socketvar.h>
8615 #endif
8616 #ifdef HAVE_NET_ROUTE_H
8617 # include <net/route.h>
8618 #endif
8619 #ifdef HAVE_NETINET_IN_H
8620 # include <netinet/in.h>
8621 #endif
8622 #ifdef HAVE_NETINET_IN_SYSTM_H
8623 # include <netinet/in_systm.h>
8624 #endif
8625 #ifdef HAVE_NET_IF_H
8626 # include <net/if.h>
8627 #endif
8628 #ifdef HAVE_NETINET_IP_H
8629 # include <netinet/ip.h>
8630 #endif
8632 if test "x$ac_cv_header_net_route_h" = xyes
8633 then :
8634 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8637 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8638 #include <sys/socket.h>
8639 #ifdef HAVE_SYS_SOCKETVAR_H
8640 # include <sys/socketvar.h>
8641 #endif
8642 #ifdef HAVE_NET_ROUTE_H
8643 # include <net/route.h>
8644 #endif
8645 #ifdef HAVE_NETINET_IN_H
8646 # include <netinet/in.h>
8647 #endif
8648 #ifdef HAVE_NETINET_IN_SYSTM_H
8649 # include <netinet/in_systm.h>
8650 #endif
8651 #ifdef HAVE_NET_IF_H
8652 # include <net/if.h>
8653 #endif
8654 #ifdef HAVE_NETINET_IP_H
8655 # include <netinet/ip.h>
8656 #endif
8658 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8659 then :
8660 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8663 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8664 #include <sys/socket.h>
8665 #ifdef HAVE_SYS_SOCKETVAR_H
8666 # include <sys/socketvar.h>
8667 #endif
8668 #ifdef HAVE_NET_ROUTE_H
8669 # include <net/route.h>
8670 #endif
8671 #ifdef HAVE_NETINET_IN_H
8672 # include <netinet/in.h>
8673 #endif
8674 #ifdef HAVE_NETINET_IN_SYSTM_H
8675 # include <netinet/in_systm.h>
8676 #endif
8677 #ifdef HAVE_NET_IF_H
8678 # include <net/if.h>
8679 #endif
8680 #ifdef HAVE_NETINET_IP_H
8681 # include <netinet/ip.h>
8682 #endif
8684 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8685 then :
8686 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8689 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8690 #include <sys/socket.h>
8691 #ifdef HAVE_SYS_SOCKETVAR_H
8692 # include <sys/socketvar.h>
8693 #endif
8694 #ifdef HAVE_NET_ROUTE_H
8695 # include <net/route.h>
8696 #endif
8697 #ifdef HAVE_NETINET_IN_H
8698 # include <netinet/in.h>
8699 #endif
8700 #ifdef HAVE_NETINET_IN_SYSTM_H
8701 # include <netinet/in_systm.h>
8702 #endif
8703 #ifdef HAVE_NET_IF_H
8704 # include <net/if.h>
8705 #endif
8706 #ifdef HAVE_NETINET_IP_H
8707 # include <netinet/ip.h>
8708 #endif
8710 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8711 then :
8712 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8715 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8716 #include <sys/socket.h>
8717 #ifdef HAVE_SYS_SOCKETVAR_H
8718 # include <sys/socketvar.h>
8719 #endif
8720 #ifdef HAVE_NET_ROUTE_H
8721 # include <net/route.h>
8722 #endif
8723 #ifdef HAVE_NETINET_IN_H
8724 # include <netinet/in.h>
8725 #endif
8726 #ifdef HAVE_NETINET_IN_SYSTM_H
8727 # include <netinet/in_systm.h>
8728 #endif
8729 #ifdef HAVE_NET_IF_H
8730 # include <net/if.h>
8731 #endif
8732 #ifdef HAVE_NETINET_IP_H
8733 # include <netinet/ip.h>
8734 #endif
8736 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8737 then :
8738 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8741 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8742 #include <sys/socket.h>
8743 #ifdef HAVE_SYS_SOCKETVAR_H
8744 # include <sys/socketvar.h>
8745 #endif
8746 #ifdef HAVE_NET_ROUTE_H
8747 # include <net/route.h>
8748 #endif
8749 #ifdef HAVE_NETINET_IN_H
8750 # include <netinet/in.h>
8751 #endif
8752 #ifdef HAVE_NETINET_IN_SYSTM_H
8753 # include <netinet/in_systm.h>
8754 #endif
8755 #ifdef HAVE_NET_IF_H
8756 # include <net/if.h>
8757 #endif
8758 #ifdef HAVE_NETINET_IP_H
8759 # include <netinet/ip.h>
8760 #endif
8762 if test "x$ac_cv_header_netinet_udp_h" = xyes
8763 then :
8764 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8767 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8768 #include <sys/socket.h>
8769 #ifdef HAVE_SYS_SOCKETVAR_H
8770 # include <sys/socketvar.h>
8771 #endif
8772 #ifdef HAVE_NET_ROUTE_H
8773 # include <net/route.h>
8774 #endif
8775 #ifdef HAVE_NETINET_IN_H
8776 # include <netinet/in.h>
8777 #endif
8778 #ifdef HAVE_NETINET_IN_SYSTM_H
8779 # include <netinet/in_systm.h>
8780 #endif
8781 #ifdef HAVE_NET_IF_H
8782 # include <net/if.h>
8783 #endif
8784 #ifdef HAVE_NETINET_IP_H
8785 # include <netinet/ip.h>
8786 #endif
8788 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8789 then :
8790 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8793 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8794 #include <sys/socket.h>
8795 #ifdef HAVE_SYS_SOCKETVAR_H
8796 # include <sys/socketvar.h>
8797 #endif
8798 #ifdef HAVE_NET_ROUTE_H
8799 # include <net/route.h>
8800 #endif
8801 #ifdef HAVE_NETINET_IN_H
8802 # include <netinet/in.h>
8803 #endif
8804 #ifdef HAVE_NETINET_IN_SYSTM_H
8805 # include <netinet/in_systm.h>
8806 #endif
8807 #ifdef HAVE_NET_IF_H
8808 # include <net/if.h>
8809 #endif
8810 #ifdef HAVE_NETINET_IP_H
8811 # include <netinet/ip.h>
8812 #endif
8814 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8815 then :
8816 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8819 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8820 #include <sys/socket.h>
8821 #ifdef HAVE_SYS_SOCKETVAR_H
8822 # include <sys/socketvar.h>
8823 #endif
8824 #ifdef HAVE_NET_ROUTE_H
8825 # include <net/route.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IN_H
8828 # include <netinet/in.h>
8829 #endif
8830 #ifdef HAVE_NETINET_IN_SYSTM_H
8831 # include <netinet/in_systm.h>
8832 #endif
8833 #ifdef HAVE_NET_IF_H
8834 # include <net/if.h>
8835 #endif
8836 #ifdef HAVE_NETINET_IP_H
8837 # include <netinet/ip.h>
8838 #endif
8840 if test "x$ac_cv_header_sys_un_h" = xyes
8841 then :
8842 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8847 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8848 #include <sys/socket.h>
8849 #ifdef HAVE_SYS_SOCKETVAR_H
8850 # include <sys/socketvar.h>
8851 #endif
8852 #ifdef HAVE_NETINET_IN_H
8853 # include <netinet/in.h>
8854 #endif
8855 #ifdef HAVE_NETINET_IN_SYSTM_H
8856 # include <netinet/in_systm.h>
8857 #endif
8858 #ifdef HAVE_NETINET_IP_H
8859 # include <netinet/ip.h>
8860 #endif
8861 #ifdef HAVE_NETINET_IP_VAR_H
8862 # include <netinet/ip_var.h>
8863 #endif
8864 #ifdef HAVE_NETINET_IP_ICMP_H
8865 # include <netinet/ip_icmp.h>
8866 #endif
8867 #ifdef HAVE_NETINET_UDP_H
8868 # include <netinet/udp.h>
8869 #endif
8870 #ifdef HAVE_NETINET_TCP_H
8871 # include <netinet/tcp.h>
8872 #endif
8874 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8875 then :
8876 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8879 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8880 #include <sys/socket.h>
8881 #ifdef HAVE_SYS_SOCKETVAR_H
8882 # include <sys/socketvar.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IN_H
8885 # include <netinet/in.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IN_SYSTM_H
8888 # include <netinet/in_systm.h>
8889 #endif
8890 #ifdef HAVE_NETINET_IP_H
8891 # include <netinet/ip.h>
8892 #endif
8893 #ifdef HAVE_NETINET_IP_VAR_H
8894 # include <netinet/ip_var.h>
8895 #endif
8896 #ifdef HAVE_NETINET_IP_ICMP_H
8897 # include <netinet/ip_icmp.h>
8898 #endif
8899 #ifdef HAVE_NETINET_UDP_H
8900 # include <netinet/udp.h>
8901 #endif
8902 #ifdef HAVE_NETINET_TCP_H
8903 # include <netinet/tcp.h>
8904 #endif
8906 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8907 then :
8908 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8911 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8912 #include <sys/socket.h>
8913 #ifdef HAVE_SYS_SOCKETVAR_H
8914 # include <sys/socketvar.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IN_H
8917 # include <netinet/in.h>
8918 #endif
8919 #ifdef HAVE_NETINET_IN_SYSTM_H
8920 # include <netinet/in_systm.h>
8921 #endif
8922 #ifdef HAVE_NETINET_IP_H
8923 # include <netinet/ip.h>
8924 #endif
8925 #ifdef HAVE_NETINET_IP_VAR_H
8926 # include <netinet/ip_var.h>
8927 #endif
8928 #ifdef HAVE_NETINET_IP_ICMP_H
8929 # include <netinet/ip_icmp.h>
8930 #endif
8931 #ifdef HAVE_NETINET_UDP_H
8932 # include <netinet/udp.h>
8933 #endif
8934 #ifdef HAVE_NETINET_TCP_H
8935 # include <netinet/tcp.h>
8936 #endif
8938 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8939 then :
8940 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8943 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8944 #include <sys/socket.h>
8945 #ifdef HAVE_SYS_SOCKETVAR_H
8946 # include <sys/socketvar.h>
8947 #endif
8948 #ifdef HAVE_NETINET_IN_H
8949 # include <netinet/in.h>
8950 #endif
8951 #ifdef HAVE_NETINET_IN_SYSTM_H
8952 # include <netinet/in_systm.h>
8953 #endif
8954 #ifdef HAVE_NETINET_IP_H
8955 # include <netinet/ip.h>
8956 #endif
8957 #ifdef HAVE_NETINET_IP_VAR_H
8958 # include <netinet/ip_var.h>
8959 #endif
8960 #ifdef HAVE_NETINET_IP_ICMP_H
8961 # include <netinet/ip_icmp.h>
8962 #endif
8963 #ifdef HAVE_NETINET_UDP_H
8964 # include <netinet/udp.h>
8965 #endif
8966 #ifdef HAVE_NETINET_TCP_H
8967 # include <netinet/tcp.h>
8968 #endif
8970 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8971 then :
8972 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8977 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8978 #include <sys/socket.h>
8979 #ifdef HAVE_ASM_TYPES_H
8980 # include <asm/types.h>
8981 #endif
8982 #ifdef HAVE_LINUX_TYPES_H
8983 # include <linux/types.h>
8984 #endif
8986 if test "x$ac_cv_header_linux_ipx_h" = xyes
8987 then :
8988 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8991 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8992 #include <sys/socket.h>
8993 #ifdef HAVE_ASM_TYPES_H
8994 # include <asm/types.h>
8995 #endif
8996 #ifdef HAVE_LINUX_TYPES_H
8997 # include <linux/types.h>
8998 #endif
9000 if test "x$ac_cv_header_linux_irda_h" = xyes
9001 then :
9002 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9005 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9006 #include <sys/socket.h>
9007 #ifdef HAVE_ASM_TYPES_H
9008 # include <asm/types.h>
9009 #endif
9010 #ifdef HAVE_LINUX_TYPES_H
9011 # include <linux/types.h>
9012 #endif
9014 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9015 then :
9016 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9021 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9022 #include <sys/socket.h>
9023 #ifdef HAVE_NETINET_IN_H
9024 # include <netinet/in.h>
9025 #endif
9026 #ifdef HAVE_ARPA_NAMESER_H
9027 # include <arpa/nameser.h>
9028 #endif
9030 if test "x$ac_cv_header_resolv_h" = xyes
9031 then :
9032 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9037 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9039 if test "x$ac_cv_header_ifaddrs_h" = xyes
9040 then :
9041 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9046 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9048 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9049 then :
9050 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9055 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9056 #ifdef HAVE_SYS_UCONTEXT_H
9057 #include <sys/ucontext.h>
9058 #endif
9060 if test "x$ac_cv_header_sys_thr_h" = xyes
9061 then :
9062 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9067 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9068 #include <pthread.h>
9069 #endif
9071 if test "x$ac_cv_header_pthread_np_h" = xyes
9072 then :
9073 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9078 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9079 #include <sys/types.h>
9080 #ifdef HAVE_ASM_TYPES_H
9081 #include <asm/types.h>
9082 #endif
9084 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9085 then :
9086 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9091 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9092 #include <sys/param.h>
9093 #endif
9094 #include <sys/socket.h>
9095 #ifdef HAVE_SYS_QUEUE_H
9096 #include <sys/queue.h>
9097 #endif
9099 if test "x$ac_cv_header_libprocstat_h" = xyes
9100 then :
9101 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9107 DLLFLAGS=""
9109 LDDLLFLAGS=""
9111 LDEXECFLAGS=""
9113 EXTRACFLAGS=""
9115 UNIXDLLFLAGS="-fPIC"
9117 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9119 TOP_INSTALL_LIB=""
9121 TOP_INSTALL_DEV=""
9123 WINELOADER_LDFLAGS=""
9125 WINEPRELOADER_LDFLAGS=""
9127 LIBEXT="so"
9128 # Extract the first word of "ldd", so it can be a program name with args.
9129 set dummy ldd; ac_word=$2
9130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9131 printf %s "checking for $ac_word... " >&6; }
9132 if test ${ac_cv_path_LDD+y}
9133 then :
9134 printf %s "(cached) " >&6
9135 else $as_nop
9136 case $LDD in
9137 [\\/]* | ?:[\\/]*)
9138 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9142 as_dummy="/sbin:/usr/sbin:$PATH"
9143 for as_dir in $as_dummy
9145 IFS=$as_save_IFS
9146 case $as_dir in #(((
9147 '') as_dir=./ ;;
9148 */) ;;
9149 *) as_dir=$as_dir/ ;;
9150 esac
9151 for ac_exec_ext in '' $ac_executable_extensions; do
9152 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9153 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9155 break 2
9157 done
9158 done
9159 IFS=$as_save_IFS
9161 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9163 esac
9165 LDD=$ac_cv_path_LDD
9166 if test -n "$LDD"; then
9167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9168 printf "%s\n" "$LDD" >&6; }
9169 else
9170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9171 printf "%s\n" "no" >&6; }
9175 if test -n "$ac_tool_prefix"; then
9176 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9177 set dummy ${ac_tool_prefix}otool; ac_word=$2
9178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9179 printf %s "checking for $ac_word... " >&6; }
9180 if test ${ac_cv_prog_OTOOL+y}
9181 then :
9182 printf %s "(cached) " >&6
9183 else $as_nop
9184 if test -n "$OTOOL"; then
9185 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9186 else
9187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9188 for as_dir in $PATH
9190 IFS=$as_save_IFS
9191 case $as_dir in #(((
9192 '') as_dir=./ ;;
9193 */) ;;
9194 *) as_dir=$as_dir/ ;;
9195 esac
9196 for ac_exec_ext in '' $ac_executable_extensions; do
9197 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9198 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9200 break 2
9202 done
9203 done
9204 IFS=$as_save_IFS
9208 OTOOL=$ac_cv_prog_OTOOL
9209 if test -n "$OTOOL"; then
9210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9211 printf "%s\n" "$OTOOL" >&6; }
9212 else
9213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9214 printf "%s\n" "no" >&6; }
9219 if test -z "$ac_cv_prog_OTOOL"; then
9220 ac_ct_OTOOL=$OTOOL
9221 # Extract the first word of "otool", so it can be a program name with args.
9222 set dummy otool; ac_word=$2
9223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9224 printf %s "checking for $ac_word... " >&6; }
9225 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9226 then :
9227 printf %s "(cached) " >&6
9228 else $as_nop
9229 if test -n "$ac_ct_OTOOL"; then
9230 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9231 else
9232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9233 for as_dir in $PATH
9235 IFS=$as_save_IFS
9236 case $as_dir in #(((
9237 '') as_dir=./ ;;
9238 */) ;;
9239 *) as_dir=$as_dir/ ;;
9240 esac
9241 for ac_exec_ext in '' $ac_executable_extensions; do
9242 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9243 ac_cv_prog_ac_ct_OTOOL="otool"
9244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9245 break 2
9247 done
9248 done
9249 IFS=$as_save_IFS
9253 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9254 if test -n "$ac_ct_OTOOL"; then
9255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9256 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9257 else
9258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9259 printf "%s\n" "no" >&6; }
9262 if test "x$ac_ct_OTOOL" = x; then
9263 OTOOL="otool"
9264 else
9265 case $cross_compiling:$ac_tool_warned in
9266 yes:)
9267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9268 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9269 ac_tool_warned=yes ;;
9270 esac
9271 OTOOL=$ac_ct_OTOOL
9273 else
9274 OTOOL="$ac_cv_prog_OTOOL"
9277 if test -n "$ac_tool_prefix"; then
9278 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9279 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9281 printf %s "checking for $ac_word... " >&6; }
9282 if test ${ac_cv_prog_READELF+y}
9283 then :
9284 printf %s "(cached) " >&6
9285 else $as_nop
9286 if test -n "$READELF"; then
9287 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9288 else
9289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9290 for as_dir in $PATH
9292 IFS=$as_save_IFS
9293 case $as_dir in #(((
9294 '') as_dir=./ ;;
9295 */) ;;
9296 *) as_dir=$as_dir/ ;;
9297 esac
9298 for ac_exec_ext in '' $ac_executable_extensions; do
9299 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9300 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9302 break 2
9304 done
9305 done
9306 IFS=$as_save_IFS
9310 READELF=$ac_cv_prog_READELF
9311 if test -n "$READELF"; then
9312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9313 printf "%s\n" "$READELF" >&6; }
9314 else
9315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9316 printf "%s\n" "no" >&6; }
9321 if test -z "$ac_cv_prog_READELF"; then
9322 ac_ct_READELF=$READELF
9323 # Extract the first word of "readelf", so it can be a program name with args.
9324 set dummy readelf; ac_word=$2
9325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9326 printf %s "checking for $ac_word... " >&6; }
9327 if test ${ac_cv_prog_ac_ct_READELF+y}
9328 then :
9329 printf %s "(cached) " >&6
9330 else $as_nop
9331 if test -n "$ac_ct_READELF"; then
9332 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9333 else
9334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9335 for as_dir in $PATH
9337 IFS=$as_save_IFS
9338 case $as_dir in #(((
9339 '') as_dir=./ ;;
9340 */) ;;
9341 *) as_dir=$as_dir/ ;;
9342 esac
9343 for ac_exec_ext in '' $ac_executable_extensions; do
9344 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9345 ac_cv_prog_ac_ct_READELF="readelf"
9346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9347 break 2
9349 done
9350 done
9351 IFS=$as_save_IFS
9355 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9356 if test -n "$ac_ct_READELF"; then
9357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9358 printf "%s\n" "$ac_ct_READELF" >&6; }
9359 else
9360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9361 printf "%s\n" "no" >&6; }
9364 if test "x$ac_ct_READELF" = x; then
9365 READELF="true"
9366 else
9367 case $cross_compiling:$ac_tool_warned in
9368 yes:)
9369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9370 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9371 ac_tool_warned=yes ;;
9372 esac
9373 READELF=$ac_ct_READELF
9375 else
9376 READELF="$ac_cv_prog_READELF"
9379 wine_rules="all:"
9380 SUBDIRS=""
9382 DISABLED_SUBDIRS=""
9384 CONFIGURE_TARGETS=""
9387 wine_fn_append_file ()
9389 as_fn_append $1 " \\$as_nl $2"
9392 wine_fn_append_rule ()
9394 as_fn_append wine_rules "$as_nl$1"
9397 wine_fn_config_makefile ()
9399 wine_fn_append_file SUBDIRS $1
9400 if eval test \"x\$"$2"\" = x"no"
9401 then :
9402 wine_fn_append_file DISABLED_SUBDIRS $1
9406 wine_fn_config_symlink ()
9408 ac_links=$@
9409 wine_fn_append_rule \
9410 "$ac_links:
9411 @./config.status \$@"
9412 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9415 wine_binary="wine"
9416 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9417 WINELOADER_PROGRAMS="$wine_binary"
9419 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9421 case $host_os in
9422 cygwin*|mingw32*)
9423 if test -n "$ac_tool_prefix"; then
9424 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9425 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9427 printf %s "checking for $ac_word... " >&6; }
9428 if test ${ac_cv_prog_DLLTOOL+y}
9429 then :
9430 printf %s "(cached) " >&6
9431 else $as_nop
9432 if test -n "$DLLTOOL"; then
9433 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9434 else
9435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9436 for as_dir in $PATH
9438 IFS=$as_save_IFS
9439 case $as_dir in #(((
9440 '') as_dir=./ ;;
9441 */) ;;
9442 *) as_dir=$as_dir/ ;;
9443 esac
9444 for ac_exec_ext in '' $ac_executable_extensions; do
9445 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9446 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9448 break 2
9450 done
9451 done
9452 IFS=$as_save_IFS
9456 DLLTOOL=$ac_cv_prog_DLLTOOL
9457 if test -n "$DLLTOOL"; then
9458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9459 printf "%s\n" "$DLLTOOL" >&6; }
9460 else
9461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9462 printf "%s\n" "no" >&6; }
9467 if test -z "$ac_cv_prog_DLLTOOL"; then
9468 ac_ct_DLLTOOL=$DLLTOOL
9469 # Extract the first word of "dlltool", so it can be a program name with args.
9470 set dummy dlltool; ac_word=$2
9471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9472 printf %s "checking for $ac_word... " >&6; }
9473 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9474 then :
9475 printf %s "(cached) " >&6
9476 else $as_nop
9477 if test -n "$ac_ct_DLLTOOL"; then
9478 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9479 else
9480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9481 for as_dir in $PATH
9483 IFS=$as_save_IFS
9484 case $as_dir in #(((
9485 '') as_dir=./ ;;
9486 */) ;;
9487 *) as_dir=$as_dir/ ;;
9488 esac
9489 for ac_exec_ext in '' $ac_executable_extensions; do
9490 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9491 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9493 break 2
9495 done
9496 done
9497 IFS=$as_save_IFS
9501 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9502 if test -n "$ac_ct_DLLTOOL"; then
9503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9504 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9505 else
9506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9507 printf "%s\n" "no" >&6; }
9510 if test "x$ac_ct_DLLTOOL" = x; then
9511 DLLTOOL="false"
9512 else
9513 case $cross_compiling:$ac_tool_warned in
9514 yes:)
9515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9516 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9517 ac_tool_warned=yes ;;
9518 esac
9519 DLLTOOL=$ac_ct_DLLTOOL
9521 else
9522 DLLTOOL="$ac_cv_prog_DLLTOOL"
9525 LIBEXT="dll"
9526 EXTRACFLAGS="-D__WINE_PE_BUILD"
9527 case $host_cpu in
9528 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9529 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9530 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9531 then :
9532 printf %s "(cached) " >&6
9533 else $as_nop
9534 ac_wine_try_cflags_saved=$CFLAGS
9535 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9538 int main(int argc, char **argv) { return 0; }
9539 _ACEOF
9540 if ac_fn_c_try_link "$LINENO"
9541 then :
9542 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9543 else $as_nop
9544 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9547 conftest$ac_exeext conftest.$ac_ext
9548 CFLAGS=$ac_wine_try_cflags_saved
9550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9551 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9552 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9553 then :
9554 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9555 fi ;;
9556 esac
9557 enable_loader=${enable_loader:-no}
9558 enable_server=${enable_server:-no}
9559 with_x=${with_x:-no}
9560 with_pthread=${with_pthread:-no}
9563 darwin*|macosx*)
9564 ac_ext=m
9565 ac_cpp='$OBJCPP $CPPFLAGS'
9566 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9567 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9568 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9570 ac_ext=m
9571 ac_cpp='$OBJCPP $CPPFLAGS'
9572 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9573 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9574 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9575 if test -n "$ac_tool_prefix"; then
9576 for ac_prog in gcc objcc objc cc CC clang
9578 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9579 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9581 printf %s "checking for $ac_word... " >&6; }
9582 if test ${ac_cv_prog_OBJC+y}
9583 then :
9584 printf %s "(cached) " >&6
9585 else $as_nop
9586 if test -n "$OBJC"; then
9587 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9588 else
9589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9590 for as_dir in $PATH
9592 IFS=$as_save_IFS
9593 case $as_dir in #(((
9594 '') as_dir=./ ;;
9595 */) ;;
9596 *) as_dir=$as_dir/ ;;
9597 esac
9598 for ac_exec_ext in '' $ac_executable_extensions; do
9599 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9600 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9602 break 2
9604 done
9605 done
9606 IFS=$as_save_IFS
9610 OBJC=$ac_cv_prog_OBJC
9611 if test -n "$OBJC"; then
9612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9613 printf "%s\n" "$OBJC" >&6; }
9614 else
9615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9616 printf "%s\n" "no" >&6; }
9620 test -n "$OBJC" && break
9621 done
9623 if test -z "$OBJC"; then
9624 ac_ct_OBJC=$OBJC
9625 for ac_prog in gcc objcc objc cc CC clang
9627 # Extract the first word of "$ac_prog", so it can be a program name with args.
9628 set dummy $ac_prog; ac_word=$2
9629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9630 printf %s "checking for $ac_word... " >&6; }
9631 if test ${ac_cv_prog_ac_ct_OBJC+y}
9632 then :
9633 printf %s "(cached) " >&6
9634 else $as_nop
9635 if test -n "$ac_ct_OBJC"; then
9636 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9637 else
9638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9639 for as_dir in $PATH
9641 IFS=$as_save_IFS
9642 case $as_dir in #(((
9643 '') as_dir=./ ;;
9644 */) ;;
9645 *) as_dir=$as_dir/ ;;
9646 esac
9647 for ac_exec_ext in '' $ac_executable_extensions; do
9648 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9649 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9651 break 2
9653 done
9654 done
9655 IFS=$as_save_IFS
9659 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9660 if test -n "$ac_ct_OBJC"; then
9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9662 printf "%s\n" "$ac_ct_OBJC" >&6; }
9663 else
9664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9665 printf "%s\n" "no" >&6; }
9669 test -n "$ac_ct_OBJC" && break
9670 done
9672 if test "x$ac_ct_OBJC" = x; then
9673 OBJC="gcc"
9674 else
9675 case $cross_compiling:$ac_tool_warned in
9676 yes:)
9677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9678 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9679 ac_tool_warned=yes ;;
9680 esac
9681 OBJC=$ac_ct_OBJC
9685 # Provide some information about the compiler.
9686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9687 set X $ac_compile
9688 ac_compiler=$2
9689 for ac_option in --version -v -V -qversion; do
9690 { { ac_try="$ac_compiler $ac_option >&5"
9691 case "(($ac_try" in
9692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9693 *) ac_try_echo=$ac_try;;
9694 esac
9695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9696 printf "%s\n" "$ac_try_echo"; } >&5
9697 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9698 ac_status=$?
9699 if test -s conftest.err; then
9700 sed '10a\
9701 ... rest of stderr output deleted ...
9702 10q' conftest.err >conftest.er1
9703 cat conftest.er1 >&5
9705 rm -f conftest.er1 conftest.err
9706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9707 test $ac_status = 0; }
9708 done
9710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9711 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9712 if test ${ac_cv_objc_compiler_gnu+y}
9713 then :
9714 printf %s "(cached) " >&6
9715 else $as_nop
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9720 main (void)
9722 #ifndef __GNUC__
9723 choke me
9724 #endif
9727 return 0;
9729 _ACEOF
9730 if ac_fn_objc_try_compile "$LINENO"
9731 then :
9732 ac_compiler_gnu=yes
9733 else $as_nop
9734 ac_compiler_gnu=no
9736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9737 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9741 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9742 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9744 if test $ac_compiler_gnu = yes; then
9745 GOBJC=yes
9746 else
9747 GOBJC=
9749 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9750 ac_save_OBJCFLAGS=$OBJCFLAGS
9751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9752 printf %s "checking whether $OBJC accepts -g... " >&6; }
9753 if test ${ac_cv_prog_objc_g+y}
9754 then :
9755 printf %s "(cached) " >&6
9756 else $as_nop
9757 ac_save_objc_werror_flag=$ac_objc_werror_flag
9758 ac_objc_werror_flag=yes
9759 ac_cv_prog_objc_g=no
9760 OBJCFLAGS="-g"
9761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9762 /* end confdefs.h. */
9765 main (void)
9769 return 0;
9771 _ACEOF
9772 if ac_fn_objc_try_compile "$LINENO"
9773 then :
9774 ac_cv_prog_objc_g=yes
9775 else $as_nop
9776 OBJCFLAGS=""
9777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9781 main (void)
9785 return 0;
9787 _ACEOF
9788 if ac_fn_objc_try_compile "$LINENO"
9789 then :
9791 else $as_nop
9792 ac_objc_werror_flag=$ac_save_objc_werror_flag
9793 OBJCFLAGS="-g"
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9798 main (void)
9802 return 0;
9804 _ACEOF
9805 if ac_fn_objc_try_compile "$LINENO"
9806 then :
9807 ac_cv_prog_objc_g=yes
9809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9814 ac_objc_werror_flag=$ac_save_objc_werror_flag
9816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9817 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9818 if test $ac_test_OBJCFLAGS; then
9819 OBJCFLAGS=$ac_save_OBJCFLAGS
9820 elif test $ac_cv_prog_objc_g = yes; then
9821 if test "$GOBJC" = yes; then
9822 OBJCFLAGS="-g -O2"
9823 else
9824 OBJCFLAGS="-g"
9826 else
9827 if test "$GOBJC" = yes; then
9828 OBJCFLAGS="-O2"
9829 else
9830 OBJCFLAGS=
9833 ac_ext=m
9834 ac_cpp='$OBJCPP $CPPFLAGS'
9835 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9836 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9837 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9840 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9841 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9842 then :
9843 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9847 ac_ext=c
9848 ac_cpp='$CPP $CPPFLAGS'
9849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9853 LIBEXT="dylib"
9854 DLLFLAGS="$DLLFLAGS -fPIC"
9855 LDDLLFLAGS="-fPIC"
9856 COREFOUNDATION_LIBS="-framework CoreFoundation"
9858 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9860 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9862 CORESERVICES_LIBS="-framework CoreServices"
9864 APPKIT_LIBS="-framework AppKit"
9866 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9869 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9871 wine_can_build_preloader=yes
9872 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"
9873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9874 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9875 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9876 then :
9877 printf %s "(cached) " >&6
9878 else $as_nop
9879 ac_wine_try_cflags_saved=$CFLAGS
9880 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9883 int main(int argc, char **argv) { return 0; }
9884 _ACEOF
9885 if ac_fn_c_try_link "$LINENO"
9886 then :
9887 ac_cv_cflags__Wl__no_new_main__e__main=yes
9888 else $as_nop
9889 ac_cv_cflags__Wl__no_new_main__e__main=no
9891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9892 conftest$ac_exeext conftest.$ac_ext
9893 CFLAGS=$ac_wine_try_cflags_saved
9895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9896 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9897 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9898 then :
9899 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9900 { 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
9901 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9902 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9903 then :
9904 printf %s "(cached) " >&6
9905 else $as_nop
9906 ac_wine_try_cflags_saved=$CFLAGS
9907 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9910 int main(int argc, char **argv) { return 0; }
9911 _ACEOF
9912 if ac_fn_c_try_link "$LINENO"
9913 then :
9914 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9915 else $as_nop
9916 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9919 conftest$ac_exeext conftest.$ac_ext
9920 CFLAGS=$ac_wine_try_cflags_saved
9922 { 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
9923 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9924 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9925 then :
9926 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9927 else $as_nop
9928 wine_can_build_preloader=no
9930 else $as_nop
9931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9932 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9933 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9934 then :
9935 printf %s "(cached) " >&6
9936 else $as_nop
9937 ac_wine_try_cflags_saved=$CFLAGS
9938 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9941 int main(int argc, char **argv) { return 0; }
9942 _ACEOF
9943 if ac_fn_c_try_link "$LINENO"
9944 then :
9945 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9946 else $as_nop
9947 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9950 conftest$ac_exeext conftest.$ac_ext
9951 CFLAGS=$ac_wine_try_cflags_saved
9953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9954 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9955 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9956 then :
9957 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9958 else $as_nop
9959 wine_can_build_preloader=no
9962 if test "$wine_can_build_preloader" = "yes"
9963 then
9964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9965 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9966 if test ${ac_cv_cflags__Wl__no_pie+y}
9967 then :
9968 printf %s "(cached) " >&6
9969 else $as_nop
9970 ac_wine_try_cflags_saved=$CFLAGS
9971 CFLAGS="$CFLAGS -Wl,-no_pie"
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9974 int main(int argc, char **argv) { return 0; }
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"
9977 then :
9978 ac_cv_cflags__Wl__no_pie=yes
9979 else $as_nop
9980 ac_cv_cflags__Wl__no_pie=no
9982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9983 conftest$ac_exeext conftest.$ac_ext
9984 CFLAGS=$ac_wine_try_cflags_saved
9986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9987 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9988 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9989 then :
9990 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9992 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
9993 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9994 else
9995 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9998 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9999 then
10000 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10003 if test "$ac_cv_header_Security_Security_h" = "yes"
10004 then
10005 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10008 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10009 then
10010 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10012 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10014 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10015 then
10016 OPENAL_LIBS="-framework OpenAL"
10019 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10021 ac_cv_lib_openal=yes
10023 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10024 then
10025 OPENCL_LIBS="-framework OpenCL"
10027 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10029 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10030 then
10031 ac_save_LIBS="$LIBS"
10032 LIBS="$LIBS $IOKIT_LIBS"
10033 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10034 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10035 then :
10036 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10040 LIBS="$ac_save_LIBS"
10043 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10044 then
10045 CARBON_LIBS="-framework Carbon"
10048 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10049 then
10050 METAL_LIBS="-framework Metal"
10054 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10055 then
10056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10057 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10058 ac_ext=m
10059 ac_cpp='$OBJCPP $CPPFLAGS'
10060 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10061 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10062 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10065 /* end confdefs.h. */
10066 #include <Metal/Metal.h>
10068 main (void)
10070 id<MTLDevice> device; device.registryID;
10072 return 0;
10074 _ACEOF
10075 if ac_fn_objc_try_compile "$LINENO"
10076 then :
10077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10078 printf "%s\n" "yes" >&6; }
10080 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10082 else $as_nop
10083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10084 printf "%s\n" "no" >&6; }
10086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10087 ac_ext=c
10088 ac_cpp='$CPP $CPPFLAGS'
10089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10095 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10096 then
10097 ac_save_LIBS="$LIBS"
10098 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10099 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10100 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10101 then :
10102 enable_winemac_drv=${enable_winemac_drv:-yes}
10105 LIBS="$ac_save_LIBS"
10108 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10109 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10111 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10113 WINELOADER_DEPENDS="wine_info.plist"
10115 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10118 linux-android*)
10120 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10122 DLLFLAGS="$DLLFLAGS -fPIC"
10123 LDDLLFLAGS="-fPIC"
10124 LDEXECFLAGS="-Wl,-pie"
10125 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10127 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10128 if test ${ac_cv_cflags__Wl__z_defs+y}
10129 then :
10130 printf %s "(cached) " >&6
10131 else $as_nop
10132 ac_wine_try_cflags_saved=$CFLAGS
10133 CFLAGS="$CFLAGS -Wl,-z,defs"
10134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10135 /* end confdefs.h. */
10136 int main(int argc, char **argv) { return 0; }
10137 _ACEOF
10138 if ac_fn_c_try_link "$LINENO"
10139 then :
10140 ac_cv_cflags__Wl__z_defs=yes
10141 else $as_nop
10142 ac_cv_cflags__Wl__z_defs=no
10144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10145 conftest$ac_exeext conftest.$ac_ext
10146 CFLAGS=$ac_wine_try_cflags_saved
10148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10149 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10150 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10151 then :
10152 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10155 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10156 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10157 then :
10158 printf %s "(cached) " >&6
10159 else $as_nop
10160 ac_wine_try_cflags_saved=$CFLAGS
10161 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10164 int main(int argc, char **argv) { return 0; }
10165 _ACEOF
10166 if ac_fn_c_try_link "$LINENO"
10167 then :
10168 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10169 else $as_nop
10170 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10173 conftest$ac_exeext conftest.$ac_ext
10174 CFLAGS=$ac_wine_try_cflags_saved
10176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10177 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10178 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10179 then :
10180 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10182 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10185 printf %s "checking for -lEGL... " >&6; }
10186 if test ${ac_cv_lib_soname_EGL+y}
10187 then :
10188 printf %s "(cached) " >&6
10189 else $as_nop
10190 ac_check_soname_save_LIBS=$LIBS
10191 LIBS="-lEGL $LIBS"
10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10195 /* Override any GCC internal prototype to avoid an error.
10196 Use char because int might match the return type of a GCC
10197 builtin and then its argument prototype would still apply. */
10198 char eglGetProcAddress ();
10200 main (void)
10202 return eglGetProcAddress ();
10204 return 0;
10206 _ACEOF
10207 if ac_fn_c_try_link "$LINENO"
10208 then :
10209 case "$LIBEXT" in
10210 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10211 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'` ;;
10212 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10213 if ${ac_cv_lib_soname_EGL:+false} :
10214 then :
10215 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10216 fi ;;
10217 esac
10218 else $as_nop
10219 ac_cv_lib_soname_EGL=
10221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10222 conftest$ac_exeext conftest.$ac_ext
10223 LIBS=$ac_check_soname_save_LIBS
10225 if ${ac_cv_lib_soname_EGL:+false} :
10226 then :
10227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10228 printf "%s\n" "not found" >&6; }
10230 else $as_nop
10231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10232 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10234 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10239 printf %s "checking for -lGLESv2... " >&6; }
10240 if test ${ac_cv_lib_soname_GLESv2+y}
10241 then :
10242 printf %s "(cached) " >&6
10243 else $as_nop
10244 ac_check_soname_save_LIBS=$LIBS
10245 LIBS="-lGLESv2 $LIBS"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10252 char glFlush ();
10254 main (void)
10256 return glFlush ();
10258 return 0;
10260 _ACEOF
10261 if ac_fn_c_try_link "$LINENO"
10262 then :
10263 case "$LIBEXT" in
10264 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10265 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'` ;;
10266 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10267 if ${ac_cv_lib_soname_GLESv2:+false} :
10268 then :
10269 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10270 fi ;;
10271 esac
10272 else $as_nop
10273 ac_cv_lib_soname_GLESv2=
10275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10276 conftest$ac_exeext conftest.$ac_ext
10277 LIBS=$ac_check_soname_save_LIBS
10279 if ${ac_cv_lib_soname_GLESv2:+false} :
10280 then :
10281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10282 printf "%s\n" "not found" >&6; }
10284 else $as_nop
10285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10286 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10288 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10293 if test "x$exec_prefix" = xNONE
10294 then
10295 case $host_cpu in
10296 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10297 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10298 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10299 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10300 esac
10306 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10308 test "$ac_cv_sys_file_offset_bits" = 64 &&
10309 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10311 case $host_cpu in
10312 *i[3456789]86*)
10313 DLLFLAGS="$DLLFLAGS -fno-PIC"
10314 LDDLLFLAGS="-fno-PIC"
10315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10316 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10317 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10318 then :
10319 printf %s "(cached) " >&6
10320 else $as_nop
10321 ac_wine_try_cflags_saved=$CFLAGS
10322 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10324 /* end confdefs.h. */
10325 int main(int argc, char **argv) { return 0; }
10326 _ACEOF
10327 if ac_fn_c_try_link "$LINENO"
10328 then :
10329 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10330 else $as_nop
10331 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10334 conftest$ac_exeext conftest.$ac_ext
10335 CFLAGS=$ac_wine_try_cflags_saved
10337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10338 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10339 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10340 then :
10341 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10345 DLLFLAGS="$DLLFLAGS -fPIC"
10346 LDDLLFLAGS="-fPIC" ;;
10347 esac
10348 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10350 echo '{ global: *; };' >conftest.map
10351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10352 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10353 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10354 then :
10355 printf %s "(cached) " >&6
10356 else $as_nop
10357 ac_wine_try_cflags_saved=$CFLAGS
10358 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10361 int main(int argc, char **argv) { return 0; }
10362 _ACEOF
10363 if ac_fn_c_try_link "$LINENO"
10364 then :
10365 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10366 else $as_nop
10367 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10370 conftest$ac_exeext conftest.$ac_ext
10371 CFLAGS=$ac_wine_try_cflags_saved
10373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10374 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10375 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10376 then :
10377 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10379 rm -f conftest.map
10381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10382 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10383 if test ${ac_cv_cflags__Wl__z_defs+y}
10384 then :
10385 printf %s "(cached) " >&6
10386 else $as_nop
10387 ac_wine_try_cflags_saved=$CFLAGS
10388 CFLAGS="$CFLAGS -Wl,-z,defs"
10389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10391 int main(int argc, char **argv) { return 0; }
10392 _ACEOF
10393 if ac_fn_c_try_link "$LINENO"
10394 then :
10395 ac_cv_cflags__Wl__z_defs=yes
10396 else $as_nop
10397 ac_cv_cflags__Wl__z_defs=no
10399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10400 conftest$ac_exeext conftest.$ac_ext
10401 CFLAGS=$ac_wine_try_cflags_saved
10403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10404 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10405 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10406 then :
10407 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10410 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10411 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10412 then :
10413 printf %s "(cached) " >&6
10414 else $as_nop
10415 ac_wine_try_cflags_saved=$CFLAGS
10416 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10418 /* end confdefs.h. */
10419 int main(int argc, char **argv) { return 0; }
10420 _ACEOF
10421 if ac_fn_c_try_link "$LINENO"
10422 then :
10423 ac_cv_cflags__Wl___export_dynamic=yes
10424 else $as_nop
10425 ac_cv_cflags__Wl___export_dynamic=no
10427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10428 conftest$ac_exeext conftest.$ac_ext
10429 CFLAGS=$ac_wine_try_cflags_saved
10431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10432 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10433 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10434 then :
10435 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10437 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10439 case $host_cpu in
10440 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10442 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10443 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10444 then :
10445 printf %s "(cached) " >&6
10446 else $as_nop
10447 ac_wine_try_cflags_saved=$CFLAGS
10448 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10450 /* end confdefs.h. */
10451 int main(int argc, char **argv) { return 0; }
10452 _ACEOF
10453 if ac_fn_c_try_link "$LINENO"
10454 then :
10455 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10456 else $as_nop
10457 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10460 conftest$ac_exeext conftest.$ac_ext
10461 CFLAGS=$ac_wine_try_cflags_saved
10463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10464 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10465 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10466 then :
10467 case $host_os in
10468 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10469 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10470 esac
10471 else $as_nop
10472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10473 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10474 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10475 then :
10476 printf %s "(cached) " >&6
10477 else $as_nop
10478 ac_wine_try_cflags_saved=$CFLAGS
10479 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10481 /* end confdefs.h. */
10482 int main(int argc, char **argv) { return 0; }
10483 _ACEOF
10484 if ac_fn_c_try_link "$LINENO"
10485 then :
10486 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10487 else $as_nop
10488 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10491 conftest$ac_exeext conftest.$ac_ext
10492 CFLAGS=$ac_wine_try_cflags_saved
10494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10495 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10496 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10497 then :
10498 case $host_os in
10499 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10500 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10501 esac
10503 # Extract the first word of "prelink", so it can be a program name with args.
10504 set dummy prelink; ac_word=$2
10505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10506 printf %s "checking for $ac_word... " >&6; }
10507 if test ${ac_cv_path_PRELINK+y}
10508 then :
10509 printf %s "(cached) " >&6
10510 else $as_nop
10511 case $PRELINK in
10512 [\\/]* | ?:[\\/]*)
10513 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10517 for as_dir in /sbin /usr/sbin $PATH
10519 IFS=$as_save_IFS
10520 case $as_dir in #(((
10521 '') as_dir=./ ;;
10522 */) ;;
10523 *) as_dir=$as_dir/ ;;
10524 esac
10525 for ac_exec_ext in '' $ac_executable_extensions; do
10526 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10527 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10529 break 2
10531 done
10532 done
10533 IFS=$as_save_IFS
10535 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10537 esac
10539 PRELINK=$ac_cv_path_PRELINK
10540 if test -n "$PRELINK"; then
10541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10542 printf "%s\n" "$PRELINK" >&6; }
10543 else
10544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10545 printf "%s\n" "no" >&6; }
10549 if test "x$PRELINK" = xfalse
10550 then
10551 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10555 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10556 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10557 then :
10558 printf %s "(cached) " >&6
10559 else $as_nop
10560 ac_wine_try_cflags_saved=$CFLAGS
10561 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10563 /* end confdefs.h. */
10564 int main(int argc, char **argv) { return 0; }
10565 _ACEOF
10566 if ac_fn_c_try_link "$LINENO"
10567 then :
10568 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10569 else $as_nop
10570 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10573 conftest$ac_exeext conftest.$ac_ext
10574 CFLAGS=$ac_wine_try_cflags_saved
10576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10577 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10578 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10579 then :
10580 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10583 esac
10584 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10586 LIBWINE_DEPENDS="wine.map"
10588 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10590 esac
10592 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10593 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10594 enable_winemac_drv=${enable_winemac_drv:-no}
10597 if test "x$with_mingw" != xno
10598 then
10599 case "x$with_mingw" in
10600 x|xyes) case "$host_cpu" in
10601 aarch64*)
10602 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10603 arm*)
10604 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10605 i[3456789]86*)
10606 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
10607 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10608 mingw32-gcc clang" ;;
10609 x86_64)
10610 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
10611 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10613 ac_prefix_list="" ;;
10614 esac
10615 for ac_prog in $ac_prefix_list
10617 # Extract the first word of "$ac_prog", so it can be a program name with args.
10618 set dummy $ac_prog; ac_word=$2
10619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10620 printf %s "checking for $ac_word... " >&6; }
10621 if test ${ac_cv_prog_CROSSCC+y}
10622 then :
10623 printf %s "(cached) " >&6
10624 else $as_nop
10625 if test -n "$CROSSCC"; then
10626 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10627 else
10628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10629 for as_dir in $PATH
10631 IFS=$as_save_IFS
10632 case $as_dir in #(((
10633 '') as_dir=./ ;;
10634 */) ;;
10635 *) as_dir=$as_dir/ ;;
10636 esac
10637 for ac_exec_ext in '' $ac_executable_extensions; do
10638 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10639 ac_cv_prog_CROSSCC="$ac_prog"
10640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10641 break 2
10643 done
10644 done
10645 IFS=$as_save_IFS
10649 CROSSCC=$ac_cv_prog_CROSSCC
10650 if test -n "$CROSSCC"; then
10651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10652 printf "%s\n" "$CROSSCC" >&6; }
10653 else
10654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10655 printf "%s\n" "no" >&6; }
10659 test -n "$CROSSCC" && break
10660 done
10661 test -n "$CROSSCC" || CROSSCC="false"
10663 *) CROSSCC=$with_mingw ;;
10664 esac
10665 if test "$CROSSCC" != "false"
10666 then
10667 ac_save_CC="$CC"
10668 saved_CFLAGS=$CFLAGS
10669 saved_LDFLAGS=$LDFLAGS
10670 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10672 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10676 CC="$CROSSCC"
10677 CFLAGS=$CROSSCFLAGS
10678 LDFLAGS=$CROSSLDFLAGS
10679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10680 printf %s "checking whether $CROSSCC works... " >&6; }
10681 if test ${wine_cv_crosscc+y}
10682 then :
10683 printf %s "(cached) " >&6
10684 else $as_nop
10685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10686 /* end confdefs.h. */
10689 main (void)
10693 return 0;
10695 _ACEOF
10696 if ac_fn_c_try_compile "$LINENO"
10697 then :
10698 wine_cv_crosscc=yes
10699 else $as_nop
10700 wine_cv_crosscc=no
10702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10705 printf "%s\n" "$wine_cv_crosscc" >&6; }
10706 if test $wine_cv_crosscc = yes
10707 then
10708 set x $CROSSCC
10709 shift
10710 while test $# -ge 1
10712 case "$1" in
10713 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10714 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10715 esac
10716 shift
10717 done
10719 llvm_target=$CROSSTARGET
10720 llvm_cflags="-fuse-ld=lld"
10721 if test -z "$llvm_target"
10722 then
10723 case $host_cpu in
10724 *i[3456789]86*) llvm_target=i686-windows ;;
10725 *) llvm_target=$host_cpu-windows ;;
10726 esac
10728 case $llvm_target in
10729 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10730 esac
10731 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10733 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10734 if eval test \${$as_ac_var+y}
10735 then :
10736 printf %s "(cached) " >&6
10737 else $as_nop
10738 ac_wine_try_cflags_saved=$CFLAGS
10739 ac_wine_try_cflags_saved_cc=$CC
10740 ac_wine_try_cflags_saved_exeext=$ac_exeext
10741 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10742 CC="$CROSSCC"
10743 ac_exeext=".exe"
10744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10745 /* end confdefs.h. */
10746 int __cdecl mainCRTStartup(void) { return 0; }
10747 _ACEOF
10748 if ac_fn_c_try_link "$LINENO"
10749 then :
10750 eval "$as_ac_var=yes"
10751 else $as_nop
10752 eval "$as_ac_var=no"
10754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10755 conftest$ac_exeext conftest.$ac_ext
10756 CFLAGS=$ac_wine_try_cflags_saved
10757 CC=$ac_wine_try_cflags_saved_cc
10758 ac_exeext=$ac_wine_try_cflags_saved_exeext
10760 eval ac_res=\$$as_ac_var
10761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10762 printf "%s\n" "$ac_res" >&6; }
10763 if eval test \"x\$"$as_ac_var"\" = x"yes"
10764 then :
10765 CROSSTARGET=$llvm_target
10766 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10767 DELAYLOADFLAG="-Wl,-delayload,"
10769 CFLAGS="$CFLAGS $llvm_cflags"
10772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CROSSCC option to enable C99 features" >&5
10773 printf %s "checking for $CROSSCC option to enable C99 features... " >&6; }
10774 if test ${wine_cv_crosscc_c99+y}
10775 then :
10776 printf %s "(cached) " >&6
10777 else $as_nop
10778 wine_cv_crosscc_c99=no
10779 for arg in '' '-std=gnu99'
10781 CC="$CROSSCC $arg"
10782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10783 /* end confdefs.h. */
10784 $ac_c_conftest_c99_program
10785 _ACEOF
10786 if ac_fn_c_try_compile "$LINENO"
10787 then :
10788 wine_cv_crosscc_c99=$arg
10789 else $as_nop
10790 wine_cv_crosscc_c99=no
10792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10793 test "x$wine_cv_crosscc_c99" != xno && break
10794 done
10797 case "x$wine_cv_crosscc_c99" in
10798 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10799 printf "%s\n" "none needed" >&6; } ;;
10800 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10801 printf "%s\n" "unsupported" >&6; } ;;
10802 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc_c99" >&5
10803 printf "%s\n" "$wine_cv_crosscc_c99" >&6; }
10804 CROSSCC="$CROSSCC $wine_cv_crosscc_c99" ;;
10805 esac
10807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10808 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10809 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10810 then :
10811 printf %s "(cached) " >&6
10812 else $as_nop
10813 ac_wine_try_cflags_saved=$CFLAGS
10814 ac_wine_try_cflags_saved_cc=$CC
10815 ac_wine_try_cflags_saved_exeext=$ac_exeext
10816 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10817 CC="$CROSSCC"
10818 ac_exeext=".exe"
10819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10821 int __cdecl mainCRTStartup(void) { return 0; }
10822 _ACEOF
10823 if ac_fn_c_try_link "$LINENO"
10824 then :
10825 ac_cv_crosscflags__fno_strict_aliasing=yes
10826 else $as_nop
10827 ac_cv_crosscflags__fno_strict_aliasing=no
10829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10830 conftest$ac_exeext conftest.$ac_ext
10831 CFLAGS=$ac_wine_try_cflags_saved
10832 CC=$ac_wine_try_cflags_saved_cc
10833 ac_exeext=$ac_wine_try_cflags_saved_exeext
10835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10836 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10837 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10838 then :
10839 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10842 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10843 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
10844 then :
10845 printf %s "(cached) " >&6
10846 else $as_nop
10847 ac_wine_try_cflags_saved=$CFLAGS
10848 ac_wine_try_cflags_saved_cc=$CC
10849 ac_wine_try_cflags_saved_exeext=$ac_exeext
10850 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10851 CC="$CROSSCC"
10852 ac_exeext=".exe"
10853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10854 /* end confdefs.h. */
10855 int __cdecl mainCRTStartup(void) { return 0; }
10856 _ACEOF
10857 if ac_fn_c_try_link "$LINENO"
10858 then :
10859 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10860 else $as_nop
10861 ac_cv_crosscflags__Werror_unknown_warning_option=no
10863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10864 conftest$ac_exeext conftest.$ac_ext
10865 CFLAGS=$ac_wine_try_cflags_saved
10866 CC=$ac_wine_try_cflags_saved_cc
10867 ac_exeext=$ac_wine_try_cflags_saved_exeext
10869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10870 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10871 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10872 then :
10873 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10876 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10877 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10878 then :
10879 printf %s "(cached) " >&6
10880 else $as_nop
10881 ac_wine_try_cflags_saved=$CFLAGS
10882 ac_wine_try_cflags_saved_cc=$CC
10883 ac_wine_try_cflags_saved_exeext=$ac_exeext
10884 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10885 CC="$CROSSCC"
10886 ac_exeext=".exe"
10887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10888 /* end confdefs.h. */
10889 int __cdecl mainCRTStartup(void) { return 0; }
10890 _ACEOF
10891 if ac_fn_c_try_link "$LINENO"
10892 then :
10893 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10894 else $as_nop
10895 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10898 conftest$ac_exeext conftest.$ac_ext
10899 CFLAGS=$ac_wine_try_cflags_saved
10900 CC=$ac_wine_try_cflags_saved_cc
10901 ac_exeext=$ac_wine_try_cflags_saved_exeext
10903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10904 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10905 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10906 then :
10907 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10910 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10911 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
10912 then :
10913 printf %s "(cached) " >&6
10914 else $as_nop
10915 ac_wine_try_cflags_saved=$CFLAGS
10916 ac_wine_try_cflags_saved_cc=$CC
10917 ac_wine_try_cflags_saved_exeext=$ac_exeext
10918 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10919 CC="$CROSSCC"
10920 ac_exeext=".exe"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10923 int __cdecl mainCRTStartup(void) { return 0; }
10924 _ACEOF
10925 if ac_fn_c_try_link "$LINENO"
10926 then :
10927 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10928 else $as_nop
10929 ac_cv_crosscflags__Wdeclaration_after_statement=no
10931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10932 conftest$ac_exeext conftest.$ac_ext
10933 CFLAGS=$ac_wine_try_cflags_saved
10934 CC=$ac_wine_try_cflags_saved_cc
10935 ac_exeext=$ac_wine_try_cflags_saved_exeext
10937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10938 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10939 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10940 then :
10941 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10944 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10945 if test ${ac_cv_crosscflags__Wempty_body+y}
10946 then :
10947 printf %s "(cached) " >&6
10948 else $as_nop
10949 ac_wine_try_cflags_saved=$CFLAGS
10950 ac_wine_try_cflags_saved_cc=$CC
10951 ac_wine_try_cflags_saved_exeext=$ac_exeext
10952 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10953 CC="$CROSSCC"
10954 ac_exeext=".exe"
10955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10957 int __cdecl mainCRTStartup(void) { return 0; }
10958 _ACEOF
10959 if ac_fn_c_try_link "$LINENO"
10960 then :
10961 ac_cv_crosscflags__Wempty_body=yes
10962 else $as_nop
10963 ac_cv_crosscflags__Wempty_body=no
10965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10966 conftest$ac_exeext conftest.$ac_ext
10967 CFLAGS=$ac_wine_try_cflags_saved
10968 CC=$ac_wine_try_cflags_saved_cc
10969 ac_exeext=$ac_wine_try_cflags_saved_exeext
10971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10972 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
10973 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
10974 then :
10975 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10978 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10979 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
10980 then :
10981 printf %s "(cached) " >&6
10982 else $as_nop
10983 ac_wine_try_cflags_saved=$CFLAGS
10984 ac_wine_try_cflags_saved_cc=$CC
10985 ac_wine_try_cflags_saved_exeext=$ac_exeext
10986 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10987 CC="$CROSSCC"
10988 ac_exeext=".exe"
10989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10990 /* end confdefs.h. */
10991 int __cdecl mainCRTStartup(void) { return 0; }
10992 _ACEOF
10993 if ac_fn_c_try_link "$LINENO"
10994 then :
10995 ac_cv_crosscflags__Wignored_qualifiers=yes
10996 else $as_nop
10997 ac_cv_crosscflags__Wignored_qualifiers=no
10999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11000 conftest$ac_exeext conftest.$ac_ext
11001 CFLAGS=$ac_wine_try_cflags_saved
11002 CC=$ac_wine_try_cflags_saved_cc
11003 ac_exeext=$ac_wine_try_cflags_saved_exeext
11005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11006 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11007 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11008 then :
11009 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11012 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11013 if test ${ac_cv_crosscflags__Winit_self+y}
11014 then :
11015 printf %s "(cached) " >&6
11016 else $as_nop
11017 ac_wine_try_cflags_saved=$CFLAGS
11018 ac_wine_try_cflags_saved_cc=$CC
11019 ac_wine_try_cflags_saved_exeext=$ac_exeext
11020 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11021 CC="$CROSSCC"
11022 ac_exeext=".exe"
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11025 int __cdecl mainCRTStartup(void) { return 0; }
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"
11028 then :
11029 ac_cv_crosscflags__Winit_self=yes
11030 else $as_nop
11031 ac_cv_crosscflags__Winit_self=no
11033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11034 conftest$ac_exeext conftest.$ac_ext
11035 CFLAGS=$ac_wine_try_cflags_saved
11036 CC=$ac_wine_try_cflags_saved_cc
11037 ac_exeext=$ac_wine_try_cflags_saved_exeext
11039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11040 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11041 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11042 then :
11043 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11046 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11047 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11048 then :
11049 printf %s "(cached) " >&6
11050 else $as_nop
11051 ac_wine_try_cflags_saved=$CFLAGS
11052 ac_wine_try_cflags_saved_cc=$CC
11053 ac_wine_try_cflags_saved_exeext=$ac_exeext
11054 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11055 CC="$CROSSCC"
11056 ac_exeext=".exe"
11057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11058 /* end confdefs.h. */
11059 int __cdecl mainCRTStartup(void) { return 0; }
11060 _ACEOF
11061 if ac_fn_c_try_link "$LINENO"
11062 then :
11063 ac_cv_crosscflags__Wpacked_not_aligned=yes
11064 else $as_nop
11065 ac_cv_crosscflags__Wpacked_not_aligned=no
11067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11068 conftest$ac_exeext conftest.$ac_ext
11069 CFLAGS=$ac_wine_try_cflags_saved
11070 CC=$ac_wine_try_cflags_saved_cc
11071 ac_exeext=$ac_wine_try_cflags_saved_exeext
11073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11074 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11075 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11076 then :
11077 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11080 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11081 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11082 then :
11083 printf %s "(cached) " >&6
11084 else $as_nop
11085 ac_wine_try_cflags_saved=$CFLAGS
11086 ac_wine_try_cflags_saved_cc=$CC
11087 ac_wine_try_cflags_saved_exeext=$ac_exeext
11088 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11089 CC="$CROSSCC"
11090 ac_exeext=".exe"
11091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11092 /* end confdefs.h. */
11093 int __cdecl mainCRTStartup(void) { return 0; }
11094 _ACEOF
11095 if ac_fn_c_try_link "$LINENO"
11096 then :
11097 ac_cv_crosscflags__Wpragma_pack=yes
11098 else $as_nop
11099 ac_cv_crosscflags__Wpragma_pack=no
11101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11102 conftest$ac_exeext conftest.$ac_ext
11103 CFLAGS=$ac_wine_try_cflags_saved
11104 CC=$ac_wine_try_cflags_saved_cc
11105 ac_exeext=$ac_wine_try_cflags_saved_exeext
11107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11108 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11109 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11110 then :
11111 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11114 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11115 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11116 then :
11117 printf %s "(cached) " >&6
11118 else $as_nop
11119 ac_wine_try_cflags_saved=$CFLAGS
11120 ac_wine_try_cflags_saved_cc=$CC
11121 ac_wine_try_cflags_saved_exeext=$ac_exeext
11122 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11123 CC="$CROSSCC"
11124 ac_exeext=".exe"
11125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11127 int __cdecl mainCRTStartup(void) { return 0; }
11128 _ACEOF
11129 if ac_fn_c_try_link "$LINENO"
11130 then :
11131 ac_cv_crosscflags__Wshift_overflow_2=yes
11132 else $as_nop
11133 ac_cv_crosscflags__Wshift_overflow_2=no
11135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11136 conftest$ac_exeext conftest.$ac_ext
11137 CFLAGS=$ac_wine_try_cflags_saved
11138 CC=$ac_wine_try_cflags_saved_cc
11139 ac_exeext=$ac_wine_try_cflags_saved_exeext
11141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11142 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11143 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11144 then :
11145 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11148 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11149 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11150 then :
11151 printf %s "(cached) " >&6
11152 else $as_nop
11153 ac_wine_try_cflags_saved=$CFLAGS
11154 ac_wine_try_cflags_saved_cc=$CC
11155 ac_wine_try_cflags_saved_exeext=$ac_exeext
11156 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11157 CC="$CROSSCC"
11158 ac_exeext=".exe"
11159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11161 int __cdecl mainCRTStartup(void) { return 0; }
11162 _ACEOF
11163 if ac_fn_c_try_link "$LINENO"
11164 then :
11165 ac_cv_crosscflags__Wstrict_prototypes=yes
11166 else $as_nop
11167 ac_cv_crosscflags__Wstrict_prototypes=no
11169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11170 conftest$ac_exeext conftest.$ac_ext
11171 CFLAGS=$ac_wine_try_cflags_saved
11172 CC=$ac_wine_try_cflags_saved_cc
11173 ac_exeext=$ac_wine_try_cflags_saved_exeext
11175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11176 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11177 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11178 then :
11179 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11182 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11183 if test ${ac_cv_crosscflags__Wtype_limits+y}
11184 then :
11185 printf %s "(cached) " >&6
11186 else $as_nop
11187 ac_wine_try_cflags_saved=$CFLAGS
11188 ac_wine_try_cflags_saved_cc=$CC
11189 ac_wine_try_cflags_saved_exeext=$ac_exeext
11190 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11191 CC="$CROSSCC"
11192 ac_exeext=".exe"
11193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11194 /* end confdefs.h. */
11195 int __cdecl mainCRTStartup(void) { return 0; }
11196 _ACEOF
11197 if ac_fn_c_try_link "$LINENO"
11198 then :
11199 ac_cv_crosscflags__Wtype_limits=yes
11200 else $as_nop
11201 ac_cv_crosscflags__Wtype_limits=no
11203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11204 conftest$ac_exeext conftest.$ac_ext
11205 CFLAGS=$ac_wine_try_cflags_saved
11206 CC=$ac_wine_try_cflags_saved_cc
11207 ac_exeext=$ac_wine_try_cflags_saved_exeext
11209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11210 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11211 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11212 then :
11213 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11216 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11217 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11218 then :
11219 printf %s "(cached) " >&6
11220 else $as_nop
11221 ac_wine_try_cflags_saved=$CFLAGS
11222 ac_wine_try_cflags_saved_cc=$CC
11223 ac_wine_try_cflags_saved_exeext=$ac_exeext
11224 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11225 CC="$CROSSCC"
11226 ac_exeext=".exe"
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11229 int __cdecl mainCRTStartup(void) { return 0; }
11230 _ACEOF
11231 if ac_fn_c_try_link "$LINENO"
11232 then :
11233 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11234 else $as_nop
11235 ac_cv_crosscflags__Wunused_but_set_parameter=no
11237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11238 conftest$ac_exeext conftest.$ac_ext
11239 CFLAGS=$ac_wine_try_cflags_saved
11240 CC=$ac_wine_try_cflags_saved_cc
11241 ac_exeext=$ac_wine_try_cflags_saved_exeext
11243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11244 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11245 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11246 then :
11247 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11250 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11251 if test ${ac_cv_crosscflags__Wvla+y}
11252 then :
11253 printf %s "(cached) " >&6
11254 else $as_nop
11255 ac_wine_try_cflags_saved=$CFLAGS
11256 ac_wine_try_cflags_saved_cc=$CC
11257 ac_wine_try_cflags_saved_exeext=$ac_exeext
11258 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11259 CC="$CROSSCC"
11260 ac_exeext=".exe"
11261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11262 /* end confdefs.h. */
11263 int __cdecl mainCRTStartup(void) { return 0; }
11264 _ACEOF
11265 if ac_fn_c_try_link "$LINENO"
11266 then :
11267 ac_cv_crosscflags__Wvla=yes
11268 else $as_nop
11269 ac_cv_crosscflags__Wvla=no
11271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11272 conftest$ac_exeext conftest.$ac_ext
11273 CFLAGS=$ac_wine_try_cflags_saved
11274 CC=$ac_wine_try_cflags_saved_cc
11275 ac_exeext=$ac_wine_try_cflags_saved_exeext
11277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11278 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11279 if test "x$ac_cv_crosscflags__Wvla" = xyes
11280 then :
11281 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11284 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11285 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11286 then :
11287 printf %s "(cached) " >&6
11288 else $as_nop
11289 ac_wine_try_cflags_saved=$CFLAGS
11290 ac_wine_try_cflags_saved_cc=$CC
11291 ac_wine_try_cflags_saved_exeext=$ac_exeext
11292 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11293 CC="$CROSSCC"
11294 ac_exeext=".exe"
11295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11297 int __cdecl mainCRTStartup(void) { return 0; }
11298 _ACEOF
11299 if ac_fn_c_try_link "$LINENO"
11300 then :
11301 ac_cv_crosscflags__Wwrite_strings=yes
11302 else $as_nop
11303 ac_cv_crosscflags__Wwrite_strings=no
11305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11306 conftest$ac_exeext conftest.$ac_ext
11307 CFLAGS=$ac_wine_try_cflags_saved
11308 CC=$ac_wine_try_cflags_saved_cc
11309 ac_exeext=$ac_wine_try_cflags_saved_exeext
11311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11312 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11313 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11314 then :
11315 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11318 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11319 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11320 then :
11321 printf %s "(cached) " >&6
11322 else $as_nop
11323 ac_wine_try_cflags_saved=$CFLAGS
11324 ac_wine_try_cflags_saved_cc=$CC
11325 ac_wine_try_cflags_saved_exeext=$ac_exeext
11326 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11327 CC="$CROSSCC"
11328 ac_exeext=".exe"
11329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11331 int __cdecl mainCRTStartup(void) { return 0; }
11332 _ACEOF
11333 if ac_fn_c_try_link "$LINENO"
11334 then :
11335 ac_cv_crosscflags__Wpointer_arith=yes
11336 else $as_nop
11337 ac_cv_crosscflags__Wpointer_arith=no
11339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11340 conftest$ac_exeext conftest.$ac_ext
11341 CFLAGS=$ac_wine_try_cflags_saved
11342 CC=$ac_wine_try_cflags_saved_cc
11343 ac_exeext=$ac_wine_try_cflags_saved_exeext
11345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11346 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11347 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11348 then :
11349 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11352 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11353 if test ${ac_cv_crosscflags__Wlogical_op+y}
11354 then :
11355 printf %s "(cached) " >&6
11356 else $as_nop
11357 ac_wine_try_cflags_saved=$CFLAGS
11358 ac_wine_try_cflags_saved_cc=$CC
11359 ac_wine_try_cflags_saved_exeext=$ac_exeext
11360 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11361 CC="$CROSSCC"
11362 ac_exeext=".exe"
11363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11364 /* end confdefs.h. */
11365 int __cdecl mainCRTStartup(void) { return 0; }
11366 _ACEOF
11367 if ac_fn_c_try_link "$LINENO"
11368 then :
11369 ac_cv_crosscflags__Wlogical_op=yes
11370 else $as_nop
11371 ac_cv_crosscflags__Wlogical_op=no
11373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11374 conftest$ac_exeext conftest.$ac_ext
11375 CFLAGS=$ac_wine_try_cflags_saved
11376 CC=$ac_wine_try_cflags_saved_cc
11377 ac_exeext=$ac_wine_try_cflags_saved_exeext
11379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11380 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11381 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11382 then :
11383 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11386 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11387 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11388 then :
11389 printf %s "(cached) " >&6
11390 else $as_nop
11391 ac_wine_try_cflags_saved=$CFLAGS
11392 ac_wine_try_cflags_saved_cc=$CC
11393 ac_wine_try_cflags_saved_exeext=$ac_exeext
11394 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11395 CC="$CROSSCC"
11396 ac_exeext=".exe"
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11399 int __cdecl mainCRTStartup(void) { return 0; }
11400 _ACEOF
11401 if ac_fn_c_try_link "$LINENO"
11402 then :
11403 ac_cv_crosscflags__Wabsolute_value=yes
11404 else $as_nop
11405 ac_cv_crosscflags__Wabsolute_value=no
11407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11408 conftest$ac_exeext conftest.$ac_ext
11409 CFLAGS=$ac_wine_try_cflags_saved
11410 CC=$ac_wine_try_cflags_saved_cc
11411 ac_exeext=$ac_wine_try_cflags_saved_exeext
11413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11414 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11415 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11416 then :
11417 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11420 case $host_cpu in
11421 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11422 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11423 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11424 then :
11425 printf %s "(cached) " >&6
11426 else $as_nop
11427 ac_wine_try_cflags_saved=$CFLAGS
11428 ac_wine_try_cflags_saved_cc=$CC
11429 ac_wine_try_cflags_saved_exeext=$ac_exeext
11430 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11431 CC="$CROSSCC"
11432 ac_exeext=".exe"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11435 int __cdecl mainCRTStartup(void) { return 0; }
11436 _ACEOF
11437 if ac_fn_c_try_link "$LINENO"
11438 then :
11439 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11440 else $as_nop
11441 ac_cv_crosscflags__fno_omit_frame_pointer=no
11443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11444 conftest$ac_exeext conftest.$ac_ext
11445 CFLAGS=$ac_wine_try_cflags_saved
11446 CC=$ac_wine_try_cflags_saved_cc
11447 ac_exeext=$ac_wine_try_cflags_saved_exeext
11449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11450 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11451 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11452 then :
11453 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--disable-stdcall-fixup" >&5
11456 printf %s "checking whether the cross-compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
11457 if test ${ac_cv_crosscflags__Wl___disable_stdcall_fixup+y}
11458 then :
11459 printf %s "(cached) " >&6
11460 else $as_nop
11461 ac_wine_try_cflags_saved=$CFLAGS
11462 ac_wine_try_cflags_saved_cc=$CC
11463 ac_wine_try_cflags_saved_exeext=$ac_exeext
11464 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11465 CC="$CROSSCC"
11466 ac_exeext=".exe"
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11469 int __cdecl mainCRTStartup(void) { return 0; }
11470 _ACEOF
11471 if ac_fn_c_try_link "$LINENO"
11472 then :
11473 ac_cv_crosscflags__Wl___disable_stdcall_fixup=yes
11474 else $as_nop
11475 ac_cv_crosscflags__Wl___disable_stdcall_fixup=no
11477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11478 conftest$ac_exeext conftest.$ac_ext
11479 CFLAGS=$ac_wine_try_cflags_saved
11480 CC=$ac_wine_try_cflags_saved_cc
11481 ac_exeext=$ac_wine_try_cflags_saved_exeext
11483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___disable_stdcall_fixup" >&5
11484 printf "%s\n" "$ac_cv_crosscflags__Wl___disable_stdcall_fixup" >&6; }
11485 if test "x$ac_cv_crosscflags__Wl___disable_stdcall_fixup" = xyes
11486 then :
11487 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--disable-stdcall-fixup"
11488 fi ;;
11489 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11490 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11491 if test ${ac_cv_crosscflags__Wno_format+y}
11492 then :
11493 printf %s "(cached) " >&6
11494 else $as_nop
11495 ac_wine_try_cflags_saved=$CFLAGS
11496 ac_wine_try_cflags_saved_cc=$CC
11497 ac_wine_try_cflags_saved_exeext=$ac_exeext
11498 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11499 CC="$CROSSCC"
11500 ac_exeext=".exe"
11501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11503 int __cdecl mainCRTStartup(void) { return 0; }
11504 _ACEOF
11505 if ac_fn_c_try_link "$LINENO"
11506 then :
11507 ac_cv_crosscflags__Wno_format=yes
11508 else $as_nop
11509 ac_cv_crosscflags__Wno_format=no
11511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11512 conftest$ac_exeext conftest.$ac_ext
11513 CFLAGS=$ac_wine_try_cflags_saved
11514 CC=$ac_wine_try_cflags_saved_cc
11515 ac_exeext=$ac_wine_try_cflags_saved_exeext
11517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11518 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11519 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11520 then :
11521 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11524 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11525 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11526 then :
11527 printf %s "(cached) " >&6
11528 else $as_nop
11529 ac_wine_try_cflags_saved=$CFLAGS
11530 ac_wine_try_cflags_saved_cc=$CC
11531 ac_wine_try_cflags_saved_exeext=$ac_exeext
11532 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11533 CC="$CROSSCC"
11534 ac_exeext=".exe"
11535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11537 int __cdecl mainCRTStartup(void) { return 0; }
11538 _ACEOF
11539 if ac_fn_c_try_link "$LINENO"
11540 then :
11541 ac_cv_crosscflags__Wformat_overflow=yes
11542 else $as_nop
11543 ac_cv_crosscflags__Wformat_overflow=no
11545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11546 conftest$ac_exeext conftest.$ac_ext
11547 CFLAGS=$ac_wine_try_cflags_saved
11548 CC=$ac_wine_try_cflags_saved_cc
11549 ac_exeext=$ac_wine_try_cflags_saved_exeext
11551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11552 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11553 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11554 then :
11555 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11558 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11559 if test ${ac_cv_crosscflags__Wnonnull+y}
11560 then :
11561 printf %s "(cached) " >&6
11562 else $as_nop
11563 ac_wine_try_cflags_saved=$CFLAGS
11564 ac_wine_try_cflags_saved_cc=$CC
11565 ac_wine_try_cflags_saved_exeext=$ac_exeext
11566 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11567 CC="$CROSSCC"
11568 ac_exeext=".exe"
11569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11571 int __cdecl mainCRTStartup(void) { return 0; }
11572 _ACEOF
11573 if ac_fn_c_try_link "$LINENO"
11574 then :
11575 ac_cv_crosscflags__Wnonnull=yes
11576 else $as_nop
11577 ac_cv_crosscflags__Wnonnull=no
11579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11580 conftest$ac_exeext conftest.$ac_ext
11581 CFLAGS=$ac_wine_try_cflags_saved
11582 CC=$ac_wine_try_cflags_saved_cc
11583 ac_exeext=$ac_wine_try_cflags_saved_exeext
11585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11586 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11587 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11588 then :
11589 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11592 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11593 if test ${ac_cv_crosscflags__mcx16+y}
11594 then :
11595 printf %s "(cached) " >&6
11596 else $as_nop
11597 ac_wine_try_cflags_saved=$CFLAGS
11598 ac_wine_try_cflags_saved_cc=$CC
11599 ac_wine_try_cflags_saved_exeext=$ac_exeext
11600 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11601 CC="$CROSSCC"
11602 ac_exeext=".exe"
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11605 int __cdecl mainCRTStartup(void) { return 0; }
11606 _ACEOF
11607 if ac_fn_c_try_link "$LINENO"
11608 then :
11609 ac_cv_crosscflags__mcx16=yes
11610 else $as_nop
11611 ac_cv_crosscflags__mcx16=no
11613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11614 conftest$ac_exeext conftest.$ac_ext
11615 CFLAGS=$ac_wine_try_cflags_saved
11616 CC=$ac_wine_try_cflags_saved_cc
11617 ac_exeext=$ac_wine_try_cflags_saved_exeext
11619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11620 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11621 if test "x$ac_cv_crosscflags__mcx16" = xyes
11622 then :
11623 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11624 fi ;;
11625 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11626 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11627 if test ${ac_cv_crosscflags__Wno_format+y}
11628 then :
11629 printf %s "(cached) " >&6
11630 else $as_nop
11631 ac_wine_try_cflags_saved=$CFLAGS
11632 ac_wine_try_cflags_saved_cc=$CC
11633 ac_wine_try_cflags_saved_exeext=$ac_exeext
11634 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11635 CC="$CROSSCC"
11636 ac_exeext=".exe"
11637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11638 /* end confdefs.h. */
11639 int __cdecl mainCRTStartup(void) { return 0; }
11640 _ACEOF
11641 if ac_fn_c_try_link "$LINENO"
11642 then :
11643 ac_cv_crosscflags__Wno_format=yes
11644 else $as_nop
11645 ac_cv_crosscflags__Wno_format=no
11647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11648 conftest$ac_exeext conftest.$ac_ext
11649 CFLAGS=$ac_wine_try_cflags_saved
11650 CC=$ac_wine_try_cflags_saved_cc
11651 ac_exeext=$ac_wine_try_cflags_saved_exeext
11653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11654 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11655 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11656 then :
11657 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11658 fi ;;
11659 esac
11662 if test -z "$CROSSDEBUG"
11663 then
11664 for ac_flag in $CROSSCFLAGS; do
11665 case $ac_flag in
11666 -gdwarf*) CROSSDEBUG=dwarf ;;
11667 -gcodeview) CROSSDEBUG=pdb ;;
11668 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11669 esac
11670 done
11673 ac_debug_format_seen=""
11674 for ac_flag in $CROSSCFLAGS; do
11675 case $ac_flag in
11676 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11677 esac
11678 done
11679 if test "x$ac_debug_format_seen" = x
11680 then
11681 case $CROSSDEBUG in
11682 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11683 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11684 if test ${ac_cv_crosscflags__gdwarf_4+y}
11685 then :
11686 printf %s "(cached) " >&6
11687 else $as_nop
11688 ac_wine_try_cflags_saved=$CFLAGS
11689 ac_wine_try_cflags_saved_cc=$CC
11690 ac_wine_try_cflags_saved_exeext=$ac_exeext
11691 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11692 CC="$CROSSCC"
11693 ac_exeext=".exe"
11694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11695 /* end confdefs.h. */
11696 int __cdecl mainCRTStartup(void) { return 0; }
11697 _ACEOF
11698 if ac_fn_c_try_link "$LINENO"
11699 then :
11700 ac_cv_crosscflags__gdwarf_4=yes
11701 else $as_nop
11702 ac_cv_crosscflags__gdwarf_4=no
11704 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11705 conftest$ac_exeext conftest.$ac_ext
11706 CFLAGS=$ac_wine_try_cflags_saved
11707 CC=$ac_wine_try_cflags_saved_cc
11708 ac_exeext=$ac_wine_try_cflags_saved_exeext
11710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11711 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11712 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11713 then :
11714 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11715 fi ;;
11716 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11717 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11718 if test ${ac_cv_crosscflags__gcodeview+y}
11719 then :
11720 printf %s "(cached) " >&6
11721 else $as_nop
11722 ac_wine_try_cflags_saved=$CFLAGS
11723 ac_wine_try_cflags_saved_cc=$CC
11724 ac_wine_try_cflags_saved_exeext=$ac_exeext
11725 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11726 CC="$CROSSCC"
11727 ac_exeext=".exe"
11728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11730 int __cdecl mainCRTStartup(void) { return 0; }
11731 _ACEOF
11732 if ac_fn_c_try_link "$LINENO"
11733 then :
11734 ac_cv_crosscflags__gcodeview=yes
11735 else $as_nop
11736 ac_cv_crosscflags__gcodeview=no
11738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11739 conftest$ac_exeext conftest.$ac_ext
11740 CFLAGS=$ac_wine_try_cflags_saved
11741 CC=$ac_wine_try_cflags_saved_cc
11742 ac_exeext=$ac_wine_try_cflags_saved_exeext
11744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11745 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11746 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11747 then :
11748 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11749 fi ;;
11750 esac
11753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11754 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11755 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11756 then :
11757 printf %s "(cached) " >&6
11758 else $as_nop
11759 ac_wine_try_cflags_saved=$CFLAGS
11760 ac_wine_try_cflags_saved_cc=$CC
11761 ac_wine_try_cflags_saved_exeext=$ac_exeext
11762 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11763 CC="$CROSSCC"
11764 ac_exeext=".exe"
11765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11766 /* end confdefs.h. */
11767 int __cdecl mainCRTStartup(void) { return 0; }
11768 _ACEOF
11769 if ac_fn_c_try_link "$LINENO"
11770 then :
11771 ac_cv_crosscflags__fexcess_precision_standard=yes
11772 else $as_nop
11773 ac_cv_crosscflags__fexcess_precision_standard=no
11775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11776 conftest$ac_exeext conftest.$ac_ext
11777 CFLAGS=$ac_wine_try_cflags_saved
11778 CC=$ac_wine_try_cflags_saved_cc
11779 ac_exeext=$ac_wine_try_cflags_saved_exeext
11781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11782 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11783 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11784 then :
11785 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11789 if test "x$enable_werror" = "xyes"
11790 then
11791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11792 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11793 if test ${ac_cv_crosscflags__Werror+y}
11794 then :
11795 printf %s "(cached) " >&6
11796 else $as_nop
11797 ac_wine_try_cflags_saved=$CFLAGS
11798 ac_wine_try_cflags_saved_cc=$CC
11799 ac_wine_try_cflags_saved_exeext=$ac_exeext
11800 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11801 CC="$CROSSCC"
11802 ac_exeext=".exe"
11803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11805 int __cdecl mainCRTStartup(void) { return 0; }
11806 _ACEOF
11807 if ac_fn_c_try_link "$LINENO"
11808 then :
11809 ac_cv_crosscflags__Werror=yes
11810 else $as_nop
11811 ac_cv_crosscflags__Werror=no
11813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11814 conftest$ac_exeext conftest.$ac_ext
11815 CFLAGS=$ac_wine_try_cflags_saved
11816 CC=$ac_wine_try_cflags_saved_cc
11817 ac_exeext=$ac_wine_try_cflags_saved_exeext
11819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11820 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11821 if test "x$ac_cv_crosscflags__Werror" = xyes
11822 then :
11823 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11826 if test "x$enable_build_id" = "xyes"
11827 then
11828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11829 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11830 if test ${ac_cv_crosscflags__Wl___build_id+y}
11831 then :
11832 printf %s "(cached) " >&6
11833 else $as_nop
11834 ac_wine_try_cflags_saved=$CFLAGS
11835 ac_wine_try_cflags_saved_cc=$CC
11836 ac_wine_try_cflags_saved_exeext=$ac_exeext
11837 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11838 CC="$CROSSCC"
11839 ac_exeext=".exe"
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11842 int __cdecl mainCRTStartup(void) { return 0; }
11843 _ACEOF
11844 if ac_fn_c_try_link "$LINENO"
11845 then :
11846 ac_cv_crosscflags__Wl___build_id=yes
11847 else $as_nop
11848 ac_cv_crosscflags__Wl___build_id=no
11850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11851 conftest$ac_exeext conftest.$ac_ext
11852 CFLAGS=$ac_wine_try_cflags_saved
11853 CC=$ac_wine_try_cflags_saved_cc
11854 ac_exeext=$ac_wine_try_cflags_saved_exeext
11856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11857 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11858 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11859 then :
11860 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11861 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11865 CFLAGS=$saved_CFLAGS
11866 LDFLAGS=$saved_LDFLAGS
11867 CC="$ac_save_CC"
11870 if test "x$CROSSTARGET" = "x"
11871 then :
11872 case "x$with_mingw" in
11873 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11874 xno) ;;
11875 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11876 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11877 esac
11881 case $host_cpu in
11882 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 ;;
11883 esac
11886 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11887 then
11888 case "$host_cpu" in
11889 i[3456789]86*)
11890 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11892 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11893 esac
11894 for ac_prog in $ac_prefix_list
11896 # Extract the first word of "$ac_prog", so it can be a program name with args.
11897 set dummy $ac_prog; ac_word=$2
11898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11899 printf %s "checking for $ac_word... " >&6; }
11900 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11901 then :
11902 printf %s "(cached) " >&6
11903 else $as_nop
11904 if test -n "$MINGW_PKG_CONFIG"; then
11905 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11906 else
11907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11908 for as_dir in $PATH
11910 IFS=$as_save_IFS
11911 case $as_dir in #(((
11912 '') as_dir=./ ;;
11913 */) ;;
11914 *) as_dir=$as_dir/ ;;
11915 esac
11916 for ac_exec_ext in '' $ac_executable_extensions; do
11917 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11918 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11920 break 2
11922 done
11923 done
11924 IFS=$as_save_IFS
11928 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11929 if test -n "$MINGW_PKG_CONFIG"; then
11930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11931 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11932 else
11933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11934 printf "%s\n" "no" >&6; }
11938 test -n "$MINGW_PKG_CONFIG" && break
11939 done
11940 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11942 if ${FAUDIO_PE_CFLAGS:+false} :
11943 then :
11944 if test ${MINGW_PKG_CONFIG+y}
11945 then :
11946 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11949 if ${FAUDIO_PE_LIBS:+false} :
11950 then :
11951 if test ${MINGW_PKG_CONFIG+y}
11952 then :
11953 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11956 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11957 ac_save_CPPFLAGS=$CPPFLAGS
11958 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11960 printf %s "checking for MinGW FAudio.h... " >&6; }
11961 if test ${ac_cv_mingw_header_FAudio_h+y}
11962 then :
11963 printf %s "(cached) " >&6
11964 else $as_nop
11965 ac_wine_check_headers_saved_cc=$CC
11966 ac_wine_check_headers_saved_exeext=$ac_exeext
11967 CC="$CROSSCC"
11968 ac_exeext=".exe"
11969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11972 #include <FAudio.h>
11974 main (void)
11978 return 0;
11980 _ACEOF
11981 if ac_fn_c_try_compile "$LINENO"
11982 then :
11983 ac_cv_mingw_header_FAudio_h=yes
11984 else $as_nop
11985 ac_cv_mingw_header_FAudio_h=no
11987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11988 CC=$ac_wine_check_headers_saved_cc
11989 ac_exeext=$ac_wine_check_headers_saved_exeext
11991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11992 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11993 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11994 then :
11995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11996 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11997 if test ${ac_cv_mingw_lib_FAudio+y}
11998 then :
11999 printf %s "(cached) " >&6
12000 else $as_nop
12001 ac_wine_check_headers_saved_cc=$CC
12002 ac_wine_check_headers_saved_exeext=$ac_exeext
12003 ac_wine_check_headers_saved_libs=$LIBS
12004 CC="$CROSSCC"
12005 ac_exeext=".exe"
12006 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12010 /* Override any GCC internal prototype to avoid an error.
12011 Use char because int might match the return type of a GCC
12012 builtin and then its argument prototype would still apply. */
12013 char FAudio_CommitOperationSet ();
12015 main (void)
12017 return FAudio_CommitOperationSet ();
12019 return 0;
12021 _ACEOF
12022 if ac_fn_c_try_link "$LINENO"
12023 then :
12024 ac_cv_mingw_lib_FAudio=yes
12025 else $as_nop
12026 ac_cv_mingw_lib_FAudio=no
12028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12029 conftest$ac_exeext conftest.$ac_ext
12030 CC=$ac_wine_check_headers_saved_cc
12031 ac_exeext=$ac_wine_check_headers_saved_exeext
12032 LIBS=$ac_wine_check_headers_saved_libs
12034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12035 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12036 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12037 then :
12039 else $as_nop
12040 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12042 else $as_nop
12043 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12045 CPPFLAGS=$ac_save_CPPFLAGS
12047 if test "x$FAUDIO_PE_LIBS" = "x"
12048 then
12049 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12052 if ${JPEG_PE_CFLAGS:+false} :
12053 then :
12054 if test ${MINGW_PKG_CONFIG+y}
12055 then :
12056 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12059 if ${JPEG_PE_LIBS:+false} :
12060 then :
12061 if test ${MINGW_PKG_CONFIG+y}
12062 then :
12063 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12067 ac_save_CPPFLAGS=$CPPFLAGS
12068 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12070 printf %s "checking for MinGW jpeglib.h... " >&6; }
12071 if test ${ac_cv_mingw_header_jpeglib_h+y}
12072 then :
12073 printf %s "(cached) " >&6
12074 else $as_nop
12075 ac_wine_check_headers_saved_cc=$CC
12076 ac_wine_check_headers_saved_exeext=$ac_exeext
12077 CC="$CROSSCC"
12078 ac_exeext=".exe"
12079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12081 #include <stddef.h>
12082 #include <stdio.h>
12083 #include <jpeglib.h>
12085 main (void)
12089 return 0;
12091 _ACEOF
12092 if ac_fn_c_try_compile "$LINENO"
12093 then :
12094 ac_cv_mingw_header_jpeglib_h=yes
12095 else $as_nop
12096 ac_cv_mingw_header_jpeglib_h=no
12098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12099 CC=$ac_wine_check_headers_saved_cc
12100 ac_exeext=$ac_wine_check_headers_saved_exeext
12102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12103 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12104 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12105 then :
12106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12107 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12108 if test ${ac_cv_mingw_lib_jpeg+y}
12109 then :
12110 printf %s "(cached) " >&6
12111 else $as_nop
12112 ac_wine_check_headers_saved_cc=$CC
12113 ac_wine_check_headers_saved_exeext=$ac_exeext
12114 ac_wine_check_headers_saved_libs=$LIBS
12115 CC="$CROSSCC"
12116 ac_exeext=".exe"
12117 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12121 /* Override any GCC internal prototype to avoid an error.
12122 Use char because int might match the return type of a GCC
12123 builtin and then its argument prototype would still apply. */
12124 char jpeg_start_decompress ();
12126 main (void)
12128 return jpeg_start_decompress ();
12130 return 0;
12132 _ACEOF
12133 if ac_fn_c_try_link "$LINENO"
12134 then :
12135 ac_cv_mingw_lib_jpeg=yes
12136 else $as_nop
12137 ac_cv_mingw_lib_jpeg=no
12139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12140 conftest$ac_exeext conftest.$ac_ext
12141 CC=$ac_wine_check_headers_saved_cc
12142 ac_exeext=$ac_wine_check_headers_saved_exeext
12143 LIBS=$ac_wine_check_headers_saved_libs
12145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12146 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12147 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12148 then :
12150 else $as_nop
12151 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12153 else $as_nop
12154 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12156 CPPFLAGS=$ac_save_CPPFLAGS
12158 if test "x$JPEG_PE_LIBS" = "x"
12159 then
12160 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12163 if ${LCMS2_PE_CFLAGS:+false} :
12164 then :
12165 if test ${MINGW_PKG_CONFIG+y}
12166 then :
12167 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12170 if ${LCMS2_PE_LIBS:+false} :
12171 then :
12172 if test ${MINGW_PKG_CONFIG+y}
12173 then :
12174 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12177 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12178 ac_save_CPPFLAGS=$CPPFLAGS
12179 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12181 printf %s "checking for MinGW lcms2.h... " >&6; }
12182 if test ${ac_cv_mingw_header_lcms2_h+y}
12183 then :
12184 printf %s "(cached) " >&6
12185 else $as_nop
12186 ac_wine_check_headers_saved_cc=$CC
12187 ac_wine_check_headers_saved_exeext=$ac_exeext
12188 CC="$CROSSCC"
12189 ac_exeext=".exe"
12190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12191 /* end confdefs.h. */
12193 #include <lcms2.h>
12195 main (void)
12199 return 0;
12201 _ACEOF
12202 if ac_fn_c_try_compile "$LINENO"
12203 then :
12204 ac_cv_mingw_header_lcms2_h=yes
12205 else $as_nop
12206 ac_cv_mingw_header_lcms2_h=no
12208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12209 CC=$ac_wine_check_headers_saved_cc
12210 ac_exeext=$ac_wine_check_headers_saved_exeext
12212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12213 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12214 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12215 then :
12216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12217 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12218 if test ${ac_cv_mingw_lib_lcms2+y}
12219 then :
12220 printf %s "(cached) " >&6
12221 else $as_nop
12222 ac_wine_check_headers_saved_cc=$CC
12223 ac_wine_check_headers_saved_exeext=$ac_exeext
12224 ac_wine_check_headers_saved_libs=$LIBS
12225 CC="$CROSSCC"
12226 ac_exeext=".exe"
12227 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12229 /* end confdefs.h. */
12231 /* Override any GCC internal prototype to avoid an error.
12232 Use char because int might match the return type of a GCC
12233 builtin and then its argument prototype would still apply. */
12234 char cmsOpenProfileFromFile ();
12236 main (void)
12238 return cmsOpenProfileFromFile ();
12240 return 0;
12242 _ACEOF
12243 if ac_fn_c_try_link "$LINENO"
12244 then :
12245 ac_cv_mingw_lib_lcms2=yes
12246 else $as_nop
12247 ac_cv_mingw_lib_lcms2=no
12249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12250 conftest$ac_exeext conftest.$ac_ext
12251 CC=$ac_wine_check_headers_saved_cc
12252 ac_exeext=$ac_wine_check_headers_saved_exeext
12253 LIBS=$ac_wine_check_headers_saved_libs
12255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12256 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12257 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12258 then :
12260 else $as_nop
12261 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12263 else $as_nop
12264 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12266 CPPFLAGS=$ac_save_CPPFLAGS
12268 if test "x$LCMS2_PE_LIBS" = "x"
12269 then
12270 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12273 if ${MPG123_PE_CFLAGS:+false} :
12274 then :
12275 if test ${MINGW_PKG_CONFIG+y}
12276 then :
12277 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12280 if ${MPG123_PE_LIBS:+false} :
12281 then :
12282 if test ${MINGW_PKG_CONFIG+y}
12283 then :
12284 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12287 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12288 ac_save_CPPFLAGS=$CPPFLAGS
12289 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12291 printf %s "checking for MinGW mpg123.h... " >&6; }
12292 if test ${ac_cv_mingw_header_mpg123_h+y}
12293 then :
12294 printf %s "(cached) " >&6
12295 else $as_nop
12296 ac_wine_check_headers_saved_cc=$CC
12297 ac_wine_check_headers_saved_exeext=$ac_exeext
12298 CC="$CROSSCC"
12299 ac_exeext=".exe"
12300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12303 #include <mpg123.h>
12305 main (void)
12309 return 0;
12311 _ACEOF
12312 if ac_fn_c_try_compile "$LINENO"
12313 then :
12314 ac_cv_mingw_header_mpg123_h=yes
12315 else $as_nop
12316 ac_cv_mingw_header_mpg123_h=no
12318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12319 CC=$ac_wine_check_headers_saved_cc
12320 ac_exeext=$ac_wine_check_headers_saved_exeext
12322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12323 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12324 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12325 then :
12326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12327 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12328 if test ${ac_cv_mingw_lib_mpg123+y}
12329 then :
12330 printf %s "(cached) " >&6
12331 else $as_nop
12332 ac_wine_check_headers_saved_cc=$CC
12333 ac_wine_check_headers_saved_exeext=$ac_exeext
12334 ac_wine_check_headers_saved_libs=$LIBS
12335 CC="$CROSSCC"
12336 ac_exeext=".exe"
12337 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12341 /* Override any GCC internal prototype to avoid an error.
12342 Use char because int might match the return type of a GCC
12343 builtin and then its argument prototype would still apply. */
12344 char mpg123_feed ();
12346 main (void)
12348 return mpg123_feed ();
12350 return 0;
12352 _ACEOF
12353 if ac_fn_c_try_link "$LINENO"
12354 then :
12355 ac_cv_mingw_lib_mpg123=yes
12356 else $as_nop
12357 ac_cv_mingw_lib_mpg123=no
12359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12360 conftest$ac_exeext conftest.$ac_ext
12361 CC=$ac_wine_check_headers_saved_cc
12362 ac_exeext=$ac_wine_check_headers_saved_exeext
12363 LIBS=$ac_wine_check_headers_saved_libs
12365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12366 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12367 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12368 then :
12370 else $as_nop
12371 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12373 else $as_nop
12374 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12376 CPPFLAGS=$ac_save_CPPFLAGS
12378 if test "x$MPG123_PE_LIBS" = "x"
12379 then
12380 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12383 if ${PNG_PE_CFLAGS:+false} :
12384 then :
12385 if test ${MINGW_PKG_CONFIG+y}
12386 then :
12387 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12390 if ${PNG_PE_LIBS:+false} :
12391 then :
12392 if test ${MINGW_PKG_CONFIG+y}
12393 then :
12394 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12398 ac_save_CPPFLAGS=$CPPFLAGS
12399 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12401 printf %s "checking for MinGW png.h... " >&6; }
12402 if test ${ac_cv_mingw_header_png_h+y}
12403 then :
12404 printf %s "(cached) " >&6
12405 else $as_nop
12406 ac_wine_check_headers_saved_cc=$CC
12407 ac_wine_check_headers_saved_exeext=$ac_exeext
12408 CC="$CROSSCC"
12409 ac_exeext=".exe"
12410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12411 /* end confdefs.h. */
12413 #include <png.h>
12415 main (void)
12419 return 0;
12421 _ACEOF
12422 if ac_fn_c_try_compile "$LINENO"
12423 then :
12424 ac_cv_mingw_header_png_h=yes
12425 else $as_nop
12426 ac_cv_mingw_header_png_h=no
12428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12429 CC=$ac_wine_check_headers_saved_cc
12430 ac_exeext=$ac_wine_check_headers_saved_exeext
12432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12433 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12434 if test "x$ac_cv_mingw_header_png_h" = xyes
12435 then :
12436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12437 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12438 if test ${ac_cv_mingw_lib_png+y}
12439 then :
12440 printf %s "(cached) " >&6
12441 else $as_nop
12442 ac_wine_check_headers_saved_cc=$CC
12443 ac_wine_check_headers_saved_exeext=$ac_exeext
12444 ac_wine_check_headers_saved_libs=$LIBS
12445 CC="$CROSSCC"
12446 ac_exeext=".exe"
12447 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12449 /* end confdefs.h. */
12451 /* Override any GCC internal prototype to avoid an error.
12452 Use char because int might match the return type of a GCC
12453 builtin and then its argument prototype would still apply. */
12454 char png_create_read_struct ();
12456 main (void)
12458 return png_create_read_struct ();
12460 return 0;
12462 _ACEOF
12463 if ac_fn_c_try_link "$LINENO"
12464 then :
12465 ac_cv_mingw_lib_png=yes
12466 else $as_nop
12467 ac_cv_mingw_lib_png=no
12469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12470 conftest$ac_exeext conftest.$ac_ext
12471 CC=$ac_wine_check_headers_saved_cc
12472 ac_exeext=$ac_wine_check_headers_saved_exeext
12473 LIBS=$ac_wine_check_headers_saved_libs
12475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12476 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12477 if test "x$ac_cv_mingw_lib_png" = xyes
12478 then :
12480 else $as_nop
12481 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12483 else $as_nop
12484 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12486 CPPFLAGS=$ac_save_CPPFLAGS
12488 if test "x$PNG_PE_LIBS" = "x"
12489 then
12490 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12493 if ${TIFF_PE_CFLAGS:+false} :
12494 then :
12495 if test ${MINGW_PKG_CONFIG+y}
12496 then :
12497 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12500 if ${TIFF_PE_LIBS:+false} :
12501 then :
12502 if test ${MINGW_PKG_CONFIG+y}
12503 then :
12504 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12508 ac_save_CPPFLAGS=$CPPFLAGS
12509 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12511 printf %s "checking for MinGW tiffio.h... " >&6; }
12512 if test ${ac_cv_mingw_header_tiffio_h+y}
12513 then :
12514 printf %s "(cached) " >&6
12515 else $as_nop
12516 ac_wine_check_headers_saved_cc=$CC
12517 ac_wine_check_headers_saved_exeext=$ac_exeext
12518 CC="$CROSSCC"
12519 ac_exeext=".exe"
12520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h. */
12523 #include <tiffio.h>
12525 main (void)
12529 return 0;
12531 _ACEOF
12532 if ac_fn_c_try_compile "$LINENO"
12533 then :
12534 ac_cv_mingw_header_tiffio_h=yes
12535 else $as_nop
12536 ac_cv_mingw_header_tiffio_h=no
12538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12539 CC=$ac_wine_check_headers_saved_cc
12540 ac_exeext=$ac_wine_check_headers_saved_exeext
12542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12543 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12544 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12545 then :
12546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12547 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12548 if test ${ac_cv_mingw_lib_tiff+y}
12549 then :
12550 printf %s "(cached) " >&6
12551 else $as_nop
12552 ac_wine_check_headers_saved_cc=$CC
12553 ac_wine_check_headers_saved_exeext=$ac_exeext
12554 ac_wine_check_headers_saved_libs=$LIBS
12555 CC="$CROSSCC"
12556 ac_exeext=".exe"
12557 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12561 /* Override any GCC internal prototype to avoid an error.
12562 Use char because int might match the return type of a GCC
12563 builtin and then its argument prototype would still apply. */
12564 char TIFFClientOpen ();
12566 main (void)
12568 return TIFFClientOpen ();
12570 return 0;
12572 _ACEOF
12573 if ac_fn_c_try_link "$LINENO"
12574 then :
12575 ac_cv_mingw_lib_tiff=yes
12576 else $as_nop
12577 ac_cv_mingw_lib_tiff=no
12579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12580 conftest$ac_exeext conftest.$ac_ext
12581 CC=$ac_wine_check_headers_saved_cc
12582 ac_exeext=$ac_wine_check_headers_saved_exeext
12583 LIBS=$ac_wine_check_headers_saved_libs
12585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12586 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12587 if test "x$ac_cv_mingw_lib_tiff" = xyes
12588 then :
12590 else $as_nop
12591 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12593 else $as_nop
12594 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12596 CPPFLAGS=$ac_save_CPPFLAGS
12598 if test "x$TIFF_PE_LIBS" = "x"
12599 then
12600 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12603 if ${XML2_PE_CFLAGS:+false} :
12604 then :
12605 if test ${MINGW_PKG_CONFIG+y}
12606 then :
12607 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12610 if ${XML2_PE_LIBS:+false} :
12611 then :
12612 if test ${MINGW_PKG_CONFIG+y}
12613 then :
12614 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12617 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12618 ac_save_CPPFLAGS=$CPPFLAGS
12619 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12621 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12622 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12623 then :
12624 printf %s "(cached) " >&6
12625 else $as_nop
12626 ac_wine_check_headers_saved_cc=$CC
12627 ac_wine_check_headers_saved_exeext=$ac_exeext
12628 CC="$CROSSCC"
12629 ac_exeext=".exe"
12630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12631 /* end confdefs.h. */
12633 #include <libxml/parser.h>
12635 main (void)
12639 return 0;
12641 _ACEOF
12642 if ac_fn_c_try_compile "$LINENO"
12643 then :
12644 ac_cv_mingw_header_libxml_parser_h=yes
12645 else $as_nop
12646 ac_cv_mingw_header_libxml_parser_h=no
12648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12649 CC=$ac_wine_check_headers_saved_cc
12650 ac_exeext=$ac_wine_check_headers_saved_exeext
12652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12653 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12654 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12655 then :
12658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12659 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12660 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12661 then :
12662 printf %s "(cached) " >&6
12663 else $as_nop
12664 ac_wine_check_headers_saved_cc=$CC
12665 ac_wine_check_headers_saved_exeext=$ac_exeext
12666 CC="$CROSSCC"
12667 ac_exeext=".exe"
12668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12671 #include <libxml/xmlsave.h>
12673 main (void)
12677 return 0;
12679 _ACEOF
12680 if ac_fn_c_try_compile "$LINENO"
12681 then :
12682 ac_cv_mingw_header_libxml_xmlsave_h=yes
12683 else $as_nop
12684 ac_cv_mingw_header_libxml_xmlsave_h=no
12686 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12687 CC=$ac_wine_check_headers_saved_cc
12688 ac_exeext=$ac_wine_check_headers_saved_exeext
12690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12691 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12692 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12693 then :
12696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12697 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12698 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12699 then :
12700 printf %s "(cached) " >&6
12701 else $as_nop
12702 ac_wine_check_headers_saved_cc=$CC
12703 ac_wine_check_headers_saved_exeext=$ac_exeext
12704 CC="$CROSSCC"
12705 ac_exeext=".exe"
12706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12707 /* end confdefs.h. */
12709 #include <libxml/SAX2.h>
12711 main (void)
12715 return 0;
12717 _ACEOF
12718 if ac_fn_c_try_compile "$LINENO"
12719 then :
12720 ac_cv_mingw_header_libxml_SAX2_h=yes
12721 else $as_nop
12722 ac_cv_mingw_header_libxml_SAX2_h=no
12724 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12725 CC=$ac_wine_check_headers_saved_cc
12726 ac_exeext=$ac_wine_check_headers_saved_exeext
12728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12729 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12730 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12731 then :
12734 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"
12735 then
12736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12737 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12738 if test ${ac_cv_mingw_lib_xml2+y}
12739 then :
12740 printf %s "(cached) " >&6
12741 else $as_nop
12742 ac_wine_check_headers_saved_cc=$CC
12743 ac_wine_check_headers_saved_exeext=$ac_exeext
12744 ac_wine_check_headers_saved_libs=$LIBS
12745 CC="$CROSSCC"
12746 ac_exeext=".exe"
12747 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12751 /* Override any GCC internal prototype to avoid an error.
12752 Use char because int might match the return type of a GCC
12753 builtin and then its argument prototype would still apply. */
12754 char xmlFirstElementChild ();
12756 main (void)
12758 return xmlFirstElementChild ();
12760 return 0;
12762 _ACEOF
12763 if ac_fn_c_try_link "$LINENO"
12764 then :
12765 ac_cv_mingw_lib_xml2=yes
12766 else $as_nop
12767 ac_cv_mingw_lib_xml2=no
12769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12770 conftest$ac_exeext conftest.$ac_ext
12771 CC=$ac_wine_check_headers_saved_cc
12772 ac_exeext=$ac_wine_check_headers_saved_exeext
12773 LIBS=$ac_wine_check_headers_saved_libs
12775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12776 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12777 if test "x$ac_cv_mingw_lib_xml2" = xyes
12778 then :
12780 else $as_nop
12781 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12783 else
12784 XML2_PE_CFLAGS=""
12785 XML2_PE_LIBS=""
12787 CPPFLAGS=$ac_save_CPPFLAGS
12789 if test "x$XML2_PE_LIBS" = "x"
12790 then
12791 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12794 if ${XSLT_PE_CFLAGS:+false} :
12795 then :
12796 if test ${MINGW_PKG_CONFIG+y}
12797 then :
12798 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12801 if ${XSLT_PE_LIBS:+false} :
12802 then :
12803 if test ${MINGW_PKG_CONFIG+y}
12804 then :
12805 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12808 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12809 ac_save_CPPFLAGS=$CPPFLAGS
12810 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12812 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12813 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12814 then :
12815 printf %s "(cached) " >&6
12816 else $as_nop
12817 ac_wine_check_headers_saved_cc=$CC
12818 ac_wine_check_headers_saved_exeext=$ac_exeext
12819 CC="$CROSSCC"
12820 ac_exeext=".exe"
12821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12822 /* end confdefs.h. */
12824 #include <libxslt/pattern.h>
12826 main (void)
12830 return 0;
12832 _ACEOF
12833 if ac_fn_c_try_compile "$LINENO"
12834 then :
12835 ac_cv_mingw_header_libxslt_pattern_h=yes
12836 else $as_nop
12837 ac_cv_mingw_header_libxslt_pattern_h=no
12839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12840 CC=$ac_wine_check_headers_saved_cc
12841 ac_exeext=$ac_wine_check_headers_saved_exeext
12843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12844 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12845 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12846 then :
12849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12850 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12851 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12852 then :
12853 printf %s "(cached) " >&6
12854 else $as_nop
12855 ac_wine_check_headers_saved_cc=$CC
12856 ac_wine_check_headers_saved_exeext=$ac_exeext
12857 CC="$CROSSCC"
12858 ac_exeext=".exe"
12859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12860 /* end confdefs.h. */
12862 #include <libxslt/transform.h>
12864 main (void)
12868 return 0;
12870 _ACEOF
12871 if ac_fn_c_try_compile "$LINENO"
12872 then :
12873 ac_cv_mingw_header_libxslt_transform_h=yes
12874 else $as_nop
12875 ac_cv_mingw_header_libxslt_transform_h=no
12877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12878 CC=$ac_wine_check_headers_saved_cc
12879 ac_exeext=$ac_wine_check_headers_saved_exeext
12881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12882 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12883 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12884 then :
12887 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12888 then
12889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12890 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12891 if test ${ac_cv_mingw_lib_xslt+y}
12892 then :
12893 printf %s "(cached) " >&6
12894 else $as_nop
12895 ac_wine_check_headers_saved_cc=$CC
12896 ac_wine_check_headers_saved_exeext=$ac_exeext
12897 ac_wine_check_headers_saved_libs=$LIBS
12898 CC="$CROSSCC"
12899 ac_exeext=".exe"
12900 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12902 /* end confdefs.h. */
12904 /* Override any GCC internal prototype to avoid an error.
12905 Use char because int might match the return type of a GCC
12906 builtin and then its argument prototype would still apply. */
12907 char xsltCompilePattern ();
12909 main (void)
12911 return xsltCompilePattern ();
12913 return 0;
12915 _ACEOF
12916 if ac_fn_c_try_link "$LINENO"
12917 then :
12918 ac_cv_mingw_lib_xslt=yes
12919 else $as_nop
12920 ac_cv_mingw_lib_xslt=no
12922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12923 conftest$ac_exeext conftest.$ac_ext
12924 CC=$ac_wine_check_headers_saved_cc
12925 ac_exeext=$ac_wine_check_headers_saved_exeext
12926 LIBS=$ac_wine_check_headers_saved_libs
12928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12929 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12930 if test "x$ac_cv_mingw_lib_xslt" = xyes
12931 then :
12933 else $as_nop
12934 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12936 else
12937 XSLT_PE_CFLAGS=""
12938 XSLT_PE_LIBS=""
12940 CPPFLAGS=$ac_save_CPPFLAGS
12942 if test "x$XSLT_PE_LIBS" = "x"
12943 then
12944 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12947 if ${VKD3D_PE_CFLAGS:+false} :
12948 then :
12949 if test ${MINGW_PKG_CONFIG+y}
12950 then :
12951 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12954 if ${VKD3D_PE_LIBS:+false} :
12955 then :
12956 if test ${MINGW_PKG_CONFIG+y}
12957 then :
12958 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12961 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12962 ac_save_CPPFLAGS=$CPPFLAGS
12963 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12965 printf %s "checking for MinGW vkd3d.h... " >&6; }
12966 if test ${ac_cv_mingw_header_vkd3d_h+y}
12967 then :
12968 printf %s "(cached) " >&6
12969 else $as_nop
12970 ac_wine_check_headers_saved_cc=$CC
12971 ac_wine_check_headers_saved_exeext=$ac_exeext
12972 CC="$CROSSCC"
12973 ac_exeext=".exe"
12974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12975 /* end confdefs.h. */
12977 #include <vkd3d.h>
12979 main (void)
12983 return 0;
12985 _ACEOF
12986 if ac_fn_c_try_compile "$LINENO"
12987 then :
12988 ac_cv_mingw_header_vkd3d_h=yes
12989 else $as_nop
12990 ac_cv_mingw_header_vkd3d_h=no
12992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12993 CC=$ac_wine_check_headers_saved_cc
12994 ac_exeext=$ac_wine_check_headers_saved_exeext
12996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12997 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12998 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12999 then :
13002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13003 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13004 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13005 then :
13006 printf %s "(cached) " >&6
13007 else $as_nop
13008 ac_wine_check_headers_saved_cc=$CC
13009 ac_wine_check_headers_saved_exeext=$ac_exeext
13010 CC="$CROSSCC"
13011 ac_exeext=".exe"
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13015 #include <vkd3d_shader.h>
13017 main (void)
13021 return 0;
13023 _ACEOF
13024 if ac_fn_c_try_compile "$LINENO"
13025 then :
13026 ac_cv_mingw_header_vkd3d_shader_h=yes
13027 else $as_nop
13028 ac_cv_mingw_header_vkd3d_shader_h=no
13030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13031 CC=$ac_wine_check_headers_saved_cc
13032 ac_exeext=$ac_wine_check_headers_saved_exeext
13034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13035 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13036 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13037 then :
13040 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13041 then
13042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13043 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13044 if test ${ac_cv_mingw_lib_vkd3d+y}
13045 then :
13046 printf %s "(cached) " >&6
13047 else $as_nop
13048 ac_wine_check_headers_saved_cc=$CC
13049 ac_wine_check_headers_saved_exeext=$ac_exeext
13050 ac_wine_check_headers_saved_libs=$LIBS
13051 CC="$CROSSCC"
13052 ac_exeext=".exe"
13053 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h. */
13057 /* Override any GCC internal prototype to avoid an error.
13058 Use char because int might match the return type of a GCC
13059 builtin and then its argument prototype would still apply. */
13060 char vkd3d_set_log_callback ();
13062 main (void)
13064 return vkd3d_set_log_callback ();
13066 return 0;
13068 _ACEOF
13069 if ac_fn_c_try_link "$LINENO"
13070 then :
13071 ac_cv_mingw_lib_vkd3d=yes
13072 else $as_nop
13073 ac_cv_mingw_lib_vkd3d=no
13075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13076 conftest$ac_exeext conftest.$ac_ext
13077 CC=$ac_wine_check_headers_saved_cc
13078 ac_exeext=$ac_wine_check_headers_saved_exeext
13079 LIBS=$ac_wine_check_headers_saved_libs
13081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13082 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13083 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13084 then :
13086 else $as_nop
13089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13090 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13091 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13092 then :
13093 printf %s "(cached) " >&6
13094 else $as_nop
13095 ac_wine_check_headers_saved_cc=$CC
13096 ac_wine_check_headers_saved_exeext=$ac_exeext
13097 ac_wine_check_headers_saved_libs=$LIBS
13098 CC="$CROSSCC"
13099 ac_exeext=".exe"
13100 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13102 /* end confdefs.h. */
13104 /* Override any GCC internal prototype to avoid an error.
13105 Use char because int might match the return type of a GCC
13106 builtin and then its argument prototype would still apply. */
13107 char vkd3d_shader_compile ();
13109 main (void)
13111 return vkd3d_shader_compile ();
13113 return 0;
13115 _ACEOF
13116 if ac_fn_c_try_link "$LINENO"
13117 then :
13118 ac_cv_mingw_lib_vkd3d_shader=yes
13119 else $as_nop
13120 ac_cv_mingw_lib_vkd3d_shader=no
13122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13123 conftest$ac_exeext conftest.$ac_ext
13124 CC=$ac_wine_check_headers_saved_cc
13125 ac_exeext=$ac_wine_check_headers_saved_exeext
13126 LIBS=$ac_wine_check_headers_saved_libs
13128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13129 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13130 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13131 then :
13133 else $as_nop
13136 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13137 then
13138 VKD3D_PE_CFLAGS=""
13139 VKD3D_PE_LIBS=""
13141 else
13142 VKD3D_PE_CFLAGS=""
13143 VKD3D_PE_LIBS=""
13145 CPPFLAGS=$ac_save_CPPFLAGS
13147 if test "x$VKD3D_PE_LIBS" = "x"
13148 then
13149 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13152 if ${ZLIB_PE_CFLAGS:+false} :
13153 then :
13154 if test ${MINGW_PKG_CONFIG+y}
13155 then :
13156 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13159 if ${ZLIB_PE_LIBS:+false} :
13160 then :
13161 if test ${MINGW_PKG_CONFIG+y}
13162 then :
13163 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13166 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13167 ac_save_CPPFLAGS=$CPPFLAGS
13168 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13170 printf %s "checking for MinGW zlib.h... " >&6; }
13171 if test ${ac_cv_mingw_header_zlib_h+y}
13172 then :
13173 printf %s "(cached) " >&6
13174 else $as_nop
13175 ac_wine_check_headers_saved_cc=$CC
13176 ac_wine_check_headers_saved_exeext=$ac_exeext
13177 CC="$CROSSCC"
13178 ac_exeext=".exe"
13179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13180 /* end confdefs.h. */
13182 #include <zlib.h>
13184 main (void)
13188 return 0;
13190 _ACEOF
13191 if ac_fn_c_try_compile "$LINENO"
13192 then :
13193 ac_cv_mingw_header_zlib_h=yes
13194 else $as_nop
13195 ac_cv_mingw_header_zlib_h=no
13197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13198 CC=$ac_wine_check_headers_saved_cc
13199 ac_exeext=$ac_wine_check_headers_saved_exeext
13201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13202 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13203 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13204 then :
13205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13206 printf %s "checking for inflate in MinGW -lz... " >&6; }
13207 if test ${ac_cv_mingw_lib_z+y}
13208 then :
13209 printf %s "(cached) " >&6
13210 else $as_nop
13211 ac_wine_check_headers_saved_cc=$CC
13212 ac_wine_check_headers_saved_exeext=$ac_exeext
13213 ac_wine_check_headers_saved_libs=$LIBS
13214 CC="$CROSSCC"
13215 ac_exeext=".exe"
13216 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13218 /* end confdefs.h. */
13220 /* Override any GCC internal prototype to avoid an error.
13221 Use char because int might match the return type of a GCC
13222 builtin and then its argument prototype would still apply. */
13223 char inflate ();
13225 main (void)
13227 return inflate ();
13229 return 0;
13231 _ACEOF
13232 if ac_fn_c_try_link "$LINENO"
13233 then :
13234 ac_cv_mingw_lib_z=yes
13235 else $as_nop
13236 ac_cv_mingw_lib_z=no
13238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13239 conftest$ac_exeext conftest.$ac_ext
13240 CC=$ac_wine_check_headers_saved_cc
13241 ac_exeext=$ac_wine_check_headers_saved_exeext
13242 LIBS=$ac_wine_check_headers_saved_libs
13244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13245 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13246 if test "x$ac_cv_mingw_lib_z" = xyes
13247 then :
13249 else $as_nop
13250 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13252 else $as_nop
13253 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13255 CPPFLAGS=$ac_save_CPPFLAGS
13257 if test "x$ZLIB_PE_LIBS" = "x"
13258 then
13259 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13263 if ${FAUDIO_PE_LIBS:+false} :
13264 then :
13265 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13266 if ${FAUDIO_PE_CFLAGS:+false} :
13267 then :
13268 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13269 else $as_nop
13270 enable_faudio=no
13272 else $as_nop
13273 enable_faudio=no
13275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13278 if ${GSM_PE_LIBS:+false} :
13279 then :
13280 GSM_PE_LIBS=gsm
13281 if ${GSM_PE_CFLAGS:+false} :
13282 then :
13283 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13284 else $as_nop
13285 enable_gsm=no
13287 else $as_nop
13288 enable_gsm=no
13290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13293 if ${JPEG_PE_LIBS:+false} :
13294 then :
13295 JPEG_PE_LIBS=jpeg
13296 if ${JPEG_PE_CFLAGS:+false} :
13297 then :
13298 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13299 else $as_nop
13300 enable_jpeg=no
13302 else $as_nop
13303 enable_jpeg=no
13305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13308 if ${JXR_PE_LIBS:+false} :
13309 then :
13310 JXR_PE_LIBS=jxr
13311 if ${JXR_PE_CFLAGS:+false} :
13312 then :
13313 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13314 else $as_nop
13315 enable_jxr=no
13317 else $as_nop
13318 enable_jxr=no
13320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13323 if ${LCMS2_PE_LIBS:+false} :
13324 then :
13325 LCMS2_PE_LIBS=lcms2
13326 if ${LCMS2_PE_CFLAGS:+false} :
13327 then :
13328 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13329 else $as_nop
13330 enable_lcms2=no
13332 else $as_nop
13333 enable_lcms2=no
13335 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13338 if ${MPG123_PE_LIBS:+false} :
13339 then :
13340 MPG123_PE_LIBS=mpg123
13341 if ${MPG123_PE_CFLAGS:+false} :
13342 then :
13343 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13344 else $as_nop
13345 enable_mpg123=no
13347 else $as_nop
13348 enable_mpg123=no
13350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13353 if ${PNG_PE_LIBS:+false} :
13354 then :
13355 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13356 if ${PNG_PE_CFLAGS:+false} :
13357 then :
13358 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13359 else $as_nop
13360 enable_png=no
13362 else $as_nop
13363 enable_png=no
13365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13368 if ${TIFF_PE_LIBS:+false} :
13369 then :
13370 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13371 if ${TIFF_PE_CFLAGS:+false} :
13372 then :
13373 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13374 else $as_nop
13375 enable_tiff=no
13377 else $as_nop
13378 enable_tiff=no
13380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13383 if ${VKD3D_PE_LIBS:+false} :
13384 then :
13385 VKD3D_PE_LIBS=vkd3d
13386 if ${VKD3D_PE_CFLAGS:+false} :
13387 then :
13388 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13389 else $as_nop
13390 enable_vkd3d=no
13392 else $as_nop
13393 enable_vkd3d=no
13395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13398 if ${XML2_PE_LIBS:+false} :
13399 then :
13400 XML2_PE_LIBS=xml2
13401 if ${XML2_PE_CFLAGS:+false} :
13402 then :
13403 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13404 else $as_nop
13405 enable_xml2=no
13407 else $as_nop
13408 enable_xml2=no
13410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13413 if ${XSLT_PE_LIBS:+false} :
13414 then :
13415 XSLT_PE_LIBS=xslt
13416 if ${XSLT_PE_CFLAGS:+false} :
13417 then :
13418 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13419 else $as_nop
13420 enable_xslt=no
13422 else $as_nop
13423 enable_xslt=no
13425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13428 if ${ZLIB_PE_LIBS:+false} :
13429 then :
13430 ZLIB_PE_LIBS=z
13431 if ${ZLIB_PE_CFLAGS:+false} :
13432 then :
13433 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13434 else $as_nop
13435 enable_zlib=no
13437 else $as_nop
13438 enable_zlib=no
13440 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13445 if test "$ac_cv_header_pthread_h" = "yes"
13446 then
13447 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13448 if test "x$ac_cv_func_pthread_create" = xyes
13449 then :
13451 else $as_nop
13452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13453 printf %s "checking for pthread_create in -lpthread... " >&6; }
13454 if test ${ac_cv_lib_pthread_pthread_create+y}
13455 then :
13456 printf %s "(cached) " >&6
13457 else $as_nop
13458 ac_check_lib_save_LIBS=$LIBS
13459 LIBS="-lpthread $LIBS"
13460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13461 /* end confdefs.h. */
13463 /* Override any GCC internal prototype to avoid an error.
13464 Use char because int might match the return type of a GCC
13465 builtin and then its argument prototype would still apply. */
13466 char pthread_create ();
13468 main (void)
13470 return pthread_create ();
13472 return 0;
13474 _ACEOF
13475 if ac_fn_c_try_link "$LINENO"
13476 then :
13477 ac_cv_lib_pthread_pthread_create=yes
13478 else $as_nop
13479 ac_cv_lib_pthread_pthread_create=no
13481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13482 conftest$ac_exeext conftest.$ac_ext
13483 LIBS=$ac_check_lib_save_LIBS
13485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13486 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13487 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13488 then :
13489 PTHREAD_LIBS="-lpthread"
13496 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13497 then :
13498 case "x$with_pthread" in
13499 xno) ;;
13500 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13501 Wine cannot support threads without libpthread.
13502 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13503 esac
13508 ac_ext=c
13509 ac_cpp='$CPP $CPPFLAGS'
13510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13514 printf %s "checking how to run the C preprocessor... " >&6; }
13515 # On Suns, sometimes $CPP names a directory.
13516 if test -n "$CPP" && test -d "$CPP"; then
13517 CPP=
13519 if test -z "$CPP"; then
13520 if test ${ac_cv_prog_CPP+y}
13521 then :
13522 printf %s "(cached) " >&6
13523 else $as_nop
13524 # Double quotes because $CC needs to be expanded
13525 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13527 ac_preproc_ok=false
13528 for ac_c_preproc_warn_flag in '' yes
13530 # Use a header file that comes with gcc, so configuring glibc
13531 # with a fresh cross-compiler works.
13532 # On the NeXT, cc -E runs the code through the compiler's parser,
13533 # not just through cpp. "Syntax error" is here to catch this case.
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13536 #include <limits.h>
13537 Syntax error
13538 _ACEOF
13539 if ac_fn_c_try_cpp "$LINENO"
13540 then :
13542 else $as_nop
13543 # Broken: fails on valid input.
13544 continue
13546 rm -f conftest.err conftest.i conftest.$ac_ext
13548 # OK, works on sane cases. Now check whether nonexistent headers
13549 # can be detected and how.
13550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13551 /* end confdefs.h. */
13552 #include <ac_nonexistent.h>
13553 _ACEOF
13554 if ac_fn_c_try_cpp "$LINENO"
13555 then :
13556 # Broken: success on invalid input.
13557 continue
13558 else $as_nop
13559 # Passes both tests.
13560 ac_preproc_ok=:
13561 break
13563 rm -f conftest.err conftest.i conftest.$ac_ext
13565 done
13566 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13567 rm -f conftest.i conftest.err conftest.$ac_ext
13568 if $ac_preproc_ok
13569 then :
13570 break
13573 done
13574 ac_cv_prog_CPP=$CPP
13577 CPP=$ac_cv_prog_CPP
13578 else
13579 ac_cv_prog_CPP=$CPP
13581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13582 printf "%s\n" "$CPP" >&6; }
13583 ac_preproc_ok=false
13584 for ac_c_preproc_warn_flag in '' yes
13586 # Use a header file that comes with gcc, so configuring glibc
13587 # with a fresh cross-compiler works.
13588 # On the NeXT, cc -E runs the code through the compiler's parser,
13589 # not just through cpp. "Syntax error" is here to catch this case.
13590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13591 /* end confdefs.h. */
13592 #include <limits.h>
13593 Syntax error
13594 _ACEOF
13595 if ac_fn_c_try_cpp "$LINENO"
13596 then :
13598 else $as_nop
13599 # Broken: fails on valid input.
13600 continue
13602 rm -f conftest.err conftest.i conftest.$ac_ext
13604 # OK, works on sane cases. Now check whether nonexistent headers
13605 # can be detected and how.
13606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13607 /* end confdefs.h. */
13608 #include <ac_nonexistent.h>
13609 _ACEOF
13610 if ac_fn_c_try_cpp "$LINENO"
13611 then :
13612 # Broken: success on invalid input.
13613 continue
13614 else $as_nop
13615 # Passes both tests.
13616 ac_preproc_ok=:
13617 break
13619 rm -f conftest.err conftest.i conftest.$ac_ext
13621 done
13622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13623 rm -f conftest.i conftest.err conftest.$ac_ext
13624 if $ac_preproc_ok
13625 then :
13627 else $as_nop
13628 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13629 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13630 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13631 See \`config.log' for more details" "$LINENO" 5; }
13634 ac_ext=c
13635 ac_cpp='$CPP $CPPFLAGS'
13636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13642 printf %s "checking for X... " >&6; }
13645 # Check whether --with-x was given.
13646 if test ${with_x+y}
13647 then :
13648 withval=$with_x;
13651 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13652 if test "x$with_x" = xno; then
13653 # The user explicitly disabled X.
13654 have_x=disabled
13655 else
13656 case $x_includes,$x_libraries in #(
13657 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13658 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13659 then :
13660 printf %s "(cached) " >&6
13661 else $as_nop
13662 # One or both of the vars are not set, and there is no cached value.
13663 ac_x_includes=no
13664 ac_x_libraries=no
13665 # Do we need to do anything special at all?
13666 ac_save_LIBS=$LIBS
13667 LIBS="-lX11 $LIBS"
13668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13669 /* end confdefs.h. */
13670 #include <X11/Xlib.h>
13672 main (void)
13674 XrmInitialize ()
13676 return 0;
13678 _ACEOF
13679 if ac_fn_c_try_link "$LINENO"
13680 then :
13681 # We can compile and link X programs with no special options.
13682 ac_x_includes=
13683 ac_x_libraries=
13685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13686 conftest$ac_exeext conftest.$ac_ext
13687 LIBS="$ac_save_LIBS"
13688 # If that didn't work, only try xmkmf and file system searches
13689 # for native compilation.
13690 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13691 then :
13692 rm -f -r conftest.dir
13693 if mkdir conftest.dir; then
13694 cd conftest.dir
13695 cat >Imakefile <<'_ACEOF'
13696 incroot:
13697 @echo incroot='${INCROOT}'
13698 usrlibdir:
13699 @echo usrlibdir='${USRLIBDIR}'
13700 libdir:
13701 @echo libdir='${LIBDIR}'
13702 _ACEOF
13703 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13704 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13705 for ac_var in incroot usrlibdir libdir; do
13706 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13707 done
13708 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13709 for ac_extension in a so sl dylib la dll; do
13710 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13711 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13712 ac_im_usrlibdir=$ac_im_libdir; break
13714 done
13715 # Screen out bogus values from the imake configuration. They are
13716 # bogus both because they are the default anyway, and because
13717 # using them would break gcc on systems where it needs fixed includes.
13718 case $ac_im_incroot in
13719 /usr/include) ac_x_includes= ;;
13720 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13721 esac
13722 case $ac_im_usrlibdir in
13723 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13724 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13725 esac
13727 cd ..
13728 rm -f -r conftest.dir
13731 # Standard set of common directories for X headers.
13732 # Check X11 before X11Rn because it is often a symlink to the current release.
13733 ac_x_header_dirs='
13734 /usr/X11/include
13735 /usr/X11R7/include
13736 /usr/X11R6/include
13737 /usr/X11R5/include
13738 /usr/X11R4/include
13740 /usr/include/X11
13741 /usr/include/X11R7
13742 /usr/include/X11R6
13743 /usr/include/X11R5
13744 /usr/include/X11R4
13746 /usr/local/X11/include
13747 /usr/local/X11R7/include
13748 /usr/local/X11R6/include
13749 /usr/local/X11R5/include
13750 /usr/local/X11R4/include
13752 /usr/local/include/X11
13753 /usr/local/include/X11R7
13754 /usr/local/include/X11R6
13755 /usr/local/include/X11R5
13756 /usr/local/include/X11R4
13758 /opt/X11/include
13760 /usr/X386/include
13761 /usr/x386/include
13762 /usr/XFree86/include/X11
13764 /usr/include
13765 /usr/local/include
13766 /usr/unsupported/include
13767 /usr/athena/include
13768 /usr/local/x11r5/include
13769 /usr/lpp/Xamples/include
13771 /usr/openwin/include
13772 /usr/openwin/share/include'
13774 if test "$ac_x_includes" = no; then
13775 # Guess where to find include files, by looking for Xlib.h.
13776 # First, try using that file with no special directory specified.
13777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13779 #include <X11/Xlib.h>
13780 _ACEOF
13781 if ac_fn_c_try_cpp "$LINENO"
13782 then :
13783 # We can compile using X headers with no special include directory.
13784 ac_x_includes=
13785 else $as_nop
13786 for ac_dir in $ac_x_header_dirs; do
13787 if test -r "$ac_dir/X11/Xlib.h"; then
13788 ac_x_includes=$ac_dir
13789 break
13791 done
13793 rm -f conftest.err conftest.i conftest.$ac_ext
13794 fi # $ac_x_includes = no
13796 if test "$ac_x_libraries" = no; then
13797 # Check for the libraries.
13798 # See if we find them without any special options.
13799 # Don't add to $LIBS permanently.
13800 ac_save_LIBS=$LIBS
13801 LIBS="-lX11 $LIBS"
13802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13803 /* end confdefs.h. */
13804 #include <X11/Xlib.h>
13806 main (void)
13808 XrmInitialize ()
13810 return 0;
13812 _ACEOF
13813 if ac_fn_c_try_link "$LINENO"
13814 then :
13815 LIBS=$ac_save_LIBS
13816 # We can link X programs with no special library path.
13817 ac_x_libraries=
13818 else $as_nop
13819 LIBS=$ac_save_LIBS
13820 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13822 # Don't even attempt the hair of trying to link an X program!
13823 for ac_extension in a so sl dylib la dll; do
13824 if test -r "$ac_dir/libX11.$ac_extension"; then
13825 ac_x_libraries=$ac_dir
13826 break 2
13828 done
13829 done
13831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13832 conftest$ac_exeext conftest.$ac_ext
13833 fi # $ac_x_libraries = no
13836 # Record the results.
13837 case $ac_x_includes,$ac_x_libraries in #(
13838 no,* | *,no | *\'*) :
13839 # Didn't find X, or a directory has "'" in its name.
13840 ac_cv_have_x="have_x=no" ;; #(
13841 *) :
13842 # Record where we found X for the cache.
13843 ac_cv_have_x="have_x=yes\
13844 ac_x_includes='$ac_x_includes'\
13845 ac_x_libraries='$ac_x_libraries'" ;;
13846 esac
13848 ;; #(
13849 *) have_x=yes;;
13850 esac
13851 eval "$ac_cv_have_x"
13852 fi # $with_x != no
13854 if test "$have_x" != yes; then
13855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13856 printf "%s\n" "$have_x" >&6; }
13857 no_x=yes
13858 else
13859 # If each of the values was on the command line, it overrides each guess.
13860 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13861 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13862 # Update the cache value to reflect the command line values.
13863 ac_cv_have_x="have_x=yes\
13864 ac_x_includes='$x_includes'\
13865 ac_x_libraries='$x_libraries'"
13866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13867 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13870 if test "$no_x" = yes; then
13871 # Not all programs may use this symbol, but it does not hurt to define it.
13873 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13875 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13876 else
13877 if test -n "$x_includes"; then
13878 X_CFLAGS="$X_CFLAGS -I$x_includes"
13881 # It would also be nice to do this for all -L options, not just this one.
13882 if test -n "$x_libraries"; then
13883 X_LIBS="$X_LIBS -L$x_libraries"
13884 # For Solaris; some versions of Sun CC require a space after -R and
13885 # others require no space. Words are not sufficient . . . .
13886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13887 printf %s "checking whether -R must be followed by a space... " >&6; }
13888 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13889 ac_xsave_c_werror_flag=$ac_c_werror_flag
13890 ac_c_werror_flag=yes
13891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13895 main (void)
13899 return 0;
13901 _ACEOF
13902 if ac_fn_c_try_link "$LINENO"
13903 then :
13904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13905 printf "%s\n" "no" >&6; }
13906 X_LIBS="$X_LIBS -R$x_libraries"
13907 else $as_nop
13908 LIBS="$ac_xsave_LIBS -R $x_libraries"
13909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13910 /* end confdefs.h. */
13913 main (void)
13917 return 0;
13919 _ACEOF
13920 if ac_fn_c_try_link "$LINENO"
13921 then :
13922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13923 printf "%s\n" "yes" >&6; }
13924 X_LIBS="$X_LIBS -R $x_libraries"
13925 else $as_nop
13926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13927 printf "%s\n" "neither works" >&6; }
13929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13930 conftest$ac_exeext conftest.$ac_ext
13932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13933 conftest$ac_exeext conftest.$ac_ext
13934 ac_c_werror_flag=$ac_xsave_c_werror_flag
13935 LIBS=$ac_xsave_LIBS
13938 # Check for system-dependent libraries X programs must link with.
13939 # Do this before checking for the system-independent R6 libraries
13940 # (-lICE), since we may need -lsocket or whatever for X linking.
13942 if test "$ISC" = yes; then
13943 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13944 else
13945 # Martyn Johnson says this is needed for Ultrix, if the X
13946 # libraries were built with DECnet support. And Karl Berry says
13947 # the Alpha needs dnet_stub (dnet does not exist).
13948 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13950 /* end confdefs.h. */
13952 /* Override any GCC internal prototype to avoid an error.
13953 Use char because int might match the return type of a GCC
13954 builtin and then its argument prototype would still apply. */
13955 char XOpenDisplay ();
13957 main (void)
13959 return XOpenDisplay ();
13961 return 0;
13963 _ACEOF
13964 if ac_fn_c_try_link "$LINENO"
13965 then :
13967 else $as_nop
13968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13969 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13970 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13971 then :
13972 printf %s "(cached) " >&6
13973 else $as_nop
13974 ac_check_lib_save_LIBS=$LIBS
13975 LIBS="-ldnet $LIBS"
13976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13979 /* Override any GCC internal prototype to avoid an error.
13980 Use char because int might match the return type of a GCC
13981 builtin and then its argument prototype would still apply. */
13982 char dnet_ntoa ();
13984 main (void)
13986 return dnet_ntoa ();
13988 return 0;
13990 _ACEOF
13991 if ac_fn_c_try_link "$LINENO"
13992 then :
13993 ac_cv_lib_dnet_dnet_ntoa=yes
13994 else $as_nop
13995 ac_cv_lib_dnet_dnet_ntoa=no
13997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13998 conftest$ac_exeext conftest.$ac_ext
13999 LIBS=$ac_check_lib_save_LIBS
14001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14002 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14003 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14004 then :
14005 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14008 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14010 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14011 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14012 then :
14013 printf %s "(cached) " >&6
14014 else $as_nop
14015 ac_check_lib_save_LIBS=$LIBS
14016 LIBS="-ldnet_stub $LIBS"
14017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14018 /* end confdefs.h. */
14020 /* Override any GCC internal prototype to avoid an error.
14021 Use char because int might match the return type of a GCC
14022 builtin and then its argument prototype would still apply. */
14023 char dnet_ntoa ();
14025 main (void)
14027 return dnet_ntoa ();
14029 return 0;
14031 _ACEOF
14032 if ac_fn_c_try_link "$LINENO"
14033 then :
14034 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14035 else $as_nop
14036 ac_cv_lib_dnet_stub_dnet_ntoa=no
14038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14039 conftest$ac_exeext conftest.$ac_ext
14040 LIBS=$ac_check_lib_save_LIBS
14042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14043 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14044 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14045 then :
14046 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14052 conftest$ac_exeext conftest.$ac_ext
14053 LIBS="$ac_xsave_LIBS"
14055 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14056 # to get the SysV transport functions.
14057 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14058 # needs -lnsl.
14059 # The nsl library prevents programs from opening the X display
14060 # on Irix 5.2, according to T.E. Dickey.
14061 # The functions gethostbyname, getservbyname, and inet_addr are
14062 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14063 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14064 if test "x$ac_cv_func_gethostbyname" = xyes
14065 then :
14069 if test $ac_cv_func_gethostbyname = no; then
14070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14071 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14072 if test ${ac_cv_lib_nsl_gethostbyname+y}
14073 then :
14074 printf %s "(cached) " >&6
14075 else $as_nop
14076 ac_check_lib_save_LIBS=$LIBS
14077 LIBS="-lnsl $LIBS"
14078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14084 char gethostbyname ();
14086 main (void)
14088 return gethostbyname ();
14090 return 0;
14092 _ACEOF
14093 if ac_fn_c_try_link "$LINENO"
14094 then :
14095 ac_cv_lib_nsl_gethostbyname=yes
14096 else $as_nop
14097 ac_cv_lib_nsl_gethostbyname=no
14099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14100 conftest$ac_exeext conftest.$ac_ext
14101 LIBS=$ac_check_lib_save_LIBS
14103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14104 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14105 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14106 then :
14107 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14110 if test $ac_cv_lib_nsl_gethostbyname = no; then
14111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14112 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14113 if test ${ac_cv_lib_bsd_gethostbyname+y}
14114 then :
14115 printf %s "(cached) " >&6
14116 else $as_nop
14117 ac_check_lib_save_LIBS=$LIBS
14118 LIBS="-lbsd $LIBS"
14119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14120 /* end confdefs.h. */
14122 /* Override any GCC internal prototype to avoid an error.
14123 Use char because int might match the return type of a GCC
14124 builtin and then its argument prototype would still apply. */
14125 char gethostbyname ();
14127 main (void)
14129 return gethostbyname ();
14131 return 0;
14133 _ACEOF
14134 if ac_fn_c_try_link "$LINENO"
14135 then :
14136 ac_cv_lib_bsd_gethostbyname=yes
14137 else $as_nop
14138 ac_cv_lib_bsd_gethostbyname=no
14140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14141 conftest$ac_exeext conftest.$ac_ext
14142 LIBS=$ac_check_lib_save_LIBS
14144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14145 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14146 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14147 then :
14148 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14154 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14155 # socket/setsockopt and other routines are undefined under SCO ODT
14156 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14157 # on later versions), says Simon Leinen: it contains gethostby*
14158 # variants that don't use the name server (or something). -lsocket
14159 # must be given before -lnsl if both are needed. We assume that
14160 # if connect needs -lnsl, so does gethostbyname.
14161 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14162 if test "x$ac_cv_func_connect" = xyes
14163 then :
14167 if test $ac_cv_func_connect = no; then
14168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14169 printf %s "checking for connect in -lsocket... " >&6; }
14170 if test ${ac_cv_lib_socket_connect+y}
14171 then :
14172 printf %s "(cached) " >&6
14173 else $as_nop
14174 ac_check_lib_save_LIBS=$LIBS
14175 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14177 /* end confdefs.h. */
14179 /* Override any GCC internal prototype to avoid an error.
14180 Use char because int might match the return type of a GCC
14181 builtin and then its argument prototype would still apply. */
14182 char connect ();
14184 main (void)
14186 return connect ();
14188 return 0;
14190 _ACEOF
14191 if ac_fn_c_try_link "$LINENO"
14192 then :
14193 ac_cv_lib_socket_connect=yes
14194 else $as_nop
14195 ac_cv_lib_socket_connect=no
14197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14198 conftest$ac_exeext conftest.$ac_ext
14199 LIBS=$ac_check_lib_save_LIBS
14201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14202 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14203 if test "x$ac_cv_lib_socket_connect" = xyes
14204 then :
14205 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14210 # Guillermo Gomez says -lposix is necessary on A/UX.
14211 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14212 if test "x$ac_cv_func_remove" = xyes
14213 then :
14217 if test $ac_cv_func_remove = no; then
14218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14219 printf %s "checking for remove in -lposix... " >&6; }
14220 if test ${ac_cv_lib_posix_remove+y}
14221 then :
14222 printf %s "(cached) " >&6
14223 else $as_nop
14224 ac_check_lib_save_LIBS=$LIBS
14225 LIBS="-lposix $LIBS"
14226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14229 /* Override any GCC internal prototype to avoid an error.
14230 Use char because int might match the return type of a GCC
14231 builtin and then its argument prototype would still apply. */
14232 char remove ();
14234 main (void)
14236 return remove ();
14238 return 0;
14240 _ACEOF
14241 if ac_fn_c_try_link "$LINENO"
14242 then :
14243 ac_cv_lib_posix_remove=yes
14244 else $as_nop
14245 ac_cv_lib_posix_remove=no
14247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14248 conftest$ac_exeext conftest.$ac_ext
14249 LIBS=$ac_check_lib_save_LIBS
14251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14252 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14253 if test "x$ac_cv_lib_posix_remove" = xyes
14254 then :
14255 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14260 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14261 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14262 if test "x$ac_cv_func_shmat" = xyes
14263 then :
14267 if test $ac_cv_func_shmat = no; then
14268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14269 printf %s "checking for shmat in -lipc... " >&6; }
14270 if test ${ac_cv_lib_ipc_shmat+y}
14271 then :
14272 printf %s "(cached) " >&6
14273 else $as_nop
14274 ac_check_lib_save_LIBS=$LIBS
14275 LIBS="-lipc $LIBS"
14276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14277 /* end confdefs.h. */
14279 /* Override any GCC internal prototype to avoid an error.
14280 Use char because int might match the return type of a GCC
14281 builtin and then its argument prototype would still apply. */
14282 char shmat ();
14284 main (void)
14286 return shmat ();
14288 return 0;
14290 _ACEOF
14291 if ac_fn_c_try_link "$LINENO"
14292 then :
14293 ac_cv_lib_ipc_shmat=yes
14294 else $as_nop
14295 ac_cv_lib_ipc_shmat=no
14297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14298 conftest$ac_exeext conftest.$ac_ext
14299 LIBS=$ac_check_lib_save_LIBS
14301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14302 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14303 if test "x$ac_cv_lib_ipc_shmat" = xyes
14304 then :
14305 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14311 # Check for libraries that X11R6 Xt/Xaw programs need.
14312 ac_save_LDFLAGS=$LDFLAGS
14313 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14314 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14315 # check for ICE first), but we must link in the order -lSM -lICE or
14316 # we get undefined symbols. So assume we have SM if we have ICE.
14317 # These have to be linked with before -lX11, unlike the other
14318 # libraries we check for below, so use a different variable.
14319 # John Interrante, Karl Berry
14320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14321 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14322 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14323 then :
14324 printf %s "(cached) " >&6
14325 else $as_nop
14326 ac_check_lib_save_LIBS=$LIBS
14327 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14329 /* end confdefs.h. */
14331 /* Override any GCC internal prototype to avoid an error.
14332 Use char because int might match the return type of a GCC
14333 builtin and then its argument prototype would still apply. */
14334 char IceConnectionNumber ();
14336 main (void)
14338 return IceConnectionNumber ();
14340 return 0;
14342 _ACEOF
14343 if ac_fn_c_try_link "$LINENO"
14344 then :
14345 ac_cv_lib_ICE_IceConnectionNumber=yes
14346 else $as_nop
14347 ac_cv_lib_ICE_IceConnectionNumber=no
14349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14350 conftest$ac_exeext conftest.$ac_ext
14351 LIBS=$ac_check_lib_save_LIBS
14353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14354 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14355 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14356 then :
14357 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14360 LDFLAGS=$ac_save_LDFLAGS
14365 if test "$have_x" = "yes"
14366 then
14367 ac_save_CPPFLAGS="$CPPFLAGS"
14368 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14371 printf %s "checking for -lX11... " >&6; }
14372 if test ${ac_cv_lib_soname_X11+y}
14373 then :
14374 printf %s "(cached) " >&6
14375 else $as_nop
14376 ac_check_soname_save_LIBS=$LIBS
14377 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14381 /* Override any GCC internal prototype to avoid an error.
14382 Use char because int might match the return type of a GCC
14383 builtin and then its argument prototype would still apply. */
14384 char XCreateWindow ();
14386 main (void)
14388 return XCreateWindow ();
14390 return 0;
14392 _ACEOF
14393 if ac_fn_c_try_link "$LINENO"
14394 then :
14395 case "$LIBEXT" in
14396 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14397 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'` ;;
14398 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14399 if ${ac_cv_lib_soname_X11:+false} :
14400 then :
14401 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14402 fi ;;
14403 esac
14404 else $as_nop
14405 ac_cv_lib_soname_X11=
14407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14408 conftest$ac_exeext conftest.$ac_ext
14409 LIBS=$ac_check_soname_save_LIBS
14411 if ${ac_cv_lib_soname_X11:+false} :
14412 then :
14413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14414 printf "%s\n" "not found" >&6; }
14416 else $as_nop
14417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14418 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14420 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14425 printf %s "checking for -lXext... " >&6; }
14426 if test ${ac_cv_lib_soname_Xext+y}
14427 then :
14428 printf %s "(cached) " >&6
14429 else $as_nop
14430 ac_check_soname_save_LIBS=$LIBS
14431 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14433 /* end confdefs.h. */
14435 /* Override any GCC internal prototype to avoid an error.
14436 Use char because int might match the return type of a GCC
14437 builtin and then its argument prototype would still apply. */
14438 char XextCreateExtension ();
14440 main (void)
14442 return XextCreateExtension ();
14444 return 0;
14446 _ACEOF
14447 if ac_fn_c_try_link "$LINENO"
14448 then :
14449 case "$LIBEXT" in
14450 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14451 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'` ;;
14452 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14453 if ${ac_cv_lib_soname_Xext:+false} :
14454 then :
14455 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14456 fi ;;
14457 esac
14458 else $as_nop
14459 ac_cv_lib_soname_Xext=
14461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14462 conftest$ac_exeext conftest.$ac_ext
14463 LIBS=$ac_check_soname_save_LIBS
14465 if ${ac_cv_lib_soname_Xext:+false} :
14466 then :
14467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14468 printf "%s\n" "not found" >&6; }
14470 else $as_nop
14471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14472 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14474 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14476 X_LIBS="$X_LIBS -lXext"
14478 X_LIBS="$X_LIBS -lX11"
14480 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14481 # include <X11/Xlib.h>
14482 #endif
14483 #ifdef HAVE_X11_XUTIL_H
14484 # include <X11/Xutil.h>
14485 #endif
14487 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14488 then :
14489 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14492 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14493 # include <X11/Xlib.h>
14494 #endif
14495 #ifdef HAVE_X11_XUTIL_H
14496 # include <X11/Xutil.h>
14497 #endif
14499 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14500 then :
14501 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14504 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14505 # include <X11/Xlib.h>
14506 #endif
14507 #ifdef HAVE_X11_XUTIL_H
14508 # include <X11/Xutil.h>
14509 #endif
14511 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14512 then :
14513 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14516 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14517 # include <X11/Xlib.h>
14518 #endif
14519 #ifdef HAVE_X11_XUTIL_H
14520 # include <X11/Xutil.h>
14521 #endif
14523 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14524 then :
14525 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14528 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14529 # include <X11/Xlib.h>
14530 #endif
14531 #ifdef HAVE_X11_XUTIL_H
14532 # include <X11/Xutil.h>
14533 #endif
14535 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14536 then :
14537 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14540 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14541 # include <X11/Xlib.h>
14542 #endif
14543 #ifdef HAVE_X11_XUTIL_H
14544 # include <X11/Xutil.h>
14545 #endif
14547 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14548 then :
14549 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14552 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14553 # include <X11/Xlib.h>
14554 #endif
14555 #ifdef HAVE_X11_XUTIL_H
14556 # include <X11/Xutil.h>
14557 #endif
14559 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14560 then :
14561 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14564 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14565 # include <X11/Xlib.h>
14566 #endif
14567 #ifdef HAVE_X11_XUTIL_H
14568 # include <X11/Xutil.h>
14569 #endif
14571 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14572 then :
14573 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14576 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14577 # include <X11/Xlib.h>
14578 #endif
14579 #ifdef HAVE_X11_XUTIL_H
14580 # include <X11/Xutil.h>
14581 #endif
14583 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14584 then :
14585 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14588 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14589 # include <X11/Xlib.h>
14590 #endif
14591 #ifdef HAVE_X11_XUTIL_H
14592 # include <X11/Xutil.h>
14593 #endif
14595 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14596 then :
14597 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14600 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14601 # include <X11/Xlib.h>
14602 #endif
14603 #ifdef HAVE_X11_XUTIL_H
14604 # include <X11/Xutil.h>
14605 #endif
14607 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14608 then :
14609 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14612 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14613 # include <X11/Xlib.h>
14614 #endif
14615 #ifdef HAVE_X11_XUTIL_H
14616 # include <X11/Xutil.h>
14617 #endif
14619 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14620 then :
14621 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14624 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14625 # include <X11/Xlib.h>
14626 #endif
14627 #ifdef HAVE_X11_XUTIL_H
14628 # include <X11/Xutil.h>
14629 #endif
14631 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14632 then :
14633 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14636 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14637 # include <X11/Xlib.h>
14638 #endif
14639 #ifdef HAVE_X11_XUTIL_H
14640 # include <X11/Xutil.h>
14641 #endif
14643 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14644 then :
14645 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14648 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14649 # include <X11/Xlib.h>
14650 #endif
14651 #ifdef HAVE_X11_XUTIL_H
14652 # include <X11/Xutil.h>
14653 #endif
14655 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14656 then :
14657 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14662 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14663 then
14664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14665 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14666 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14667 then :
14668 printf %s "(cached) " >&6
14669 else $as_nop
14670 ac_check_lib_save_LIBS=$LIBS
14671 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14673 /* end confdefs.h. */
14675 /* Override any GCC internal prototype to avoid an error.
14676 Use char because int might match the return type of a GCC
14677 builtin and then its argument prototype would still apply. */
14678 char XkbQueryExtension ();
14680 main (void)
14682 return XkbQueryExtension ();
14684 return 0;
14686 _ACEOF
14687 if ac_fn_c_try_link "$LINENO"
14688 then :
14689 ac_cv_lib_X11_XkbQueryExtension=yes
14690 else $as_nop
14691 ac_cv_lib_X11_XkbQueryExtension=no
14693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14694 conftest$ac_exeext conftest.$ac_ext
14695 LIBS=$ac_check_lib_save_LIBS
14697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14698 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14699 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14700 then :
14702 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14708 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14709 then
14710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14711 printf %s "checking for -lXcursor... " >&6; }
14712 if test ${ac_cv_lib_soname_Xcursor+y}
14713 then :
14714 printf %s "(cached) " >&6
14715 else $as_nop
14716 ac_check_soname_save_LIBS=$LIBS
14717 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14719 /* end confdefs.h. */
14721 /* Override any GCC internal prototype to avoid an error.
14722 Use char because int might match the return type of a GCC
14723 builtin and then its argument prototype would still apply. */
14724 char XcursorImageLoadCursor ();
14726 main (void)
14728 return XcursorImageLoadCursor ();
14730 return 0;
14732 _ACEOF
14733 if ac_fn_c_try_link "$LINENO"
14734 then :
14735 case "$LIBEXT" in
14736 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14737 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'` ;;
14738 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14739 if ${ac_cv_lib_soname_Xcursor:+false} :
14740 then :
14741 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14742 fi ;;
14743 esac
14744 else $as_nop
14745 ac_cv_lib_soname_Xcursor=
14747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14748 conftest$ac_exeext conftest.$ac_ext
14749 LIBS=$ac_check_soname_save_LIBS
14751 if ${ac_cv_lib_soname_Xcursor:+false} :
14752 then :
14753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14754 printf "%s\n" "not found" >&6; }
14756 else $as_nop
14757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14758 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14760 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14765 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14766 then :
14767 case "x$with_xcursor" in
14768 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14769 xno) ;;
14770 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14771 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14772 esac
14776 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14777 then
14778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14779 printf %s "checking for -lXi... " >&6; }
14780 if test ${ac_cv_lib_soname_Xi+y}
14781 then :
14782 printf %s "(cached) " >&6
14783 else $as_nop
14784 ac_check_soname_save_LIBS=$LIBS
14785 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14789 /* Override any GCC internal prototype to avoid an error.
14790 Use char because int might match the return type of a GCC
14791 builtin and then its argument prototype would still apply. */
14792 char XOpenDevice ();
14794 main (void)
14796 return XOpenDevice ();
14798 return 0;
14800 _ACEOF
14801 if ac_fn_c_try_link "$LINENO"
14802 then :
14803 case "$LIBEXT" in
14804 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14805 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'` ;;
14806 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14807 if ${ac_cv_lib_soname_Xi:+false} :
14808 then :
14809 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14810 fi ;;
14811 esac
14812 else $as_nop
14813 ac_cv_lib_soname_Xi=
14815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14816 conftest$ac_exeext conftest.$ac_ext
14817 LIBS=$ac_check_soname_save_LIBS
14819 if ${ac_cv_lib_soname_Xi:+false} :
14820 then :
14821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14822 printf "%s\n" "not found" >&6; }
14824 else $as_nop
14825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14826 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14828 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14833 if test "x$ac_cv_lib_soname_Xi" = "x"
14834 then :
14835 case "x$with_xinput" in
14836 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14837 xno) ;;
14838 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14839 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14840 esac
14844 if test "x$ac_cv_lib_soname_Xi" != x
14845 then
14846 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14847 then :
14848 case "x$with_xinput2" in
14849 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14850 xno) ;;
14851 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14852 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14853 esac
14858 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14859 then
14860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14861 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14862 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14863 then :
14864 printf %s "(cached) " >&6
14865 else $as_nop
14866 ac_check_lib_save_LIBS=$LIBS
14867 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h. */
14871 /* Override any GCC internal prototype to avoid an error.
14872 Use char because int might match the return type of a GCC
14873 builtin and then its argument prototype would still apply. */
14874 char XShmQueryExtension ();
14876 main (void)
14878 return XShmQueryExtension ();
14880 return 0;
14882 _ACEOF
14883 if ac_fn_c_try_link "$LINENO"
14884 then :
14885 ac_cv_lib_Xext_XShmQueryExtension=yes
14886 else $as_nop
14887 ac_cv_lib_Xext_XShmQueryExtension=no
14889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14890 conftest$ac_exeext conftest.$ac_ext
14891 LIBS=$ac_check_lib_save_LIBS
14893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14894 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14895 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14896 then :
14898 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14903 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14904 then :
14905 case "x$with_xshm" in
14906 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14907 xno) ;;
14908 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14909 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14910 esac
14914 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14915 then
14916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14917 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14918 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14919 then :
14920 printf %s "(cached) " >&6
14921 else $as_nop
14922 ac_check_lib_save_LIBS=$LIBS
14923 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14925 /* end confdefs.h. */
14927 /* Override any GCC internal prototype to avoid an error.
14928 Use char because int might match the return type of a GCC
14929 builtin and then its argument prototype would still apply. */
14930 char XShapeQueryExtension ();
14932 main (void)
14934 return XShapeQueryExtension ();
14936 return 0;
14938 _ACEOF
14939 if ac_fn_c_try_link "$LINENO"
14940 then :
14941 ac_cv_lib_Xext_XShapeQueryExtension=yes
14942 else $as_nop
14943 ac_cv_lib_Xext_XShapeQueryExtension=no
14945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14946 conftest$ac_exeext conftest.$ac_ext
14947 LIBS=$ac_check_lib_save_LIBS
14949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14950 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14951 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14952 then :
14954 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14959 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14960 then :
14961 case "x$with_xshape" in
14962 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14963 xno) ;;
14964 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14965 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14966 esac
14970 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14971 then
14972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14973 printf %s "checking for -lXxf86vm... " >&6; }
14974 if test ${ac_cv_lib_soname_Xxf86vm+y}
14975 then :
14976 printf %s "(cached) " >&6
14977 else $as_nop
14978 ac_check_soname_save_LIBS=$LIBS
14979 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14983 /* Override any GCC internal prototype to avoid an error.
14984 Use char because int might match the return type of a GCC
14985 builtin and then its argument prototype would still apply. */
14986 char XF86VidModeQueryExtension ();
14988 main (void)
14990 return XF86VidModeQueryExtension ();
14992 return 0;
14994 _ACEOF
14995 if ac_fn_c_try_link "$LINENO"
14996 then :
14997 case "$LIBEXT" in
14998 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14999 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'` ;;
15000 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15001 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15002 then :
15003 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15004 fi ;;
15005 esac
15006 else $as_nop
15007 ac_cv_lib_soname_Xxf86vm=
15009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15010 conftest$ac_exeext conftest.$ac_ext
15011 LIBS=$ac_check_soname_save_LIBS
15013 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15014 then :
15015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15016 printf "%s\n" "not found" >&6; }
15018 else $as_nop
15019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15020 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15022 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15027 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15028 then :
15029 case "x$with_xxf86vm" in
15030 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15031 xno) ;;
15032 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15033 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15034 esac
15038 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15039 then
15040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15041 printf %s "checking for -lXrender... " >&6; }
15042 if test ${ac_cv_lib_soname_Xrender+y}
15043 then :
15044 printf %s "(cached) " >&6
15045 else $as_nop
15046 ac_check_soname_save_LIBS=$LIBS
15047 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15049 /* end confdefs.h. */
15051 /* Override any GCC internal prototype to avoid an error.
15052 Use char because int might match the return type of a GCC
15053 builtin and then its argument prototype would still apply. */
15054 char XRenderQueryExtension ();
15056 main (void)
15058 return XRenderQueryExtension ();
15060 return 0;
15062 _ACEOF
15063 if ac_fn_c_try_link "$LINENO"
15064 then :
15065 case "$LIBEXT" in
15066 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15067 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'` ;;
15068 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15069 if ${ac_cv_lib_soname_Xrender:+false} :
15070 then :
15071 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15072 fi ;;
15073 esac
15074 else $as_nop
15075 ac_cv_lib_soname_Xrender=
15077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15078 conftest$ac_exeext conftest.$ac_ext
15079 LIBS=$ac_check_soname_save_LIBS
15081 if ${ac_cv_lib_soname_Xrender:+false} :
15082 then :
15083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15084 printf "%s\n" "not found" >&6; }
15086 else $as_nop
15087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15088 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15090 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15093 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15094 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15095 then :
15096 printf %s "(cached) " >&6
15097 else $as_nop
15098 ac_check_lib_save_LIBS=$LIBS
15099 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15101 /* end confdefs.h. */
15103 /* Override any GCC internal prototype to avoid an error.
15104 Use char because int might match the return type of a GCC
15105 builtin and then its argument prototype would still apply. */
15106 char XRenderSetPictureTransform ();
15108 main (void)
15110 return XRenderSetPictureTransform ();
15112 return 0;
15114 _ACEOF
15115 if ac_fn_c_try_link "$LINENO"
15116 then :
15117 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15118 else $as_nop
15119 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15122 conftest$ac_exeext conftest.$ac_ext
15123 LIBS=$ac_check_lib_save_LIBS
15125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15126 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15127 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15128 then :
15130 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15135 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15136 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15137 then :
15138 printf %s "(cached) " >&6
15139 else $as_nop
15140 ac_check_lib_save_LIBS=$LIBS
15141 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15145 /* Override any GCC internal prototype to avoid an error.
15146 Use char because int might match the return type of a GCC
15147 builtin and then its argument prototype would still apply. */
15148 char XRenderCreateLinearGradient ();
15150 main (void)
15152 return XRenderCreateLinearGradient ();
15154 return 0;
15156 _ACEOF
15157 if ac_fn_c_try_link "$LINENO"
15158 then :
15159 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15160 else $as_nop
15161 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15164 conftest$ac_exeext conftest.$ac_ext
15165 LIBS=$ac_check_lib_save_LIBS
15167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15168 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15169 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15170 then :
15172 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15179 if test "x$ac_cv_lib_soname_Xrender" = "x"
15180 then :
15181 case "x$with_xrender" in
15182 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15183 xno) ;;
15184 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15185 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15186 esac
15190 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15191 then
15192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15193 /* end confdefs.h. */
15194 #include <X11/Xlib.h>
15195 #include <X11/extensions/Xrandr.h>
15197 main (void)
15199 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15201 return 0;
15203 _ACEOF
15204 if ac_fn_c_try_compile "$LINENO"
15205 then :
15206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15207 printf %s "checking for -lXrandr... " >&6; }
15208 if test ${ac_cv_lib_soname_Xrandr+y}
15209 then :
15210 printf %s "(cached) " >&6
15211 else $as_nop
15212 ac_check_soname_save_LIBS=$LIBS
15213 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15217 /* Override any GCC internal prototype to avoid an error.
15218 Use char because int might match the return type of a GCC
15219 builtin and then its argument prototype would still apply. */
15220 char XRRQueryExtension ();
15222 main (void)
15224 return XRRQueryExtension ();
15226 return 0;
15228 _ACEOF
15229 if ac_fn_c_try_link "$LINENO"
15230 then :
15231 case "$LIBEXT" in
15232 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15233 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'` ;;
15234 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15235 if ${ac_cv_lib_soname_Xrandr:+false} :
15236 then :
15237 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15238 fi ;;
15239 esac
15240 else $as_nop
15241 ac_cv_lib_soname_Xrandr=
15243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15244 conftest$ac_exeext conftest.$ac_ext
15245 LIBS=$ac_check_soname_save_LIBS
15247 if ${ac_cv_lib_soname_Xrandr:+false} :
15248 then :
15249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15250 printf "%s\n" "not found" >&6; }
15252 else $as_nop
15253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15254 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15256 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15259 /* end confdefs.h. */
15260 #include <X11/Xlib.h>
15261 #include <X11/extensions/Xrandr.h>
15263 main (void)
15265 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15267 return 0;
15269 _ACEOF
15270 if ac_fn_c_try_compile "$LINENO"
15271 then :
15273 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15275 else $as_nop
15276 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15278 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15283 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15284 then :
15285 case "x$with_xrandr" in
15286 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15287 xno) ;;
15288 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15289 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15290 esac
15294 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15295 then
15296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15297 /* end confdefs.h. */
15298 #include <X11/Xlib.h>
15299 #include <X11/extensions/Xfixes.h>
15301 main (void)
15303 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15305 return 0;
15307 _ACEOF
15308 if ac_fn_c_try_compile "$LINENO"
15309 then :
15310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15311 printf %s "checking for -lXfixes... " >&6; }
15312 if test ${ac_cv_lib_soname_Xfixes+y}
15313 then :
15314 printf %s "(cached) " >&6
15315 else $as_nop
15316 ac_check_soname_save_LIBS=$LIBS
15317 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15319 /* end confdefs.h. */
15321 /* Override any GCC internal prototype to avoid an error.
15322 Use char because int might match the return type of a GCC
15323 builtin and then its argument prototype would still apply. */
15324 char XFixesQueryVersion ();
15326 main (void)
15328 return XFixesQueryVersion ();
15330 return 0;
15332 _ACEOF
15333 if ac_fn_c_try_link "$LINENO"
15334 then :
15335 case "$LIBEXT" in
15336 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15337 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'` ;;
15338 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15339 if ${ac_cv_lib_soname_Xfixes:+false} :
15340 then :
15341 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15342 fi ;;
15343 esac
15344 else $as_nop
15345 ac_cv_lib_soname_Xfixes=
15347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15348 conftest$ac_exeext conftest.$ac_ext
15349 LIBS=$ac_check_soname_save_LIBS
15351 if ${ac_cv_lib_soname_Xfixes:+false} :
15352 then :
15353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15354 printf "%s\n" "not found" >&6; }
15356 else $as_nop
15357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15358 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15360 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15365 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15367 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15368 then :
15369 case "x$with_xfixes" in
15370 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15371 xno) ;;
15372 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15373 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15374 esac
15378 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15379 then
15380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15382 #include <X11/Xlib.h>
15383 #include <X11/extensions/Xinerama.h>
15385 main (void)
15387 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15389 return 0;
15391 _ACEOF
15392 if ac_fn_c_try_compile "$LINENO"
15393 then :
15394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15395 printf %s "checking for -lXinerama... " >&6; }
15396 if test ${ac_cv_lib_soname_Xinerama+y}
15397 then :
15398 printf %s "(cached) " >&6
15399 else $as_nop
15400 ac_check_soname_save_LIBS=$LIBS
15401 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15403 /* end confdefs.h. */
15405 /* Override any GCC internal prototype to avoid an error.
15406 Use char because int might match the return type of a GCC
15407 builtin and then its argument prototype would still apply. */
15408 char XineramaQueryScreens ();
15410 main (void)
15412 return XineramaQueryScreens ();
15414 return 0;
15416 _ACEOF
15417 if ac_fn_c_try_link "$LINENO"
15418 then :
15419 case "$LIBEXT" in
15420 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15421 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'` ;;
15422 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15423 if ${ac_cv_lib_soname_Xinerama:+false} :
15424 then :
15425 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15426 fi ;;
15427 esac
15428 else $as_nop
15429 ac_cv_lib_soname_Xinerama=
15431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15432 conftest$ac_exeext conftest.$ac_ext
15433 LIBS=$ac_check_soname_save_LIBS
15435 if ${ac_cv_lib_soname_Xinerama:+false} :
15436 then :
15437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15438 printf "%s\n" "not found" >&6; }
15440 else $as_nop
15441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15442 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15444 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15451 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15452 then :
15453 case "x$with_xinerama" in
15454 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15455 xno) ;;
15456 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15457 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15458 esac
15462 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15463 then
15464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15465 printf %s "checking for -lXcomposite... " >&6; }
15466 if test ${ac_cv_lib_soname_Xcomposite+y}
15467 then :
15468 printf %s "(cached) " >&6
15469 else $as_nop
15470 ac_check_soname_save_LIBS=$LIBS
15471 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15473 /* end confdefs.h. */
15475 /* Override any GCC internal prototype to avoid an error.
15476 Use char because int might match the return type of a GCC
15477 builtin and then its argument prototype would still apply. */
15478 char XCompositeRedirectWindow ();
15480 main (void)
15482 return XCompositeRedirectWindow ();
15484 return 0;
15486 _ACEOF
15487 if ac_fn_c_try_link "$LINENO"
15488 then :
15489 case "$LIBEXT" in
15490 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15491 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'` ;;
15492 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15493 if ${ac_cv_lib_soname_Xcomposite:+false} :
15494 then :
15495 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15496 fi ;;
15497 esac
15498 else $as_nop
15499 ac_cv_lib_soname_Xcomposite=
15501 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15502 conftest$ac_exeext conftest.$ac_ext
15503 LIBS=$ac_check_soname_save_LIBS
15505 if ${ac_cv_lib_soname_Xcomposite:+false} :
15506 then :
15507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15508 printf "%s\n" "not found" >&6; }
15510 else $as_nop
15511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15512 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15514 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15519 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15520 then :
15521 case "x$with_xcomposite" in
15522 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15523 xno) ;;
15524 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15525 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15526 esac
15530 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15531 #include <X11/Xlib.h>
15532 #endif
15534 if test "x$ac_cv_member_XICCallback_callback" = xyes
15535 then :
15537 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15541 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15542 #include <X11/Xlib.h>
15543 #endif
15545 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15546 then :
15548 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15555 opengl_msg=""
15556 if test "x$with_opengl" != "xno"
15557 then
15558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15559 printf %s "checking for -lGL... " >&6; }
15560 if test ${ac_cv_lib_soname_GL+y}
15561 then :
15562 printf %s "(cached) " >&6
15563 else $as_nop
15564 ac_check_soname_save_LIBS=$LIBS
15565 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15567 /* end confdefs.h. */
15569 /* Override any GCC internal prototype to avoid an error.
15570 Use char because int might match the return type of a GCC
15571 builtin and then its argument prototype would still apply. */
15572 char glXCreateContext ();
15574 main (void)
15576 return glXCreateContext ();
15578 return 0;
15580 _ACEOF
15581 if ac_fn_c_try_link "$LINENO"
15582 then :
15583 case "$LIBEXT" in
15584 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15585 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'` ;;
15586 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15587 if ${ac_cv_lib_soname_GL:+false} :
15588 then :
15589 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15590 fi ;;
15591 esac
15592 else $as_nop
15593 ac_cv_lib_soname_GL=
15595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15596 conftest$ac_exeext conftest.$ac_ext
15597 LIBS=$ac_check_soname_save_LIBS
15599 if ${ac_cv_lib_soname_GL:+false} :
15600 then :
15601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15602 printf "%s\n" "not found" >&6; }
15603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15604 printf %s "checking for -lGL... " >&6; }
15605 if test ${ac_cv_lib_soname_GL+y}
15606 then :
15607 printf %s "(cached) " >&6
15608 else $as_nop
15609 ac_check_soname_save_LIBS=$LIBS
15610 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"
15611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15612 /* end confdefs.h. */
15614 /* Override any GCC internal prototype to avoid an error.
15615 Use char because int might match the return type of a GCC
15616 builtin and then its argument prototype would still apply. */
15617 char glXCreateContext ();
15619 main (void)
15621 return glXCreateContext ();
15623 return 0;
15625 _ACEOF
15626 if ac_fn_c_try_link "$LINENO"
15627 then :
15628 case "$LIBEXT" in
15629 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15630 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'` ;;
15631 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15632 if ${ac_cv_lib_soname_GL:+false} :
15633 then :
15634 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15635 fi ;;
15636 esac
15637 else $as_nop
15638 ac_cv_lib_soname_GL=
15640 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15641 conftest$ac_exeext conftest.$ac_ext
15642 LIBS=$ac_check_soname_save_LIBS
15644 if ${ac_cv_lib_soname_GL:+false} :
15645 then :
15646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15647 printf "%s\n" "not found" >&6; }
15648 if test -f /usr/X11R6/lib/libGL.a
15649 then
15650 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15651 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15652 else
15653 opengl_msg="No OpenGL library found on this system."
15655 else $as_nop
15656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15657 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15659 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15661 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"
15663 else $as_nop
15664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15665 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15667 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15669 OPENGL_LIBS="-lGL"
15671 if test "x$with_osmesa" != "xno"
15672 then
15673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15674 printf %s "checking for -lOSMesa... " >&6; }
15675 if test ${ac_cv_lib_soname_OSMesa+y}
15676 then :
15677 printf %s "(cached) " >&6
15678 else $as_nop
15679 ac_check_soname_save_LIBS=$LIBS
15680 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15682 /* end confdefs.h. */
15684 /* Override any GCC internal prototype to avoid an error.
15685 Use char because int might match the return type of a GCC
15686 builtin and then its argument prototype would still apply. */
15687 char OSMesaGetProcAddress ();
15689 main (void)
15691 return OSMesaGetProcAddress ();
15693 return 0;
15695 _ACEOF
15696 if ac_fn_c_try_link "$LINENO"
15697 then :
15698 case "$LIBEXT" in
15699 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15700 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'` ;;
15701 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15702 if ${ac_cv_lib_soname_OSMesa:+false} :
15703 then :
15704 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15705 fi ;;
15706 esac
15707 else $as_nop
15708 ac_cv_lib_soname_OSMesa=
15710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15711 conftest$ac_exeext conftest.$ac_ext
15712 LIBS=$ac_check_soname_save_LIBS
15714 if ${ac_cv_lib_soname_OSMesa:+false} :
15715 then :
15716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15717 printf "%s\n" "not found" >&6; }
15719 else $as_nop
15720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15721 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15723 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15727 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15728 then :
15729 case "x$with_osmesa" in
15730 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15731 xno) ;;
15732 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15733 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15734 esac
15739 if test -n "$opengl_msg"
15740 then :
15741 case "x$with_opengl" in
15742 x) as_fn_append wine_warnings "|$opengl_msg
15743 OpenGL and Direct3D won't be supported." ;;
15744 xno) ;;
15745 *) as_fn_error $? "$opengl_msg
15746 OpenGL and Direct3D won't be supported.
15747 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15748 esac
15752 CPPFLAGS="$ac_save_CPPFLAGS"
15753 else
15754 X_CFLAGS=""
15755 X_LIBS=""
15758 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15759 then
15760 if test "x$X_LIBS" = "x"
15761 then :
15762 case "x$with_x" in
15763 xno) ;;
15764 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15765 without X support, which probably isn't what you want. You will need
15766 to install ${notice_platform}development packages of Xlib at the very least.
15767 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15768 esac
15769 enable_winex11_drv=${enable_winex11_drv:-no}
15771 else
15772 if test "x$X_LIBS" = "x"
15773 then :
15774 case "x$with_x" in
15775 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15776 xno) ;;
15777 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15778 This is an error since --with-x was requested." "$LINENO" 5 ;;
15779 esac
15780 enable_winex11_drv=${enable_winex11_drv:-no}
15784 if test "$ac_cv_header_CL_cl_h" = "yes"
15785 then
15786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15787 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15788 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15789 then :
15790 printf %s "(cached) " >&6
15791 else $as_nop
15792 ac_check_lib_save_LIBS=$LIBS
15793 LIBS="-lOpenCL $LIBS"
15794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15795 /* end confdefs.h. */
15797 /* Override any GCC internal prototype to avoid an error.
15798 Use char because int might match the return type of a GCC
15799 builtin and then its argument prototype would still apply. */
15800 char clGetPlatformInfo ();
15802 main (void)
15804 return clGetPlatformInfo ();
15806 return 0;
15808 _ACEOF
15809 if ac_fn_c_try_link "$LINENO"
15810 then :
15811 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15812 else $as_nop
15813 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15816 conftest$ac_exeext conftest.$ac_ext
15817 LIBS=$ac_check_lib_save_LIBS
15819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15820 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15821 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15822 then :
15823 OPENCL_LIBS="-lOpenCL"
15828 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15829 then :
15830 case "x$with_opencl" in
15831 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15832 xno) ;;
15833 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15834 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15835 esac
15836 enable_opencl=${enable_opencl:-no}
15839 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15840 then
15841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15842 printf %s "checking for pcap_create in -lpcap... " >&6; }
15843 if test ${ac_cv_lib_pcap_pcap_create+y}
15844 then :
15845 printf %s "(cached) " >&6
15846 else $as_nop
15847 ac_check_lib_save_LIBS=$LIBS
15848 LIBS="-lpcap $LIBS"
15849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15850 /* end confdefs.h. */
15852 /* Override any GCC internal prototype to avoid an error.
15853 Use char because int might match the return type of a GCC
15854 builtin and then its argument prototype would still apply. */
15855 char pcap_create ();
15857 main (void)
15859 return pcap_create ();
15861 return 0;
15863 _ACEOF
15864 if ac_fn_c_try_link "$LINENO"
15865 then :
15866 ac_cv_lib_pcap_pcap_create=yes
15867 else $as_nop
15868 ac_cv_lib_pcap_pcap_create=no
15870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15871 conftest$ac_exeext conftest.$ac_ext
15872 LIBS=$ac_check_lib_save_LIBS
15874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15875 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15876 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15877 then :
15878 PCAP_LIBS="-lpcap"
15883 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15884 then :
15885 case "x$with_pcap" in
15886 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15887 xno) ;;
15888 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15889 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15890 esac
15891 enable_wpcap=${enable_wpcap:-no}
15894 if test "x$with_inotify" != "xno"
15895 then
15896 if ${INOTIFY_CFLAGS:+false} :
15897 then :
15898 if test ${PKG_CONFIG+y}
15899 then :
15900 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15904 if ${INOTIFY_LIBS:+false} :
15905 then :
15906 if test ${PKG_CONFIG+y}
15907 then :
15908 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15913 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15915 ac_save_CPPFLAGS=$CPPFLAGS
15916 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15917 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15918 if test "x$ac_cv_header_sys_inotify_h" = xyes
15919 then :
15920 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15925 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15926 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15927 then :
15928 printf %s "(cached) " >&6
15929 else $as_nop
15930 ac_check_lib_save_LIBS=$LIBS
15931 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15933 /* end confdefs.h. */
15935 /* Override any GCC internal prototype to avoid an error.
15936 Use char because int might match the return type of a GCC
15937 builtin and then its argument prototype would still apply. */
15938 char inotify_add_watch ();
15940 main (void)
15942 return inotify_add_watch ();
15944 return 0;
15946 _ACEOF
15947 if ac_fn_c_try_link "$LINENO"
15948 then :
15949 ac_cv_lib_inotify_inotify_add_watch=yes
15950 else $as_nop
15951 ac_cv_lib_inotify_inotify_add_watch=no
15953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15954 conftest$ac_exeext conftest.$ac_ext
15955 LIBS=$ac_check_lib_save_LIBS
15957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15958 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15959 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15960 then :
15962 else $as_nop
15963 INOTIFY_LIBS=""
15966 CPPFLAGS=$ac_save_CPPFLAGS
15969 if test "$ac_cv_header_sys_inotify_h" != "yes"
15970 then :
15971 case "x$with_inotify" in
15972 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15973 xno) ;;
15974 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15975 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15976 esac
15980 if test "x$with_dbus" != "xno"
15981 then
15982 if ${DBUS_CFLAGS:+false} :
15983 then :
15984 if test ${PKG_CONFIG+y}
15985 then :
15986 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15990 if ${DBUS_LIBS:+false} :
15991 then :
15992 if test ${PKG_CONFIG+y}
15993 then :
15994 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15999 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16001 ac_save_CPPFLAGS=$CPPFLAGS
16002 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16003 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16004 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16005 then :
16006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16007 printf %s "checking for -ldbus-1... " >&6; }
16008 if test ${ac_cv_lib_soname_dbus_1+y}
16009 then :
16010 printf %s "(cached) " >&6
16011 else $as_nop
16012 ac_check_soname_save_LIBS=$LIBS
16013 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16015 /* end confdefs.h. */
16017 /* Override any GCC internal prototype to avoid an error.
16018 Use char because int might match the return type of a GCC
16019 builtin and then its argument prototype would still apply. */
16020 char dbus_connection_close ();
16022 main (void)
16024 return dbus_connection_close ();
16026 return 0;
16028 _ACEOF
16029 if ac_fn_c_try_link "$LINENO"
16030 then :
16031 case "$LIBEXT" in
16032 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16033 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'` ;;
16034 *) 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'`
16035 if ${ac_cv_lib_soname_dbus_1:+false} :
16036 then :
16037 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16038 fi ;;
16039 esac
16040 else $as_nop
16041 ac_cv_lib_soname_dbus_1=
16043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16044 conftest$ac_exeext conftest.$ac_ext
16045 LIBS=$ac_check_soname_save_LIBS
16047 if ${ac_cv_lib_soname_dbus_1:+false} :
16048 then :
16049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16050 printf "%s\n" "not found" >&6; }
16051 DBUS_CFLAGS=""
16052 else $as_nop
16053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16054 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16056 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16060 else $as_nop
16061 DBUS_CFLAGS=""
16064 CPPFLAGS=$ac_save_CPPFLAGS
16067 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16068 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16069 then :
16070 case "x$with_dbus" in
16071 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16072 xno) ;;
16073 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16074 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16075 esac
16079 if test "x$with_gnutls" != "xno"
16080 then
16081 if ${GNUTLS_CFLAGS:+false} :
16082 then :
16083 if test ${PKG_CONFIG+y}
16084 then :
16085 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16089 if ${GNUTLS_LIBS:+false} :
16090 then :
16091 if test ${PKG_CONFIG+y}
16092 then :
16093 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16097 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16100 ac_save_CPPFLAGS=$CPPFLAGS
16101 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16102 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16103 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16104 then :
16105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16106 /* end confdefs.h. */
16107 #include <gnutls/gnutls.h>
16108 #include <gnutls/crypto.h>
16110 main (void)
16112 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16114 return 0;
16116 _ACEOF
16117 if ac_fn_c_try_compile "$LINENO"
16118 then :
16119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16120 printf %s "checking for -lgnutls... " >&6; }
16121 if test ${ac_cv_lib_soname_gnutls+y}
16122 then :
16123 printf %s "(cached) " >&6
16124 else $as_nop
16125 ac_check_soname_save_LIBS=$LIBS
16126 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16128 /* end confdefs.h. */
16130 /* Override any GCC internal prototype to avoid an error.
16131 Use char because int might match the return type of a GCC
16132 builtin and then its argument prototype would still apply. */
16133 char gnutls_global_init ();
16135 main (void)
16137 return gnutls_global_init ();
16139 return 0;
16141 _ACEOF
16142 if ac_fn_c_try_link "$LINENO"
16143 then :
16144 case "$LIBEXT" in
16145 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16146 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'` ;;
16147 *) 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'`
16148 if ${ac_cv_lib_soname_gnutls:+false} :
16149 then :
16150 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'`
16151 fi ;;
16152 esac
16153 else $as_nop
16154 ac_cv_lib_soname_gnutls=
16156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16157 conftest$ac_exeext conftest.$ac_ext
16158 LIBS=$ac_check_soname_save_LIBS
16160 if ${ac_cv_lib_soname_gnutls:+false} :
16161 then :
16162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16163 printf "%s\n" "not found" >&6; }
16164 GNUTLS_CFLAGS=""
16165 else $as_nop
16166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16167 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16169 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16173 ac_wine_check_funcs_save_LIBS="$LIBS"
16174 LIBS="$LIBS $GNUTLS_LIBS"
16176 for ac_func in gnutls_cipher_init
16177 do :
16178 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16179 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16180 then :
16181 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16183 else $as_nop
16184 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16187 done
16188 LIBS="$ac_wine_check_funcs_save_LIBS"
16190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16191 else $as_nop
16192 GNUTLS_CFLAGS=""
16195 CPPFLAGS=$ac_save_CPPFLAGS
16198 if test "x$ac_cv_lib_soname_gnutls" = "x"
16199 then :
16200 case "x$with_gnutls" in
16201 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16202 xno) ;;
16203 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16204 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16205 esac
16209 if test "x$with_sane" != "xno"
16210 then
16211 if ${SANE_CFLAGS:+false} :
16212 then :
16213 if test ${PKG_CONFIG+y}
16214 then :
16215 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16218 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16219 if ${SANE_LIBS:+false} :
16220 then :
16221 if test ${PKG_CONFIG+y}
16222 then :
16223 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16226 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16230 ac_save_CPPFLAGS=$CPPFLAGS
16231 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16232 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16233 if test "x$ac_cv_header_sane_sane_h" = xyes
16234 then :
16235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16236 printf %s "checking for sane_init in -lsane... " >&6; }
16237 if test ${ac_cv_lib_sane_sane_init+y}
16238 then :
16239 printf %s "(cached) " >&6
16240 else $as_nop
16241 ac_check_lib_save_LIBS=$LIBS
16242 LIBS="-lsane $SANE_LIBS $LIBS"
16243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16244 /* end confdefs.h. */
16246 /* Override any GCC internal prototype to avoid an error.
16247 Use char because int might match the return type of a GCC
16248 builtin and then its argument prototype would still apply. */
16249 char sane_init ();
16251 main (void)
16253 return sane_init ();
16255 return 0;
16257 _ACEOF
16258 if ac_fn_c_try_link "$LINENO"
16259 then :
16260 ac_cv_lib_sane_sane_init=yes
16261 else $as_nop
16262 ac_cv_lib_sane_sane_init=no
16264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16265 conftest$ac_exeext conftest.$ac_ext
16266 LIBS=$ac_check_lib_save_LIBS
16268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16269 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16270 if test "x$ac_cv_lib_sane_sane_init" = xyes
16271 then :
16277 CPPFLAGS=$ac_save_CPPFLAGS
16280 if test "$ac_cv_lib_sane_sane_init" != "yes"
16281 then :
16282 case "x$with_sane" in
16283 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16284 xno) ;;
16285 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16286 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16287 esac
16288 enable_sane_ds=${enable_sane_ds:-no}
16291 if test "x$with_usb" != "xno"
16292 then
16293 if ${USB_CFLAGS:+false} :
16294 then :
16295 if test ${PKG_CONFIG+y}
16296 then :
16297 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16301 if ${USB_LIBS:+false} :
16302 then :
16303 if test ${PKG_CONFIG+y}
16304 then :
16305 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16309 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16312 ac_save_CPPFLAGS=$CPPFLAGS
16313 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16314 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16315 if test "x$ac_cv_header_libusb_h" = xyes
16316 then :
16317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16318 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16319 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16320 then :
16321 printf %s "(cached) " >&6
16322 else $as_nop
16323 ac_check_lib_save_LIBS=$LIBS
16324 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16326 /* end confdefs.h. */
16328 /* Override any GCC internal prototype to avoid an error.
16329 Use char because int might match the return type of a GCC
16330 builtin and then its argument prototype would still apply. */
16331 char libusb_interrupt_event_handler ();
16333 main (void)
16335 return libusb_interrupt_event_handler ();
16337 return 0;
16339 _ACEOF
16340 if ac_fn_c_try_link "$LINENO"
16341 then :
16342 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16343 else $as_nop
16344 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16347 conftest$ac_exeext conftest.$ac_ext
16348 LIBS=$ac_check_lib_save_LIBS
16350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16351 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16352 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16353 then :
16355 else $as_nop
16356 USB_LIBS=""
16359 else $as_nop
16360 USB_LIBS=""
16363 CPPFLAGS=$ac_save_CPPFLAGS
16366 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16367 then :
16368 case "x$with_usb" in
16369 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16370 xno) ;;
16371 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16372 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16373 esac
16374 enable_wineusb_sys=${enable_wineusb_sys:-no}
16377 if test "x$with_v4l2" != "xno"
16378 then
16379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16380 printf %s "checking for -lv4l2... " >&6; }
16381 if test ${ac_cv_lib_soname_v4l2+y}
16382 then :
16383 printf %s "(cached) " >&6
16384 else $as_nop
16385 ac_check_soname_save_LIBS=$LIBS
16386 LIBS="-lv4l2 $LIBS"
16387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16390 /* Override any GCC internal prototype to avoid an error.
16391 Use char because int might match the return type of a GCC
16392 builtin and then its argument prototype would still apply. */
16393 char v4l2_open ();
16395 main (void)
16397 return v4l2_open ();
16399 return 0;
16401 _ACEOF
16402 if ac_fn_c_try_link "$LINENO"
16403 then :
16404 case "$LIBEXT" in
16405 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16406 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'` ;;
16407 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16408 if ${ac_cv_lib_soname_v4l2:+false} :
16409 then :
16410 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16411 fi ;;
16412 esac
16413 else $as_nop
16414 ac_cv_lib_soname_v4l2=
16416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16417 conftest$ac_exeext conftest.$ac_ext
16418 LIBS=$ac_check_soname_save_LIBS
16420 if ${ac_cv_lib_soname_v4l2:+false} :
16421 then :
16422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16423 printf "%s\n" "not found" >&6; }
16425 else $as_nop
16426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16427 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16429 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16434 if test "x$ac_cv_lib_soname_v4l2" = "x"
16435 then :
16436 case "x$with_v4l2" in
16437 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16438 xno) ;;
16439 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16440 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16441 esac
16445 if test "x$with_gphoto" != "xno"
16446 then
16447 if ${GPHOTO2_CFLAGS:+false} :
16448 then :
16449 if test ${PKG_CONFIG+y}
16450 then :
16451 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16454 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16455 if ${GPHOTO2_LIBS:+false} :
16456 then :
16457 if test ${PKG_CONFIG+y}
16458 then :
16459 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16462 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16463 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16466 ac_save_CPPFLAGS=$CPPFLAGS
16467 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16468 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16469 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16470 then :
16471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16472 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16473 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16474 then :
16475 printf %s "(cached) " >&6
16476 else $as_nop
16477 ac_check_lib_save_LIBS=$LIBS
16478 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16480 /* end confdefs.h. */
16482 /* Override any GCC internal prototype to avoid an error.
16483 Use char because int might match the return type of a GCC
16484 builtin and then its argument prototype would still apply. */
16485 char gp_camera_new ();
16487 main (void)
16489 return gp_camera_new ();
16491 return 0;
16493 _ACEOF
16494 if ac_fn_c_try_link "$LINENO"
16495 then :
16496 ac_cv_lib_gphoto2_gp_camera_new=yes
16497 else $as_nop
16498 ac_cv_lib_gphoto2_gp_camera_new=no
16500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16501 conftest$ac_exeext conftest.$ac_ext
16502 LIBS=$ac_check_lib_save_LIBS
16504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16505 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16506 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16507 then :
16513 CPPFLAGS=$ac_save_CPPFLAGS
16515 if ${GPHOTO2_PORT_CFLAGS:+false} :
16516 then :
16517 if test ${PKG_CONFIG+y}
16518 then :
16519 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16522 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16523 if ${GPHOTO2_PORT_LIBS:+false} :
16524 then :
16525 if test ${PKG_CONFIG+y}
16526 then :
16527 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16530 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16531 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16534 ac_save_CPPFLAGS=$CPPFLAGS
16535 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16536 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16537 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16538 then :
16539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16540 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16541 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16542 then :
16543 printf %s "(cached) " >&6
16544 else $as_nop
16545 ac_check_lib_save_LIBS=$LIBS
16546 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16548 /* end confdefs.h. */
16550 /* Override any GCC internal prototype to avoid an error.
16551 Use char because int might match the return type of a GCC
16552 builtin and then its argument prototype would still apply. */
16553 char gp_port_info_list_new ();
16555 main (void)
16557 return gp_port_info_list_new ();
16559 return 0;
16561 _ACEOF
16562 if ac_fn_c_try_link "$LINENO"
16563 then :
16564 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16565 else $as_nop
16566 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16569 conftest$ac_exeext conftest.$ac_ext
16570 LIBS=$ac_check_lib_save_LIBS
16572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16573 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16574 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16575 then :
16577 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16579 else $as_nop
16580 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16583 else $as_nop
16584 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16587 CPPFLAGS=$ac_save_CPPFLAGS
16590 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16591 then :
16592 case "x$with_gphoto" in
16593 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16594 xno) ;;
16595 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16596 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16597 esac
16598 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16600 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16601 then :
16602 case "x$with_gphoto" in
16603 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16604 xno) ;;
16605 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16606 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16607 esac
16612 if test "$ac_cv_header_resolv_h" = "yes"
16613 then
16614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16615 printf %s "checking for resolver library... " >&6; }
16616 if test ${ac_cv_have_resolv+y}
16617 then :
16618 printf %s "(cached) " >&6
16619 else $as_nop
16620 ac_save_LIBS="$LIBS"
16621 for lib in '' -lresolv
16623 LIBS="$lib $ac_save_LIBS"
16624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16625 /* end confdefs.h. */
16626 #ifdef HAVE_NETINET_IN_H
16627 #include <netinet/in.h>
16628 #endif
16629 #include <resolv.h>
16631 main (void)
16633 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16635 return 0;
16637 _ACEOF
16638 if ac_fn_c_try_link "$LINENO"
16639 then :
16640 ac_cv_have_resolv=${lib:-"none required"}
16641 else $as_nop
16642 ac_cv_have_resolv="not found"
16644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16645 conftest$ac_exeext conftest.$ac_ext
16646 test "x$ac_cv_have_resolv" = "xnot found" || break
16647 done
16648 LIBS="$ac_save_LIBS"
16650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16651 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16653 case "$ac_cv_have_resolv" in
16654 "not found") ;;
16655 "none required")
16657 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16660 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16662 RESOLV_LIBS=$ac_cv_have_resolv
16664 esac
16666 if test "x$ac_cv_have_resolv" != "xnot found"
16667 then
16668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16669 printf %s "checking for res_getservers... " >&6; }
16670 if test ${ac_cv_have_res_getservers+y}
16671 then :
16672 printf %s "(cached) " >&6
16673 else $as_nop
16674 ac_save_LIBS="$LIBS"
16675 LIBS="$RESOLV_LIBS $LIBS"
16676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16677 /* end confdefs.h. */
16678 #include <resolv.h>
16680 main (void)
16682 res_getservers(NULL, NULL, 0);
16684 return 0;
16686 _ACEOF
16687 if ac_fn_c_try_link "$LINENO"
16688 then :
16689 ac_cv_have_res_getservers=yes
16690 else $as_nop
16691 ac_cv_have_res_getservers=no
16693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16694 conftest$ac_exeext conftest.$ac_ext
16695 LIBS="$ac_save_LIBS"
16697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16698 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16699 if test "$ac_cv_have_res_getservers" = "yes"
16700 then
16702 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16708 if test "x$with_freetype" != "xno"
16709 then
16710 if ${FREETYPE_CFLAGS:+false} :
16711 then :
16712 if test ${PKG_CONFIG+y}
16713 then :
16714 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16717 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16718 if ${FREETYPE_LIBS:+false} :
16719 then :
16720 if test ${PKG_CONFIG+y}
16721 then :
16722 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16725 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16726 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16729 ac_save_CPPFLAGS=$CPPFLAGS
16730 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16731 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16732 if test "x$ac_cv_header_ft2build_h" = xyes
16733 then :
16734 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16738 if test "$ac_cv_header_ft2build_h" = "yes"
16739 then
16740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16741 printf %s "checking for -lfreetype... " >&6; }
16742 if test ${ac_cv_lib_soname_freetype+y}
16743 then :
16744 printf %s "(cached) " >&6
16745 else $as_nop
16746 ac_check_soname_save_LIBS=$LIBS
16747 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16749 /* end confdefs.h. */
16751 /* Override any GCC internal prototype to avoid an error.
16752 Use char because int might match the return type of a GCC
16753 builtin and then its argument prototype would still apply. */
16754 char FT_Init_FreeType ();
16756 main (void)
16758 return FT_Init_FreeType ();
16760 return 0;
16762 _ACEOF
16763 if ac_fn_c_try_link "$LINENO"
16764 then :
16765 case "$LIBEXT" in
16766 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16767 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'` ;;
16768 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16769 if ${ac_cv_lib_soname_freetype:+false} :
16770 then :
16771 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16772 fi ;;
16773 esac
16774 else $as_nop
16775 ac_cv_lib_soname_freetype=
16777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16778 conftest$ac_exeext conftest.$ac_ext
16779 LIBS=$ac_check_soname_save_LIBS
16781 if ${ac_cv_lib_soname_freetype:+false} :
16782 then :
16783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16784 printf "%s\n" "not found" >&6; }
16785 FREETYPE_LIBS=""
16786 else $as_nop
16787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16788 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16790 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16793 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16795 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16796 #include FT_MODULE_H
16798 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16799 then :
16801 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16807 else
16808 FREETYPE_CFLAGS=""
16809 FREETYPE_LIBS=""
16811 CPPFLAGS=$ac_save_CPPFLAGS
16814 if test "x$ac_cv_lib_soname_freetype" = x
16815 then :
16816 case "x$with_freetype" in
16817 xno) ;;
16818 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16819 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16820 esac
16821 enable_fonts=${enable_fonts:-no}
16824 ac_wine_check_funcs_save_LIBS="$LIBS"
16825 LIBS="$LIBS $PTHREAD_LIBS"
16826 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16827 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16828 then :
16829 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16833 LIBS="$ac_wine_check_funcs_save_LIBS"
16835 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16836 then
16837 if test "$ac_cv_header_gettext_po_h" = "yes"
16838 then
16839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16840 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16841 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16842 then :
16843 printf %s "(cached) " >&6
16844 else $as_nop
16845 ac_check_lib_save_LIBS=$LIBS
16846 LIBS="-lgettextpo $LIBS"
16847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16848 /* end confdefs.h. */
16850 /* Override any GCC internal prototype to avoid an error.
16851 Use char because int might match the return type of a GCC
16852 builtin and then its argument prototype would still apply. */
16853 char po_message_msgctxt ();
16855 main (void)
16857 return po_message_msgctxt ();
16859 return 0;
16861 _ACEOF
16862 if ac_fn_c_try_link "$LINENO"
16863 then :
16864 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16865 else $as_nop
16866 ac_cv_lib_gettextpo_po_message_msgctxt=no
16868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16869 conftest$ac_exeext conftest.$ac_ext
16870 LIBS=$ac_check_lib_save_LIBS
16872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16873 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16874 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16875 then :
16877 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16879 GETTEXTPO_LIBS="-lgettextpo"
16884 if test "x$GETTEXTPO_LIBS" = "x"
16885 then :
16886 case "x$with_gettextpo" in
16887 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16888 xno) ;;
16889 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16890 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16891 esac
16894 if test "$srcdir" != .
16895 then :
16896 case "x$with_gettextpo" in
16897 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16898 xno) ;;
16899 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16900 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16901 esac
16906 if test "x$with_pulse" != "xno";
16907 then
16908 if ${PULSE_CFLAGS:+false} :
16909 then :
16910 if test ${PKG_CONFIG+y}
16911 then :
16912 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16916 if ${PULSE_LIBS:+false} :
16917 then :
16918 if test ${PKG_CONFIG+y}
16919 then :
16920 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16925 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16927 ac_save_CPPFLAGS=$CPPFLAGS
16928 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16929 for ac_header in pulse/pulseaudio.h
16930 do :
16931 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16932 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16933 then :
16934 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16936 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16937 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16938 then :
16939 printf %s "(cached) " >&6
16940 else $as_nop
16941 ac_check_lib_save_LIBS=$LIBS
16942 LIBS="-lpulse $PULSE_LIBS $LIBS"
16943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16946 /* Override any GCC internal prototype to avoid an error.
16947 Use char because int might match the return type of a GCC
16948 builtin and then its argument prototype would still apply. */
16949 char pa_stream_is_corked ();
16951 main (void)
16953 return pa_stream_is_corked ();
16955 return 0;
16957 _ACEOF
16958 if ac_fn_c_try_link "$LINENO"
16959 then :
16960 ac_cv_lib_pulse_pa_stream_is_corked=yes
16961 else $as_nop
16962 ac_cv_lib_pulse_pa_stream_is_corked=no
16964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16965 conftest$ac_exeext conftest.$ac_ext
16966 LIBS=$ac_check_lib_save_LIBS
16968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16969 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16970 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16971 then :
16973 else $as_nop
16974 PULSE_LIBS=""
16977 else $as_nop
16978 PULSE_LIBS=""
16981 done
16982 CPPFLAGS=$ac_save_CPPFLAGS
16985 if test -z "$PULSE_LIBS"
16986 then :
16987 case "x$with_pulse" in
16988 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16989 xno) ;;
16990 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16991 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16992 esac
16993 enable_winepulse_drv=${enable_winepulse_drv:-no}
16996 if test "x$with_gstreamer" != "xno"
16997 then
16998 if ${GSTREAMER_CFLAGS:+false} :
16999 then :
17000 if test ${PKG_CONFIG+y}
17001 then :
17002 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17006 if ${GSTREAMER_LIBS:+false} :
17007 then :
17008 if test ${PKG_CONFIG+y}
17009 then :
17010 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17015 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17017 ac_save_CPPFLAGS=$CPPFLAGS
17018 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17019 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17020 if test "x$ac_cv_header_gst_gst_h" = xyes
17021 then :
17022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17023 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17025 /* end confdefs.h. */
17026 #include <gst/gst.h>
17028 main (void)
17030 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17032 return 0;
17034 _ACEOF
17035 if ac_fn_c_try_compile "$LINENO"
17036 then :
17037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17038 printf "%s\n" "yes" >&6; }
17039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17040 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17041 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17042 then :
17043 printf %s "(cached) " >&6
17044 else $as_nop
17045 ac_check_lib_save_LIBS=$LIBS
17046 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17048 /* end confdefs.h. */
17050 /* Override any GCC internal prototype to avoid an error.
17051 Use char because int might match the return type of a GCC
17052 builtin and then its argument prototype would still apply. */
17053 char gst_pad_new ();
17055 main (void)
17057 return gst_pad_new ();
17059 return 0;
17061 _ACEOF
17062 if ac_fn_c_try_link "$LINENO"
17063 then :
17064 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17065 else $as_nop
17066 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17069 conftest$ac_exeext conftest.$ac_ext
17070 LIBS=$ac_check_lib_save_LIBS
17072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17073 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17074 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17075 then :
17079 else $as_nop
17080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17081 printf "%s\n" "no" >&6; }
17082 ac_glib2_broken=yes
17083 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17088 CPPFLAGS=$ac_save_CPPFLAGS
17091 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17092 then :
17093 case "x$with_gstreamer" in
17094 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17095 xno) ;;
17096 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17097 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17098 esac
17099 enable_winegstreamer=${enable_winegstreamer:-no}
17102 ALSA_LIBS=""
17104 if test "x$with_alsa" != "xno"
17105 then
17106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17107 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17108 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17109 then :
17110 printf %s "(cached) " >&6
17111 else $as_nop
17112 ac_check_lib_save_LIBS=$LIBS
17113 LIBS="-lasound $LIBS"
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17117 /* Override any GCC internal prototype to avoid an error.
17118 Use char because int might match the return type of a GCC
17119 builtin and then its argument prototype would still apply. */
17120 char snd_pcm_hw_params_get_access_mask ();
17122 main (void)
17124 return snd_pcm_hw_params_get_access_mask ();
17126 return 0;
17128 _ACEOF
17129 if ac_fn_c_try_link "$LINENO"
17130 then :
17131 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17132 else $as_nop
17133 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17136 conftest$ac_exeext conftest.$ac_ext
17137 LIBS=$ac_check_lib_save_LIBS
17139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17140 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17141 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17142 then :
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17145 #include <alsa/asoundlib.h>
17147 main (void)
17149 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17151 return 0;
17153 _ACEOF
17154 if ac_fn_c_try_compile "$LINENO"
17155 then :
17156 ALSA_LIBS="-lasound"
17158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17162 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17164 if test "x$with_oss" != xno
17165 then
17166 ac_save_CPPFLAGS="$CPPFLAGS"
17167 if test -f /etc/oss.conf
17168 then
17169 . /etc/oss.conf
17171 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17172 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17173 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17174 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17175 then :
17176 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17178 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17179 then :
17181 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17183 OSS4_CFLAGS="$ac_oss_incl"
17185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17186 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17187 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17188 then :
17189 printf %s "(cached) " >&6
17190 else $as_nop
17191 ac_check_lib_save_LIBS=$LIBS
17192 LIBS="-lossaudio $LIBS"
17193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17196 /* Override any GCC internal prototype to avoid an error.
17197 Use char because int might match the return type of a GCC
17198 builtin and then its argument prototype would still apply. */
17199 char _oss_ioctl ();
17201 main (void)
17203 return _oss_ioctl ();
17205 return 0;
17207 _ACEOF
17208 if ac_fn_c_try_link "$LINENO"
17209 then :
17210 ac_cv_lib_ossaudio__oss_ioctl=yes
17211 else $as_nop
17212 ac_cv_lib_ossaudio__oss_ioctl=no
17214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17215 conftest$ac_exeext conftest.$ac_ext
17216 LIBS=$ac_check_lib_save_LIBS
17218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17219 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17220 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17221 then :
17222 OSS4_LIBS="-lossaudio"
17230 CPPFLAGS="$ac_save_CPPFLAGS"
17232 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17233 then :
17234 case "x$with_oss" in
17235 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17236 xno) ;;
17237 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17238 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17239 esac
17240 enable_wineoss_drv=${enable_wineoss_drv:-no}
17243 if test "x$with_udev" != "xno"
17244 then
17245 if ${UDEV_CFLAGS:+false} :
17246 then :
17247 if test ${PKG_CONFIG+y}
17248 then :
17249 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17253 if ${UDEV_LIBS:+false} :
17254 then :
17255 if test ${PKG_CONFIG+y}
17256 then :
17257 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17261 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17264 ac_save_CPPFLAGS=$CPPFLAGS
17265 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17266 for ac_header in libudev.h
17267 do :
17268 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17269 if test "x$ac_cv_header_libudev_h" = xyes
17270 then :
17271 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17273 printf %s "checking for udev_new in -ludev... " >&6; }
17274 if test ${ac_cv_lib_udev_udev_new+y}
17275 then :
17276 printf %s "(cached) " >&6
17277 else $as_nop
17278 ac_check_lib_save_LIBS=$LIBS
17279 LIBS="-ludev $UDEV_LIBS $LIBS"
17280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17281 /* end confdefs.h. */
17283 /* Override any GCC internal prototype to avoid an error.
17284 Use char because int might match the return type of a GCC
17285 builtin and then its argument prototype would still apply. */
17286 char udev_new ();
17288 main (void)
17290 return udev_new ();
17292 return 0;
17294 _ACEOF
17295 if ac_fn_c_try_link "$LINENO"
17296 then :
17297 ac_cv_lib_udev_udev_new=yes
17298 else $as_nop
17299 ac_cv_lib_udev_udev_new=no
17301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17302 conftest$ac_exeext conftest.$ac_ext
17303 LIBS=$ac_check_lib_save_LIBS
17305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17306 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17307 if test "x$ac_cv_lib_udev_udev_new" = xyes
17308 then :
17310 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17312 else $as_nop
17313 UDEV_LIBS=""
17316 else $as_nop
17317 UDEV_LIBS=""
17320 done
17321 CPPFLAGS=$ac_save_CPPFLAGS
17324 if test "x$UDEV_LIBS" = "x"
17325 then :
17326 case "x$with_udev" in
17327 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17328 xno) ;;
17329 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17330 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17331 esac
17335 if test "x$with_unwind" != xno
17336 then
17337 if ${UNWIND_CFLAGS:+false} :
17338 then :
17339 if test ${PKG_CONFIG+y}
17340 then :
17341 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17345 if ${UNWIND_LIBS:+false} :
17346 then :
17347 if test ${PKG_CONFIG+y}
17348 then :
17349 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17353 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17356 ac_save_CPPFLAGS=$CPPFLAGS
17357 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17359 printf %s "checking for unw_step... " >&6; }
17360 if test ${wine_cv_have_unw_step+y}
17361 then :
17362 printf %s "(cached) " >&6
17363 else $as_nop
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 #define UNW_LOCAL_ONLY
17367 #include <libunwind.h>
17369 main (void)
17371 unw_cursor_t cursor; unw_step( &cursor );
17373 return 0;
17375 _ACEOF
17376 if ac_fn_c_try_link "$LINENO"
17377 then :
17378 wine_cv_have_unw_step="yes"
17379 else $as_nop
17380 wine_cv_have_unw_step="no"
17382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17383 conftest$ac_exeext conftest.$ac_ext
17385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17386 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17387 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17388 then
17389 save_libs=$LIBS
17390 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17391 LIBS="$UNWIND_LIBS $LIBS"
17392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17393 printf %s "checking for unw_step in libunwind... " >&6; }
17394 if test ${wine_cv_have_libunwind_unw_step+y}
17395 then :
17396 printf %s "(cached) " >&6
17397 else $as_nop
17398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17399 /* end confdefs.h. */
17400 #define UNW_LOCAL_ONLY
17401 #include <libunwind.h>
17403 main (void)
17405 unw_cursor_t cursor; unw_step( &cursor );
17407 return 0;
17409 _ACEOF
17410 if ac_fn_c_try_link "$LINENO"
17411 then :
17412 wine_cv_have_libunwind_unw_step="yes"
17413 else $as_nop
17414 wine_cv_have_libunwind_unw_step="no"
17416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17417 conftest$ac_exeext conftest.$ac_ext
17419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17420 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17421 LIBS=$save_libs
17423 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17424 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17425 then
17427 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17430 CPPFLAGS=$ac_save_CPPFLAGS
17433 case $host in
17434 aarch64*|*-darwin*)
17435 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17436 then :
17437 case "x$with_unwind" in
17438 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17439 xno) ;;
17440 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17441 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17442 esac
17444 fi ;;
17445 esac
17447 if test "x$with_sdl" != "xno"
17448 then
17449 if ${SDL2_CFLAGS:+false} :
17450 then :
17451 if test ${PKG_CONFIG+y}
17452 then :
17453 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17457 if ${SDL2_LIBS:+false} :
17458 then :
17459 if test ${PKG_CONFIG+y}
17460 then :
17461 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17465 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17466 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17468 ac_save_CPPFLAGS=$CPPFLAGS
17469 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17470 for ac_header in SDL.h
17471 do :
17472 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17473 if test "x$ac_cv_header_SDL_h" = xyes
17474 then :
17475 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17477 printf %s "checking for -lSDL2... " >&6; }
17478 if test ${ac_cv_lib_soname_SDL2+y}
17479 then :
17480 printf %s "(cached) " >&6
17481 else $as_nop
17482 ac_check_soname_save_LIBS=$LIBS
17483 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17487 /* Override any GCC internal prototype to avoid an error.
17488 Use char because int might match the return type of a GCC
17489 builtin and then its argument prototype would still apply. */
17490 char SDL_Init ();
17492 main (void)
17494 return SDL_Init ();
17496 return 0;
17498 _ACEOF
17499 if ac_fn_c_try_link "$LINENO"
17500 then :
17501 case "$LIBEXT" in
17502 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17503 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'` ;;
17504 *) 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'`
17505 if ${ac_cv_lib_soname_SDL2:+false} :
17506 then :
17507 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17508 fi ;;
17509 esac
17510 else $as_nop
17511 ac_cv_lib_soname_SDL2=
17513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17514 conftest$ac_exeext conftest.$ac_ext
17515 LIBS=$ac_check_soname_save_LIBS
17517 if ${ac_cv_lib_soname_SDL2:+false} :
17518 then :
17519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17520 printf "%s\n" "not found" >&6; }
17522 else $as_nop
17523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17524 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17526 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17532 done
17533 CPPFLAGS=$ac_save_CPPFLAGS
17536 if test "x$ac_cv_lib_soname_SDL2" = "x"
17537 then :
17538 case "x$with_sdl" in
17539 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17540 xno) ;;
17541 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17542 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17543 esac
17547 if test "x$with_capi" != "xno"
17548 then
17549 if ${CAPI20_CFLAGS:+false} :
17550 then :
17551 if test ${PKG_CONFIG+y}
17552 then :
17553 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17557 if ${CAPI20_LIBS:+false} :
17558 then :
17559 if test ${PKG_CONFIG+y}
17560 then :
17561 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17566 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17567 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17568 ac_save_CPPFLAGS=$CPPFLAGS
17569 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17570 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17572 if test "x$ac_cv_header_capi20_h" = xyes
17573 then :
17574 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17577 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17579 if test "x$ac_cv_header_linux_capi_h" = xyes
17580 then :
17581 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17585 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17586 then
17587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17588 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17589 if test ${ac_cv_lib_capi20_capi20_register+y}
17590 then :
17591 printf %s "(cached) " >&6
17592 else $as_nop
17593 ac_check_lib_save_LIBS=$LIBS
17594 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17598 /* Override any GCC internal prototype to avoid an error.
17599 Use char because int might match the return type of a GCC
17600 builtin and then its argument prototype would still apply. */
17601 char capi20_register ();
17603 main (void)
17605 return capi20_register ();
17607 return 0;
17609 _ACEOF
17610 if ac_fn_c_try_link "$LINENO"
17611 then :
17612 ac_cv_lib_capi20_capi20_register=yes
17613 else $as_nop
17614 ac_cv_lib_capi20_capi20_register=no
17616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17617 conftest$ac_exeext conftest.$ac_ext
17618 LIBS=$ac_check_lib_save_LIBS
17620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17621 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17622 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17623 then :
17625 else $as_nop
17626 CAPI20_LIBS=""
17630 CPPFLAGS=$ac_save_CPPFLAGS
17633 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17634 then :
17635 case "x$with_capi" in
17636 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17637 xno) ;;
17638 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17639 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17640 esac
17641 enable_capi2032=${enable_capi2032:-no}
17644 if test "x$with_cups" != "xno"
17645 then
17646 if ${CUPS_CFLAGS:+false} :
17647 then :
17648 if test ${PKG_CONFIG+y}
17649 then :
17650 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17653 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17654 if ${CUPS_LIBS:+false} :
17655 then :
17656 if test ${PKG_CONFIG+y}
17657 then :
17658 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17661 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17662 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17663 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17665 ac_save_CPPFLAGS=$CPPFLAGS
17666 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17667 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17668 if test "x$ac_cv_header_cups_cups_h" = xyes
17669 then :
17670 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17673 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17674 if test "x$ac_cv_header_cups_ppd_h" = xyes
17675 then :
17676 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17680 if test "$ac_cv_header_cups_cups_h" = "yes"
17681 then
17682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17683 printf %s "checking for -lcups... " >&6; }
17684 if test ${ac_cv_lib_soname_cups+y}
17685 then :
17686 printf %s "(cached) " >&6
17687 else $as_nop
17688 ac_check_soname_save_LIBS=$LIBS
17689 LIBS="-lcups $CUPS_LIBS $LIBS"
17690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17691 /* end confdefs.h. */
17693 /* Override any GCC internal prototype to avoid an error.
17694 Use char because int might match the return type of a GCC
17695 builtin and then its argument prototype would still apply. */
17696 char cupsGetDefault ();
17698 main (void)
17700 return cupsGetDefault ();
17702 return 0;
17704 _ACEOF
17705 if ac_fn_c_try_link "$LINENO"
17706 then :
17707 case "$LIBEXT" in
17708 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17709 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'` ;;
17710 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17711 if ${ac_cv_lib_soname_cups:+false} :
17712 then :
17713 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17714 fi ;;
17715 esac
17716 else $as_nop
17717 ac_cv_lib_soname_cups=
17719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17720 conftest$ac_exeext conftest.$ac_ext
17721 LIBS=$ac_check_soname_save_LIBS
17723 if ${ac_cv_lib_soname_cups:+false} :
17724 then :
17725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17726 printf "%s\n" "not found" >&6; }
17727 CUPS_LIBS=""
17728 else $as_nop
17729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17730 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17732 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17736 else
17737 CUPS_CFLAGS=""
17738 CUPS_LIBS=""
17740 CPPFLAGS=$ac_save_CPPFLAGS
17743 if test "x$ac_cv_lib_soname_cups" = "x"
17744 then :
17745 case "x$with_cups" in
17746 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17747 xno) ;;
17748 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17749 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17750 esac
17754 if test "x$with_fontconfig" != "xno"
17755 then
17756 if ${FONTCONFIG_CFLAGS:+false} :
17757 then :
17758 if test ${PKG_CONFIG+y}
17759 then :
17760 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17763 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17764 if ${FONTCONFIG_LIBS:+false} :
17765 then :
17766 if test ${PKG_CONFIG+y}
17767 then :
17768 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17771 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17775 ac_save_CPPFLAGS=$CPPFLAGS
17776 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17777 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17778 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17779 then :
17780 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17784 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17785 then
17786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17787 printf %s "checking for -lfontconfig... " >&6; }
17788 if test ${ac_cv_lib_soname_fontconfig+y}
17789 then :
17790 printf %s "(cached) " >&6
17791 else $as_nop
17792 ac_check_soname_save_LIBS=$LIBS
17793 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17795 /* end confdefs.h. */
17797 /* Override any GCC internal prototype to avoid an error.
17798 Use char because int might match the return type of a GCC
17799 builtin and then its argument prototype would still apply. */
17800 char FcInit ();
17802 main (void)
17804 return FcInit ();
17806 return 0;
17808 _ACEOF
17809 if ac_fn_c_try_link "$LINENO"
17810 then :
17811 case "$LIBEXT" in
17812 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17813 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'` ;;
17814 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17815 if ${ac_cv_lib_soname_fontconfig:+false} :
17816 then :
17817 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17818 fi ;;
17819 esac
17820 else $as_nop
17821 ac_cv_lib_soname_fontconfig=
17823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17824 conftest$ac_exeext conftest.$ac_ext
17825 LIBS=$ac_check_soname_save_LIBS
17827 if ${ac_cv_lib_soname_fontconfig:+false} :
17828 then :
17829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17830 printf "%s\n" "not found" >&6; }
17831 FONTCONFIG_CFLAGS=""
17832 else $as_nop
17833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17834 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17836 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17840 else
17841 FONTCONFIG_CFLAGS=""
17843 CPPFLAGS=$ac_save_CPPFLAGS
17846 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17847 then :
17848 case "x$with_fontconfig" in
17849 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17850 xno) ;;
17851 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17852 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17853 esac
17857 if test "x$with_krb5" != "xno"
17858 then
17859 if ${KRB5_CFLAGS:+false} :
17860 then :
17861 if test ${PKG_CONFIG+y}
17862 then :
17863 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17866 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17867 if ${KRB5_LIBS:+false} :
17868 then :
17869 if test ${PKG_CONFIG+y}
17870 then :
17871 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17874 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17876 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17878 ac_save_CPPFLAGS=$CPPFLAGS
17879 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17880 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17881 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17882 then :
17883 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17887 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17888 then
17889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17890 printf %s "checking for -lkrb5... " >&6; }
17891 if test ${ac_cv_lib_soname_krb5+y}
17892 then :
17893 printf %s "(cached) " >&6
17894 else $as_nop
17895 ac_check_soname_save_LIBS=$LIBS
17896 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17898 /* end confdefs.h. */
17900 /* Override any GCC internal prototype to avoid an error.
17901 Use char because int might match the return type of a GCC
17902 builtin and then its argument prototype would still apply. */
17903 char krb5_is_config_principal ();
17905 main (void)
17907 return krb5_is_config_principal ();
17909 return 0;
17911 _ACEOF
17912 if ac_fn_c_try_link "$LINENO"
17913 then :
17914 case "$LIBEXT" in
17915 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17916 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'` ;;
17917 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17918 if ${ac_cv_lib_soname_krb5:+false} :
17919 then :
17920 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17921 fi ;;
17922 esac
17923 else $as_nop
17924 ac_cv_lib_soname_krb5=
17926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17927 conftest$ac_exeext conftest.$ac_ext
17928 LIBS=$ac_check_soname_save_LIBS
17930 if ${ac_cv_lib_soname_krb5:+false} :
17931 then :
17932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17933 printf "%s\n" "not found" >&6; }
17934 KRB5_CFLAGS=""
17935 else $as_nop
17936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17937 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17939 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17943 else
17944 KRB5_CFLAGS=""
17946 CPPFLAGS=$ac_save_CPPFLAGS
17949 if test "x$ac_cv_lib_soname_krb5" = "x"
17950 then :
17951 case "x$with_krb5" in
17952 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17953 xno) ;;
17954 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17955 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17956 esac
17959 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17961 if test "x$with_gssapi" != "xno"
17962 then
17963 if ${GSSAPI_CFLAGS:+false} :
17964 then :
17965 if test ${PKG_CONFIG+y}
17966 then :
17967 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17970 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17971 if ${GSSAPI_LIBS:+false} :
17972 then :
17973 if test ${PKG_CONFIG+y}
17974 then :
17975 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17978 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17982 ac_save_CPPFLAGS=$CPPFLAGS
17983 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17984 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17985 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17986 then :
17987 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17990 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17991 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17992 then :
17993 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17997 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17998 then
17999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18000 printf %s "checking for -lgssapi_krb5... " >&6; }
18001 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18002 then :
18003 printf %s "(cached) " >&6
18004 else $as_nop
18005 ac_check_soname_save_LIBS=$LIBS
18006 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18008 /* end confdefs.h. */
18010 /* Override any GCC internal prototype to avoid an error.
18011 Use char because int might match the return type of a GCC
18012 builtin and then its argument prototype would still apply. */
18013 char gss_init_sec_context ();
18015 main (void)
18017 return gss_init_sec_context ();
18019 return 0;
18021 _ACEOF
18022 if ac_fn_c_try_link "$LINENO"
18023 then :
18024 case "$LIBEXT" in
18025 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18026 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'` ;;
18027 *) 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'`
18028 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18029 then :
18030 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18031 fi ;;
18032 esac
18033 else $as_nop
18034 ac_cv_lib_soname_gssapi_krb5=
18036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18037 conftest$ac_exeext conftest.$ac_ext
18038 LIBS=$ac_check_soname_save_LIBS
18040 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18041 then :
18042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18043 printf "%s\n" "not found" >&6; }
18044 GSSAPI_CFLAGS=""
18045 else $as_nop
18046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18047 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18049 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18053 else
18054 GSSAPI_CFLAGS=""
18056 CPPFLAGS=$ac_save_CPPFLAGS
18059 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18060 then :
18061 case "x$with_gssapi" in
18062 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18063 xno) ;;
18064 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18065 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18066 esac
18070 if test "$ac_cv_header_AL_al_h" = "yes"
18071 then
18072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18073 printf %s "checking for -lopenal... " >&6; }
18074 if test ${ac_cv_lib_soname_openal+y}
18075 then :
18076 printf %s "(cached) " >&6
18077 else $as_nop
18078 ac_check_soname_save_LIBS=$LIBS
18079 LIBS="-lopenal $LIBS"
18080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18081 /* end confdefs.h. */
18083 /* Override any GCC internal prototype to avoid an error.
18084 Use char because int might match the return type of a GCC
18085 builtin and then its argument prototype would still apply. */
18086 char alGetSource3i ();
18088 main (void)
18090 return alGetSource3i ();
18092 return 0;
18094 _ACEOF
18095 if ac_fn_c_try_link "$LINENO"
18096 then :
18097 case "$LIBEXT" in
18098 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18099 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'` ;;
18100 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18101 if ${ac_cv_lib_soname_openal:+false} :
18102 then :
18103 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18104 fi ;;
18105 esac
18106 else $as_nop
18107 ac_cv_lib_soname_openal=
18109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18110 conftest$ac_exeext conftest.$ac_ext
18111 LIBS=$ac_check_soname_save_LIBS
18113 if ${ac_cv_lib_soname_openal:+false} :
18114 then :
18115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18116 printf "%s\n" "not found" >&6; }
18118 else $as_nop
18119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18120 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18122 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18124 OPENAL_LIBS="-lopenal"
18126 ac_cv_lib_openal=yes
18128 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18132 if test "x$ac_cv_lib_openal" != xyes
18133 then :
18134 case "x$with_openal" in
18135 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18136 xno) ;;
18137 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18138 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18139 esac
18140 enable_openal32=${enable_openal32:-no}
18143 if test "$ac_cv_header_libprocstat_h" = "yes"
18144 then
18145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18146 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18147 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18148 then :
18149 printf %s "(cached) " >&6
18150 else $as_nop
18151 ac_check_lib_save_LIBS=$LIBS
18152 LIBS="-lprocstat $LIBS"
18153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18154 /* end confdefs.h. */
18156 /* Override any GCC internal prototype to avoid an error.
18157 Use char because int might match the return type of a GCC
18158 builtin and then its argument prototype would still apply. */
18159 char procstat_open_sysctl ();
18161 main (void)
18163 return procstat_open_sysctl ();
18165 return 0;
18167 _ACEOF
18168 if ac_fn_c_try_link "$LINENO"
18169 then :
18170 ac_cv_lib_procstat_procstat_open_sysctl=yes
18171 else $as_nop
18172 ac_cv_lib_procstat_procstat_open_sysctl=no
18174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18175 conftest$ac_exeext conftest.$ac_ext
18176 LIBS=$ac_check_lib_save_LIBS
18178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18179 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18180 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18181 then :
18183 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18185 PROCSTAT_LIBS="-lprocstat"
18191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18192 printf %s "checking for -lodbc... " >&6; }
18193 if test ${ac_cv_lib_soname_odbc+y}
18194 then :
18195 printf %s "(cached) " >&6
18196 else $as_nop
18197 ac_check_soname_save_LIBS=$LIBS
18198 LIBS="-lodbc $LIBS"
18199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18200 /* end confdefs.h. */
18202 /* Override any GCC internal prototype to avoid an error.
18203 Use char because int might match the return type of a GCC
18204 builtin and then its argument prototype would still apply. */
18205 char SQLConnect ();
18207 main (void)
18209 return SQLConnect ();
18211 return 0;
18213 _ACEOF
18214 if ac_fn_c_try_link "$LINENO"
18215 then :
18216 case "$LIBEXT" in
18217 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18218 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'` ;;
18219 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18220 if ${ac_cv_lib_soname_odbc:+false} :
18221 then :
18222 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18223 fi ;;
18224 esac
18225 else $as_nop
18226 ac_cv_lib_soname_odbc=
18228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18229 conftest$ac_exeext conftest.$ac_ext
18230 LIBS=$ac_check_soname_save_LIBS
18232 if ${ac_cv_lib_soname_odbc:+false} :
18233 then :
18234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18235 printf "%s\n" "not found" >&6; }
18236 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18238 else $as_nop
18239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18240 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18242 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18247 if test "x$with_netapi" != "xno"
18248 then
18249 if ${NETAPI_CFLAGS:+false} :
18250 then :
18251 if test ${PKG_CONFIG+y}
18252 then :
18253 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18257 if ${NETAPI_LIBS:+false} :
18258 then :
18259 if test ${PKG_CONFIG+y}
18260 then :
18261 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18268 ac_save_CPPFLAGS=$CPPFLAGS
18269 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18271 printf %s "checking for -lnetapi... " >&6; }
18272 if test ${ac_cv_lib_soname_netapi+y}
18273 then :
18274 printf %s "(cached) " >&6
18275 else $as_nop
18276 ac_check_soname_save_LIBS=$LIBS
18277 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18279 /* end confdefs.h. */
18281 /* Override any GCC internal prototype to avoid an error.
18282 Use char because int might match the return type of a GCC
18283 builtin and then its argument prototype would still apply. */
18284 char libnetapi_init ();
18286 main (void)
18288 return libnetapi_init ();
18290 return 0;
18292 _ACEOF
18293 if ac_fn_c_try_link "$LINENO"
18294 then :
18295 case "$LIBEXT" in
18296 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18297 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'` ;;
18298 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18299 if ${ac_cv_lib_soname_netapi:+false} :
18300 then :
18301 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18302 fi ;;
18303 esac
18304 else $as_nop
18305 ac_cv_lib_soname_netapi=
18307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18308 conftest$ac_exeext conftest.$ac_ext
18309 LIBS=$ac_check_soname_save_LIBS
18311 if ${ac_cv_lib_soname_netapi:+false} :
18312 then :
18313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18314 printf "%s\n" "not found" >&6; }
18315 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18317 else $as_nop
18318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18319 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18321 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18325 CPPFLAGS=$ac_save_CPPFLAGS
18328 if test "x$ac_cv_lib_soname_netapi" = "x"
18329 then :
18330 case "x$with_netapi" in
18331 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18332 xno) ;;
18333 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18334 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18335 esac
18336 enable_netapi=${enable_netapi:-no}
18340 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18341 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18342 then
18343 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18346 if test "x$with_vulkan" != "xno"
18347 then
18348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18349 printf %s "checking for -lvulkan... " >&6; }
18350 if test ${ac_cv_lib_soname_vulkan+y}
18351 then :
18352 printf %s "(cached) " >&6
18353 else $as_nop
18354 ac_check_soname_save_LIBS=$LIBS
18355 LIBS="-lvulkan $LIBS"
18356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18357 /* end confdefs.h. */
18359 /* Override any GCC internal prototype to avoid an error.
18360 Use char because int might match the return type of a GCC
18361 builtin and then its argument prototype would still apply. */
18362 char vkGetInstanceProcAddr ();
18364 main (void)
18366 return vkGetInstanceProcAddr ();
18368 return 0;
18370 _ACEOF
18371 if ac_fn_c_try_link "$LINENO"
18372 then :
18373 case "$LIBEXT" in
18374 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18375 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'` ;;
18376 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18377 if ${ac_cv_lib_soname_vulkan:+false} :
18378 then :
18379 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18380 fi ;;
18381 esac
18382 else $as_nop
18383 ac_cv_lib_soname_vulkan=
18385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18386 conftest$ac_exeext conftest.$ac_ext
18387 LIBS=$ac_check_soname_save_LIBS
18389 if ${ac_cv_lib_soname_vulkan:+false} :
18390 then :
18391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18392 printf "%s\n" "not found" >&6; }
18394 else $as_nop
18395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18396 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18398 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18402 if test "x$ac_cv_lib_soname_vulkan" = "x"
18403 then
18404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18405 printf %s "checking for -lMoltenVK... " >&6; }
18406 if test ${ac_cv_lib_soname_MoltenVK+y}
18407 then :
18408 printf %s "(cached) " >&6
18409 else $as_nop
18410 ac_check_soname_save_LIBS=$LIBS
18411 LIBS="-lMoltenVK $LIBS"
18412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18413 /* end confdefs.h. */
18415 /* Override any GCC internal prototype to avoid an error.
18416 Use char because int might match the return type of a GCC
18417 builtin and then its argument prototype would still apply. */
18418 char vkGetInstanceProcAddr ();
18420 main (void)
18422 return vkGetInstanceProcAddr ();
18424 return 0;
18426 _ACEOF
18427 if ac_fn_c_try_link "$LINENO"
18428 then :
18429 case "$LIBEXT" in
18430 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18431 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'` ;;
18432 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18433 if ${ac_cv_lib_soname_MoltenVK:+false} :
18434 then :
18435 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18436 fi ;;
18437 esac
18438 else $as_nop
18439 ac_cv_lib_soname_MoltenVK=
18441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18442 conftest$ac_exeext conftest.$ac_ext
18443 LIBS=$ac_check_soname_save_LIBS
18445 if ${ac_cv_lib_soname_MoltenVK:+false} :
18446 then :
18447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18448 printf "%s\n" "not found" >&6; }
18450 else $as_nop
18451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18452 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18454 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18460 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18461 then :
18462 case "x$with_vulkan" in
18463 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18464 xno) ;;
18465 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18466 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18467 esac
18472 if test "x${GCC}" = "xyes"
18473 then
18474 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18476 saved_CFLAGS=$CFLAGS
18477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18478 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18479 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18480 then :
18481 printf %s "(cached) " >&6
18482 else $as_nop
18483 ac_wine_try_cflags_saved=$CFLAGS
18484 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18486 /* end confdefs.h. */
18487 int main(int argc, char **argv) { return 0; }
18488 _ACEOF
18489 if ac_fn_c_try_link "$LINENO"
18490 then :
18491 ac_cv_cflags__Werror_unknown_warning_option=yes
18492 else $as_nop
18493 ac_cv_cflags__Werror_unknown_warning_option=no
18495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18496 conftest$ac_exeext conftest.$ac_ext
18497 CFLAGS=$ac_wine_try_cflags_saved
18499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18500 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18501 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18502 then :
18503 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18506 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18507 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18508 then :
18509 printf %s "(cached) " >&6
18510 else $as_nop
18511 ac_wine_try_cflags_saved=$CFLAGS
18512 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18514 /* end confdefs.h. */
18515 int main(int argc, char **argv) { return 0; }
18516 _ACEOF
18517 if ac_fn_c_try_link "$LINENO"
18518 then :
18519 ac_cv_cflags__Werror_unused_command_line_argument=yes
18520 else $as_nop
18521 ac_cv_cflags__Werror_unused_command_line_argument=no
18523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18524 conftest$ac_exeext conftest.$ac_ext
18525 CFLAGS=$ac_wine_try_cflags_saved
18527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18528 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18529 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18530 then :
18531 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18534 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18535 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18536 then :
18537 printf %s "(cached) " >&6
18538 else $as_nop
18539 ac_wine_try_cflags_saved=$CFLAGS
18540 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18542 /* end confdefs.h. */
18543 int main(int argc, char **argv) { return 0; }
18544 _ACEOF
18545 if ac_fn_c_try_link "$LINENO"
18546 then :
18547 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18548 else $as_nop
18549 ac_cv_cflags__Werror_ignored_optimization_argument=no
18551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18552 conftest$ac_exeext conftest.$ac_ext
18553 CFLAGS=$ac_wine_try_cflags_saved
18555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18556 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18557 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18558 then :
18559 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18562 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18563 if test ${ac_cv_cflags__fcf_protection_none+y}
18564 then :
18565 printf %s "(cached) " >&6
18566 else $as_nop
18567 ac_wine_try_cflags_saved=$CFLAGS
18568 CFLAGS="$CFLAGS -fcf-protection=none"
18569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18570 /* end confdefs.h. */
18571 int main(int argc, char **argv) { return 0; }
18572 _ACEOF
18573 if ac_fn_c_try_link "$LINENO"
18574 then :
18575 ac_cv_cflags__fcf_protection_none=yes
18576 else $as_nop
18577 ac_cv_cflags__fcf_protection_none=no
18579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18580 conftest$ac_exeext conftest.$ac_ext
18581 CFLAGS=$ac_wine_try_cflags_saved
18583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18584 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18585 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18586 then :
18587 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18590 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18591 if test ${ac_cv_cflags__fno_stack_protector+y}
18592 then :
18593 printf %s "(cached) " >&6
18594 else $as_nop
18595 ac_wine_try_cflags_saved=$CFLAGS
18596 CFLAGS="$CFLAGS -fno-stack-protector"
18597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18598 /* end confdefs.h. */
18599 int main(int argc, char **argv) { return 0; }
18600 _ACEOF
18601 if ac_fn_c_try_link "$LINENO"
18602 then :
18603 ac_cv_cflags__fno_stack_protector=yes
18604 else $as_nop
18605 ac_cv_cflags__fno_stack_protector=no
18607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18608 conftest$ac_exeext conftest.$ac_ext
18609 CFLAGS=$ac_wine_try_cflags_saved
18611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18612 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18613 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18614 then :
18615 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18618 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18619 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18620 then :
18621 printf %s "(cached) " >&6
18622 else $as_nop
18623 ac_wine_try_cflags_saved=$CFLAGS
18624 CFLAGS="$CFLAGS -fno-strict-aliasing"
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627 int main(int argc, char **argv) { return 0; }
18628 _ACEOF
18629 if ac_fn_c_try_link "$LINENO"
18630 then :
18631 ac_cv_cflags__fno_strict_aliasing=yes
18632 else $as_nop
18633 ac_cv_cflags__fno_strict_aliasing=no
18635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18636 conftest$ac_exeext conftest.$ac_ext
18637 CFLAGS=$ac_wine_try_cflags_saved
18639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18640 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18641 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18642 then :
18643 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18646 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18647 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18648 then :
18649 printf %s "(cached) " >&6
18650 else $as_nop
18651 ac_wine_try_cflags_saved=$CFLAGS
18652 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18654 /* end confdefs.h. */
18655 int main(int argc, char **argv) { return 0; }
18656 _ACEOF
18657 if ac_fn_c_try_link "$LINENO"
18658 then :
18659 ac_cv_cflags__Wdeclaration_after_statement=yes
18660 else $as_nop
18661 ac_cv_cflags__Wdeclaration_after_statement=no
18663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18664 conftest$ac_exeext conftest.$ac_ext
18665 CFLAGS=$ac_wine_try_cflags_saved
18667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18668 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18669 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18670 then :
18671 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18674 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18675 if test ${ac_cv_cflags__Wempty_body+y}
18676 then :
18677 printf %s "(cached) " >&6
18678 else $as_nop
18679 ac_wine_try_cflags_saved=$CFLAGS
18680 CFLAGS="$CFLAGS -Wempty-body"
18681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h. */
18683 int main(int argc, char **argv) { return 0; }
18684 _ACEOF
18685 if ac_fn_c_try_link "$LINENO"
18686 then :
18687 ac_cv_cflags__Wempty_body=yes
18688 else $as_nop
18689 ac_cv_cflags__Wempty_body=no
18691 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18692 conftest$ac_exeext conftest.$ac_ext
18693 CFLAGS=$ac_wine_try_cflags_saved
18695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18696 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18697 if test "x$ac_cv_cflags__Wempty_body" = xyes
18698 then :
18699 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18702 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18703 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18704 then :
18705 printf %s "(cached) " >&6
18706 else $as_nop
18707 ac_wine_try_cflags_saved=$CFLAGS
18708 CFLAGS="$CFLAGS -Wignored-qualifiers"
18709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18710 /* end confdefs.h. */
18711 int main(int argc, char **argv) { return 0; }
18712 _ACEOF
18713 if ac_fn_c_try_link "$LINENO"
18714 then :
18715 ac_cv_cflags__Wignored_qualifiers=yes
18716 else $as_nop
18717 ac_cv_cflags__Wignored_qualifiers=no
18719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18720 conftest$ac_exeext conftest.$ac_ext
18721 CFLAGS=$ac_wine_try_cflags_saved
18723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18724 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18725 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18726 then :
18727 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18730 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18731 if test ${ac_cv_cflags__Winit_self+y}
18732 then :
18733 printf %s "(cached) " >&6
18734 else $as_nop
18735 ac_wine_try_cflags_saved=$CFLAGS
18736 CFLAGS="$CFLAGS -Winit-self"
18737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18738 /* end confdefs.h. */
18739 int main(int argc, char **argv) { return 0; }
18740 _ACEOF
18741 if ac_fn_c_try_link "$LINENO"
18742 then :
18743 ac_cv_cflags__Winit_self=yes
18744 else $as_nop
18745 ac_cv_cflags__Winit_self=no
18747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18748 conftest$ac_exeext conftest.$ac_ext
18749 CFLAGS=$ac_wine_try_cflags_saved
18751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18752 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18753 if test "x$ac_cv_cflags__Winit_self" = xyes
18754 then :
18755 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18758 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18759 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18760 then :
18761 printf %s "(cached) " >&6
18762 else $as_nop
18763 ac_wine_try_cflags_saved=$CFLAGS
18764 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18766 /* end confdefs.h. */
18767 int main(int argc, char **argv) { return 0; }
18768 _ACEOF
18769 if ac_fn_c_try_link "$LINENO"
18770 then :
18771 ac_cv_cflags__Wpacked_not_aligned=yes
18772 else $as_nop
18773 ac_cv_cflags__Wpacked_not_aligned=no
18775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18776 conftest$ac_exeext conftest.$ac_ext
18777 CFLAGS=$ac_wine_try_cflags_saved
18779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18780 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18781 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18782 then :
18783 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18786 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18787 if test ${ac_cv_cflags__Wpragma_pack+y}
18788 then :
18789 printf %s "(cached) " >&6
18790 else $as_nop
18791 ac_wine_try_cflags_saved=$CFLAGS
18792 CFLAGS="$CFLAGS -Wpragma-pack"
18793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18794 /* end confdefs.h. */
18795 int main(int argc, char **argv) { return 0; }
18796 _ACEOF
18797 if ac_fn_c_try_link "$LINENO"
18798 then :
18799 ac_cv_cflags__Wpragma_pack=yes
18800 else $as_nop
18801 ac_cv_cflags__Wpragma_pack=no
18803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18804 conftest$ac_exeext conftest.$ac_ext
18805 CFLAGS=$ac_wine_try_cflags_saved
18807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18808 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18809 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18810 then :
18811 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18814 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18815 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18816 then :
18817 printf %s "(cached) " >&6
18818 else $as_nop
18819 ac_wine_try_cflags_saved=$CFLAGS
18820 CFLAGS="$CFLAGS -Wshift-overflow=2"
18821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18822 /* end confdefs.h. */
18823 int main(int argc, char **argv) { return 0; }
18824 _ACEOF
18825 if ac_fn_c_try_link "$LINENO"
18826 then :
18827 ac_cv_cflags__Wshift_overflow_2=yes
18828 else $as_nop
18829 ac_cv_cflags__Wshift_overflow_2=no
18831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18832 conftest$ac_exeext conftest.$ac_ext
18833 CFLAGS=$ac_wine_try_cflags_saved
18835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18836 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18837 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18838 then :
18839 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18842 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18843 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18844 then :
18845 printf %s "(cached) " >&6
18846 else $as_nop
18847 ac_wine_try_cflags_saved=$CFLAGS
18848 CFLAGS="$CFLAGS -Wstrict-prototypes"
18849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18850 /* end confdefs.h. */
18851 int main(int argc, char **argv) { return 0; }
18852 _ACEOF
18853 if ac_fn_c_try_link "$LINENO"
18854 then :
18855 ac_cv_cflags__Wstrict_prototypes=yes
18856 else $as_nop
18857 ac_cv_cflags__Wstrict_prototypes=no
18859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18860 conftest$ac_exeext conftest.$ac_ext
18861 CFLAGS=$ac_wine_try_cflags_saved
18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18864 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18865 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18866 then :
18867 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18870 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18871 if test ${ac_cv_cflags__Wtype_limits+y}
18872 then :
18873 printf %s "(cached) " >&6
18874 else $as_nop
18875 ac_wine_try_cflags_saved=$CFLAGS
18876 CFLAGS="$CFLAGS -Wtype-limits"
18877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18878 /* end confdefs.h. */
18879 int main(int argc, char **argv) { return 0; }
18880 _ACEOF
18881 if ac_fn_c_try_link "$LINENO"
18882 then :
18883 ac_cv_cflags__Wtype_limits=yes
18884 else $as_nop
18885 ac_cv_cflags__Wtype_limits=no
18887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18888 conftest$ac_exeext conftest.$ac_ext
18889 CFLAGS=$ac_wine_try_cflags_saved
18891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18892 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18893 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18894 then :
18895 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18898 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18899 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18900 then :
18901 printf %s "(cached) " >&6
18902 else $as_nop
18903 ac_wine_try_cflags_saved=$CFLAGS
18904 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18906 /* end confdefs.h. */
18907 int main(int argc, char **argv) { return 0; }
18908 _ACEOF
18909 if ac_fn_c_try_link "$LINENO"
18910 then :
18911 ac_cv_cflags__Wunused_but_set_parameter=yes
18912 else $as_nop
18913 ac_cv_cflags__Wunused_but_set_parameter=no
18915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18916 conftest$ac_exeext conftest.$ac_ext
18917 CFLAGS=$ac_wine_try_cflags_saved
18919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18920 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18921 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18922 then :
18923 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18926 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18927 if test ${ac_cv_cflags__Wvla+y}
18928 then :
18929 printf %s "(cached) " >&6
18930 else $as_nop
18931 ac_wine_try_cflags_saved=$CFLAGS
18932 CFLAGS="$CFLAGS -Wvla"
18933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18934 /* end confdefs.h. */
18935 int main(int argc, char **argv) { return 0; }
18936 _ACEOF
18937 if ac_fn_c_try_link "$LINENO"
18938 then :
18939 ac_cv_cflags__Wvla=yes
18940 else $as_nop
18941 ac_cv_cflags__Wvla=no
18943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18944 conftest$ac_exeext conftest.$ac_ext
18945 CFLAGS=$ac_wine_try_cflags_saved
18947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18948 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18949 if test "x$ac_cv_cflags__Wvla" = xyes
18950 then :
18951 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18954 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18955 if test ${ac_cv_cflags__Wwrite_strings+y}
18956 then :
18957 printf %s "(cached) " >&6
18958 else $as_nop
18959 ac_wine_try_cflags_saved=$CFLAGS
18960 CFLAGS="$CFLAGS -Wwrite-strings"
18961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18962 /* end confdefs.h. */
18963 int main(int argc, char **argv) { return 0; }
18964 _ACEOF
18965 if ac_fn_c_try_link "$LINENO"
18966 then :
18967 ac_cv_cflags__Wwrite_strings=yes
18968 else $as_nop
18969 ac_cv_cflags__Wwrite_strings=no
18971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18972 conftest$ac_exeext conftest.$ac_ext
18973 CFLAGS=$ac_wine_try_cflags_saved
18975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18976 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18977 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18978 then :
18979 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18982 if test -z "$CROSSTARGET"
18983 then
18984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18985 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18986 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18987 then :
18988 printf %s "(cached) " >&6
18989 else $as_nop
18990 ac_wine_try_cflags_saved=$CFLAGS
18991 CFLAGS="$CFLAGS -fexcess-precision=standard"
18992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18993 /* end confdefs.h. */
18994 int main(int argc, char **argv) { return 0; }
18995 _ACEOF
18996 if ac_fn_c_try_link "$LINENO"
18997 then :
18998 ac_cv_cflags__fexcess_precision_standard=yes
18999 else $as_nop
19000 ac_cv_cflags__fexcess_precision_standard=no
19002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19003 conftest$ac_exeext conftest.$ac_ext
19004 CFLAGS=$ac_wine_try_cflags_saved
19006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
19007 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
19008 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
19009 then :
19010 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
19015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19016 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19017 if test ${ac_cv_cflags__Wpointer_arith+y}
19018 then :
19019 printf %s "(cached) " >&6
19020 else $as_nop
19021 ac_wine_try_cflags_saved=$CFLAGS
19022 CFLAGS="$CFLAGS -Wpointer-arith"
19023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19024 /* end confdefs.h. */
19025 int main(int argc, char **argv) { return 0; }
19026 _ACEOF
19027 if ac_fn_c_try_link "$LINENO"
19028 then :
19029 ac_cv_cflags__Wpointer_arith=yes
19030 else $as_nop
19031 ac_cv_cflags__Wpointer_arith=no
19033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19034 conftest$ac_exeext conftest.$ac_ext
19035 CFLAGS=$ac_wine_try_cflags_saved
19037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19038 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19039 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19040 then :
19041 saved_string_h_CFLAGS=$CFLAGS
19042 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19044 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19045 if test ${ac_cv_c_string_h_warnings+y}
19046 then :
19047 printf %s "(cached) " >&6
19048 else $as_nop
19049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19050 /* end confdefs.h. */
19051 #include <string.h>
19053 main (void)
19057 return 0;
19059 _ACEOF
19060 if ac_fn_c_try_compile "$LINENO"
19061 then :
19062 ac_cv_c_string_h_warnings=no
19063 else $as_nop
19064 ac_cv_c_string_h_warnings=yes
19066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19069 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19070 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19071 CFLAGS=$saved_string_h_CFLAGS
19074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19075 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19076 if test ${ac_cv_cflags__Wlogical_op+y}
19077 then :
19078 printf %s "(cached) " >&6
19079 else $as_nop
19080 ac_wine_try_cflags_saved=$CFLAGS
19081 CFLAGS="$CFLAGS -Wlogical-op"
19082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19083 /* end confdefs.h. */
19084 int main(int argc, char **argv) { return 0; }
19085 _ACEOF
19086 if ac_fn_c_try_link "$LINENO"
19087 then :
19088 ac_cv_cflags__Wlogical_op=yes
19089 else $as_nop
19090 ac_cv_cflags__Wlogical_op=no
19092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19093 conftest$ac_exeext conftest.$ac_ext
19094 CFLAGS=$ac_wine_try_cflags_saved
19096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19097 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19098 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19099 then :
19100 saved_string_h_CFLAGS=$CFLAGS
19101 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19103 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19104 if test ${ac_cv_c_logicalop_noisy+y}
19105 then :
19106 printf %s "(cached) " >&6
19107 else $as_nop
19108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h. */
19110 #include <string.h>
19111 char*f(const char *h,char n) {return strchr(h,n);}
19113 main (void)
19117 return 0;
19119 _ACEOF
19120 if ac_fn_c_try_compile "$LINENO"
19121 then :
19122 ac_cv_c_logicalop_noisy=no
19123 else $as_nop
19124 ac_cv_c_logicalop_noisy=yes
19126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19129 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19130 CFLAGS=$saved_string_h_CFLAGS
19131 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19135 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19136 if test ${wine_cv_64bit_compare_swap+y}
19137 then :
19138 printf %s "(cached) " >&6
19139 else $as_nop
19140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19142 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19143 #error no
19144 #endif
19146 main (void)
19150 return 0;
19152 _ACEOF
19153 if ac_fn_c_try_compile "$LINENO"
19154 then :
19155 wine_cv_64bit_compare_swap="none needed"
19156 else $as_nop
19157 case $host_cpu in
19158 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19159 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19160 *) wine_cv_64bit_compare_swap="unknown" ;;
19161 esac
19162 if test "x$wine_cv_64bit_compare_swap" != xunknown
19163 then
19164 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19166 /* end confdefs.h. */
19167 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19168 #error no
19169 #endif
19171 main (void)
19175 return 0;
19177 _ACEOF
19178 if ac_fn_c_try_compile "$LINENO"
19179 then :
19181 else $as_nop
19182 wine_cv_64bit_compare_swap="unknown"
19184 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19185 CFLAGS=$saved_CFLAGS
19188 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19191 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19192 case "$wine_cv_64bit_compare_swap" in
19193 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19194 "none needed") ;;
19195 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19196 esac
19198 ac_debug_format_seen=""
19199 for ac_flag in $CFLAGS; do
19200 case $ac_flag in
19201 -gdwarf*) ac_debug_format_seen=yes ;;
19202 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19203 esac
19204 done
19205 if test "x$ac_debug_format_seen" = xdefault
19206 then
19207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19208 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19209 if test ${ac_cv_cflags__gdwarf_4+y}
19210 then :
19211 printf %s "(cached) " >&6
19212 else $as_nop
19213 ac_wine_try_cflags_saved=$CFLAGS
19214 CFLAGS="$CFLAGS -gdwarf-4"
19215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19216 /* end confdefs.h. */
19217 int main(int argc, char **argv) { return 0; }
19218 _ACEOF
19219 if ac_fn_c_try_link "$LINENO"
19220 then :
19221 ac_cv_cflags__gdwarf_4=yes
19222 else $as_nop
19223 ac_cv_cflags__gdwarf_4=no
19225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19226 conftest$ac_exeext conftest.$ac_ext
19227 CFLAGS=$ac_wine_try_cflags_saved
19229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19230 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19231 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19232 then :
19233 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19237 MSVCRTFLAGS=""
19239 case $host_os in
19240 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19241 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19242 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19243 then :
19244 printf %s "(cached) " >&6
19245 else $as_nop
19246 ac_wine_try_cflags_saved=$CFLAGS
19247 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19249 /* end confdefs.h. */
19250 int main(int argc, char **argv) { return 0; }
19251 _ACEOF
19252 if ac_fn_c_try_link "$LINENO"
19253 then :
19254 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19255 else $as_nop
19256 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19259 conftest$ac_exeext conftest.$ac_ext
19260 CFLAGS=$ac_wine_try_cflags_saved
19262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19263 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19264 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19265 then :
19266 DELAYLOADFLAG="-Wl,-delayload,"
19268 fi ;;
19269 *) MSVCRTFLAGS="-D_WIN32"
19270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19271 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19272 if test ${ac_cv_cflags__fno_builtin+y}
19273 then :
19274 printf %s "(cached) " >&6
19275 else $as_nop
19276 ac_wine_try_cflags_saved=$CFLAGS
19277 CFLAGS="$CFLAGS -fno-builtin"
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__fno_builtin=yes
19285 else $as_nop
19286 ac_cv_cflags__fno_builtin=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__fno_builtin" >&5
19293 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19294 if test "x$ac_cv_cflags__fno_builtin" = xyes
19295 then :
19296 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19299 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19300 if test ${ac_cv_cflags__fshort_wchar+y}
19301 then :
19302 printf %s "(cached) " >&6
19303 else $as_nop
19304 ac_wine_try_cflags_saved=$CFLAGS
19305 CFLAGS="$CFLAGS -fshort-wchar"
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__fshort_wchar=yes
19313 else $as_nop
19314 ac_cv_cflags__fshort_wchar=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__fshort_wchar" >&5
19321 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19322 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19323 then :
19324 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19327 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19328 if test ${ac_cv_cflags__Wno_format+y}
19329 then :
19330 printf %s "(cached) " >&6
19331 else $as_nop
19332 ac_wine_try_cflags_saved=$CFLAGS
19333 CFLAGS="$CFLAGS -Wno-format"
19334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19335 /* end confdefs.h. */
19336 int main(int argc, char **argv) { return 0; }
19337 _ACEOF
19338 if ac_fn_c_try_link "$LINENO"
19339 then :
19340 ac_cv_cflags__Wno_format=yes
19341 else $as_nop
19342 ac_cv_cflags__Wno_format=no
19344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19345 conftest$ac_exeext conftest.$ac_ext
19346 CFLAGS=$ac_wine_try_cflags_saved
19348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19349 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19350 if test "x$ac_cv_cflags__Wno_format" = xyes
19351 then :
19352 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19353 fi ;;
19354 esac
19356 case $host_cpu in
19357 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19358 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19359 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19360 then :
19361 printf %s "(cached) " >&6
19362 else $as_nop
19363 ac_wine_try_cflags_saved=$CFLAGS
19364 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19366 /* end confdefs.h. */
19367 int main(int argc, char **argv) { return 0; }
19368 _ACEOF
19369 if ac_fn_c_try_link "$LINENO"
19370 then :
19371 ac_cv_cflags__fno_omit_frame_pointer=yes
19372 else $as_nop
19373 ac_cv_cflags__fno_omit_frame_pointer=no
19375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19376 conftest$ac_exeext conftest.$ac_ext
19377 CFLAGS=$ac_wine_try_cflags_saved
19379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19380 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19381 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19382 then :
19383 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19384 fi ;;
19385 *x86_64*)
19386 case $host_os in
19387 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19388 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19389 if test ${ac_cv_cflags__Wno_format+y}
19390 then :
19391 printf %s "(cached) " >&6
19392 else $as_nop
19393 ac_wine_try_cflags_saved=$CFLAGS
19394 CFLAGS="$CFLAGS -Wno-format"
19395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19396 /* end confdefs.h. */
19397 int main(int argc, char **argv) { return 0; }
19398 _ACEOF
19399 if ac_fn_c_try_link "$LINENO"
19400 then :
19401 ac_cv_cflags__Wno_format=yes
19402 else $as_nop
19403 ac_cv_cflags__Wno_format=no
19405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19406 conftest$ac_exeext conftest.$ac_ext
19407 CFLAGS=$ac_wine_try_cflags_saved
19409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19410 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19411 if test "x$ac_cv_cflags__Wno_format" = xyes
19412 then :
19413 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19414 fi ;;
19415 *) if test -z "$CROSSTARGET"
19416 then
19417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19418 printf %s "checking for working -mabi=ms... " >&6; }
19419 if test ${ac_cv_mabi_ms+y}
19420 then :
19421 printf %s "(cached) " >&6
19422 else $as_nop
19423 CFLAGS="$CFLAGS -mabi=ms"
19424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19425 /* end confdefs.h. */
19426 #include <stdarg.h>
19427 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19429 main (void)
19433 return 0;
19435 _ACEOF
19436 if ac_fn_c_try_compile "$LINENO"
19437 then :
19438 ac_cv_mabi_ms=yes
19439 else $as_nop
19440 ac_cv_mabi_ms=no
19442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19443 CFLAGS=$saved_CFLAGS
19445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19446 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19447 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
19449 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19450 esac ;;
19451 arm*)
19452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19453 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19454 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19455 then :
19456 printf %s "(cached) " >&6
19457 else $as_nop
19458 ac_wine_try_cflags_saved=$CFLAGS
19459 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19461 /* end confdefs.h. */
19462 int main(int argc, char **argv) { return 0; }
19463 _ACEOF
19464 if ac_fn_c_try_link "$LINENO"
19465 then :
19466 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19467 else $as_nop
19468 ac_cv_cflags__Wincompatible_function_pointer_types=no
19470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19471 conftest$ac_exeext conftest.$ac_ext
19472 CFLAGS=$ac_wine_try_cflags_saved
19474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19475 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19476 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19477 then :
19478 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19479 fi ;;
19480 esac
19482 CFLAGS=$saved_CFLAGS
19484 if test "x$enable_werror" = "xyes"
19485 then
19486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19487 printf %s "checking whether the compiler supports -Werror... " >&6; }
19488 if test ${ac_cv_cflags__Werror+y}
19489 then :
19490 printf %s "(cached) " >&6
19491 else $as_nop
19492 ac_wine_try_cflags_saved=$CFLAGS
19493 CFLAGS="$CFLAGS -Werror"
19494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19495 /* end confdefs.h. */
19496 int main(int argc, char **argv) { return 0; }
19497 _ACEOF
19498 if ac_fn_c_try_link "$LINENO"
19499 then :
19500 ac_cv_cflags__Werror=yes
19501 else $as_nop
19502 ac_cv_cflags__Werror=no
19504 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19505 conftest$ac_exeext conftest.$ac_ext
19506 CFLAGS=$ac_wine_try_cflags_saved
19508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19509 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19510 if test "x$ac_cv_cflags__Werror" = xyes
19511 then :
19512 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19515 if test "x$enable_build_id" = "xyes"
19516 then
19517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19518 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19519 if test ${ac_cv_cflags__Wl___build_id+y}
19520 then :
19521 printf %s "(cached) " >&6
19522 else $as_nop
19523 ac_wine_try_cflags_saved=$CFLAGS
19524 CFLAGS="$CFLAGS -Wl,--build-id"
19525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19526 /* end confdefs.h. */
19527 int main(int argc, char **argv) { return 0; }
19528 _ACEOF
19529 if ac_fn_c_try_link "$LINENO"
19530 then :
19531 ac_cv_cflags__Wl___build_id=yes
19532 else $as_nop
19533 ac_cv_cflags__Wl___build_id=no
19535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19536 conftest$ac_exeext conftest.$ac_ext
19537 CFLAGS=$ac_wine_try_cflags_saved
19539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19540 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19541 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19542 then :
19543 CFLAGS="$CFLAGS -Wl,--build-id"
19544 LDFLAGS="$LDFLAGS -Wl,--build-id"
19550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19551 printf %s "checking for the need to disable Fortify... " >&6; }
19552 if test ${ac_cv_c_fortify_enabled+y}
19553 then :
19554 printf %s "(cached) " >&6
19555 else $as_nop
19556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19558 #include <string.h>
19560 main (void)
19562 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19563 #error Fortify enabled
19564 #endif
19566 return 0;
19568 _ACEOF
19569 if ac_fn_c_try_compile "$LINENO"
19570 then :
19571 ac_cv_c_fortify_enabled=no
19572 else $as_nop
19573 ac_cv_c_fortify_enabled=yes
19575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19578 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19579 if test "$ac_cv_c_fortify_enabled" = yes
19580 then
19581 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19586 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19587 if test ${ac_cv_c_cfi_support+y}
19588 then :
19589 printf %s "(cached) " >&6
19590 else $as_nop
19591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19592 /* end confdefs.h. */
19593 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19595 main (void)
19599 return 0;
19601 _ACEOF
19602 if ac_fn_c_try_compile "$LINENO"
19603 then :
19604 ac_cv_c_cfi_support="yes"
19605 else $as_nop
19606 ac_cv_c_cfi_support="no"
19608 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19611 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19612 if test "$ac_cv_c_cfi_support" = "yes"
19613 then
19614 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19615 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19616 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19617 else
19618 if test "x$enable_win64" = "xyes"
19619 then
19620 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19625 case $host_os in
19626 linux*)
19627 case $host_cpu in
19628 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19629 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19630 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19632 esac
19634 esac
19637 ac_save_CFLAGS="$CFLAGS"
19638 CFLAGS="$CFLAGS $BUILTINFLAG"
19639 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19640 if test "x$ac_cv_func_epoll_create" = xyes
19641 then :
19642 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19645 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19646 if test "x$ac_cv_func_fstatfs" = xyes
19647 then :
19648 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19651 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19652 if test "x$ac_cv_func_futimens" = xyes
19653 then :
19654 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19657 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19658 if test "x$ac_cv_func_futimes" = xyes
19659 then :
19660 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19663 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19664 if test "x$ac_cv_func_futimesat" = xyes
19665 then :
19666 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19669 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19670 if test "x$ac_cv_func_getattrlist" = xyes
19671 then :
19672 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19675 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19676 if test "x$ac_cv_func_getauxval" = xyes
19677 then :
19678 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19681 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19682 if test "x$ac_cv_func_getifaddrs" = xyes
19683 then :
19684 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19687 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19688 if test "x$ac_cv_func_getrandom" = xyes
19689 then :
19690 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19693 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19694 if test "x$ac_cv_func_kqueue" = xyes
19695 then :
19696 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19699 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19700 if test "x$ac_cv_func_mach_continuous_time" = xyes
19701 then :
19702 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19705 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19706 if test "x$ac_cv_func_pipe2" = xyes
19707 then :
19708 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19711 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19712 if test "x$ac_cv_func_port_create" = xyes
19713 then :
19714 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19717 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19718 if test "x$ac_cv_func_posix_fadvise" = xyes
19719 then :
19720 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19723 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19724 if test "x$ac_cv_func_posix_fallocate" = xyes
19725 then :
19726 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19729 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19730 if test "x$ac_cv_func_prctl" = xyes
19731 then :
19732 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19735 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19736 if test "x$ac_cv_func_proc_pidinfo" = xyes
19737 then :
19738 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19741 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19742 if test "x$ac_cv_func_sched_yield" = xyes
19743 then :
19744 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19747 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19748 if test "x$ac_cv_func_setproctitle" = xyes
19749 then :
19750 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19753 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19754 if test "x$ac_cv_func_setprogname" = xyes
19755 then :
19756 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19759 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19760 if test "x$ac_cv_func_sigprocmask" = xyes
19761 then :
19762 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19765 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19766 if test "x$ac_cv_func_sysinfo" = xyes
19767 then :
19768 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19771 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19772 if test "x$ac_cv_func_tcdrain" = xyes
19773 then :
19774 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19777 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19778 if test "x$ac_cv_func_thr_kill2" = xyes
19779 then :
19780 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19784 CFLAGS="$ac_save_CFLAGS"
19786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19787 printf %s "checking for library containing dlopen... " >&6; }
19788 if test ${ac_cv_search_dlopen+y}
19789 then :
19790 printf %s "(cached) " >&6
19791 else $as_nop
19792 ac_func_search_save_LIBS=$LIBS
19793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19794 /* end confdefs.h. */
19796 /* Override any GCC internal prototype to avoid an error.
19797 Use char because int might match the return type of a GCC
19798 builtin and then its argument prototype would still apply. */
19799 char dlopen ();
19801 main (void)
19803 return dlopen ();
19805 return 0;
19807 _ACEOF
19808 for ac_lib in '' dl
19810 if test -z "$ac_lib"; then
19811 ac_res="none required"
19812 else
19813 ac_res=-l$ac_lib
19814 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19816 if ac_fn_c_try_link "$LINENO"
19817 then :
19818 ac_cv_search_dlopen=$ac_res
19820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19821 conftest$ac_exeext
19822 if test ${ac_cv_search_dlopen+y}
19823 then :
19824 break
19826 done
19827 if test ${ac_cv_search_dlopen+y}
19828 then :
19830 else $as_nop
19831 ac_cv_search_dlopen=no
19833 rm conftest.$ac_ext
19834 LIBS=$ac_func_search_save_LIBS
19836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19837 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19838 ac_res=$ac_cv_search_dlopen
19839 if test "$ac_res" != no
19840 then :
19841 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19845 ac_wine_check_funcs_save_LIBS="$LIBS"
19846 LIBS="$LIBS $DL_LIBS"
19847 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19848 if test "x$ac_cv_func_dlinfo" = xyes
19849 then :
19850 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19854 LIBS="$ac_wine_check_funcs_save_LIBS"
19856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19857 printf %s "checking for library containing gethostbyname... " >&6; }
19858 if test ${ac_cv_search_gethostbyname+y}
19859 then :
19860 printf %s "(cached) " >&6
19861 else $as_nop
19862 ac_func_search_save_LIBS=$LIBS
19863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19864 /* end confdefs.h. */
19866 /* Override any GCC internal prototype to avoid an error.
19867 Use char because int might match the return type of a GCC
19868 builtin and then its argument prototype would still apply. */
19869 char gethostbyname ();
19871 main (void)
19873 return gethostbyname ();
19875 return 0;
19877 _ACEOF
19878 for ac_lib in '' nsl
19880 if test -z "$ac_lib"; then
19881 ac_res="none required"
19882 else
19883 ac_res=-l$ac_lib
19884 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19886 if ac_fn_c_try_link "$LINENO"
19887 then :
19888 ac_cv_search_gethostbyname=$ac_res
19890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19891 conftest$ac_exeext
19892 if test ${ac_cv_search_gethostbyname+y}
19893 then :
19894 break
19896 done
19897 if test ${ac_cv_search_gethostbyname+y}
19898 then :
19900 else $as_nop
19901 ac_cv_search_gethostbyname=no
19903 rm conftest.$ac_ext
19904 LIBS=$ac_func_search_save_LIBS
19906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19907 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19908 ac_res=$ac_cv_search_gethostbyname
19909 if test "$ac_res" != no
19910 then :
19911 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19917 printf %s "checking for library containing connect... " >&6; }
19918 if test ${ac_cv_search_connect+y}
19919 then :
19920 printf %s "(cached) " >&6
19921 else $as_nop
19922 ac_func_search_save_LIBS=$LIBS
19923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19924 /* end confdefs.h. */
19926 /* Override any GCC internal prototype to avoid an error.
19927 Use char because int might match the return type of a GCC
19928 builtin and then its argument prototype would still apply. */
19929 char connect ();
19931 main (void)
19933 return connect ();
19935 return 0;
19937 _ACEOF
19938 for ac_lib in '' socket
19940 if test -z "$ac_lib"; then
19941 ac_res="none required"
19942 else
19943 ac_res=-l$ac_lib
19944 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19946 if ac_fn_c_try_link "$LINENO"
19947 then :
19948 ac_cv_search_connect=$ac_res
19950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19951 conftest$ac_exeext
19952 if test ${ac_cv_search_connect+y}
19953 then :
19954 break
19956 done
19957 if test ${ac_cv_search_connect+y}
19958 then :
19960 else $as_nop
19961 ac_cv_search_connect=no
19963 rm conftest.$ac_ext
19964 LIBS=$ac_func_search_save_LIBS
19966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19967 printf "%s\n" "$ac_cv_search_connect" >&6; }
19968 ac_res=$ac_cv_search_connect
19969 if test "$ac_res" != no
19970 then :
19971 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19977 printf %s "checking for library containing inet_aton... " >&6; }
19978 if test ${ac_cv_search_inet_aton+y}
19979 then :
19980 printf %s "(cached) " >&6
19981 else $as_nop
19982 ac_func_search_save_LIBS=$LIBS
19983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19984 /* end confdefs.h. */
19986 /* Override any GCC internal prototype to avoid an error.
19987 Use char because int might match the return type of a GCC
19988 builtin and then its argument prototype would still apply. */
19989 char inet_aton ();
19991 main (void)
19993 return inet_aton ();
19995 return 0;
19997 _ACEOF
19998 for ac_lib in '' resolv
20000 if test -z "$ac_lib"; then
20001 ac_res="none required"
20002 else
20003 ac_res=-l$ac_lib
20004 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20006 if ac_fn_c_try_link "$LINENO"
20007 then :
20008 ac_cv_search_inet_aton=$ac_res
20010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20011 conftest$ac_exeext
20012 if test ${ac_cv_search_inet_aton+y}
20013 then :
20014 break
20016 done
20017 if test ${ac_cv_search_inet_aton+y}
20018 then :
20020 else $as_nop
20021 ac_cv_search_inet_aton=no
20023 rm conftest.$ac_ext
20024 LIBS=$ac_func_search_save_LIBS
20026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20027 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20028 ac_res=$ac_cv_search_inet_aton
20029 if test "$ac_res" != no
20030 then :
20031 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20036 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20037 if test "x$ac_cv_func_getaddrinfo" = xyes
20038 then :
20039 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20044 case $host_os in
20045 darwin*|macosx*) ;;
20046 *) ac_save_LIBS=$LIBS
20047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20048 printf %s "checking for library containing clock_gettime... " >&6; }
20049 if test ${ac_cv_search_clock_gettime+y}
20050 then :
20051 printf %s "(cached) " >&6
20052 else $as_nop
20053 ac_func_search_save_LIBS=$LIBS
20054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20055 /* end confdefs.h. */
20057 /* Override any GCC internal prototype to avoid an error.
20058 Use char because int might match the return type of a GCC
20059 builtin and then its argument prototype would still apply. */
20060 char clock_gettime ();
20062 main (void)
20064 return clock_gettime ();
20066 return 0;
20068 _ACEOF
20069 for ac_lib in '' rt
20071 if test -z "$ac_lib"; then
20072 ac_res="none required"
20073 else
20074 ac_res=-l$ac_lib
20075 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20077 if ac_fn_c_try_link "$LINENO"
20078 then :
20079 ac_cv_search_clock_gettime=$ac_res
20081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20082 conftest$ac_exeext
20083 if test ${ac_cv_search_clock_gettime+y}
20084 then :
20085 break
20087 done
20088 if test ${ac_cv_search_clock_gettime+y}
20089 then :
20091 else $as_nop
20092 ac_cv_search_clock_gettime=no
20094 rm conftest.$ac_ext
20095 LIBS=$ac_func_search_save_LIBS
20097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20098 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20099 ac_res=$ac_cv_search_clock_gettime
20100 if test "$ac_res" != no
20101 then :
20102 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20104 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20106 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20110 LIBS=$ac_save_LIBS
20112 esac
20114 if test "x$with_ldap" != "xno"
20115 then
20116 if ${LDAP_CFLAGS:+false} :
20117 then :
20118 if test ${PKG_CONFIG+y}
20119 then :
20120 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20124 if ${LDAP_LIBS:+false} :
20125 then :
20126 if test ${PKG_CONFIG+y}
20127 then :
20128 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20132 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20135 ac_save_CPPFLAGS=$CPPFLAGS
20136 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20137 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20138 if test "x$ac_cv_header_ldap_h" = xyes
20139 then :
20140 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20143 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20144 if test "x$ac_cv_header_lber_h" = xyes
20145 then :
20146 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20150 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20151 then
20152 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20154 if test "x$ac_cv_type_LDAPSortKey" = xyes
20155 then :
20156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20157 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20158 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20159 then :
20160 printf %s "(cached) " >&6
20161 else $as_nop
20162 ac_check_lib_save_LIBS=$LIBS
20163 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20165 /* end confdefs.h. */
20167 /* Override any GCC internal prototype to avoid an error.
20168 Use char because int might match the return type of a GCC
20169 builtin and then its argument prototype would still apply. */
20170 char ldap_initialize ();
20172 main (void)
20174 return ldap_initialize ();
20176 return 0;
20178 _ACEOF
20179 if ac_fn_c_try_link "$LINENO"
20180 then :
20181 ac_cv_lib_ldap_ldap_initialize=yes
20182 else $as_nop
20183 ac_cv_lib_ldap_ldap_initialize=no
20185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20186 conftest$ac_exeext conftest.$ac_ext
20187 LIBS=$ac_check_lib_save_LIBS
20189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20190 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20191 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20192 then :
20193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20194 printf %s "checking for ber_init in -llber... " >&6; }
20195 if test ${ac_cv_lib_lber_ber_init+y}
20196 then :
20197 printf %s "(cached) " >&6
20198 else $as_nop
20199 ac_check_lib_save_LIBS=$LIBS
20200 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20202 /* end confdefs.h. */
20204 /* Override any GCC internal prototype to avoid an error.
20205 Use char because int might match the return type of a GCC
20206 builtin and then its argument prototype would still apply. */
20207 char ber_init ();
20209 main (void)
20211 return ber_init ();
20213 return 0;
20215 _ACEOF
20216 if ac_fn_c_try_link "$LINENO"
20217 then :
20218 ac_cv_lib_lber_ber_init=yes
20219 else $as_nop
20220 ac_cv_lib_lber_ber_init=no
20222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20223 conftest$ac_exeext conftest.$ac_ext
20224 LIBS=$ac_check_lib_save_LIBS
20226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20227 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20228 if test "x$ac_cv_lib_lber_ber_init" = xyes
20229 then :
20231 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20233 else $as_nop
20234 LDAP_LIBS=""
20237 else $as_nop
20238 LDAP_LIBS=""
20241 else $as_nop
20242 LDAP_LIBS=""
20245 else
20246 LDAP_LIBS=""
20248 CPPFLAGS=$ac_save_CPPFLAGS
20251 if test "x$LDAP_LIBS" = "x"
20252 then :
20253 case "x$with_ldap" in
20254 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20255 xno) ;;
20256 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20257 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20258 esac
20262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20263 printf %s "checking for sched_setaffinity... " >&6; }
20264 if test ${wine_cv_have_sched_setaffinity+y}
20265 then :
20266 printf %s "(cached) " >&6
20267 else $as_nop
20268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20269 /* end confdefs.h. */
20270 #include <sched.h>
20272 main (void)
20274 sched_setaffinity(0, 0, 0);
20276 return 0;
20278 _ACEOF
20279 if ac_fn_c_try_link "$LINENO"
20280 then :
20281 wine_cv_have_sched_setaffinity=yes
20282 else $as_nop
20283 wine_cv_have_sched_setaffinity=no
20285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20286 conftest$ac_exeext conftest.$ac_ext
20288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20289 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20290 if test "$wine_cv_have_sched_setaffinity" = "yes"
20291 then
20293 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20299 printf %s "checking for inline... " >&6; }
20300 if test ${ac_cv_c_inline+y}
20301 then :
20302 printf %s "(cached) " >&6
20303 else $as_nop
20304 ac_cv_c_inline=no
20305 for ac_kw in inline __inline__ __inline; do
20306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20307 /* end confdefs.h. */
20308 #ifndef __cplusplus
20309 typedef int foo_t;
20310 static $ac_kw foo_t static_foo (void) {return 0; }
20311 $ac_kw foo_t foo (void) {return 0; }
20312 #endif
20314 _ACEOF
20315 if ac_fn_c_try_compile "$LINENO"
20316 then :
20317 ac_cv_c_inline=$ac_kw
20319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20320 test "$ac_cv_c_inline" != no && break
20321 done
20324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20325 printf "%s\n" "$ac_cv_c_inline" >&6; }
20327 case $ac_cv_c_inline in
20328 inline | yes) ;;
20330 case $ac_cv_c_inline in
20331 no) ac_val=;;
20332 *) ac_val=$ac_cv_c_inline;;
20333 esac
20334 cat >>confdefs.h <<_ACEOF
20335 #ifndef __cplusplus
20336 #define inline $ac_val
20337 #endif
20338 _ACEOF
20340 esac
20342 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20343 #include <signal.h>
20345 if test "x$ac_cv_type_sigset_t" = xyes
20346 then :
20348 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20353 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20355 if test "x$ac_cv_type_request_sense" = xyes
20356 then :
20358 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20364 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20365 #include <sys/socket.h>
20366 #ifdef HAVE_SYS_SOCKETVAR_H
20367 #include <sys/socketvar.h>
20368 #endif
20369 #ifdef HAVE_NET_ROUTE_H
20370 #include <net/route.h>
20371 #endif
20372 #ifdef HAVE_NETINET_IN_H
20373 #include <netinet/in.h>
20374 #endif
20375 #ifdef HAVE_NETINET_IN_SYSTM_H
20376 #include <netinet/in_systm.h>
20377 #endif
20378 #ifdef HAVE_NETINET_IP_H
20379 #include <netinet/ip.h>
20380 #endif
20381 #ifdef HAVE_NETINET_IN_PCB_H
20382 #include <netinet/in_pcb.h>
20383 #endif
20385 if test "x$ac_cv_type_struct_xinpgen" = xyes
20386 then :
20388 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20395 printf %s "checking for sigaddset... " >&6; }
20396 if test ${wine_cv_have_sigaddset+y}
20397 then :
20398 printf %s "(cached) " >&6
20399 else $as_nop
20400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20401 /* end confdefs.h. */
20402 #include <signal.h>
20404 main (void)
20406 sigset_t set; sigaddset(&set,SIGTERM);
20408 return 0;
20410 _ACEOF
20411 if ac_fn_c_try_link "$LINENO"
20412 then :
20413 wine_cv_have_sigaddset=yes
20414 else $as_nop
20415 wine_cv_have_sigaddset=no
20417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20418 conftest$ac_exeext conftest.$ac_ext
20420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20421 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20422 if test "$wine_cv_have_sigaddset" = "yes"
20423 then
20425 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20431 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20432 if test ${wine_cv_linux_gethostbyname_r_6+y}
20433 then :
20434 printf %s "(cached) " >&6
20435 else $as_nop
20436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20437 /* end confdefs.h. */
20438 #include <netdb.h>
20440 main (void)
20443 char *name=0;
20444 struct hostent he;
20445 struct hostent *result;
20446 char *buf=0;
20447 int bufsize=0;
20448 int errnr;
20449 char *addr=0;
20450 int addrlen=0;
20451 int addrtype=0;
20452 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20453 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20456 return 0;
20458 _ACEOF
20459 if ac_fn_c_try_link "$LINENO"
20460 then :
20461 wine_cv_linux_gethostbyname_r_6=yes
20462 else $as_nop
20463 wine_cv_linux_gethostbyname_r_6=no
20466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20467 conftest$ac_exeext conftest.$ac_ext
20470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20471 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20472 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20473 then
20475 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20479 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20480 #include <sys/socket.h>
20481 #ifdef HAVE_SYS_UN_H
20482 # include <sys/un.h>
20483 #endif
20485 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20486 then :
20488 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20492 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20493 #include <sys/socket.h>
20494 #ifdef HAVE_SYS_UN_H
20495 # include <sys/un.h>
20496 #endif
20498 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20499 then :
20501 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20507 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20508 #ifdef HAVE_SCSI_SG_H
20509 #include <scsi/sg.h>
20510 #endif
20512 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20513 then :
20515 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20519 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>
20520 #ifdef HAVE_SCSI_SG_H
20521 #include <scsi/sg.h>
20522 #endif
20524 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20525 then :
20527 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20533 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20535 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20536 then :
20538 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20544 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20545 #ifdef HAVE_SYS_MTIO_H
20546 #include <sys/mtio.h>
20547 #endif
20549 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20550 then :
20552 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20556 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20557 #ifdef HAVE_SYS_MTIO_H
20558 #include <sys/mtio.h>
20559 #endif
20561 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20562 then :
20564 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20568 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20569 #ifdef HAVE_SYS_MTIO_H
20570 #include <sys/mtio.h>
20571 #endif
20573 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20574 then :
20576 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20582 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20583 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20584 then :
20586 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20590 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20591 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20592 then :
20594 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20598 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20599 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20600 then :
20602 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20606 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20607 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20608 then :
20610 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20614 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20615 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20616 then :
20618 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20622 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20623 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20624 then :
20626 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20630 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20631 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20632 then :
20634 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20638 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20639 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20640 then :
20642 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20646 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20647 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20648 then :
20650 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20654 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20655 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20656 then :
20658 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20662 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20663 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20664 then :
20666 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20672 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>
20673 #ifdef HAVE_NETINET_IN_H
20674 #include <netinet/in.h>
20675 #endif
20677 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20678 then :
20680 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20686 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
20687 #include <resolv.h>
20688 #endif
20690 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20691 then :
20693 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20699 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20700 #include <netinet/in.h>
20701 #endif
20703 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20704 then :
20706 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20712 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20713 #ifdef HAVE_SYS_SOCKETVAR_H
20714 #include <sys/socketvar.h>
20715 #endif
20716 #ifdef HAVE_NETINET_IN_H
20717 #include <netinet/in.h>
20718 #endif
20719 #ifdef HAVE_NETINET_IP_VAR_H
20720 #include <netinet/ip_var.h>
20721 #endif
20723 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20724 then :
20726 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20732 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
20733 #include <netinet/ip_var.h>
20734 #endif
20736 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20737 then :
20739 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20745 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20746 #ifdef HAVE_SYS_SOCKETVAR_H
20747 #include <sys/socketvar.h>
20748 #endif
20749 #ifdef HAVE_NETINET_IN_H
20750 #include <netinet/in.h>
20751 #endif
20752 #ifdef HAVE_NETINET6_IP6_VAR_H
20753 #include <netinet6/ip6_var.h>
20754 #endif
20756 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20757 then :
20759 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20765 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20766 #ifdef HAVE_SYS_SOCKETVAR_H
20767 #include <sys/socketvar.h>
20768 #endif
20769 #ifdef HAVE_NETINET_IN_H
20770 #include <netinet/in.h>
20771 #endif
20772 #ifdef HAVE_NETINET_IP_H
20773 #include <netinet/ip.h>
20774 #endif
20775 #ifdef HAVE_NETINET_IP_ICMP_H
20776 #include <netinet/ip_icmp.h>
20777 #endif
20778 #ifdef HAVE_NETINET_ICMP_VAR_H
20779 #include <netinet/icmp_var.h>
20780 #endif
20782 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20783 then :
20785 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20791 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20792 #ifdef HAVE_SYS_SOCKETVAR_H
20793 #include <sys/socketvar.h>
20794 #endif
20795 #ifdef HAVE_NETINET_IN_H
20796 #include <netinet/in.h>
20797 #endif
20798 #ifdef HAVE_NETINET_ICMP6_H
20799 #include <netinet/icmp6.h>
20800 #endif
20802 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20803 then :
20805 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20811 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20812 #ifdef HAVE_SYS_SOCKETVAR_H
20813 #include <sys/socketvar.h>
20814 #endif
20815 #ifdef HAVE_NETINET_IN_H
20816 #include <netinet/in.h>
20817 #endif
20818 #ifdef HAVE_NETINET_TCP_H
20819 #include <netinet/tcp.h>
20820 #endif
20821 #ifdef HAVE_NETINET_TCP_VAR_H
20822 #include <netinet/tcp_var.h>
20823 #endif
20825 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20826 then :
20828 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20834 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
20835 #include <netinet/tcp_var.h>
20836 #endif
20838 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20839 then :
20841 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20847 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20848 #ifdef HAVE_NETINET_IN_H
20849 #include <netinet/in.h>
20850 #endif
20851 #ifdef HAVE_NETINET_IP_VAR_H
20852 #include <netinet/ip_var.h>
20853 #endif
20854 #ifdef HAVE_NETINET_UDP_H
20855 #include <netinet/udp.h>
20856 #endif
20857 #ifdef HAVE_NETINET_UDP_VAR_H
20858 #include <netinet/udp_var.h>
20859 #endif
20861 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20862 then :
20864 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20870 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20871 #ifdef HAVE_NET_IF_H
20872 # include <net/if.h>
20873 #endif
20875 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20876 then :
20878 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20884 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20885 # include <sys/sysinfo.h>
20886 #endif
20888 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20889 then :
20891 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20895 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20896 # include <sys/sysinfo.h>
20897 #endif
20899 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20900 then :
20902 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20908 LIBS="$ac_save_LIBS"
20910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20911 printf %s "checking for __builtin_popcount... " >&6; }
20912 if test ${ac_cv_have___builtin_popcount+y}
20913 then :
20914 printf %s "(cached) " >&6
20915 else $as_nop
20916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20917 /* end confdefs.h. */
20920 main (void)
20922 return __builtin_popcount(1)
20924 return 0;
20926 _ACEOF
20927 if ac_fn_c_try_link "$LINENO"
20928 then :
20929 ac_cv_have___builtin_popcount="yes"
20930 else $as_nop
20931 ac_cv_have___builtin_popcount="no"
20933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20934 conftest$ac_exeext conftest.$ac_ext
20936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20937 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20938 if test "$ac_cv_have___builtin_popcount" = "yes"
20939 then
20941 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20946 printf %s "checking for __clear_cache... " >&6; }
20947 if test ${ac_cv_have___clear_cache+y}
20948 then :
20949 printf %s "(cached) " >&6
20950 else $as_nop
20951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20952 /* end confdefs.h. */
20955 main (void)
20957 __clear_cache((void*)0, (void*)0); return 0;
20959 return 0;
20961 _ACEOF
20962 if ac_fn_c_try_link "$LINENO"
20963 then :
20964 ac_cv_have___clear_cache="yes"
20965 else $as_nop
20966 ac_cv_have___clear_cache="no"
20968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20969 conftest$ac_exeext conftest.$ac_ext
20971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20972 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20973 if test "$ac_cv_have___clear_cache" = "yes"
20974 then
20976 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20981 case $host_cpu in
20982 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20983 printf %s "checking whether we need to define __i386__... " >&6; }
20984 if test ${ac_cv_cpp_def___i386__+y}
20985 then :
20986 printf %s "(cached) " >&6
20987 else $as_nop
20988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20989 /* end confdefs.h. */
20990 #ifndef __i386__
20992 #endif
20993 _ACEOF
20994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20995 $EGREP "yes" >/dev/null 2>&1
20996 then :
20997 ac_cv_cpp_def___i386__=yes
20998 else $as_nop
20999 ac_cv_cpp_def___i386__=no
21001 rm -rf conftest*
21004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21005 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21006 if test "x$ac_cv_cpp_def___i386__" = xyes
21007 then :
21008 CFLAGS="$CFLAGS -D__i386__"
21009 LINTFLAGS="$LINTFLAGS -D__i386__"
21010 fi ;;
21011 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21012 printf %s "checking whether we need to define __x86_64__... " >&6; }
21013 if test ${ac_cv_cpp_def___x86_64__+y}
21014 then :
21015 printf %s "(cached) " >&6
21016 else $as_nop
21017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21018 /* end confdefs.h. */
21019 #ifndef __x86_64__
21021 #endif
21022 _ACEOF
21023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21024 $EGREP "yes" >/dev/null 2>&1
21025 then :
21026 ac_cv_cpp_def___x86_64__=yes
21027 else $as_nop
21028 ac_cv_cpp_def___x86_64__=no
21030 rm -rf conftest*
21033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21034 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21035 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21036 then :
21037 CFLAGS="$CFLAGS -D__x86_64__"
21038 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21039 fi ;;
21040 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21041 printf %s "checking whether we need to define __sparc64__... " >&6; }
21042 if test ${ac_cv_cpp_def___sparc64__+y}
21043 then :
21044 printf %s "(cached) " >&6
21045 else $as_nop
21046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21047 /* end confdefs.h. */
21048 #ifndef __sparc64__
21050 #endif
21051 _ACEOF
21052 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21053 $EGREP "yes" >/dev/null 2>&1
21054 then :
21055 ac_cv_cpp_def___sparc64__=yes
21056 else $as_nop
21057 ac_cv_cpp_def___sparc64__=no
21059 rm -rf conftest*
21062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21063 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21064 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21065 then :
21066 CFLAGS="$CFLAGS -D__sparc64__"
21067 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21068 fi ;;
21069 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21070 printf %s "checking whether we need to define __sparc__... " >&6; }
21071 if test ${ac_cv_cpp_def___sparc__+y}
21072 then :
21073 printf %s "(cached) " >&6
21074 else $as_nop
21075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21076 /* end confdefs.h. */
21077 #ifndef __sparc__
21079 #endif
21080 _ACEOF
21081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21082 $EGREP "yes" >/dev/null 2>&1
21083 then :
21084 ac_cv_cpp_def___sparc__=yes
21085 else $as_nop
21086 ac_cv_cpp_def___sparc__=no
21088 rm -rf conftest*
21091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21092 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21093 if test "x$ac_cv_cpp_def___sparc__" = xyes
21094 then :
21095 CFLAGS="$CFLAGS -D__sparc__"
21096 LINTFLAGS="$LINTFLAGS -D__sparc__"
21097 fi ;;
21098 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21099 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21100 if test ${ac_cv_cpp_def___powerpc64__+y}
21101 then :
21102 printf %s "(cached) " >&6
21103 else $as_nop
21104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21105 /* end confdefs.h. */
21106 #ifndef __powerpc64__
21108 #endif
21109 _ACEOF
21110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21111 $EGREP "yes" >/dev/null 2>&1
21112 then :
21113 ac_cv_cpp_def___powerpc64__=yes
21114 else $as_nop
21115 ac_cv_cpp_def___powerpc64__=no
21117 rm -rf conftest*
21120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21121 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21122 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21123 then :
21124 CFLAGS="$CFLAGS -D__powerpc64__"
21125 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21126 fi ;;
21127 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21128 printf %s "checking whether we need to define __powerpc__... " >&6; }
21129 if test ${ac_cv_cpp_def___powerpc__+y}
21130 then :
21131 printf %s "(cached) " >&6
21132 else $as_nop
21133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21134 /* end confdefs.h. */
21135 #ifndef __powerpc__
21137 #endif
21138 _ACEOF
21139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21140 $EGREP "yes" >/dev/null 2>&1
21141 then :
21142 ac_cv_cpp_def___powerpc__=yes
21143 else $as_nop
21144 ac_cv_cpp_def___powerpc__=no
21146 rm -rf conftest*
21149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21150 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21151 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21152 then :
21153 CFLAGS="$CFLAGS -D__powerpc__"
21154 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21155 fi ;;
21156 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21157 printf %s "checking whether we need to define __aarch64__... " >&6; }
21158 if test ${ac_cv_cpp_def___aarch64__+y}
21159 then :
21160 printf %s "(cached) " >&6
21161 else $as_nop
21162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21163 /* end confdefs.h. */
21164 #ifndef __aarch64__
21166 #endif
21167 _ACEOF
21168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21169 $EGREP "yes" >/dev/null 2>&1
21170 then :
21171 ac_cv_cpp_def___aarch64__=yes
21172 else $as_nop
21173 ac_cv_cpp_def___aarch64__=no
21175 rm -rf conftest*
21178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21179 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21180 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21181 then :
21182 CFLAGS="$CFLAGS -D__aarch64__"
21183 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21184 fi ;;
21185 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21186 printf %s "checking whether we need to define __arm__... " >&6; }
21187 if test ${ac_cv_cpp_def___arm__+y}
21188 then :
21189 printf %s "(cached) " >&6
21190 else $as_nop
21191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21192 /* end confdefs.h. */
21193 #ifndef __arm__
21195 #endif
21196 _ACEOF
21197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21198 $EGREP "yes" >/dev/null 2>&1
21199 then :
21200 ac_cv_cpp_def___arm__=yes
21201 else $as_nop
21202 ac_cv_cpp_def___arm__=no
21204 rm -rf conftest*
21207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21208 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21209 if test "x$ac_cv_cpp_def___arm__" = xyes
21210 then :
21211 CFLAGS="$CFLAGS -D__arm__"
21212 LINTFLAGS="$LINTFLAGS -D__arm__"
21213 fi ;;
21214 esac
21216 case $host_vendor in
21217 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21218 printf %s "checking whether we need to define __sun__... " >&6; }
21219 if test ${ac_cv_cpp_def___sun__+y}
21220 then :
21221 printf %s "(cached) " >&6
21222 else $as_nop
21223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21224 /* end confdefs.h. */
21225 #ifndef __sun__
21227 #endif
21228 _ACEOF
21229 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21230 $EGREP "yes" >/dev/null 2>&1
21231 then :
21232 ac_cv_cpp_def___sun__=yes
21233 else $as_nop
21234 ac_cv_cpp_def___sun__=no
21236 rm -rf conftest*
21239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21240 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21241 if test "x$ac_cv_cpp_def___sun__" = xyes
21242 then :
21243 CFLAGS="$CFLAGS -D__sun__"
21244 LINTFLAGS="$LINTFLAGS -D__sun__"
21245 fi ;;
21246 esac
21252 ac_config_commands="$ac_config_commands include/stamp-h"
21254 printf %s "creating Makefile rules..." >&6
21256 makedep_flags=""
21257 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21259 wine_srcdir=
21260 test "$srcdir" = . || wine_srcdir="$srcdir/"
21262 ac_config_links="$ac_config_links wine:tools/winewrapper"
21263 wine_fn_config_symlink wine
21264 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21265 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21266 wine_fn_config_symlink wine64
21269 wine_fn_config_makefile dlls/acledit enable_acledit
21270 wine_fn_config_makefile dlls/aclui enable_aclui
21271 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21272 wine_fn_config_makefile dlls/activeds enable_activeds
21273 wine_fn_config_makefile dlls/activeds/tests enable_tests
21274 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21275 wine_fn_config_makefile dlls/adsldp enable_adsldp
21276 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21277 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21278 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21279 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21280 wine_fn_config_makefile dlls/advpack enable_advpack
21281 wine_fn_config_makefile dlls/advpack/tests enable_tests
21282 wine_fn_config_makefile dlls/amsi enable_amsi
21283 wine_fn_config_makefile dlls/amstream enable_amstream
21284 wine_fn_config_makefile dlls/amstream/tests enable_tests
21285 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21286 wine_fn_config_makefile dlls/apphelp enable_apphelp
21287 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21288 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21289 wine_fn_config_makefile dlls/atl enable_atl
21290 wine_fn_config_makefile dlls/atl/tests enable_tests
21291 wine_fn_config_makefile dlls/atl100 enable_atl100
21292 wine_fn_config_makefile dlls/atl100/tests enable_tests
21293 wine_fn_config_makefile dlls/atl110 enable_atl110
21294 wine_fn_config_makefile dlls/atl110/tests enable_tests
21295 wine_fn_config_makefile dlls/atl80 enable_atl80
21296 wine_fn_config_makefile dlls/atl80/tests enable_tests
21297 wine_fn_config_makefile dlls/atl90 enable_atl90
21298 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21299 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21300 wine_fn_config_makefile dlls/atmlib enable_atmlib
21301 wine_fn_config_makefile dlls/authz enable_authz
21302 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21303 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21304 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21305 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21306 wine_fn_config_makefile dlls/avrt enable_avrt
21307 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21308 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21309 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21310 wine_fn_config_makefile dlls/browseui enable_browseui
21311 wine_fn_config_makefile dlls/browseui/tests enable_tests
21312 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21313 wine_fn_config_makefile dlls/cabinet enable_cabinet
21314 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21315 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21316 wine_fn_config_makefile dlls/cards enable_cards
21317 wine_fn_config_makefile dlls/cdosys enable_cdosys
21318 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21319 wine_fn_config_makefile dlls/clusapi enable_clusapi
21320 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21321 wine_fn_config_makefile dlls/combase enable_combase
21322 wine_fn_config_makefile dlls/combase/tests enable_tests
21323 wine_fn_config_makefile dlls/comcat enable_comcat
21324 wine_fn_config_makefile dlls/comcat/tests enable_tests
21325 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21326 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21327 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21328 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21329 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21330 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21331 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21332 wine_fn_config_makefile dlls/compstui enable_compstui
21333 wine_fn_config_makefile dlls/compstui/tests enable_tests
21334 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21335 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21336 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21337 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21338 wine_fn_config_makefile dlls/connect enable_connect
21339 wine_fn_config_makefile dlls/credui enable_credui
21340 wine_fn_config_makefile dlls/credui/tests enable_tests
21341 wine_fn_config_makefile dlls/crtdll enable_crtdll
21342 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21343 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21344 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21345 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21346 wine_fn_config_makefile dlls/cryptext enable_cryptext
21347 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21348 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21349 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21350 wine_fn_config_makefile dlls/cryptui enable_cryptui
21351 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21352 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21353 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21354 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21355 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21356 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21357 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21358 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21359 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21360 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21361 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21362 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21363 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21364 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21365 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21366 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21367 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21368 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21369 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21370 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21371 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21372 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21373 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21374 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21375 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21376 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21377 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21378 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21379 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21380 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21381 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21382 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21383 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21384 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21385 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21386 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21387 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21388 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21389 wine_fn_config_makefile dlls/d3dim enable_d3dim
21390 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21391 wine_fn_config_makefile dlls/d3drm enable_d3drm
21392 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21393 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21394 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21395 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21396 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21397 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21398 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21399 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21400 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21401 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21402 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21403 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21404 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21405 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21406 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21407 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21408 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21409 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21410 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21411 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21412 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21413 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21414 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21415 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21416 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21417 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21418 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21419 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21420 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21421 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21422 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21423 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21424 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21425 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21426 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21427 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21428 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21429 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21430 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21431 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21432 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21433 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21434 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21435 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21436 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21437 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21438 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21439 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21440 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21441 wine_fn_config_makefile dlls/davclnt enable_davclnt
21442 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21443 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21444 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21445 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21446 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21447 wine_fn_config_makefile dlls/dcomp enable_dcomp
21448 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21449 wine_fn_config_makefile dlls/ddraw enable_ddraw
21450 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21451 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21452 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21453 wine_fn_config_makefile dlls/devenum enable_devenum
21454 wine_fn_config_makefile dlls/devenum/tests enable_tests
21455 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21456 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21457 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21458 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21459 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21460 wine_fn_config_makefile dlls/difxapi enable_difxapi
21461 wine_fn_config_makefile dlls/dinput enable_dinput
21462 wine_fn_config_makefile dlls/dinput/tests enable_tests
21463 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21464 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21465 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21466 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21467 wine_fn_config_makefile dlls/dispex enable_dispex
21468 wine_fn_config_makefile dlls/dispex/tests enable_tests
21469 wine_fn_config_makefile dlls/display.drv16 enable_win16
21470 wine_fn_config_makefile dlls/dmband enable_dmband
21471 wine_fn_config_makefile dlls/dmband/tests enable_tests
21472 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21473 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21474 wine_fn_config_makefile dlls/dmime enable_dmime
21475 wine_fn_config_makefile dlls/dmime/tests enable_tests
21476 wine_fn_config_makefile dlls/dmloader enable_dmloader
21477 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21478 wine_fn_config_makefile dlls/dmscript enable_dmscript
21479 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21480 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21481 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21482 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21483 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21484 wine_fn_config_makefile dlls/dmusic enable_dmusic
21485 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21486 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21487 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21488 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21489 wine_fn_config_makefile dlls/dplay enable_dplay
21490 wine_fn_config_makefile dlls/dplayx enable_dplayx
21491 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21492 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21493 wine_fn_config_makefile dlls/dpnet enable_dpnet
21494 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21495 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21496 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21497 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21498 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21499 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21500 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21501 wine_fn_config_makefile dlls/drmclien enable_drmclien
21502 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21503 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21504 wine_fn_config_makefile dlls/dsound enable_dsound
21505 wine_fn_config_makefile dlls/dsound/tests enable_tests
21506 wine_fn_config_makefile dlls/dsquery enable_dsquery
21507 wine_fn_config_makefile dlls/dssenh enable_dssenh
21508 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21509 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21510 wine_fn_config_makefile dlls/dswave enable_dswave
21511 wine_fn_config_makefile dlls/dswave/tests enable_tests
21512 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21513 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21514 wine_fn_config_makefile dlls/dwrite enable_dwrite
21515 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21516 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21517 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21518 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21519 wine_fn_config_makefile dlls/dxgi enable_dxgi
21520 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21521 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21522 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21523 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21524 wine_fn_config_makefile dlls/esent enable_esent
21525 wine_fn_config_makefile dlls/evr enable_evr
21526 wine_fn_config_makefile dlls/evr/tests enable_tests
21527 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21528 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21529 wine_fn_config_makefile dlls/faultrep enable_faultrep
21530 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21531 wine_fn_config_makefile dlls/feclient enable_feclient
21532 wine_fn_config_makefile dlls/fltlib enable_fltlib
21533 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21534 wine_fn_config_makefile dlls/fntcache enable_fntcache
21535 wine_fn_config_makefile dlls/fontsub enable_fontsub
21536 wine_fn_config_makefile dlls/fusion enable_fusion
21537 wine_fn_config_makefile dlls/fusion/tests enable_tests
21538 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21539 wine_fn_config_makefile dlls/gameux enable_gameux
21540 wine_fn_config_makefile dlls/gameux/tests enable_tests
21541 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21542 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21543 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21544 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21545 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21546 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21547 wine_fn_config_makefile dlls/glu32 enable_glu32
21548 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21549 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21550 wine_fn_config_makefile dlls/hal enable_hal
21551 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21552 wine_fn_config_makefile dlls/hid enable_hid
21553 wine_fn_config_makefile dlls/hid/tests enable_tests
21554 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21555 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21556 wine_fn_config_makefile dlls/hlink enable_hlink
21557 wine_fn_config_makefile dlls/hlink/tests enable_tests
21558 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21559 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21560 wine_fn_config_makefile dlls/http.sys enable_http_sys
21561 wine_fn_config_makefile dlls/httpapi enable_httpapi
21562 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21563 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21564 wine_fn_config_makefile dlls/iccvid enable_iccvid
21565 wine_fn_config_makefile dlls/icmp enable_icmp
21566 wine_fn_config_makefile dlls/ieframe enable_ieframe
21567 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21568 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21569 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21570 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21571 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21572 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21573 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21574 wine_fn_config_makefile dlls/imm32 enable_imm32
21575 wine_fn_config_makefile dlls/imm32/tests enable_tests
21576 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21577 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21578 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21579 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21580 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21581 wine_fn_config_makefile dlls/infosoft enable_infosoft
21582 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21583 wine_fn_config_makefile dlls/initpki enable_initpki
21584 wine_fn_config_makefile dlls/inkobj enable_inkobj
21585 wine_fn_config_makefile dlls/inseng enable_inseng
21586 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21587 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21588 wine_fn_config_makefile dlls/iprop enable_iprop
21589 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21590 wine_fn_config_makefile dlls/itircl enable_itircl
21591 wine_fn_config_makefile dlls/itss enable_itss
21592 wine_fn_config_makefile dlls/itss/tests enable_tests
21593 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21594 wine_fn_config_makefile dlls/jscript enable_jscript
21595 wine_fn_config_makefile dlls/jscript/tests enable_tests
21596 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21597 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21598 wine_fn_config_makefile dlls/kerberos enable_kerberos
21599 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21600 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21601 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21602 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21603 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21604 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21605 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21606 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21607 wine_fn_config_makefile dlls/ksuser enable_ksuser
21608 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21609 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21610 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21611 wine_fn_config_makefile dlls/loadperf enable_loadperf
21612 wine_fn_config_makefile dlls/localspl enable_localspl
21613 wine_fn_config_makefile dlls/localspl/tests enable_tests
21614 wine_fn_config_makefile dlls/localui enable_localui
21615 wine_fn_config_makefile dlls/localui/tests enable_tests
21616 wine_fn_config_makefile dlls/lz32 enable_lz32
21617 wine_fn_config_makefile dlls/lz32/tests enable_tests
21618 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21619 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21620 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21621 wine_fn_config_makefile dlls/mapistub enable_mapistub
21622 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21623 wine_fn_config_makefile dlls/mcicda enable_mcicda
21624 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21625 wine_fn_config_makefile dlls/mciseq enable_mciseq
21626 wine_fn_config_makefile dlls/mciwave enable_mciwave
21627 wine_fn_config_makefile dlls/mf enable_mf
21628 wine_fn_config_makefile dlls/mf/tests enable_tests
21629 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21630 wine_fn_config_makefile dlls/mferror enable_mferror
21631 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21632 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21633 wine_fn_config_makefile dlls/mfplat enable_mfplat
21634 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21635 wine_fn_config_makefile dlls/mfplay enable_mfplay
21636 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21637 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21638 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21639 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21640 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21641 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21642 wine_fn_config_makefile dlls/midimap enable_midimap
21643 wine_fn_config_makefile dlls/mlang enable_mlang
21644 wine_fn_config_makefile dlls/mlang/tests enable_tests
21645 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21646 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21647 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21648 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21649 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21650 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21651 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21652 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21653 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21654 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21655 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21656 wine_fn_config_makefile dlls/mpr enable_mpr
21657 wine_fn_config_makefile dlls/mpr/tests enable_tests
21658 wine_fn_config_makefile dlls/mprapi enable_mprapi
21659 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21660 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21661 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21662 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21663 wine_fn_config_makefile dlls/msado15 enable_msado15
21664 wine_fn_config_makefile dlls/msado15/tests enable_tests
21665 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21666 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21667 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21668 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21669 wine_fn_config_makefile dlls/mscms enable_mscms
21670 wine_fn_config_makefile dlls/mscms/tests enable_tests
21671 wine_fn_config_makefile dlls/mscoree enable_mscoree
21672 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21673 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21674 wine_fn_config_makefile dlls/msctf enable_msctf
21675 wine_fn_config_makefile dlls/msctf/tests enable_tests
21676 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21677 wine_fn_config_makefile dlls/msctfp enable_msctfp
21678 wine_fn_config_makefile dlls/msdaps enable_msdaps
21679 wine_fn_config_makefile dlls/msdasql enable_msdasql
21680 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21681 wine_fn_config_makefile dlls/msdelta enable_msdelta
21682 wine_fn_config_makefile dlls/msdmo enable_msdmo
21683 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21684 wine_fn_config_makefile dlls/msdrm enable_msdrm
21685 wine_fn_config_makefile dlls/msftedit enable_msftedit
21686 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21687 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21688 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21689 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21690 wine_fn_config_makefile dlls/mshtml enable_mshtml
21691 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21692 wine_fn_config_makefile dlls/msi enable_msi
21693 wine_fn_config_makefile dlls/msi/tests enable_tests
21694 wine_fn_config_makefile dlls/msident enable_msident
21695 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21696 wine_fn_config_makefile dlls/msimsg enable_msimsg
21697 wine_fn_config_makefile dlls/msimtf enable_msimtf
21698 wine_fn_config_makefile dlls/msisip enable_msisip
21699 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21700 wine_fn_config_makefile dlls/msls31 enable_msls31
21701 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21702 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21703 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21704 wine_fn_config_makefile dlls/msports enable_msports
21705 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21706 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21707 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21708 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21709 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21710 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21711 wine_fn_config_makefile dlls/mstask enable_mstask
21712 wine_fn_config_makefile dlls/mstask/tests enable_tests
21713 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21714 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21715 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21716 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21717 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21718 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21719 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21720 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21721 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21722 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21723 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21724 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21725 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21726 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21727 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21728 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21729 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21730 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21731 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21732 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21733 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21734 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21735 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21736 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21737 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21738 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21739 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21740 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21741 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21742 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21743 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21744 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21745 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21746 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21747 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21748 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21749 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21750 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21751 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21752 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21753 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21754 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21755 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21756 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21757 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21758 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21759 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21760 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21761 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21762 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21763 wine_fn_config_makefile dlls/mswsock enable_mswsock
21764 wine_fn_config_makefile dlls/msxml enable_msxml
21765 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21766 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21767 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21768 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21769 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21770 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21771 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21772 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21773 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21774 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21775 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21776 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21777 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21778 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21779 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21780 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21781 wine_fn_config_makefile dlls/netprofm enable_netprofm
21782 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21783 wine_fn_config_makefile dlls/netutils enable_netutils
21784 wine_fn_config_makefile dlls/newdev enable_newdev
21785 wine_fn_config_makefile dlls/ninput enable_ninput
21786 wine_fn_config_makefile dlls/ninput/tests enable_tests
21787 wine_fn_config_makefile dlls/normaliz enable_normaliz
21788 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21789 wine_fn_config_makefile dlls/npptools enable_npptools
21790 wine_fn_config_makefile dlls/nsi enable_nsi
21791 wine_fn_config_makefile dlls/nsi/tests enable_tests
21792 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21793 wine_fn_config_makefile dlls/ntdll enable_ntdll
21794 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21795 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21796 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21797 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21798 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21799 wine_fn_config_makefile dlls/ntprint enable_ntprint
21800 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21801 wine_fn_config_makefile dlls/objsel enable_objsel
21802 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21803 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21804 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21805 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21806 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21807 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21808 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21809 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21810 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21811 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21812 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21813 wine_fn_config_makefile dlls/ole32 enable_ole32
21814 wine_fn_config_makefile dlls/ole32/tests enable_tests
21815 wine_fn_config_makefile dlls/oleacc enable_oleacc
21816 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21817 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21818 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21819 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21820 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21821 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21822 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21823 wine_fn_config_makefile dlls/oledlg enable_oledlg
21824 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21825 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21826 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21827 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21828 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21829 wine_fn_config_makefile dlls/opcservices enable_opcservices
21830 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21831 wine_fn_config_makefile dlls/openal32 enable_openal32
21832 wine_fn_config_makefile dlls/opencl enable_opencl
21833 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21834 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21835 wine_fn_config_makefile dlls/packager enable_packager
21836 wine_fn_config_makefile dlls/packager/tests enable_tests
21837 wine_fn_config_makefile dlls/pdh enable_pdh
21838 wine_fn_config_makefile dlls/pdh/tests enable_tests
21839 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21840 wine_fn_config_makefile dlls/pidgen enable_pidgen
21841 wine_fn_config_makefile dlls/powrprof enable_powrprof
21842 wine_fn_config_makefile dlls/printui enable_printui
21843 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21844 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21845 wine_fn_config_makefile dlls/propsys enable_propsys
21846 wine_fn_config_makefile dlls/propsys/tests enable_tests
21847 wine_fn_config_makefile dlls/psapi enable_psapi
21848 wine_fn_config_makefile dlls/psapi/tests enable_tests
21849 wine_fn_config_makefile dlls/pstorec enable_pstorec
21850 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21851 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21852 wine_fn_config_makefile dlls/qasf enable_qasf
21853 wine_fn_config_makefile dlls/qasf/tests enable_tests
21854 wine_fn_config_makefile dlls/qcap enable_qcap
21855 wine_fn_config_makefile dlls/qcap/tests enable_tests
21856 wine_fn_config_makefile dlls/qdvd enable_qdvd
21857 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21858 wine_fn_config_makefile dlls/qedit enable_qedit
21859 wine_fn_config_makefile dlls/qedit/tests enable_tests
21860 wine_fn_config_makefile dlls/qmgr enable_qmgr
21861 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21862 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21863 wine_fn_config_makefile dlls/quartz enable_quartz
21864 wine_fn_config_makefile dlls/quartz/tests enable_tests
21865 wine_fn_config_makefile dlls/query enable_query
21866 wine_fn_config_makefile dlls/qwave enable_qwave
21867 wine_fn_config_makefile dlls/qwave/tests enable_tests
21868 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21869 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21870 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21871 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21872 wine_fn_config_makefile dlls/regapi enable_regapi
21873 wine_fn_config_makefile dlls/resutils enable_resutils
21874 wine_fn_config_makefile dlls/riched20 enable_riched20
21875 wine_fn_config_makefile dlls/riched20/tests enable_tests
21876 wine_fn_config_makefile dlls/riched32 enable_riched32
21877 wine_fn_config_makefile dlls/riched32/tests enable_tests
21878 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21879 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21880 wine_fn_config_makefile dlls/rsabase enable_rsabase
21881 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21882 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21883 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21884 wine_fn_config_makefile dlls/rtutils enable_rtutils
21885 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21886 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21887 wine_fn_config_makefile dlls/samlib enable_samlib
21888 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21889 wine_fn_config_makefile dlls/sapi enable_sapi
21890 wine_fn_config_makefile dlls/sapi/tests enable_tests
21891 wine_fn_config_makefile dlls/sas enable_sas
21892 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21893 wine_fn_config_makefile dlls/sccbase enable_sccbase
21894 wine_fn_config_makefile dlls/schannel enable_schannel
21895 wine_fn_config_makefile dlls/schannel/tests enable_tests
21896 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21897 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21898 wine_fn_config_makefile dlls/scrobj enable_scrobj
21899 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21900 wine_fn_config_makefile dlls/scrrun enable_scrrun
21901 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21902 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21903 wine_fn_config_makefile dlls/sechost enable_sechost
21904 wine_fn_config_makefile dlls/secur32 enable_secur32
21905 wine_fn_config_makefile dlls/secur32/tests enable_tests
21906 wine_fn_config_makefile dlls/security enable_security
21907 wine_fn_config_makefile dlls/sensapi enable_sensapi
21908 wine_fn_config_makefile dlls/serialui enable_serialui
21909 wine_fn_config_makefile dlls/serialui/tests enable_tests
21910 wine_fn_config_makefile dlls/setupapi enable_setupapi
21911 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21912 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21913 wine_fn_config_makefile dlls/sfc enable_sfc
21914 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21915 wine_fn_config_makefile dlls/shcore enable_shcore
21916 wine_fn_config_makefile dlls/shcore/tests enable_tests
21917 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21918 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21919 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21920 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21921 wine_fn_config_makefile dlls/shell32 enable_shell32
21922 wine_fn_config_makefile dlls/shell32/tests enable_tests
21923 wine_fn_config_makefile dlls/shfolder enable_shfolder
21924 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21925 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21926 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21927 wine_fn_config_makefile dlls/slc enable_slc
21928 wine_fn_config_makefile dlls/slc/tests enable_tests
21929 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21930 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21931 wine_fn_config_makefile dlls/softpub enable_softpub
21932 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21933 wine_fn_config_makefile dlls/spoolss enable_spoolss
21934 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21935 wine_fn_config_makefile dlls/sppc enable_sppc
21936 wine_fn_config_makefile dlls/srclient enable_srclient
21937 wine_fn_config_makefile dlls/srvcli enable_srvcli
21938 wine_fn_config_makefile dlls/sspicli enable_sspicli
21939 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21940 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21941 wine_fn_config_makefile dlls/sti enable_sti
21942 wine_fn_config_makefile dlls/sti/tests enable_tests
21943 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21944 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21945 wine_fn_config_makefile dlls/strmdll enable_strmdll
21946 wine_fn_config_makefile dlls/svrapi enable_svrapi
21947 wine_fn_config_makefile dlls/sxs enable_sxs
21948 wine_fn_config_makefile dlls/sxs/tests enable_tests
21949 wine_fn_config_makefile dlls/system.drv16 enable_win16
21950 wine_fn_config_makefile dlls/t2embed enable_t2embed
21951 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21952 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21953 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21954 wine_fn_config_makefile dlls/taskschd enable_taskschd
21955 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21956 wine_fn_config_makefile dlls/tbs enable_tbs
21957 wine_fn_config_makefile dlls/tdh enable_tdh
21958 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21959 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21960 wine_fn_config_makefile dlls/traffic enable_traffic
21961 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21962 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21963 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21964 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21965 wine_fn_config_makefile dlls/tzres enable_tzres
21966 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21967 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21968 wine_fn_config_makefile dlls/uianimation enable_uianimation
21969 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21970 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21971 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21972 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21973 wine_fn_config_makefile dlls/unicows enable_unicows
21974 wine_fn_config_makefile dlls/updspapi enable_updspapi
21975 wine_fn_config_makefile dlls/url enable_url
21976 wine_fn_config_makefile dlls/urlmon enable_urlmon
21977 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21978 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21979 wine_fn_config_makefile dlls/user.exe16 enable_win16
21980 wine_fn_config_makefile dlls/user32 enable_user32
21981 wine_fn_config_makefile dlls/user32/tests enable_tests
21982 wine_fn_config_makefile dlls/userenv enable_userenv
21983 wine_fn_config_makefile dlls/userenv/tests enable_tests
21984 wine_fn_config_makefile dlls/usp10 enable_usp10
21985 wine_fn_config_makefile dlls/usp10/tests enable_tests
21986 wine_fn_config_makefile dlls/utildll enable_utildll
21987 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21988 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21989 wine_fn_config_makefile dlls/vbscript enable_vbscript
21990 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21991 wine_fn_config_makefile dlls/vcomp enable_vcomp
21992 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21993 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21994 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21995 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21996 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21997 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21998 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21999 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22000 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22001 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22002 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22003 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22004 wine_fn_config_makefile dlls/version enable_version
22005 wine_fn_config_makefile dlls/version/tests enable_tests
22006 wine_fn_config_makefile dlls/vga enable_vga
22007 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22008 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22009 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22010 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22011 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22012 wine_fn_config_makefile dlls/vssapi enable_vssapi
22013 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22014 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22015 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22016 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22017 wine_fn_config_makefile dlls/w32skrnl enable_win16
22018 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22019 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22020 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22021 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22022 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22023 wine_fn_config_makefile dlls/wdscore enable_wdscore
22024 wine_fn_config_makefile dlls/webservices enable_webservices
22025 wine_fn_config_makefile dlls/webservices/tests enable_tests
22026 wine_fn_config_makefile dlls/websocket enable_websocket
22027 wine_fn_config_makefile dlls/wer enable_wer
22028 wine_fn_config_makefile dlls/wer/tests enable_tests
22029 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22030 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22031 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22032 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22033 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22034 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22035 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22036 wine_fn_config_makefile dlls/win32u enable_win32u
22037 wine_fn_config_makefile dlls/win32u/tests enable_tests
22038 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22039 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22040 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22041 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22042 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22043 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22044 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22045 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22046 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22047 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22048 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22049 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22050 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22051 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22052 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22053 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22054 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22055 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22056 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22057 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22058 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22059 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22060 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22061 wine_fn_config_makefile dlls/wined3d enable_wined3d
22062 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22063 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22064 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22065 wine_fn_config_makefile dlls/winemapi enable_winemapi
22066 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22067 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22068 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22069 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22070 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22071 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22072 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22073 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22074 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22075 wine_fn_config_makefile dlls/wing32 enable_wing32
22076 wine_fn_config_makefile dlls/winhttp enable_winhttp
22077 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22078 wine_fn_config_makefile dlls/wininet enable_wininet
22079 wine_fn_config_makefile dlls/wininet/tests enable_tests
22080 wine_fn_config_makefile dlls/winmm enable_winmm
22081 wine_fn_config_makefile dlls/winmm/tests enable_tests
22082 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22083 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22084 wine_fn_config_makefile dlls/winscard enable_winscard
22085 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22086 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22087 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22088 wine_fn_config_makefile dlls/winsta enable_winsta
22089 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22090 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22091 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22092 wine_fn_config_makefile dlls/wintrust enable_wintrust
22093 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22094 wine_fn_config_makefile dlls/wintypes enable_wintypes
22095 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22096 wine_fn_config_makefile dlls/winusb enable_winusb
22097 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22098 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22099 wine_fn_config_makefile dlls/wlanui enable_wlanui
22100 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22101 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22102 wine_fn_config_makefile dlls/wmasf enable_wmasf
22103 wine_fn_config_makefile dlls/wmi enable_wmi
22104 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22105 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22106 wine_fn_config_makefile dlls/wmp enable_wmp
22107 wine_fn_config_makefile dlls/wmp/tests enable_tests
22108 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22109 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22110 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22111 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22112 wine_fn_config_makefile dlls/wow32 enable_win16
22113 wine_fn_config_makefile dlls/wow64 enable_wow64
22114 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22115 wine_fn_config_makefile dlls/wow64win enable_wow64win
22116 wine_fn_config_makefile dlls/wpc enable_wpc
22117 wine_fn_config_makefile dlls/wpc/tests enable_tests
22118 wine_fn_config_makefile dlls/wpcap enable_wpcap
22119 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22120 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22121 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22122 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22123 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22124 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22125 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22126 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22127 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22128 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22129 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22130 wine_fn_config_makefile dlls/wuapi enable_wuapi
22131 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22132 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22133 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22134 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22135 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22136 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22137 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22138 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22139 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22140 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22141 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22142 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22143 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22144 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22145 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22146 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22147 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22148 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22149 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22150 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22151 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22152 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22153 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22154 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22155 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22156 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22157 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22158 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22159 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22160 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22161 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22162 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22163 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22164 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22165 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22166 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22167 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22168 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22169 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22170 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22171 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22172 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22173 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22174 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22175 wine_fn_config_makefile dlls/xmllite enable_xmllite
22176 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22177 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22178 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22179 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22180 wine_fn_config_makefile fonts enable_fonts
22181 wine_fn_config_makefile include enable_include
22182 wine_fn_config_makefile libs/adsiid enable_adsiid
22183 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22184 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22185 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22186 wine_fn_config_makefile libs/dxguid enable_dxguid
22187 wine_fn_config_makefile libs/faudio enable_faudio
22188 wine_fn_config_makefile libs/gsm enable_gsm
22189 wine_fn_config_makefile libs/jpeg enable_jpeg
22190 wine_fn_config_makefile libs/jxr enable_jxr
22191 wine_fn_config_makefile libs/lcms2 enable_lcms2
22192 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22193 wine_fn_config_makefile libs/mpg123 enable_mpg123
22194 wine_fn_config_makefile libs/png enable_png
22195 wine_fn_config_makefile libs/strmbase enable_strmbase
22196 wine_fn_config_makefile libs/strmiids enable_strmiids
22197 wine_fn_config_makefile libs/tiff enable_tiff
22198 wine_fn_config_makefile libs/uuid enable_uuid
22199 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22200 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22201 wine_fn_config_makefile libs/wine enable_wine
22202 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22203 wine_fn_config_makefile libs/xml2 enable_xml2
22204 wine_fn_config_makefile libs/xslt enable_xslt
22205 wine_fn_config_makefile libs/zlib enable_zlib
22206 wine_fn_config_makefile loader enable_loader
22207 wine_fn_config_makefile nls enable_nls
22208 wine_fn_config_makefile po enable_po
22209 wine_fn_config_makefile programs/arp enable_arp
22210 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22211 wine_fn_config_makefile programs/attrib enable_attrib
22212 wine_fn_config_makefile programs/cabarc enable_cabarc
22213 wine_fn_config_makefile programs/cacls enable_cacls
22214 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22215 wine_fn_config_makefile programs/clock enable_clock
22216 wine_fn_config_makefile programs/cmd enable_cmd
22217 wine_fn_config_makefile programs/cmd/tests enable_tests
22218 wine_fn_config_makefile programs/conhost enable_conhost
22219 wine_fn_config_makefile programs/conhost/tests enable_tests
22220 wine_fn_config_makefile programs/control enable_control
22221 wine_fn_config_makefile programs/cscript enable_cscript
22222 wine_fn_config_makefile programs/dism enable_dism
22223 wine_fn_config_makefile programs/dllhost enable_dllhost
22224 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22225 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22226 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22227 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22228 wine_fn_config_makefile programs/eject enable_eject
22229 wine_fn_config_makefile programs/expand enable_expand
22230 wine_fn_config_makefile programs/explorer enable_explorer
22231 wine_fn_config_makefile programs/extrac32 enable_extrac32
22232 wine_fn_config_makefile programs/fc enable_fc
22233 wine_fn_config_makefile programs/find enable_find
22234 wine_fn_config_makefile programs/find/tests enable_tests
22235 wine_fn_config_makefile programs/findstr enable_findstr
22236 wine_fn_config_makefile programs/fsutil enable_fsutil
22237 wine_fn_config_makefile programs/fsutil/tests enable_tests
22238 wine_fn_config_makefile programs/hh enable_hh
22239 wine_fn_config_makefile programs/hostname enable_hostname
22240 wine_fn_config_makefile programs/icacls enable_icacls
22241 wine_fn_config_makefile programs/icinfo enable_icinfo
22242 wine_fn_config_makefile programs/iexplore enable_iexplore
22243 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22244 wine_fn_config_makefile programs/lodctr enable_lodctr
22245 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22246 wine_fn_config_makefile programs/mshta enable_mshta
22247 wine_fn_config_makefile programs/msidb enable_msidb
22248 wine_fn_config_makefile programs/msiexec enable_msiexec
22249 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22250 wine_fn_config_makefile programs/net enable_net
22251 wine_fn_config_makefile programs/netsh enable_netsh
22252 wine_fn_config_makefile programs/netstat enable_netstat
22253 wine_fn_config_makefile programs/ngen enable_ngen
22254 wine_fn_config_makefile programs/notepad enable_notepad
22255 wine_fn_config_makefile programs/oleview enable_oleview
22256 wine_fn_config_makefile programs/ping enable_ping
22257 wine_fn_config_makefile programs/plugplay enable_plugplay
22258 wine_fn_config_makefile programs/powershell enable_powershell
22259 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22260 wine_fn_config_makefile programs/progman enable_progman
22261 wine_fn_config_makefile programs/reg enable_reg
22262 wine_fn_config_makefile programs/reg/tests enable_tests
22263 wine_fn_config_makefile programs/regasm enable_regasm
22264 wine_fn_config_makefile programs/regedit enable_regedit
22265 wine_fn_config_makefile programs/regedit/tests enable_tests
22266 wine_fn_config_makefile programs/regini enable_regini
22267 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22268 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22269 wine_fn_config_makefile programs/robocopy enable_robocopy
22270 wine_fn_config_makefile programs/rpcss enable_rpcss
22271 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22272 wine_fn_config_makefile programs/rundll32 enable_rundll32
22273 wine_fn_config_makefile programs/sc enable_sc
22274 wine_fn_config_makefile programs/sc/tests enable_tests
22275 wine_fn_config_makefile programs/schtasks enable_schtasks
22276 wine_fn_config_makefile programs/schtasks/tests enable_tests
22277 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22278 wine_fn_config_makefile programs/secedit enable_secedit
22279 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22280 wine_fn_config_makefile programs/services enable_services
22281 wine_fn_config_makefile programs/services/tests enable_tests
22282 wine_fn_config_makefile programs/shutdown enable_shutdown
22283 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22284 wine_fn_config_makefile programs/start enable_start
22285 wine_fn_config_makefile programs/subst enable_subst
22286 wine_fn_config_makefile programs/svchost enable_svchost
22287 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22288 wine_fn_config_makefile programs/taskkill enable_taskkill
22289 wine_fn_config_makefile programs/tasklist enable_tasklist
22290 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22291 wine_fn_config_makefile programs/termsv enable_termsv
22292 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22293 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22294 wine_fn_config_makefile programs/view enable_view
22295 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22296 wine_fn_config_makefile programs/where enable_where
22297 wine_fn_config_makefile programs/whoami enable_whoami
22298 wine_fn_config_makefile programs/wineboot enable_wineboot
22299 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22300 wine_fn_config_makefile programs/winecfg enable_winecfg
22301 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22302 wine_fn_config_makefile programs/winedbg enable_winedbg
22303 wine_fn_config_makefile programs/winedevice enable_winedevice
22304 wine_fn_config_makefile programs/winefile enable_winefile
22305 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22306 wine_fn_config_makefile programs/winemine enable_winemine
22307 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22308 wine_fn_config_makefile programs/winepath enable_winepath
22309 wine_fn_config_makefile programs/winetest enable_winetest
22310 wine_fn_config_makefile programs/winevdm enable_win16
22311 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22312 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22313 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22314 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22315 wine_fn_config_makefile programs/winver enable_winver
22316 wine_fn_config_makefile programs/wmic enable_wmic
22317 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22318 wine_fn_config_makefile programs/wordpad enable_wordpad
22319 wine_fn_config_makefile programs/write enable_write
22320 wine_fn_config_makefile programs/wscript enable_wscript
22321 wine_fn_config_makefile programs/wscript/tests enable_tests
22322 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22323 wine_fn_config_makefile programs/wusa enable_wusa
22324 wine_fn_config_makefile programs/xcopy enable_xcopy
22325 wine_fn_config_makefile programs/xcopy/tests enable_tests
22326 wine_fn_config_makefile server enable_server
22327 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22328 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22329 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22330 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22331 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22332 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22333 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22334 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22335 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22338 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22339 wine_fn_append_file CONFIGURE_TARGETS "tags"
22340 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22341 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22342 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22343 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22344 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22345 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22347 if test "x$enable_tools" != xno
22348 then
22349 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22350 ac_config_commands="$ac_config_commands tools/makedep"
22354 ac_config_commands="$ac_config_commands Makefile"
22358 SHELL=/bin/sh
22361 wine_fn_append_rule "all: wine
22362 @echo \"Wine build complete.\"
22363 .INIT: Makefile
22364 .MAKEFILEDEPS:
22365 all: Makefile
22366 Makefile: config.status \$(MAKEDEP)
22367 @./config.status Makefile
22368 depend: \$(MAKEDEP)
22369 \$(MAKEDEP)$makedep_flags"
22372 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22373 @./config.status --recheck
22374 include/config.h: include/stamp-h
22375 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22376 @./config.status include/config.h include/stamp-h"
22378 if test "x$enable_maintainer_mode" = xyes
22379 then
22380 wine_fn_append_rule "configure: configure.ac aclocal.m4
22381 autoconf --warnings=all
22382 include/config.h.in: include/stamp-h.in
22383 include/stamp-h.in: configure.ac aclocal.m4
22384 autoheader --warnings=all
22385 @echo timestamp > \$@"
22388 if test "x$enable_tools" != xno
22389 then
22390 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22391 @./config.status tools/makedep
22392 Makefile: tools/makedep$ac_exeext"
22393 else
22394 wine_fn_append_rule "\$(MAKEDEP):
22395 @echo \"You need to run make in $toolsdir first\" && false"
22399 if test -n "$with_wine64"
22400 then
22401 case "$with_wine64" in
22402 /*) reldir="" ;;
22403 *) reldir="../" ;;
22404 esac
22405 rm -f fonts server 2>/dev/null
22406 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22407 loader/wine64 loader/wine64-preloader:
22408 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22409 $with_wine64/loader/wine:
22410 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22411 $with_wine64/loader/wine-preloader:
22412 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22413 clean::
22414 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22415 else
22416 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22417 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22418 fonts \
22419 loader/wine.inf \
22420 nls \
22421 programs/msidb/msidb \
22422 programs/msiexec/msiexec \
22423 programs/notepad/notepad \
22424 programs/regedit/regedit \
22425 programs/regsvr32/regsvr32 \
22426 programs/wineboot/wineboot \
22427 programs/winecfg/winecfg \
22428 programs/wineconsole/wineconsole \
22429 programs/winedbg/winedbg \
22430 programs/winefile/winefile \
22431 programs/winemine/winemine \
22432 programs/winepath/winepath \
22433 server/wineserver"
22435 case $host_os in
22436 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22437 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22438 esac
22442 wine_fn_append_rule "distclean:: clean
22443 rm -rf autom4te.cache
22444 maintainer-clean::
22445 rm -f configure include/config.h.in"
22448 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22449 @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)
22450 programs/winetest/build.rc: dummy
22451 @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)
22452 programs/winetest/build.nfo:
22453 @-\$(CC) -v 2>\$@
22454 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
22455 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22456 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22459 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22461 wine_fn_append_rule "TAGS etags:
22462 rm -f TAGS
22463 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22464 tags ctags:
22465 rm -f tags
22466 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22467 dummy:
22468 .PHONY: depend dummy install-manpages"
22470 printf "%s\n" " done" >&6
22471 cat >confcache <<\_ACEOF
22472 # This file is a shell script that caches the results of configure
22473 # tests run on this system so they can be shared between configure
22474 # scripts and configure runs, see configure's option --config-cache.
22475 # It is not useful on other systems. If it contains results you don't
22476 # want to keep, you may remove or edit it.
22478 # config.status only pays attention to the cache file if you give it
22479 # the --recheck option to rerun configure.
22481 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22482 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22483 # following values.
22485 _ACEOF
22487 # The following way of writing the cache mishandles newlines in values,
22488 # but we know of no workaround that is simple, portable, and efficient.
22489 # So, we kill variables containing newlines.
22490 # Ultrix sh set writes to stderr and can't be redirected directly,
22491 # and sets the high bit in the cache file unless we assign to the vars.
22493 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22494 eval ac_val=\$$ac_var
22495 case $ac_val in #(
22496 *${as_nl}*)
22497 case $ac_var in #(
22498 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22499 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22500 esac
22501 case $ac_var in #(
22502 _ | IFS | as_nl) ;; #(
22503 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22504 *) { eval $ac_var=; unset $ac_var;} ;;
22505 esac ;;
22506 esac
22507 done
22509 (set) 2>&1 |
22510 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22511 *${as_nl}ac_space=\ *)
22512 # `set' does not quote correctly, so add quotes: double-quote
22513 # substitution turns \\\\ into \\, and sed turns \\ into \.
22514 sed -n \
22515 "s/'/'\\\\''/g;
22516 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22517 ;; #(
22519 # `set' quotes correctly as required by POSIX, so do not add quotes.
22520 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22522 esac |
22523 sort
22525 sed '
22526 /^ac_cv_env_/b end
22527 t clear
22528 :clear
22529 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22530 t end
22531 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22532 :end' >>confcache
22533 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22534 if test -w "$cache_file"; then
22535 if test "x$cache_file" != "x/dev/null"; then
22536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22537 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22538 if test ! -f "$cache_file" || test -h "$cache_file"; then
22539 cat confcache >"$cache_file"
22540 else
22541 case $cache_file in #(
22542 */* | ?:*)
22543 mv -f confcache "$cache_file"$$ &&
22544 mv -f "$cache_file"$$ "$cache_file" ;; #(
22546 mv -f confcache "$cache_file" ;;
22547 esac
22550 else
22551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22552 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22555 rm -f confcache
22557 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22558 # Let make expand exec_prefix.
22559 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22561 DEFS=-DHAVE_CONFIG_H
22563 ac_libobjs=
22564 ac_ltlibobjs=
22566 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22567 # 1. Remove the extension, and $U if already installed.
22568 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22569 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22570 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22571 # will be set to the directory where LIBOBJS objects are built.
22572 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22573 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22574 done
22575 LIBOBJS=$ac_libobjs
22577 LTLIBOBJS=$ac_ltlibobjs
22581 : "${CONFIG_STATUS=./config.status}"
22582 ac_write_fail=0
22583 ac_clean_files_save=$ac_clean_files
22584 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22586 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22587 as_write_fail=0
22588 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22589 #! $SHELL
22590 # Generated by $as_me.
22591 # Run this file to recreate the current configuration.
22592 # Compiler output produced by configure, useful for debugging
22593 # configure, is in config.log if it exists.
22595 debug=false
22596 ac_cs_recheck=false
22597 ac_cs_silent=false
22599 SHELL=\${CONFIG_SHELL-$SHELL}
22600 export SHELL
22601 _ASEOF
22602 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22603 ## -------------------- ##
22604 ## M4sh Initialization. ##
22605 ## -------------------- ##
22607 # Be more Bourne compatible
22608 DUALCASE=1; export DUALCASE # for MKS sh
22609 as_nop=:
22610 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22611 then :
22612 emulate sh
22613 NULLCMD=:
22614 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22615 # is contrary to our usage. Disable this feature.
22616 alias -g '${1+"$@"}'='"$@"'
22617 setopt NO_GLOB_SUBST
22618 else $as_nop
22619 case `(set -o) 2>/dev/null` in #(
22620 *posix*) :
22621 set -o posix ;; #(
22622 *) :
22624 esac
22629 # Reset variables that may have inherited troublesome values from
22630 # the environment.
22632 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22633 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22634 # side effect of setting IFS to empty, thus disabling word splitting.)
22635 # Quoting is to prevent editors from complaining about space-tab.
22636 as_nl='
22638 export as_nl
22639 IFS=" "" $as_nl"
22641 PS1='$ '
22642 PS2='> '
22643 PS4='+ '
22645 # Ensure predictable behavior from utilities with locale-dependent output.
22646 LC_ALL=C
22647 export LC_ALL
22648 LANGUAGE=C
22649 export LANGUAGE
22651 # We cannot yet rely on "unset" to work, but we need these variables
22652 # to be unset--not just set to an empty or harmless value--now, to
22653 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22654 # also avoids known problems related to "unset" and subshell syntax
22655 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22656 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22657 do eval test \${$as_var+y} \
22658 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22659 done
22661 # Ensure that fds 0, 1, and 2 are open.
22662 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22663 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22664 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22666 # The user is always right.
22667 if ${PATH_SEPARATOR+false} :; then
22668 PATH_SEPARATOR=:
22669 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22670 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22671 PATH_SEPARATOR=';'
22676 # Find who we are. Look in the path if we contain no directory separator.
22677 as_myself=
22678 case $0 in #((
22679 *[\\/]* ) as_myself=$0 ;;
22680 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22681 for as_dir in $PATH
22683 IFS=$as_save_IFS
22684 case $as_dir in #(((
22685 '') as_dir=./ ;;
22686 */) ;;
22687 *) as_dir=$as_dir/ ;;
22688 esac
22689 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22690 done
22691 IFS=$as_save_IFS
22694 esac
22695 # We did not find ourselves, most probably we were run as `sh COMMAND'
22696 # in which case we are not to be found in the path.
22697 if test "x$as_myself" = x; then
22698 as_myself=$0
22700 if test ! -f "$as_myself"; then
22701 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22702 exit 1
22707 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22708 # ----------------------------------------
22709 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22710 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22711 # script with STATUS, using 1 if that was 0.
22712 as_fn_error ()
22714 as_status=$1; test $as_status -eq 0 && as_status=1
22715 if test "$4"; then
22716 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22717 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22719 printf "%s\n" "$as_me: error: $2" >&2
22720 as_fn_exit $as_status
22721 } # as_fn_error
22725 # as_fn_set_status STATUS
22726 # -----------------------
22727 # Set $? to STATUS, without forking.
22728 as_fn_set_status ()
22730 return $1
22731 } # as_fn_set_status
22733 # as_fn_exit STATUS
22734 # -----------------
22735 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22736 as_fn_exit ()
22738 set +e
22739 as_fn_set_status $1
22740 exit $1
22741 } # as_fn_exit
22743 # as_fn_unset VAR
22744 # ---------------
22745 # Portably unset VAR.
22746 as_fn_unset ()
22748 { eval $1=; unset $1;}
22750 as_unset=as_fn_unset
22752 # as_fn_append VAR VALUE
22753 # ----------------------
22754 # Append the text in VALUE to the end of the definition contained in VAR. Take
22755 # advantage of any shell optimizations that allow amortized linear growth over
22756 # repeated appends, instead of the typical quadratic growth present in naive
22757 # implementations.
22758 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22759 then :
22760 eval 'as_fn_append ()
22762 eval $1+=\$2
22764 else $as_nop
22765 as_fn_append ()
22767 eval $1=\$$1\$2
22769 fi # as_fn_append
22771 # as_fn_arith ARG...
22772 # ------------------
22773 # Perform arithmetic evaluation on the ARGs, and store the result in the
22774 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22775 # must be portable across $(()) and expr.
22776 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22777 then :
22778 eval 'as_fn_arith ()
22780 as_val=$(( $* ))
22782 else $as_nop
22783 as_fn_arith ()
22785 as_val=`expr "$@" || test $? -eq 1`
22787 fi # as_fn_arith
22790 if expr a : '\(a\)' >/dev/null 2>&1 &&
22791 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22792 as_expr=expr
22793 else
22794 as_expr=false
22797 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22798 as_basename=basename
22799 else
22800 as_basename=false
22803 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22804 as_dirname=dirname
22805 else
22806 as_dirname=false
22809 as_me=`$as_basename -- "$0" ||
22810 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22811 X"$0" : 'X\(//\)$' \| \
22812 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22813 printf "%s\n" X/"$0" |
22814 sed '/^.*\/\([^/][^/]*\)\/*$/{
22815 s//\1/
22818 /^X\/\(\/\/\)$/{
22819 s//\1/
22822 /^X\/\(\/\).*/{
22823 s//\1/
22826 s/.*/./; q'`
22828 # Avoid depending upon Character Ranges.
22829 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22830 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22831 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22832 as_cr_digits='0123456789'
22833 as_cr_alnum=$as_cr_Letters$as_cr_digits
22836 # Determine whether it's possible to make 'echo' print without a newline.
22837 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22838 # for compatibility with existing Makefiles.
22839 ECHO_C= ECHO_N= ECHO_T=
22840 case `echo -n x` in #(((((
22841 -n*)
22842 case `echo 'xy\c'` in
22843 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22844 xy) ECHO_C='\c';;
22845 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22846 ECHO_T=' ';;
22847 esac;;
22849 ECHO_N='-n';;
22850 esac
22852 # For backward compatibility with old third-party macros, we provide
22853 # the shell variables $as_echo and $as_echo_n. New code should use
22854 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22855 as_echo='printf %s\n'
22856 as_echo_n='printf %s'
22858 rm -f conf$$ conf$$.exe conf$$.file
22859 if test -d conf$$.dir; then
22860 rm -f conf$$.dir/conf$$.file
22861 else
22862 rm -f conf$$.dir
22863 mkdir conf$$.dir 2>/dev/null
22865 if (echo >conf$$.file) 2>/dev/null; then
22866 if ln -s conf$$.file conf$$ 2>/dev/null; then
22867 as_ln_s='ln -s'
22868 # ... but there are two gotchas:
22869 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22870 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22871 # In both cases, we have to default to `cp -pR'.
22872 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22873 as_ln_s='cp -pR'
22874 elif ln conf$$.file conf$$ 2>/dev/null; then
22875 as_ln_s=ln
22876 else
22877 as_ln_s='cp -pR'
22879 else
22880 as_ln_s='cp -pR'
22882 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22883 rmdir conf$$.dir 2>/dev/null
22886 # as_fn_mkdir_p
22887 # -------------
22888 # Create "$as_dir" as a directory, including parents if necessary.
22889 as_fn_mkdir_p ()
22892 case $as_dir in #(
22893 -*) as_dir=./$as_dir;;
22894 esac
22895 test -d "$as_dir" || eval $as_mkdir_p || {
22896 as_dirs=
22897 while :; do
22898 case $as_dir in #(
22899 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22900 *) as_qdir=$as_dir;;
22901 esac
22902 as_dirs="'$as_qdir' $as_dirs"
22903 as_dir=`$as_dirname -- "$as_dir" ||
22904 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22905 X"$as_dir" : 'X\(//\)[^/]' \| \
22906 X"$as_dir" : 'X\(//\)$' \| \
22907 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22908 printf "%s\n" X"$as_dir" |
22909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22910 s//\1/
22913 /^X\(\/\/\)[^/].*/{
22914 s//\1/
22917 /^X\(\/\/\)$/{
22918 s//\1/
22921 /^X\(\/\).*/{
22922 s//\1/
22925 s/.*/./; q'`
22926 test -d "$as_dir" && break
22927 done
22928 test -z "$as_dirs" || eval "mkdir $as_dirs"
22929 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22932 } # as_fn_mkdir_p
22933 if mkdir -p . 2>/dev/null; then
22934 as_mkdir_p='mkdir -p "$as_dir"'
22935 else
22936 test -d ./-p && rmdir ./-p
22937 as_mkdir_p=false
22941 # as_fn_executable_p FILE
22942 # -----------------------
22943 # Test if FILE is an executable regular file.
22944 as_fn_executable_p ()
22946 test -f "$1" && test -x "$1"
22947 } # as_fn_executable_p
22948 as_test_x='test -x'
22949 as_executable_p=as_fn_executable_p
22951 # Sed expression to map a string onto a valid CPP name.
22952 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22954 # Sed expression to map a string onto a valid variable name.
22955 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22958 exec 6>&1
22959 ## ----------------------------------- ##
22960 ## Main body of $CONFIG_STATUS script. ##
22961 ## ----------------------------------- ##
22962 _ASEOF
22963 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22966 # Save the log message, to keep $0 and so on meaningful, and to
22967 # report actual input values of CONFIG_FILES etc. instead of their
22968 # values after options handling.
22969 ac_log="
22970 This file was extended by Wine $as_me 7.17, which was
22971 generated by GNU Autoconf 2.71. Invocation command line was
22973 CONFIG_FILES = $CONFIG_FILES
22974 CONFIG_HEADERS = $CONFIG_HEADERS
22975 CONFIG_LINKS = $CONFIG_LINKS
22976 CONFIG_COMMANDS = $CONFIG_COMMANDS
22977 $ $0 $@
22979 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22982 _ACEOF
22985 case $ac_config_headers in *"
22986 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22987 esac
22990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22991 # Files that config.status was made for.
22992 config_headers="$ac_config_headers"
22993 config_links="$ac_config_links"
22994 config_commands="$ac_config_commands"
22996 _ACEOF
22998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22999 ac_cs_usage="\
23000 \`$as_me' instantiates files and other configuration actions
23001 from templates according to the current configuration. Unless the files
23002 and actions are specified as TAGs, all are instantiated by default.
23004 Usage: $0 [OPTION]... [TAG]...
23006 -h, --help print this help, then exit
23007 -V, --version print version number and configuration settings, then exit
23008 --config print configuration, then exit
23009 -q, --quiet, --silent
23010 do not print progress messages
23011 -d, --debug don't remove temporary files
23012 --recheck update $as_me by reconfiguring in the same conditions
23013 --header=FILE[:TEMPLATE]
23014 instantiate the configuration header FILE
23016 Configuration headers:
23017 $config_headers
23019 Configuration links:
23020 $config_links
23022 Configuration commands:
23023 $config_commands
23025 Report bugs to <wine-devel@winehq.org>.
23026 Wine home page: <https://www.winehq.org>."
23028 _ACEOF
23029 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23030 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23032 ac_cs_config='$ac_cs_config_escaped'
23033 ac_cs_version="\\
23034 Wine config.status 7.17
23035 configured by $0, generated by GNU Autoconf 2.71,
23036 with options \\"\$ac_cs_config\\"
23038 Copyright (C) 2021 Free Software Foundation, Inc.
23039 This config.status script is free software; the Free Software Foundation
23040 gives unlimited permission to copy, distribute and modify it."
23042 ac_pwd='$ac_pwd'
23043 srcdir='$srcdir'
23044 test -n "\$AWK" || AWK=awk
23045 _ACEOF
23047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23048 # The default lists apply if the user does not specify any file.
23049 ac_need_defaults=:
23050 while test $# != 0
23052 case $1 in
23053 --*=?*)
23054 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23055 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23056 ac_shift=:
23058 --*=)
23059 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23060 ac_optarg=
23061 ac_shift=:
23064 ac_option=$1
23065 ac_optarg=$2
23066 ac_shift=shift
23068 esac
23070 case $ac_option in
23071 # Handling of the options.
23072 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23073 ac_cs_recheck=: ;;
23074 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23075 printf "%s\n" "$ac_cs_version"; exit ;;
23076 --config | --confi | --conf | --con | --co | --c )
23077 printf "%s\n" "$ac_cs_config"; exit ;;
23078 --debug | --debu | --deb | --de | --d | -d )
23079 debug=: ;;
23080 --header | --heade | --head | --hea )
23081 $ac_shift
23082 case $ac_optarg in
23083 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23084 esac
23085 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23086 ac_need_defaults=false;;
23087 --he | --h)
23088 # Conflict between --help and --header
23089 as_fn_error $? "ambiguous option: \`$1'
23090 Try \`$0 --help' for more information.";;
23091 --help | --hel | -h )
23092 printf "%s\n" "$ac_cs_usage"; exit ;;
23093 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23094 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23095 ac_cs_silent=: ;;
23097 # This is an error.
23098 -*) as_fn_error $? "unrecognized option: \`$1'
23099 Try \`$0 --help' for more information." ;;
23101 *) as_fn_append ac_config_targets " $1"
23102 ac_need_defaults=false ;;
23104 esac
23105 shift
23106 done
23108 ac_configure_extra_args=
23110 if $ac_cs_silent; then
23111 exec 6>/dev/null
23112 ac_configure_extra_args="$ac_configure_extra_args --silent"
23115 _ACEOF
23116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23117 if \$ac_cs_recheck; then
23118 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23119 shift
23120 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23121 CONFIG_SHELL='$SHELL'
23122 export CONFIG_SHELL
23123 exec "\$@"
23126 _ACEOF
23127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23128 exec 5>>config.log
23130 echo
23131 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23132 ## Running $as_me. ##
23133 _ASBOX
23134 printf "%s\n" "$ac_log"
23135 } >&5
23137 _ACEOF
23138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23140 # INIT-COMMANDS
23142 wine_fn_output_makedep ()
23144 as_dir=tools; as_fn_mkdir_p
23145 $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
23147 wine_fn_output_makefile ()
23149 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23150 # This Makefile understands the following targets:
23152 # all (default): build wine
23153 # clean: remove all intermediate files
23154 # distclean: also remove all files created by configure
23155 # test: run tests
23156 # testclean: clean test results to force running all tests again
23157 # install-lib: install libraries needed to run applications
23158 # install-dev: install development environment
23159 # install: install everything
23160 # uninstall: uninstall everything
23161 # ctags: create a tags file for vim and others.
23162 # etags: create a TAGS file for Emacs.
23164 SHELL = $SHELL
23165 PATH_SEPARATOR = $PATH_SEPARATOR
23166 PACKAGE_NAME = $PACKAGE_NAME
23167 PACKAGE_TARNAME = $PACKAGE_TARNAME
23168 PACKAGE_VERSION = $PACKAGE_VERSION
23169 PACKAGE_STRING = $PACKAGE_STRING
23170 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23171 PACKAGE_URL = $PACKAGE_URL
23172 exec_prefix = $exec_prefix
23173 prefix = $prefix
23174 program_transform_name = $program_transform_name
23175 bindir = $bindir
23176 sbindir = $sbindir
23177 libexecdir = $libexecdir
23178 datarootdir = $datarootdir
23179 datadir = $datadir
23180 sysconfdir = $sysconfdir
23181 sharedstatedir = $sharedstatedir
23182 localstatedir = $localstatedir
23183 runstatedir = $runstatedir
23184 includedir = $includedir
23185 oldincludedir = $oldincludedir
23186 docdir = $docdir
23187 infodir = $infodir
23188 htmldir = $htmldir
23189 dvidir = $dvidir
23190 pdfdir = $pdfdir
23191 psdir = $psdir
23192 libdir = $libdir
23193 localedir = $localedir
23194 mandir = $mandir
23195 DEFS = $DEFS
23196 ECHO_C = $ECHO_C
23197 ECHO_N = $ECHO_N
23198 ECHO_T = $ECHO_T
23199 LIBS = $LIBS
23200 build_alias = $build_alias
23201 host_alias = $host_alias
23202 target_alias = $target_alias
23203 system_dllpath = $system_dllpath
23204 build = $build
23205 build_cpu = $build_cpu
23206 build_vendor = $build_vendor
23207 build_os = $build_os
23208 host = $host
23209 host_cpu = $host_cpu
23210 host_vendor = $host_vendor
23211 host_os = $host_os
23212 dlldir = $dlldir
23213 fontdir = $fontdir
23214 nlsdir = $nlsdir
23215 srcdir = $srcdir
23216 SET_MAKE = $SET_MAKE
23217 CC = $CC
23218 CFLAGS = $CFLAGS
23219 LDFLAGS = $LDFLAGS
23220 CPPFLAGS = $CPPFLAGS
23221 ac_ct_CC = $ac_ct_CC
23222 EXEEXT = $EXEEXT
23223 OBJEXT = $OBJEXT
23224 CXX = $CXX
23225 CXXFLAGS = $CXXFLAGS
23226 ac_ct_CXX = $ac_ct_CXX
23227 CPPBIN = $CPPBIN
23228 LD = $LD
23229 TARGETFLAGS = $TARGETFLAGS
23230 toolsext = $toolsext
23231 toolsdir = $toolsdir
23232 MAKEDEP = $MAKEDEP
23233 RUNTESTFLAGS = $RUNTESTFLAGS
23234 SED_CMD = $SED_CMD
23235 FLEX = $FLEX
23236 BISON = $BISON
23237 AR = $AR
23238 ac_ct_AR = $ac_ct_AR
23239 STRIP = $STRIP
23240 RANLIB = $RANLIB
23241 LN_S = $LN_S
23242 GREP = $GREP
23243 EGREP = $EGREP
23244 LDCONFIG = $LDCONFIG
23245 MSGFMT = $MSGFMT
23246 PKG_CONFIG = $PKG_CONFIG
23247 FONTFORGE = $FONTFORGE
23248 RSVG = $RSVG
23249 CONVERT = $CONVERT
23250 ICOTOOL = $ICOTOOL
23251 I386_LIBS = $I386_LIBS
23252 OPENGL_LIBS = $OPENGL_LIBS
23253 DLLFLAGS = $DLLFLAGS
23254 LDDLLFLAGS = $LDDLLFLAGS
23255 LDEXECFLAGS = $LDEXECFLAGS
23256 EXTRACFLAGS = $EXTRACFLAGS
23257 UNIXDLLFLAGS = $UNIXDLLFLAGS
23258 UNIXLDFLAGS = $UNIXLDFLAGS
23259 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23260 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23261 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23262 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23263 LDD = $LDD
23264 OTOOL = $OTOOL
23265 READELF = $READELF
23266 SUBDIRS = $SUBDIRS
23267 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23268 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23269 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23270 DLLTOOL = $DLLTOOL
23271 OBJC = $OBJC
23272 OBJCFLAGS = $OBJCFLAGS
23273 ac_ct_OBJC = $ac_ct_OBJC
23274 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23275 IOKIT_LIBS = $IOKIT_LIBS
23276 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23277 CORESERVICES_LIBS = $CORESERVICES_LIBS
23278 APPKIT_LIBS = $APPKIT_LIBS
23279 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23280 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23281 SECURITY_LIBS = $SECURITY_LIBS
23282 COREAUDIO_LIBS = $COREAUDIO_LIBS
23283 OPENAL_LIBS = $OPENAL_LIBS
23284 OPENCL_LIBS = $OPENCL_LIBS
23285 CARBON_LIBS = $CARBON_LIBS
23286 METAL_LIBS = $METAL_LIBS
23287 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23288 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23289 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23290 PRELINK = $PRELINK
23291 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23292 CROSSTARGET = $CROSSTARGET
23293 CROSSCC = $CROSSCC
23294 CROSSCFLAGS = $CROSSCFLAGS
23295 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23296 CROSSLDFLAGS = $CROSSLDFLAGS
23297 DELAYLOADFLAG = $DELAYLOADFLAG
23298 CROSSDEBUG = $CROSSDEBUG
23299 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23300 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23301 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23302 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23303 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23304 GSM_PE_LIBS = $GSM_PE_LIBS
23305 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23306 JPEG_PE_LIBS = $JPEG_PE_LIBS
23307 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23308 JXR_PE_LIBS = $JXR_PE_LIBS
23309 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23310 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23311 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23312 MPG123_PE_LIBS = $MPG123_PE_LIBS
23313 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23314 PNG_PE_LIBS = $PNG_PE_LIBS
23315 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23316 TIFF_PE_LIBS = $TIFF_PE_LIBS
23317 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23318 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23319 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23320 XML2_PE_LIBS = $XML2_PE_LIBS
23321 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23322 XSLT_PE_LIBS = $XSLT_PE_LIBS
23323 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23324 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23325 PTHREAD_LIBS = $PTHREAD_LIBS
23326 XMKMF = $XMKMF
23327 CPP = $CPP
23328 X_CFLAGS = $X_CFLAGS
23329 X_PRE_LIBS = $X_PRE_LIBS
23330 X_LIBS = $X_LIBS
23331 X_EXTRA_LIBS = $X_EXTRA_LIBS
23332 PCAP_LIBS = $PCAP_LIBS
23333 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23334 INOTIFY_LIBS = $INOTIFY_LIBS
23335 DBUS_CFLAGS = $DBUS_CFLAGS
23336 DBUS_LIBS = $DBUS_LIBS
23337 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23338 GNUTLS_LIBS = $GNUTLS_LIBS
23339 SANE_CFLAGS = $SANE_CFLAGS
23340 SANE_LIBS = $SANE_LIBS
23341 USB_CFLAGS = $USB_CFLAGS
23342 USB_LIBS = $USB_LIBS
23343 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23344 GPHOTO2_LIBS = $GPHOTO2_LIBS
23345 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23346 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23347 RESOLV_LIBS = $RESOLV_LIBS
23348 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23349 FREETYPE_LIBS = $FREETYPE_LIBS
23350 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23351 PULSE_CFLAGS = $PULSE_CFLAGS
23352 PULSE_LIBS = $PULSE_LIBS
23353 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23354 GSTREAMER_LIBS = $GSTREAMER_LIBS
23355 ALSA_LIBS = $ALSA_LIBS
23356 OSS4_CFLAGS = $OSS4_CFLAGS
23357 OSS4_LIBS = $OSS4_LIBS
23358 UDEV_CFLAGS = $UDEV_CFLAGS
23359 UDEV_LIBS = $UDEV_LIBS
23360 UNWIND_CFLAGS = $UNWIND_CFLAGS
23361 UNWIND_LIBS = $UNWIND_LIBS
23362 SDL2_CFLAGS = $SDL2_CFLAGS
23363 SDL2_LIBS = $SDL2_LIBS
23364 CAPI20_CFLAGS = $CAPI20_CFLAGS
23365 CAPI20_LIBS = $CAPI20_LIBS
23366 CUPS_CFLAGS = $CUPS_CFLAGS
23367 CUPS_LIBS = $CUPS_LIBS
23368 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23369 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23370 KRB5_CFLAGS = $KRB5_CFLAGS
23371 KRB5_LIBS = $KRB5_LIBS
23372 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23373 GSSAPI_LIBS = $GSSAPI_LIBS
23374 PROCSTAT_LIBS = $PROCSTAT_LIBS
23375 NETAPI_CFLAGS = $NETAPI_CFLAGS
23376 NETAPI_LIBS = $NETAPI_LIBS
23377 MSVCRTFLAGS = $MSVCRTFLAGS
23378 RT_LIBS = $RT_LIBS
23379 LDAP_CFLAGS = $LDAP_CFLAGS
23380 LDAP_LIBS = $LDAP_LIBS
23381 TAGSFLAGS = $TAGSFLAGS
23382 LIBOBJS = $LIBOBJS
23383 LTLIBOBJS = $LTLIBOBJS
23384 $SET_MAKE
23385 $wine_rules
23386 _WINE_EOF
23387 as_fn_error $? "could not create Makefile" "$LINENO" 5
23390 _ACEOF
23392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23394 # Handling of arguments.
23395 for ac_config_target in $ac_config_targets
23397 case $ac_config_target in
23398 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23399 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23400 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23401 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23402 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23403 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23405 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23406 esac
23407 done
23410 # If the user did not use the arguments to specify the items to instantiate,
23411 # then the envvar interface is used. Set only those that are not.
23412 # We use the long form for the default assignment because of an extremely
23413 # bizarre bug on SunOS 4.1.3.
23414 if $ac_need_defaults; then
23415 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23416 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23417 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23420 # Have a temporary directory for convenience. Make it in the build tree
23421 # simply because there is no reason against having it here, and in addition,
23422 # creating and moving files from /tmp can sometimes cause problems.
23423 # Hook for its removal unless debugging.
23424 # Note that there is a small window in which the directory will not be cleaned:
23425 # after its creation but before its name has been assigned to `$tmp'.
23426 $debug ||
23428 tmp= ac_tmp=
23429 trap 'exit_status=$?
23430 : "${ac_tmp:=$tmp}"
23431 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23433 trap 'as_fn_exit 1' 1 2 13 15
23435 # Create a (secure) tmp directory for tmp files.
23438 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23439 test -d "$tmp"
23440 } ||
23442 tmp=./conf$$-$RANDOM
23443 (umask 077 && mkdir "$tmp")
23444 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23445 ac_tmp=$tmp
23447 # Set up the scripts for CONFIG_HEADERS section.
23448 # No need to generate them if there are no CONFIG_HEADERS.
23449 # This happens for instance with `./config.status Makefile'.
23450 if test -n "$CONFIG_HEADERS"; then
23451 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23452 BEGIN {
23453 _ACEOF
23455 # Transform confdefs.h into an awk script `defines.awk', embedded as
23456 # here-document in config.status, that substitutes the proper values into
23457 # config.h.in to produce config.h.
23459 # Create a delimiter string that does not exist in confdefs.h, to ease
23460 # handling of long lines.
23461 ac_delim='%!_!# '
23462 for ac_last_try in false false :; do
23463 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23464 if test -z "$ac_tt"; then
23465 break
23466 elif $ac_last_try; then
23467 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23468 else
23469 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23471 done
23473 # For the awk script, D is an array of macro values keyed by name,
23474 # likewise P contains macro parameters if any. Preserve backslash
23475 # newline sequences.
23477 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23478 sed -n '
23479 s/.\{148\}/&'"$ac_delim"'/g
23480 t rset
23481 :rset
23482 s/^[ ]*#[ ]*define[ ][ ]*/ /
23483 t def
23485 :def
23486 s/\\$//
23487 t bsnl
23488 s/["\\]/\\&/g
23489 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23490 D["\1"]=" \3"/p
23491 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23493 :bsnl
23494 s/["\\]/\\&/g
23495 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23496 D["\1"]=" \3\\\\\\n"\\/p
23497 t cont
23498 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23499 t cont
23501 :cont
23503 s/.\{148\}/&'"$ac_delim"'/g
23504 t clear
23505 :clear
23506 s/\\$//
23507 t bsnlc
23508 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23510 :bsnlc
23511 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23512 b cont
23513 ' <confdefs.h | sed '
23514 s/'"$ac_delim"'/"\\\
23515 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23518 for (key in D) D_is_set[key] = 1
23519 FS = "\a"
23521 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23522 line = \$ 0
23523 split(line, arg, " ")
23524 if (arg[1] == "#") {
23525 defundef = arg[2]
23526 mac1 = arg[3]
23527 } else {
23528 defundef = substr(arg[1], 2)
23529 mac1 = arg[2]
23531 split(mac1, mac2, "(") #)
23532 macro = mac2[1]
23533 prefix = substr(line, 1, index(line, defundef) - 1)
23534 if (D_is_set[macro]) {
23535 # Preserve the white space surrounding the "#".
23536 print prefix "define", macro P[macro] D[macro]
23537 next
23538 } else {
23539 # Replace #undef with comments. This is necessary, for example,
23540 # in the case of _POSIX_SOURCE, which is predefined and required
23541 # on some systems where configure will not decide to define it.
23542 if (defundef == "undef") {
23543 print "/*", prefix defundef, macro, "*/"
23544 next
23548 { print }
23549 _ACAWK
23550 _ACEOF
23551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23552 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23553 fi # test -n "$CONFIG_HEADERS"
23556 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23557 shift
23558 for ac_tag
23560 case $ac_tag in
23561 :[FHLC]) ac_mode=$ac_tag; continue;;
23562 esac
23563 case $ac_mode$ac_tag in
23564 :[FHL]*:*);;
23565 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23566 :[FH]-) ac_tag=-:-;;
23567 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23568 esac
23569 ac_save_IFS=$IFS
23570 IFS=:
23571 set x $ac_tag
23572 IFS=$ac_save_IFS
23573 shift
23574 ac_file=$1
23575 shift
23577 case $ac_mode in
23578 :L) ac_source=$1;;
23579 :[FH])
23580 ac_file_inputs=
23581 for ac_f
23583 case $ac_f in
23584 -) ac_f="$ac_tmp/stdin";;
23585 *) # Look for the file first in the build tree, then in the source tree
23586 # (if the path is not absolute). The absolute path cannot be DOS-style,
23587 # because $ac_f cannot contain `:'.
23588 test -f "$ac_f" ||
23589 case $ac_f in
23590 [\\/$]*) false;;
23591 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23592 esac ||
23593 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23594 esac
23595 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23596 as_fn_append ac_file_inputs " '$ac_f'"
23597 done
23599 # Let's still pretend it is `configure' which instantiates (i.e., don't
23600 # use $as_me), people would be surprised to read:
23601 # /* config.h. Generated by config.status. */
23602 configure_input='Generated from '`
23603 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23604 `' by configure.'
23605 if test x"$ac_file" != x-; then
23606 configure_input="$ac_file. $configure_input"
23607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23608 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23610 # Neutralize special characters interpreted by sed in replacement strings.
23611 case $configure_input in #(
23612 *\&* | *\|* | *\\* )
23613 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23614 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23615 *) ac_sed_conf_input=$configure_input;;
23616 esac
23618 case $ac_tag in
23619 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23620 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23621 esac
23623 esac
23625 ac_dir=`$as_dirname -- "$ac_file" ||
23626 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23627 X"$ac_file" : 'X\(//\)[^/]' \| \
23628 X"$ac_file" : 'X\(//\)$' \| \
23629 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23630 printf "%s\n" X"$ac_file" |
23631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23632 s//\1/
23635 /^X\(\/\/\)[^/].*/{
23636 s//\1/
23639 /^X\(\/\/\)$/{
23640 s//\1/
23643 /^X\(\/\).*/{
23644 s//\1/
23647 s/.*/./; q'`
23648 as_dir="$ac_dir"; as_fn_mkdir_p
23649 ac_builddir=.
23651 case "$ac_dir" in
23652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23654 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23655 # A ".." for each directory in $ac_dir_suffix.
23656 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23657 case $ac_top_builddir_sub in
23658 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23659 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23660 esac ;;
23661 esac
23662 ac_abs_top_builddir=$ac_pwd
23663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23664 # for backward compatibility:
23665 ac_top_builddir=$ac_top_build_prefix
23667 case $srcdir in
23668 .) # We are building in place.
23669 ac_srcdir=.
23670 ac_top_srcdir=$ac_top_builddir_sub
23671 ac_abs_top_srcdir=$ac_pwd ;;
23672 [\\/]* | ?:[\\/]* ) # Absolute name.
23673 ac_srcdir=$srcdir$ac_dir_suffix;
23674 ac_top_srcdir=$srcdir
23675 ac_abs_top_srcdir=$srcdir ;;
23676 *) # Relative name.
23677 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23678 ac_top_srcdir=$ac_top_build_prefix$srcdir
23679 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23680 esac
23681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23684 case $ac_mode in
23688 # CONFIG_HEADER
23690 if test x"$ac_file" != x-; then
23692 printf "%s\n" "/* $configure_input */" >&1 \
23693 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23694 } >"$ac_tmp/config.h" \
23695 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23696 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23698 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23699 else
23700 rm -f "$ac_file"
23701 mv "$ac_tmp/config.h" "$ac_file" \
23702 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23704 else
23705 printf "%s\n" "/* $configure_input */" >&1 \
23706 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23707 || as_fn_error $? "could not create -" "$LINENO" 5
23712 # CONFIG_LINK
23715 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23717 else
23718 # Prefer the file from the source tree if names are identical.
23719 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23720 ac_source=$srcdir/$ac_source
23723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23724 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23726 if test ! -r "$ac_source"; then
23727 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23729 rm -f "$ac_file"
23731 # Try a relative symlink, then a hard link, then a copy.
23732 case $ac_source in
23733 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23734 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23735 esac
23736 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23737 ln "$ac_source" "$ac_file" 2>/dev/null ||
23738 cp -p "$ac_source" "$ac_file" ||
23739 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23742 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23743 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23745 esac
23748 case $ac_file$ac_mode in
23749 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23750 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23751 "Makefile":C) wine_fn_output_makefile Makefile ;;
23753 esac
23754 done # for ac_tag
23757 as_fn_exit 0
23758 _ACEOF
23759 ac_clean_files=$ac_clean_files_save
23761 test $ac_write_fail = 0 ||
23762 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23765 # configure is writing to config.log, and then calls config.status.
23766 # config.status does its own redirection, appending to config.log.
23767 # Unfortunately, on DOS this fails, as config.log is still kept open
23768 # by configure, so config.status won't be able to write to it; its
23769 # output is simply discarded. So we exec the FD to /dev/null,
23770 # effectively closing config.log, so it can be properly (re)opened and
23771 # appended to by config.status. When coming back to configure, we
23772 # need to make the FD available again.
23773 if test "$no_create" != yes; then
23774 ac_cs_success=:
23775 ac_config_status_args=
23776 test "$silent" = yes &&
23777 ac_config_status_args="$ac_config_status_args --quiet"
23778 exec 5>/dev/null
23779 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23780 exec 5>>config.log
23781 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23782 # would make configure fail if this is the last instruction.
23783 $ac_cs_success || as_fn_exit 1
23785 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23787 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23791 if test "$no_create" = "yes"
23792 then
23793 exit 0
23796 ac_save_IFS="$IFS"
23797 if test "x$wine_notices" != x; then
23798 echo >&6
23799 IFS="|"
23800 for msg in $wine_notices; do
23801 IFS="$ac_save_IFS"
23802 if ${msg:+false} :
23803 then :
23805 else $as_nop
23806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23807 printf "%s\n" "$as_me: $msg" >&6;}
23809 done
23811 IFS="|"
23812 for msg in $wine_warnings; do
23813 IFS="$ac_save_IFS"
23814 if ${msg:+false} :
23815 then :
23817 else $as_nop
23818 echo >&2
23819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23820 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23822 done
23823 IFS="$ac_save_IFS"
23825 printf "%s\n" "
23826 $as_me: Finished. Do '${ac_make}' to compile Wine.
23827 " >&6