ldap: Don't depend on the getopt.h header.
[wine.git] / configure
blob8f780aff3ad7264c456c7c0e4fd27e390fc5bfbe
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.21.
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.21'
615 PACKAGE_STRING='Wine 7.21'
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 RT_LIBS
656 DELAYLOADFLAG
657 MSVCRTFLAGS
658 NETAPI_LIBS
659 NETAPI_CFLAGS
660 PROCSTAT_LIBS
661 GSSAPI_LIBS
662 GSSAPI_CFLAGS
663 KRB5_LIBS
664 KRB5_CFLAGS
665 FONTCONFIG_LIBS
666 FONTCONFIG_CFLAGS
667 CUPS_LIBS
668 CUPS_CFLAGS
669 CAPI20_LIBS
670 CAPI20_CFLAGS
671 SDL2_LIBS
672 SDL2_CFLAGS
673 UNWIND_LIBS
674 UNWIND_CFLAGS
675 UDEV_LIBS
676 UDEV_CFLAGS
677 OSS4_LIBS
678 OSS4_CFLAGS
679 ALSA_LIBS
680 GSTREAMER_LIBS
681 GSTREAMER_CFLAGS
682 PULSE_LIBS
683 PULSE_CFLAGS
684 GETTEXTPO_LIBS
685 FREETYPE_LIBS
686 FREETYPE_CFLAGS
687 RESOLV_LIBS
688 GPHOTO2_PORT_LIBS
689 GPHOTO2_PORT_CFLAGS
690 GPHOTO2_LIBS
691 GPHOTO2_CFLAGS
692 USB_LIBS
693 USB_CFLAGS
694 SANE_LIBS
695 SANE_CFLAGS
696 GNUTLS_LIBS
697 GNUTLS_CFLAGS
698 DBUS_LIBS
699 DBUS_CFLAGS
700 INOTIFY_LIBS
701 INOTIFY_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
708 XMKMF
709 PTHREAD_LIBS
710 ZLIB_PE_LIBS
711 ZLIB_PE_CFLAGS
712 XSLT_PE_LIBS
713 XSLT_PE_CFLAGS
714 XML2_PE_LIBS
715 XML2_PE_CFLAGS
716 VKD3D_PE_LIBS
717 VKD3D_PE_CFLAGS
718 TIFF_PE_LIBS
719 TIFF_PE_CFLAGS
720 PNG_PE_LIBS
721 PNG_PE_CFLAGS
722 MPG123_PE_LIBS
723 MPG123_PE_CFLAGS
724 LDAP_PE_LIBS
725 LDAP_PE_CFLAGS
726 LCMS2_PE_LIBS
727 LCMS2_PE_CFLAGS
728 JXR_PE_LIBS
729 JXR_PE_CFLAGS
730 JPEG_PE_LIBS
731 JPEG_PE_CFLAGS
732 GSM_PE_LIBS
733 GSM_PE_CFLAGS
734 FAUDIO_PE_LIBS
735 FAUDIO_PE_CFLAGS
736 MINGW_PKG_CONFIG
737 PE_ARCHS
738 LIBWINE_DEPENDS
739 PRELINK
740 WINELOADER_DEPENDS
741 LIBWINE_LDFLAGS
742 LIBWINE_SHAREDLIB
743 METAL_LIBS
744 CARBON_LIBS
745 OPENCL_LIBS
746 COREAUDIO_LIBS
747 SECURITY_LIBS
748 DISKARBITRATION_LIBS
749 SYSTEMCONFIGURATION_LIBS
750 APPKIT_LIBS
751 CORESERVICES_LIBS
752 APPLICATIONSERVICES_LIBS
753 IOKIT_LIBS
754 COREFOUNDATION_LIBS
755 ac_ct_OBJC
756 OBJCFLAGS
757 OBJC
758 WINELOADER_PROGRAMS
759 CONFIGURE_TARGETS
760 DISABLED_SUBDIRS
761 SUBDIRS
762 READELF
763 OTOOL
765 WINEPRELOADER_LDFLAGS
766 WINELOADER_LDFLAGS
767 TOP_INSTALL_DEV
768 TOP_INSTALL_LIB
769 UNIXLDFLAGS
770 UNIXDLLFLAGS
771 EXTRACFLAGS
772 LDEXECFLAGS
773 LDDLLFLAGS
774 DLLFLAGS
775 OPENGL_LIBS
776 I386_LIBS
777 ICOTOOL
778 CONVERT
779 RSVG
780 FONTFORGE
781 PKG_CONFIG
782 MSGFMT
783 LDCONFIG
784 EGREP
785 GREP
786 LN_S
787 RANLIB
788 STRIP
789 ac_ct_AR
791 BISON
792 FLEX
793 SED_CMD
794 RUNTESTFLAGS
795 MAKEDEP
796 toolsdir
797 x86_64_DISABLED_SUBDIRS
798 x86_64_DELAYLOADFLAG
799 x86_64_TARGET
800 x86_64_DEBUG
801 x86_64_LDFLAGS
802 x86_64_EXTRACFLAGS
803 x86_64_CFLAGS
804 x86_64_CC
805 i386_DISABLED_SUBDIRS
806 i386_DELAYLOADFLAG
807 i386_TARGET
808 i386_DEBUG
809 i386_LDFLAGS
810 i386_EXTRACFLAGS
811 i386_CFLAGS
812 i386_CC
813 arm_DISABLED_SUBDIRS
814 arm_DELAYLOADFLAG
815 arm_TARGET
816 arm_DEBUG
817 arm_LDFLAGS
818 arm_EXTRACFLAGS
819 arm_CFLAGS
820 arm_CC
821 aarch64_DISABLED_SUBDIRS
822 aarch64_DELAYLOADFLAG
823 aarch64_TARGET
824 aarch64_DEBUG
825 aarch64_LDFLAGS
826 aarch64_EXTRACFLAGS
827 aarch64_CFLAGS
828 aarch64_CC
829 HOST_ARCH
830 toolsext
831 TARGETFLAGS
833 CPPBIN
834 ac_ct_CXX
835 CXXFLAGS
837 OBJEXT
838 EXEEXT
839 ac_ct_CC
840 CPPFLAGS
841 LDFLAGS
842 CFLAGS
844 SET_MAKE
845 srcdir
846 nlsdir
847 fontdir
848 dlldir
849 host_os
850 host_vendor
851 host_cpu
852 host
853 build_os
854 build_vendor
855 build_cpu
856 build
857 system_dllpath
858 target_alias
859 host_alias
860 build_alias
861 LIBS
862 ECHO_T
863 ECHO_N
864 ECHO_C
865 DEFS
866 mandir
867 localedir
868 libdir
869 psdir
870 pdfdir
871 dvidir
872 htmldir
873 infodir
874 docdir
875 oldincludedir
876 includedir
877 runstatedir
878 localstatedir
879 sharedstatedir
880 sysconfdir
881 datadir
882 datarootdir
883 libexecdir
884 sbindir
885 bindir
886 program_transform_name
887 prefix
888 exec_prefix
889 PACKAGE_URL
890 PACKAGE_BUGREPORT
891 PACKAGE_STRING
892 PACKAGE_VERSION
893 PACKAGE_TARNAME
894 PACKAGE_NAME
895 PATH_SEPARATOR
896 SHELL'
897 ac_subst_files=''
898 ac_user_opts='
899 enable_option_checking
900 enable_archs
901 enable_win16
902 enable_win64
903 enable_tests
904 enable_build_id
905 enable_maintainer_mode
906 enable_silent_rules
907 enable_werror
908 with_alsa
909 with_capi
910 with_coreaudio
911 with_cups
912 with_dbus
913 with_float_abi
914 with_fontconfig
915 with_freetype
916 with_gettext
917 with_gettextpo
918 with_gphoto
919 with_gnutls
920 with_gssapi
921 with_gstreamer
922 with_inotify
923 with_krb5
924 with_mingw
925 with_netapi
926 with_opencl
927 with_opengl
928 with_osmesa
929 with_oss
930 with_pcap
931 with_pthread
932 with_pulse
933 with_sane
934 with_sdl
935 with_udev
936 with_unwind
937 with_usb
938 with_v4l2
939 with_vulkan
940 with_xcomposite
941 with_xcursor
942 with_xfixes
943 with_xinerama
944 with_xinput
945 with_xinput2
946 with_xrandr
947 with_xrender
948 with_xshape
949 with_xshm
950 with_xxf86vm
951 with_system_dllpath
952 with_wine_tools
953 with_wine64
954 enable_largefile
955 with_x
956 enable_acledit
957 enable_aclui
958 enable_activeds_tlb
959 enable_activeds
960 enable_actxprxy
961 enable_adsldp
962 enable_adsldpc
963 enable_advapi32
964 enable_advpack
965 enable_amsi
966 enable_amstream
967 enable_apisetschema
968 enable_apphelp
969 enable_appwiz_cpl
970 enable_atl
971 enable_atl100
972 enable_atl110
973 enable_atl80
974 enable_atl90
975 enable_atlthunk
976 enable_atmlib
977 enable_authz
978 enable_avicap32
979 enable_avifil32
980 enable_avrt
981 enable_bcrypt
982 enable_bluetoothapis
983 enable_browseui
984 enable_bthprops_cpl
985 enable_cabinet
986 enable_capi2032
987 enable_cards
988 enable_cdosys
989 enable_cfgmgr32
990 enable_clusapi
991 enable_cng_sys
992 enable_combase
993 enable_comcat
994 enable_comctl32
995 enable_comdlg32
996 enable_compstui
997 enable_comsvcs
998 enable_concrt140
999 enable_connect
1000 enable_credui
1001 enable_crtdll
1002 enable_crypt32
1003 enable_cryptdlg
1004 enable_cryptdll
1005 enable_cryptext
1006 enable_cryptnet
1007 enable_cryptowinrt
1008 enable_cryptsp
1009 enable_cryptui
1010 enable_ctapi32
1011 enable_ctl3d32
1012 enable_d2d1
1013 enable_d3d10
1014 enable_d3d10_1
1015 enable_d3d10core
1016 enable_d3d11
1017 enable_d3d12
1018 enable_d3d8
1019 enable_d3d8thk
1020 enable_d3d9
1021 enable_d3dcompiler_33
1022 enable_d3dcompiler_34
1023 enable_d3dcompiler_35
1024 enable_d3dcompiler_36
1025 enable_d3dcompiler_37
1026 enable_d3dcompiler_38
1027 enable_d3dcompiler_39
1028 enable_d3dcompiler_40
1029 enable_d3dcompiler_41
1030 enable_d3dcompiler_42
1031 enable_d3dcompiler_43
1032 enable_d3dcompiler_46
1033 enable_d3dcompiler_47
1034 enable_d3dim
1035 enable_d3dim700
1036 enable_d3drm
1037 enable_d3dx10_33
1038 enable_d3dx10_34
1039 enable_d3dx10_35
1040 enable_d3dx10_36
1041 enable_d3dx10_37
1042 enable_d3dx10_38
1043 enable_d3dx10_39
1044 enable_d3dx10_40
1045 enable_d3dx10_41
1046 enable_d3dx10_42
1047 enable_d3dx10_43
1048 enable_d3dx11_42
1049 enable_d3dx11_43
1050 enable_d3dx9_24
1051 enable_d3dx9_25
1052 enable_d3dx9_26
1053 enable_d3dx9_27
1054 enable_d3dx9_28
1055 enable_d3dx9_29
1056 enable_d3dx9_30
1057 enable_d3dx9_31
1058 enable_d3dx9_32
1059 enable_d3dx9_33
1060 enable_d3dx9_34
1061 enable_d3dx9_35
1062 enable_d3dx9_36
1063 enable_d3dx9_37
1064 enable_d3dx9_38
1065 enable_d3dx9_39
1066 enable_d3dx9_40
1067 enable_d3dx9_41
1068 enable_d3dx9_42
1069 enable_d3dx9_43
1070 enable_d3dxof
1071 enable_davclnt
1072 enable_dbgeng
1073 enable_dbghelp
1074 enable_dciman32
1075 enable_dcomp
1076 enable_ddraw
1077 enable_ddrawex
1078 enable_devenum
1079 enable_dhcpcsvc
1080 enable_dhcpcsvc6
1081 enable_dhtmled_ocx
1082 enable_diasymreader
1083 enable_difxapi
1084 enable_dinput
1085 enable_dinput8
1086 enable_directmanipulation
1087 enable_dispex
1088 enable_dmband
1089 enable_dmcompos
1090 enable_dmime
1091 enable_dmloader
1092 enable_dmscript
1093 enable_dmstyle
1094 enable_dmsynth
1095 enable_dmusic
1096 enable_dmusic32
1097 enable_dnsapi
1098 enable_dplay
1099 enable_dplayx
1100 enable_dpnaddr
1101 enable_dpnet
1102 enable_dpnhpast
1103 enable_dpnhupnp
1104 enable_dpnlobby
1105 enable_dpvoice
1106 enable_dpwsockx
1107 enable_drmclien
1108 enable_dsdmo
1109 enable_dsound
1110 enable_dsquery
1111 enable_dssenh
1112 enable_dsuiext
1113 enable_dswave
1114 enable_dwmapi
1115 enable_dwrite
1116 enable_dx8vb
1117 enable_dxdiagn
1118 enable_dxgi
1119 enable_dxtrans
1120 enable_dxva2
1121 enable_esent
1122 enable_evr
1123 enable_explorerframe
1124 enable_faultrep
1125 enable_feclient
1126 enable_fltlib
1127 enable_fltmgr_sys
1128 enable_fntcache
1129 enable_fontsub
1130 enable_fusion
1131 enable_fwpuclnt
1132 enable_gameux
1133 enable_gamingtcui
1134 enable_gdi32
1135 enable_gdiplus
1136 enable_glu32
1137 enable_gphoto2_ds
1138 enable_gpkcsp
1139 enable_hal
1140 enable_hhctrl_ocx
1141 enable_hid
1142 enable_hidclass_sys
1143 enable_hidparse_sys
1144 enable_hlink
1145 enable_hnetcfg
1146 enable_http_sys
1147 enable_httpapi
1148 enable_ia2comproxy
1149 enable_iccvid
1150 enable_icmp
1151 enable_ieframe
1152 enable_ieproxy
1153 enable_imaadp32_acm
1154 enable_imagehlp
1155 enable_imm32
1156 enable_inetcomm
1157 enable_inetcpl_cpl
1158 enable_inetmib1
1159 enable_infosoft
1160 enable_initpki
1161 enable_inkobj
1162 enable_inseng
1163 enable_iphlpapi
1164 enable_iprop
1165 enable_irprops_cpl
1166 enable_itircl
1167 enable_itss
1168 enable_joy_cpl
1169 enable_jscript
1170 enable_jsproxy
1171 enable_kerberos
1172 enable_kernel32
1173 enable_kernelbase
1174 enable_ksecdd_sys
1175 enable_ksproxy_ax
1176 enable_ksuser
1177 enable_ktmw32
1178 enable_l3codeca_acm
1179 enable_light_msstyles
1180 enable_loadperf
1181 enable_localspl
1182 enable_localui
1183 enable_lz32
1184 enable_mapi32
1185 enable_mapistub
1186 enable_mciavi32
1187 enable_mcicda
1188 enable_mciqtz32
1189 enable_mciseq
1190 enable_mciwave
1191 enable_mf
1192 enable_mf3216
1193 enable_mferror
1194 enable_mfmediaengine
1195 enable_mfplat
1196 enable_mfplay
1197 enable_mfreadwrite
1198 enable_mfsrcsnk
1199 enable_mgmtapi
1200 enable_midimap
1201 enable_mlang
1202 enable_mmcndmgr
1203 enable_mmdevapi
1204 enable_mountmgr_sys
1205 enable_mp3dmod
1206 enable_mpr
1207 enable_mprapi
1208 enable_msacm32_drv
1209 enable_msacm32
1210 enable_msado15
1211 enable_msadp32_acm
1212 enable_msasn1
1213 enable_mscat32
1214 enable_mscms
1215 enable_mscoree
1216 enable_mscorwks
1217 enable_msctf
1218 enable_msctfmonitor
1219 enable_msctfp
1220 enable_msdaps
1221 enable_msdasql
1222 enable_msdelta
1223 enable_msdmo
1224 enable_msdrm
1225 enable_msftedit
1226 enable_msg711_acm
1227 enable_msgsm32_acm
1228 enable_mshtml_tlb
1229 enable_mshtml
1230 enable_msi
1231 enable_msident
1232 enable_msimg32
1233 enable_msimsg
1234 enable_msimtf
1235 enable_msisip
1236 enable_msisys_ocx
1237 enable_msls31
1238 enable_msnet32
1239 enable_mspatcha
1240 enable_msports
1241 enable_msrle32
1242 enable_msscript_ocx
1243 enable_mssign32
1244 enable_mssip32
1245 enable_mstask
1246 enable_msv1_0
1247 enable_msvcirt
1248 enable_msvcm80
1249 enable_msvcm90
1250 enable_msvcp100
1251 enable_msvcp110
1252 enable_msvcp120
1253 enable_msvcp120_app
1254 enable_msvcp140
1255 enable_msvcp140_1
1256 enable_msvcp140_2
1257 enable_msvcp140_atomic_wait
1258 enable_msvcp60
1259 enable_msvcp70
1260 enable_msvcp71
1261 enable_msvcp80
1262 enable_msvcp90
1263 enable_msvcp_win
1264 enable_msvcr100
1265 enable_msvcr110
1266 enable_msvcr120
1267 enable_msvcr120_app
1268 enable_msvcr70
1269 enable_msvcr71
1270 enable_msvcr80
1271 enable_msvcr90
1272 enable_msvcrt
1273 enable_msvcrt20
1274 enable_msvcrt40
1275 enable_msvcrtd
1276 enable_msvfw32
1277 enable_msvidc32
1278 enable_mswsock
1279 enable_msxml
1280 enable_msxml2
1281 enable_msxml3
1282 enable_msxml4
1283 enable_msxml6
1284 enable_mtxdm
1285 enable_ncrypt
1286 enable_nddeapi
1287 enable_ndis_sys
1288 enable_netapi32
1289 enable_netcfgx
1290 enable_netio_sys
1291 enable_netprofm
1292 enable_netutils
1293 enable_newdev
1294 enable_ninput
1295 enable_normaliz
1296 enable_npmshtml
1297 enable_npptools
1298 enable_nsi
1299 enable_nsiproxy_sys
1300 enable_ntdll
1301 enable_ntdsapi
1302 enable_ntoskrnl_exe
1303 enable_ntprint
1304 enable_objsel
1305 enable_odbc32
1306 enable_odbcbcp
1307 enable_odbccp32
1308 enable_odbccu32
1309 enable_ole32
1310 enable_oleacc
1311 enable_oleaut32
1312 enable_olecli32
1313 enable_oledb32
1314 enable_oledlg
1315 enable_olepro32
1316 enable_olesvr32
1317 enable_olethk32
1318 enable_opcservices
1319 enable_opencl
1320 enable_opengl32
1321 enable_packager
1322 enable_pdh
1323 enable_photometadatahandler
1324 enable_pidgen
1325 enable_powrprof
1326 enable_printui
1327 enable_prntvpt
1328 enable_propsys
1329 enable_psapi
1330 enable_pstorec
1331 enable_pwrshplugin
1332 enable_qasf
1333 enable_qcap
1334 enable_qdvd
1335 enable_qedit
1336 enable_qmgr
1337 enable_qmgrprxy
1338 enable_quartz
1339 enable_query
1340 enable_qwave
1341 enable_rasapi32
1342 enable_rasdlg
1343 enable_regapi
1344 enable_resutils
1345 enable_riched20
1346 enable_riched32
1347 enable_rpcrt4
1348 enable_rsabase
1349 enable_rsaenh
1350 enable_rstrtmgr
1351 enable_rtutils
1352 enable_rtworkq
1353 enable_samlib
1354 enable_sane_ds
1355 enable_sapi
1356 enable_sas
1357 enable_scarddlg
1358 enable_sccbase
1359 enable_schannel
1360 enable_schedsvc
1361 enable_scrobj
1362 enable_scrrun
1363 enable_scsiport_sys
1364 enable_sechost
1365 enable_secur32
1366 enable_security
1367 enable_sensapi
1368 enable_serialui
1369 enable_setupapi
1370 enable_sfc
1371 enable_sfc_os
1372 enable_shcore
1373 enable_shdoclc
1374 enable_shdocvw
1375 enable_shell32
1376 enable_shfolder
1377 enable_shlwapi
1378 enable_slbcsp
1379 enable_slc
1380 enable_snmpapi
1381 enable_softpub
1382 enable_spoolss
1383 enable_sppc
1384 enable_srclient
1385 enable_srvcli
1386 enable_sspicli
1387 enable_stdole2_tlb
1388 enable_stdole32_tlb
1389 enable_sti
1390 enable_strmdll
1391 enable_svrapi
1392 enable_sxs
1393 enable_t2embed
1394 enable_tapi32
1395 enable_taskschd
1396 enable_tbs
1397 enable_tdh
1398 enable_tdi_sys
1399 enable_threadpoolwinrt
1400 enable_traffic
1401 enable_twain_32
1402 enable_tzres
1403 enable_ucrtbase
1404 enable_uianimation
1405 enable_uiautomationcore
1406 enable_uiribbon
1407 enable_unicows
1408 enable_updspapi
1409 enable_url
1410 enable_urlmon
1411 enable_usbd_sys
1412 enable_user32
1413 enable_userenv
1414 enable_usp10
1415 enable_utildll
1416 enable_uxtheme
1417 enable_vbscript
1418 enable_vcomp
1419 enable_vcomp100
1420 enable_vcomp110
1421 enable_vcomp120
1422 enable_vcomp140
1423 enable_vcomp90
1424 enable_vcruntime140
1425 enable_vcruntime140_1
1426 enable_vdmdbg
1427 enable_version
1428 enable_vga
1429 enable_virtdisk
1430 enable_vssapi
1431 enable_vulkan_1
1432 enable_wbemdisp
1433 enable_wbemprox
1434 enable_wdscore
1435 enable_webservices
1436 enable_websocket
1437 enable_wer
1438 enable_wevtapi
1439 enable_wevtsvc
1440 enable_wiaservc
1441 enable_wimgapi
1442 enable_win32u
1443 enable_windows_devices_enumeration
1444 enable_windows_gaming_input
1445 enable_windows_gaming_ui_gamebar
1446 enable_windows_globalization
1447 enable_windows_media_devices
1448 enable_windows_media_speech
1449 enable_windows_networking
1450 enable_windowscodecs
1451 enable_windowscodecsext
1452 enable_winealsa_drv
1453 enable_wineandroid_drv
1454 enable_winebus_sys
1455 enable_winecoreaudio_drv
1456 enable_winecrt0
1457 enable_wined3d
1458 enable_winegstreamer
1459 enable_winehid_sys
1460 enable_winemac_drv
1461 enable_winemapi
1462 enable_wineoss_drv
1463 enable_wineps_drv
1464 enable_winepulse_drv
1465 enable_wineusb_sys
1466 enable_winevulkan
1467 enable_winex11_drv
1468 enable_winexinput_sys
1469 enable_wing32
1470 enable_winhttp
1471 enable_wininet
1472 enable_winmm
1473 enable_winnls32
1474 enable_winscard
1475 enable_winspool_drv
1476 enable_winsta
1477 enable_wintab32
1478 enable_wintrust
1479 enable_wintypes
1480 enable_winusb
1481 enable_wlanapi
1482 enable_wlanui
1483 enable_wldap32
1484 enable_wmasf
1485 enable_wmi
1486 enable_wmiutils
1487 enable_wmp
1488 enable_wmphoto
1489 enable_wmvcore
1490 enable_wnaspi32
1491 enable_wow64
1492 enable_wow64cpu
1493 enable_wow64win
1494 enable_wpc
1495 enable_wpcap
1496 enable_ws2_32
1497 enable_wsdapi
1498 enable_wshom_ocx
1499 enable_wsnmp32
1500 enable_wsock32
1501 enable_wtsapi32
1502 enable_wuapi
1503 enable_wuaueng
1504 enable_x3daudio1_0
1505 enable_x3daudio1_1
1506 enable_x3daudio1_2
1507 enable_x3daudio1_3
1508 enable_x3daudio1_4
1509 enable_x3daudio1_5
1510 enable_x3daudio1_6
1511 enable_x3daudio1_7
1512 enable_xactengine2_0
1513 enable_xactengine2_4
1514 enable_xactengine2_7
1515 enable_xactengine2_9
1516 enable_xactengine3_0
1517 enable_xactengine3_1
1518 enable_xactengine3_2
1519 enable_xactengine3_3
1520 enable_xactengine3_4
1521 enable_xactengine3_5
1522 enable_xactengine3_6
1523 enable_xactengine3_7
1524 enable_xapofx1_1
1525 enable_xapofx1_2
1526 enable_xapofx1_3
1527 enable_xapofx1_4
1528 enable_xapofx1_5
1529 enable_xaudio2_0
1530 enable_xaudio2_1
1531 enable_xaudio2_2
1532 enable_xaudio2_3
1533 enable_xaudio2_4
1534 enable_xaudio2_5
1535 enable_xaudio2_6
1536 enable_xaudio2_7
1537 enable_xaudio2_8
1538 enable_xaudio2_9
1539 enable_xinput1_1
1540 enable_xinput1_2
1541 enable_xinput1_3
1542 enable_xinput1_4
1543 enable_xinput9_1_0
1544 enable_xmllite
1545 enable_xolehlp
1546 enable_xpsprint
1547 enable_xpssvcs
1548 enable_fonts
1549 enable_include
1550 enable_adsiid
1551 enable_dmoguids
1552 enable_dxerr8
1553 enable_dxerr9
1554 enable_dxguid
1555 enable_faudio
1556 enable_gsm
1557 enable_jpeg
1558 enable_jxr
1559 enable_lcms2
1560 enable_ldap
1561 enable_mfuuid
1562 enable_mpg123
1563 enable_png
1564 enable_strmbase
1565 enable_strmiids
1566 enable_tiff
1567 enable_uuid
1568 enable_vkd3d
1569 enable_wbemuuid
1570 enable_wine
1571 enable_wmcodecdspuuid
1572 enable_xml2
1573 enable_xslt
1574 enable_zlib
1575 enable_loader
1576 enable_nls
1577 enable_po
1578 enable_arp
1579 enable_aspnet_regiis
1580 enable_attrib
1581 enable_cabarc
1582 enable_cacls
1583 enable_certutil
1584 enable_chcp_com
1585 enable_clock
1586 enable_cmd
1587 enable_conhost
1588 enable_control
1589 enable_cscript
1590 enable_dism
1591 enable_dllhost
1592 enable_dplaysvr
1593 enable_dpnsvr
1594 enable_dpvsetup
1595 enable_dxdiag
1596 enable_eject
1597 enable_expand
1598 enable_explorer
1599 enable_extrac32
1600 enable_fc
1601 enable_find
1602 enable_findstr
1603 enable_fsutil
1604 enable_hh
1605 enable_hostname
1606 enable_icacls
1607 enable_icinfo
1608 enable_iexplore
1609 enable_ipconfig
1610 enable_lodctr
1611 enable_mofcomp
1612 enable_mshta
1613 enable_msidb
1614 enable_msiexec
1615 enable_msinfo32
1616 enable_net
1617 enable_netsh
1618 enable_netstat
1619 enable_ngen
1620 enable_notepad
1621 enable_oleview
1622 enable_ping
1623 enable_plugplay
1624 enable_powershell
1625 enable_presentationfontcache
1626 enable_progman
1627 enable_reg
1628 enable_regasm
1629 enable_regedit
1630 enable_regini
1631 enable_regsvcs
1632 enable_regsvr32
1633 enable_robocopy
1634 enable_rpcss
1635 enable_rundll32
1636 enable_sc
1637 enable_schtasks
1638 enable_sdbinst
1639 enable_secedit
1640 enable_servicemodelreg
1641 enable_services
1642 enable_setx
1643 enable_shutdown
1644 enable_spoolsv
1645 enable_start
1646 enable_subst
1647 enable_svchost
1648 enable_systeminfo
1649 enable_taskkill
1650 enable_tasklist
1651 enable_taskmgr
1652 enable_termsv
1653 enable_uninstaller
1654 enable_unlodctr
1655 enable_view
1656 enable_wevtutil
1657 enable_where
1658 enable_whoami
1659 enable_wineboot
1660 enable_winebrowser
1661 enable_winecfg
1662 enable_wineconsole
1663 enable_winedbg
1664 enable_winedevice
1665 enable_winefile
1666 enable_winemenubuilder
1667 enable_winemine
1668 enable_winemsibuilder
1669 enable_winepath
1670 enable_winetest
1671 enable_winhlp32
1672 enable_winmgmt
1673 enable_winver
1674 enable_wmic
1675 enable_wmplayer
1676 enable_wordpad
1677 enable_write
1678 enable_wscript
1679 enable_wuauserv
1680 enable_wusa
1681 enable_xcopy
1682 enable_server
1683 enable_tools
1684 enable_sfnt2fon
1685 enable_widl
1686 enable_winebuild
1687 enable_winedump
1688 enable_winegcc
1689 enable_winemaker
1690 enable_wmc
1691 enable_wrc
1693 ac_precious_vars='build_alias
1694 host_alias
1695 target_alias
1697 CFLAGS
1698 LDFLAGS
1699 LIBS
1700 CPPFLAGS
1702 CXXFLAGS
1704 OBJC
1705 OBJCFLAGS
1706 FAUDIO_PE_CFLAGS
1707 FAUDIO_PE_LIBS
1708 GSM_PE_CFLAGS
1709 GSM_PE_LIBS
1710 JPEG_PE_CFLAGS
1711 JPEG_PE_LIBS
1712 JXR_PE_CFLAGS
1713 JXR_PE_LIBS
1714 LCMS2_PE_CFLAGS
1715 LCMS2_PE_LIBS
1716 LDAP_PE_CFLAGS
1717 LDAP_PE_LIBS
1718 MPG123_PE_CFLAGS
1719 MPG123_PE_LIBS
1720 PNG_PE_CFLAGS
1721 PNG_PE_LIBS
1722 TIFF_PE_CFLAGS
1723 TIFF_PE_LIBS
1724 VKD3D_PE_CFLAGS
1725 VKD3D_PE_LIBS
1726 XML2_PE_CFLAGS
1727 XML2_PE_LIBS
1728 XSLT_PE_CFLAGS
1729 XSLT_PE_LIBS
1730 ZLIB_PE_CFLAGS
1731 ZLIB_PE_LIBS
1732 XMKMF
1734 INOTIFY_CFLAGS
1735 INOTIFY_LIBS
1736 DBUS_CFLAGS
1737 DBUS_LIBS
1738 GNUTLS_CFLAGS
1739 GNUTLS_LIBS
1740 SANE_CFLAGS
1741 SANE_LIBS
1742 USB_CFLAGS
1743 USB_LIBS
1744 GPHOTO2_CFLAGS
1745 GPHOTO2_LIBS
1746 GPHOTO2_PORT_CFLAGS
1747 GPHOTO2_PORT_LIBS
1748 FREETYPE_CFLAGS
1749 FREETYPE_LIBS
1750 PULSE_CFLAGS
1751 PULSE_LIBS
1752 GSTREAMER_CFLAGS
1753 GSTREAMER_LIBS
1754 UDEV_CFLAGS
1755 UDEV_LIBS
1756 UNWIND_CFLAGS
1757 UNWIND_LIBS
1758 SDL2_CFLAGS
1759 SDL2_LIBS
1760 CAPI20_CFLAGS
1761 CAPI20_LIBS
1762 CUPS_CFLAGS
1763 CUPS_LIBS
1764 FONTCONFIG_CFLAGS
1765 FONTCONFIG_LIBS
1766 KRB5_CFLAGS
1767 KRB5_LIBS
1768 GSSAPI_CFLAGS
1769 GSSAPI_LIBS
1770 NETAPI_CFLAGS
1771 NETAPI_LIBS'
1774 # Initialize some variables set by options.
1775 ac_init_help=
1776 ac_init_version=false
1777 ac_unrecognized_opts=
1778 ac_unrecognized_sep=
1779 # The variables have the same names as the options, with
1780 # dashes changed to underlines.
1781 cache_file=/dev/null
1782 exec_prefix=NONE
1783 no_create=
1784 no_recursion=
1785 prefix=NONE
1786 program_prefix=NONE
1787 program_suffix=NONE
1788 program_transform_name=s,x,x,
1789 silent=
1790 site=
1791 srcdir=
1792 verbose=
1793 x_includes=NONE
1794 x_libraries=NONE
1796 # Installation directory options.
1797 # These are left unexpanded so users can "make install exec_prefix=/foo"
1798 # and all the variables that are supposed to be based on exec_prefix
1799 # by default will actually change.
1800 # Use braces instead of parens because sh, perl, etc. also accept them.
1801 # (The list follows the same order as the GNU Coding Standards.)
1802 bindir='${exec_prefix}/bin'
1803 sbindir='${exec_prefix}/sbin'
1804 libexecdir='${exec_prefix}/libexec'
1805 datarootdir='${prefix}/share'
1806 datadir='${datarootdir}'
1807 sysconfdir='${prefix}/etc'
1808 sharedstatedir='${prefix}/com'
1809 localstatedir='${prefix}/var'
1810 runstatedir='${localstatedir}/run'
1811 includedir='${prefix}/include'
1812 oldincludedir='/usr/include'
1813 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1814 infodir='${datarootdir}/info'
1815 htmldir='${docdir}'
1816 dvidir='${docdir}'
1817 pdfdir='${docdir}'
1818 psdir='${docdir}'
1819 libdir='${exec_prefix}/lib'
1820 localedir='${datarootdir}/locale'
1821 mandir='${datarootdir}/man'
1823 ac_prev=
1824 ac_dashdash=
1825 for ac_option
1827 # If the previous option needs an argument, assign it.
1828 if test -n "$ac_prev"; then
1829 eval $ac_prev=\$ac_option
1830 ac_prev=
1831 continue
1834 case $ac_option in
1835 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1836 *=) ac_optarg= ;;
1837 *) ac_optarg=yes ;;
1838 esac
1840 case $ac_dashdash$ac_option in
1842 ac_dashdash=yes ;;
1844 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1845 ac_prev=bindir ;;
1846 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1847 bindir=$ac_optarg ;;
1849 -build | --build | --buil | --bui | --bu)
1850 ac_prev=build_alias ;;
1851 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1852 build_alias=$ac_optarg ;;
1854 -cache-file | --cache-file | --cache-fil | --cache-fi \
1855 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1856 ac_prev=cache_file ;;
1857 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1858 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1859 cache_file=$ac_optarg ;;
1861 --config-cache | -C)
1862 cache_file=config.cache ;;
1864 -datadir | --datadir | --datadi | --datad)
1865 ac_prev=datadir ;;
1866 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1867 datadir=$ac_optarg ;;
1869 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1870 | --dataroo | --dataro | --datar)
1871 ac_prev=datarootdir ;;
1872 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1873 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1874 datarootdir=$ac_optarg ;;
1876 -disable-* | --disable-*)
1877 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1878 # Reject names that are not valid shell variable names.
1879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1880 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1881 ac_useropt_orig=$ac_useropt
1882 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1883 case $ac_user_opts in
1885 "enable_$ac_useropt"
1886 "*) ;;
1887 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1888 ac_unrecognized_sep=', ';;
1889 esac
1890 eval enable_$ac_useropt=no ;;
1892 -docdir | --docdir | --docdi | --doc | --do)
1893 ac_prev=docdir ;;
1894 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1895 docdir=$ac_optarg ;;
1897 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1898 ac_prev=dvidir ;;
1899 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1900 dvidir=$ac_optarg ;;
1902 -enable-* | --enable-*)
1903 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1904 # Reject names that are not valid shell variable names.
1905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1906 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1907 ac_useropt_orig=$ac_useropt
1908 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1909 case $ac_user_opts in
1911 "enable_$ac_useropt"
1912 "*) ;;
1913 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1914 ac_unrecognized_sep=', ';;
1915 esac
1916 eval enable_$ac_useropt=\$ac_optarg ;;
1918 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1919 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1920 | --exec | --exe | --ex)
1921 ac_prev=exec_prefix ;;
1922 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1923 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1924 | --exec=* | --exe=* | --ex=*)
1925 exec_prefix=$ac_optarg ;;
1927 -gas | --gas | --ga | --g)
1928 # Obsolete; use --with-gas.
1929 with_gas=yes ;;
1931 -help | --help | --hel | --he | -h)
1932 ac_init_help=long ;;
1933 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1934 ac_init_help=recursive ;;
1935 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1936 ac_init_help=short ;;
1938 -host | --host | --hos | --ho)
1939 ac_prev=host_alias ;;
1940 -host=* | --host=* | --hos=* | --ho=*)
1941 host_alias=$ac_optarg ;;
1943 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1944 ac_prev=htmldir ;;
1945 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1946 | --ht=*)
1947 htmldir=$ac_optarg ;;
1949 -includedir | --includedir | --includedi | --included | --include \
1950 | --includ | --inclu | --incl | --inc)
1951 ac_prev=includedir ;;
1952 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1953 | --includ=* | --inclu=* | --incl=* | --inc=*)
1954 includedir=$ac_optarg ;;
1956 -infodir | --infodir | --infodi | --infod | --info | --inf)
1957 ac_prev=infodir ;;
1958 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1959 infodir=$ac_optarg ;;
1961 -libdir | --libdir | --libdi | --libd)
1962 ac_prev=libdir ;;
1963 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1964 libdir=$ac_optarg ;;
1966 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1967 | --libexe | --libex | --libe)
1968 ac_prev=libexecdir ;;
1969 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1970 | --libexe=* | --libex=* | --libe=*)
1971 libexecdir=$ac_optarg ;;
1973 -localedir | --localedir | --localedi | --localed | --locale)
1974 ac_prev=localedir ;;
1975 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1976 localedir=$ac_optarg ;;
1978 -localstatedir | --localstatedir | --localstatedi | --localstated \
1979 | --localstate | --localstat | --localsta | --localst | --locals)
1980 ac_prev=localstatedir ;;
1981 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1982 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1983 localstatedir=$ac_optarg ;;
1985 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1986 ac_prev=mandir ;;
1987 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1988 mandir=$ac_optarg ;;
1990 -nfp | --nfp | --nf)
1991 # Obsolete; use --without-fp.
1992 with_fp=no ;;
1994 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1995 | --no-cr | --no-c | -n)
1996 no_create=yes ;;
1998 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1999 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2000 no_recursion=yes ;;
2002 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2003 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2004 | --oldin | --oldi | --old | --ol | --o)
2005 ac_prev=oldincludedir ;;
2006 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2007 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2008 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2009 oldincludedir=$ac_optarg ;;
2011 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2012 ac_prev=prefix ;;
2013 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2014 prefix=$ac_optarg ;;
2016 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2017 | --program-pre | --program-pr | --program-p)
2018 ac_prev=program_prefix ;;
2019 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2020 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2021 program_prefix=$ac_optarg ;;
2023 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2024 | --program-suf | --program-su | --program-s)
2025 ac_prev=program_suffix ;;
2026 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2027 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2028 program_suffix=$ac_optarg ;;
2030 -program-transform-name | --program-transform-name \
2031 | --program-transform-nam | --program-transform-na \
2032 | --program-transform-n | --program-transform- \
2033 | --program-transform | --program-transfor \
2034 | --program-transfo | --program-transf \
2035 | --program-trans | --program-tran \
2036 | --progr-tra | --program-tr | --program-t)
2037 ac_prev=program_transform_name ;;
2038 -program-transform-name=* | --program-transform-name=* \
2039 | --program-transform-nam=* | --program-transform-na=* \
2040 | --program-transform-n=* | --program-transform-=* \
2041 | --program-transform=* | --program-transfor=* \
2042 | --program-transfo=* | --program-transf=* \
2043 | --program-trans=* | --program-tran=* \
2044 | --progr-tra=* | --program-tr=* | --program-t=*)
2045 program_transform_name=$ac_optarg ;;
2047 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2048 ac_prev=pdfdir ;;
2049 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2050 pdfdir=$ac_optarg ;;
2052 -psdir | --psdir | --psdi | --psd | --ps)
2053 ac_prev=psdir ;;
2054 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2055 psdir=$ac_optarg ;;
2057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2058 | -silent | --silent | --silen | --sile | --sil)
2059 silent=yes ;;
2061 -runstatedir | --runstatedir | --runstatedi | --runstated \
2062 | --runstate | --runstat | --runsta | --runst | --runs \
2063 | --run | --ru | --r)
2064 ac_prev=runstatedir ;;
2065 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2066 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2067 | --run=* | --ru=* | --r=*)
2068 runstatedir=$ac_optarg ;;
2070 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2071 ac_prev=sbindir ;;
2072 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2073 | --sbi=* | --sb=*)
2074 sbindir=$ac_optarg ;;
2076 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2077 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2078 | --sharedst | --shareds | --shared | --share | --shar \
2079 | --sha | --sh)
2080 ac_prev=sharedstatedir ;;
2081 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2082 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2083 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2084 | --sha=* | --sh=*)
2085 sharedstatedir=$ac_optarg ;;
2087 -site | --site | --sit)
2088 ac_prev=site ;;
2089 -site=* | --site=* | --sit=*)
2090 site=$ac_optarg ;;
2092 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2093 ac_prev=srcdir ;;
2094 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2095 srcdir=$ac_optarg ;;
2097 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2098 | --syscon | --sysco | --sysc | --sys | --sy)
2099 ac_prev=sysconfdir ;;
2100 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2101 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2102 sysconfdir=$ac_optarg ;;
2104 -target | --target | --targe | --targ | --tar | --ta | --t)
2105 ac_prev=target_alias ;;
2106 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2107 target_alias=$ac_optarg ;;
2109 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2110 verbose=yes ;;
2112 -version | --version | --versio | --versi | --vers | -V)
2113 ac_init_version=: ;;
2115 -with-* | --with-*)
2116 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2117 # Reject names that are not valid shell variable names.
2118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2119 as_fn_error $? "invalid package name: \`$ac_useropt'"
2120 ac_useropt_orig=$ac_useropt
2121 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2122 case $ac_user_opts in
2124 "with_$ac_useropt"
2125 "*) ;;
2126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2127 ac_unrecognized_sep=', ';;
2128 esac
2129 eval with_$ac_useropt=\$ac_optarg ;;
2131 -without-* | --without-*)
2132 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2133 # Reject names that are not valid shell variable names.
2134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2135 as_fn_error $? "invalid package name: \`$ac_useropt'"
2136 ac_useropt_orig=$ac_useropt
2137 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2138 case $ac_user_opts in
2140 "with_$ac_useropt"
2141 "*) ;;
2142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2143 ac_unrecognized_sep=', ';;
2144 esac
2145 eval with_$ac_useropt=no ;;
2147 --x)
2148 # Obsolete; use --with-x.
2149 with_x=yes ;;
2151 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2152 | --x-incl | --x-inc | --x-in | --x-i)
2153 ac_prev=x_includes ;;
2154 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2155 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2156 x_includes=$ac_optarg ;;
2158 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2159 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2160 ac_prev=x_libraries ;;
2161 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2162 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2163 x_libraries=$ac_optarg ;;
2165 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2166 Try \`$0 --help' for more information"
2169 *=*)
2170 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2171 # Reject names that are not valid shell variable names.
2172 case $ac_envvar in #(
2173 '' | [0-9]* | *[!_$as_cr_alnum]* )
2174 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2175 esac
2176 eval $ac_envvar=\$ac_optarg
2177 export $ac_envvar ;;
2180 # FIXME: should be removed in autoconf 3.0.
2181 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2183 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2184 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2187 esac
2188 done
2190 if test -n "$ac_prev"; then
2191 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2192 as_fn_error $? "missing argument to $ac_option"
2195 if test -n "$ac_unrecognized_opts"; then
2196 case $enable_option_checking in
2197 no) ;;
2198 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2199 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2200 esac
2203 # Check all directory arguments for consistency.
2204 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2205 datadir sysconfdir sharedstatedir localstatedir includedir \
2206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2207 libdir localedir mandir runstatedir
2209 eval ac_val=\$$ac_var
2210 # Remove trailing slashes.
2211 case $ac_val in
2212 */ )
2213 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2214 eval $ac_var=\$ac_val;;
2215 esac
2216 # Be sure to have absolute directory names.
2217 case $ac_val in
2218 [\\/$]* | ?:[\\/]* ) continue;;
2219 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2220 esac
2221 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2222 done
2224 # There might be people who depend on the old broken behavior: `$host'
2225 # used to hold the argument of --host etc.
2226 # FIXME: To remove some day.
2227 build=$build_alias
2228 host=$host_alias
2229 target=$target_alias
2231 # FIXME: To remove some day.
2232 if test "x$host_alias" != x; then
2233 if test "x$build_alias" = x; then
2234 cross_compiling=maybe
2235 elif test "x$build_alias" != "x$host_alias"; then
2236 cross_compiling=yes
2240 ac_tool_prefix=
2241 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2243 test "$silent" = yes && exec 6>/dev/null
2246 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2247 ac_ls_di=`ls -di .` &&
2248 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2249 as_fn_error $? "working directory cannot be determined"
2250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2251 as_fn_error $? "pwd does not report name of working directory"
2254 # Find the source files, if location was not specified.
2255 if test -z "$srcdir"; then
2256 ac_srcdir_defaulted=yes
2257 # Try the directory containing this script, then the parent directory.
2258 ac_confdir=`$as_dirname -- "$as_myself" ||
2259 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2260 X"$as_myself" : 'X\(//\)[^/]' \| \
2261 X"$as_myself" : 'X\(//\)$' \| \
2262 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2263 printf "%s\n" X"$as_myself" |
2264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2265 s//\1/
2268 /^X\(\/\/\)[^/].*/{
2269 s//\1/
2272 /^X\(\/\/\)$/{
2273 s//\1/
2276 /^X\(\/\).*/{
2277 s//\1/
2280 s/.*/./; q'`
2281 srcdir=$ac_confdir
2282 if test ! -r "$srcdir/$ac_unique_file"; then
2283 srcdir=..
2285 else
2286 ac_srcdir_defaulted=no
2288 if test ! -r "$srcdir/$ac_unique_file"; then
2289 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2290 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2292 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2293 ac_abs_confdir=`(
2294 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2295 pwd)`
2296 # When building in place, set srcdir=.
2297 if test "$ac_abs_confdir" = "$ac_pwd"; then
2298 srcdir=.
2300 # Remove unnecessary trailing slashes from srcdir.
2301 # Double slashes in file names in object file debugging info
2302 # mess up M-x gdb in Emacs.
2303 case $srcdir in
2304 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2305 esac
2306 for ac_var in $ac_precious_vars; do
2307 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2308 eval ac_env_${ac_var}_value=\$${ac_var}
2309 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2310 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2311 done
2314 # Report the --help message.
2316 if test "$ac_init_help" = "long"; then
2317 # Omit some internal or obsolete options to make the list less imposing.
2318 # This message is too long to be a string in the A/UX 3.1 sh.
2319 cat <<_ACEOF
2320 \`configure' configures Wine 7.21 to adapt to many kinds of systems.
2322 Usage: $0 [OPTION]... [VAR=VALUE]...
2324 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2325 VAR=VALUE. See below for descriptions of some of the useful variables.
2327 Defaults for the options are specified in brackets.
2329 Configuration:
2330 -h, --help display this help and exit
2331 --help=short display options specific to this package
2332 --help=recursive display the short help of all the included packages
2333 -V, --version display version information and exit
2334 -q, --quiet, --silent do not print \`checking ...' messages
2335 --cache-file=FILE cache test results in FILE [disabled]
2336 -C, --config-cache alias for \`--cache-file=config.cache'
2337 -n, --no-create do not create output files
2338 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2340 Installation directories:
2341 --prefix=PREFIX install architecture-independent files in PREFIX
2342 [$ac_default_prefix]
2343 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2344 [PREFIX]
2346 By default, \`make install' will install all the files in
2347 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2348 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2349 for instance \`--prefix=\$HOME'.
2351 For better control, use the options below.
2353 Fine tuning of the installation directories:
2354 --bindir=DIR user executables [EPREFIX/bin]
2355 --sbindir=DIR system admin executables [EPREFIX/sbin]
2356 --libexecdir=DIR program executables [EPREFIX/libexec]
2357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2359 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2360 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2361 --libdir=DIR object code libraries [EPREFIX/lib]
2362 --includedir=DIR C header files [PREFIX/include]
2363 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2366 --infodir=DIR info documentation [DATAROOTDIR/info]
2367 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2368 --mandir=DIR man documentation [DATAROOTDIR/man]
2369 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2370 --htmldir=DIR html documentation [DOCDIR]
2371 --dvidir=DIR dvi documentation [DOCDIR]
2372 --pdfdir=DIR pdf documentation [DOCDIR]
2373 --psdir=DIR ps documentation [DOCDIR]
2374 _ACEOF
2376 cat <<\_ACEOF
2378 X features:
2379 --x-includes=DIR X include files are in DIR
2380 --x-libraries=DIR X library files are in DIR
2382 System types:
2383 --build=BUILD configure for building on BUILD [guessed]
2384 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2385 _ACEOF
2388 if test -n "$ac_init_help"; then
2389 case $ac_init_help in
2390 short | recursive ) echo "Configuration of Wine 7.21:";;
2391 esac
2392 cat <<\_ACEOF
2394 Optional Features:
2395 --disable-option-checking ignore unrecognized --enable/--with options
2396 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2397 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2398 --enable-archs={i386,x86_64,arm,aarch64}
2399 enable multiple architectures for PE compilation
2400 --disable-win16 do not include Win16 support
2401 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2402 binaries)
2403 --disable-tests do not build the regression tests
2404 --enable-build-id include .buildid section in output objects
2405 --enable-maintainer-mode
2406 enable maintainer-specific build rules
2407 --enable-silent-rules use silent build rules (override: "make V=1")
2408 --enable-werror treat compilation warnings as errors
2409 --disable-largefile omit support for large files
2411 Optional Packages:
2412 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2413 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2414 --without-alsa do not use the Alsa sound support
2415 --without-capi do not use CAPI (ISDN support)
2416 --without-coreaudio do not use the CoreAudio sound support
2417 --without-cups do not use CUPS
2418 --without-dbus do not use DBus (dynamic device support)
2419 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2420 --without-fontconfig do not use fontconfig
2421 --without-freetype do not use the FreeType library
2422 --without-gettext do not use gettext
2423 --with-gettextpo use the GetTextPO library to rebuild po files
2424 --without-gphoto do not use gphoto (Digital Camera support)
2425 --without-gnutls do not use GnuTLS (schannel support)
2426 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2427 --without-gstreamer do not use GStreamer (codecs support)
2428 --without-inotify do not use inotify (filesystem change notifications)
2429 --without-krb5 do not use krb5 (Kerberos)
2430 --without-mingw do not use the MinGW cross-compiler
2431 --without-netapi do not use the Samba NetAPI library
2432 --without-opencl do not use OpenCL
2433 --without-opengl do not use OpenGL
2434 --without-osmesa do not use the OSMesa library
2435 --without-oss do not use the OSS sound support
2436 --without-pcap do not use the Packet Capture library
2437 --without-pthread do not use the pthread library
2438 --without-pulse do not use PulseAudio sound support
2439 --without-sane do not use SANE (scanner support)
2440 --without-sdl do not use SDL
2441 --without-udev do not use udev (plug and play support)
2442 --without-unwind do not use the libunwind library (exception
2443 handling)
2444 --without-usb do not use the libusb library
2445 --without-v4l2 do not use v4l2 (video capture)
2446 --without-vulkan do not use Vulkan
2447 --without-xcomposite do not use the Xcomposite extension
2448 --without-xcursor do not use the Xcursor extension
2449 --without-xfixes do not use Xfixes for clipboard change notifications
2450 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2451 --without-xinput do not use the Xinput extension
2452 --without-xinput2 do not use the Xinput 2 extension
2453 --without-xrandr do not use Xrandr (multi-monitor support)
2454 --without-xrender do not use the Xrender extension
2455 --without-xshape do not use the Xshape extension
2456 --without-xshm do not use XShm (shared memory extension)
2457 --without-xxf86vm do not use XFree video mode extension
2458 --with-system-dllpath=PATH
2459 load external PE dependencies from colon-separated
2460 path PATH
2461 --with-wine-tools=DIR use Wine tools from directory DIR
2462 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2463 --with-x use the X Window System
2465 Some influential environment variables:
2466 CC C compiler command
2467 CFLAGS C compiler flags
2468 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2469 nonstandard directory <lib dir>
2470 LIBS libraries to pass to the linker, e.g. -l<library>
2471 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2472 you have headers in a nonstandard directory <include dir>
2473 CXX C++ compiler command
2474 CXXFLAGS C++ compiler flags
2475 OBJC Objective C compiler command
2476 OBJCFLAGS Objective C compiler flags
2477 FAUDIO_PE_CFLAGS
2478 C compiler flags for the PE faudio, overriding the bundled
2479 version
2480 FAUDIO_PE_LIBS
2481 Linker flags for the PE faudio, overriding the bundled version
2482 GSM_PE_CFLAGS
2483 C compiler flags for the PE gsm, overriding the bundled version
2484 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2485 JPEG_PE_CFLAGS
2486 C compiler flags for the PE jpeg, overriding the bundled version
2487 JPEG_PE_LIBS
2488 Linker flags for the PE jpeg, overriding the bundled version
2489 JXR_PE_CFLAGS
2490 C compiler flags for the PE jxr, overriding the bundled version
2491 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2492 LCMS2_PE_CFLAGS
2493 C compiler flags for the PE lcms2, overriding the bundled
2494 version
2495 LCMS2_PE_LIBS
2496 Linker flags for the PE lcms2, overriding the bundled version
2497 LDAP_PE_CFLAGS
2498 C compiler flags for the PE ldap, overriding the bundled version
2499 LDAP_PE_LIBS
2500 Linker flags for the PE ldap, overriding the bundled version
2501 MPG123_PE_CFLAGS
2502 C compiler flags for the PE mpg123, overriding the bundled
2503 version
2504 MPG123_PE_LIBS
2505 Linker flags for the PE mpg123, overriding the bundled version
2506 PNG_PE_CFLAGS
2507 C compiler flags for the PE png, overriding the bundled version
2508 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2509 TIFF_PE_CFLAGS
2510 C compiler flags for the PE tiff, overriding the bundled version
2511 TIFF_PE_LIBS
2512 Linker flags for the PE tiff, overriding the bundled version
2513 VKD3D_PE_CFLAGS
2514 C compiler flags for the PE vkd3d, overriding the bundled
2515 version
2516 VKD3D_PE_LIBS
2517 Linker flags for the PE vkd3d, overriding the bundled version
2518 XML2_PE_CFLAGS
2519 C compiler flags for the PE xml2, overriding the bundled version
2520 XML2_PE_LIBS
2521 Linker flags for the PE xml2, overriding the bundled version
2522 XSLT_PE_CFLAGS
2523 C compiler flags for the PE xslt, overriding the bundled version
2524 XSLT_PE_LIBS
2525 Linker flags for the PE xslt, overriding the bundled version
2526 ZLIB_PE_CFLAGS
2527 C compiler flags for the PE zlib, overriding the bundled version
2528 ZLIB_PE_LIBS
2529 Linker flags for the PE zlib, overriding the bundled version
2530 XMKMF Path to xmkmf, Makefile generator for X Window System
2531 CPP C preprocessor
2532 INOTIFY_CFLAGS
2533 C compiler flags for libinotify, overriding pkg-config
2534 INOTIFY_LIBS
2535 Linker flags for libinotify, overriding pkg-config
2536 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2537 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2538 GNUTLS_CFLAGS
2539 C compiler flags for gnutls, overriding pkg-config
2540 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2541 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2542 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2543 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2544 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2545 GPHOTO2_CFLAGS
2546 C compiler flags for libgphoto2, overriding pkg-config
2547 GPHOTO2_LIBS
2548 Linker flags for libgphoto2, overriding pkg-config
2549 GPHOTO2_PORT_CFLAGS
2550 C compiler flags for libgphoto2_port, overriding pkg-config
2551 GPHOTO2_PORT_LIBS
2552 Linker flags for libgphoto2_port, overriding pkg-config
2553 FREETYPE_CFLAGS
2554 C compiler flags for freetype2, overriding pkg-config
2555 FREETYPE_LIBS
2556 Linker flags for freetype2, overriding pkg-config
2557 PULSE_CFLAGS
2558 C compiler flags for libpulse, overriding pkg-config
2559 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2560 GSTREAMER_CFLAGS
2561 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2562 gstreamer-audio-1.0, overriding pkg-config
2563 GSTREAMER_LIBS
2564 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2565 gstreamer-audio-1.0, overriding pkg-config
2566 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2567 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2568 UNWIND_CFLAGS
2569 C compiler flags for libunwind, overriding pkg-config
2570 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2571 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2572 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2573 CAPI20_CFLAGS
2574 C compiler flags for capi20, overriding pkg-config
2575 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2576 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2577 CUPS_LIBS Linker flags for cups, overriding pkg-config
2578 FONTCONFIG_CFLAGS
2579 C compiler flags for fontconfig, overriding pkg-config
2580 FONTCONFIG_LIBS
2581 Linker flags for fontconfig, overriding pkg-config
2582 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2583 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2584 GSSAPI_CFLAGS
2585 C compiler flags for krb5-gssapi, overriding pkg-config
2586 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2587 NETAPI_CFLAGS
2588 C compiler flags for netapi, overriding pkg-config
2589 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2591 Use these variables to override the choices made by `configure' or to help
2592 it to find libraries and programs with nonstandard names/locations.
2594 Report bugs to <wine-devel@winehq.org>.
2595 Wine home page: <https://www.winehq.org>.
2596 _ACEOF
2597 ac_status=$?
2600 if test "$ac_init_help" = "recursive"; then
2601 # If there are subdirs, report their specific --help.
2602 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2603 test -d "$ac_dir" ||
2604 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2605 continue
2606 ac_builddir=.
2608 case "$ac_dir" in
2609 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2611 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2612 # A ".." for each directory in $ac_dir_suffix.
2613 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2614 case $ac_top_builddir_sub in
2615 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2616 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2617 esac ;;
2618 esac
2619 ac_abs_top_builddir=$ac_pwd
2620 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2621 # for backward compatibility:
2622 ac_top_builddir=$ac_top_build_prefix
2624 case $srcdir in
2625 .) # We are building in place.
2626 ac_srcdir=.
2627 ac_top_srcdir=$ac_top_builddir_sub
2628 ac_abs_top_srcdir=$ac_pwd ;;
2629 [\\/]* | ?:[\\/]* ) # Absolute name.
2630 ac_srcdir=$srcdir$ac_dir_suffix;
2631 ac_top_srcdir=$srcdir
2632 ac_abs_top_srcdir=$srcdir ;;
2633 *) # Relative name.
2634 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2635 ac_top_srcdir=$ac_top_build_prefix$srcdir
2636 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2637 esac
2638 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2640 cd "$ac_dir" || { ac_status=$?; continue; }
2641 # Check for configure.gnu first; this name is used for a wrapper for
2642 # Metaconfig's "Configure" on case-insensitive file systems.
2643 if test -f "$ac_srcdir/configure.gnu"; then
2644 echo &&
2645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2646 elif test -f "$ac_srcdir/configure"; then
2647 echo &&
2648 $SHELL "$ac_srcdir/configure" --help=recursive
2649 else
2650 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2651 fi || ac_status=$?
2652 cd "$ac_pwd" || { ac_status=$?; break; }
2653 done
2656 test -n "$ac_init_help" && exit $ac_status
2657 if $ac_init_version; then
2658 cat <<\_ACEOF
2659 Wine configure 7.21
2660 generated by GNU Autoconf 2.71
2662 Copyright (C) 2021 Free Software Foundation, Inc.
2663 This configure script is free software; the Free Software Foundation
2664 gives unlimited permission to copy, distribute and modify it.
2665 _ACEOF
2666 exit
2669 ## ------------------------ ##
2670 ## Autoconf initialization. ##
2671 ## ------------------------ ##
2673 # ac_fn_c_try_compile LINENO
2674 # --------------------------
2675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2676 ac_fn_c_try_compile ()
2678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2679 rm -f conftest.$ac_objext conftest.beam
2680 if { { ac_try="$ac_compile"
2681 case "(($ac_try" in
2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2683 *) ac_try_echo=$ac_try;;
2684 esac
2685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2686 printf "%s\n" "$ac_try_echo"; } >&5
2687 (eval "$ac_compile") 2>conftest.err
2688 ac_status=$?
2689 if test -s conftest.err; then
2690 grep -v '^ *+' conftest.err >conftest.er1
2691 cat conftest.er1 >&5
2692 mv -f conftest.er1 conftest.err
2694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695 test $ac_status = 0; } && {
2696 test -z "$ac_c_werror_flag" ||
2697 test ! -s conftest.err
2698 } && test -s conftest.$ac_objext
2699 then :
2700 ac_retval=0
2701 else $as_nop
2702 printf "%s\n" "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.$ac_ext >&5
2705 ac_retval=1
2707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2708 as_fn_set_status $ac_retval
2710 } # ac_fn_c_try_compile
2712 # ac_fn_cxx_try_compile LINENO
2713 # ----------------------------
2714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2715 ac_fn_cxx_try_compile ()
2717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2718 rm -f conftest.$ac_objext conftest.beam
2719 if { { ac_try="$ac_compile"
2720 case "(($ac_try" in
2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2722 *) ac_try_echo=$ac_try;;
2723 esac
2724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2725 printf "%s\n" "$ac_try_echo"; } >&5
2726 (eval "$ac_compile") 2>conftest.err
2727 ac_status=$?
2728 if test -s conftest.err; then
2729 grep -v '^ *+' conftest.err >conftest.er1
2730 cat conftest.er1 >&5
2731 mv -f conftest.er1 conftest.err
2733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2734 test $ac_status = 0; } && {
2735 test -z "$ac_cxx_werror_flag" ||
2736 test ! -s conftest.err
2737 } && test -s conftest.$ac_objext
2738 then :
2739 ac_retval=0
2740 else $as_nop
2741 printf "%s\n" "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.$ac_ext >&5
2744 ac_retval=1
2746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2747 as_fn_set_status $ac_retval
2749 } # ac_fn_cxx_try_compile
2751 # ac_fn_c_try_link LINENO
2752 # -----------------------
2753 # Try to link conftest.$ac_ext, and return whether this succeeded.
2754 ac_fn_c_try_link ()
2756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2757 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2758 if { { ac_try="$ac_link"
2759 case "(($ac_try" in
2760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2762 esac
2763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2764 printf "%s\n" "$ac_try_echo"; } >&5
2765 (eval "$ac_link") 2>conftest.err
2766 ac_status=$?
2767 if test -s conftest.err; then
2768 grep -v '^ *+' conftest.err >conftest.er1
2769 cat conftest.er1 >&5
2770 mv -f conftest.er1 conftest.err
2772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2773 test $ac_status = 0; } && {
2774 test -z "$ac_c_werror_flag" ||
2775 test ! -s conftest.err
2776 } && test -s conftest$ac_exeext && {
2777 test "$cross_compiling" = yes ||
2778 test -x conftest$ac_exeext
2780 then :
2781 ac_retval=0
2782 else $as_nop
2783 printf "%s\n" "$as_me: failed program was:" >&5
2784 sed 's/^/| /' conftest.$ac_ext >&5
2786 ac_retval=1
2788 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2789 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2790 # interfere with the next link command; also delete a directory that is
2791 # left behind by Apple's compiler. We do this before executing the actions.
2792 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2794 as_fn_set_status $ac_retval
2796 } # ac_fn_c_try_link
2798 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2799 # -------------------------------------------------------
2800 # Tests whether HEADER exists and can be compiled using the include files in
2801 # INCLUDES, setting the cache variable VAR accordingly.
2802 ac_fn_c_check_header_compile ()
2804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2806 printf %s "checking for $2... " >&6; }
2807 if eval test \${$3+y}
2808 then :
2809 printf %s "(cached) " >&6
2810 else $as_nop
2811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h. */
2814 #include <$2>
2815 _ACEOF
2816 if ac_fn_c_try_compile "$LINENO"
2817 then :
2818 eval "$3=yes"
2819 else $as_nop
2820 eval "$3=no"
2822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2824 eval ac_res=\$$3
2825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2826 printf "%s\n" "$ac_res" >&6; }
2827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2829 } # ac_fn_c_check_header_compile
2831 # ac_fn_objc_try_compile LINENO
2832 # -----------------------------
2833 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2834 ac_fn_objc_try_compile ()
2836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2837 rm -f conftest.$ac_objext conftest.beam
2838 if { { ac_try="$ac_compile"
2839 case "(($ac_try" in
2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2841 *) ac_try_echo=$ac_try;;
2842 esac
2843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2844 printf "%s\n" "$ac_try_echo"; } >&5
2845 (eval "$ac_compile") 2>conftest.err
2846 ac_status=$?
2847 if test -s conftest.err; then
2848 grep -v '^ *+' conftest.err >conftest.er1
2849 cat conftest.er1 >&5
2850 mv -f conftest.er1 conftest.err
2852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2853 test $ac_status = 0; } && {
2854 test -z "$ac_objc_werror_flag" ||
2855 test ! -s conftest.err
2856 } && test -s conftest.$ac_objext
2857 then :
2858 ac_retval=0
2859 else $as_nop
2860 printf "%s\n" "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.$ac_ext >&5
2863 ac_retval=1
2865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2866 as_fn_set_status $ac_retval
2868 } # ac_fn_objc_try_compile
2870 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2871 # ----------------------------------------------------------
2872 # Tests whether HEADER exists and can be compiled using the include files in
2873 # INCLUDES, setting the cache variable VAR accordingly.
2874 ac_fn_objc_check_header_compile ()
2876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2878 printf %s "checking for $2... " >&6; }
2879 if eval test \${$3+y}
2880 then :
2881 printf %s "(cached) " >&6
2882 else $as_nop
2883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2884 /* end confdefs.h. */
2886 #include <$2>
2887 _ACEOF
2888 if ac_fn_objc_try_compile "$LINENO"
2889 then :
2890 eval "$3=yes"
2891 else $as_nop
2892 eval "$3=no"
2894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2896 eval ac_res=\$$3
2897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2898 printf "%s\n" "$ac_res" >&6; }
2899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2901 } # ac_fn_objc_check_header_compile
2903 # ac_fn_c_check_func LINENO FUNC VAR
2904 # ----------------------------------
2905 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2906 ac_fn_c_check_func ()
2908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2910 printf %s "checking for $2... " >&6; }
2911 if eval test \${$3+y}
2912 then :
2913 printf %s "(cached) " >&6
2914 else $as_nop
2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2917 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2919 #define $2 innocuous_$2
2921 /* System header to define __stub macros and hopefully few prototypes,
2922 which can conflict with char $2 (); below. */
2924 #include <limits.h>
2925 #undef $2
2927 /* Override any GCC internal prototype to avoid an error.
2928 Use char because int might match the return type of a GCC
2929 builtin and then its argument prototype would still apply. */
2930 #ifdef __cplusplus
2931 extern "C"
2932 #endif
2933 char $2 ();
2934 /* The GNU C library defines this for functions which it implements
2935 to always fail with ENOSYS. Some functions are actually named
2936 something starting with __ and the normal name is an alias. */
2937 #if defined __stub_$2 || defined __stub___$2
2938 choke me
2939 #endif
2942 main (void)
2944 return $2 ();
2946 return 0;
2948 _ACEOF
2949 if ac_fn_c_try_link "$LINENO"
2950 then :
2951 eval "$3=yes"
2952 else $as_nop
2953 eval "$3=no"
2955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2956 conftest$ac_exeext conftest.$ac_ext
2958 eval ac_res=\$$3
2959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2960 printf "%s\n" "$ac_res" >&6; }
2961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2963 } # ac_fn_c_check_func
2965 # ac_fn_c_try_cpp LINENO
2966 # ----------------------
2967 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2968 ac_fn_c_try_cpp ()
2970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2971 if { { ac_try="$ac_cpp conftest.$ac_ext"
2972 case "(($ac_try" in
2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2975 esac
2976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2977 printf "%s\n" "$ac_try_echo"; } >&5
2978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2979 ac_status=$?
2980 if test -s conftest.err; then
2981 grep -v '^ *+' conftest.err >conftest.er1
2982 cat conftest.er1 >&5
2983 mv -f conftest.er1 conftest.err
2985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2986 test $ac_status = 0; } > conftest.i && {
2987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2988 test ! -s conftest.err
2990 then :
2991 ac_retval=0
2992 else $as_nop
2993 printf "%s\n" "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2996 ac_retval=1
2998 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2999 as_fn_set_status $ac_retval
3001 } # ac_fn_c_try_cpp
3003 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3004 # ----------------------------------------------------
3005 # Tries to find if the field MEMBER exists in type AGGR, after including
3006 # INCLUDES, setting cache variable VAR accordingly.
3007 ac_fn_c_check_member ()
3009 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3011 printf %s "checking for $2.$3... " >&6; }
3012 if eval test \${$4+y}
3013 then :
3014 printf %s "(cached) " >&6
3015 else $as_nop
3016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3017 /* end confdefs.h. */
3020 main (void)
3022 static $2 ac_aggr;
3023 if (ac_aggr.$3)
3024 return 0;
3026 return 0;
3028 _ACEOF
3029 if ac_fn_c_try_compile "$LINENO"
3030 then :
3031 eval "$4=yes"
3032 else $as_nop
3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034 /* end confdefs.h. */
3037 main (void)
3039 static $2 ac_aggr;
3040 if (sizeof ac_aggr.$3)
3041 return 0;
3043 return 0;
3045 _ACEOF
3046 if ac_fn_c_try_compile "$LINENO"
3047 then :
3048 eval "$4=yes"
3049 else $as_nop
3050 eval "$4=no"
3052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3056 eval ac_res=\$$4
3057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3058 printf "%s\n" "$ac_res" >&6; }
3059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3061 } # ac_fn_c_check_member
3063 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3064 # -------------------------------------------
3065 # Tests whether TYPE exists after having included INCLUDES, setting cache
3066 # variable VAR accordingly.
3067 ac_fn_c_check_type ()
3069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3071 printf %s "checking for $2... " >&6; }
3072 if eval test \${$3+y}
3073 then :
3074 printf %s "(cached) " >&6
3075 else $as_nop
3076 eval "$3=no"
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3081 main (void)
3083 if (sizeof ($2))
3084 return 0;
3086 return 0;
3088 _ACEOF
3089 if ac_fn_c_try_compile "$LINENO"
3090 then :
3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3095 main (void)
3097 if (sizeof (($2)))
3098 return 0;
3100 return 0;
3102 _ACEOF
3103 if ac_fn_c_try_compile "$LINENO"
3104 then :
3106 else $as_nop
3107 eval "$3=yes"
3109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3113 eval ac_res=\$$3
3114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3115 printf "%s\n" "$ac_res" >&6; }
3116 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3118 } # ac_fn_c_check_type
3119 ac_configure_args_raw=
3120 for ac_arg
3122 case $ac_arg in
3123 *\'*)
3124 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3125 esac
3126 as_fn_append ac_configure_args_raw " '$ac_arg'"
3127 done
3129 case $ac_configure_args_raw in
3130 *$as_nl*)
3131 ac_safe_unquote= ;;
3133 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3134 ac_unsafe_a="$ac_unsafe_z#~"
3135 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3136 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3137 esac
3139 cat >config.log <<_ACEOF
3140 This file contains any messages produced by compilers while
3141 running configure, to aid debugging if configure makes a mistake.
3143 It was created by Wine $as_me 7.21, which was
3144 generated by GNU Autoconf 2.71. Invocation command line was
3146 $ $0$ac_configure_args_raw
3148 _ACEOF
3149 exec 5>>config.log
3151 cat <<_ASUNAME
3152 ## --------- ##
3153 ## Platform. ##
3154 ## --------- ##
3156 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3157 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3158 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3159 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3160 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3162 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3163 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3165 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3166 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3167 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3168 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3169 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3170 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3171 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3173 _ASUNAME
3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176 for as_dir in $PATH
3178 IFS=$as_save_IFS
3179 case $as_dir in #(((
3180 '') as_dir=./ ;;
3181 */) ;;
3182 *) as_dir=$as_dir/ ;;
3183 esac
3184 printf "%s\n" "PATH: $as_dir"
3185 done
3186 IFS=$as_save_IFS
3188 } >&5
3190 cat >&5 <<_ACEOF
3193 ## ----------- ##
3194 ## Core tests. ##
3195 ## ----------- ##
3197 _ACEOF
3200 # Keep a trace of the command line.
3201 # Strip out --no-create and --no-recursion so they do not pile up.
3202 # Strip out --silent because we don't want to record it for future runs.
3203 # Also quote any args containing shell meta-characters.
3204 # Make two passes to allow for proper duplicate-argument suppression.
3205 ac_configure_args=
3206 ac_configure_args0=
3207 ac_configure_args1=
3208 ac_must_keep_next=false
3209 for ac_pass in 1 2
3211 for ac_arg
3213 case $ac_arg in
3214 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3215 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3216 | -silent | --silent | --silen | --sile | --sil)
3217 continue ;;
3218 *\'*)
3219 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3220 esac
3221 case $ac_pass in
3222 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3224 as_fn_append ac_configure_args1 " '$ac_arg'"
3225 if test $ac_must_keep_next = true; then
3226 ac_must_keep_next=false # Got value, back to normal.
3227 else
3228 case $ac_arg in
3229 *=* | --config-cache | -C | -disable-* | --disable-* \
3230 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3231 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3232 | -with-* | --with-* | -without-* | --without-* | --x)
3233 case "$ac_configure_args0 " in
3234 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3235 esac
3237 -* ) ac_must_keep_next=true ;;
3238 esac
3240 as_fn_append ac_configure_args " '$ac_arg'"
3242 esac
3243 done
3244 done
3245 { ac_configure_args0=; unset ac_configure_args0;}
3246 { ac_configure_args1=; unset ac_configure_args1;}
3248 # When interrupted or exit'd, cleanup temporary files, and complete
3249 # config.log. We remove comments because anyway the quotes in there
3250 # would cause problems or look ugly.
3251 # WARNING: Use '\'' to represent an apostrophe within the trap.
3252 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3253 trap 'exit_status=$?
3254 # Sanitize IFS.
3255 IFS=" "" $as_nl"
3256 # Save into config.log some information that might help in debugging.
3258 echo
3260 printf "%s\n" "## ---------------- ##
3261 ## Cache variables. ##
3262 ## ---------------- ##"
3263 echo
3264 # The following way of writing the cache mishandles newlines in values,
3266 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3267 eval ac_val=\$$ac_var
3268 case $ac_val in #(
3269 *${as_nl}*)
3270 case $ac_var in #(
3271 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3272 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3273 esac
3274 case $ac_var in #(
3275 _ | IFS | as_nl) ;; #(
3276 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3277 *) { eval $ac_var=; unset $ac_var;} ;;
3278 esac ;;
3279 esac
3280 done
3281 (set) 2>&1 |
3282 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3283 *${as_nl}ac_space=\ *)
3284 sed -n \
3285 "s/'\''/'\''\\\\'\'''\''/g;
3286 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3287 ;; #(
3289 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3291 esac |
3292 sort
3294 echo
3296 printf "%s\n" "## ----------------- ##
3297 ## Output variables. ##
3298 ## ----------------- ##"
3299 echo
3300 for ac_var in $ac_subst_vars
3302 eval ac_val=\$$ac_var
3303 case $ac_val in
3304 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3305 esac
3306 printf "%s\n" "$ac_var='\''$ac_val'\''"
3307 done | sort
3308 echo
3310 if test -n "$ac_subst_files"; then
3311 printf "%s\n" "## ------------------- ##
3312 ## File substitutions. ##
3313 ## ------------------- ##"
3314 echo
3315 for ac_var in $ac_subst_files
3317 eval ac_val=\$$ac_var
3318 case $ac_val in
3319 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3320 esac
3321 printf "%s\n" "$ac_var='\''$ac_val'\''"
3322 done | sort
3323 echo
3326 if test -s confdefs.h; then
3327 printf "%s\n" "## ----------- ##
3328 ## confdefs.h. ##
3329 ## ----------- ##"
3330 echo
3331 cat confdefs.h
3332 echo
3334 test "$ac_signal" != 0 &&
3335 printf "%s\n" "$as_me: caught signal $ac_signal"
3336 printf "%s\n" "$as_me: exit $exit_status"
3337 } >&5
3338 rm -f core *.core core.conftest.* &&
3339 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3340 exit $exit_status
3342 for ac_signal in 1 2 13 15; do
3343 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3344 done
3345 ac_signal=0
3347 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3348 rm -f -r conftest* confdefs.h
3350 printf "%s\n" "/* confdefs.h */" > confdefs.h
3352 # Predefined preprocessor variables.
3354 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3356 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3358 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3360 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3362 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3364 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3367 # Let the site file select an alternate cache file if it wants to.
3368 # Prefer an explicitly selected file to automatically selected ones.
3369 if test -n "$CONFIG_SITE"; then
3370 ac_site_files="$CONFIG_SITE"
3371 elif test "x$prefix" != xNONE; then
3372 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3373 else
3374 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3377 for ac_site_file in $ac_site_files
3379 case $ac_site_file in #(
3380 */*) :
3381 ;; #(
3382 *) :
3383 ac_site_file=./$ac_site_file ;;
3384 esac
3385 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3387 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3388 sed 's/^/| /' "$ac_site_file" >&5
3389 . "$ac_site_file" \
3390 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3391 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3392 as_fn_error $? "failed to load site script $ac_site_file
3393 See \`config.log' for more details" "$LINENO" 5; }
3395 done
3397 if test -r "$cache_file"; then
3398 # Some versions of bash will fail to source /dev/null (special files
3399 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3400 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3402 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3403 case $cache_file in
3404 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3405 *) . "./$cache_file";;
3406 esac
3408 else
3409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3410 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3411 >$cache_file
3414 # Test code for whether the C compiler supports C89 (global declarations)
3415 ac_c_conftest_c89_globals='
3416 /* Does the compiler advertise C89 conformance?
3417 Do not test the value of __STDC__, because some compilers set it to 0
3418 while being otherwise adequately conformant. */
3419 #if !defined __STDC__
3420 # error "Compiler does not advertise C89 conformance"
3421 #endif
3423 #include <stddef.h>
3424 #include <stdarg.h>
3425 struct stat;
3426 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3427 struct buf { int x; };
3428 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3429 static char *e (p, i)
3430 char **p;
3431 int i;
3433 return p[i];
3435 static char *f (char * (*g) (char **, int), char **p, ...)
3437 char *s;
3438 va_list v;
3439 va_start (v,p);
3440 s = g (p, va_arg (v,int));
3441 va_end (v);
3442 return s;
3445 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3446 function prototypes and stuff, but not \xHH hex character constants.
3447 These do not provoke an error unfortunately, instead are silently treated
3448 as an "x". The following induces an error, until -std is added to get
3449 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3450 array size at least. It is necessary to write \x00 == 0 to get something
3451 that is true only with -std. */
3452 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3454 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3455 inside strings and character constants. */
3456 #define FOO(x) '\''x'\''
3457 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3459 int test (int i, double x);
3460 struct s1 {int (*f) (int a);};
3461 struct s2 {int (*f) (double a);};
3462 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3463 int, int);'
3465 # Test code for whether the C compiler supports C89 (body of main).
3466 ac_c_conftest_c89_main='
3467 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3470 # Test code for whether the C compiler supports C99 (global declarations)
3471 ac_c_conftest_c99_globals='
3472 // Does the compiler advertise C99 conformance?
3473 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3474 # error "Compiler does not advertise C99 conformance"
3475 #endif
3477 #include <stdbool.h>
3478 extern int puts (const char *);
3479 extern int printf (const char *, ...);
3480 extern int dprintf (int, const char *, ...);
3481 extern void *malloc (size_t);
3483 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3484 // dprintf is used instead of fprintf to avoid needing to declare
3485 // FILE and stderr.
3486 #define debug(...) dprintf (2, __VA_ARGS__)
3487 #define showlist(...) puts (#__VA_ARGS__)
3488 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3489 static void
3490 test_varargs_macros (void)
3492 int x = 1234;
3493 int y = 5678;
3494 debug ("Flag");
3495 debug ("X = %d\n", x);
3496 showlist (The first, second, and third items.);
3497 report (x>y, "x is %d but y is %d", x, y);
3500 // Check long long types.
3501 #define BIG64 18446744073709551615ull
3502 #define BIG32 4294967295ul
3503 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3504 #if !BIG_OK
3505 #error "your preprocessor is broken"
3506 #endif
3507 #if BIG_OK
3508 #else
3509 #error "your preprocessor is broken"
3510 #endif
3511 static long long int bignum = -9223372036854775807LL;
3512 static unsigned long long int ubignum = BIG64;
3514 struct incomplete_array
3516 int datasize;
3517 double data[];
3520 struct named_init {
3521 int number;
3522 const wchar_t *name;
3523 double average;
3526 typedef const char *ccp;
3528 static inline int
3529 test_restrict (ccp restrict text)
3531 // See if C++-style comments work.
3532 // Iterate through items via the restricted pointer.
3533 // Also check for declarations in for loops.
3534 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3535 continue;
3536 return 0;
3539 // Check varargs and va_copy.
3540 static bool
3541 test_varargs (const char *format, ...)
3543 va_list args;
3544 va_start (args, format);
3545 va_list args_copy;
3546 va_copy (args_copy, args);
3548 const char *str = "";
3549 int number = 0;
3550 float fnumber = 0;
3552 while (*format)
3554 switch (*format++)
3556 case '\''s'\'': // string
3557 str = va_arg (args_copy, const char *);
3558 break;
3559 case '\''d'\'': // int
3560 number = va_arg (args_copy, int);
3561 break;
3562 case '\''f'\'': // float
3563 fnumber = va_arg (args_copy, double);
3564 break;
3565 default:
3566 break;
3569 va_end (args_copy);
3570 va_end (args);
3572 return *str && number && fnumber;
3576 # Test code for whether the C compiler supports C99 (body of main).
3577 ac_c_conftest_c99_main='
3578 // Check bool.
3579 _Bool success = false;
3580 success |= (argc != 0);
3582 // Check restrict.
3583 if (test_restrict ("String literal") == 0)
3584 success = true;
3585 char *restrict newvar = "Another string";
3587 // Check varargs.
3588 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3589 test_varargs_macros ();
3591 // Check flexible array members.
3592 struct incomplete_array *ia =
3593 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3594 ia->datasize = 10;
3595 for (int i = 0; i < ia->datasize; ++i)
3596 ia->data[i] = i * 1.234;
3598 // Check named initializers.
3599 struct named_init ni = {
3600 .number = 34,
3601 .name = L"Test wide string",
3602 .average = 543.34343,
3605 ni.number = 58;
3607 int dynamic_array[ni.number];
3608 dynamic_array[0] = argv[0][0];
3609 dynamic_array[ni.number - 1] = 543;
3611 // work around unused variable warnings
3612 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3613 || dynamic_array[ni.number - 1] != 543);
3616 # Test code for whether the C compiler supports C11 (global declarations)
3617 ac_c_conftest_c11_globals='
3618 // Does the compiler advertise C11 conformance?
3619 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3620 # error "Compiler does not advertise C11 conformance"
3621 #endif
3623 // Check _Alignas.
3624 char _Alignas (double) aligned_as_double;
3625 char _Alignas (0) no_special_alignment;
3626 extern char aligned_as_int;
3627 char _Alignas (0) _Alignas (int) aligned_as_int;
3629 // Check _Alignof.
3630 enum
3632 int_alignment = _Alignof (int),
3633 int_array_alignment = _Alignof (int[100]),
3634 char_alignment = _Alignof (char)
3636 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3638 // Check _Noreturn.
3639 int _Noreturn does_not_return (void) { for (;;) continue; }
3641 // Check _Static_assert.
3642 struct test_static_assert
3644 int x;
3645 _Static_assert (sizeof (int) <= sizeof (long int),
3646 "_Static_assert does not work in struct");
3647 long int y;
3650 // Check UTF-8 literals.
3651 #define u8 syntax error!
3652 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3654 // Check duplicate typedefs.
3655 typedef long *long_ptr;
3656 typedef long int *long_ptr;
3657 typedef long_ptr long_ptr;
3659 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3660 struct anonymous
3662 union {
3663 struct { int i; int j; };
3664 struct { int k; long int l; } w;
3666 int m;
3667 } v1;
3670 # Test code for whether the C compiler supports C11 (body of main).
3671 ac_c_conftest_c11_main='
3672 _Static_assert ((offsetof (struct anonymous, i)
3673 == offsetof (struct anonymous, w.k)),
3674 "Anonymous union alignment botch");
3675 v1.i = 2;
3676 v1.w.k = 5;
3677 ok |= v1.i != 5;
3680 # Test code for whether the C compiler supports C11 (complete).
3681 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3682 ${ac_c_conftest_c99_globals}
3683 ${ac_c_conftest_c11_globals}
3686 main (int argc, char **argv)
3688 int ok = 0;
3689 ${ac_c_conftest_c89_main}
3690 ${ac_c_conftest_c99_main}
3691 ${ac_c_conftest_c11_main}
3692 return ok;
3696 # Test code for whether the C compiler supports C99 (complete).
3697 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3698 ${ac_c_conftest_c99_globals}
3701 main (int argc, char **argv)
3703 int ok = 0;
3704 ${ac_c_conftest_c89_main}
3705 ${ac_c_conftest_c99_main}
3706 return ok;
3710 # Test code for whether the C compiler supports C89 (complete).
3711 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3714 main (int argc, char **argv)
3716 int ok = 0;
3717 ${ac_c_conftest_c89_main}
3718 return ok;
3722 # Test code for whether the C++ compiler supports C++98 (global declarations)
3723 ac_cxx_conftest_cxx98_globals='
3724 // Does the compiler advertise C++98 conformance?
3725 #if !defined __cplusplus || __cplusplus < 199711L
3726 # error "Compiler does not advertise C++98 conformance"
3727 #endif
3729 // These inclusions are to reject old compilers that
3730 // lack the unsuffixed header files.
3731 #include <cstdlib>
3732 #include <exception>
3734 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3735 extern void assert (int);
3736 namespace std {
3737 extern int strcmp (const char *, const char *);
3740 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3741 using std::exception;
3742 using std::strcmp;
3744 namespace {
3746 void test_exception_syntax()
3748 try {
3749 throw "test";
3750 } catch (const char *s) {
3751 // Extra parentheses suppress a warning when building autoconf itself,
3752 // due to lint rules shared with more typical C programs.
3753 assert (!(strcmp) (s, "test"));
3757 template <typename T> struct test_template
3759 T const val;
3760 explicit test_template(T t) : val(t) {}
3761 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3764 } // anonymous namespace
3767 # Test code for whether the C++ compiler supports C++98 (body of main)
3768 ac_cxx_conftest_cxx98_main='
3769 assert (argc);
3770 assert (! argv[0]);
3772 test_exception_syntax ();
3773 test_template<double> tt (2.0);
3774 assert (tt.add (4) == 6.0);
3775 assert (true && !false);
3779 # Test code for whether the C++ compiler supports C++11 (global declarations)
3780 ac_cxx_conftest_cxx11_globals='
3781 // Does the compiler advertise C++ 2011 conformance?
3782 #if !defined __cplusplus || __cplusplus < 201103L
3783 # error "Compiler does not advertise C++11 conformance"
3784 #endif
3786 namespace cxx11test
3788 constexpr int get_val() { return 20; }
3790 struct testinit
3792 int i;
3793 double d;
3796 class delegate
3798 public:
3799 delegate(int n) : n(n) {}
3800 delegate(): delegate(2354) {}
3802 virtual int getval() { return this->n; };
3803 protected:
3804 int n;
3807 class overridden : public delegate
3809 public:
3810 overridden(int n): delegate(n) {}
3811 virtual int getval() override final { return this->n * 2; }
3814 class nocopy
3816 public:
3817 nocopy(int i): i(i) {}
3818 nocopy() = default;
3819 nocopy(const nocopy&) = delete;
3820 nocopy & operator=(const nocopy&) = delete;
3821 private:
3822 int i;
3825 // for testing lambda expressions
3826 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3828 return f(v);
3831 // for testing variadic templates and trailing return types
3832 template <typename V> auto sum(V first) -> V
3834 return first;
3836 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3838 return first + sum(rest...);
3843 # Test code for whether the C++ compiler supports C++11 (body of main)
3844 ac_cxx_conftest_cxx11_main='
3846 // Test auto and decltype
3847 auto a1 = 6538;
3848 auto a2 = 48573953.4;
3849 auto a3 = "String literal";
3851 int total = 0;
3852 for (auto i = a3; *i; ++i) { total += *i; }
3854 decltype(a2) a4 = 34895.034;
3857 // Test constexpr
3858 short sa[cxx11test::get_val()] = { 0 };
3861 // Test initializer lists
3862 cxx11test::testinit il = { 4323, 435234.23544 };
3865 // Test range-based for
3866 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3867 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3868 for (auto &x : array) { x += 23; }
3871 // Test lambda expressions
3872 using cxx11test::eval;
3873 assert (eval ([](int x) { return x*2; }, 21) == 42);
3874 double d = 2.0;
3875 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3876 assert (d == 5.0);
3877 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3878 assert (d == 5.0);
3881 // Test use of variadic templates
3882 using cxx11test::sum;
3883 auto a = sum(1);
3884 auto b = sum(1, 2);
3885 auto c = sum(1.0, 2.0, 3.0);
3888 // Test constructor delegation
3889 cxx11test::delegate d1;
3890 cxx11test::delegate d2();
3891 cxx11test::delegate d3(45);
3894 // Test override and final
3895 cxx11test::overridden o1(55464);
3898 // Test nullptr
3899 char *c = nullptr;
3902 // Test template brackets
3903 test_template<::test_template<int>> v(test_template<int>(12));
3906 // Unicode literals
3907 char const *utf8 = u8"UTF-8 string \u2500";
3908 char16_t const *utf16 = u"UTF-8 string \u2500";
3909 char32_t const *utf32 = U"UTF-32 string \u2500";
3913 # Test code for whether the C compiler supports C++11 (complete).
3914 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3915 ${ac_cxx_conftest_cxx11_globals}
3918 main (int argc, char **argv)
3920 int ok = 0;
3921 ${ac_cxx_conftest_cxx98_main}
3922 ${ac_cxx_conftest_cxx11_main}
3923 return ok;
3927 # Test code for whether the C compiler supports C++98 (complete).
3928 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3930 main (int argc, char **argv)
3932 int ok = 0;
3933 ${ac_cxx_conftest_cxx98_main}
3934 return ok;
3938 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3939 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3940 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3941 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3942 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3943 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3944 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3945 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3946 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3948 # Auxiliary files required by this configure script.
3949 ac_aux_files="config.guess config.sub"
3951 # Locations in which to look for auxiliary files.
3952 ac_aux_dir_candidates="${srcdir}/tools"
3954 # Search for a directory containing all of the required auxiliary files,
3955 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3956 # If we don't find one directory that contains all the files we need,
3957 # we report the set of missing files from the *first* directory in
3958 # $ac_aux_dir_candidates and give up.
3959 ac_missing_aux_files=""
3960 ac_first_candidate=:
3961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963 as_found=false
3964 for as_dir in $ac_aux_dir_candidates
3966 IFS=$as_save_IFS
3967 case $as_dir in #(((
3968 '') as_dir=./ ;;
3969 */) ;;
3970 *) as_dir=$as_dir/ ;;
3971 esac
3972 as_found=:
3974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3975 ac_aux_dir_found=yes
3976 ac_install_sh=
3977 for ac_aux in $ac_aux_files
3979 # As a special case, if "install-sh" is required, that requirement
3980 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3981 # and $ac_install_sh is set appropriately for whichever one is found.
3982 if test x"$ac_aux" = x"install-sh"
3983 then
3984 if test -f "${as_dir}install-sh"; then
3985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3986 ac_install_sh="${as_dir}install-sh -c"
3987 elif test -f "${as_dir}install.sh"; then
3988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3989 ac_install_sh="${as_dir}install.sh -c"
3990 elif test -f "${as_dir}shtool"; then
3991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3992 ac_install_sh="${as_dir}shtool install -c"
3993 else
3994 ac_aux_dir_found=no
3995 if $ac_first_candidate; then
3996 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3997 else
3998 break
4001 else
4002 if test -f "${as_dir}${ac_aux}"; then
4003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4004 else
4005 ac_aux_dir_found=no
4006 if $ac_first_candidate; then
4007 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4008 else
4009 break
4013 done
4014 if test "$ac_aux_dir_found" = yes; then
4015 ac_aux_dir="$as_dir"
4016 break
4018 ac_first_candidate=false
4020 as_found=false
4021 done
4022 IFS=$as_save_IFS
4023 if $as_found
4024 then :
4026 else $as_nop
4027 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4031 # These three variables are undocumented and unsupported,
4032 # and are intended to be withdrawn in a future Autoconf release.
4033 # They can cause serious problems if a builder's source tree is in a directory
4034 # whose full name contains unusual characters.
4035 if test -f "${ac_aux_dir}config.guess"; then
4036 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4038 if test -f "${ac_aux_dir}config.sub"; then
4039 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4041 if test -f "$ac_aux_dir/configure"; then
4042 ac_configure="$SHELL ${ac_aux_dir}configure"
4045 # Check that the precious variables saved in the cache have kept the same
4046 # value.
4047 ac_cache_corrupted=false
4048 for ac_var in $ac_precious_vars; do
4049 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4050 eval ac_new_set=\$ac_env_${ac_var}_set
4051 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4052 eval ac_new_val=\$ac_env_${ac_var}_value
4053 case $ac_old_set,$ac_new_set in
4054 set,)
4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4056 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4057 ac_cache_corrupted=: ;;
4058 ,set)
4059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4060 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4061 ac_cache_corrupted=: ;;
4062 ,);;
4064 if test "x$ac_old_val" != "x$ac_new_val"; then
4065 # differences in whitespace do not lead to failure.
4066 ac_old_val_w=`echo x $ac_old_val`
4067 ac_new_val_w=`echo x $ac_new_val`
4068 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4070 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4071 ac_cache_corrupted=:
4072 else
4073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4074 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4075 eval $ac_var=\$ac_old_val
4077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4078 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4080 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4081 fi;;
4082 esac
4083 # Pass precious variables to config.status.
4084 if test "$ac_new_set" = set; then
4085 case $ac_new_val in
4086 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4087 *) ac_arg=$ac_var=$ac_new_val ;;
4088 esac
4089 case " $ac_configure_args " in
4090 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4091 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4092 esac
4094 done
4095 if $ac_cache_corrupted; then
4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4097 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4099 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4100 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4101 and start over" "$LINENO" 5
4103 ## -------------------- ##
4104 ## Main body of script. ##
4105 ## -------------------- ##
4107 ac_ext=c
4108 ac_cpp='$CPP $CPPFLAGS'
4109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4115 ac_config_headers="$ac_config_headers include/config.h"
4119 libwine_version="1.0"
4122 # Check whether --enable-archs was given.
4123 if test ${enable_archs+y}
4124 then :
4125 enableval=$enable_archs;
4128 # Check whether --enable-win16 was given.
4129 if test ${enable_win16+y}
4130 then :
4131 enableval=$enable_win16;
4134 # Check whether --enable-win64 was given.
4135 if test ${enable_win64+y}
4136 then :
4137 enableval=$enable_win64;
4140 # Check whether --enable-tests was given.
4141 if test ${enable_tests+y}
4142 then :
4143 enableval=$enable_tests;
4146 # Check whether --enable-build-id was given.
4147 if test ${enable_build_id+y}
4148 then :
4149 enableval=$enable_build_id;
4152 # Check whether --enable-maintainer-mode was given.
4153 if test ${enable_maintainer_mode+y}
4154 then :
4155 enableval=$enable_maintainer_mode;
4158 # Check whether --enable-silent-rules was given.
4159 if test ${enable_silent_rules+y}
4160 then :
4161 enableval=$enable_silent_rules;
4164 # Check whether --enable-werror was given.
4165 if test ${enable_werror+y}
4166 then :
4167 enableval=$enable_werror;
4172 # Check whether --with-alsa was given.
4173 if test ${with_alsa+y}
4174 then :
4175 withval=$with_alsa;
4179 # Check whether --with-capi was given.
4180 if test ${with_capi+y}
4181 then :
4182 withval=$with_capi;
4186 # Check whether --with-coreaudio was given.
4187 if test ${with_coreaudio+y}
4188 then :
4189 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4193 # Check whether --with-cups was given.
4194 if test ${with_cups+y}
4195 then :
4196 withval=$with_cups;
4200 # Check whether --with-dbus was given.
4201 if test ${with_dbus+y}
4202 then :
4203 withval=$with_dbus;
4207 # Check whether --with-float-abi was given.
4208 if test ${with_float_abi+y}
4209 then :
4210 withval=$with_float_abi;
4214 # Check whether --with-fontconfig was given.
4215 if test ${with_fontconfig+y}
4216 then :
4217 withval=$with_fontconfig;
4221 # Check whether --with-freetype was given.
4222 if test ${with_freetype+y}
4223 then :
4224 withval=$with_freetype;
4228 # Check whether --with-gettext was given.
4229 if test ${with_gettext+y}
4230 then :
4231 withval=$with_gettext;
4235 # Check whether --with-gettextpo was given.
4236 if test ${with_gettextpo+y}
4237 then :
4238 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4242 # Check whether --with-gphoto was given.
4243 if test ${with_gphoto+y}
4244 then :
4245 withval=$with_gphoto;
4249 # Check whether --with-gnutls was given.
4250 if test ${with_gnutls+y}
4251 then :
4252 withval=$with_gnutls;
4256 # Check whether --with-gssapi was given.
4257 if test ${with_gssapi+y}
4258 then :
4259 withval=$with_gssapi;
4263 # Check whether --with-gstreamer was given.
4264 if test ${with_gstreamer+y}
4265 then :
4266 withval=$with_gstreamer;
4270 # Check whether --with-inotify was given.
4271 if test ${with_inotify+y}
4272 then :
4273 withval=$with_inotify;
4277 # Check whether --with-krb5 was given.
4278 if test ${with_krb5+y}
4279 then :
4280 withval=$with_krb5;
4284 # Check whether --with-mingw was given.
4285 if test ${with_mingw+y}
4286 then :
4287 withval=$with_mingw;
4291 # Check whether --with-netapi was given.
4292 if test ${with_netapi+y}
4293 then :
4294 withval=$with_netapi;
4298 # Check whether --with-opencl was given.
4299 if test ${with_opencl+y}
4300 then :
4301 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4305 # Check whether --with-opengl was given.
4306 if test ${with_opengl+y}
4307 then :
4308 withval=$with_opengl;
4312 # Check whether --with-osmesa was given.
4313 if test ${with_osmesa+y}
4314 then :
4315 withval=$with_osmesa;
4319 # Check whether --with-oss was given.
4320 if test ${with_oss+y}
4321 then :
4322 withval=$with_oss;
4326 # Check whether --with-pcap was given.
4327 if test ${with_pcap+y}
4328 then :
4329 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4333 # Check whether --with-pthread was given.
4334 if test ${with_pthread+y}
4335 then :
4336 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4340 # Check whether --with-pulse was given.
4341 if test ${with_pulse+y}
4342 then :
4343 withval=$with_pulse;
4347 # Check whether --with-sane was given.
4348 if test ${with_sane+y}
4349 then :
4350 withval=$with_sane;
4354 # Check whether --with-sdl was given.
4355 if test ${with_sdl+y}
4356 then :
4357 withval=$with_sdl;
4361 # Check whether --with-udev was given.
4362 if test ${with_udev+y}
4363 then :
4364 withval=$with_udev;
4368 # Check whether --with-unwind was given.
4369 if test ${with_unwind+y}
4370 then :
4371 withval=$with_unwind;
4375 # Check whether --with-usb was given.
4376 if test ${with_usb+y}
4377 then :
4378 withval=$with_usb;
4382 # Check whether --with-v4l2 was given.
4383 if test ${with_v4l2+y}
4384 then :
4385 withval=$with_v4l2;
4389 # Check whether --with-vulkan was given.
4390 if test ${with_vulkan+y}
4391 then :
4392 withval=$with_vulkan;
4396 # Check whether --with-xcomposite was given.
4397 if test ${with_xcomposite+y}
4398 then :
4399 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4403 # Check whether --with-xcursor was given.
4404 if test ${with_xcursor+y}
4405 then :
4406 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4410 # Check whether --with-xfixes was given.
4411 if test ${with_xfixes+y}
4412 then :
4413 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4417 # Check whether --with-xinerama was given.
4418 if test ${with_xinerama+y}
4419 then :
4420 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4424 # Check whether --with-xinput was given.
4425 if test ${with_xinput+y}
4426 then :
4427 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4431 # Check whether --with-xinput2 was given.
4432 if test ${with_xinput2+y}
4433 then :
4434 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4438 # Check whether --with-xrandr was given.
4439 if test ${with_xrandr+y}
4440 then :
4441 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4445 # Check whether --with-xrender was given.
4446 if test ${with_xrender+y}
4447 then :
4448 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4452 # Check whether --with-xshape was given.
4453 if test ${with_xshape+y}
4454 then :
4455 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4459 # Check whether --with-xshm was given.
4460 if test ${with_xshm+y}
4461 then :
4462 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4466 # Check whether --with-xxf86vm was given.
4467 if test ${with_xxf86vm+y}
4468 then :
4469 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
4474 # Check whether --with-system-dllpath was given.
4475 if test ${with_system_dllpath+y}
4476 then :
4477 withval=$with_system_dllpath; system_dllpath=$withval
4482 # Check whether --with-wine-tools was given.
4483 if test ${with_wine_tools+y}
4484 then :
4485 withval=$with_wine_tools;
4489 # Check whether --with-wine64 was given.
4490 if test ${with_wine64+y}
4491 then :
4492 withval=$with_wine64;
4499 # Make sure we can run config.sub.
4500 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4501 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4504 printf %s "checking build system type... " >&6; }
4505 if test ${ac_cv_build+y}
4506 then :
4507 printf %s "(cached) " >&6
4508 else $as_nop
4509 ac_build_alias=$build_alias
4510 test "x$ac_build_alias" = x &&
4511 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4512 test "x$ac_build_alias" = x &&
4513 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4514 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4515 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4519 printf "%s\n" "$ac_cv_build" >&6; }
4520 case $ac_cv_build in
4521 *-*-*) ;;
4522 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4523 esac
4524 build=$ac_cv_build
4525 ac_save_IFS=$IFS; IFS='-'
4526 set x $ac_cv_build
4527 shift
4528 build_cpu=$1
4529 build_vendor=$2
4530 shift; shift
4531 # Remember, the first character of IFS is used to create $*,
4532 # except with old shells:
4533 build_os=$*
4534 IFS=$ac_save_IFS
4535 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4539 printf %s "checking host system type... " >&6; }
4540 if test ${ac_cv_host+y}
4541 then :
4542 printf %s "(cached) " >&6
4543 else $as_nop
4544 if test "x$host_alias" = x; then
4545 ac_cv_host=$ac_cv_build
4546 else
4547 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4548 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4553 printf "%s\n" "$ac_cv_host" >&6; }
4554 case $ac_cv_host in
4555 *-*-*) ;;
4556 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4557 esac
4558 host=$ac_cv_host
4559 ac_save_IFS=$IFS; IFS='-'
4560 set x $ac_cv_host
4561 shift
4562 host_cpu=$1
4563 host_vendor=$2
4564 shift; shift
4565 # Remember, the first character of IFS is used to create $*,
4566 # except with old shells:
4567 host_os=$*
4568 IFS=$ac_save_IFS
4569 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4573 dlldir=\${libdir}/wine
4575 fontdir=\${datadir}/wine/fonts
4577 nlsdir=\${datadir}/wine/nls
4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4583 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4584 set x ${MAKE-make}
4585 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4586 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4587 then :
4588 printf %s "(cached) " >&6
4589 else $as_nop
4590 cat >conftest.make <<\_ACEOF
4591 SHELL = /bin/sh
4592 all:
4593 @echo '@@@%%%=$(MAKE)=@@@%%%'
4594 _ACEOF
4595 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4596 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4597 *@@@%%%=?*=@@@%%%*)
4598 eval ac_cv_prog_make_${ac_make}_set=yes;;
4600 eval ac_cv_prog_make_${ac_make}_set=no;;
4601 esac
4602 rm -f conftest.make
4604 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4606 printf "%s\n" "yes" >&6; }
4607 SET_MAKE=
4608 else
4609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4610 printf "%s\n" "no" >&6; }
4611 SET_MAKE="MAKE=${MAKE-make}"
4623 ac_ext=c
4624 ac_cpp='$CPP $CPPFLAGS'
4625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4628 if test -n "$ac_tool_prefix"; then
4629 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4630 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4632 printf %s "checking for $ac_word... " >&6; }
4633 if test ${ac_cv_prog_CC+y}
4634 then :
4635 printf %s "(cached) " >&6
4636 else $as_nop
4637 if test -n "$CC"; then
4638 ac_cv_prog_CC="$CC" # Let the user override the test.
4639 else
4640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641 for as_dir in $PATH
4643 IFS=$as_save_IFS
4644 case $as_dir in #(((
4645 '') as_dir=./ ;;
4646 */) ;;
4647 *) as_dir=$as_dir/ ;;
4648 esac
4649 for ac_exec_ext in '' $ac_executable_extensions; do
4650 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4651 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4653 break 2
4655 done
4656 done
4657 IFS=$as_save_IFS
4661 CC=$ac_cv_prog_CC
4662 if test -n "$CC"; then
4663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4664 printf "%s\n" "$CC" >&6; }
4665 else
4666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4667 printf "%s\n" "no" >&6; }
4672 if test -z "$ac_cv_prog_CC"; then
4673 ac_ct_CC=$CC
4674 # Extract the first word of "gcc", so it can be a program name with args.
4675 set dummy gcc; ac_word=$2
4676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4677 printf %s "checking for $ac_word... " >&6; }
4678 if test ${ac_cv_prog_ac_ct_CC+y}
4679 then :
4680 printf %s "(cached) " >&6
4681 else $as_nop
4682 if test -n "$ac_ct_CC"; then
4683 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4684 else
4685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686 for as_dir in $PATH
4688 IFS=$as_save_IFS
4689 case $as_dir in #(((
4690 '') as_dir=./ ;;
4691 */) ;;
4692 *) as_dir=$as_dir/ ;;
4693 esac
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4695 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4696 ac_cv_prog_ac_ct_CC="gcc"
4697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4698 break 2
4700 done
4701 done
4702 IFS=$as_save_IFS
4706 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4707 if test -n "$ac_ct_CC"; then
4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4709 printf "%s\n" "$ac_ct_CC" >&6; }
4710 else
4711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 printf "%s\n" "no" >&6; }
4715 if test "x$ac_ct_CC" = x; then
4716 CC=""
4717 else
4718 case $cross_compiling:$ac_tool_warned in
4719 yes:)
4720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4721 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4722 ac_tool_warned=yes ;;
4723 esac
4724 CC=$ac_ct_CC
4726 else
4727 CC="$ac_cv_prog_CC"
4730 if test -z "$CC"; then
4731 if test -n "$ac_tool_prefix"; then
4732 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4733 set dummy ${ac_tool_prefix}cc; ac_word=$2
4734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4735 printf %s "checking for $ac_word... " >&6; }
4736 if test ${ac_cv_prog_CC+y}
4737 then :
4738 printf %s "(cached) " >&6
4739 else $as_nop
4740 if test -n "$CC"; then
4741 ac_cv_prog_CC="$CC" # Let the user override the test.
4742 else
4743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4744 for as_dir in $PATH
4746 IFS=$as_save_IFS
4747 case $as_dir in #(((
4748 '') as_dir=./ ;;
4749 */) ;;
4750 *) as_dir=$as_dir/ ;;
4751 esac
4752 for ac_exec_ext in '' $ac_executable_extensions; do
4753 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4754 ac_cv_prog_CC="${ac_tool_prefix}cc"
4755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4756 break 2
4758 done
4759 done
4760 IFS=$as_save_IFS
4764 CC=$ac_cv_prog_CC
4765 if test -n "$CC"; then
4766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4767 printf "%s\n" "$CC" >&6; }
4768 else
4769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4770 printf "%s\n" "no" >&6; }
4776 if test -z "$CC"; then
4777 # Extract the first word of "cc", so it can be a program name with args.
4778 set dummy cc; ac_word=$2
4779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4780 printf %s "checking for $ac_word... " >&6; }
4781 if test ${ac_cv_prog_CC+y}
4782 then :
4783 printf %s "(cached) " >&6
4784 else $as_nop
4785 if test -n "$CC"; then
4786 ac_cv_prog_CC="$CC" # Let the user override the test.
4787 else
4788 ac_prog_rejected=no
4789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4790 for as_dir in $PATH
4792 IFS=$as_save_IFS
4793 case $as_dir in #(((
4794 '') as_dir=./ ;;
4795 */) ;;
4796 *) as_dir=$as_dir/ ;;
4797 esac
4798 for ac_exec_ext in '' $ac_executable_extensions; do
4799 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4800 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4801 ac_prog_rejected=yes
4802 continue
4804 ac_cv_prog_CC="cc"
4805 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4806 break 2
4808 done
4809 done
4810 IFS=$as_save_IFS
4812 if test $ac_prog_rejected = yes; then
4813 # We found a bogon in the path, so make sure we never use it.
4814 set dummy $ac_cv_prog_CC
4815 shift
4816 if test $# != 0; then
4817 # We chose a different compiler from the bogus one.
4818 # However, it has the same basename, so the bogon will be chosen
4819 # first if we set CC to just the basename; use the full file name.
4820 shift
4821 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4826 CC=$ac_cv_prog_CC
4827 if test -n "$CC"; then
4828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4829 printf "%s\n" "$CC" >&6; }
4830 else
4831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4832 printf "%s\n" "no" >&6; }
4837 if test -z "$CC"; then
4838 if test -n "$ac_tool_prefix"; then
4839 for ac_prog in cl.exe
4841 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4842 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4844 printf %s "checking for $ac_word... " >&6; }
4845 if test ${ac_cv_prog_CC+y}
4846 then :
4847 printf %s "(cached) " >&6
4848 else $as_nop
4849 if test -n "$CC"; then
4850 ac_cv_prog_CC="$CC" # Let the user override the test.
4851 else
4852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4853 for as_dir in $PATH
4855 IFS=$as_save_IFS
4856 case $as_dir in #(((
4857 '') as_dir=./ ;;
4858 */) ;;
4859 *) as_dir=$as_dir/ ;;
4860 esac
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4865 break 2
4867 done
4868 done
4869 IFS=$as_save_IFS
4873 CC=$ac_cv_prog_CC
4874 if test -n "$CC"; then
4875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4876 printf "%s\n" "$CC" >&6; }
4877 else
4878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 printf "%s\n" "no" >&6; }
4883 test -n "$CC" && break
4884 done
4886 if test -z "$CC"; then
4887 ac_ct_CC=$CC
4888 for ac_prog in cl.exe
4890 # Extract the first word of "$ac_prog", so it can be a program name with args.
4891 set dummy $ac_prog; ac_word=$2
4892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893 printf %s "checking for $ac_word... " >&6; }
4894 if test ${ac_cv_prog_ac_ct_CC+y}
4895 then :
4896 printf %s "(cached) " >&6
4897 else $as_nop
4898 if test -n "$ac_ct_CC"; then
4899 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4900 else
4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902 for as_dir in $PATH
4904 IFS=$as_save_IFS
4905 case $as_dir in #(((
4906 '') as_dir=./ ;;
4907 */) ;;
4908 *) as_dir=$as_dir/ ;;
4909 esac
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_ac_ct_CC="$ac_prog"
4913 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4914 break 2
4916 done
4917 done
4918 IFS=$as_save_IFS
4922 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4923 if test -n "$ac_ct_CC"; then
4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4925 printf "%s\n" "$ac_ct_CC" >&6; }
4926 else
4927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 printf "%s\n" "no" >&6; }
4932 test -n "$ac_ct_CC" && break
4933 done
4935 if test "x$ac_ct_CC" = x; then
4936 CC=""
4937 else
4938 case $cross_compiling:$ac_tool_warned in
4939 yes:)
4940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4941 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4942 ac_tool_warned=yes ;;
4943 esac
4944 CC=$ac_ct_CC
4949 if test -z "$CC"; then
4950 if test -n "$ac_tool_prefix"; then
4951 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4952 set dummy ${ac_tool_prefix}clang; ac_word=$2
4953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4954 printf %s "checking for $ac_word... " >&6; }
4955 if test ${ac_cv_prog_CC+y}
4956 then :
4957 printf %s "(cached) " >&6
4958 else $as_nop
4959 if test -n "$CC"; then
4960 ac_cv_prog_CC="$CC" # Let the user override the test.
4961 else
4962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4963 for as_dir in $PATH
4965 IFS=$as_save_IFS
4966 case $as_dir in #(((
4967 '') as_dir=./ ;;
4968 */) ;;
4969 *) as_dir=$as_dir/ ;;
4970 esac
4971 for ac_exec_ext in '' $ac_executable_extensions; do
4972 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4973 ac_cv_prog_CC="${ac_tool_prefix}clang"
4974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4975 break 2
4977 done
4978 done
4979 IFS=$as_save_IFS
4983 CC=$ac_cv_prog_CC
4984 if test -n "$CC"; then
4985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4986 printf "%s\n" "$CC" >&6; }
4987 else
4988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 printf "%s\n" "no" >&6; }
4994 if test -z "$ac_cv_prog_CC"; then
4995 ac_ct_CC=$CC
4996 # Extract the first word of "clang", so it can be a program name with args.
4997 set dummy clang; ac_word=$2
4998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 printf %s "checking for $ac_word... " >&6; }
5000 if test ${ac_cv_prog_ac_ct_CC+y}
5001 then :
5002 printf %s "(cached) " >&6
5003 else $as_nop
5004 if test -n "$ac_ct_CC"; then
5005 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5006 else
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5008 for as_dir in $PATH
5010 IFS=$as_save_IFS
5011 case $as_dir in #(((
5012 '') as_dir=./ ;;
5013 */) ;;
5014 *) as_dir=$as_dir/ ;;
5015 esac
5016 for ac_exec_ext in '' $ac_executable_extensions; do
5017 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5018 ac_cv_prog_ac_ct_CC="clang"
5019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5020 break 2
5022 done
5023 done
5024 IFS=$as_save_IFS
5028 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5029 if test -n "$ac_ct_CC"; then
5030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5031 printf "%s\n" "$ac_ct_CC" >&6; }
5032 else
5033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5034 printf "%s\n" "no" >&6; }
5037 if test "x$ac_ct_CC" = x; then
5038 CC=""
5039 else
5040 case $cross_compiling:$ac_tool_warned in
5041 yes:)
5042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5043 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5044 ac_tool_warned=yes ;;
5045 esac
5046 CC=$ac_ct_CC
5048 else
5049 CC="$ac_cv_prog_CC"
5055 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5056 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5057 as_fn_error $? "no acceptable C compiler found in \$PATH
5058 See \`config.log' for more details" "$LINENO" 5; }
5060 # Provide some information about the compiler.
5061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5062 set X $ac_compile
5063 ac_compiler=$2
5064 for ac_option in --version -v -V -qversion -version; do
5065 { { ac_try="$ac_compiler $ac_option >&5"
5066 case "(($ac_try" in
5067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5068 *) ac_try_echo=$ac_try;;
5069 esac
5070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5071 printf "%s\n" "$ac_try_echo"; } >&5
5072 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5073 ac_status=$?
5074 if test -s conftest.err; then
5075 sed '10a\
5076 ... rest of stderr output deleted ...
5077 10q' conftest.err >conftest.er1
5078 cat conftest.er1 >&5
5080 rm -f conftest.er1 conftest.err
5081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5082 test $ac_status = 0; }
5083 done
5085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5086 /* end confdefs.h. */
5089 main (void)
5093 return 0;
5095 _ACEOF
5096 ac_clean_files_save=$ac_clean_files
5097 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5098 # Try to create an executable without -o first, disregard a.out.
5099 # It will help us diagnose broken compilers, and finding out an intuition
5100 # of exeext.
5101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5102 printf %s "checking whether the C compiler works... " >&6; }
5103 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5105 # The possible output files:
5106 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5108 ac_rmfiles=
5109 for ac_file in $ac_files
5111 case $ac_file in
5112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5113 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5114 esac
5115 done
5116 rm -f $ac_rmfiles
5118 if { { ac_try="$ac_link_default"
5119 case "(($ac_try" in
5120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5121 *) ac_try_echo=$ac_try;;
5122 esac
5123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5124 printf "%s\n" "$ac_try_echo"; } >&5
5125 (eval "$ac_link_default") 2>&5
5126 ac_status=$?
5127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5128 test $ac_status = 0; }
5129 then :
5130 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5131 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5132 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5133 # so that the user can short-circuit this test for compilers unknown to
5134 # Autoconf.
5135 for ac_file in $ac_files ''
5137 test -f "$ac_file" || continue
5138 case $ac_file in
5139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5141 [ab].out )
5142 # We found the default executable, but exeext='' is most
5143 # certainly right.
5144 break;;
5145 *.* )
5146 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5147 then :; else
5148 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5150 # We set ac_cv_exeext here because the later test for it is not
5151 # safe: cross compilers may not add the suffix if given an `-o'
5152 # argument, so we may need to know it at that point already.
5153 # Even if this section looks crufty: it has the advantage of
5154 # actually working.
5155 break;;
5157 break;;
5158 esac
5159 done
5160 test "$ac_cv_exeext" = no && ac_cv_exeext=
5162 else $as_nop
5163 ac_file=''
5165 if test -z "$ac_file"
5166 then :
5167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 printf "%s\n" "no" >&6; }
5169 printf "%s\n" "$as_me: failed program was:" >&5
5170 sed 's/^/| /' conftest.$ac_ext >&5
5172 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5173 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5174 as_fn_error 77 "C compiler cannot create executables
5175 See \`config.log' for more details" "$LINENO" 5; }
5176 else $as_nop
5177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5178 printf "%s\n" "yes" >&6; }
5180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5181 printf %s "checking for C compiler default output file name... " >&6; }
5182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5183 printf "%s\n" "$ac_file" >&6; }
5184 ac_exeext=$ac_cv_exeext
5186 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5187 ac_clean_files=$ac_clean_files_save
5188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5189 printf %s "checking for suffix of executables... " >&6; }
5190 if { { ac_try="$ac_link"
5191 case "(($ac_try" in
5192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5193 *) ac_try_echo=$ac_try;;
5194 esac
5195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5196 printf "%s\n" "$ac_try_echo"; } >&5
5197 (eval "$ac_link") 2>&5
5198 ac_status=$?
5199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5200 test $ac_status = 0; }
5201 then :
5202 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5203 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5204 # work properly (i.e., refer to `conftest.exe'), while it won't with
5205 # `rm'.
5206 for ac_file in conftest.exe conftest conftest.*; do
5207 test -f "$ac_file" || continue
5208 case $ac_file in
5209 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5210 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5211 break;;
5212 * ) break;;
5213 esac
5214 done
5215 else $as_nop
5216 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5217 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5218 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5219 See \`config.log' for more details" "$LINENO" 5; }
5221 rm -f conftest conftest$ac_cv_exeext
5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5223 printf "%s\n" "$ac_cv_exeext" >&6; }
5225 rm -f conftest.$ac_ext
5226 EXEEXT=$ac_cv_exeext
5227 ac_exeext=$EXEEXT
5228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5229 /* end confdefs.h. */
5230 #include <stdio.h>
5232 main (void)
5234 FILE *f = fopen ("conftest.out", "w");
5235 return ferror (f) || fclose (f) != 0;
5238 return 0;
5240 _ACEOF
5241 ac_clean_files="$ac_clean_files conftest.out"
5242 # Check that the compiler produces executables we can run. If not, either
5243 # the compiler is broken, or we cross compile.
5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5245 printf %s "checking whether we are cross compiling... " >&6; }
5246 if test "$cross_compiling" != yes; then
5247 { { ac_try="$ac_link"
5248 case "(($ac_try" in
5249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5250 *) ac_try_echo=$ac_try;;
5251 esac
5252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5253 printf "%s\n" "$ac_try_echo"; } >&5
5254 (eval "$ac_link") 2>&5
5255 ac_status=$?
5256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5257 test $ac_status = 0; }
5258 if { ac_try='./conftest$ac_cv_exeext'
5259 { { case "(($ac_try" in
5260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5261 *) ac_try_echo=$ac_try;;
5262 esac
5263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5264 printf "%s\n" "$ac_try_echo"; } >&5
5265 (eval "$ac_try") 2>&5
5266 ac_status=$?
5267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5268 test $ac_status = 0; }; }; then
5269 cross_compiling=no
5270 else
5271 if test "$cross_compiling" = maybe; then
5272 cross_compiling=yes
5273 else
5274 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5275 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5276 as_fn_error 77 "cannot run C compiled programs.
5277 If you meant to cross compile, use \`--host'.
5278 See \`config.log' for more details" "$LINENO" 5; }
5282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5283 printf "%s\n" "$cross_compiling" >&6; }
5285 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5286 ac_clean_files=$ac_clean_files_save
5287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5288 printf %s "checking for suffix of object files... " >&6; }
5289 if test ${ac_cv_objext+y}
5290 then :
5291 printf %s "(cached) " >&6
5292 else $as_nop
5293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h. */
5297 main (void)
5301 return 0;
5303 _ACEOF
5304 rm -f conftest.o conftest.obj
5305 if { { ac_try="$ac_compile"
5306 case "(($ac_try" in
5307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5308 *) ac_try_echo=$ac_try;;
5309 esac
5310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5311 printf "%s\n" "$ac_try_echo"; } >&5
5312 (eval "$ac_compile") 2>&5
5313 ac_status=$?
5314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5315 test $ac_status = 0; }
5316 then :
5317 for ac_file in conftest.o conftest.obj conftest.*; do
5318 test -f "$ac_file" || continue;
5319 case $ac_file in
5320 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5321 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5322 break;;
5323 esac
5324 done
5325 else $as_nop
5326 printf "%s\n" "$as_me: failed program was:" >&5
5327 sed 's/^/| /' conftest.$ac_ext >&5
5329 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5330 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5331 as_fn_error $? "cannot compute suffix of object files: cannot compile
5332 See \`config.log' for more details" "$LINENO" 5; }
5334 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5337 printf "%s\n" "$ac_cv_objext" >&6; }
5338 OBJEXT=$ac_cv_objext
5339 ac_objext=$OBJEXT
5340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5341 printf %s "checking whether the compiler supports GNU C... " >&6; }
5342 if test ${ac_cv_c_compiler_gnu+y}
5343 then :
5344 printf %s "(cached) " >&6
5345 else $as_nop
5346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5350 main (void)
5352 #ifndef __GNUC__
5353 choke me
5354 #endif
5357 return 0;
5359 _ACEOF
5360 if ac_fn_c_try_compile "$LINENO"
5361 then :
5362 ac_compiler_gnu=yes
5363 else $as_nop
5364 ac_compiler_gnu=no
5366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5367 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5371 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5374 if test $ac_compiler_gnu = yes; then
5375 GCC=yes
5376 else
5377 GCC=
5379 ac_test_CFLAGS=${CFLAGS+y}
5380 ac_save_CFLAGS=$CFLAGS
5381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5382 printf %s "checking whether $CC accepts -g... " >&6; }
5383 if test ${ac_cv_prog_cc_g+y}
5384 then :
5385 printf %s "(cached) " >&6
5386 else $as_nop
5387 ac_save_c_werror_flag=$ac_c_werror_flag
5388 ac_c_werror_flag=yes
5389 ac_cv_prog_cc_g=no
5390 CFLAGS="-g"
5391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h. */
5395 main (void)
5399 return 0;
5401 _ACEOF
5402 if ac_fn_c_try_compile "$LINENO"
5403 then :
5404 ac_cv_prog_cc_g=yes
5405 else $as_nop
5406 CFLAGS=""
5407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5408 /* end confdefs.h. */
5411 main (void)
5415 return 0;
5417 _ACEOF
5418 if ac_fn_c_try_compile "$LINENO"
5419 then :
5421 else $as_nop
5422 ac_c_werror_flag=$ac_save_c_werror_flag
5423 CFLAGS="-g"
5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425 /* end confdefs.h. */
5428 main (void)
5432 return 0;
5434 _ACEOF
5435 if ac_fn_c_try_compile "$LINENO"
5436 then :
5437 ac_cv_prog_cc_g=yes
5439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5441 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5444 ac_c_werror_flag=$ac_save_c_werror_flag
5446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5447 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5448 if test $ac_test_CFLAGS; then
5449 CFLAGS=$ac_save_CFLAGS
5450 elif test $ac_cv_prog_cc_g = yes; then
5451 if test "$GCC" = yes; then
5452 CFLAGS="-g -O2"
5453 else
5454 CFLAGS="-g"
5456 else
5457 if test "$GCC" = yes; then
5458 CFLAGS="-O2"
5459 else
5460 CFLAGS=
5463 ac_prog_cc_stdc=no
5464 if test x$ac_prog_cc_stdc = xno
5465 then :
5466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5467 printf %s "checking for $CC option to enable C11 features... " >&6; }
5468 if test ${ac_cv_prog_cc_c11+y}
5469 then :
5470 printf %s "(cached) " >&6
5471 else $as_nop
5472 ac_cv_prog_cc_c11=no
5473 ac_save_CC=$CC
5474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5475 /* end confdefs.h. */
5476 $ac_c_conftest_c11_program
5477 _ACEOF
5478 for ac_arg in '' -std=gnu11
5480 CC="$ac_save_CC $ac_arg"
5481 if ac_fn_c_try_compile "$LINENO"
5482 then :
5483 ac_cv_prog_cc_c11=$ac_arg
5485 rm -f core conftest.err conftest.$ac_objext conftest.beam
5486 test "x$ac_cv_prog_cc_c11" != "xno" && break
5487 done
5488 rm -f conftest.$ac_ext
5489 CC=$ac_save_CC
5492 if test "x$ac_cv_prog_cc_c11" = xno
5493 then :
5494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5495 printf "%s\n" "unsupported" >&6; }
5496 else $as_nop
5497 if test "x$ac_cv_prog_cc_c11" = x
5498 then :
5499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5500 printf "%s\n" "none needed" >&6; }
5501 else $as_nop
5502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5503 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5504 CC="$CC $ac_cv_prog_cc_c11"
5506 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5507 ac_prog_cc_stdc=c11
5510 if test x$ac_prog_cc_stdc = xno
5511 then :
5512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5513 printf %s "checking for $CC option to enable C99 features... " >&6; }
5514 if test ${ac_cv_prog_cc_c99+y}
5515 then :
5516 printf %s "(cached) " >&6
5517 else $as_nop
5518 ac_cv_prog_cc_c99=no
5519 ac_save_CC=$CC
5520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5521 /* end confdefs.h. */
5522 $ac_c_conftest_c99_program
5523 _ACEOF
5524 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5526 CC="$ac_save_CC $ac_arg"
5527 if ac_fn_c_try_compile "$LINENO"
5528 then :
5529 ac_cv_prog_cc_c99=$ac_arg
5531 rm -f core conftest.err conftest.$ac_objext conftest.beam
5532 test "x$ac_cv_prog_cc_c99" != "xno" && break
5533 done
5534 rm -f conftest.$ac_ext
5535 CC=$ac_save_CC
5538 if test "x$ac_cv_prog_cc_c99" = xno
5539 then :
5540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5541 printf "%s\n" "unsupported" >&6; }
5542 else $as_nop
5543 if test "x$ac_cv_prog_cc_c99" = x
5544 then :
5545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5546 printf "%s\n" "none needed" >&6; }
5547 else $as_nop
5548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5549 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5550 CC="$CC $ac_cv_prog_cc_c99"
5552 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5553 ac_prog_cc_stdc=c99
5556 if test x$ac_prog_cc_stdc = xno
5557 then :
5558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5559 printf %s "checking for $CC option to enable C89 features... " >&6; }
5560 if test ${ac_cv_prog_cc_c89+y}
5561 then :
5562 printf %s "(cached) " >&6
5563 else $as_nop
5564 ac_cv_prog_cc_c89=no
5565 ac_save_CC=$CC
5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5568 $ac_c_conftest_c89_program
5569 _ACEOF
5570 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5572 CC="$ac_save_CC $ac_arg"
5573 if ac_fn_c_try_compile "$LINENO"
5574 then :
5575 ac_cv_prog_cc_c89=$ac_arg
5577 rm -f core conftest.err conftest.$ac_objext conftest.beam
5578 test "x$ac_cv_prog_cc_c89" != "xno" && break
5579 done
5580 rm -f conftest.$ac_ext
5581 CC=$ac_save_CC
5584 if test "x$ac_cv_prog_cc_c89" = xno
5585 then :
5586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5587 printf "%s\n" "unsupported" >&6; }
5588 else $as_nop
5589 if test "x$ac_cv_prog_cc_c89" = x
5590 then :
5591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5592 printf "%s\n" "none needed" >&6; }
5593 else $as_nop
5594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5595 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5596 CC="$CC $ac_cv_prog_cc_c89"
5598 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5599 ac_prog_cc_stdc=c89
5603 ac_ext=c
5604 ac_cpp='$CPP $CPPFLAGS'
5605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5615 ac_ext=cpp
5616 ac_cpp='$CXXCPP $CPPFLAGS'
5617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5620 if test -z "$CXX"; then
5621 if test -n "$CCC"; then
5622 CXX=$CCC
5623 else
5624 if test -n "$ac_tool_prefix"; then
5625 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5627 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5628 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5630 printf %s "checking for $ac_word... " >&6; }
5631 if test ${ac_cv_prog_CXX+y}
5632 then :
5633 printf %s "(cached) " >&6
5634 else $as_nop
5635 if test -n "$CXX"; then
5636 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5637 else
5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5639 for as_dir in $PATH
5641 IFS=$as_save_IFS
5642 case $as_dir in #(((
5643 '') as_dir=./ ;;
5644 */) ;;
5645 *) as_dir=$as_dir/ ;;
5646 esac
5647 for ac_exec_ext in '' $ac_executable_extensions; do
5648 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5649 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5651 break 2
5653 done
5654 done
5655 IFS=$as_save_IFS
5659 CXX=$ac_cv_prog_CXX
5660 if test -n "$CXX"; then
5661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5662 printf "%s\n" "$CXX" >&6; }
5663 else
5664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 printf "%s\n" "no" >&6; }
5669 test -n "$CXX" && break
5670 done
5672 if test -z "$CXX"; then
5673 ac_ct_CXX=$CXX
5674 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5676 # Extract the first word of "$ac_prog", so it can be a program name with args.
5677 set dummy $ac_prog; ac_word=$2
5678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5679 printf %s "checking for $ac_word... " >&6; }
5680 if test ${ac_cv_prog_ac_ct_CXX+y}
5681 then :
5682 printf %s "(cached) " >&6
5683 else $as_nop
5684 if test -n "$ac_ct_CXX"; then
5685 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5686 else
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 for as_dir in $PATH
5690 IFS=$as_save_IFS
5691 case $as_dir in #(((
5692 '') as_dir=./ ;;
5693 */) ;;
5694 *) as_dir=$as_dir/ ;;
5695 esac
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_ac_ct_CXX="$ac_prog"
5699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5700 break 2
5702 done
5703 done
5704 IFS=$as_save_IFS
5708 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5709 if test -n "$ac_ct_CXX"; then
5710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5711 printf "%s\n" "$ac_ct_CXX" >&6; }
5712 else
5713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 printf "%s\n" "no" >&6; }
5718 test -n "$ac_ct_CXX" && break
5719 done
5721 if test "x$ac_ct_CXX" = x; then
5722 CXX="g++"
5723 else
5724 case $cross_compiling:$ac_tool_warned in
5725 yes:)
5726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5727 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5728 ac_tool_warned=yes ;;
5729 esac
5730 CXX=$ac_ct_CXX
5736 # Provide some information about the compiler.
5737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5738 set X $ac_compile
5739 ac_compiler=$2
5740 for ac_option in --version -v -V -qversion; do
5741 { { ac_try="$ac_compiler $ac_option >&5"
5742 case "(($ac_try" in
5743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5744 *) ac_try_echo=$ac_try;;
5745 esac
5746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5747 printf "%s\n" "$ac_try_echo"; } >&5
5748 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5749 ac_status=$?
5750 if test -s conftest.err; then
5751 sed '10a\
5752 ... rest of stderr output deleted ...
5753 10q' conftest.err >conftest.er1
5754 cat conftest.er1 >&5
5756 rm -f conftest.er1 conftest.err
5757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5758 test $ac_status = 0; }
5759 done
5761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5762 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5763 if test ${ac_cv_cxx_compiler_gnu+y}
5764 then :
5765 printf %s "(cached) " >&6
5766 else $as_nop
5767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5768 /* end confdefs.h. */
5771 main (void)
5773 #ifndef __GNUC__
5774 choke me
5775 #endif
5778 return 0;
5780 _ACEOF
5781 if ac_fn_cxx_try_compile "$LINENO"
5782 then :
5783 ac_compiler_gnu=yes
5784 else $as_nop
5785 ac_compiler_gnu=no
5787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5788 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5792 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5795 if test $ac_compiler_gnu = yes; then
5796 GXX=yes
5797 else
5798 GXX=
5800 ac_test_CXXFLAGS=${CXXFLAGS+y}
5801 ac_save_CXXFLAGS=$CXXFLAGS
5802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5803 printf %s "checking whether $CXX accepts -g... " >&6; }
5804 if test ${ac_cv_prog_cxx_g+y}
5805 then :
5806 printf %s "(cached) " >&6
5807 else $as_nop
5808 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5809 ac_cxx_werror_flag=yes
5810 ac_cv_prog_cxx_g=no
5811 CXXFLAGS="-g"
5812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5813 /* end confdefs.h. */
5816 main (void)
5820 return 0;
5822 _ACEOF
5823 if ac_fn_cxx_try_compile "$LINENO"
5824 then :
5825 ac_cv_prog_cxx_g=yes
5826 else $as_nop
5827 CXXFLAGS=""
5828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5829 /* end confdefs.h. */
5832 main (void)
5836 return 0;
5838 _ACEOF
5839 if ac_fn_cxx_try_compile "$LINENO"
5840 then :
5842 else $as_nop
5843 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5844 CXXFLAGS="-g"
5845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5846 /* end confdefs.h. */
5849 main (void)
5853 return 0;
5855 _ACEOF
5856 if ac_fn_cxx_try_compile "$LINENO"
5857 then :
5858 ac_cv_prog_cxx_g=yes
5860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5864 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5865 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5868 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5869 if test $ac_test_CXXFLAGS; then
5870 CXXFLAGS=$ac_save_CXXFLAGS
5871 elif test $ac_cv_prog_cxx_g = yes; then
5872 if test "$GXX" = yes; then
5873 CXXFLAGS="-g -O2"
5874 else
5875 CXXFLAGS="-g"
5877 else
5878 if test "$GXX" = yes; then
5879 CXXFLAGS="-O2"
5880 else
5881 CXXFLAGS=
5884 ac_prog_cxx_stdcxx=no
5885 if test x$ac_prog_cxx_stdcxx = xno
5886 then :
5887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5888 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5889 if test ${ac_cv_prog_cxx_11+y}
5890 then :
5891 printf %s "(cached) " >&6
5892 else $as_nop
5893 ac_cv_prog_cxx_11=no
5894 ac_save_CXX=$CXX
5895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5896 /* end confdefs.h. */
5897 $ac_cxx_conftest_cxx11_program
5898 _ACEOF
5899 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5901 CXX="$ac_save_CXX $ac_arg"
5902 if ac_fn_cxx_try_compile "$LINENO"
5903 then :
5904 ac_cv_prog_cxx_cxx11=$ac_arg
5906 rm -f core conftest.err conftest.$ac_objext conftest.beam
5907 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5908 done
5909 rm -f conftest.$ac_ext
5910 CXX=$ac_save_CXX
5913 if test "x$ac_cv_prog_cxx_cxx11" = xno
5914 then :
5915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5916 printf "%s\n" "unsupported" >&6; }
5917 else $as_nop
5918 if test "x$ac_cv_prog_cxx_cxx11" = x
5919 then :
5920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5921 printf "%s\n" "none needed" >&6; }
5922 else $as_nop
5923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5924 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5925 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5927 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5928 ac_prog_cxx_stdcxx=cxx11
5931 if test x$ac_prog_cxx_stdcxx = xno
5932 then :
5933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5934 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5935 if test ${ac_cv_prog_cxx_98+y}
5936 then :
5937 printf %s "(cached) " >&6
5938 else $as_nop
5939 ac_cv_prog_cxx_98=no
5940 ac_save_CXX=$CXX
5941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5942 /* end confdefs.h. */
5943 $ac_cxx_conftest_cxx98_program
5944 _ACEOF
5945 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5947 CXX="$ac_save_CXX $ac_arg"
5948 if ac_fn_cxx_try_compile "$LINENO"
5949 then :
5950 ac_cv_prog_cxx_cxx98=$ac_arg
5952 rm -f core conftest.err conftest.$ac_objext conftest.beam
5953 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5954 done
5955 rm -f conftest.$ac_ext
5956 CXX=$ac_save_CXX
5959 if test "x$ac_cv_prog_cxx_cxx98" = xno
5960 then :
5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5962 printf "%s\n" "unsupported" >&6; }
5963 else $as_nop
5964 if test "x$ac_cv_prog_cxx_cxx98" = x
5965 then :
5966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5967 printf "%s\n" "none needed" >&6; }
5968 else $as_nop
5969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5970 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5971 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5973 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5974 ac_prog_cxx_stdcxx=cxx98
5978 ac_ext=c
5979 ac_cpp='$CPP $CPPFLAGS'
5980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5984 if test -n "$ac_tool_prefix"; then
5985 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5986 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5988 printf %s "checking for $ac_word... " >&6; }
5989 if test ${ac_cv_prog_CPPBIN+y}
5990 then :
5991 printf %s "(cached) " >&6
5992 else $as_nop
5993 if test -n "$CPPBIN"; then
5994 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5995 else
5996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5997 for as_dir in $PATH
5999 IFS=$as_save_IFS
6000 case $as_dir in #(((
6001 '') as_dir=./ ;;
6002 */) ;;
6003 *) as_dir=$as_dir/ ;;
6004 esac
6005 for ac_exec_ext in '' $ac_executable_extensions; do
6006 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6007 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6009 break 2
6011 done
6012 done
6013 IFS=$as_save_IFS
6017 CPPBIN=$ac_cv_prog_CPPBIN
6018 if test -n "$CPPBIN"; then
6019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6020 printf "%s\n" "$CPPBIN" >&6; }
6021 else
6022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6023 printf "%s\n" "no" >&6; }
6028 if test -z "$ac_cv_prog_CPPBIN"; then
6029 ac_ct_CPPBIN=$CPPBIN
6030 # Extract the first word of "cpp", so it can be a program name with args.
6031 set dummy cpp; ac_word=$2
6032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6033 printf %s "checking for $ac_word... " >&6; }
6034 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6035 then :
6036 printf %s "(cached) " >&6
6037 else $as_nop
6038 if test -n "$ac_ct_CPPBIN"; then
6039 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6040 else
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 for as_dir in $PATH
6044 IFS=$as_save_IFS
6045 case $as_dir in #(((
6046 '') as_dir=./ ;;
6047 */) ;;
6048 *) as_dir=$as_dir/ ;;
6049 esac
6050 for ac_exec_ext in '' $ac_executable_extensions; do
6051 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6052 ac_cv_prog_ac_ct_CPPBIN="cpp"
6053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6054 break 2
6056 done
6057 done
6058 IFS=$as_save_IFS
6062 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6063 if test -n "$ac_ct_CPPBIN"; then
6064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6065 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6066 else
6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6068 printf "%s\n" "no" >&6; }
6071 if test "x$ac_ct_CPPBIN" = x; then
6072 CPPBIN="cpp"
6073 else
6074 case $cross_compiling:$ac_tool_warned in
6075 yes:)
6076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6077 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6078 ac_tool_warned=yes ;;
6079 esac
6080 CPPBIN=$ac_ct_CPPBIN
6082 else
6083 CPPBIN="$ac_cv_prog_CPPBIN"
6087 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6089 if test -n "$ac_tool_prefix"; then
6090 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6091 set dummy ${ac_tool_prefix}ld; ac_word=$2
6092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 printf %s "checking for $ac_word... " >&6; }
6094 if test ${ac_cv_prog_LD+y}
6095 then :
6096 printf %s "(cached) " >&6
6097 else $as_nop
6098 if test -n "$LD"; then
6099 ac_cv_prog_LD="$LD" # Let the user override the test.
6100 else
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 for as_dir in $PATH
6104 IFS=$as_save_IFS
6105 case $as_dir in #(((
6106 '') as_dir=./ ;;
6107 */) ;;
6108 *) as_dir=$as_dir/ ;;
6109 esac
6110 for ac_exec_ext in '' $ac_executable_extensions; do
6111 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6112 ac_cv_prog_LD="${ac_tool_prefix}ld"
6113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6114 break 2
6116 done
6117 done
6118 IFS=$as_save_IFS
6122 LD=$ac_cv_prog_LD
6123 if test -n "$LD"; then
6124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6125 printf "%s\n" "$LD" >&6; }
6126 else
6127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6128 printf "%s\n" "no" >&6; }
6133 if test -z "$ac_cv_prog_LD"; then
6134 ac_ct_LD=$LD
6135 # Extract the first word of "ld", so it can be a program name with args.
6136 set dummy ld; ac_word=$2
6137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6138 printf %s "checking for $ac_word... " >&6; }
6139 if test ${ac_cv_prog_ac_ct_LD+y}
6140 then :
6141 printf %s "(cached) " >&6
6142 else $as_nop
6143 if test -n "$ac_ct_LD"; then
6144 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6145 else
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 for as_dir in $PATH
6149 IFS=$as_save_IFS
6150 case $as_dir in #(((
6151 '') as_dir=./ ;;
6152 */) ;;
6153 *) as_dir=$as_dir/ ;;
6154 esac
6155 for ac_exec_ext in '' $ac_executable_extensions; do
6156 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6157 ac_cv_prog_ac_ct_LD="ld"
6158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6159 break 2
6161 done
6162 done
6163 IFS=$as_save_IFS
6167 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6168 if test -n "$ac_ct_LD"; then
6169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6170 printf "%s\n" "$ac_ct_LD" >&6; }
6171 else
6172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6173 printf "%s\n" "no" >&6; }
6176 if test "x$ac_ct_LD" = x; then
6177 LD=""
6178 else
6179 case $cross_compiling:$ac_tool_warned in
6180 yes:)
6181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6182 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6183 ac_tool_warned=yes ;;
6184 esac
6185 LD=$ac_ct_LD
6187 else
6188 LD="$ac_cv_prog_LD"
6192 case $host in
6193 *-darwin*)
6194 with_fontconfig=${with_fontconfig:-no}
6196 *-mingw32*|*-cygwin*)
6197 enable_win16=${enable_win16:-no}
6198 with_mingw=${with_mingw:-no}
6200 esac
6203 case $host in
6204 x86_64*|amd64*)
6205 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6206 then
6207 CC="$CC -m32"
6208 CXX="$CXX -m32"
6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6211 printf %s "checking whether $CC works... " >&6; }
6212 if test ${wine_cv_cc_m32+y}
6213 then :
6214 printf %s "(cached) " >&6
6215 else $as_nop
6216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6217 /* end confdefs.h. */
6220 main (void)
6224 return 0;
6226 _ACEOF
6227 if ac_fn_c_try_link "$LINENO"
6228 then :
6229 wine_cv_cc_m32=yes
6230 else $as_nop
6231 wine_cv_cc_m32=no
6233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6234 conftest$ac_exeext conftest.$ac_ext
6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6237 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6238 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
6239 host_cpu="i386"
6240 notice_platform="32-bit "
6241 TARGETFLAGS="$TARGETFLAGS -m32"
6242 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6243 export PKG_CONFIG_PATH
6244 with_unwind=${with_unwind:-no}
6245 else
6246 if test "x${GCC}" = "xyes"
6247 then
6248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6249 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6250 if test ${wine_cv_builtin_ms_va_list+y}
6251 then :
6252 printf %s "(cached) " >&6
6253 else $as_nop
6254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6255 /* end confdefs.h. */
6256 #include <stdarg.h>
6258 main (void)
6260 void func(__builtin_ms_va_list *args);
6262 return 0;
6264 _ACEOF
6265 if ac_fn_c_try_compile "$LINENO"
6266 then :
6267 wine_cv_builtin_ms_va_list=yes
6268 else $as_nop
6269 wine_cv_builtin_ms_va_list=no
6271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6274 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6275 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
6277 CC="$CC -m64"
6278 CXX="$CXX -m64"
6279 host_cpu="x86_64"
6280 notice_platform="64-bit "
6281 TARGETFLAGS="$TARGETFLAGS -m64"
6284 arm*)
6285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6286 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6287 if test ${wine_cv_thumb2+y}
6288 then :
6289 printf %s "(cached) " >&6
6290 else $as_nop
6291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6292 /* end confdefs.h. */
6295 main (void)
6297 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6299 return 0;
6301 _ACEOF
6302 if ac_fn_c_try_link "$LINENO"
6303 then :
6304 wine_cv_thumb2=yes
6305 else $as_nop
6306 wine_cv_thumb2=no
6308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6309 conftest$ac_exeext conftest.$ac_ext
6311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6312 printf "%s\n" "$wine_cv_thumb2" >&6; }
6313 if test x"$wine_cv_thumb2" = xyes
6314 then
6315 CFLAGS="$CFLAGS -mthumb"
6316 TARGETFLAGS="$TARGETFLAGS -mthumb"
6317 else
6318 CFLAGS="$CFLAGS -marm"
6319 TARGETFLAGS="$TARGETFLAGS -marm"
6321 case $with_float_abi in
6322 soft|softfp|hard)
6323 float_abi=$with_float_abi ;;
6325 case $host_os in
6326 *eabihf)
6327 float_abi=hard ;;
6329 float_abi=softfp
6330 saved_CFLAGS=$CFLAGS
6331 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6333 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6334 if test ${wine_cv_float_abi+y}
6335 then :
6336 printf %s "(cached) " >&6
6337 else $as_nop
6338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6339 /* end confdefs.h. */
6342 main (void)
6344 asm("vmrs r2,fpscr");
6346 return 0;
6348 _ACEOF
6349 if ac_fn_c_try_link "$LINENO"
6350 then :
6351 wine_cv_float_abi=yes
6352 else $as_nop
6353 wine_cv_float_abi=no
6355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6356 conftest$ac_exeext conftest.$ac_ext
6358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6359 printf "%s\n" "$wine_cv_float_abi" >&6; }
6360 if test $wine_cv_float_abi = no
6361 then
6362 float_abi=soft
6363 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6365 CFLAGS=$saved_CFLAGS
6366 esac
6368 esac
6369 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6370 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6372 i[3456789]86*)
6373 with_unwind=${with_unwind:-no}
6375 esac
6377 enable_win16=${enable_win16:-i386}
6378 enable_win64=${enable_win64:-no}
6379 enable_wow64=${enable_wow64:-aarch64,x86_64}
6380 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6381 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6383 enable_winetest=${enable_winetest:-$enable_tests}
6385 if test "x$enable_win64" = "xyes"
6386 then
6387 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6388 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6391 case $build_os in
6392 cygwin*|mingw32*) toolsext=".exe"
6394 *) toolsext=""
6396 esac
6398 HOST_ARCH=unknown
6399 case "$host_cpu" in
6400 aarch64*) HOST_ARCH=aarch64 ;;
6401 arm*) HOST_ARCH=arm ;;
6402 i[3456789]86*) HOST_ARCH=i386 ;;
6403 x86_64) HOST_ARCH=x86_64 ;;
6404 esac
6407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6408 printf %s "checking for the directory containing the Wine tools... " >&6; }
6409 if test ${wine_cv_toolsdir+y}
6410 then :
6411 printf %s "(cached) " >&6
6412 else $as_nop
6413 wine_cv_toolsdir="$with_wine_tools"
6414 if test -z "$with_wine_tools"; then
6415 if test "$cross_compiling" = "yes"; then
6416 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6417 elif test -n "$with_wine64"; then
6418 wine_cv_toolsdir="$with_wine64"
6422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6423 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6424 if test -z "$wine_cv_toolsdir"; then
6425 wine_makedep=tools/makedep$toolsext
6426 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6427 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6428 enable_tools=${enable_tools:-no}
6429 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6430 else
6431 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6433 toolsdir=$wine_cv_toolsdir
6435 MAKEDEP=$wine_makedep
6437 RUNTESTFLAGS="-q -P wine"
6439 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'"
6442 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6443 then
6444 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6447 for ac_prog in flex
6449 # Extract the first word of "$ac_prog", so it can be a program name with args.
6450 set dummy $ac_prog; ac_word=$2
6451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6452 printf %s "checking for $ac_word... " >&6; }
6453 if test ${ac_cv_prog_FLEX+y}
6454 then :
6455 printf %s "(cached) " >&6
6456 else $as_nop
6457 if test -n "$FLEX"; then
6458 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6459 else
6460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6461 for as_dir in $PATH
6463 IFS=$as_save_IFS
6464 case $as_dir in #(((
6465 '') as_dir=./ ;;
6466 */) ;;
6467 *) as_dir=$as_dir/ ;;
6468 esac
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6471 ac_cv_prog_FLEX="$ac_prog"
6472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6473 break 2
6475 done
6476 done
6477 IFS=$as_save_IFS
6481 FLEX=$ac_cv_prog_FLEX
6482 if test -n "$FLEX"; then
6483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6484 printf "%s\n" "$FLEX" >&6; }
6485 else
6486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487 printf "%s\n" "no" >&6; }
6491 test -n "$FLEX" && break
6492 done
6493 test -n "$FLEX" || FLEX="none"
6495 if test "$FLEX" = "none"
6496 then
6497 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6500 printf %s "checking whether flex is recent enough... " >&6; }
6501 if test ${wine_cv_recent_flex+y}
6502 then :
6503 printf %s "(cached) " >&6
6504 else $as_nop
6505 cat >conftest.l <<EOF
6506 %top{
6507 #include "prediluvian.h"
6511 if $FLEX -t conftest.l >/dev/null 2>&5
6512 then
6513 wine_cv_recent_flex=yes
6514 else
6515 wine_cv_recent_flex=no
6518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6519 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6520 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
6522 for ac_prog in bison
6524 # Extract the first word of "$ac_prog", so it can be a program name with args.
6525 set dummy $ac_prog; ac_word=$2
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527 printf %s "checking for $ac_word... " >&6; }
6528 if test ${ac_cv_prog_BISON+y}
6529 then :
6530 printf %s "(cached) " >&6
6531 else $as_nop
6532 if test -n "$BISON"; then
6533 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6534 else
6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6536 for as_dir in $PATH
6538 IFS=$as_save_IFS
6539 case $as_dir in #(((
6540 '') as_dir=./ ;;
6541 */) ;;
6542 *) as_dir=$as_dir/ ;;
6543 esac
6544 for ac_exec_ext in '' $ac_executable_extensions; do
6545 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6546 ac_cv_prog_BISON="$ac_prog"
6547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6548 break 2
6550 done
6551 done
6552 IFS=$as_save_IFS
6556 BISON=$ac_cv_prog_BISON
6557 if test -n "$BISON"; then
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6559 printf "%s\n" "$BISON" >&6; }
6560 else
6561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562 printf "%s\n" "no" >&6; }
6566 test -n "$BISON" && break
6567 done
6568 test -n "$BISON" || BISON="none"
6570 if test "$BISON" = "none"
6571 then
6572 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6575 printf %s "checking whether bison is recent enough... " >&6; }
6576 if test ${wine_cv_recent_bison+y}
6577 then :
6578 printf %s "(cached) " >&6
6579 else $as_nop
6580 cat >conftest.y <<EOF
6581 %define parse.error verbose
6583 empty: ;
6585 if $BISON conftest.y >/dev/null 2>&5
6586 then
6587 wine_cv_recent_bison=yes
6588 else
6589 wine_cv_recent_bison=no
6592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6593 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6594 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
6596 if test -n "$ac_tool_prefix"; then
6597 for ac_prog in ar gar
6599 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6600 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 printf %s "checking for $ac_word... " >&6; }
6603 if test ${ac_cv_prog_AR+y}
6604 then :
6605 printf %s "(cached) " >&6
6606 else $as_nop
6607 if test -n "$AR"; then
6608 ac_cv_prog_AR="$AR" # Let the user override the test.
6609 else
6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611 for as_dir in $PATH
6613 IFS=$as_save_IFS
6614 case $as_dir in #(((
6615 '') as_dir=./ ;;
6616 */) ;;
6617 *) as_dir=$as_dir/ ;;
6618 esac
6619 for ac_exec_ext in '' $ac_executable_extensions; do
6620 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6621 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6623 break 2
6625 done
6626 done
6627 IFS=$as_save_IFS
6631 AR=$ac_cv_prog_AR
6632 if test -n "$AR"; then
6633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6634 printf "%s\n" "$AR" >&6; }
6635 else
6636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6637 printf "%s\n" "no" >&6; }
6641 test -n "$AR" && break
6642 done
6644 if test -z "$AR"; then
6645 ac_ct_AR=$AR
6646 for ac_prog in ar gar
6648 # Extract the first word of "$ac_prog", so it can be a program name with args.
6649 set dummy $ac_prog; ac_word=$2
6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 printf %s "checking for $ac_word... " >&6; }
6652 if test ${ac_cv_prog_ac_ct_AR+y}
6653 then :
6654 printf %s "(cached) " >&6
6655 else $as_nop
6656 if test -n "$ac_ct_AR"; then
6657 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6658 else
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 for as_dir in $PATH
6662 IFS=$as_save_IFS
6663 case $as_dir in #(((
6664 '') as_dir=./ ;;
6665 */) ;;
6666 *) as_dir=$as_dir/ ;;
6667 esac
6668 for ac_exec_ext in '' $ac_executable_extensions; do
6669 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6670 ac_cv_prog_ac_ct_AR="$ac_prog"
6671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6672 break 2
6674 done
6675 done
6676 IFS=$as_save_IFS
6680 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6681 if test -n "$ac_ct_AR"; then
6682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6683 printf "%s\n" "$ac_ct_AR" >&6; }
6684 else
6685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686 printf "%s\n" "no" >&6; }
6690 test -n "$ac_ct_AR" && break
6691 done
6693 if test "x$ac_ct_AR" = x; then
6694 AR="ar"
6695 else
6696 case $cross_compiling:$ac_tool_warned in
6697 yes:)
6698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6699 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6700 ac_tool_warned=yes ;;
6701 esac
6702 AR=$ac_ct_AR
6706 if test -n "$ac_tool_prefix"; then
6707 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6708 set dummy ${ac_tool_prefix}strip; ac_word=$2
6709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6710 printf %s "checking for $ac_word... " >&6; }
6711 if test ${ac_cv_prog_STRIP+y}
6712 then :
6713 printf %s "(cached) " >&6
6714 else $as_nop
6715 if test -n "$STRIP"; then
6716 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6717 else
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6719 for as_dir in $PATH
6721 IFS=$as_save_IFS
6722 case $as_dir in #(((
6723 '') as_dir=./ ;;
6724 */) ;;
6725 *) as_dir=$as_dir/ ;;
6726 esac
6727 for ac_exec_ext in '' $ac_executable_extensions; do
6728 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6729 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6731 break 2
6733 done
6734 done
6735 IFS=$as_save_IFS
6739 STRIP=$ac_cv_prog_STRIP
6740 if test -n "$STRIP"; then
6741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6742 printf "%s\n" "$STRIP" >&6; }
6743 else
6744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6745 printf "%s\n" "no" >&6; }
6750 if test -z "$ac_cv_prog_STRIP"; then
6751 ac_ct_STRIP=$STRIP
6752 # Extract the first word of "strip", so it can be a program name with args.
6753 set dummy strip; ac_word=$2
6754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6755 printf %s "checking for $ac_word... " >&6; }
6756 if test ${ac_cv_prog_ac_ct_STRIP+y}
6757 then :
6758 printf %s "(cached) " >&6
6759 else $as_nop
6760 if test -n "$ac_ct_STRIP"; then
6761 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6762 else
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 for as_dir in $PATH
6766 IFS=$as_save_IFS
6767 case $as_dir in #(((
6768 '') as_dir=./ ;;
6769 */) ;;
6770 *) as_dir=$as_dir/ ;;
6771 esac
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6774 ac_cv_prog_ac_ct_STRIP="strip"
6775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6776 break 2
6778 done
6779 done
6780 IFS=$as_save_IFS
6784 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6785 if test -n "$ac_ct_STRIP"; then
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6787 printf "%s\n" "$ac_ct_STRIP" >&6; }
6788 else
6789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 printf "%s\n" "no" >&6; }
6793 if test "x$ac_ct_STRIP" = x; then
6794 STRIP="strip"
6795 else
6796 case $cross_compiling:$ac_tool_warned in
6797 yes:)
6798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned=yes ;;
6801 esac
6802 STRIP=$ac_ct_STRIP
6804 else
6805 STRIP="$ac_cv_prog_STRIP"
6808 if test -n "$ac_tool_prefix"; then
6809 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6810 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6812 printf %s "checking for $ac_word... " >&6; }
6813 if test ${ac_cv_prog_RANLIB+y}
6814 then :
6815 printf %s "(cached) " >&6
6816 else $as_nop
6817 if test -n "$RANLIB"; then
6818 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6819 else
6820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6821 for as_dir in $PATH
6823 IFS=$as_save_IFS
6824 case $as_dir in #(((
6825 '') as_dir=./ ;;
6826 */) ;;
6827 *) as_dir=$as_dir/ ;;
6828 esac
6829 for ac_exec_ext in '' $ac_executable_extensions; do
6830 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6831 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6833 break 2
6835 done
6836 done
6837 IFS=$as_save_IFS
6841 RANLIB=$ac_cv_prog_RANLIB
6842 if test -n "$RANLIB"; then
6843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6844 printf "%s\n" "$RANLIB" >&6; }
6845 else
6846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847 printf "%s\n" "no" >&6; }
6852 if test -z "$ac_cv_prog_RANLIB"; then
6853 ac_ct_RANLIB=$RANLIB
6854 # Extract the first word of "ranlib", so it can be a program name with args.
6855 set dummy ranlib; ac_word=$2
6856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6857 printf %s "checking for $ac_word... " >&6; }
6858 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6859 then :
6860 printf %s "(cached) " >&6
6861 else $as_nop
6862 if test -n "$ac_ct_RANLIB"; then
6863 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6864 else
6865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866 for as_dir in $PATH
6868 IFS=$as_save_IFS
6869 case $as_dir in #(((
6870 '') as_dir=./ ;;
6871 */) ;;
6872 *) as_dir=$as_dir/ ;;
6873 esac
6874 for ac_exec_ext in '' $ac_executable_extensions; do
6875 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6876 ac_cv_prog_ac_ct_RANLIB="ranlib"
6877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6878 break 2
6880 done
6881 done
6882 IFS=$as_save_IFS
6886 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6887 if test -n "$ac_ct_RANLIB"; then
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6889 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6890 else
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6892 printf "%s\n" "no" >&6; }
6895 if test "x$ac_ct_RANLIB" = x; then
6896 RANLIB=":"
6897 else
6898 case $cross_compiling:$ac_tool_warned in
6899 yes:)
6900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6901 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6902 ac_tool_warned=yes ;;
6903 esac
6904 RANLIB=$ac_ct_RANLIB
6906 else
6907 RANLIB="$ac_cv_prog_RANLIB"
6910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6911 printf %s "checking whether ln -s works... " >&6; }
6912 LN_S=$as_ln_s
6913 if test "$LN_S" = "ln -s"; then
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6915 printf "%s\n" "yes" >&6; }
6916 else
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6918 printf "%s\n" "no, using $LN_S" >&6; }
6921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6922 printf %s "checking for grep that handles long lines and -e... " >&6; }
6923 if test ${ac_cv_path_GREP+y}
6924 then :
6925 printf %s "(cached) " >&6
6926 else $as_nop
6927 if test -z "$GREP"; then
6928 ac_path_GREP_found=false
6929 # Loop through the user's path and test for each of PROGNAME-LIST
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6931 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6933 IFS=$as_save_IFS
6934 case $as_dir in #(((
6935 '') as_dir=./ ;;
6936 */) ;;
6937 *) as_dir=$as_dir/ ;;
6938 esac
6939 for ac_prog in grep ggrep
6941 for ac_exec_ext in '' $ac_executable_extensions; do
6942 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6943 as_fn_executable_p "$ac_path_GREP" || continue
6944 # Check for GNU ac_path_GREP and select it if it is found.
6945 # Check for GNU $ac_path_GREP
6946 case `"$ac_path_GREP" --version 2>&1` in
6947 *GNU*)
6948 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6950 ac_count=0
6951 printf %s 0123456789 >"conftest.in"
6952 while :
6954 cat "conftest.in" "conftest.in" >"conftest.tmp"
6955 mv "conftest.tmp" "conftest.in"
6956 cp "conftest.in" "conftest.nl"
6957 printf "%s\n" 'GREP' >> "conftest.nl"
6958 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6959 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6960 as_fn_arith $ac_count + 1 && ac_count=$as_val
6961 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6962 # Best one so far, save it but keep looking for a better one
6963 ac_cv_path_GREP="$ac_path_GREP"
6964 ac_path_GREP_max=$ac_count
6966 # 10*(2^10) chars as input seems more than enough
6967 test $ac_count -gt 10 && break
6968 done
6969 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6970 esac
6972 $ac_path_GREP_found && break 3
6973 done
6974 done
6975 done
6976 IFS=$as_save_IFS
6977 if test -z "$ac_cv_path_GREP"; then
6978 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6980 else
6981 ac_cv_path_GREP=$GREP
6985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6986 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6987 GREP="$ac_cv_path_GREP"
6990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6991 printf %s "checking for egrep... " >&6; }
6992 if test ${ac_cv_path_EGREP+y}
6993 then :
6994 printf %s "(cached) " >&6
6995 else $as_nop
6996 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6997 then ac_cv_path_EGREP="$GREP -E"
6998 else
6999 if test -z "$EGREP"; then
7000 ac_path_EGREP_found=false
7001 # Loop through the user's path and test for each of PROGNAME-LIST
7002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7003 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7005 IFS=$as_save_IFS
7006 case $as_dir in #(((
7007 '') as_dir=./ ;;
7008 */) ;;
7009 *) as_dir=$as_dir/ ;;
7010 esac
7011 for ac_prog in egrep
7013 for ac_exec_ext in '' $ac_executable_extensions; do
7014 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7015 as_fn_executable_p "$ac_path_EGREP" || continue
7016 # Check for GNU ac_path_EGREP and select it if it is found.
7017 # Check for GNU $ac_path_EGREP
7018 case `"$ac_path_EGREP" --version 2>&1` in
7019 *GNU*)
7020 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7022 ac_count=0
7023 printf %s 0123456789 >"conftest.in"
7024 while :
7026 cat "conftest.in" "conftest.in" >"conftest.tmp"
7027 mv "conftest.tmp" "conftest.in"
7028 cp "conftest.in" "conftest.nl"
7029 printf "%s\n" 'EGREP' >> "conftest.nl"
7030 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7031 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7032 as_fn_arith $ac_count + 1 && ac_count=$as_val
7033 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7034 # Best one so far, save it but keep looking for a better one
7035 ac_cv_path_EGREP="$ac_path_EGREP"
7036 ac_path_EGREP_max=$ac_count
7038 # 10*(2^10) chars as input seems more than enough
7039 test $ac_count -gt 10 && break
7040 done
7041 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7042 esac
7044 $ac_path_EGREP_found && break 3
7045 done
7046 done
7047 done
7048 IFS=$as_save_IFS
7049 if test -z "$ac_cv_path_EGREP"; then
7050 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7052 else
7053 ac_cv_path_EGREP=$EGREP
7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7059 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7060 EGREP="$ac_cv_path_EGREP"
7063 # Extract the first word of "ldconfig", so it can be a program name with args.
7064 set dummy ldconfig; ac_word=$2
7065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 printf %s "checking for $ac_word... " >&6; }
7067 if test ${ac_cv_path_LDCONFIG+y}
7068 then :
7069 printf %s "(cached) " >&6
7070 else $as_nop
7071 case $LDCONFIG in
7072 [\\/]* | ?:[\\/]*)
7073 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077 for as_dir in /sbin /usr/sbin $PATH
7079 IFS=$as_save_IFS
7080 case $as_dir in #(((
7081 '') as_dir=./ ;;
7082 */) ;;
7083 *) as_dir=$as_dir/ ;;
7084 esac
7085 for ac_exec_ext in '' $ac_executable_extensions; do
7086 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7087 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7089 break 2
7091 done
7092 done
7093 IFS=$as_save_IFS
7095 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7097 esac
7099 LDCONFIG=$ac_cv_path_LDCONFIG
7100 if test -n "$LDCONFIG"; then
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7102 printf "%s\n" "$LDCONFIG" >&6; }
7103 else
7104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7105 printf "%s\n" "no" >&6; }
7109 for ac_prog in msgfmt
7111 # Extract the first word of "$ac_prog", so it can be a program name with args.
7112 set dummy $ac_prog; ac_word=$2
7113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7114 printf %s "checking for $ac_word... " >&6; }
7115 if test ${ac_cv_prog_MSGFMT+y}
7116 then :
7117 printf %s "(cached) " >&6
7118 else $as_nop
7119 if test -n "$MSGFMT"; then
7120 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7121 else
7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7123 for as_dir in $PATH
7125 IFS=$as_save_IFS
7126 case $as_dir in #(((
7127 '') as_dir=./ ;;
7128 */) ;;
7129 *) as_dir=$as_dir/ ;;
7130 esac
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7133 ac_cv_prog_MSGFMT="$ac_prog"
7134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7135 break 2
7137 done
7138 done
7139 IFS=$as_save_IFS
7143 MSGFMT=$ac_cv_prog_MSGFMT
7144 if test -n "$MSGFMT"; then
7145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7146 printf "%s\n" "$MSGFMT" >&6; }
7147 else
7148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7149 printf "%s\n" "no" >&6; }
7153 test -n "$MSGFMT" && break
7154 done
7155 test -n "$MSGFMT" || MSGFMT="false"
7157 if test ${ac_tool_prefix+y}
7158 then :
7159 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7160 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7162 printf %s "checking for $ac_word... " >&6; }
7163 if test ${ac_cv_prog_PKG_CONFIG+y}
7164 then :
7165 printf %s "(cached) " >&6
7166 else $as_nop
7167 if test -n "$PKG_CONFIG"; then
7168 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7169 else
7170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7171 for as_dir in $PATH
7173 IFS=$as_save_IFS
7174 case $as_dir in #(((
7175 '') as_dir=./ ;;
7176 */) ;;
7177 *) as_dir=$as_dir/ ;;
7178 esac
7179 for ac_exec_ext in '' $ac_executable_extensions; do
7180 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7181 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7183 break 2
7185 done
7186 done
7187 IFS=$as_save_IFS
7191 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7192 if test -n "$PKG_CONFIG"; then
7193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7194 printf "%s\n" "$PKG_CONFIG" >&6; }
7195 else
7196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7197 printf "%s\n" "no" >&6; }
7202 if ${ac_cv_prog_PKG_CONFIG:+false} :
7203 then :
7204 if test "x$cross_compiling" = xyes
7205 then :
7207 else $as_nop
7208 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7209 # Extract the first word of "pkg-config", so it can be a program name with args.
7210 set dummy pkg-config; ac_word=$2
7211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7212 printf %s "checking for $ac_word... " >&6; }
7213 if test ${ac_cv_prog_PKG_CONFIG+y}
7214 then :
7215 printf %s "(cached) " >&6
7216 else $as_nop
7217 if test -n "$PKG_CONFIG"; then
7218 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7219 else
7220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 for as_dir in $PATH
7223 IFS=$as_save_IFS
7224 case $as_dir in #(((
7225 '') as_dir=./ ;;
7226 */) ;;
7227 *) as_dir=$as_dir/ ;;
7228 esac
7229 for ac_exec_ext in '' $ac_executable_extensions; do
7230 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7231 ac_cv_prog_PKG_CONFIG="pkg-config"
7232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7233 break 2
7235 done
7236 done
7237 IFS=$as_save_IFS
7241 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7242 if test -n "$PKG_CONFIG"; then
7243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7244 printf "%s\n" "$PKG_CONFIG" >&6; }
7245 else
7246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7247 printf "%s\n" "no" >&6; }
7252 else $as_nop
7253 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7256 if test "x$enable_maintainer_mode" != "xyes"
7257 then
7258 FONTFORGE=""
7259 RSVG=""
7260 CONVERT=""
7261 ICOTOOL=""
7262 else
7263 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7264 for ac_prog in fontforge
7266 # Extract the first word of "$ac_prog", so it can be a program name with args.
7267 set dummy $ac_prog; ac_word=$2
7268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7269 printf %s "checking for $ac_word... " >&6; }
7270 if test ${ac_cv_prog_FONTFORGE+y}
7271 then :
7272 printf %s "(cached) " >&6
7273 else $as_nop
7274 if test -n "$FONTFORGE"; then
7275 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7276 else
7277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7278 for as_dir in $PATH
7280 IFS=$as_save_IFS
7281 case $as_dir in #(((
7282 '') as_dir=./ ;;
7283 */) ;;
7284 *) as_dir=$as_dir/ ;;
7285 esac
7286 for ac_exec_ext in '' $ac_executable_extensions; do
7287 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7288 ac_cv_prog_FONTFORGE="$ac_prog"
7289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7290 break 2
7292 done
7293 done
7294 IFS=$as_save_IFS
7298 FONTFORGE=$ac_cv_prog_FONTFORGE
7299 if test -n "$FONTFORGE"; then
7300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7301 printf "%s\n" "$FONTFORGE" >&6; }
7302 else
7303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 printf "%s\n" "no" >&6; }
7308 test -n "$FONTFORGE" && break
7309 done
7310 test -n "$FONTFORGE" || FONTFORGE="false"
7312 for ac_prog in rsvg-convert rsvg
7314 # Extract the first word of "$ac_prog", so it can be a program name with args.
7315 set dummy $ac_prog; ac_word=$2
7316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7317 printf %s "checking for $ac_word... " >&6; }
7318 if test ${ac_cv_prog_RSVG+y}
7319 then :
7320 printf %s "(cached) " >&6
7321 else $as_nop
7322 if test -n "$RSVG"; then
7323 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7324 else
7325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7326 for as_dir in $PATH
7328 IFS=$as_save_IFS
7329 case $as_dir in #(((
7330 '') as_dir=./ ;;
7331 */) ;;
7332 *) as_dir=$as_dir/ ;;
7333 esac
7334 for ac_exec_ext in '' $ac_executable_extensions; do
7335 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7336 ac_cv_prog_RSVG="$ac_prog"
7337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7338 break 2
7340 done
7341 done
7342 IFS=$as_save_IFS
7346 RSVG=$ac_cv_prog_RSVG
7347 if test -n "$RSVG"; then
7348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7349 printf "%s\n" "$RSVG" >&6; }
7350 else
7351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7352 printf "%s\n" "no" >&6; }
7356 test -n "$RSVG" && break
7357 done
7358 test -n "$RSVG" || RSVG="false"
7360 for ac_prog in convert
7362 # Extract the first word of "$ac_prog", so it can be a program name with args.
7363 set dummy $ac_prog; ac_word=$2
7364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 printf %s "checking for $ac_word... " >&6; }
7366 if test ${ac_cv_prog_CONVERT+y}
7367 then :
7368 printf %s "(cached) " >&6
7369 else $as_nop
7370 if test -n "$CONVERT"; then
7371 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7372 else
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 for as_dir in $PATH
7376 IFS=$as_save_IFS
7377 case $as_dir in #(((
7378 '') as_dir=./ ;;
7379 */) ;;
7380 *) as_dir=$as_dir/ ;;
7381 esac
7382 for ac_exec_ext in '' $ac_executable_extensions; do
7383 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7384 ac_cv_prog_CONVERT="$ac_prog"
7385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7386 break 2
7388 done
7389 done
7390 IFS=$as_save_IFS
7394 CONVERT=$ac_cv_prog_CONVERT
7395 if test -n "$CONVERT"; then
7396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7397 printf "%s\n" "$CONVERT" >&6; }
7398 else
7399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 printf "%s\n" "no" >&6; }
7404 test -n "$CONVERT" && break
7405 done
7406 test -n "$CONVERT" || CONVERT="false"
7408 for ac_prog in icotool
7410 # Extract the first word of "$ac_prog", so it can be a program name with args.
7411 set dummy $ac_prog; ac_word=$2
7412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7413 printf %s "checking for $ac_word... " >&6; }
7414 if test ${ac_cv_prog_ICOTOOL+y}
7415 then :
7416 printf %s "(cached) " >&6
7417 else $as_nop
7418 if test -n "$ICOTOOL"; then
7419 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7420 else
7421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7422 for as_dir in $PATH
7424 IFS=$as_save_IFS
7425 case $as_dir in #(((
7426 '') as_dir=./ ;;
7427 */) ;;
7428 *) as_dir=$as_dir/ ;;
7429 esac
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7432 ac_cv_prog_ICOTOOL="$ac_prog"
7433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7434 break 2
7436 done
7437 done
7438 IFS=$as_save_IFS
7442 ICOTOOL=$ac_cv_prog_ICOTOOL
7443 if test -n "$ICOTOOL"; then
7444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7445 printf "%s\n" "$ICOTOOL" >&6; }
7446 else
7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 printf "%s\n" "no" >&6; }
7452 test -n "$ICOTOOL" && break
7453 done
7454 test -n "$ICOTOOL" || ICOTOOL="false"
7456 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7457 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7459 if test "$CONVERT" = false
7460 then
7461 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7462 else
7463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7464 printf %s "checking for recent enough imagemagick... " >&6; }
7465 convert_version=`convert --version | head -n1`
7466 if test "x$convert_version" != "x"
7467 then
7468 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7469 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7470 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7471 then
7472 CONVERT=false
7475 if test "$CONVERT" = false
7476 then
7477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7478 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7479 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7480 else
7481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7482 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7486 if test "$ICOTOOL" = false
7487 then
7488 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7489 else
7490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7491 printf %s "checking for recent enough icotool... " >&6; }
7492 icotool_version=`icotool --version | head -n1`
7493 if test "x$icotool_version" != "x"
7494 then
7495 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7496 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7497 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7498 then
7499 ICOTOOL=false
7500 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7503 if test "$ICOTOOL" = false
7504 then
7505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7506 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7507 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7508 else
7509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7510 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7514 with_gettext=yes
7515 with_gettextpo=yes
7517 enable_werror=yes
7520 test "x$with_gettext" != xno || MSGFMT=false
7521 if test "$MSGFMT" != "false"
7522 then
7523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7524 printf %s "checking whether msgfmt supports contexts... " >&6; }
7525 if test ${wine_cv_msgfmt_contexts+y}
7526 then :
7527 printf %s "(cached) " >&6
7528 else $as_nop
7529 cat >conftest.po <<EOF
7530 # comment
7531 msgctxt "ctxt"
7532 msgid "id"
7533 msgstr "str"
7535 if $MSGFMT -o /dev/null conftest.po 2>&5
7536 then
7537 wine_cv_msgfmt_contexts=yes
7538 else
7539 wine_cv_msgfmt_contexts=no
7542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7543 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7544 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7546 if test "$MSGFMT" = false
7547 then :
7548 case "x$with_gettext" in
7549 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7550 xno) ;;
7551 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7552 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7553 esac
7554 enable_po=${enable_po:-no}
7558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7559 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7560 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7561 then :
7562 printf %s "(cached) " >&6
7563 else $as_nop
7564 ac_check_lib_save_LIBS=$LIBS
7565 LIBS="-li386 $LIBS"
7566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7567 /* end confdefs.h. */
7569 /* Override any GCC internal prototype to avoid an error.
7570 Use char because int might match the return type of a GCC
7571 builtin and then its argument prototype would still apply. */
7572 char i386_set_ldt ();
7574 main (void)
7576 return i386_set_ldt ();
7578 return 0;
7580 _ACEOF
7581 if ac_fn_c_try_link "$LINENO"
7582 then :
7583 ac_cv_lib_i386_i386_set_ldt=yes
7584 else $as_nop
7585 ac_cv_lib_i386_i386_set_ldt=no
7587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7588 conftest$ac_exeext conftest.$ac_ext
7589 LIBS=$ac_check_lib_save_LIBS
7591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7592 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7593 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7594 then :
7595 I386_LIBS="-li386"
7600 OPENGL_LIBS=""
7604 # Check whether --enable-largefile was given.
7605 if test ${enable_largefile+y}
7606 then :
7607 enableval=$enable_largefile;
7610 if test "$enable_largefile" != no; then
7612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7613 printf %s "checking for special C compiler options needed for large files... " >&6; }
7614 if test ${ac_cv_sys_largefile_CC+y}
7615 then :
7616 printf %s "(cached) " >&6
7617 else $as_nop
7618 ac_cv_sys_largefile_CC=no
7619 if test "$GCC" != yes; then
7620 ac_save_CC=$CC
7621 while :; do
7622 # IRIX 6.2 and later do not support large files by default,
7623 # so use the C compiler's -n32 option if that helps.
7624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h. */
7626 #include <sys/types.h>
7627 /* Check that off_t can represent 2**63 - 1 correctly.
7628 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7629 since some C++ compilers masquerading as C compilers
7630 incorrectly reject 9223372036854775807. */
7631 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7632 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7633 && LARGE_OFF_T % 2147483647 == 1)
7634 ? 1 : -1];
7636 main (void)
7640 return 0;
7642 _ACEOF
7643 if ac_fn_c_try_compile "$LINENO"
7644 then :
7645 break
7647 rm -f core conftest.err conftest.$ac_objext conftest.beam
7648 CC="$CC -n32"
7649 if ac_fn_c_try_compile "$LINENO"
7650 then :
7651 ac_cv_sys_largefile_CC=' -n32'; break
7653 rm -f core conftest.err conftest.$ac_objext conftest.beam
7654 break
7655 done
7656 CC=$ac_save_CC
7657 rm -f conftest.$ac_ext
7660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7661 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7662 if test "$ac_cv_sys_largefile_CC" != no; then
7663 CC=$CC$ac_cv_sys_largefile_CC
7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7667 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7668 if test ${ac_cv_sys_file_offset_bits+y}
7669 then :
7670 printf %s "(cached) " >&6
7671 else $as_nop
7672 while :; do
7673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7674 /* end confdefs.h. */
7675 #include <sys/types.h>
7676 /* Check that off_t can represent 2**63 - 1 correctly.
7677 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7678 since some C++ compilers masquerading as C compilers
7679 incorrectly reject 9223372036854775807. */
7680 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7681 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7682 && LARGE_OFF_T % 2147483647 == 1)
7683 ? 1 : -1];
7685 main (void)
7689 return 0;
7691 _ACEOF
7692 if ac_fn_c_try_compile "$LINENO"
7693 then :
7694 ac_cv_sys_file_offset_bits=no; break
7696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7699 #define _FILE_OFFSET_BITS 64
7700 #include <sys/types.h>
7701 /* Check that off_t can represent 2**63 - 1 correctly.
7702 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7703 since some C++ compilers masquerading as C compilers
7704 incorrectly reject 9223372036854775807. */
7705 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7706 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7707 && LARGE_OFF_T % 2147483647 == 1)
7708 ? 1 : -1];
7710 main (void)
7714 return 0;
7716 _ACEOF
7717 if ac_fn_c_try_compile "$LINENO"
7718 then :
7719 ac_cv_sys_file_offset_bits=64; break
7721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7722 ac_cv_sys_file_offset_bits=unknown
7723 break
7724 done
7726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7727 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7728 case $ac_cv_sys_file_offset_bits in #(
7729 no | unknown) ;;
7731 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7733 esac
7734 rm -rf conftest*
7735 if test $ac_cv_sys_file_offset_bits = unknown; then
7736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7737 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7738 if test ${ac_cv_sys_large_files+y}
7739 then :
7740 printf %s "(cached) " >&6
7741 else $as_nop
7742 while :; do
7743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7744 /* end confdefs.h. */
7745 #include <sys/types.h>
7746 /* Check that off_t can represent 2**63 - 1 correctly.
7747 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7748 since some C++ compilers masquerading as C compilers
7749 incorrectly reject 9223372036854775807. */
7750 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7751 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7752 && LARGE_OFF_T % 2147483647 == 1)
7753 ? 1 : -1];
7755 main (void)
7759 return 0;
7761 _ACEOF
7762 if ac_fn_c_try_compile "$LINENO"
7763 then :
7764 ac_cv_sys_large_files=no; break
7766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7768 /* end confdefs.h. */
7769 #define _LARGE_FILES 1
7770 #include <sys/types.h>
7771 /* Check that off_t can represent 2**63 - 1 correctly.
7772 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7773 since some C++ compilers masquerading as C compilers
7774 incorrectly reject 9223372036854775807. */
7775 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7776 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7777 && LARGE_OFF_T % 2147483647 == 1)
7778 ? 1 : -1];
7780 main (void)
7784 return 0;
7786 _ACEOF
7787 if ac_fn_c_try_compile "$LINENO"
7788 then :
7789 ac_cv_sys_large_files=1; break
7791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7792 ac_cv_sys_large_files=unknown
7793 break
7794 done
7796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7797 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7798 case $ac_cv_sys_large_files in #(
7799 no | unknown) ;;
7801 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7803 esac
7804 rm -rf conftest*
7809 ac_header= ac_cache=
7810 for ac_item in $ac_header_c_list
7812 if test $ac_cache; then
7813 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7814 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7815 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7817 ac_header= ac_cache=
7818 elif test $ac_header; then
7819 ac_cache=$ac_item
7820 else
7821 ac_header=$ac_item
7823 done
7832 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7833 then :
7835 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7838 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7839 if test "x$ac_cv_header_AL_al_h" = xyes
7840 then :
7841 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7844 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7845 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7846 then :
7847 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7850 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7851 if test "x$ac_cv_header_CL_cl_h" = xyes
7852 then :
7853 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7856 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7858 then :
7859 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7862 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7864 then :
7865 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7870 then :
7871 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_EGL_egl_h" = xyes
7876 then :
7877 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7882 then :
7883 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7888 then :
7889 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7894 then :
7895 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_Security_Security_h" = xyes
7900 then :
7901 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7906 then :
7907 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7912 then :
7913 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_arpa_inet_h" = xyes
7918 then :
7919 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7924 then :
7925 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_asm_types_h" = xyes
7930 then :
7931 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_asm_user_h" = xyes
7936 then :
7937 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_elf_h" = xyes
7942 then :
7943 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_float_h" = xyes
7948 then :
7949 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_gettext_po_h" = xyes
7954 then :
7955 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_libproc_h" = xyes
7960 then :
7961 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_link_h" = xyes
7966 then :
7967 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7972 then :
7973 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_linux_filter_h" = xyes
7978 then :
7979 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7984 then :
7985 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7990 then :
7991 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_linux_input_h" = xyes
7996 then :
7997 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8002 then :
8003 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_linux_major_h" = xyes
8008 then :
8009 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_linux_param_h" = xyes
8014 then :
8015 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_linux_serial_h" = xyes
8020 then :
8021 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_linux_types_h" = xyes
8026 then :
8027 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8032 then :
8033 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_lwp_h" = xyes
8038 then :
8039 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8044 then :
8045 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_mach_mach_h" = xyes
8050 then :
8051 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_machine_cpu_h" = xyes
8056 then :
8057 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8062 then :
8063 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_mntent_h" = xyes
8068 then :
8069 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_netdb_h" = xyes
8074 then :
8075 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_netinet_in_h" = xyes
8080 then :
8081 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8086 then :
8087 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8092 then :
8093 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8098 then :
8099 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8104 then :
8105 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_port_h" = xyes
8110 then :
8111 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_pthread_h" = xyes
8116 then :
8117 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_pwd_h" = xyes
8122 then :
8123 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sched_h" = xyes
8128 then :
8129 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8134 then :
8135 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8140 then :
8141 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_scsi_sg_h" = xyes
8146 then :
8147 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_stdint_h" = xyes
8152 then :
8153 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_attr_h" = xyes
8158 then :
8159 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_auxv_h" = xyes
8164 then :
8165 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_cdio_h" = xyes
8170 then :
8171 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_epoll_h" = xyes
8176 then :
8177 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_event_h" = xyes
8182 then :
8183 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_extattr_h" = xyes
8188 then :
8189 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_filio_h" = xyes
8194 then :
8195 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_ipc_h" = xyes
8200 then :
8201 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_link_h" = xyes
8206 then :
8207 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_modem_h" = xyes
8212 then :
8213 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_mtio_h" = xyes
8218 then :
8219 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_param_h" = xyes
8224 then :
8225 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_prctl_h" = xyes
8230 then :
8231 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8236 then :
8237 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_queue_h" = xyes
8242 then :
8243 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_random_h" = xyes
8248 then :
8249 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_resource_h" = xyes
8254 then :
8255 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8260 then :
8261 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_shm_h" = xyes
8266 then :
8267 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_signal_h" = xyes
8272 then :
8273 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8278 then :
8279 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_sys_sockio_h" = xyes
8284 then :
8285 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8290 then :
8291 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_sys_strtio_h" = xyes
8296 then :
8297 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_sys_syscall_h" = xyes
8302 then :
8303 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8308 then :
8309 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8312 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8313 if test "x$ac_cv_header_sys_times_h" = xyes
8314 then :
8315 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8318 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8319 if test "x$ac_cv_header_sys_uio_h" = xyes
8320 then :
8321 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8324 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8325 if test "x$ac_cv_header_sys_user_h" = xyes
8326 then :
8327 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8330 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8331 if test "x$ac_cv_header_sys_utsname_h" = xyes
8332 then :
8333 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8336 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8337 if test "x$ac_cv_header_sys_vnode_h" = xyes
8338 then :
8339 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8342 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8343 if test "x$ac_cv_header_sys_xattr_h" = xyes
8344 then :
8345 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8348 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8349 if test "x$ac_cv_header_syscall_h" = xyes
8350 then :
8351 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8354 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8355 if test "x$ac_cv_header_utime_h" = xyes
8356 then :
8357 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8360 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8361 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8362 then :
8363 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8366 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8367 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8368 then :
8369 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8373 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8374 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8375 then :
8377 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8381 if test $ac_cv_header_sys_mkdev_h = no; then
8382 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8383 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8384 then :
8386 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8392 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8393 if test ${ac_cv_header_stat_broken+y}
8394 then :
8395 printf %s "(cached) " >&6
8396 else $as_nop
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8399 #include <sys/types.h>
8400 #include <sys/stat.h>
8402 #if defined S_ISBLK && defined S_IFDIR
8403 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8404 #endif
8406 #if defined S_ISBLK && defined S_IFCHR
8407 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8408 #endif
8410 #if defined S_ISLNK && defined S_IFREG
8411 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8412 #endif
8414 #if defined S_ISSOCK && defined S_IFREG
8415 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8416 #endif
8418 _ACEOF
8419 if ac_fn_c_try_compile "$LINENO"
8420 then :
8421 ac_cv_header_stat_broken=no
8422 else $as_nop
8423 ac_cv_header_stat_broken=yes
8425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8428 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8429 if test $ac_cv_header_stat_broken = yes; then
8431 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8437 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8438 #ifdef HAVE_SYS_PARAM_H
8439 # include <sys/param.h>
8440 #endif
8442 if test "x$ac_cv_header_sys_conf_h" = xyes
8443 then :
8444 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8447 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8448 #ifdef HAVE_SYS_PARAM_H
8449 # include <sys/param.h>
8450 #endif
8452 if test "x$ac_cv_header_sys_mount_h" = xyes
8453 then :
8454 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8457 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8458 #ifdef HAVE_SYS_PARAM_H
8459 # include <sys/param.h>
8460 #endif
8462 if test "x$ac_cv_header_sys_statfs_h" = xyes
8463 then :
8464 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8467 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8468 #ifdef HAVE_SYS_PARAM_H
8469 # include <sys/param.h>
8470 #endif
8472 if test "x$ac_cv_header_sys_user_h" = xyes
8473 then :
8474 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8477 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8478 #ifdef HAVE_SYS_PARAM_H
8479 # include <sys/param.h>
8480 #endif
8482 if test "x$ac_cv_header_sys_vfs_h" = xyes
8483 then :
8484 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8489 saved_sysctl_h_CFLAGS=$CFLAGS
8490 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8491 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8492 #ifdef HAVE_SYS_PARAM_H
8493 # include <sys/param.h>
8494 #endif
8496 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8497 then :
8498 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8502 CFLAGS=$saved_sysctl_h_CFLAGS
8504 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8505 #include <sys/socket.h>
8506 #ifdef HAVE_SYS_SOCKETVAR_H
8507 # include <sys/socketvar.h>
8508 #endif
8509 #ifdef HAVE_NET_ROUTE_H
8510 # include <net/route.h>
8511 #endif
8512 #ifdef HAVE_NETINET_IN_H
8513 # include <netinet/in.h>
8514 #endif
8515 #ifdef HAVE_NETINET_IN_SYSTM_H
8516 # include <netinet/in_systm.h>
8517 #endif
8518 #ifdef HAVE_NET_IF_H
8519 # include <net/if.h>
8520 #endif
8521 #ifdef HAVE_NETINET_IP_H
8522 # include <netinet/ip.h>
8523 #endif
8525 if test "x$ac_cv_header_netinet_ip_h" = xyes
8526 then :
8527 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8530 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8531 #include <sys/socket.h>
8532 #ifdef HAVE_SYS_SOCKETVAR_H
8533 # include <sys/socketvar.h>
8534 #endif
8535 #ifdef HAVE_NET_ROUTE_H
8536 # include <net/route.h>
8537 #endif
8538 #ifdef HAVE_NETINET_IN_H
8539 # include <netinet/in.h>
8540 #endif
8541 #ifdef HAVE_NETINET_IN_SYSTM_H
8542 # include <netinet/in_systm.h>
8543 #endif
8544 #ifdef HAVE_NET_IF_H
8545 # include <net/if.h>
8546 #endif
8547 #ifdef HAVE_NETINET_IP_H
8548 # include <netinet/ip.h>
8549 #endif
8551 if test "x$ac_cv_header_net_if_h" = xyes
8552 then :
8553 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8556 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8557 #include <sys/socket.h>
8558 #ifdef HAVE_SYS_SOCKETVAR_H
8559 # include <sys/socketvar.h>
8560 #endif
8561 #ifdef HAVE_NET_ROUTE_H
8562 # include <net/route.h>
8563 #endif
8564 #ifdef HAVE_NETINET_IN_H
8565 # include <netinet/in.h>
8566 #endif
8567 #ifdef HAVE_NETINET_IN_SYSTM_H
8568 # include <netinet/in_systm.h>
8569 #endif
8570 #ifdef HAVE_NET_IF_H
8571 # include <net/if.h>
8572 #endif
8573 #ifdef HAVE_NETINET_IP_H
8574 # include <netinet/ip.h>
8575 #endif
8577 if test "x$ac_cv_header_net_if_arp_h" = xyes
8578 then :
8579 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8582 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8583 #include <sys/socket.h>
8584 #ifdef HAVE_SYS_SOCKETVAR_H
8585 # include <sys/socketvar.h>
8586 #endif
8587 #ifdef HAVE_NET_ROUTE_H
8588 # include <net/route.h>
8589 #endif
8590 #ifdef HAVE_NETINET_IN_H
8591 # include <netinet/in.h>
8592 #endif
8593 #ifdef HAVE_NETINET_IN_SYSTM_H
8594 # include <netinet/in_systm.h>
8595 #endif
8596 #ifdef HAVE_NET_IF_H
8597 # include <net/if.h>
8598 #endif
8599 #ifdef HAVE_NETINET_IP_H
8600 # include <netinet/ip.h>
8601 #endif
8603 if test "x$ac_cv_header_net_if_dl_h" = xyes
8604 then :
8605 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8608 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8609 #include <sys/socket.h>
8610 #ifdef HAVE_SYS_SOCKETVAR_H
8611 # include <sys/socketvar.h>
8612 #endif
8613 #ifdef HAVE_NET_ROUTE_H
8614 # include <net/route.h>
8615 #endif
8616 #ifdef HAVE_NETINET_IN_H
8617 # include <netinet/in.h>
8618 #endif
8619 #ifdef HAVE_NETINET_IN_SYSTM_H
8620 # include <netinet/in_systm.h>
8621 #endif
8622 #ifdef HAVE_NET_IF_H
8623 # include <net/if.h>
8624 #endif
8625 #ifdef HAVE_NETINET_IP_H
8626 # include <netinet/ip.h>
8627 #endif
8629 if test "x$ac_cv_header_net_if_types_h" = xyes
8630 then :
8631 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8634 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8635 #include <sys/socket.h>
8636 #ifdef HAVE_SYS_SOCKETVAR_H
8637 # include <sys/socketvar.h>
8638 #endif
8639 #ifdef HAVE_NET_ROUTE_H
8640 # include <net/route.h>
8641 #endif
8642 #ifdef HAVE_NETINET_IN_H
8643 # include <netinet/in.h>
8644 #endif
8645 #ifdef HAVE_NETINET_IN_SYSTM_H
8646 # include <netinet/in_systm.h>
8647 #endif
8648 #ifdef HAVE_NET_IF_H
8649 # include <net/if.h>
8650 #endif
8651 #ifdef HAVE_NETINET_IP_H
8652 # include <netinet/ip.h>
8653 #endif
8655 if test "x$ac_cv_header_net_route_h" = xyes
8656 then :
8657 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8660 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8661 #include <sys/socket.h>
8662 #ifdef HAVE_SYS_SOCKETVAR_H
8663 # include <sys/socketvar.h>
8664 #endif
8665 #ifdef HAVE_NET_ROUTE_H
8666 # include <net/route.h>
8667 #endif
8668 #ifdef HAVE_NETINET_IN_H
8669 # include <netinet/in.h>
8670 #endif
8671 #ifdef HAVE_NETINET_IN_SYSTM_H
8672 # include <netinet/in_systm.h>
8673 #endif
8674 #ifdef HAVE_NET_IF_H
8675 # include <net/if.h>
8676 #endif
8677 #ifdef HAVE_NETINET_IP_H
8678 # include <netinet/ip.h>
8679 #endif
8681 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8682 then :
8683 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8686 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8687 #include <sys/socket.h>
8688 #ifdef HAVE_SYS_SOCKETVAR_H
8689 # include <sys/socketvar.h>
8690 #endif
8691 #ifdef HAVE_NET_ROUTE_H
8692 # include <net/route.h>
8693 #endif
8694 #ifdef HAVE_NETINET_IN_H
8695 # include <netinet/in.h>
8696 #endif
8697 #ifdef HAVE_NETINET_IN_SYSTM_H
8698 # include <netinet/in_systm.h>
8699 #endif
8700 #ifdef HAVE_NET_IF_H
8701 # include <net/if.h>
8702 #endif
8703 #ifdef HAVE_NETINET_IP_H
8704 # include <netinet/ip.h>
8705 #endif
8707 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8708 then :
8709 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8712 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8713 #include <sys/socket.h>
8714 #ifdef HAVE_SYS_SOCKETVAR_H
8715 # include <sys/socketvar.h>
8716 #endif
8717 #ifdef HAVE_NET_ROUTE_H
8718 # include <net/route.h>
8719 #endif
8720 #ifdef HAVE_NETINET_IN_H
8721 # include <netinet/in.h>
8722 #endif
8723 #ifdef HAVE_NETINET_IN_SYSTM_H
8724 # include <netinet/in_systm.h>
8725 #endif
8726 #ifdef HAVE_NET_IF_H
8727 # include <net/if.h>
8728 #endif
8729 #ifdef HAVE_NETINET_IP_H
8730 # include <netinet/ip.h>
8731 #endif
8733 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8734 then :
8735 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8738 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8739 #include <sys/socket.h>
8740 #ifdef HAVE_SYS_SOCKETVAR_H
8741 # include <sys/socketvar.h>
8742 #endif
8743 #ifdef HAVE_NET_ROUTE_H
8744 # include <net/route.h>
8745 #endif
8746 #ifdef HAVE_NETINET_IN_H
8747 # include <netinet/in.h>
8748 #endif
8749 #ifdef HAVE_NETINET_IN_SYSTM_H
8750 # include <netinet/in_systm.h>
8751 #endif
8752 #ifdef HAVE_NET_IF_H
8753 # include <net/if.h>
8754 #endif
8755 #ifdef HAVE_NETINET_IP_H
8756 # include <netinet/ip.h>
8757 #endif
8759 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8760 then :
8761 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8764 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8765 #include <sys/socket.h>
8766 #ifdef HAVE_SYS_SOCKETVAR_H
8767 # include <sys/socketvar.h>
8768 #endif
8769 #ifdef HAVE_NET_ROUTE_H
8770 # include <net/route.h>
8771 #endif
8772 #ifdef HAVE_NETINET_IN_H
8773 # include <netinet/in.h>
8774 #endif
8775 #ifdef HAVE_NETINET_IN_SYSTM_H
8776 # include <netinet/in_systm.h>
8777 #endif
8778 #ifdef HAVE_NET_IF_H
8779 # include <net/if.h>
8780 #endif
8781 #ifdef HAVE_NETINET_IP_H
8782 # include <netinet/ip.h>
8783 #endif
8785 if test "x$ac_cv_header_netinet_udp_h" = xyes
8786 then :
8787 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8790 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8791 #include <sys/socket.h>
8792 #ifdef HAVE_SYS_SOCKETVAR_H
8793 # include <sys/socketvar.h>
8794 #endif
8795 #ifdef HAVE_NET_ROUTE_H
8796 # include <net/route.h>
8797 #endif
8798 #ifdef HAVE_NETINET_IN_H
8799 # include <netinet/in.h>
8800 #endif
8801 #ifdef HAVE_NETINET_IN_SYSTM_H
8802 # include <netinet/in_systm.h>
8803 #endif
8804 #ifdef HAVE_NET_IF_H
8805 # include <net/if.h>
8806 #endif
8807 #ifdef HAVE_NETINET_IP_H
8808 # include <netinet/ip.h>
8809 #endif
8811 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8812 then :
8813 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8816 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8817 #include <sys/socket.h>
8818 #ifdef HAVE_SYS_SOCKETVAR_H
8819 # include <sys/socketvar.h>
8820 #endif
8821 #ifdef HAVE_NET_ROUTE_H
8822 # include <net/route.h>
8823 #endif
8824 #ifdef HAVE_NETINET_IN_H
8825 # include <netinet/in.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IN_SYSTM_H
8828 # include <netinet/in_systm.h>
8829 #endif
8830 #ifdef HAVE_NET_IF_H
8831 # include <net/if.h>
8832 #endif
8833 #ifdef HAVE_NETINET_IP_H
8834 # include <netinet/ip.h>
8835 #endif
8837 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8838 then :
8839 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8842 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8843 #include <sys/socket.h>
8844 #ifdef HAVE_SYS_SOCKETVAR_H
8845 # include <sys/socketvar.h>
8846 #endif
8847 #ifdef HAVE_NET_ROUTE_H
8848 # include <net/route.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IN_H
8851 # include <netinet/in.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IN_SYSTM_H
8854 # include <netinet/in_systm.h>
8855 #endif
8856 #ifdef HAVE_NET_IF_H
8857 # include <net/if.h>
8858 #endif
8859 #ifdef HAVE_NETINET_IP_H
8860 # include <netinet/ip.h>
8861 #endif
8863 if test "x$ac_cv_header_sys_un_h" = xyes
8864 then :
8865 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8870 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8871 #include <sys/socket.h>
8872 #ifdef HAVE_SYS_SOCKETVAR_H
8873 # include <sys/socketvar.h>
8874 #endif
8875 #ifdef HAVE_NETINET_IN_H
8876 # include <netinet/in.h>
8877 #endif
8878 #ifdef HAVE_NETINET_IN_SYSTM_H
8879 # include <netinet/in_systm.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IP_H
8882 # include <netinet/ip.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IP_VAR_H
8885 # include <netinet/ip_var.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IP_ICMP_H
8888 # include <netinet/ip_icmp.h>
8889 #endif
8890 #ifdef HAVE_NETINET_UDP_H
8891 # include <netinet/udp.h>
8892 #endif
8893 #ifdef HAVE_NETINET_TCP_H
8894 # include <netinet/tcp.h>
8895 #endif
8897 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8898 then :
8899 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8902 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8903 #include <sys/socket.h>
8904 #ifdef HAVE_SYS_SOCKETVAR_H
8905 # include <sys/socketvar.h>
8906 #endif
8907 #ifdef HAVE_NETINET_IN_H
8908 # include <netinet/in.h>
8909 #endif
8910 #ifdef HAVE_NETINET_IN_SYSTM_H
8911 # include <netinet/in_systm.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IP_H
8914 # include <netinet/ip.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IP_VAR_H
8917 # include <netinet/ip_var.h>
8918 #endif
8919 #ifdef HAVE_NETINET_IP_ICMP_H
8920 # include <netinet/ip_icmp.h>
8921 #endif
8922 #ifdef HAVE_NETINET_UDP_H
8923 # include <netinet/udp.h>
8924 #endif
8925 #ifdef HAVE_NETINET_TCP_H
8926 # include <netinet/tcp.h>
8927 #endif
8929 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8930 then :
8931 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8934 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8935 #include <sys/socket.h>
8936 #ifdef HAVE_SYS_SOCKETVAR_H
8937 # include <sys/socketvar.h>
8938 #endif
8939 #ifdef HAVE_NETINET_IN_H
8940 # include <netinet/in.h>
8941 #endif
8942 #ifdef HAVE_NETINET_IN_SYSTM_H
8943 # include <netinet/in_systm.h>
8944 #endif
8945 #ifdef HAVE_NETINET_IP_H
8946 # include <netinet/ip.h>
8947 #endif
8948 #ifdef HAVE_NETINET_IP_VAR_H
8949 # include <netinet/ip_var.h>
8950 #endif
8951 #ifdef HAVE_NETINET_IP_ICMP_H
8952 # include <netinet/ip_icmp.h>
8953 #endif
8954 #ifdef HAVE_NETINET_UDP_H
8955 # include <netinet/udp.h>
8956 #endif
8957 #ifdef HAVE_NETINET_TCP_H
8958 # include <netinet/tcp.h>
8959 #endif
8961 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8962 then :
8963 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8966 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8967 #include <sys/socket.h>
8968 #ifdef HAVE_SYS_SOCKETVAR_H
8969 # include <sys/socketvar.h>
8970 #endif
8971 #ifdef HAVE_NETINET_IN_H
8972 # include <netinet/in.h>
8973 #endif
8974 #ifdef HAVE_NETINET_IN_SYSTM_H
8975 # include <netinet/in_systm.h>
8976 #endif
8977 #ifdef HAVE_NETINET_IP_H
8978 # include <netinet/ip.h>
8979 #endif
8980 #ifdef HAVE_NETINET_IP_VAR_H
8981 # include <netinet/ip_var.h>
8982 #endif
8983 #ifdef HAVE_NETINET_IP_ICMP_H
8984 # include <netinet/ip_icmp.h>
8985 #endif
8986 #ifdef HAVE_NETINET_UDP_H
8987 # include <netinet/udp.h>
8988 #endif
8989 #ifdef HAVE_NETINET_TCP_H
8990 # include <netinet/tcp.h>
8991 #endif
8993 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8994 then :
8995 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9000 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9001 #include <sys/socket.h>
9002 #ifdef HAVE_ASM_TYPES_H
9003 # include <asm/types.h>
9004 #endif
9005 #ifdef HAVE_LINUX_TYPES_H
9006 # include <linux/types.h>
9007 #endif
9009 if test "x$ac_cv_header_linux_ipx_h" = xyes
9010 then :
9011 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9014 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9015 #include <sys/socket.h>
9016 #ifdef HAVE_ASM_TYPES_H
9017 # include <asm/types.h>
9018 #endif
9019 #ifdef HAVE_LINUX_TYPES_H
9020 # include <linux/types.h>
9021 #endif
9023 if test "x$ac_cv_header_linux_irda_h" = xyes
9024 then :
9025 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9028 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9029 #include <sys/socket.h>
9030 #ifdef HAVE_ASM_TYPES_H
9031 # include <asm/types.h>
9032 #endif
9033 #ifdef HAVE_LINUX_TYPES_H
9034 # include <linux/types.h>
9035 #endif
9037 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9038 then :
9039 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9044 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9045 #include <sys/socket.h>
9046 #ifdef HAVE_NETINET_IN_H
9047 # include <netinet/in.h>
9048 #endif
9049 #ifdef HAVE_ARPA_NAMESER_H
9050 # include <arpa/nameser.h>
9051 #endif
9053 if test "x$ac_cv_header_resolv_h" = xyes
9054 then :
9055 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9060 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9062 if test "x$ac_cv_header_ifaddrs_h" = xyes
9063 then :
9064 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9069 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9071 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9072 then :
9073 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9078 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9079 #ifdef HAVE_SYS_UCONTEXT_H
9080 #include <sys/ucontext.h>
9081 #endif
9083 if test "x$ac_cv_header_sys_thr_h" = xyes
9084 then :
9085 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9090 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9091 #include <pthread.h>
9092 #endif
9094 if test "x$ac_cv_header_pthread_np_h" = xyes
9095 then :
9096 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9101 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9102 #include <sys/types.h>
9103 #ifdef HAVE_ASM_TYPES_H
9104 #include <asm/types.h>
9105 #endif
9107 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9108 then :
9109 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9114 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9115 #include <sys/param.h>
9116 #endif
9117 #include <sys/socket.h>
9118 #ifdef HAVE_SYS_QUEUE_H
9119 #include <sys/queue.h>
9120 #endif
9122 if test "x$ac_cv_header_libprocstat_h" = xyes
9123 then :
9124 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9129 if test "x$ac_cv_header_sys_xattr_h" = xyes
9130 then
9131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9132 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9133 if test ${wine_cv_xattr_extra_args+y}
9134 then :
9135 printf %s "(cached) " >&6
9136 else $as_nop
9137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9138 /* end confdefs.h. */
9139 #include <sys/xattr.h>
9141 main (void)
9143 getxattr("", "", "", 0, 0, 0);
9145 return 0;
9147 _ACEOF
9148 if ac_fn_c_try_compile "$LINENO"
9149 then :
9150 wine_cv_xattr_extra_args=yes
9151 else $as_nop
9152 wine_cv_xattr_extra_args=no
9154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9157 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9158 test $wine_cv_xattr_extra_args != yes ||
9159 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9164 DLLFLAGS=""
9166 LDDLLFLAGS=""
9168 LDEXECFLAGS=""
9170 EXTRACFLAGS=""
9172 UNIXDLLFLAGS="-fPIC"
9174 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9176 TOP_INSTALL_LIB=""
9178 TOP_INSTALL_DEV=""
9180 WINELOADER_LDFLAGS=""
9182 WINEPRELOADER_LDFLAGS=""
9184 LIBEXT="so"
9185 # Extract the first word of "ldd", so it can be a program name with args.
9186 set dummy ldd; ac_word=$2
9187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9188 printf %s "checking for $ac_word... " >&6; }
9189 if test ${ac_cv_path_LDD+y}
9190 then :
9191 printf %s "(cached) " >&6
9192 else $as_nop
9193 case $LDD in
9194 [\\/]* | ?:[\\/]*)
9195 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9199 as_dummy="/sbin:/usr/sbin:$PATH"
9200 for as_dir in $as_dummy
9202 IFS=$as_save_IFS
9203 case $as_dir in #(((
9204 '') as_dir=./ ;;
9205 */) ;;
9206 *) as_dir=$as_dir/ ;;
9207 esac
9208 for ac_exec_ext in '' $ac_executable_extensions; do
9209 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9210 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9212 break 2
9214 done
9215 done
9216 IFS=$as_save_IFS
9218 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9220 esac
9222 LDD=$ac_cv_path_LDD
9223 if test -n "$LDD"; then
9224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9225 printf "%s\n" "$LDD" >&6; }
9226 else
9227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9228 printf "%s\n" "no" >&6; }
9232 if test -n "$ac_tool_prefix"; then
9233 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9234 set dummy ${ac_tool_prefix}otool; ac_word=$2
9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9236 printf %s "checking for $ac_word... " >&6; }
9237 if test ${ac_cv_prog_OTOOL+y}
9238 then :
9239 printf %s "(cached) " >&6
9240 else $as_nop
9241 if test -n "$OTOOL"; then
9242 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9243 else
9244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9245 for as_dir in $PATH
9247 IFS=$as_save_IFS
9248 case $as_dir in #(((
9249 '') as_dir=./ ;;
9250 */) ;;
9251 *) as_dir=$as_dir/ ;;
9252 esac
9253 for ac_exec_ext in '' $ac_executable_extensions; do
9254 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9255 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9257 break 2
9259 done
9260 done
9261 IFS=$as_save_IFS
9265 OTOOL=$ac_cv_prog_OTOOL
9266 if test -n "$OTOOL"; then
9267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9268 printf "%s\n" "$OTOOL" >&6; }
9269 else
9270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9271 printf "%s\n" "no" >&6; }
9276 if test -z "$ac_cv_prog_OTOOL"; then
9277 ac_ct_OTOOL=$OTOOL
9278 # Extract the first word of "otool", so it can be a program name with args.
9279 set dummy otool; 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_ac_ct_OTOOL+y}
9283 then :
9284 printf %s "(cached) " >&6
9285 else $as_nop
9286 if test -n "$ac_ct_OTOOL"; then
9287 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # 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_ac_ct_OTOOL="otool"
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 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9311 if test -n "$ac_ct_OTOOL"; then
9312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9313 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9314 else
9315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9316 printf "%s\n" "no" >&6; }
9319 if test "x$ac_ct_OTOOL" = x; then
9320 OTOOL="otool"
9321 else
9322 case $cross_compiling:$ac_tool_warned in
9323 yes:)
9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9325 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9326 ac_tool_warned=yes ;;
9327 esac
9328 OTOOL=$ac_ct_OTOOL
9330 else
9331 OTOOL="$ac_cv_prog_OTOOL"
9334 if test -n "$ac_tool_prefix"; then
9335 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9336 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9338 printf %s "checking for $ac_word... " >&6; }
9339 if test ${ac_cv_prog_READELF+y}
9340 then :
9341 printf %s "(cached) " >&6
9342 else $as_nop
9343 if test -n "$READELF"; then
9344 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9345 else
9346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9347 for as_dir in $PATH
9349 IFS=$as_save_IFS
9350 case $as_dir in #(((
9351 '') as_dir=./ ;;
9352 */) ;;
9353 *) as_dir=$as_dir/ ;;
9354 esac
9355 for ac_exec_ext in '' $ac_executable_extensions; do
9356 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9357 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9359 break 2
9361 done
9362 done
9363 IFS=$as_save_IFS
9367 READELF=$ac_cv_prog_READELF
9368 if test -n "$READELF"; then
9369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9370 printf "%s\n" "$READELF" >&6; }
9371 else
9372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9373 printf "%s\n" "no" >&6; }
9378 if test -z "$ac_cv_prog_READELF"; then
9379 ac_ct_READELF=$READELF
9380 # Extract the first word of "readelf", so it can be a program name with args.
9381 set dummy readelf; ac_word=$2
9382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9383 printf %s "checking for $ac_word... " >&6; }
9384 if test ${ac_cv_prog_ac_ct_READELF+y}
9385 then :
9386 printf %s "(cached) " >&6
9387 else $as_nop
9388 if test -n "$ac_ct_READELF"; then
9389 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9390 else
9391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9392 for as_dir in $PATH
9394 IFS=$as_save_IFS
9395 case $as_dir in #(((
9396 '') as_dir=./ ;;
9397 */) ;;
9398 *) as_dir=$as_dir/ ;;
9399 esac
9400 for ac_exec_ext in '' $ac_executable_extensions; do
9401 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9402 ac_cv_prog_ac_ct_READELF="readelf"
9403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9404 break 2
9406 done
9407 done
9408 IFS=$as_save_IFS
9412 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9413 if test -n "$ac_ct_READELF"; then
9414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9415 printf "%s\n" "$ac_ct_READELF" >&6; }
9416 else
9417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9418 printf "%s\n" "no" >&6; }
9421 if test "x$ac_ct_READELF" = x; then
9422 READELF="true"
9423 else
9424 case $cross_compiling:$ac_tool_warned in
9425 yes:)
9426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9427 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9428 ac_tool_warned=yes ;;
9429 esac
9430 READELF=$ac_ct_READELF
9432 else
9433 READELF="$ac_cv_prog_READELF"
9436 wine_rules="all:"
9437 SUBDIRS=""
9439 DISABLED_SUBDIRS=""
9441 CONFIGURE_TARGETS=""
9444 wine_fn_config_makefile ()
9446 as_fn_append SUBDIRS " \\$as_nl $1"
9447 eval enable=\$$2
9448 case "$enable" in
9449 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9450 *aarch64*|*arm*|*i386*|*x86_64*)
9451 if test -n "$PE_ARCHS"
9452 then
9453 for i in $PE_ARCHS
9455 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9456 done
9457 else
9458 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9459 fi;;
9460 esac
9463 wine_fn_config_symlink ()
9465 ac_links=$@
9466 as_fn_append wine_rules "
9467 $ac_links:
9468 @./config.status \$@"
9469 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9472 wine_binary="wine"
9473 test "$HOST_ARCH" != x86_64 || wine_binary="wine64"
9474 WINELOADER_PROGRAMS="$wine_binary"
9476 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9478 case $host_os in
9479 cygwin*|mingw32*)
9480 LIBEXT="dll"
9481 EXTRACFLAGS="-D__WINE_PE_BUILD"
9482 case $host_cpu in
9483 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9484 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9485 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9486 then :
9487 printf %s "(cached) " >&6
9488 else $as_nop
9489 ac_wine_try_cflags_saved=$CFLAGS
9490 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9493 int main(int argc, char **argv) { return 0; }
9494 _ACEOF
9495 if ac_fn_c_try_link "$LINENO"
9496 then :
9497 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9498 else $as_nop
9499 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9501 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9502 conftest$ac_exeext conftest.$ac_ext
9503 CFLAGS=$ac_wine_try_cflags_saved
9505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9506 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9507 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9508 then :
9509 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9510 fi ;;
9511 esac
9512 enable_loader=${enable_loader:-no}
9513 enable_server=${enable_server:-no}
9514 with_x=${with_x:-no}
9515 with_pthread=${with_pthread:-no}
9518 darwin*|macosx*)
9519 ac_ext=m
9520 ac_cpp='$OBJCPP $CPPFLAGS'
9521 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9522 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9523 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9525 ac_ext=m
9526 ac_cpp='$OBJCPP $CPPFLAGS'
9527 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9528 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9529 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9530 if test -n "$ac_tool_prefix"; then
9531 for ac_prog in gcc objcc objc cc CC clang
9533 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9534 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9536 printf %s "checking for $ac_word... " >&6; }
9537 if test ${ac_cv_prog_OBJC+y}
9538 then :
9539 printf %s "(cached) " >&6
9540 else $as_nop
9541 if test -n "$OBJC"; then
9542 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9543 else
9544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9545 for as_dir in $PATH
9547 IFS=$as_save_IFS
9548 case $as_dir in #(((
9549 '') as_dir=./ ;;
9550 */) ;;
9551 *) as_dir=$as_dir/ ;;
9552 esac
9553 for ac_exec_ext in '' $ac_executable_extensions; do
9554 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9555 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9556 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9557 break 2
9559 done
9560 done
9561 IFS=$as_save_IFS
9565 OBJC=$ac_cv_prog_OBJC
9566 if test -n "$OBJC"; then
9567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9568 printf "%s\n" "$OBJC" >&6; }
9569 else
9570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9571 printf "%s\n" "no" >&6; }
9575 test -n "$OBJC" && break
9576 done
9578 if test -z "$OBJC"; then
9579 ac_ct_OBJC=$OBJC
9580 for ac_prog in gcc objcc objc cc CC clang
9582 # Extract the first word of "$ac_prog", so it can be a program name with args.
9583 set dummy $ac_prog; ac_word=$2
9584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9585 printf %s "checking for $ac_word... " >&6; }
9586 if test ${ac_cv_prog_ac_ct_OBJC+y}
9587 then :
9588 printf %s "(cached) " >&6
9589 else $as_nop
9590 if test -n "$ac_ct_OBJC"; then
9591 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9592 else
9593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9594 for as_dir in $PATH
9596 IFS=$as_save_IFS
9597 case $as_dir in #(((
9598 '') as_dir=./ ;;
9599 */) ;;
9600 *) as_dir=$as_dir/ ;;
9601 esac
9602 for ac_exec_ext in '' $ac_executable_extensions; do
9603 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9604 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9606 break 2
9608 done
9609 done
9610 IFS=$as_save_IFS
9614 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9615 if test -n "$ac_ct_OBJC"; then
9616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9617 printf "%s\n" "$ac_ct_OBJC" >&6; }
9618 else
9619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9620 printf "%s\n" "no" >&6; }
9624 test -n "$ac_ct_OBJC" && break
9625 done
9627 if test "x$ac_ct_OBJC" = x; then
9628 OBJC="gcc"
9629 else
9630 case $cross_compiling:$ac_tool_warned in
9631 yes:)
9632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9633 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9634 ac_tool_warned=yes ;;
9635 esac
9636 OBJC=$ac_ct_OBJC
9640 # Provide some information about the compiler.
9641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9642 set X $ac_compile
9643 ac_compiler=$2
9644 for ac_option in --version -v -V -qversion; do
9645 { { ac_try="$ac_compiler $ac_option >&5"
9646 case "(($ac_try" in
9647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9648 *) ac_try_echo=$ac_try;;
9649 esac
9650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9651 printf "%s\n" "$ac_try_echo"; } >&5
9652 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9653 ac_status=$?
9654 if test -s conftest.err; then
9655 sed '10a\
9656 ... rest of stderr output deleted ...
9657 10q' conftest.err >conftest.er1
9658 cat conftest.er1 >&5
9660 rm -f conftest.er1 conftest.err
9661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9662 test $ac_status = 0; }
9663 done
9665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9666 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9667 if test ${ac_cv_objc_compiler_gnu+y}
9668 then :
9669 printf %s "(cached) " >&6
9670 else $as_nop
9671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9675 main (void)
9677 #ifndef __GNUC__
9678 choke me
9679 #endif
9682 return 0;
9684 _ACEOF
9685 if ac_fn_objc_try_compile "$LINENO"
9686 then :
9687 ac_compiler_gnu=yes
9688 else $as_nop
9689 ac_compiler_gnu=no
9691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9692 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9696 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9697 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9699 if test $ac_compiler_gnu = yes; then
9700 GOBJC=yes
9701 else
9702 GOBJC=
9704 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9705 ac_save_OBJCFLAGS=$OBJCFLAGS
9706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9707 printf %s "checking whether $OBJC accepts -g... " >&6; }
9708 if test ${ac_cv_prog_objc_g+y}
9709 then :
9710 printf %s "(cached) " >&6
9711 else $as_nop
9712 ac_save_objc_werror_flag=$ac_objc_werror_flag
9713 ac_objc_werror_flag=yes
9714 ac_cv_prog_objc_g=no
9715 OBJCFLAGS="-g"
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9720 main (void)
9724 return 0;
9726 _ACEOF
9727 if ac_fn_objc_try_compile "$LINENO"
9728 then :
9729 ac_cv_prog_objc_g=yes
9730 else $as_nop
9731 OBJCFLAGS=""
9732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9736 main (void)
9740 return 0;
9742 _ACEOF
9743 if ac_fn_objc_try_compile "$LINENO"
9744 then :
9746 else $as_nop
9747 ac_objc_werror_flag=$ac_save_objc_werror_flag
9748 OBJCFLAGS="-g"
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9753 main (void)
9757 return 0;
9759 _ACEOF
9760 if ac_fn_objc_try_compile "$LINENO"
9761 then :
9762 ac_cv_prog_objc_g=yes
9764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9769 ac_objc_werror_flag=$ac_save_objc_werror_flag
9771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9772 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9773 if test $ac_test_OBJCFLAGS; then
9774 OBJCFLAGS=$ac_save_OBJCFLAGS
9775 elif test $ac_cv_prog_objc_g = yes; then
9776 if test "$GOBJC" = yes; then
9777 OBJCFLAGS="-g -O2"
9778 else
9779 OBJCFLAGS="-g"
9781 else
9782 if test "$GOBJC" = yes; then
9783 OBJCFLAGS="-O2"
9784 else
9785 OBJCFLAGS=
9788 ac_ext=m
9789 ac_cpp='$OBJCPP $CPPFLAGS'
9790 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9791 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9792 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9795 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9796 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9797 then :
9798 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9802 ac_ext=c
9803 ac_cpp='$CPP $CPPFLAGS'
9804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9808 LIBEXT="dylib"
9809 DLLFLAGS="$DLLFLAGS -fPIC"
9810 LDDLLFLAGS="-fPIC"
9811 COREFOUNDATION_LIBS="-framework CoreFoundation"
9813 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9815 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9817 CORESERVICES_LIBS="-framework CoreServices"
9819 APPKIT_LIBS="-framework AppKit"
9821 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9824 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9826 wine_can_build_preloader=yes
9827 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"
9828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9829 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9830 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9831 then :
9832 printf %s "(cached) " >&6
9833 else $as_nop
9834 ac_wine_try_cflags_saved=$CFLAGS
9835 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9838 int main(int argc, char **argv) { return 0; }
9839 _ACEOF
9840 if ac_fn_c_try_link "$LINENO"
9841 then :
9842 ac_cv_cflags__Wl__no_new_main__e__main=yes
9843 else $as_nop
9844 ac_cv_cflags__Wl__no_new_main__e__main=no
9846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9847 conftest$ac_exeext conftest.$ac_ext
9848 CFLAGS=$ac_wine_try_cflags_saved
9850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9851 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9852 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9853 then :
9854 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9855 { 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
9856 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9857 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9858 then :
9859 printf %s "(cached) " >&6
9860 else $as_nop
9861 ac_wine_try_cflags_saved=$CFLAGS
9862 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9865 int main(int argc, char **argv) { return 0; }
9866 _ACEOF
9867 if ac_fn_c_try_link "$LINENO"
9868 then :
9869 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9870 else $as_nop
9871 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9874 conftest$ac_exeext conftest.$ac_ext
9875 CFLAGS=$ac_wine_try_cflags_saved
9877 { 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
9878 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9879 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9880 then :
9881 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9882 else $as_nop
9883 wine_can_build_preloader=no
9885 else $as_nop
9886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9887 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9888 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9889 then :
9890 printf %s "(cached) " >&6
9891 else $as_nop
9892 ac_wine_try_cflags_saved=$CFLAGS
9893 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9895 /* end confdefs.h. */
9896 int main(int argc, char **argv) { return 0; }
9897 _ACEOF
9898 if ac_fn_c_try_link "$LINENO"
9899 then :
9900 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9901 else $as_nop
9902 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9905 conftest$ac_exeext conftest.$ac_ext
9906 CFLAGS=$ac_wine_try_cflags_saved
9908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9909 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9910 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9911 then :
9912 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9913 else $as_nop
9914 wine_can_build_preloader=no
9917 if test "$wine_can_build_preloader" = "yes"
9918 then
9919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9920 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9921 if test ${ac_cv_cflags__Wl__no_pie+y}
9922 then :
9923 printf %s "(cached) " >&6
9924 else $as_nop
9925 ac_wine_try_cflags_saved=$CFLAGS
9926 CFLAGS="$CFLAGS -Wl,-no_pie"
9927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9928 /* end confdefs.h. */
9929 int main(int argc, char **argv) { return 0; }
9930 _ACEOF
9931 if ac_fn_c_try_link "$LINENO"
9932 then :
9933 ac_cv_cflags__Wl__no_pie=yes
9934 else $as_nop
9935 ac_cv_cflags__Wl__no_pie=no
9937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9938 conftest$ac_exeext conftest.$ac_ext
9939 CFLAGS=$ac_wine_try_cflags_saved
9941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9942 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9943 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9944 then :
9945 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9947 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
9948 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9949 else
9950 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9953 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9954 then
9955 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9958 if test "$ac_cv_header_Security_Security_h" = "yes"
9959 then
9960 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9963 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9964 then
9965 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9967 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9969 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9970 then
9971 OPENCL_LIBS="-framework OpenCL"
9973 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9975 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9976 then
9977 ac_save_LIBS="$LIBS"
9978 LIBS="$LIBS $IOKIT_LIBS"
9979 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9980 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
9981 then :
9982 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
9986 LIBS="$ac_save_LIBS"
9989 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9990 then
9991 CARBON_LIBS="-framework Carbon"
9994 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9995 then
9996 METAL_LIBS="-framework Metal"
10000 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10001 then
10002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10003 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10004 ac_ext=m
10005 ac_cpp='$OBJCPP $CPPFLAGS'
10006 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10007 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10008 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10012 #include <Metal/Metal.h>
10014 main (void)
10016 id<MTLDevice> device; device.registryID;
10018 return 0;
10020 _ACEOF
10021 if ac_fn_objc_try_compile "$LINENO"
10022 then :
10023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10024 printf "%s\n" "yes" >&6; }
10026 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10028 else $as_nop
10029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10030 printf "%s\n" "no" >&6; }
10032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10033 ac_ext=c
10034 ac_cpp='$CPP $CPPFLAGS'
10035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10041 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10042 then
10043 ac_save_LIBS="$LIBS"
10044 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10045 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10046 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10047 then :
10048 enable_winemac_drv=${enable_winemac_drv:-yes}
10051 LIBS="$ac_save_LIBS"
10054 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10055 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10057 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10059 WINELOADER_DEPENDS="wine_info.plist"
10061 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10064 linux-android*)
10066 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10068 DLLFLAGS="$DLLFLAGS -fPIC"
10069 LDDLLFLAGS="-fPIC"
10070 LDEXECFLAGS="-Wl,-pie"
10071 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10073 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10074 if test ${ac_cv_cflags__Wl__z_defs+y}
10075 then :
10076 printf %s "(cached) " >&6
10077 else $as_nop
10078 ac_wine_try_cflags_saved=$CFLAGS
10079 CFLAGS="$CFLAGS -Wl,-z,defs"
10080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10081 /* end confdefs.h. */
10082 int main(int argc, char **argv) { return 0; }
10083 _ACEOF
10084 if ac_fn_c_try_link "$LINENO"
10085 then :
10086 ac_cv_cflags__Wl__z_defs=yes
10087 else $as_nop
10088 ac_cv_cflags__Wl__z_defs=no
10090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10091 conftest$ac_exeext conftest.$ac_ext
10092 CFLAGS=$ac_wine_try_cflags_saved
10094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10095 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10096 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10097 then :
10098 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10101 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10102 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10103 then :
10104 printf %s "(cached) " >&6
10105 else $as_nop
10106 ac_wine_try_cflags_saved=$CFLAGS
10107 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10109 /* end confdefs.h. */
10110 int main(int argc, char **argv) { return 0; }
10111 _ACEOF
10112 if ac_fn_c_try_link "$LINENO"
10113 then :
10114 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10115 else $as_nop
10116 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10119 conftest$ac_exeext conftest.$ac_ext
10120 CFLAGS=$ac_wine_try_cflags_saved
10122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10123 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10124 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10125 then :
10126 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10128 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10131 printf %s "checking for -lEGL... " >&6; }
10132 if test ${ac_cv_lib_soname_EGL+y}
10133 then :
10134 printf %s "(cached) " >&6
10135 else $as_nop
10136 ac_check_soname_save_LIBS=$LIBS
10137 LIBS="-lEGL $LIBS"
10138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10139 /* end confdefs.h. */
10141 /* Override any GCC internal prototype to avoid an error.
10142 Use char because int might match the return type of a GCC
10143 builtin and then its argument prototype would still apply. */
10144 char eglGetProcAddress ();
10146 main (void)
10148 return eglGetProcAddress ();
10150 return 0;
10152 _ACEOF
10153 if ac_fn_c_try_link "$LINENO"
10154 then :
10155 case "$LIBEXT" in
10156 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10157 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'` ;;
10158 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10159 if ${ac_cv_lib_soname_EGL:+false} :
10160 then :
10161 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10162 fi ;;
10163 esac
10164 else $as_nop
10165 ac_cv_lib_soname_EGL=
10167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10168 conftest$ac_exeext conftest.$ac_ext
10169 LIBS=$ac_check_soname_save_LIBS
10171 if ${ac_cv_lib_soname_EGL:+false} :
10172 then :
10173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10174 printf "%s\n" "not found" >&6; }
10176 else $as_nop
10177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10178 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10180 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10185 printf %s "checking for -lGLESv2... " >&6; }
10186 if test ${ac_cv_lib_soname_GLESv2+y}
10187 then :
10188 printf %s "(cached) " >&6
10189 else $as_nop
10190 ac_check_soname_save_LIBS=$LIBS
10191 LIBS="-lGLESv2 $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 glFlush ();
10200 main (void)
10202 return glFlush ();
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_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10211 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'` ;;
10212 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10213 if ${ac_cv_lib_soname_GLESv2:+false} :
10214 then :
10215 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10216 fi ;;
10217 esac
10218 else $as_nop
10219 ac_cv_lib_soname_GLESv2=
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_GLESv2:+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_GLESv2" >&5
10232 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10234 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10239 if test "x$exec_prefix" = xNONE
10240 then
10241 case $host_cpu in
10242 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10243 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10244 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10245 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10246 esac
10252 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10254 test "$ac_cv_sys_file_offset_bits" = 64 &&
10255 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10257 case $host_cpu in
10258 *i[3456789]86*)
10259 DLLFLAGS="$DLLFLAGS -fno-PIC"
10260 LDDLLFLAGS="-fno-PIC"
10261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10262 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10263 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10264 then :
10265 printf %s "(cached) " >&6
10266 else $as_nop
10267 ac_wine_try_cflags_saved=$CFLAGS
10268 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10270 /* end confdefs.h. */
10271 int main(int argc, char **argv) { return 0; }
10272 _ACEOF
10273 if ac_fn_c_try_link "$LINENO"
10274 then :
10275 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10276 else $as_nop
10277 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10280 conftest$ac_exeext conftest.$ac_ext
10281 CFLAGS=$ac_wine_try_cflags_saved
10283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10284 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10285 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10286 then :
10287 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10291 DLLFLAGS="$DLLFLAGS -fPIC"
10292 LDDLLFLAGS="-fPIC" ;;
10293 esac
10294 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10296 echo '{ global: *; };' >conftest.map
10297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10298 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10299 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10300 then :
10301 printf %s "(cached) " >&6
10302 else $as_nop
10303 ac_wine_try_cflags_saved=$CFLAGS
10304 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10307 int main(int argc, char **argv) { return 0; }
10308 _ACEOF
10309 if ac_fn_c_try_link "$LINENO"
10310 then :
10311 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10312 else $as_nop
10313 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10316 conftest$ac_exeext conftest.$ac_ext
10317 CFLAGS=$ac_wine_try_cflags_saved
10319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10320 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10321 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10322 then :
10323 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10325 rm -f conftest.map
10327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10328 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10329 if test ${ac_cv_cflags__Wl__z_defs+y}
10330 then :
10331 printf %s "(cached) " >&6
10332 else $as_nop
10333 ac_wine_try_cflags_saved=$CFLAGS
10334 CFLAGS="$CFLAGS -Wl,-z,defs"
10335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10336 /* end confdefs.h. */
10337 int main(int argc, char **argv) { return 0; }
10338 _ACEOF
10339 if ac_fn_c_try_link "$LINENO"
10340 then :
10341 ac_cv_cflags__Wl__z_defs=yes
10342 else $as_nop
10343 ac_cv_cflags__Wl__z_defs=no
10345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10346 conftest$ac_exeext conftest.$ac_ext
10347 CFLAGS=$ac_wine_try_cflags_saved
10349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10350 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10351 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10352 then :
10353 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10356 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10357 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10358 then :
10359 printf %s "(cached) " >&6
10360 else $as_nop
10361 ac_wine_try_cflags_saved=$CFLAGS
10362 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10364 /* end confdefs.h. */
10365 int main(int argc, char **argv) { return 0; }
10366 _ACEOF
10367 if ac_fn_c_try_link "$LINENO"
10368 then :
10369 ac_cv_cflags__Wl___export_dynamic=yes
10370 else $as_nop
10371 ac_cv_cflags__Wl___export_dynamic=no
10373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10374 conftest$ac_exeext conftest.$ac_ext
10375 CFLAGS=$ac_wine_try_cflags_saved
10377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10378 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10379 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10380 then :
10381 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10383 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10385 case $host_cpu in
10386 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10388 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10389 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10390 then :
10391 printf %s "(cached) " >&6
10392 else $as_nop
10393 ac_wine_try_cflags_saved=$CFLAGS
10394 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10396 /* end confdefs.h. */
10397 int main(int argc, char **argv) { return 0; }
10398 _ACEOF
10399 if ac_fn_c_try_link "$LINENO"
10400 then :
10401 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10402 else $as_nop
10403 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10406 conftest$ac_exeext conftest.$ac_ext
10407 CFLAGS=$ac_wine_try_cflags_saved
10409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10410 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10411 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10412 then :
10413 case $host_os in
10414 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10415 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10416 esac
10417 else $as_nop
10418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10419 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10420 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10421 then :
10422 printf %s "(cached) " >&6
10423 else $as_nop
10424 ac_wine_try_cflags_saved=$CFLAGS
10425 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10427 /* end confdefs.h. */
10428 int main(int argc, char **argv) { return 0; }
10429 _ACEOF
10430 if ac_fn_c_try_link "$LINENO"
10431 then :
10432 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10433 else $as_nop
10434 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10437 conftest$ac_exeext conftest.$ac_ext
10438 CFLAGS=$ac_wine_try_cflags_saved
10440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10441 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10442 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10443 then :
10444 case $host_os in
10445 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10446 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10447 esac
10449 # Extract the first word of "prelink", so it can be a program name with args.
10450 set dummy prelink; ac_word=$2
10451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10452 printf %s "checking for $ac_word... " >&6; }
10453 if test ${ac_cv_path_PRELINK+y}
10454 then :
10455 printf %s "(cached) " >&6
10456 else $as_nop
10457 case $PRELINK in
10458 [\\/]* | ?:[\\/]*)
10459 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10463 for as_dir in /sbin /usr/sbin $PATH
10465 IFS=$as_save_IFS
10466 case $as_dir in #(((
10467 '') as_dir=./ ;;
10468 */) ;;
10469 *) as_dir=$as_dir/ ;;
10470 esac
10471 for ac_exec_ext in '' $ac_executable_extensions; do
10472 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10473 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10475 break 2
10477 done
10478 done
10479 IFS=$as_save_IFS
10481 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10483 esac
10485 PRELINK=$ac_cv_path_PRELINK
10486 if test -n "$PRELINK"; then
10487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10488 printf "%s\n" "$PRELINK" >&6; }
10489 else
10490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10491 printf "%s\n" "no" >&6; }
10495 if test "x$PRELINK" = xfalse
10496 then
10497 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10501 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10502 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10503 then :
10504 printf %s "(cached) " >&6
10505 else $as_nop
10506 ac_wine_try_cflags_saved=$CFLAGS
10507 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10509 /* end confdefs.h. */
10510 int main(int argc, char **argv) { return 0; }
10511 _ACEOF
10512 if ac_fn_c_try_link "$LINENO"
10513 then :
10514 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10515 else $as_nop
10516 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10519 conftest$ac_exeext conftest.$ac_ext
10520 CFLAGS=$ac_wine_try_cflags_saved
10522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10523 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10524 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10525 then :
10526 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10529 esac
10530 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10532 LIBWINE_DEPENDS="wine.map"
10534 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10536 esac
10538 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10539 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10540 enable_winemac_drv=${enable_winemac_drv:-no}
10542 PE_ARCHS=""
10544 cross_archs=
10545 if test ${enable_archs+y}
10546 then :
10547 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10548 ac_save_IFS=$IFS
10549 IFS=' ,'
10550 set x $enable_archs
10551 IFS=$ac_save_IFS
10552 shift
10553 for arch
10555 case $arch in
10556 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10557 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10558 esac
10559 done
10560 else $as_nop
10561 if test "x$with_mingw" != xno
10562 then
10563 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10564 case "x$with_mingw" in
10565 x|xyes) ;;
10566 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10567 esac
10571 for wine_arch in $cross_archs
10573 if eval \${${wine_arch}_CC:+false} :
10574 then :
10575 case $wine_arch in
10576 aarch64)
10577 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10579 # Extract the first word of "$ac_prog", so it can be a program name with args.
10580 set dummy $ac_prog; ac_word=$2
10581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10582 printf %s "checking for $ac_word... " >&6; }
10583 if test ${ac_cv_prog_aarch64_CC+y}
10584 then :
10585 printf %s "(cached) " >&6
10586 else $as_nop
10587 if test -n "$aarch64_CC"; then
10588 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10589 else
10590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10591 for as_dir in $PATH
10593 IFS=$as_save_IFS
10594 case $as_dir in #(((
10595 '') as_dir=./ ;;
10596 */) ;;
10597 *) as_dir=$as_dir/ ;;
10598 esac
10599 for ac_exec_ext in '' $ac_executable_extensions; do
10600 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10601 ac_cv_prog_aarch64_CC="$ac_prog"
10602 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10603 break 2
10605 done
10606 done
10607 IFS=$as_save_IFS
10611 aarch64_CC=$ac_cv_prog_aarch64_CC
10612 if test -n "$aarch64_CC"; then
10613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10614 printf "%s\n" "$aarch64_CC" >&6; }
10615 else
10616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10617 printf "%s\n" "no" >&6; }
10621 test -n "$aarch64_CC" && break
10622 done
10623 test -n "$aarch64_CC" || aarch64_CC="false"
10626 arm)
10627 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10629 # Extract the first word of "$ac_prog", so it can be a program name with args.
10630 set dummy $ac_prog; ac_word=$2
10631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10632 printf %s "checking for $ac_word... " >&6; }
10633 if test ${ac_cv_prog_arm_CC+y}
10634 then :
10635 printf %s "(cached) " >&6
10636 else $as_nop
10637 if test -n "$arm_CC"; then
10638 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10639 else
10640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10641 for as_dir in $PATH
10643 IFS=$as_save_IFS
10644 case $as_dir in #(((
10645 '') as_dir=./ ;;
10646 */) ;;
10647 *) as_dir=$as_dir/ ;;
10648 esac
10649 for ac_exec_ext in '' $ac_executable_extensions; do
10650 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10651 ac_cv_prog_arm_CC="$ac_prog"
10652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10653 break 2
10655 done
10656 done
10657 IFS=$as_save_IFS
10661 arm_CC=$ac_cv_prog_arm_CC
10662 if test -n "$arm_CC"; then
10663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10664 printf "%s\n" "$arm_CC" >&6; }
10665 else
10666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10667 printf "%s\n" "no" >&6; }
10671 test -n "$arm_CC" && break
10672 done
10673 test -n "$arm_CC" || arm_CC="false"
10676 i386)
10677 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang "
10678 for ac_prog in $ac_prefix_list clang
10680 # Extract the first word of "$ac_prog", so it can be a program name with args.
10681 set dummy $ac_prog; ac_word=$2
10682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10683 printf %s "checking for $ac_word... " >&6; }
10684 if test ${ac_cv_prog_i386_CC+y}
10685 then :
10686 printf %s "(cached) " >&6
10687 else $as_nop
10688 if test -n "$i386_CC"; then
10689 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10690 else
10691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10692 for as_dir in $PATH
10694 IFS=$as_save_IFS
10695 case $as_dir in #(((
10696 '') as_dir=./ ;;
10697 */) ;;
10698 *) as_dir=$as_dir/ ;;
10699 esac
10700 for ac_exec_ext in '' $ac_executable_extensions; do
10701 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10702 ac_cv_prog_i386_CC="$ac_prog"
10703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10704 break 2
10706 done
10707 done
10708 IFS=$as_save_IFS
10712 i386_CC=$ac_cv_prog_i386_CC
10713 if test -n "$i386_CC"; then
10714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10715 printf "%s\n" "$i386_CC" >&6; }
10716 else
10717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10718 printf "%s\n" "no" >&6; }
10722 test -n "$i386_CC" && break
10723 done
10724 test -n "$i386_CC" || i386_CC="false"
10727 x86_64)
10728 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10729 for ac_prog in $ac_prefix_list clang
10731 # Extract the first word of "$ac_prog", so it can be a program name with args.
10732 set dummy $ac_prog; ac_word=$2
10733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10734 printf %s "checking for $ac_word... " >&6; }
10735 if test ${ac_cv_prog_x86_64_CC+y}
10736 then :
10737 printf %s "(cached) " >&6
10738 else $as_nop
10739 if test -n "$x86_64_CC"; then
10740 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10741 else
10742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10743 for as_dir in $PATH
10745 IFS=$as_save_IFS
10746 case $as_dir in #(((
10747 '') as_dir=./ ;;
10748 */) ;;
10749 *) as_dir=$as_dir/ ;;
10750 esac
10751 for ac_exec_ext in '' $ac_executable_extensions; do
10752 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10753 ac_cv_prog_x86_64_CC="$ac_prog"
10754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10755 break 2
10757 done
10758 done
10759 IFS=$as_save_IFS
10763 x86_64_CC=$ac_cv_prog_x86_64_CC
10764 if test -n "$x86_64_CC"; then
10765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10766 printf "%s\n" "$x86_64_CC" >&6; }
10767 else
10768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10769 printf "%s\n" "no" >&6; }
10773 test -n "$x86_64_CC" && break
10774 done
10775 test -n "$x86_64_CC" || x86_64_CC="false"
10778 esac
10781 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10782 then :
10783 continue
10786 saved_CC=$CC
10787 saved_CFLAGS=$CFLAGS
10789 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10790 eval CC=\$${wine_arch}_CC
10791 eval ${wine_arch}_CFLAGS=\$CFLAGS
10792 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10793 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10795 target=""
10796 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10799 printf %s "checking whether $CC works... " >&6; }
10800 if eval test \${$as_wine_cv_crosscc+y}
10801 then :
10802 printf %s "(cached) " >&6
10803 else $as_nop
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10808 main (void)
10812 return 0;
10814 _ACEOF
10815 if ac_fn_c_try_compile "$LINENO"
10816 then :
10817 eval "$as_wine_cv_crosscc=yes"
10818 else $as_nop
10819 eval "$as_wine_cv_crosscc=no"
10821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10823 eval ac_res=\$$as_wine_cv_crosscc
10824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10825 printf "%s\n" "$ac_res" >&6; }
10826 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10827 then :
10828 set x $CC
10829 shift
10830 while test $# -ge 1
10832 case "$1" in
10833 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10834 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10835 esac
10836 shift
10837 done
10839 llvm_target=$target
10840 llvm_cflags="-fuse-ld=lld"
10841 if test -z "$llvm_target"
10842 then
10843 case $wine_arch in
10844 i386) llvm_target=i686-windows ;;
10845 arm) llvm_target=armv7-windows ;;
10846 *) llvm_target=$wine_arch-windows ;;
10847 esac
10849 case $llvm_target in
10850 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10851 esac
10852 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -target $llvm_target $llvm_cflags" >&5
10854 printf %s "checking whether $CC supports -target $llvm_target $llvm_cflags... " >&6; }
10855 if eval test \${$as_ac_var+y}
10856 then :
10857 printf %s "(cached) " >&6
10858 else $as_nop
10859 ac_wine_try_cflags_saved=$CFLAGS
10860 ac_wine_try_cflags_saved_exeext=$ac_exeext
10861 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10862 ac_exeext=".exe"
10863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10865 int __cdecl mainCRTStartup(void) { return 0; }
10866 _ACEOF
10867 if ac_fn_c_try_link "$LINENO"
10868 then :
10869 eval "$as_ac_var=yes"
10870 else $as_nop
10871 eval "$as_ac_var=no"
10873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10874 conftest$ac_exeext conftest.$ac_ext
10875 CFLAGS=$ac_wine_try_cflags_saved
10876 ac_exeext=$ac_wine_try_cflags_saved_exeext
10878 eval ac_res=\$$as_ac_var
10879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10880 printf "%s\n" "$ac_res" >&6; }
10881 if eval test \"x\$"$as_ac_var"\" = x"yes"
10882 then :
10883 target=$llvm_target
10884 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10885 as_fn_append ${wine_arch}_EXTRACFLAGS " -target $target"
10886 CFLAGS="$CFLAGS -target $target $llvm_cflags"
10887 fi }
10888 eval "${wine_arch}_TARGET=\$target"
10892 if test -z "$target"
10893 then
10894 CC=$saved_CC
10895 CFLAGS=$saved_CFLAGS
10896 continue
10898 as_fn_append PE_ARCHS " $wine_arch"
10900 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10903 printf %s "checking for $CC option to enable C99 features... " >&6; }
10904 if eval test \${$as_wine_cv_crosscc_c99+y}
10905 then :
10906 printf %s "(cached) " >&6
10907 else $as_nop
10908 eval "$as_wine_cv_crosscc_c99=no"
10909 for arg in '' '-std=gnu99'
10911 test -z "$arg" || CC="$CC $arg"
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 /* end confdefs.h. */
10914 $ac_c_conftest_c99_program
10915 _ACEOF
10916 if ac_fn_c_try_compile "$LINENO"
10917 then :
10918 eval "$as_wine_cv_crosscc_c99=\$arg"
10919 else $as_nop
10920 eval "$as_wine_cv_crosscc_c99=no"
10922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10923 eval CC=\$${wine_arch}_CC
10924 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10925 then :
10927 else $as_nop
10928 break
10930 done
10933 eval res=\$$as_wine_cv_crosscc_c99
10934 case "x$res" in
10935 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10936 printf "%s\n" "none needed" >&6; } ;;
10937 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10938 printf "%s\n" "unsupported" >&6; } ;;
10939 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10940 printf "%s\n" "$res" >&6; }
10941 as_fn_append ${wine_arch}_CC " $res" ;;
10942 esac
10945 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10947 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10948 if eval test \${$as_ac_var+y}
10949 then :
10950 printf %s "(cached) " >&6
10951 else $as_nop
10952 ac_wine_try_cflags_saved=$CFLAGS
10953 ac_wine_try_cflags_saved_exeext=$ac_exeext
10954 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10955 ac_exeext=".exe"
10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10958 int __cdecl mainCRTStartup(void) { return 0; }
10959 _ACEOF
10960 if ac_fn_c_try_link "$LINENO"
10961 then :
10962 eval "$as_ac_var=yes"
10963 else $as_nop
10964 eval "$as_ac_var=no"
10966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10967 conftest$ac_exeext conftest.$ac_ext
10968 CFLAGS=$ac_wine_try_cflags_saved
10969 ac_exeext=$ac_wine_try_cflags_saved_exeext
10971 eval ac_res=\$$as_ac_var
10972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10973 printf "%s\n" "$ac_res" >&6; }
10974 if eval test \"x\$"$as_ac_var"\" = x"yes"
10975 then :
10976 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10977 fi }
10978 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10980 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10981 if eval test \${$as_ac_var+y}
10982 then :
10983 printf %s "(cached) " >&6
10984 else $as_nop
10985 ac_wine_try_cflags_saved=$CFLAGS
10986 ac_wine_try_cflags_saved_exeext=$ac_exeext
10987 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
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 eval "$as_ac_var=yes"
10996 else $as_nop
10997 eval "$as_ac_var=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 ac_exeext=$ac_wine_try_cflags_saved_exeext
11004 eval ac_res=\$$as_ac_var
11005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11006 printf "%s\n" "$ac_res" >&6; }
11007 if eval test \"x\$"$as_ac_var"\" = x"yes"
11008 then :
11009 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11010 fi }
11011 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
11012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
11013 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
11014 if eval test \${$as_ac_var+y}
11015 then :
11016 printf %s "(cached) " >&6
11017 else $as_nop
11018 ac_wine_try_cflags_saved=$CFLAGS
11019 ac_wine_try_cflags_saved_exeext=$ac_exeext
11020 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11021 ac_exeext=".exe"
11022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11023 /* end confdefs.h. */
11024 int __cdecl mainCRTStartup(void) { return 0; }
11025 _ACEOF
11026 if ac_fn_c_try_link "$LINENO"
11027 then :
11028 eval "$as_ac_var=yes"
11029 else $as_nop
11030 eval "$as_ac_var=no"
11032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11033 conftest$ac_exeext conftest.$ac_ext
11034 CFLAGS=$ac_wine_try_cflags_saved
11035 ac_exeext=$ac_wine_try_cflags_saved_exeext
11037 eval ac_res=\$$as_ac_var
11038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11039 printf "%s\n" "$ac_res" >&6; }
11040 if eval test \"x\$"$as_ac_var"\" = x"yes"
11041 then :
11042 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11043 fi }
11044 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
11045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11046 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11047 if eval test \${$as_ac_var+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_exeext=$ac_exeext
11053 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11054 ac_exeext=".exe"
11055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11056 /* end confdefs.h. */
11057 int __cdecl mainCRTStartup(void) { return 0; }
11058 _ACEOF
11059 if ac_fn_c_try_link "$LINENO"
11060 then :
11061 eval "$as_ac_var=yes"
11062 else $as_nop
11063 eval "$as_ac_var=no"
11065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11066 conftest$ac_exeext conftest.$ac_ext
11067 CFLAGS=$ac_wine_try_cflags_saved
11068 ac_exeext=$ac_wine_try_cflags_saved_exeext
11070 eval ac_res=\$$as_ac_var
11071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11072 printf "%s\n" "$ac_res" >&6; }
11073 if eval test \"x\$"$as_ac_var"\" = x"yes"
11074 then :
11075 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11076 fi }
11077 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11079 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11080 if eval test \${$as_ac_var+y}
11081 then :
11082 printf %s "(cached) " >&6
11083 else $as_nop
11084 ac_wine_try_cflags_saved=$CFLAGS
11085 ac_wine_try_cflags_saved_exeext=$ac_exeext
11086 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11087 ac_exeext=".exe"
11088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11089 /* end confdefs.h. */
11090 int __cdecl mainCRTStartup(void) { return 0; }
11091 _ACEOF
11092 if ac_fn_c_try_link "$LINENO"
11093 then :
11094 eval "$as_ac_var=yes"
11095 else $as_nop
11096 eval "$as_ac_var=no"
11098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11099 conftest$ac_exeext conftest.$ac_ext
11100 CFLAGS=$ac_wine_try_cflags_saved
11101 ac_exeext=$ac_wine_try_cflags_saved_exeext
11103 eval ac_res=\$$as_ac_var
11104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11105 printf "%s\n" "$ac_res" >&6; }
11106 if eval test \"x\$"$as_ac_var"\" = x"yes"
11107 then :
11108 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11109 fi }
11110 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11112 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11113 if eval test \${$as_ac_var+y}
11114 then :
11115 printf %s "(cached) " >&6
11116 else $as_nop
11117 ac_wine_try_cflags_saved=$CFLAGS
11118 ac_wine_try_cflags_saved_exeext=$ac_exeext
11119 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11120 ac_exeext=".exe"
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11123 int __cdecl mainCRTStartup(void) { return 0; }
11124 _ACEOF
11125 if ac_fn_c_try_link "$LINENO"
11126 then :
11127 eval "$as_ac_var=yes"
11128 else $as_nop
11129 eval "$as_ac_var=no"
11131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11132 conftest$ac_exeext conftest.$ac_ext
11133 CFLAGS=$ac_wine_try_cflags_saved
11134 ac_exeext=$ac_wine_try_cflags_saved_exeext
11136 eval ac_res=\$$as_ac_var
11137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11138 printf "%s\n" "$ac_res" >&6; }
11139 if eval test \"x\$"$as_ac_var"\" = x"yes"
11140 then :
11141 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11142 fi }
11143 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11145 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11146 if eval test \${$as_ac_var+y}
11147 then :
11148 printf %s "(cached) " >&6
11149 else $as_nop
11150 ac_wine_try_cflags_saved=$CFLAGS
11151 ac_wine_try_cflags_saved_exeext=$ac_exeext
11152 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11153 ac_exeext=".exe"
11154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11155 /* end confdefs.h. */
11156 int __cdecl mainCRTStartup(void) { return 0; }
11157 _ACEOF
11158 if ac_fn_c_try_link "$LINENO"
11159 then :
11160 eval "$as_ac_var=yes"
11161 else $as_nop
11162 eval "$as_ac_var=no"
11164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11165 conftest$ac_exeext conftest.$ac_ext
11166 CFLAGS=$ac_wine_try_cflags_saved
11167 ac_exeext=$ac_wine_try_cflags_saved_exeext
11169 eval ac_res=\$$as_ac_var
11170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11171 printf "%s\n" "$ac_res" >&6; }
11172 if eval test \"x\$"$as_ac_var"\" = x"yes"
11173 then :
11174 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11175 fi }
11176 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11178 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11179 if eval test \${$as_ac_var+y}
11180 then :
11181 printf %s "(cached) " >&6
11182 else $as_nop
11183 ac_wine_try_cflags_saved=$CFLAGS
11184 ac_wine_try_cflags_saved_exeext=$ac_exeext
11185 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11186 ac_exeext=".exe"
11187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11188 /* end confdefs.h. */
11189 int __cdecl mainCRTStartup(void) { return 0; }
11190 _ACEOF
11191 if ac_fn_c_try_link "$LINENO"
11192 then :
11193 eval "$as_ac_var=yes"
11194 else $as_nop
11195 eval "$as_ac_var=no"
11197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11198 conftest$ac_exeext conftest.$ac_ext
11199 CFLAGS=$ac_wine_try_cflags_saved
11200 ac_exeext=$ac_wine_try_cflags_saved_exeext
11202 eval ac_res=\$$as_ac_var
11203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11204 printf "%s\n" "$ac_res" >&6; }
11205 if eval test \"x\$"$as_ac_var"\" = x"yes"
11206 then :
11207 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11208 fi }
11209 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11211 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11212 if eval test \${$as_ac_var+y}
11213 then :
11214 printf %s "(cached) " >&6
11215 else $as_nop
11216 ac_wine_try_cflags_saved=$CFLAGS
11217 ac_wine_try_cflags_saved_exeext=$ac_exeext
11218 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11219 ac_exeext=".exe"
11220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11222 int __cdecl mainCRTStartup(void) { return 0; }
11223 _ACEOF
11224 if ac_fn_c_try_link "$LINENO"
11225 then :
11226 eval "$as_ac_var=yes"
11227 else $as_nop
11228 eval "$as_ac_var=no"
11230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11231 conftest$ac_exeext conftest.$ac_ext
11232 CFLAGS=$ac_wine_try_cflags_saved
11233 ac_exeext=$ac_wine_try_cflags_saved_exeext
11235 eval ac_res=\$$as_ac_var
11236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11237 printf "%s\n" "$ac_res" >&6; }
11238 if eval test \"x\$"$as_ac_var"\" = x"yes"
11239 then :
11240 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11241 fi }
11242 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11244 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11245 if eval test \${$as_ac_var+y}
11246 then :
11247 printf %s "(cached) " >&6
11248 else $as_nop
11249 ac_wine_try_cflags_saved=$CFLAGS
11250 ac_wine_try_cflags_saved_exeext=$ac_exeext
11251 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11252 ac_exeext=".exe"
11253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11255 int __cdecl mainCRTStartup(void) { return 0; }
11256 _ACEOF
11257 if ac_fn_c_try_link "$LINENO"
11258 then :
11259 eval "$as_ac_var=yes"
11260 else $as_nop
11261 eval "$as_ac_var=no"
11263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11264 conftest$ac_exeext conftest.$ac_ext
11265 CFLAGS=$ac_wine_try_cflags_saved
11266 ac_exeext=$ac_wine_try_cflags_saved_exeext
11268 eval ac_res=\$$as_ac_var
11269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11270 printf "%s\n" "$ac_res" >&6; }
11271 if eval test \"x\$"$as_ac_var"\" = x"yes"
11272 then :
11273 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11274 fi }
11275 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11277 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11278 if eval test \${$as_ac_var+y}
11279 then :
11280 printf %s "(cached) " >&6
11281 else $as_nop
11282 ac_wine_try_cflags_saved=$CFLAGS
11283 ac_wine_try_cflags_saved_exeext=$ac_exeext
11284 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11285 ac_exeext=".exe"
11286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11287 /* end confdefs.h. */
11288 int __cdecl mainCRTStartup(void) { return 0; }
11289 _ACEOF
11290 if ac_fn_c_try_link "$LINENO"
11291 then :
11292 eval "$as_ac_var=yes"
11293 else $as_nop
11294 eval "$as_ac_var=no"
11296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11297 conftest$ac_exeext conftest.$ac_ext
11298 CFLAGS=$ac_wine_try_cflags_saved
11299 ac_exeext=$ac_wine_try_cflags_saved_exeext
11301 eval ac_res=\$$as_ac_var
11302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11303 printf "%s\n" "$ac_res" >&6; }
11304 if eval test \"x\$"$as_ac_var"\" = x"yes"
11305 then :
11306 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11307 fi }
11308 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11310 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11311 if eval test \${$as_ac_var+y}
11312 then :
11313 printf %s "(cached) " >&6
11314 else $as_nop
11315 ac_wine_try_cflags_saved=$CFLAGS
11316 ac_wine_try_cflags_saved_exeext=$ac_exeext
11317 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11318 ac_exeext=".exe"
11319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11320 /* end confdefs.h. */
11321 int __cdecl mainCRTStartup(void) { return 0; }
11322 _ACEOF
11323 if ac_fn_c_try_link "$LINENO"
11324 then :
11325 eval "$as_ac_var=yes"
11326 else $as_nop
11327 eval "$as_ac_var=no"
11329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11330 conftest$ac_exeext conftest.$ac_ext
11331 CFLAGS=$ac_wine_try_cflags_saved
11332 ac_exeext=$ac_wine_try_cflags_saved_exeext
11334 eval ac_res=\$$as_ac_var
11335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11336 printf "%s\n" "$ac_res" >&6; }
11337 if eval test \"x\$"$as_ac_var"\" = x"yes"
11338 then :
11339 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11340 fi }
11341 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11343 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11344 if eval test \${$as_ac_var+y}
11345 then :
11346 printf %s "(cached) " >&6
11347 else $as_nop
11348 ac_wine_try_cflags_saved=$CFLAGS
11349 ac_wine_try_cflags_saved_exeext=$ac_exeext
11350 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11351 ac_exeext=".exe"
11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11354 int __cdecl mainCRTStartup(void) { return 0; }
11355 _ACEOF
11356 if ac_fn_c_try_link "$LINENO"
11357 then :
11358 eval "$as_ac_var=yes"
11359 else $as_nop
11360 eval "$as_ac_var=no"
11362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11363 conftest$ac_exeext conftest.$ac_ext
11364 CFLAGS=$ac_wine_try_cflags_saved
11365 ac_exeext=$ac_wine_try_cflags_saved_exeext
11367 eval ac_res=\$$as_ac_var
11368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11369 printf "%s\n" "$ac_res" >&6; }
11370 if eval test \"x\$"$as_ac_var"\" = x"yes"
11371 then :
11372 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11373 fi }
11374 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11376 printf %s "checking whether $CC supports -Wvla... " >&6; }
11377 if eval test \${$as_ac_var+y}
11378 then :
11379 printf %s "(cached) " >&6
11380 else $as_nop
11381 ac_wine_try_cflags_saved=$CFLAGS
11382 ac_wine_try_cflags_saved_exeext=$ac_exeext
11383 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wvla"
11384 ac_exeext=".exe"
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11387 int __cdecl mainCRTStartup(void) { return 0; }
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"
11390 then :
11391 eval "$as_ac_var=yes"
11392 else $as_nop
11393 eval "$as_ac_var=no"
11395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11396 conftest$ac_exeext conftest.$ac_ext
11397 CFLAGS=$ac_wine_try_cflags_saved
11398 ac_exeext=$ac_wine_try_cflags_saved_exeext
11400 eval ac_res=\$$as_ac_var
11401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11402 printf "%s\n" "$ac_res" >&6; }
11403 if eval test \"x\$"$as_ac_var"\" = x"yes"
11404 then :
11405 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11406 fi }
11407 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11409 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11410 if eval test \${$as_ac_var+y}
11411 then :
11412 printf %s "(cached) " >&6
11413 else $as_nop
11414 ac_wine_try_cflags_saved=$CFLAGS
11415 ac_wine_try_cflags_saved_exeext=$ac_exeext
11416 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11417 ac_exeext=".exe"
11418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11419 /* end confdefs.h. */
11420 int __cdecl mainCRTStartup(void) { return 0; }
11421 _ACEOF
11422 if ac_fn_c_try_link "$LINENO"
11423 then :
11424 eval "$as_ac_var=yes"
11425 else $as_nop
11426 eval "$as_ac_var=no"
11428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11429 conftest$ac_exeext conftest.$ac_ext
11430 CFLAGS=$ac_wine_try_cflags_saved
11431 ac_exeext=$ac_wine_try_cflags_saved_exeext
11433 eval ac_res=\$$as_ac_var
11434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11435 printf "%s\n" "$ac_res" >&6; }
11436 if eval test \"x\$"$as_ac_var"\" = x"yes"
11437 then :
11438 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11439 fi }
11440 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11442 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11443 if eval test \${$as_ac_var+y}
11444 then :
11445 printf %s "(cached) " >&6
11446 else $as_nop
11447 ac_wine_try_cflags_saved=$CFLAGS
11448 ac_wine_try_cflags_saved_exeext=$ac_exeext
11449 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11450 ac_exeext=".exe"
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11453 int __cdecl mainCRTStartup(void) { return 0; }
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"
11456 then :
11457 eval "$as_ac_var=yes"
11458 else $as_nop
11459 eval "$as_ac_var=no"
11461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11462 conftest$ac_exeext conftest.$ac_ext
11463 CFLAGS=$ac_wine_try_cflags_saved
11464 ac_exeext=$ac_wine_try_cflags_saved_exeext
11466 eval ac_res=\$$as_ac_var
11467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11468 printf "%s\n" "$ac_res" >&6; }
11469 if eval test \"x\$"$as_ac_var"\" = x"yes"
11470 then :
11471 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11472 fi }
11473 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11475 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11476 if eval test \${$as_ac_var+y}
11477 then :
11478 printf %s "(cached) " >&6
11479 else $as_nop
11480 ac_wine_try_cflags_saved=$CFLAGS
11481 ac_wine_try_cflags_saved_exeext=$ac_exeext
11482 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11483 ac_exeext=".exe"
11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11486 int __cdecl mainCRTStartup(void) { return 0; }
11487 _ACEOF
11488 if ac_fn_c_try_link "$LINENO"
11489 then :
11490 eval "$as_ac_var=yes"
11491 else $as_nop
11492 eval "$as_ac_var=no"
11494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11495 conftest$ac_exeext conftest.$ac_ext
11496 CFLAGS=$ac_wine_try_cflags_saved
11497 ac_exeext=$ac_wine_try_cflags_saved_exeext
11499 eval ac_res=\$$as_ac_var
11500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11501 printf "%s\n" "$ac_res" >&6; }
11502 if eval test \"x\$"$as_ac_var"\" = x"yes"
11503 then :
11504 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11505 fi }
11506 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11508 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11509 if eval test \${$as_ac_var+y}
11510 then :
11511 printf %s "(cached) " >&6
11512 else $as_nop
11513 ac_wine_try_cflags_saved=$CFLAGS
11514 ac_wine_try_cflags_saved_exeext=$ac_exeext
11515 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11516 ac_exeext=".exe"
11517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11518 /* end confdefs.h. */
11519 int __cdecl mainCRTStartup(void) { return 0; }
11520 _ACEOF
11521 if ac_fn_c_try_link "$LINENO"
11522 then :
11523 eval "$as_ac_var=yes"
11524 else $as_nop
11525 eval "$as_ac_var=no"
11527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11528 conftest$ac_exeext conftest.$ac_ext
11529 CFLAGS=$ac_wine_try_cflags_saved
11530 ac_exeext=$ac_wine_try_cflags_saved_exeext
11532 eval ac_res=\$$as_ac_var
11533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11534 printf "%s\n" "$ac_res" >&6; }
11535 if eval test \"x\$"$as_ac_var"\" = x"yes"
11536 then :
11537 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11538 fi }
11540 case $wine_arch in
11541 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11543 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11544 if eval test \${$as_ac_var+y}
11545 then :
11546 printf %s "(cached) " >&6
11547 else $as_nop
11548 ac_wine_try_cflags_saved=$CFLAGS
11549 ac_wine_try_cflags_saved_exeext=$ac_exeext
11550 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11551 ac_exeext=".exe"
11552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11553 /* end confdefs.h. */
11554 int __cdecl mainCRTStartup(void) { return 0; }
11555 _ACEOF
11556 if ac_fn_c_try_link "$LINENO"
11557 then :
11558 eval "$as_ac_var=yes"
11559 else $as_nop
11560 eval "$as_ac_var=no"
11562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11563 conftest$ac_exeext conftest.$ac_ext
11564 CFLAGS=$ac_wine_try_cflags_saved
11565 ac_exeext=$ac_wine_try_cflags_saved_exeext
11567 eval ac_res=\$$as_ac_var
11568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11569 printf "%s\n" "$ac_res" >&6; }
11570 if eval test \"x\$"$as_ac_var"\" = x"yes"
11571 then :
11572 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11573 fi }
11574 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11576 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11577 if eval test \${$as_ac_var+y}
11578 then :
11579 printf %s "(cached) " >&6
11580 else $as_nop
11581 ac_wine_try_cflags_saved=$CFLAGS
11582 ac_wine_try_cflags_saved_exeext=$ac_exeext
11583 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11584 ac_exeext=".exe"
11585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11586 /* end confdefs.h. */
11587 int __cdecl mainCRTStartup(void) { return 0; }
11588 _ACEOF
11589 if ac_fn_c_try_link "$LINENO"
11590 then :
11591 eval "$as_ac_var=yes"
11592 else $as_nop
11593 eval "$as_ac_var=no"
11595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11596 conftest$ac_exeext conftest.$ac_ext
11597 CFLAGS=$ac_wine_try_cflags_saved
11598 ac_exeext=$ac_wine_try_cflags_saved_exeext
11600 eval ac_res=\$$as_ac_var
11601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11602 printf "%s\n" "$ac_res" >&6; }
11603 if eval test \"x\$"$as_ac_var"\" = x"yes"
11604 then :
11605 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11606 fi } ;;
11607 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" | $as_tr_sh`
11608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11609 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11610 if eval test \${$as_ac_var+y}
11611 then :
11612 printf %s "(cached) " >&6
11613 else $as_nop
11614 ac_wine_try_cflags_saved=$CFLAGS
11615 ac_wine_try_cflags_saved_exeext=$ac_exeext
11616 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11617 ac_exeext=".exe"
11618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11620 int __cdecl mainCRTStartup(void) { return 0; }
11621 _ACEOF
11622 if ac_fn_c_try_link "$LINENO"
11623 then :
11624 eval "$as_ac_var=yes"
11625 else $as_nop
11626 eval "$as_ac_var=no"
11628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11629 conftest$ac_exeext conftest.$ac_ext
11630 CFLAGS=$ac_wine_try_cflags_saved
11631 ac_exeext=$ac_wine_try_cflags_saved_exeext
11633 eval ac_res=\$$as_ac_var
11634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11635 printf "%s\n" "$ac_res" >&6; }
11636 if eval test \"x\$"$as_ac_var"\" = x"yes"
11637 then :
11638 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11639 fi }
11640 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11642 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11643 if eval test \${$as_ac_var+y}
11644 then :
11645 printf %s "(cached) " >&6
11646 else $as_nop
11647 ac_wine_try_cflags_saved=$CFLAGS
11648 ac_wine_try_cflags_saved_exeext=$ac_exeext
11649 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11650 ac_exeext=".exe"
11651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11653 int __cdecl mainCRTStartup(void) { return 0; }
11654 _ACEOF
11655 if ac_fn_c_try_link "$LINENO"
11656 then :
11657 eval "$as_ac_var=yes"
11658 else $as_nop
11659 eval "$as_ac_var=no"
11661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11662 conftest$ac_exeext conftest.$ac_ext
11663 CFLAGS=$ac_wine_try_cflags_saved
11664 ac_exeext=$ac_wine_try_cflags_saved_exeext
11666 eval ac_res=\$$as_ac_var
11667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11668 printf "%s\n" "$ac_res" >&6; }
11669 if eval test \"x\$"$as_ac_var"\" = x"yes"
11670 then :
11671 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11672 fi }
11673 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11675 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11676 if eval test \${$as_ac_var+y}
11677 then :
11678 printf %s "(cached) " >&6
11679 else $as_nop
11680 ac_wine_try_cflags_saved=$CFLAGS
11681 ac_wine_try_cflags_saved_exeext=$ac_exeext
11682 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11683 ac_exeext=".exe"
11684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685 /* end confdefs.h. */
11686 int __cdecl mainCRTStartup(void) { return 0; }
11687 _ACEOF
11688 if ac_fn_c_try_link "$LINENO"
11689 then :
11690 eval "$as_ac_var=yes"
11691 else $as_nop
11692 eval "$as_ac_var=no"
11694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11695 conftest$ac_exeext conftest.$ac_ext
11696 CFLAGS=$ac_wine_try_cflags_saved
11697 ac_exeext=$ac_wine_try_cflags_saved_exeext
11699 eval ac_res=\$$as_ac_var
11700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11701 printf "%s\n" "$ac_res" >&6; }
11702 if eval test \"x\$"$as_ac_var"\" = x"yes"
11703 then :
11704 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11705 fi }
11706 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11708 printf %s "checking whether $CC supports -mcx16... " >&6; }
11709 if eval test \${$as_ac_var+y}
11710 then :
11711 printf %s "(cached) " >&6
11712 else $as_nop
11713 ac_wine_try_cflags_saved=$CFLAGS
11714 ac_wine_try_cflags_saved_exeext=$ac_exeext
11715 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -mcx16"
11716 ac_exeext=".exe"
11717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11718 /* end confdefs.h. */
11719 int __cdecl mainCRTStartup(void) { return 0; }
11720 _ACEOF
11721 if ac_fn_c_try_link "$LINENO"
11722 then :
11723 eval "$as_ac_var=yes"
11724 else $as_nop
11725 eval "$as_ac_var=no"
11727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11728 conftest$ac_exeext conftest.$ac_ext
11729 CFLAGS=$ac_wine_try_cflags_saved
11730 ac_exeext=$ac_wine_try_cflags_saved_exeext
11732 eval ac_res=\$$as_ac_var
11733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11734 printf "%s\n" "$ac_res" >&6; }
11735 if eval test \"x\$"$as_ac_var"\" = x"yes"
11736 then :
11737 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11738 fi } ;;
11739 aarch64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" | $as_tr_sh`
11740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11741 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11742 if eval test \${$as_ac_var+y}
11743 then :
11744 printf %s "(cached) " >&6
11745 else $as_nop
11746 ac_wine_try_cflags_saved=$CFLAGS
11747 ac_wine_try_cflags_saved_exeext=$ac_exeext
11748 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11749 ac_exeext=".exe"
11750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11752 int __cdecl mainCRTStartup(void) { return 0; }
11753 _ACEOF
11754 if ac_fn_c_try_link "$LINENO"
11755 then :
11756 eval "$as_ac_var=yes"
11757 else $as_nop
11758 eval "$as_ac_var=no"
11760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11761 conftest$ac_exeext conftest.$ac_ext
11762 CFLAGS=$ac_wine_try_cflags_saved
11763 ac_exeext=$ac_wine_try_cflags_saved_exeext
11765 eval ac_res=\$$as_ac_var
11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11767 printf "%s\n" "$ac_res" >&6; }
11768 if eval test \"x\$"$as_ac_var"\" = x"yes"
11769 then :
11770 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11771 fi } ;;
11772 esac
11774 wine_crossdebug=$CROSSDEBUG
11775 if test -z "$wine_crossdebug"
11776 then
11777 for ac_flag in $CFLAGS; do
11778 case $ac_flag in
11779 -gdwarf*) wine_crossdebug=dwarf ;;
11780 -gcodeview) wine_crossdebug=pdb ;;
11781 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11782 esac
11783 done
11786 ac_debug_format_seen=""
11787 for ac_flag in $CFLAGS; do
11788 case $ac_flag in
11789 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11790 esac
11791 done
11792 if test "x$ac_debug_format_seen" = x
11793 then
11794 case $wine_crossdebug in
11795 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11797 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11798 if eval test \${$as_ac_var+y}
11799 then :
11800 printf %s "(cached) " >&6
11801 else $as_nop
11802 ac_wine_try_cflags_saved=$CFLAGS
11803 ac_wine_try_cflags_saved_exeext=$ac_exeext
11804 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11805 ac_exeext=".exe"
11806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11807 /* end confdefs.h. */
11808 int __cdecl mainCRTStartup(void) { return 0; }
11809 _ACEOF
11810 if ac_fn_c_try_link "$LINENO"
11811 then :
11812 eval "$as_ac_var=yes"
11813 else $as_nop
11814 eval "$as_ac_var=no"
11816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11817 conftest$ac_exeext conftest.$ac_ext
11818 CFLAGS=$ac_wine_try_cflags_saved
11819 ac_exeext=$ac_wine_try_cflags_saved_exeext
11821 eval ac_res=\$$as_ac_var
11822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11823 printf "%s\n" "$ac_res" >&6; }
11824 if eval test \"x\$"$as_ac_var"\" = x"yes"
11825 then :
11826 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11827 fi } ;;
11828 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11830 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11831 if eval test \${$as_ac_var+y}
11832 then :
11833 printf %s "(cached) " >&6
11834 else $as_nop
11835 ac_wine_try_cflags_saved=$CFLAGS
11836 ac_wine_try_cflags_saved_exeext=$ac_exeext
11837 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11838 ac_exeext=".exe"
11839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11841 int __cdecl mainCRTStartup(void) { return 0; }
11842 _ACEOF
11843 if ac_fn_c_try_link "$LINENO"
11844 then :
11845 eval "$as_ac_var=yes"
11846 else $as_nop
11847 eval "$as_ac_var=no"
11849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11850 conftest$ac_exeext conftest.$ac_ext
11851 CFLAGS=$ac_wine_try_cflags_saved
11852 ac_exeext=$ac_wine_try_cflags_saved_exeext
11854 eval ac_res=\$$as_ac_var
11855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11856 printf "%s\n" "$ac_res" >&6; }
11857 if eval test \"x\$"$as_ac_var"\" = x"yes"
11858 then :
11859 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11860 fi } ;;
11861 esac
11863 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11865 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11867 printf %s "checking whether $CC supports -Werror... " >&6; }
11868 if eval test \${$as_ac_var+y}
11869 then :
11870 printf %s "(cached) " >&6
11871 else $as_nop
11872 ac_wine_try_cflags_saved=$CFLAGS
11873 ac_wine_try_cflags_saved_exeext=$ac_exeext
11874 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror"
11875 ac_exeext=".exe"
11876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11877 /* end confdefs.h. */
11878 int __cdecl mainCRTStartup(void) { return 0; }
11879 _ACEOF
11880 if ac_fn_c_try_link "$LINENO"
11881 then :
11882 eval "$as_ac_var=yes"
11883 else $as_nop
11884 eval "$as_ac_var=no"
11886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11887 conftest$ac_exeext conftest.$ac_ext
11888 CFLAGS=$ac_wine_try_cflags_saved
11889 ac_exeext=$ac_wine_try_cflags_saved_exeext
11891 eval ac_res=\$$as_ac_var
11892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11893 printf "%s\n" "$ac_res" >&6; }
11894 if eval test \"x\$"$as_ac_var"\" = x"yes"
11895 then :
11896 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11897 fi }
11898 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11900 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11901 if eval test \${$as_ac_var+y}
11902 then :
11903 printf %s "(cached) " >&6
11904 else $as_nop
11905 ac_wine_try_cflags_saved=$CFLAGS
11906 ac_wine_try_cflags_saved_exeext=$ac_exeext
11907 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11908 ac_exeext=".exe"
11909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h. */
11911 int __cdecl mainCRTStartup(void) { return 0; }
11912 _ACEOF
11913 if ac_fn_c_try_link "$LINENO"
11914 then :
11915 eval "$as_ac_var=yes"
11916 else $as_nop
11917 eval "$as_ac_var=no"
11919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11920 conftest$ac_exeext conftest.$ac_ext
11921 CFLAGS=$ac_wine_try_cflags_saved
11922 ac_exeext=$ac_wine_try_cflags_saved_exeext
11924 eval ac_res=\$$as_ac_var
11925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11926 printf "%s\n" "$ac_res" >&6; }
11927 if eval test \"x\$"$as_ac_var"\" = x"yes"
11928 then :
11929 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11930 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11931 fi }
11933 CC=$saved_CC
11934 CFLAGS=$saved_CFLAGS
11935 done
11937 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11938 then
11939 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11942 if test "x$PE_ARCHS" = "x"
11943 then :
11944 case "x$with_mingw" in
11945 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11946 xno) ;;
11947 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11948 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11949 esac
11954 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11955 then
11956 case "$host_cpu" in
11957 i[3456789]86*)
11958 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11960 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11961 esac
11962 for ac_prog in $ac_prefix_list
11964 # Extract the first word of "$ac_prog", so it can be a program name with args.
11965 set dummy $ac_prog; ac_word=$2
11966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11967 printf %s "checking for $ac_word... " >&6; }
11968 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11969 then :
11970 printf %s "(cached) " >&6
11971 else $as_nop
11972 if test -n "$MINGW_PKG_CONFIG"; then
11973 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11974 else
11975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11976 for as_dir in $PATH
11978 IFS=$as_save_IFS
11979 case $as_dir in #(((
11980 '') as_dir=./ ;;
11981 */) ;;
11982 *) as_dir=$as_dir/ ;;
11983 esac
11984 for ac_exec_ext in '' $ac_executable_extensions; do
11985 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11986 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11988 break 2
11990 done
11991 done
11992 IFS=$as_save_IFS
11996 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11997 if test -n "$MINGW_PKG_CONFIG"; then
11998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11999 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12000 else
12001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12002 printf "%s\n" "no" >&6; }
12006 test -n "$MINGW_PKG_CONFIG" && break
12007 done
12008 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12010 if ${FAUDIO_PE_CFLAGS:+false} :
12011 then :
12012 if test ${MINGW_PKG_CONFIG+y}
12013 then :
12014 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12017 if ${FAUDIO_PE_LIBS:+false} :
12018 then :
12019 if test ${MINGW_PKG_CONFIG+y}
12020 then :
12021 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12024 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12025 ac_save_CPPFLAGS=$CPPFLAGS
12026 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12028 printf %s "checking for MinGW FAudio.h... " >&6; }
12029 if test ${ac_cv_mingw_header_FAudio_h+y}
12030 then :
12031 printf %s "(cached) " >&6
12032 else $as_nop
12033 ac_wine_check_headers_saved_cc=$CC
12034 ac_wine_check_headers_saved_exeext=$ac_exeext
12035 eval CC=\$${wine_arch}_CC
12036 ac_exeext=".exe"
12037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12038 /* end confdefs.h. */
12040 #include <FAudio.h>
12042 main (void)
12046 return 0;
12048 _ACEOF
12049 if ac_fn_c_try_compile "$LINENO"
12050 then :
12051 ac_cv_mingw_header_FAudio_h=yes
12052 else $as_nop
12053 ac_cv_mingw_header_FAudio_h=no
12055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12056 CC=$ac_wine_check_headers_saved_cc
12057 ac_exeext=$ac_wine_check_headers_saved_exeext
12059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12060 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12061 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12062 then :
12063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12064 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12065 if test ${ac_cv_mingw_lib_FAudio+y}
12066 then :
12067 printf %s "(cached) " >&6
12068 else $as_nop
12069 ac_wine_check_headers_saved_cc=$CC
12070 ac_wine_check_headers_saved_exeext=$ac_exeext
12071 ac_wine_check_headers_saved_libs=$LIBS
12072 eval CC=\$${wine_arch}_CC
12073 ac_exeext=".exe"
12074 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12078 /* Override any GCC internal prototype to avoid an error.
12079 Use char because int might match the return type of a GCC
12080 builtin and then its argument prototype would still apply. */
12081 char FAudio_CommitOperationSet ();
12083 main (void)
12085 return FAudio_CommitOperationSet ();
12087 return 0;
12089 _ACEOF
12090 if ac_fn_c_try_link "$LINENO"
12091 then :
12092 ac_cv_mingw_lib_FAudio=yes
12093 else $as_nop
12094 ac_cv_mingw_lib_FAudio=no
12096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12097 conftest$ac_exeext conftest.$ac_ext
12098 CC=$ac_wine_check_headers_saved_cc
12099 ac_exeext=$ac_wine_check_headers_saved_exeext
12100 LIBS=$ac_wine_check_headers_saved_libs
12102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12103 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12104 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12105 then :
12107 else $as_nop
12108 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12110 else $as_nop
12111 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12113 CPPFLAGS=$ac_save_CPPFLAGS
12115 if test "x$FAUDIO_PE_LIBS" = "x"
12116 then
12117 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12120 if ${JPEG_PE_CFLAGS:+false} :
12121 then :
12122 if test ${MINGW_PKG_CONFIG+y}
12123 then :
12124 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12127 if ${JPEG_PE_LIBS:+false} :
12128 then :
12129 if test ${MINGW_PKG_CONFIG+y}
12130 then :
12131 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12135 ac_save_CPPFLAGS=$CPPFLAGS
12136 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12138 printf %s "checking for MinGW jpeglib.h... " >&6; }
12139 if test ${ac_cv_mingw_header_jpeglib_h+y}
12140 then :
12141 printf %s "(cached) " >&6
12142 else $as_nop
12143 ac_wine_check_headers_saved_cc=$CC
12144 ac_wine_check_headers_saved_exeext=$ac_exeext
12145 eval CC=\$${wine_arch}_CC
12146 ac_exeext=".exe"
12147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12149 #include <stddef.h>
12150 #include <stdio.h>
12151 #include <jpeglib.h>
12153 main (void)
12157 return 0;
12159 _ACEOF
12160 if ac_fn_c_try_compile "$LINENO"
12161 then :
12162 ac_cv_mingw_header_jpeglib_h=yes
12163 else $as_nop
12164 ac_cv_mingw_header_jpeglib_h=no
12166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12167 CC=$ac_wine_check_headers_saved_cc
12168 ac_exeext=$ac_wine_check_headers_saved_exeext
12170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12171 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12172 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12173 then :
12174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12175 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12176 if test ${ac_cv_mingw_lib_jpeg+y}
12177 then :
12178 printf %s "(cached) " >&6
12179 else $as_nop
12180 ac_wine_check_headers_saved_cc=$CC
12181 ac_wine_check_headers_saved_exeext=$ac_exeext
12182 ac_wine_check_headers_saved_libs=$LIBS
12183 eval CC=\$${wine_arch}_CC
12184 ac_exeext=".exe"
12185 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12192 char jpeg_start_decompress ();
12194 main (void)
12196 return jpeg_start_decompress ();
12198 return 0;
12200 _ACEOF
12201 if ac_fn_c_try_link "$LINENO"
12202 then :
12203 ac_cv_mingw_lib_jpeg=yes
12204 else $as_nop
12205 ac_cv_mingw_lib_jpeg=no
12207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12208 conftest$ac_exeext conftest.$ac_ext
12209 CC=$ac_wine_check_headers_saved_cc
12210 ac_exeext=$ac_wine_check_headers_saved_exeext
12211 LIBS=$ac_wine_check_headers_saved_libs
12213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12214 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12215 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12216 then :
12218 else $as_nop
12219 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12221 else $as_nop
12222 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12224 CPPFLAGS=$ac_save_CPPFLAGS
12226 if test "x$JPEG_PE_LIBS" = "x"
12227 then
12228 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12231 if ${LCMS2_PE_CFLAGS:+false} :
12232 then :
12233 if test ${MINGW_PKG_CONFIG+y}
12234 then :
12235 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12238 if ${LCMS2_PE_LIBS:+false} :
12239 then :
12240 if test ${MINGW_PKG_CONFIG+y}
12241 then :
12242 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12245 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12246 ac_save_CPPFLAGS=$CPPFLAGS
12247 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12249 printf %s "checking for MinGW lcms2.h... " >&6; }
12250 if test ${ac_cv_mingw_header_lcms2_h+y}
12251 then :
12252 printf %s "(cached) " >&6
12253 else $as_nop
12254 ac_wine_check_headers_saved_cc=$CC
12255 ac_wine_check_headers_saved_exeext=$ac_exeext
12256 eval CC=\$${wine_arch}_CC
12257 ac_exeext=".exe"
12258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12261 #include <lcms2.h>
12263 main (void)
12267 return 0;
12269 _ACEOF
12270 if ac_fn_c_try_compile "$LINENO"
12271 then :
12272 ac_cv_mingw_header_lcms2_h=yes
12273 else $as_nop
12274 ac_cv_mingw_header_lcms2_h=no
12276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12277 CC=$ac_wine_check_headers_saved_cc
12278 ac_exeext=$ac_wine_check_headers_saved_exeext
12280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12281 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12282 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12283 then :
12284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12285 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12286 if test ${ac_cv_mingw_lib_lcms2+y}
12287 then :
12288 printf %s "(cached) " >&6
12289 else $as_nop
12290 ac_wine_check_headers_saved_cc=$CC
12291 ac_wine_check_headers_saved_exeext=$ac_exeext
12292 ac_wine_check_headers_saved_libs=$LIBS
12293 eval CC=\$${wine_arch}_CC
12294 ac_exeext=".exe"
12295 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12297 /* end confdefs.h. */
12299 /* Override any GCC internal prototype to avoid an error.
12300 Use char because int might match the return type of a GCC
12301 builtin and then its argument prototype would still apply. */
12302 char cmsOpenProfileFromFile ();
12304 main (void)
12306 return cmsOpenProfileFromFile ();
12308 return 0;
12310 _ACEOF
12311 if ac_fn_c_try_link "$LINENO"
12312 then :
12313 ac_cv_mingw_lib_lcms2=yes
12314 else $as_nop
12315 ac_cv_mingw_lib_lcms2=no
12317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12318 conftest$ac_exeext conftest.$ac_ext
12319 CC=$ac_wine_check_headers_saved_cc
12320 ac_exeext=$ac_wine_check_headers_saved_exeext
12321 LIBS=$ac_wine_check_headers_saved_libs
12323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12324 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12325 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12326 then :
12328 else $as_nop
12329 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12331 else $as_nop
12332 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12334 CPPFLAGS=$ac_save_CPPFLAGS
12336 if test "x$LCMS2_PE_LIBS" = "x"
12337 then
12338 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12341 if ${MPG123_PE_CFLAGS:+false} :
12342 then :
12343 if test ${MINGW_PKG_CONFIG+y}
12344 then :
12345 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12348 if ${MPG123_PE_LIBS:+false} :
12349 then :
12350 if test ${MINGW_PKG_CONFIG+y}
12351 then :
12352 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12355 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12356 ac_save_CPPFLAGS=$CPPFLAGS
12357 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12359 printf %s "checking for MinGW mpg123.h... " >&6; }
12360 if test ${ac_cv_mingw_header_mpg123_h+y}
12361 then :
12362 printf %s "(cached) " >&6
12363 else $as_nop
12364 ac_wine_check_headers_saved_cc=$CC
12365 ac_wine_check_headers_saved_exeext=$ac_exeext
12366 eval CC=\$${wine_arch}_CC
12367 ac_exeext=".exe"
12368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12369 /* end confdefs.h. */
12371 #include <mpg123.h>
12373 main (void)
12377 return 0;
12379 _ACEOF
12380 if ac_fn_c_try_compile "$LINENO"
12381 then :
12382 ac_cv_mingw_header_mpg123_h=yes
12383 else $as_nop
12384 ac_cv_mingw_header_mpg123_h=no
12386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12387 CC=$ac_wine_check_headers_saved_cc
12388 ac_exeext=$ac_wine_check_headers_saved_exeext
12390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12391 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12392 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12393 then :
12394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12395 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12396 if test ${ac_cv_mingw_lib_mpg123+y}
12397 then :
12398 printf %s "(cached) " >&6
12399 else $as_nop
12400 ac_wine_check_headers_saved_cc=$CC
12401 ac_wine_check_headers_saved_exeext=$ac_exeext
12402 ac_wine_check_headers_saved_libs=$LIBS
12403 eval CC=\$${wine_arch}_CC
12404 ac_exeext=".exe"
12405 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12409 /* Override any GCC internal prototype to avoid an error.
12410 Use char because int might match the return type of a GCC
12411 builtin and then its argument prototype would still apply. */
12412 char mpg123_feed ();
12414 main (void)
12416 return mpg123_feed ();
12418 return 0;
12420 _ACEOF
12421 if ac_fn_c_try_link "$LINENO"
12422 then :
12423 ac_cv_mingw_lib_mpg123=yes
12424 else $as_nop
12425 ac_cv_mingw_lib_mpg123=no
12427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12428 conftest$ac_exeext conftest.$ac_ext
12429 CC=$ac_wine_check_headers_saved_cc
12430 ac_exeext=$ac_wine_check_headers_saved_exeext
12431 LIBS=$ac_wine_check_headers_saved_libs
12433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12434 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12435 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12436 then :
12438 else $as_nop
12439 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12441 else $as_nop
12442 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12444 CPPFLAGS=$ac_save_CPPFLAGS
12446 if test "x$MPG123_PE_LIBS" = "x"
12447 then
12448 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12451 if ${PNG_PE_CFLAGS:+false} :
12452 then :
12453 if test ${MINGW_PKG_CONFIG+y}
12454 then :
12455 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12458 if ${PNG_PE_LIBS:+false} :
12459 then :
12460 if test ${MINGW_PKG_CONFIG+y}
12461 then :
12462 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12466 ac_save_CPPFLAGS=$CPPFLAGS
12467 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12469 printf %s "checking for MinGW png.h... " >&6; }
12470 if test ${ac_cv_mingw_header_png_h+y}
12471 then :
12472 printf %s "(cached) " >&6
12473 else $as_nop
12474 ac_wine_check_headers_saved_cc=$CC
12475 ac_wine_check_headers_saved_exeext=$ac_exeext
12476 eval CC=\$${wine_arch}_CC
12477 ac_exeext=".exe"
12478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12479 /* end confdefs.h. */
12481 #include <png.h>
12483 main (void)
12487 return 0;
12489 _ACEOF
12490 if ac_fn_c_try_compile "$LINENO"
12491 then :
12492 ac_cv_mingw_header_png_h=yes
12493 else $as_nop
12494 ac_cv_mingw_header_png_h=no
12496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12497 CC=$ac_wine_check_headers_saved_cc
12498 ac_exeext=$ac_wine_check_headers_saved_exeext
12500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12501 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12502 if test "x$ac_cv_mingw_header_png_h" = xyes
12503 then :
12504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12505 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12506 if test ${ac_cv_mingw_lib_png+y}
12507 then :
12508 printf %s "(cached) " >&6
12509 else $as_nop
12510 ac_wine_check_headers_saved_cc=$CC
12511 ac_wine_check_headers_saved_exeext=$ac_exeext
12512 ac_wine_check_headers_saved_libs=$LIBS
12513 eval CC=\$${wine_arch}_CC
12514 ac_exeext=".exe"
12515 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12519 /* Override any GCC internal prototype to avoid an error.
12520 Use char because int might match the return type of a GCC
12521 builtin and then its argument prototype would still apply. */
12522 char png_create_read_struct ();
12524 main (void)
12526 return png_create_read_struct ();
12528 return 0;
12530 _ACEOF
12531 if ac_fn_c_try_link "$LINENO"
12532 then :
12533 ac_cv_mingw_lib_png=yes
12534 else $as_nop
12535 ac_cv_mingw_lib_png=no
12537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12538 conftest$ac_exeext conftest.$ac_ext
12539 CC=$ac_wine_check_headers_saved_cc
12540 ac_exeext=$ac_wine_check_headers_saved_exeext
12541 LIBS=$ac_wine_check_headers_saved_libs
12543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12544 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12545 if test "x$ac_cv_mingw_lib_png" = xyes
12546 then :
12548 else $as_nop
12549 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12551 else $as_nop
12552 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12554 CPPFLAGS=$ac_save_CPPFLAGS
12556 if test "x$PNG_PE_LIBS" = "x"
12557 then
12558 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12561 if ${TIFF_PE_CFLAGS:+false} :
12562 then :
12563 if test ${MINGW_PKG_CONFIG+y}
12564 then :
12565 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12568 if ${TIFF_PE_LIBS:+false} :
12569 then :
12570 if test ${MINGW_PKG_CONFIG+y}
12571 then :
12572 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12576 ac_save_CPPFLAGS=$CPPFLAGS
12577 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12579 printf %s "checking for MinGW tiffio.h... " >&6; }
12580 if test ${ac_cv_mingw_header_tiffio_h+y}
12581 then :
12582 printf %s "(cached) " >&6
12583 else $as_nop
12584 ac_wine_check_headers_saved_cc=$CC
12585 ac_wine_check_headers_saved_exeext=$ac_exeext
12586 eval CC=\$${wine_arch}_CC
12587 ac_exeext=".exe"
12588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12591 #include <tiffio.h>
12593 main (void)
12597 return 0;
12599 _ACEOF
12600 if ac_fn_c_try_compile "$LINENO"
12601 then :
12602 ac_cv_mingw_header_tiffio_h=yes
12603 else $as_nop
12604 ac_cv_mingw_header_tiffio_h=no
12606 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12607 CC=$ac_wine_check_headers_saved_cc
12608 ac_exeext=$ac_wine_check_headers_saved_exeext
12610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12611 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12612 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12613 then :
12614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12615 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12616 if test ${ac_cv_mingw_lib_tiff+y}
12617 then :
12618 printf %s "(cached) " >&6
12619 else $as_nop
12620 ac_wine_check_headers_saved_cc=$CC
12621 ac_wine_check_headers_saved_exeext=$ac_exeext
12622 ac_wine_check_headers_saved_libs=$LIBS
12623 eval CC=\$${wine_arch}_CC
12624 ac_exeext=".exe"
12625 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12627 /* end confdefs.h. */
12629 /* Override any GCC internal prototype to avoid an error.
12630 Use char because int might match the return type of a GCC
12631 builtin and then its argument prototype would still apply. */
12632 char TIFFClientOpen ();
12634 main (void)
12636 return TIFFClientOpen ();
12638 return 0;
12640 _ACEOF
12641 if ac_fn_c_try_link "$LINENO"
12642 then :
12643 ac_cv_mingw_lib_tiff=yes
12644 else $as_nop
12645 ac_cv_mingw_lib_tiff=no
12647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12648 conftest$ac_exeext conftest.$ac_ext
12649 CC=$ac_wine_check_headers_saved_cc
12650 ac_exeext=$ac_wine_check_headers_saved_exeext
12651 LIBS=$ac_wine_check_headers_saved_libs
12653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12654 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12655 if test "x$ac_cv_mingw_lib_tiff" = xyes
12656 then :
12658 else $as_nop
12659 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12661 else $as_nop
12662 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12664 CPPFLAGS=$ac_save_CPPFLAGS
12666 if test "x$TIFF_PE_LIBS" = "x"
12667 then
12668 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12671 if ${XML2_PE_CFLAGS:+false} :
12672 then :
12673 if test ${MINGW_PKG_CONFIG+y}
12674 then :
12675 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12678 if ${XML2_PE_LIBS:+false} :
12679 then :
12680 if test ${MINGW_PKG_CONFIG+y}
12681 then :
12682 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12685 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12686 ac_save_CPPFLAGS=$CPPFLAGS
12687 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12689 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12690 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12691 then :
12692 printf %s "(cached) " >&6
12693 else $as_nop
12694 ac_wine_check_headers_saved_cc=$CC
12695 ac_wine_check_headers_saved_exeext=$ac_exeext
12696 eval CC=\$${wine_arch}_CC
12697 ac_exeext=".exe"
12698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12699 /* end confdefs.h. */
12701 #include <libxml/parser.h>
12703 main (void)
12707 return 0;
12709 _ACEOF
12710 if ac_fn_c_try_compile "$LINENO"
12711 then :
12712 ac_cv_mingw_header_libxml_parser_h=yes
12713 else $as_nop
12714 ac_cv_mingw_header_libxml_parser_h=no
12716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12717 CC=$ac_wine_check_headers_saved_cc
12718 ac_exeext=$ac_wine_check_headers_saved_exeext
12720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12721 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12722 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12723 then :
12726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12727 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12728 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12729 then :
12730 printf %s "(cached) " >&6
12731 else $as_nop
12732 ac_wine_check_headers_saved_cc=$CC
12733 ac_wine_check_headers_saved_exeext=$ac_exeext
12734 eval CC=\$${wine_arch}_CC
12735 ac_exeext=".exe"
12736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12737 /* end confdefs.h. */
12739 #include <libxml/xmlsave.h>
12741 main (void)
12745 return 0;
12747 _ACEOF
12748 if ac_fn_c_try_compile "$LINENO"
12749 then :
12750 ac_cv_mingw_header_libxml_xmlsave_h=yes
12751 else $as_nop
12752 ac_cv_mingw_header_libxml_xmlsave_h=no
12754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12755 CC=$ac_wine_check_headers_saved_cc
12756 ac_exeext=$ac_wine_check_headers_saved_exeext
12758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12759 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12760 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12761 then :
12764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12765 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12766 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12767 then :
12768 printf %s "(cached) " >&6
12769 else $as_nop
12770 ac_wine_check_headers_saved_cc=$CC
12771 ac_wine_check_headers_saved_exeext=$ac_exeext
12772 eval CC=\$${wine_arch}_CC
12773 ac_exeext=".exe"
12774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h. */
12777 #include <libxml/SAX2.h>
12779 main (void)
12783 return 0;
12785 _ACEOF
12786 if ac_fn_c_try_compile "$LINENO"
12787 then :
12788 ac_cv_mingw_header_libxml_SAX2_h=yes
12789 else $as_nop
12790 ac_cv_mingw_header_libxml_SAX2_h=no
12792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12793 CC=$ac_wine_check_headers_saved_cc
12794 ac_exeext=$ac_wine_check_headers_saved_exeext
12796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12797 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12798 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12799 then :
12802 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"
12803 then
12804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12805 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12806 if test ${ac_cv_mingw_lib_xml2+y}
12807 then :
12808 printf %s "(cached) " >&6
12809 else $as_nop
12810 ac_wine_check_headers_saved_cc=$CC
12811 ac_wine_check_headers_saved_exeext=$ac_exeext
12812 ac_wine_check_headers_saved_libs=$LIBS
12813 eval CC=\$${wine_arch}_CC
12814 ac_exeext=".exe"
12815 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12817 /* end confdefs.h. */
12819 /* Override any GCC internal prototype to avoid an error.
12820 Use char because int might match the return type of a GCC
12821 builtin and then its argument prototype would still apply. */
12822 char xmlFirstElementChild ();
12824 main (void)
12826 return xmlFirstElementChild ();
12828 return 0;
12830 _ACEOF
12831 if ac_fn_c_try_link "$LINENO"
12832 then :
12833 ac_cv_mingw_lib_xml2=yes
12834 else $as_nop
12835 ac_cv_mingw_lib_xml2=no
12837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12838 conftest$ac_exeext conftest.$ac_ext
12839 CC=$ac_wine_check_headers_saved_cc
12840 ac_exeext=$ac_wine_check_headers_saved_exeext
12841 LIBS=$ac_wine_check_headers_saved_libs
12843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12844 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12845 if test "x$ac_cv_mingw_lib_xml2" = xyes
12846 then :
12848 else $as_nop
12849 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12851 else
12852 XML2_PE_CFLAGS=""
12853 XML2_PE_LIBS=""
12855 CPPFLAGS=$ac_save_CPPFLAGS
12857 if test "x$XML2_PE_LIBS" = "x"
12858 then
12859 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12862 if ${XSLT_PE_CFLAGS:+false} :
12863 then :
12864 if test ${MINGW_PKG_CONFIG+y}
12865 then :
12866 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12869 if ${XSLT_PE_LIBS:+false} :
12870 then :
12871 if test ${MINGW_PKG_CONFIG+y}
12872 then :
12873 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12876 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12877 ac_save_CPPFLAGS=$CPPFLAGS
12878 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12880 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12881 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12882 then :
12883 printf %s "(cached) " >&6
12884 else $as_nop
12885 ac_wine_check_headers_saved_cc=$CC
12886 ac_wine_check_headers_saved_exeext=$ac_exeext
12887 eval CC=\$${wine_arch}_CC
12888 ac_exeext=".exe"
12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12892 #include <libxslt/pattern.h>
12894 main (void)
12898 return 0;
12900 _ACEOF
12901 if ac_fn_c_try_compile "$LINENO"
12902 then :
12903 ac_cv_mingw_header_libxslt_pattern_h=yes
12904 else $as_nop
12905 ac_cv_mingw_header_libxslt_pattern_h=no
12907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12908 CC=$ac_wine_check_headers_saved_cc
12909 ac_exeext=$ac_wine_check_headers_saved_exeext
12911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12912 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12913 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12914 then :
12917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12918 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12919 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12920 then :
12921 printf %s "(cached) " >&6
12922 else $as_nop
12923 ac_wine_check_headers_saved_cc=$CC
12924 ac_wine_check_headers_saved_exeext=$ac_exeext
12925 eval CC=\$${wine_arch}_CC
12926 ac_exeext=".exe"
12927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12928 /* end confdefs.h. */
12930 #include <libxslt/transform.h>
12932 main (void)
12936 return 0;
12938 _ACEOF
12939 if ac_fn_c_try_compile "$LINENO"
12940 then :
12941 ac_cv_mingw_header_libxslt_transform_h=yes
12942 else $as_nop
12943 ac_cv_mingw_header_libxslt_transform_h=no
12945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12946 CC=$ac_wine_check_headers_saved_cc
12947 ac_exeext=$ac_wine_check_headers_saved_exeext
12949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12950 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12951 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12952 then :
12955 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12956 then
12957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12958 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12959 if test ${ac_cv_mingw_lib_xslt+y}
12960 then :
12961 printf %s "(cached) " >&6
12962 else $as_nop
12963 ac_wine_check_headers_saved_cc=$CC
12964 ac_wine_check_headers_saved_exeext=$ac_exeext
12965 ac_wine_check_headers_saved_libs=$LIBS
12966 eval CC=\$${wine_arch}_CC
12967 ac_exeext=".exe"
12968 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12970 /* end confdefs.h. */
12972 /* Override any GCC internal prototype to avoid an error.
12973 Use char because int might match the return type of a GCC
12974 builtin and then its argument prototype would still apply. */
12975 char xsltCompilePattern ();
12977 main (void)
12979 return xsltCompilePattern ();
12981 return 0;
12983 _ACEOF
12984 if ac_fn_c_try_link "$LINENO"
12985 then :
12986 ac_cv_mingw_lib_xslt=yes
12987 else $as_nop
12988 ac_cv_mingw_lib_xslt=no
12990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12991 conftest$ac_exeext conftest.$ac_ext
12992 CC=$ac_wine_check_headers_saved_cc
12993 ac_exeext=$ac_wine_check_headers_saved_exeext
12994 LIBS=$ac_wine_check_headers_saved_libs
12996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12997 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12998 if test "x$ac_cv_mingw_lib_xslt" = xyes
12999 then :
13001 else $as_nop
13002 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13004 else
13005 XSLT_PE_CFLAGS=""
13006 XSLT_PE_LIBS=""
13008 CPPFLAGS=$ac_save_CPPFLAGS
13010 if test "x$XSLT_PE_LIBS" = "x"
13011 then
13012 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13015 if ${VKD3D_PE_CFLAGS:+false} :
13016 then :
13017 if test ${MINGW_PKG_CONFIG+y}
13018 then :
13019 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13022 if ${VKD3D_PE_LIBS:+false} :
13023 then :
13024 if test ${MINGW_PKG_CONFIG+y}
13025 then :
13026 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13029 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13030 ac_save_CPPFLAGS=$CPPFLAGS
13031 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13033 printf %s "checking for MinGW vkd3d.h... " >&6; }
13034 if test ${ac_cv_mingw_header_vkd3d_h+y}
13035 then :
13036 printf %s "(cached) " >&6
13037 else $as_nop
13038 ac_wine_check_headers_saved_cc=$CC
13039 ac_wine_check_headers_saved_exeext=$ac_exeext
13040 eval CC=\$${wine_arch}_CC
13041 ac_exeext=".exe"
13042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13043 /* end confdefs.h. */
13045 #include <vkd3d.h>
13047 main (void)
13051 return 0;
13053 _ACEOF
13054 if ac_fn_c_try_compile "$LINENO"
13055 then :
13056 ac_cv_mingw_header_vkd3d_h=yes
13057 else $as_nop
13058 ac_cv_mingw_header_vkd3d_h=no
13060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13061 CC=$ac_wine_check_headers_saved_cc
13062 ac_exeext=$ac_wine_check_headers_saved_exeext
13064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13065 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13066 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13067 then :
13070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13071 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13072 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13073 then :
13074 printf %s "(cached) " >&6
13075 else $as_nop
13076 ac_wine_check_headers_saved_cc=$CC
13077 ac_wine_check_headers_saved_exeext=$ac_exeext
13078 eval CC=\$${wine_arch}_CC
13079 ac_exeext=".exe"
13080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13081 /* end confdefs.h. */
13083 #include <vkd3d_shader.h>
13085 main (void)
13089 return 0;
13091 _ACEOF
13092 if ac_fn_c_try_compile "$LINENO"
13093 then :
13094 ac_cv_mingw_header_vkd3d_shader_h=yes
13095 else $as_nop
13096 ac_cv_mingw_header_vkd3d_shader_h=no
13098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13099 CC=$ac_wine_check_headers_saved_cc
13100 ac_exeext=$ac_wine_check_headers_saved_exeext
13102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13103 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13104 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13105 then :
13108 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13109 then
13110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13111 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13112 if test ${ac_cv_mingw_lib_vkd3d+y}
13113 then :
13114 printf %s "(cached) " >&6
13115 else $as_nop
13116 ac_wine_check_headers_saved_cc=$CC
13117 ac_wine_check_headers_saved_exeext=$ac_exeext
13118 ac_wine_check_headers_saved_libs=$LIBS
13119 eval CC=\$${wine_arch}_CC
13120 ac_exeext=".exe"
13121 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13123 /* end confdefs.h. */
13125 /* Override any GCC internal prototype to avoid an error.
13126 Use char because int might match the return type of a GCC
13127 builtin and then its argument prototype would still apply. */
13128 char vkd3d_set_log_callback ();
13130 main (void)
13132 return vkd3d_set_log_callback ();
13134 return 0;
13136 _ACEOF
13137 if ac_fn_c_try_link "$LINENO"
13138 then :
13139 ac_cv_mingw_lib_vkd3d=yes
13140 else $as_nop
13141 ac_cv_mingw_lib_vkd3d=no
13143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13144 conftest$ac_exeext conftest.$ac_ext
13145 CC=$ac_wine_check_headers_saved_cc
13146 ac_exeext=$ac_wine_check_headers_saved_exeext
13147 LIBS=$ac_wine_check_headers_saved_libs
13149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13150 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13151 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13152 then :
13154 else $as_nop
13157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13158 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13159 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13160 then :
13161 printf %s "(cached) " >&6
13162 else $as_nop
13163 ac_wine_check_headers_saved_cc=$CC
13164 ac_wine_check_headers_saved_exeext=$ac_exeext
13165 ac_wine_check_headers_saved_libs=$LIBS
13166 eval CC=\$${wine_arch}_CC
13167 ac_exeext=".exe"
13168 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13170 /* end confdefs.h. */
13172 /* Override any GCC internal prototype to avoid an error.
13173 Use char because int might match the return type of a GCC
13174 builtin and then its argument prototype would still apply. */
13175 char vkd3d_shader_compile ();
13177 main (void)
13179 return vkd3d_shader_compile ();
13181 return 0;
13183 _ACEOF
13184 if ac_fn_c_try_link "$LINENO"
13185 then :
13186 ac_cv_mingw_lib_vkd3d_shader=yes
13187 else $as_nop
13188 ac_cv_mingw_lib_vkd3d_shader=no
13190 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13191 conftest$ac_exeext conftest.$ac_ext
13192 CC=$ac_wine_check_headers_saved_cc
13193 ac_exeext=$ac_wine_check_headers_saved_exeext
13194 LIBS=$ac_wine_check_headers_saved_libs
13196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13197 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13198 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13199 then :
13201 else $as_nop
13204 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13205 then
13206 VKD3D_PE_CFLAGS=""
13207 VKD3D_PE_LIBS=""
13209 else
13210 VKD3D_PE_CFLAGS=""
13211 VKD3D_PE_LIBS=""
13213 CPPFLAGS=$ac_save_CPPFLAGS
13215 if test "x$VKD3D_PE_LIBS" = "x"
13216 then
13217 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13220 if ${ZLIB_PE_CFLAGS:+false} :
13221 then :
13222 if test ${MINGW_PKG_CONFIG+y}
13223 then :
13224 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13227 if ${ZLIB_PE_LIBS:+false} :
13228 then :
13229 if test ${MINGW_PKG_CONFIG+y}
13230 then :
13231 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13234 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13235 ac_save_CPPFLAGS=$CPPFLAGS
13236 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13238 printf %s "checking for MinGW zlib.h... " >&6; }
13239 if test ${ac_cv_mingw_header_zlib_h+y}
13240 then :
13241 printf %s "(cached) " >&6
13242 else $as_nop
13243 ac_wine_check_headers_saved_cc=$CC
13244 ac_wine_check_headers_saved_exeext=$ac_exeext
13245 eval CC=\$${wine_arch}_CC
13246 ac_exeext=".exe"
13247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13248 /* end confdefs.h. */
13250 #include <zlib.h>
13252 main (void)
13256 return 0;
13258 _ACEOF
13259 if ac_fn_c_try_compile "$LINENO"
13260 then :
13261 ac_cv_mingw_header_zlib_h=yes
13262 else $as_nop
13263 ac_cv_mingw_header_zlib_h=no
13265 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13266 CC=$ac_wine_check_headers_saved_cc
13267 ac_exeext=$ac_wine_check_headers_saved_exeext
13269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13270 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13271 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13272 then :
13273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13274 printf %s "checking for inflate in MinGW -lz... " >&6; }
13275 if test ${ac_cv_mingw_lib_z+y}
13276 then :
13277 printf %s "(cached) " >&6
13278 else $as_nop
13279 ac_wine_check_headers_saved_cc=$CC
13280 ac_wine_check_headers_saved_exeext=$ac_exeext
13281 ac_wine_check_headers_saved_libs=$LIBS
13282 eval CC=\$${wine_arch}_CC
13283 ac_exeext=".exe"
13284 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13288 /* Override any GCC internal prototype to avoid an error.
13289 Use char because int might match the return type of a GCC
13290 builtin and then its argument prototype would still apply. */
13291 char inflate ();
13293 main (void)
13295 return inflate ();
13297 return 0;
13299 _ACEOF
13300 if ac_fn_c_try_link "$LINENO"
13301 then :
13302 ac_cv_mingw_lib_z=yes
13303 else $as_nop
13304 ac_cv_mingw_lib_z=no
13306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13307 conftest$ac_exeext conftest.$ac_ext
13308 CC=$ac_wine_check_headers_saved_cc
13309 ac_exeext=$ac_wine_check_headers_saved_exeext
13310 LIBS=$ac_wine_check_headers_saved_libs
13312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13313 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13314 if test "x$ac_cv_mingw_lib_z" = xyes
13315 then :
13317 else $as_nop
13318 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13320 else $as_nop
13321 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13323 CPPFLAGS=$ac_save_CPPFLAGS
13325 if test "x$ZLIB_PE_LIBS" = "x"
13326 then
13327 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13331 if ${FAUDIO_PE_LIBS:+false} :
13332 then :
13333 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13334 if ${FAUDIO_PE_CFLAGS:+false} :
13335 then :
13336 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13337 else $as_nop
13338 enable_faudio=no
13340 else $as_nop
13341 enable_faudio=no
13343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13346 if ${GSM_PE_LIBS:+false} :
13347 then :
13348 GSM_PE_LIBS=gsm
13349 if ${GSM_PE_CFLAGS:+false} :
13350 then :
13351 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13352 else $as_nop
13353 enable_gsm=no
13355 else $as_nop
13356 enable_gsm=no
13358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13361 if ${JPEG_PE_LIBS:+false} :
13362 then :
13363 JPEG_PE_LIBS=jpeg
13364 if ${JPEG_PE_CFLAGS:+false} :
13365 then :
13366 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13367 else $as_nop
13368 enable_jpeg=no
13370 else $as_nop
13371 enable_jpeg=no
13373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13376 if ${JXR_PE_LIBS:+false} :
13377 then :
13378 JXR_PE_LIBS=jxr
13379 if ${JXR_PE_CFLAGS:+false} :
13380 then :
13381 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13382 else $as_nop
13383 enable_jxr=no
13385 else $as_nop
13386 enable_jxr=no
13388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13391 if ${LCMS2_PE_LIBS:+false} :
13392 then :
13393 LCMS2_PE_LIBS=lcms2
13394 if ${LCMS2_PE_CFLAGS:+false} :
13395 then :
13396 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13397 else $as_nop
13398 enable_lcms2=no
13400 else $as_nop
13401 enable_lcms2=no
13403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13406 if ${LDAP_PE_LIBS:+false} :
13407 then :
13408 LDAP_PE_LIBS=ldap
13409 if ${LDAP_PE_CFLAGS:+false} :
13410 then :
13411 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13412 else $as_nop
13413 enable_ldap=no
13415 else $as_nop
13416 enable_ldap=no
13418 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13419 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13421 if ${MPG123_PE_LIBS:+false} :
13422 then :
13423 MPG123_PE_LIBS=mpg123
13424 if ${MPG123_PE_CFLAGS:+false} :
13425 then :
13426 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13427 else $as_nop
13428 enable_mpg123=no
13430 else $as_nop
13431 enable_mpg123=no
13433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13436 if ${PNG_PE_LIBS:+false} :
13437 then :
13438 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13439 if ${PNG_PE_CFLAGS:+false} :
13440 then :
13441 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13442 else $as_nop
13443 enable_png=no
13445 else $as_nop
13446 enable_png=no
13448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13451 if ${TIFF_PE_LIBS:+false} :
13452 then :
13453 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13454 if ${TIFF_PE_CFLAGS:+false} :
13455 then :
13456 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13457 else $as_nop
13458 enable_tiff=no
13460 else $as_nop
13461 enable_tiff=no
13463 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13466 if ${VKD3D_PE_LIBS:+false} :
13467 then :
13468 VKD3D_PE_LIBS=vkd3d
13469 if ${VKD3D_PE_CFLAGS:+false} :
13470 then :
13471 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13472 else $as_nop
13473 enable_vkd3d=no
13475 else $as_nop
13476 enable_vkd3d=no
13478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13481 if ${XML2_PE_LIBS:+false} :
13482 then :
13483 XML2_PE_LIBS=xml2
13484 if ${XML2_PE_CFLAGS:+false} :
13485 then :
13486 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13487 else $as_nop
13488 enable_xml2=no
13490 else $as_nop
13491 enable_xml2=no
13493 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13496 if ${XSLT_PE_LIBS:+false} :
13497 then :
13498 XSLT_PE_LIBS=xslt
13499 if ${XSLT_PE_CFLAGS:+false} :
13500 then :
13501 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13502 else $as_nop
13503 enable_xslt=no
13505 else $as_nop
13506 enable_xslt=no
13508 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13511 if ${ZLIB_PE_LIBS:+false} :
13512 then :
13513 ZLIB_PE_LIBS=z
13514 if ${ZLIB_PE_CFLAGS:+false} :
13515 then :
13516 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13517 else $as_nop
13518 enable_zlib=no
13520 else $as_nop
13521 enable_zlib=no
13523 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13524 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13528 if test "$ac_cv_header_pthread_h" = "yes"
13529 then
13530 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13531 if test "x$ac_cv_func_pthread_create" = xyes
13532 then :
13534 else $as_nop
13535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13536 printf %s "checking for pthread_create in -lpthread... " >&6; }
13537 if test ${ac_cv_lib_pthread_pthread_create+y}
13538 then :
13539 printf %s "(cached) " >&6
13540 else $as_nop
13541 ac_check_lib_save_LIBS=$LIBS
13542 LIBS="-lpthread $LIBS"
13543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13544 /* end confdefs.h. */
13546 /* Override any GCC internal prototype to avoid an error.
13547 Use char because int might match the return type of a GCC
13548 builtin and then its argument prototype would still apply. */
13549 char pthread_create ();
13551 main (void)
13553 return pthread_create ();
13555 return 0;
13557 _ACEOF
13558 if ac_fn_c_try_link "$LINENO"
13559 then :
13560 ac_cv_lib_pthread_pthread_create=yes
13561 else $as_nop
13562 ac_cv_lib_pthread_pthread_create=no
13564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13565 conftest$ac_exeext conftest.$ac_ext
13566 LIBS=$ac_check_lib_save_LIBS
13568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13569 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13570 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13571 then :
13572 PTHREAD_LIBS="-lpthread"
13579 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13580 then :
13581 case "x$with_pthread" in
13582 xno) ;;
13583 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13584 Wine cannot support threads without libpthread.
13585 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13586 esac
13591 ac_ext=c
13592 ac_cpp='$CPP $CPPFLAGS'
13593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13597 printf %s "checking how to run the C preprocessor... " >&6; }
13598 # On Suns, sometimes $CPP names a directory.
13599 if test -n "$CPP" && test -d "$CPP"; then
13600 CPP=
13602 if test -z "$CPP"; then
13603 if test ${ac_cv_prog_CPP+y}
13604 then :
13605 printf %s "(cached) " >&6
13606 else $as_nop
13607 # Double quotes because $CC needs to be expanded
13608 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13610 ac_preproc_ok=false
13611 for ac_c_preproc_warn_flag in '' yes
13613 # Use a header file that comes with gcc, so configuring glibc
13614 # with a fresh cross-compiler works.
13615 # On the NeXT, cc -E runs the code through the compiler's parser,
13616 # not just through cpp. "Syntax error" is here to catch this case.
13617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13618 /* end confdefs.h. */
13619 #include <limits.h>
13620 Syntax error
13621 _ACEOF
13622 if ac_fn_c_try_cpp "$LINENO"
13623 then :
13625 else $as_nop
13626 # Broken: fails on valid input.
13627 continue
13629 rm -f conftest.err conftest.i conftest.$ac_ext
13631 # OK, works on sane cases. Now check whether nonexistent headers
13632 # can be detected and how.
13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13634 /* end confdefs.h. */
13635 #include <ac_nonexistent.h>
13636 _ACEOF
13637 if ac_fn_c_try_cpp "$LINENO"
13638 then :
13639 # Broken: success on invalid input.
13640 continue
13641 else $as_nop
13642 # Passes both tests.
13643 ac_preproc_ok=:
13644 break
13646 rm -f conftest.err conftest.i conftest.$ac_ext
13648 done
13649 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13650 rm -f conftest.i conftest.err conftest.$ac_ext
13651 if $ac_preproc_ok
13652 then :
13653 break
13656 done
13657 ac_cv_prog_CPP=$CPP
13660 CPP=$ac_cv_prog_CPP
13661 else
13662 ac_cv_prog_CPP=$CPP
13664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13665 printf "%s\n" "$CPP" >&6; }
13666 ac_preproc_ok=false
13667 for ac_c_preproc_warn_flag in '' yes
13669 # Use a header file that comes with gcc, so configuring glibc
13670 # with a fresh cross-compiler works.
13671 # On the NeXT, cc -E runs the code through the compiler's parser,
13672 # not just through cpp. "Syntax error" is here to catch this case.
13673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13675 #include <limits.h>
13676 Syntax error
13677 _ACEOF
13678 if ac_fn_c_try_cpp "$LINENO"
13679 then :
13681 else $as_nop
13682 # Broken: fails on valid input.
13683 continue
13685 rm -f conftest.err conftest.i conftest.$ac_ext
13687 # OK, works on sane cases. Now check whether nonexistent headers
13688 # can be detected and how.
13689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13690 /* end confdefs.h. */
13691 #include <ac_nonexistent.h>
13692 _ACEOF
13693 if ac_fn_c_try_cpp "$LINENO"
13694 then :
13695 # Broken: success on invalid input.
13696 continue
13697 else $as_nop
13698 # Passes both tests.
13699 ac_preproc_ok=:
13700 break
13702 rm -f conftest.err conftest.i conftest.$ac_ext
13704 done
13705 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13706 rm -f conftest.i conftest.err conftest.$ac_ext
13707 if $ac_preproc_ok
13708 then :
13710 else $as_nop
13711 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13712 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13713 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13714 See \`config.log' for more details" "$LINENO" 5; }
13717 ac_ext=c
13718 ac_cpp='$CPP $CPPFLAGS'
13719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13725 printf %s "checking for X... " >&6; }
13728 # Check whether --with-x was given.
13729 if test ${with_x+y}
13730 then :
13731 withval=$with_x;
13734 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13735 if test "x$with_x" = xno; then
13736 # The user explicitly disabled X.
13737 have_x=disabled
13738 else
13739 case $x_includes,$x_libraries in #(
13740 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13741 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13742 then :
13743 printf %s "(cached) " >&6
13744 else $as_nop
13745 # One or both of the vars are not set, and there is no cached value.
13746 ac_x_includes=no
13747 ac_x_libraries=no
13748 # Do we need to do anything special at all?
13749 ac_save_LIBS=$LIBS
13750 LIBS="-lX11 $LIBS"
13751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13752 /* end confdefs.h. */
13753 #include <X11/Xlib.h>
13755 main (void)
13757 XrmInitialize ()
13759 return 0;
13761 _ACEOF
13762 if ac_fn_c_try_link "$LINENO"
13763 then :
13764 # We can compile and link X programs with no special options.
13765 ac_x_includes=
13766 ac_x_libraries=
13768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13769 conftest$ac_exeext conftest.$ac_ext
13770 LIBS="$ac_save_LIBS"
13771 # If that didn't work, only try xmkmf and file system searches
13772 # for native compilation.
13773 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13774 then :
13775 rm -f -r conftest.dir
13776 if mkdir conftest.dir; then
13777 cd conftest.dir
13778 cat >Imakefile <<'_ACEOF'
13779 incroot:
13780 @echo incroot='${INCROOT}'
13781 usrlibdir:
13782 @echo usrlibdir='${USRLIBDIR}'
13783 libdir:
13784 @echo libdir='${LIBDIR}'
13785 _ACEOF
13786 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13787 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13788 for ac_var in incroot usrlibdir libdir; do
13789 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13790 done
13791 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13792 for ac_extension in a so sl dylib la dll; do
13793 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13794 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13795 ac_im_usrlibdir=$ac_im_libdir; break
13797 done
13798 # Screen out bogus values from the imake configuration. They are
13799 # bogus both because they are the default anyway, and because
13800 # using them would break gcc on systems where it needs fixed includes.
13801 case $ac_im_incroot in
13802 /usr/include) ac_x_includes= ;;
13803 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13804 esac
13805 case $ac_im_usrlibdir in
13806 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13807 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13808 esac
13810 cd ..
13811 rm -f -r conftest.dir
13814 # Standard set of common directories for X headers.
13815 # Check X11 before X11Rn because it is often a symlink to the current release.
13816 ac_x_header_dirs='
13817 /usr/X11/include
13818 /usr/X11R7/include
13819 /usr/X11R6/include
13820 /usr/X11R5/include
13821 /usr/X11R4/include
13823 /usr/include/X11
13824 /usr/include/X11R7
13825 /usr/include/X11R6
13826 /usr/include/X11R5
13827 /usr/include/X11R4
13829 /usr/local/X11/include
13830 /usr/local/X11R7/include
13831 /usr/local/X11R6/include
13832 /usr/local/X11R5/include
13833 /usr/local/X11R4/include
13835 /usr/local/include/X11
13836 /usr/local/include/X11R7
13837 /usr/local/include/X11R6
13838 /usr/local/include/X11R5
13839 /usr/local/include/X11R4
13841 /opt/X11/include
13843 /usr/X386/include
13844 /usr/x386/include
13845 /usr/XFree86/include/X11
13847 /usr/include
13848 /usr/local/include
13849 /usr/unsupported/include
13850 /usr/athena/include
13851 /usr/local/x11r5/include
13852 /usr/lpp/Xamples/include
13854 /usr/openwin/include
13855 /usr/openwin/share/include'
13857 if test "$ac_x_includes" = no; then
13858 # Guess where to find include files, by looking for Xlib.h.
13859 # First, try using that file with no special directory specified.
13860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13861 /* end confdefs.h. */
13862 #include <X11/Xlib.h>
13863 _ACEOF
13864 if ac_fn_c_try_cpp "$LINENO"
13865 then :
13866 # We can compile using X headers with no special include directory.
13867 ac_x_includes=
13868 else $as_nop
13869 for ac_dir in $ac_x_header_dirs; do
13870 if test -r "$ac_dir/X11/Xlib.h"; then
13871 ac_x_includes=$ac_dir
13872 break
13874 done
13876 rm -f conftest.err conftest.i conftest.$ac_ext
13877 fi # $ac_x_includes = no
13879 if test "$ac_x_libraries" = no; then
13880 # Check for the libraries.
13881 # See if we find them without any special options.
13882 # Don't add to $LIBS permanently.
13883 ac_save_LIBS=$LIBS
13884 LIBS="-lX11 $LIBS"
13885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13887 #include <X11/Xlib.h>
13889 main (void)
13891 XrmInitialize ()
13893 return 0;
13895 _ACEOF
13896 if ac_fn_c_try_link "$LINENO"
13897 then :
13898 LIBS=$ac_save_LIBS
13899 # We can link X programs with no special library path.
13900 ac_x_libraries=
13901 else $as_nop
13902 LIBS=$ac_save_LIBS
13903 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13905 # Don't even attempt the hair of trying to link an X program!
13906 for ac_extension in a so sl dylib la dll; do
13907 if test -r "$ac_dir/libX11.$ac_extension"; then
13908 ac_x_libraries=$ac_dir
13909 break 2
13911 done
13912 done
13914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13915 conftest$ac_exeext conftest.$ac_ext
13916 fi # $ac_x_libraries = no
13919 # Record the results.
13920 case $ac_x_includes,$ac_x_libraries in #(
13921 no,* | *,no | *\'*) :
13922 # Didn't find X, or a directory has "'" in its name.
13923 ac_cv_have_x="have_x=no" ;; #(
13924 *) :
13925 # Record where we found X for the cache.
13926 ac_cv_have_x="have_x=yes\
13927 ac_x_includes='$ac_x_includes'\
13928 ac_x_libraries='$ac_x_libraries'" ;;
13929 esac
13931 ;; #(
13932 *) have_x=yes;;
13933 esac
13934 eval "$ac_cv_have_x"
13935 fi # $with_x != no
13937 if test "$have_x" != yes; then
13938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13939 printf "%s\n" "$have_x" >&6; }
13940 no_x=yes
13941 else
13942 # If each of the values was on the command line, it overrides each guess.
13943 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13944 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13945 # Update the cache value to reflect the command line values.
13946 ac_cv_have_x="have_x=yes\
13947 ac_x_includes='$x_includes'\
13948 ac_x_libraries='$x_libraries'"
13949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13950 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13953 if test "$no_x" = yes; then
13954 # Not all programs may use this symbol, but it does not hurt to define it.
13956 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13958 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13959 else
13960 if test -n "$x_includes"; then
13961 X_CFLAGS="$X_CFLAGS -I$x_includes"
13964 # It would also be nice to do this for all -L options, not just this one.
13965 if test -n "$x_libraries"; then
13966 X_LIBS="$X_LIBS -L$x_libraries"
13967 # For Solaris; some versions of Sun CC require a space after -R and
13968 # others require no space. Words are not sufficient . . . .
13969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13970 printf %s "checking whether -R must be followed by a space... " >&6; }
13971 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13972 ac_xsave_c_werror_flag=$ac_c_werror_flag
13973 ac_c_werror_flag=yes
13974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13978 main (void)
13982 return 0;
13984 _ACEOF
13985 if ac_fn_c_try_link "$LINENO"
13986 then :
13987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13988 printf "%s\n" "no" >&6; }
13989 X_LIBS="$X_LIBS -R$x_libraries"
13990 else $as_nop
13991 LIBS="$ac_xsave_LIBS -R $x_libraries"
13992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
13996 main (void)
14000 return 0;
14002 _ACEOF
14003 if ac_fn_c_try_link "$LINENO"
14004 then :
14005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14006 printf "%s\n" "yes" >&6; }
14007 X_LIBS="$X_LIBS -R $x_libraries"
14008 else $as_nop
14009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14010 printf "%s\n" "neither works" >&6; }
14012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14013 conftest$ac_exeext conftest.$ac_ext
14015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14016 conftest$ac_exeext conftest.$ac_ext
14017 ac_c_werror_flag=$ac_xsave_c_werror_flag
14018 LIBS=$ac_xsave_LIBS
14021 # Check for system-dependent libraries X programs must link with.
14022 # Do this before checking for the system-independent R6 libraries
14023 # (-lICE), since we may need -lsocket or whatever for X linking.
14025 if test "$ISC" = yes; then
14026 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14027 else
14028 # Martyn Johnson says this is needed for Ultrix, if the X
14029 # libraries were built with DECnet support. And Karl Berry says
14030 # the Alpha needs dnet_stub (dnet does not exist).
14031 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14035 /* Override any GCC internal prototype to avoid an error.
14036 Use char because int might match the return type of a GCC
14037 builtin and then its argument prototype would still apply. */
14038 char XOpenDisplay ();
14040 main (void)
14042 return XOpenDisplay ();
14044 return 0;
14046 _ACEOF
14047 if ac_fn_c_try_link "$LINENO"
14048 then :
14050 else $as_nop
14051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14052 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14053 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14054 then :
14055 printf %s "(cached) " >&6
14056 else $as_nop
14057 ac_check_lib_save_LIBS=$LIBS
14058 LIBS="-ldnet $LIBS"
14059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060 /* end confdefs.h. */
14062 /* Override any GCC internal prototype to avoid an error.
14063 Use char because int might match the return type of a GCC
14064 builtin and then its argument prototype would still apply. */
14065 char dnet_ntoa ();
14067 main (void)
14069 return dnet_ntoa ();
14071 return 0;
14073 _ACEOF
14074 if ac_fn_c_try_link "$LINENO"
14075 then :
14076 ac_cv_lib_dnet_dnet_ntoa=yes
14077 else $as_nop
14078 ac_cv_lib_dnet_dnet_ntoa=no
14080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14081 conftest$ac_exeext conftest.$ac_ext
14082 LIBS=$ac_check_lib_save_LIBS
14084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14085 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14086 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14087 then :
14088 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14091 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14093 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14094 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14095 then :
14096 printf %s "(cached) " >&6
14097 else $as_nop
14098 ac_check_lib_save_LIBS=$LIBS
14099 LIBS="-ldnet_stub $LIBS"
14100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14103 /* Override any GCC internal prototype to avoid an error.
14104 Use char because int might match the return type of a GCC
14105 builtin and then its argument prototype would still apply. */
14106 char dnet_ntoa ();
14108 main (void)
14110 return dnet_ntoa ();
14112 return 0;
14114 _ACEOF
14115 if ac_fn_c_try_link "$LINENO"
14116 then :
14117 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14118 else $as_nop
14119 ac_cv_lib_dnet_stub_dnet_ntoa=no
14121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14122 conftest$ac_exeext conftest.$ac_ext
14123 LIBS=$ac_check_lib_save_LIBS
14125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14126 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14127 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14128 then :
14129 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14135 conftest$ac_exeext conftest.$ac_ext
14136 LIBS="$ac_xsave_LIBS"
14138 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14139 # to get the SysV transport functions.
14140 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14141 # needs -lnsl.
14142 # The nsl library prevents programs from opening the X display
14143 # on Irix 5.2, according to T.E. Dickey.
14144 # The functions gethostbyname, getservbyname, and inet_addr are
14145 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14146 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14147 if test "x$ac_cv_func_gethostbyname" = xyes
14148 then :
14152 if test $ac_cv_func_gethostbyname = no; then
14153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14154 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14155 if test ${ac_cv_lib_nsl_gethostbyname+y}
14156 then :
14157 printf %s "(cached) " >&6
14158 else $as_nop
14159 ac_check_lib_save_LIBS=$LIBS
14160 LIBS="-lnsl $LIBS"
14161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h. */
14164 /* Override any GCC internal prototype to avoid an error.
14165 Use char because int might match the return type of a GCC
14166 builtin and then its argument prototype would still apply. */
14167 char gethostbyname ();
14169 main (void)
14171 return gethostbyname ();
14173 return 0;
14175 _ACEOF
14176 if ac_fn_c_try_link "$LINENO"
14177 then :
14178 ac_cv_lib_nsl_gethostbyname=yes
14179 else $as_nop
14180 ac_cv_lib_nsl_gethostbyname=no
14182 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14183 conftest$ac_exeext conftest.$ac_ext
14184 LIBS=$ac_check_lib_save_LIBS
14186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14187 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14188 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14189 then :
14190 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14193 if test $ac_cv_lib_nsl_gethostbyname = no; then
14194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14195 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14196 if test ${ac_cv_lib_bsd_gethostbyname+y}
14197 then :
14198 printf %s "(cached) " >&6
14199 else $as_nop
14200 ac_check_lib_save_LIBS=$LIBS
14201 LIBS="-lbsd $LIBS"
14202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14203 /* end confdefs.h. */
14205 /* Override any GCC internal prototype to avoid an error.
14206 Use char because int might match the return type of a GCC
14207 builtin and then its argument prototype would still apply. */
14208 char gethostbyname ();
14210 main (void)
14212 return gethostbyname ();
14214 return 0;
14216 _ACEOF
14217 if ac_fn_c_try_link "$LINENO"
14218 then :
14219 ac_cv_lib_bsd_gethostbyname=yes
14220 else $as_nop
14221 ac_cv_lib_bsd_gethostbyname=no
14223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14224 conftest$ac_exeext conftest.$ac_ext
14225 LIBS=$ac_check_lib_save_LIBS
14227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14228 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14229 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14230 then :
14231 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14237 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14238 # socket/setsockopt and other routines are undefined under SCO ODT
14239 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14240 # on later versions), says Simon Leinen: it contains gethostby*
14241 # variants that don't use the name server (or something). -lsocket
14242 # must be given before -lnsl if both are needed. We assume that
14243 # if connect needs -lnsl, so does gethostbyname.
14244 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14245 if test "x$ac_cv_func_connect" = xyes
14246 then :
14250 if test $ac_cv_func_connect = no; then
14251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14252 printf %s "checking for connect in -lsocket... " >&6; }
14253 if test ${ac_cv_lib_socket_connect+y}
14254 then :
14255 printf %s "(cached) " >&6
14256 else $as_nop
14257 ac_check_lib_save_LIBS=$LIBS
14258 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14262 /* Override any GCC internal prototype to avoid an error.
14263 Use char because int might match the return type of a GCC
14264 builtin and then its argument prototype would still apply. */
14265 char connect ();
14267 main (void)
14269 return connect ();
14271 return 0;
14273 _ACEOF
14274 if ac_fn_c_try_link "$LINENO"
14275 then :
14276 ac_cv_lib_socket_connect=yes
14277 else $as_nop
14278 ac_cv_lib_socket_connect=no
14280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14281 conftest$ac_exeext conftest.$ac_ext
14282 LIBS=$ac_check_lib_save_LIBS
14284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14285 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14286 if test "x$ac_cv_lib_socket_connect" = xyes
14287 then :
14288 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14293 # Guillermo Gomez says -lposix is necessary on A/UX.
14294 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14295 if test "x$ac_cv_func_remove" = xyes
14296 then :
14300 if test $ac_cv_func_remove = no; then
14301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14302 printf %s "checking for remove in -lposix... " >&6; }
14303 if test ${ac_cv_lib_posix_remove+y}
14304 then :
14305 printf %s "(cached) " >&6
14306 else $as_nop
14307 ac_check_lib_save_LIBS=$LIBS
14308 LIBS="-lposix $LIBS"
14309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14312 /* Override any GCC internal prototype to avoid an error.
14313 Use char because int might match the return type of a GCC
14314 builtin and then its argument prototype would still apply. */
14315 char remove ();
14317 main (void)
14319 return remove ();
14321 return 0;
14323 _ACEOF
14324 if ac_fn_c_try_link "$LINENO"
14325 then :
14326 ac_cv_lib_posix_remove=yes
14327 else $as_nop
14328 ac_cv_lib_posix_remove=no
14330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14331 conftest$ac_exeext conftest.$ac_ext
14332 LIBS=$ac_check_lib_save_LIBS
14334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14335 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14336 if test "x$ac_cv_lib_posix_remove" = xyes
14337 then :
14338 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14343 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14344 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14345 if test "x$ac_cv_func_shmat" = xyes
14346 then :
14350 if test $ac_cv_func_shmat = no; then
14351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14352 printf %s "checking for shmat in -lipc... " >&6; }
14353 if test ${ac_cv_lib_ipc_shmat+y}
14354 then :
14355 printf %s "(cached) " >&6
14356 else $as_nop
14357 ac_check_lib_save_LIBS=$LIBS
14358 LIBS="-lipc $LIBS"
14359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14360 /* end confdefs.h. */
14362 /* Override any GCC internal prototype to avoid an error.
14363 Use char because int might match the return type of a GCC
14364 builtin and then its argument prototype would still apply. */
14365 char shmat ();
14367 main (void)
14369 return shmat ();
14371 return 0;
14373 _ACEOF
14374 if ac_fn_c_try_link "$LINENO"
14375 then :
14376 ac_cv_lib_ipc_shmat=yes
14377 else $as_nop
14378 ac_cv_lib_ipc_shmat=no
14380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14381 conftest$ac_exeext conftest.$ac_ext
14382 LIBS=$ac_check_lib_save_LIBS
14384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14385 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14386 if test "x$ac_cv_lib_ipc_shmat" = xyes
14387 then :
14388 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14394 # Check for libraries that X11R6 Xt/Xaw programs need.
14395 ac_save_LDFLAGS=$LDFLAGS
14396 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14397 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14398 # check for ICE first), but we must link in the order -lSM -lICE or
14399 # we get undefined symbols. So assume we have SM if we have ICE.
14400 # These have to be linked with before -lX11, unlike the other
14401 # libraries we check for below, so use a different variable.
14402 # John Interrante, Karl Berry
14403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14404 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14405 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14406 then :
14407 printf %s "(cached) " >&6
14408 else $as_nop
14409 ac_check_lib_save_LIBS=$LIBS
14410 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14412 /* end confdefs.h. */
14414 /* Override any GCC internal prototype to avoid an error.
14415 Use char because int might match the return type of a GCC
14416 builtin and then its argument prototype would still apply. */
14417 char IceConnectionNumber ();
14419 main (void)
14421 return IceConnectionNumber ();
14423 return 0;
14425 _ACEOF
14426 if ac_fn_c_try_link "$LINENO"
14427 then :
14428 ac_cv_lib_ICE_IceConnectionNumber=yes
14429 else $as_nop
14430 ac_cv_lib_ICE_IceConnectionNumber=no
14432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14433 conftest$ac_exeext conftest.$ac_ext
14434 LIBS=$ac_check_lib_save_LIBS
14436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14437 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14438 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14439 then :
14440 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14443 LDFLAGS=$ac_save_LDFLAGS
14448 if test "$have_x" = "yes"
14449 then
14450 ac_save_CPPFLAGS="$CPPFLAGS"
14451 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14454 printf %s "checking for -lX11... " >&6; }
14455 if test ${ac_cv_lib_soname_X11+y}
14456 then :
14457 printf %s "(cached) " >&6
14458 else $as_nop
14459 ac_check_soname_save_LIBS=$LIBS
14460 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14462 /* end confdefs.h. */
14464 /* Override any GCC internal prototype to avoid an error.
14465 Use char because int might match the return type of a GCC
14466 builtin and then its argument prototype would still apply. */
14467 char XCreateWindow ();
14469 main (void)
14471 return XCreateWindow ();
14473 return 0;
14475 _ACEOF
14476 if ac_fn_c_try_link "$LINENO"
14477 then :
14478 case "$LIBEXT" in
14479 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14480 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'` ;;
14481 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14482 if ${ac_cv_lib_soname_X11:+false} :
14483 then :
14484 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14485 fi ;;
14486 esac
14487 else $as_nop
14488 ac_cv_lib_soname_X11=
14490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14491 conftest$ac_exeext conftest.$ac_ext
14492 LIBS=$ac_check_soname_save_LIBS
14494 if ${ac_cv_lib_soname_X11:+false} :
14495 then :
14496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14497 printf "%s\n" "not found" >&6; }
14499 else $as_nop
14500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14501 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14503 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14508 printf %s "checking for -lXext... " >&6; }
14509 if test ${ac_cv_lib_soname_Xext+y}
14510 then :
14511 printf %s "(cached) " >&6
14512 else $as_nop
14513 ac_check_soname_save_LIBS=$LIBS
14514 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14518 /* Override any GCC internal prototype to avoid an error.
14519 Use char because int might match the return type of a GCC
14520 builtin and then its argument prototype would still apply. */
14521 char XextCreateExtension ();
14523 main (void)
14525 return XextCreateExtension ();
14527 return 0;
14529 _ACEOF
14530 if ac_fn_c_try_link "$LINENO"
14531 then :
14532 case "$LIBEXT" in
14533 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14534 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'` ;;
14535 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14536 if ${ac_cv_lib_soname_Xext:+false} :
14537 then :
14538 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14539 fi ;;
14540 esac
14541 else $as_nop
14542 ac_cv_lib_soname_Xext=
14544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14545 conftest$ac_exeext conftest.$ac_ext
14546 LIBS=$ac_check_soname_save_LIBS
14548 if ${ac_cv_lib_soname_Xext:+false} :
14549 then :
14550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14551 printf "%s\n" "not found" >&6; }
14553 else $as_nop
14554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14555 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14557 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14559 X_LIBS="$X_LIBS -lXext"
14561 X_LIBS="$X_LIBS -lX11"
14563 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14564 # include <X11/Xlib.h>
14565 #endif
14566 #ifdef HAVE_X11_XUTIL_H
14567 # include <X11/Xutil.h>
14568 #endif
14570 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14571 then :
14572 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14575 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14576 # include <X11/Xlib.h>
14577 #endif
14578 #ifdef HAVE_X11_XUTIL_H
14579 # include <X11/Xutil.h>
14580 #endif
14582 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14583 then :
14584 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14587 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14588 # include <X11/Xlib.h>
14589 #endif
14590 #ifdef HAVE_X11_XUTIL_H
14591 # include <X11/Xutil.h>
14592 #endif
14594 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14595 then :
14596 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14599 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14600 # include <X11/Xlib.h>
14601 #endif
14602 #ifdef HAVE_X11_XUTIL_H
14603 # include <X11/Xutil.h>
14604 #endif
14606 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14607 then :
14608 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14611 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14612 # include <X11/Xlib.h>
14613 #endif
14614 #ifdef HAVE_X11_XUTIL_H
14615 # include <X11/Xutil.h>
14616 #endif
14618 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14619 then :
14620 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14623 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14624 # include <X11/Xlib.h>
14625 #endif
14626 #ifdef HAVE_X11_XUTIL_H
14627 # include <X11/Xutil.h>
14628 #endif
14630 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14631 then :
14632 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14635 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14636 # include <X11/Xlib.h>
14637 #endif
14638 #ifdef HAVE_X11_XUTIL_H
14639 # include <X11/Xutil.h>
14640 #endif
14642 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14643 then :
14644 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14647 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14648 # include <X11/Xlib.h>
14649 #endif
14650 #ifdef HAVE_X11_XUTIL_H
14651 # include <X11/Xutil.h>
14652 #endif
14654 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14655 then :
14656 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14659 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14660 # include <X11/Xlib.h>
14661 #endif
14662 #ifdef HAVE_X11_XUTIL_H
14663 # include <X11/Xutil.h>
14664 #endif
14666 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14667 then :
14668 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14671 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14672 # include <X11/Xlib.h>
14673 #endif
14674 #ifdef HAVE_X11_XUTIL_H
14675 # include <X11/Xutil.h>
14676 #endif
14678 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14679 then :
14680 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14683 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14684 # include <X11/Xlib.h>
14685 #endif
14686 #ifdef HAVE_X11_XUTIL_H
14687 # include <X11/Xutil.h>
14688 #endif
14690 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14691 then :
14692 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14695 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14696 # include <X11/Xlib.h>
14697 #endif
14698 #ifdef HAVE_X11_XUTIL_H
14699 # include <X11/Xutil.h>
14700 #endif
14702 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14703 then :
14704 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14707 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14708 # include <X11/Xlib.h>
14709 #endif
14710 #ifdef HAVE_X11_XUTIL_H
14711 # include <X11/Xutil.h>
14712 #endif
14714 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14715 then :
14716 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14719 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14720 # include <X11/Xlib.h>
14721 #endif
14722 #ifdef HAVE_X11_XUTIL_H
14723 # include <X11/Xutil.h>
14724 #endif
14726 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14727 then :
14728 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14731 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14732 # include <X11/Xlib.h>
14733 #endif
14734 #ifdef HAVE_X11_XUTIL_H
14735 # include <X11/Xutil.h>
14736 #endif
14738 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14739 then :
14740 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14745 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14746 then
14747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14748 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14749 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14750 then :
14751 printf %s "(cached) " >&6
14752 else $as_nop
14753 ac_check_lib_save_LIBS=$LIBS
14754 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14756 /* end confdefs.h. */
14758 /* Override any GCC internal prototype to avoid an error.
14759 Use char because int might match the return type of a GCC
14760 builtin and then its argument prototype would still apply. */
14761 char XkbQueryExtension ();
14763 main (void)
14765 return XkbQueryExtension ();
14767 return 0;
14769 _ACEOF
14770 if ac_fn_c_try_link "$LINENO"
14771 then :
14772 ac_cv_lib_X11_XkbQueryExtension=yes
14773 else $as_nop
14774 ac_cv_lib_X11_XkbQueryExtension=no
14776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14777 conftest$ac_exeext conftest.$ac_ext
14778 LIBS=$ac_check_lib_save_LIBS
14780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14781 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14782 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14783 then :
14785 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14791 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14792 then
14793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14794 printf %s "checking for -lXcursor... " >&6; }
14795 if test ${ac_cv_lib_soname_Xcursor+y}
14796 then :
14797 printf %s "(cached) " >&6
14798 else $as_nop
14799 ac_check_soname_save_LIBS=$LIBS
14800 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14802 /* end confdefs.h. */
14804 /* Override any GCC internal prototype to avoid an error.
14805 Use char because int might match the return type of a GCC
14806 builtin and then its argument prototype would still apply. */
14807 char XcursorImageLoadCursor ();
14809 main (void)
14811 return XcursorImageLoadCursor ();
14813 return 0;
14815 _ACEOF
14816 if ac_fn_c_try_link "$LINENO"
14817 then :
14818 case "$LIBEXT" in
14819 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14820 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'` ;;
14821 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14822 if ${ac_cv_lib_soname_Xcursor:+false} :
14823 then :
14824 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14825 fi ;;
14826 esac
14827 else $as_nop
14828 ac_cv_lib_soname_Xcursor=
14830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14831 conftest$ac_exeext conftest.$ac_ext
14832 LIBS=$ac_check_soname_save_LIBS
14834 if ${ac_cv_lib_soname_Xcursor:+false} :
14835 then :
14836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14837 printf "%s\n" "not found" >&6; }
14839 else $as_nop
14840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14841 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14843 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14848 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14849 then :
14850 case "x$with_xcursor" in
14851 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14852 xno) ;;
14853 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14854 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14855 esac
14859 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14860 then
14861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14862 printf %s "checking for -lXi... " >&6; }
14863 if test ${ac_cv_lib_soname_Xi+y}
14864 then :
14865 printf %s "(cached) " >&6
14866 else $as_nop
14867 ac_check_soname_save_LIBS=$LIBS
14868 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h. */
14872 /* Override any GCC internal prototype to avoid an error.
14873 Use char because int might match the return type of a GCC
14874 builtin and then its argument prototype would still apply. */
14875 char XOpenDevice ();
14877 main (void)
14879 return XOpenDevice ();
14881 return 0;
14883 _ACEOF
14884 if ac_fn_c_try_link "$LINENO"
14885 then :
14886 case "$LIBEXT" in
14887 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14888 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'` ;;
14889 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14890 if ${ac_cv_lib_soname_Xi:+false} :
14891 then :
14892 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14893 fi ;;
14894 esac
14895 else $as_nop
14896 ac_cv_lib_soname_Xi=
14898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14899 conftest$ac_exeext conftest.$ac_ext
14900 LIBS=$ac_check_soname_save_LIBS
14902 if ${ac_cv_lib_soname_Xi:+false} :
14903 then :
14904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14905 printf "%s\n" "not found" >&6; }
14907 else $as_nop
14908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14909 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14911 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14916 if test "x$ac_cv_lib_soname_Xi" = "x"
14917 then :
14918 case "x$with_xinput" in
14919 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14920 xno) ;;
14921 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14922 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14923 esac
14927 if test "x$ac_cv_lib_soname_Xi" != x
14928 then
14929 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14930 then :
14931 case "x$with_xinput2" in
14932 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14933 xno) ;;
14934 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14935 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14936 esac
14941 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14942 then
14943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14944 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14945 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14946 then :
14947 printf %s "(cached) " >&6
14948 else $as_nop
14949 ac_check_lib_save_LIBS=$LIBS
14950 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14952 /* end confdefs.h. */
14954 /* Override any GCC internal prototype to avoid an error.
14955 Use char because int might match the return type of a GCC
14956 builtin and then its argument prototype would still apply. */
14957 char XShmQueryExtension ();
14959 main (void)
14961 return XShmQueryExtension ();
14963 return 0;
14965 _ACEOF
14966 if ac_fn_c_try_link "$LINENO"
14967 then :
14968 ac_cv_lib_Xext_XShmQueryExtension=yes
14969 else $as_nop
14970 ac_cv_lib_Xext_XShmQueryExtension=no
14972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14973 conftest$ac_exeext conftest.$ac_ext
14974 LIBS=$ac_check_lib_save_LIBS
14976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14977 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14978 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14979 then :
14981 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14986 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14987 then :
14988 case "x$with_xshm" in
14989 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14990 xno) ;;
14991 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14992 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14993 esac
14997 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14998 then
14999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15000 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
15001 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15002 then :
15003 printf %s "(cached) " >&6
15004 else $as_nop
15005 ac_check_lib_save_LIBS=$LIBS
15006 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15008 /* end confdefs.h. */
15010 /* Override any GCC internal prototype to avoid an error.
15011 Use char because int might match the return type of a GCC
15012 builtin and then its argument prototype would still apply. */
15013 char XShapeQueryExtension ();
15015 main (void)
15017 return XShapeQueryExtension ();
15019 return 0;
15021 _ACEOF
15022 if ac_fn_c_try_link "$LINENO"
15023 then :
15024 ac_cv_lib_Xext_XShapeQueryExtension=yes
15025 else $as_nop
15026 ac_cv_lib_Xext_XShapeQueryExtension=no
15028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15029 conftest$ac_exeext conftest.$ac_ext
15030 LIBS=$ac_check_lib_save_LIBS
15032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15033 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15034 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15035 then :
15037 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15042 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15043 then :
15044 case "x$with_xshape" in
15045 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15046 xno) ;;
15047 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15048 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15049 esac
15053 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15054 then
15055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15056 printf %s "checking for -lXxf86vm... " >&6; }
15057 if test ${ac_cv_lib_soname_Xxf86vm+y}
15058 then :
15059 printf %s "(cached) " >&6
15060 else $as_nop
15061 ac_check_soname_save_LIBS=$LIBS
15062 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15064 /* end confdefs.h. */
15066 /* Override any GCC internal prototype to avoid an error.
15067 Use char because int might match the return type of a GCC
15068 builtin and then its argument prototype would still apply. */
15069 char XF86VidModeQueryExtension ();
15071 main (void)
15073 return XF86VidModeQueryExtension ();
15075 return 0;
15077 _ACEOF
15078 if ac_fn_c_try_link "$LINENO"
15079 then :
15080 case "$LIBEXT" in
15081 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15082 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'` ;;
15083 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15084 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15085 then :
15086 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15087 fi ;;
15088 esac
15089 else $as_nop
15090 ac_cv_lib_soname_Xxf86vm=
15092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15093 conftest$ac_exeext conftest.$ac_ext
15094 LIBS=$ac_check_soname_save_LIBS
15096 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15097 then :
15098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15099 printf "%s\n" "not found" >&6; }
15101 else $as_nop
15102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15103 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15105 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15110 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15111 then :
15112 case "x$with_xxf86vm" in
15113 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15114 xno) ;;
15115 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15116 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15117 esac
15121 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15122 then
15123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15124 printf %s "checking for -lXrender... " >&6; }
15125 if test ${ac_cv_lib_soname_Xrender+y}
15126 then :
15127 printf %s "(cached) " >&6
15128 else $as_nop
15129 ac_check_soname_save_LIBS=$LIBS
15130 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15132 /* end confdefs.h. */
15134 /* Override any GCC internal prototype to avoid an error.
15135 Use char because int might match the return type of a GCC
15136 builtin and then its argument prototype would still apply. */
15137 char XRenderQueryExtension ();
15139 main (void)
15141 return XRenderQueryExtension ();
15143 return 0;
15145 _ACEOF
15146 if ac_fn_c_try_link "$LINENO"
15147 then :
15148 case "$LIBEXT" in
15149 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15150 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'` ;;
15151 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15152 if ${ac_cv_lib_soname_Xrender:+false} :
15153 then :
15154 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15155 fi ;;
15156 esac
15157 else $as_nop
15158 ac_cv_lib_soname_Xrender=
15160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15161 conftest$ac_exeext conftest.$ac_ext
15162 LIBS=$ac_check_soname_save_LIBS
15164 if ${ac_cv_lib_soname_Xrender:+false} :
15165 then :
15166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15167 printf "%s\n" "not found" >&6; }
15169 else $as_nop
15170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15171 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15173 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15176 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15177 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15178 then :
15179 printf %s "(cached) " >&6
15180 else $as_nop
15181 ac_check_lib_save_LIBS=$LIBS
15182 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15184 /* end confdefs.h. */
15186 /* Override any GCC internal prototype to avoid an error.
15187 Use char because int might match the return type of a GCC
15188 builtin and then its argument prototype would still apply. */
15189 char XRenderSetPictureTransform ();
15191 main (void)
15193 return XRenderSetPictureTransform ();
15195 return 0;
15197 _ACEOF
15198 if ac_fn_c_try_link "$LINENO"
15199 then :
15200 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15201 else $as_nop
15202 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15205 conftest$ac_exeext conftest.$ac_ext
15206 LIBS=$ac_check_lib_save_LIBS
15208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15209 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15210 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15211 then :
15213 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15218 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15219 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15220 then :
15221 printf %s "(cached) " >&6
15222 else $as_nop
15223 ac_check_lib_save_LIBS=$LIBS
15224 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15226 /* end confdefs.h. */
15228 /* Override any GCC internal prototype to avoid an error.
15229 Use char because int might match the return type of a GCC
15230 builtin and then its argument prototype would still apply. */
15231 char XRenderCreateLinearGradient ();
15233 main (void)
15235 return XRenderCreateLinearGradient ();
15237 return 0;
15239 _ACEOF
15240 if ac_fn_c_try_link "$LINENO"
15241 then :
15242 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15243 else $as_nop
15244 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15247 conftest$ac_exeext conftest.$ac_ext
15248 LIBS=$ac_check_lib_save_LIBS
15250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15251 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15252 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15253 then :
15255 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15262 if test "x$ac_cv_lib_soname_Xrender" = "x"
15263 then :
15264 case "x$with_xrender" in
15265 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15266 xno) ;;
15267 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15268 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15269 esac
15273 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15274 then
15275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15277 #include <X11/Xlib.h>
15278 #include <X11/extensions/Xrandr.h>
15280 main (void)
15282 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15284 return 0;
15286 _ACEOF
15287 if ac_fn_c_try_compile "$LINENO"
15288 then :
15289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15290 printf %s "checking for -lXrandr... " >&6; }
15291 if test ${ac_cv_lib_soname_Xrandr+y}
15292 then :
15293 printf %s "(cached) " >&6
15294 else $as_nop
15295 ac_check_soname_save_LIBS=$LIBS
15296 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15298 /* end confdefs.h. */
15300 /* Override any GCC internal prototype to avoid an error.
15301 Use char because int might match the return type of a GCC
15302 builtin and then its argument prototype would still apply. */
15303 char XRRQueryExtension ();
15305 main (void)
15307 return XRRQueryExtension ();
15309 return 0;
15311 _ACEOF
15312 if ac_fn_c_try_link "$LINENO"
15313 then :
15314 case "$LIBEXT" in
15315 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15316 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'` ;;
15317 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15318 if ${ac_cv_lib_soname_Xrandr:+false} :
15319 then :
15320 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15321 fi ;;
15322 esac
15323 else $as_nop
15324 ac_cv_lib_soname_Xrandr=
15326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15327 conftest$ac_exeext conftest.$ac_ext
15328 LIBS=$ac_check_soname_save_LIBS
15330 if ${ac_cv_lib_soname_Xrandr:+false} :
15331 then :
15332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15333 printf "%s\n" "not found" >&6; }
15335 else $as_nop
15336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15337 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15339 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15342 /* end confdefs.h. */
15343 #include <X11/Xlib.h>
15344 #include <X11/extensions/Xrandr.h>
15346 main (void)
15348 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15350 return 0;
15352 _ACEOF
15353 if ac_fn_c_try_compile "$LINENO"
15354 then :
15356 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15358 else $as_nop
15359 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15364 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15366 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15367 then :
15368 case "x$with_xrandr" in
15369 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15370 xno) ;;
15371 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15372 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15373 esac
15377 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15378 then
15379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15380 /* end confdefs.h. */
15381 #include <X11/Xlib.h>
15382 #include <X11/extensions/Xfixes.h>
15384 main (void)
15386 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15388 return 0;
15390 _ACEOF
15391 if ac_fn_c_try_compile "$LINENO"
15392 then :
15393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15394 printf %s "checking for -lXfixes... " >&6; }
15395 if test ${ac_cv_lib_soname_Xfixes+y}
15396 then :
15397 printf %s "(cached) " >&6
15398 else $as_nop
15399 ac_check_soname_save_LIBS=$LIBS
15400 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h. */
15404 /* Override any GCC internal prototype to avoid an error.
15405 Use char because int might match the return type of a GCC
15406 builtin and then its argument prototype would still apply. */
15407 char XFixesQueryVersion ();
15409 main (void)
15411 return XFixesQueryVersion ();
15413 return 0;
15415 _ACEOF
15416 if ac_fn_c_try_link "$LINENO"
15417 then :
15418 case "$LIBEXT" in
15419 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15420 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'` ;;
15421 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15422 if ${ac_cv_lib_soname_Xfixes:+false} :
15423 then :
15424 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15425 fi ;;
15426 esac
15427 else $as_nop
15428 ac_cv_lib_soname_Xfixes=
15430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15431 conftest$ac_exeext conftest.$ac_ext
15432 LIBS=$ac_check_soname_save_LIBS
15434 if ${ac_cv_lib_soname_Xfixes:+false} :
15435 then :
15436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15437 printf "%s\n" "not found" >&6; }
15439 else $as_nop
15440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15441 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15443 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15450 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15451 then :
15452 case "x$with_xfixes" in
15453 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15454 xno) ;;
15455 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15456 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15457 esac
15461 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15462 then
15463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15464 /* end confdefs.h. */
15465 #include <X11/Xlib.h>
15466 #include <X11/extensions/Xinerama.h>
15468 main (void)
15470 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15472 return 0;
15474 _ACEOF
15475 if ac_fn_c_try_compile "$LINENO"
15476 then :
15477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15478 printf %s "checking for -lXinerama... " >&6; }
15479 if test ${ac_cv_lib_soname_Xinerama+y}
15480 then :
15481 printf %s "(cached) " >&6
15482 else $as_nop
15483 ac_check_soname_save_LIBS=$LIBS
15484 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15486 /* end confdefs.h. */
15488 /* Override any GCC internal prototype to avoid an error.
15489 Use char because int might match the return type of a GCC
15490 builtin and then its argument prototype would still apply. */
15491 char XineramaQueryScreens ();
15493 main (void)
15495 return XineramaQueryScreens ();
15497 return 0;
15499 _ACEOF
15500 if ac_fn_c_try_link "$LINENO"
15501 then :
15502 case "$LIBEXT" in
15503 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15504 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'` ;;
15505 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15506 if ${ac_cv_lib_soname_Xinerama:+false} :
15507 then :
15508 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15509 fi ;;
15510 esac
15511 else $as_nop
15512 ac_cv_lib_soname_Xinerama=
15514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15515 conftest$ac_exeext conftest.$ac_ext
15516 LIBS=$ac_check_soname_save_LIBS
15518 if ${ac_cv_lib_soname_Xinerama:+false} :
15519 then :
15520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15521 printf "%s\n" "not found" >&6; }
15523 else $as_nop
15524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15525 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15527 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15532 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15534 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15535 then :
15536 case "x$with_xinerama" in
15537 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15538 xno) ;;
15539 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15540 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15541 esac
15545 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15546 then
15547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15548 printf %s "checking for -lXcomposite... " >&6; }
15549 if test ${ac_cv_lib_soname_Xcomposite+y}
15550 then :
15551 printf %s "(cached) " >&6
15552 else $as_nop
15553 ac_check_soname_save_LIBS=$LIBS
15554 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15556 /* end confdefs.h. */
15558 /* Override any GCC internal prototype to avoid an error.
15559 Use char because int might match the return type of a GCC
15560 builtin and then its argument prototype would still apply. */
15561 char XCompositeRedirectWindow ();
15563 main (void)
15565 return XCompositeRedirectWindow ();
15567 return 0;
15569 _ACEOF
15570 if ac_fn_c_try_link "$LINENO"
15571 then :
15572 case "$LIBEXT" in
15573 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15574 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'` ;;
15575 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15576 if ${ac_cv_lib_soname_Xcomposite:+false} :
15577 then :
15578 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15579 fi ;;
15580 esac
15581 else $as_nop
15582 ac_cv_lib_soname_Xcomposite=
15584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15585 conftest$ac_exeext conftest.$ac_ext
15586 LIBS=$ac_check_soname_save_LIBS
15588 if ${ac_cv_lib_soname_Xcomposite:+false} :
15589 then :
15590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15591 printf "%s\n" "not found" >&6; }
15593 else $as_nop
15594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15595 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15597 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15602 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15603 then :
15604 case "x$with_xcomposite" in
15605 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15606 xno) ;;
15607 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15608 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15609 esac
15613 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15614 #include <X11/Xlib.h>
15615 #endif
15617 if test "x$ac_cv_member_XICCallback_callback" = xyes
15618 then :
15620 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15624 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15625 #include <X11/Xlib.h>
15626 #endif
15628 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15629 then :
15631 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15638 opengl_msg=""
15639 if test "x$with_opengl" != "xno"
15640 then
15641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15642 printf %s "checking for -lGL... " >&6; }
15643 if test ${ac_cv_lib_soname_GL+y}
15644 then :
15645 printf %s "(cached) " >&6
15646 else $as_nop
15647 ac_check_soname_save_LIBS=$LIBS
15648 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15650 /* end confdefs.h. */
15652 /* Override any GCC internal prototype to avoid an error.
15653 Use char because int might match the return type of a GCC
15654 builtin and then its argument prototype would still apply. */
15655 char glXCreateContext ();
15657 main (void)
15659 return glXCreateContext ();
15661 return 0;
15663 _ACEOF
15664 if ac_fn_c_try_link "$LINENO"
15665 then :
15666 case "$LIBEXT" in
15667 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15668 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'` ;;
15669 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15670 if ${ac_cv_lib_soname_GL:+false} :
15671 then :
15672 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15673 fi ;;
15674 esac
15675 else $as_nop
15676 ac_cv_lib_soname_GL=
15678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15679 conftest$ac_exeext conftest.$ac_ext
15680 LIBS=$ac_check_soname_save_LIBS
15682 if ${ac_cv_lib_soname_GL:+false} :
15683 then :
15684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15685 printf "%s\n" "not found" >&6; }
15686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15687 printf %s "checking for -lGL... " >&6; }
15688 if test ${ac_cv_lib_soname_GL+y}
15689 then :
15690 printf %s "(cached) " >&6
15691 else $as_nop
15692 ac_check_soname_save_LIBS=$LIBS
15693 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"
15694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15695 /* end confdefs.h. */
15697 /* Override any GCC internal prototype to avoid an error.
15698 Use char because int might match the return type of a GCC
15699 builtin and then its argument prototype would still apply. */
15700 char glXCreateContext ();
15702 main (void)
15704 return glXCreateContext ();
15706 return 0;
15708 _ACEOF
15709 if ac_fn_c_try_link "$LINENO"
15710 then :
15711 case "$LIBEXT" in
15712 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15713 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'` ;;
15714 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15715 if ${ac_cv_lib_soname_GL:+false} :
15716 then :
15717 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15718 fi ;;
15719 esac
15720 else $as_nop
15721 ac_cv_lib_soname_GL=
15723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15724 conftest$ac_exeext conftest.$ac_ext
15725 LIBS=$ac_check_soname_save_LIBS
15727 if ${ac_cv_lib_soname_GL:+false} :
15728 then :
15729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15730 printf "%s\n" "not found" >&6; }
15731 if test -f /usr/X11R6/lib/libGL.a
15732 then
15733 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15734 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15735 else
15736 opengl_msg="No OpenGL library found on this system."
15738 else $as_nop
15739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15740 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15742 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15744 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"
15746 else $as_nop
15747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15748 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15750 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15752 OPENGL_LIBS="-lGL"
15754 if test "x$with_osmesa" != "xno"
15755 then
15756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15757 printf %s "checking for -lOSMesa... " >&6; }
15758 if test ${ac_cv_lib_soname_OSMesa+y}
15759 then :
15760 printf %s "(cached) " >&6
15761 else $as_nop
15762 ac_check_soname_save_LIBS=$LIBS
15763 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15765 /* end confdefs.h. */
15767 /* Override any GCC internal prototype to avoid an error.
15768 Use char because int might match the return type of a GCC
15769 builtin and then its argument prototype would still apply. */
15770 char OSMesaGetProcAddress ();
15772 main (void)
15774 return OSMesaGetProcAddress ();
15776 return 0;
15778 _ACEOF
15779 if ac_fn_c_try_link "$LINENO"
15780 then :
15781 case "$LIBEXT" in
15782 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15783 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'` ;;
15784 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15785 if ${ac_cv_lib_soname_OSMesa:+false} :
15786 then :
15787 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15788 fi ;;
15789 esac
15790 else $as_nop
15791 ac_cv_lib_soname_OSMesa=
15793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15794 conftest$ac_exeext conftest.$ac_ext
15795 LIBS=$ac_check_soname_save_LIBS
15797 if ${ac_cv_lib_soname_OSMesa:+false} :
15798 then :
15799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15800 printf "%s\n" "not found" >&6; }
15802 else $as_nop
15803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15804 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15806 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15810 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15811 then :
15812 case "x$with_osmesa" in
15813 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15814 xno) ;;
15815 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15816 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15817 esac
15822 if test -n "$opengl_msg"
15823 then :
15824 case "x$with_opengl" in
15825 x) as_fn_append wine_warnings "|$opengl_msg
15826 OpenGL and Direct3D won't be supported." ;;
15827 xno) ;;
15828 *) as_fn_error $? "$opengl_msg
15829 OpenGL and Direct3D won't be supported.
15830 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15831 esac
15835 CPPFLAGS="$ac_save_CPPFLAGS"
15836 else
15837 X_CFLAGS=""
15838 X_LIBS=""
15841 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15842 then
15843 if test "x$X_LIBS" = "x"
15844 then :
15845 case "x$with_x" in
15846 xno) ;;
15847 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15848 without X support, which probably isn't what you want. You will need
15849 to install ${notice_platform}development packages of Xlib at the very least.
15850 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15851 esac
15852 enable_winex11_drv=${enable_winex11_drv:-no}
15854 else
15855 if test "x$X_LIBS" = "x"
15856 then :
15857 case "x$with_x" in
15858 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15859 xno) ;;
15860 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15861 This is an error since --with-x was requested." "$LINENO" 5 ;;
15862 esac
15863 enable_winex11_drv=${enable_winex11_drv:-no}
15867 if test "$ac_cv_header_CL_cl_h" = "yes"
15868 then
15869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15870 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15871 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15872 then :
15873 printf %s "(cached) " >&6
15874 else $as_nop
15875 ac_check_lib_save_LIBS=$LIBS
15876 LIBS="-lOpenCL $LIBS"
15877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15878 /* end confdefs.h. */
15880 /* Override any GCC internal prototype to avoid an error.
15881 Use char because int might match the return type of a GCC
15882 builtin and then its argument prototype would still apply. */
15883 char clGetPlatformInfo ();
15885 main (void)
15887 return clGetPlatformInfo ();
15889 return 0;
15891 _ACEOF
15892 if ac_fn_c_try_link "$LINENO"
15893 then :
15894 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15895 else $as_nop
15896 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15899 conftest$ac_exeext conftest.$ac_ext
15900 LIBS=$ac_check_lib_save_LIBS
15902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15903 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15904 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15905 then :
15906 OPENCL_LIBS="-lOpenCL"
15911 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15912 then :
15913 case "x$with_opencl" in
15914 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15915 xno) ;;
15916 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15917 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15918 esac
15919 enable_opencl=${enable_opencl:-no}
15922 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15923 then
15924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15925 printf %s "checking for pcap_create in -lpcap... " >&6; }
15926 if test ${ac_cv_lib_pcap_pcap_create+y}
15927 then :
15928 printf %s "(cached) " >&6
15929 else $as_nop
15930 ac_check_lib_save_LIBS=$LIBS
15931 LIBS="-lpcap $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 pcap_create ();
15940 main (void)
15942 return pcap_create ();
15944 return 0;
15946 _ACEOF
15947 if ac_fn_c_try_link "$LINENO"
15948 then :
15949 ac_cv_lib_pcap_pcap_create=yes
15950 else $as_nop
15951 ac_cv_lib_pcap_pcap_create=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_pcap_pcap_create" >&5
15958 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15959 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15960 then :
15961 PCAP_LIBS="-lpcap"
15966 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15967 then :
15968 case "x$with_pcap" in
15969 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15970 xno) ;;
15971 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15972 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15973 esac
15974 enable_wpcap=${enable_wpcap:-no}
15977 if test "x$with_inotify" != "xno"
15978 then
15979 if ${INOTIFY_CFLAGS:+false} :
15980 then :
15981 if test ${PKG_CONFIG+y}
15982 then :
15983 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15987 if ${INOTIFY_LIBS:+false} :
15988 then :
15989 if test ${PKG_CONFIG+y}
15990 then :
15991 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15998 ac_save_CPPFLAGS=$CPPFLAGS
15999 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16000 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16001 if test "x$ac_cv_header_sys_inotify_h" = xyes
16002 then :
16003 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16008 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16009 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16010 then :
16011 printf %s "(cached) " >&6
16012 else $as_nop
16013 ac_check_lib_save_LIBS=$LIBS
16014 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h. */
16018 /* Override any GCC internal prototype to avoid an error.
16019 Use char because int might match the return type of a GCC
16020 builtin and then its argument prototype would still apply. */
16021 char inotify_add_watch ();
16023 main (void)
16025 return inotify_add_watch ();
16027 return 0;
16029 _ACEOF
16030 if ac_fn_c_try_link "$LINENO"
16031 then :
16032 ac_cv_lib_inotify_inotify_add_watch=yes
16033 else $as_nop
16034 ac_cv_lib_inotify_inotify_add_watch=no
16036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16037 conftest$ac_exeext conftest.$ac_ext
16038 LIBS=$ac_check_lib_save_LIBS
16040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16041 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16042 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16043 then :
16045 else $as_nop
16046 INOTIFY_LIBS=""
16049 CPPFLAGS=$ac_save_CPPFLAGS
16052 if test "$ac_cv_header_sys_inotify_h" != "yes"
16053 then :
16054 case "x$with_inotify" in
16055 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16056 xno) ;;
16057 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16058 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16059 esac
16063 if test "x$with_dbus" != "xno"
16064 then
16065 if ${DBUS_CFLAGS:+false} :
16066 then :
16067 if test ${PKG_CONFIG+y}
16068 then :
16069 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
16073 if ${DBUS_LIBS:+false} :
16074 then :
16075 if test ${PKG_CONFIG+y}
16076 then :
16077 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16084 ac_save_CPPFLAGS=$CPPFLAGS
16085 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16086 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16087 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16088 then :
16089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16090 printf %s "checking for -ldbus-1... " >&6; }
16091 if test ${ac_cv_lib_soname_dbus_1+y}
16092 then :
16093 printf %s "(cached) " >&6
16094 else $as_nop
16095 ac_check_soname_save_LIBS=$LIBS
16096 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16098 /* end confdefs.h. */
16100 /* Override any GCC internal prototype to avoid an error.
16101 Use char because int might match the return type of a GCC
16102 builtin and then its argument prototype would still apply. */
16103 char dbus_connection_close ();
16105 main (void)
16107 return dbus_connection_close ();
16109 return 0;
16111 _ACEOF
16112 if ac_fn_c_try_link "$LINENO"
16113 then :
16114 case "$LIBEXT" in
16115 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16116 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'` ;;
16117 *) 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'`
16118 if ${ac_cv_lib_soname_dbus_1:+false} :
16119 then :
16120 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16121 fi ;;
16122 esac
16123 else $as_nop
16124 ac_cv_lib_soname_dbus_1=
16126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16127 conftest$ac_exeext conftest.$ac_ext
16128 LIBS=$ac_check_soname_save_LIBS
16130 if ${ac_cv_lib_soname_dbus_1:+false} :
16131 then :
16132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16133 printf "%s\n" "not found" >&6; }
16134 DBUS_CFLAGS=""
16135 else $as_nop
16136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16137 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16139 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16143 else $as_nop
16144 DBUS_CFLAGS=""
16147 CPPFLAGS=$ac_save_CPPFLAGS
16150 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16151 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16152 then :
16153 case "x$with_dbus" in
16154 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16155 xno) ;;
16156 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16157 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16158 esac
16162 if test "x$with_gnutls" != "xno"
16163 then
16164 if ${GNUTLS_CFLAGS:+false} :
16165 then :
16166 if test ${PKG_CONFIG+y}
16167 then :
16168 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16172 if ${GNUTLS_LIBS:+false} :
16173 then :
16174 if test ${PKG_CONFIG+y}
16175 then :
16176 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16180 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16183 ac_save_CPPFLAGS=$CPPFLAGS
16184 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16185 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16186 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16187 then :
16188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16189 /* end confdefs.h. */
16190 #include <gnutls/gnutls.h>
16191 #include <gnutls/crypto.h>
16193 main (void)
16195 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16197 return 0;
16199 _ACEOF
16200 if ac_fn_c_try_compile "$LINENO"
16201 then :
16202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16203 printf %s "checking for -lgnutls... " >&6; }
16204 if test ${ac_cv_lib_soname_gnutls+y}
16205 then :
16206 printf %s "(cached) " >&6
16207 else $as_nop
16208 ac_check_soname_save_LIBS=$LIBS
16209 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16211 /* end confdefs.h. */
16213 /* Override any GCC internal prototype to avoid an error.
16214 Use char because int might match the return type of a GCC
16215 builtin and then its argument prototype would still apply. */
16216 char gnutls_global_init ();
16218 main (void)
16220 return gnutls_global_init ();
16222 return 0;
16224 _ACEOF
16225 if ac_fn_c_try_link "$LINENO"
16226 then :
16227 case "$LIBEXT" in
16228 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16229 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'` ;;
16230 *) 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'`
16231 if ${ac_cv_lib_soname_gnutls:+false} :
16232 then :
16233 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'`
16234 fi ;;
16235 esac
16236 else $as_nop
16237 ac_cv_lib_soname_gnutls=
16239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16240 conftest$ac_exeext conftest.$ac_ext
16241 LIBS=$ac_check_soname_save_LIBS
16243 if ${ac_cv_lib_soname_gnutls:+false} :
16244 then :
16245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16246 printf "%s\n" "not found" >&6; }
16247 GNUTLS_CFLAGS=""
16248 else $as_nop
16249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16250 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16252 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16256 ac_wine_check_funcs_save_LIBS="$LIBS"
16257 LIBS="$LIBS $GNUTLS_LIBS"
16259 for ac_func in gnutls_cipher_init
16260 do :
16261 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16262 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16263 then :
16264 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16266 else $as_nop
16267 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16270 done
16271 LIBS="$ac_wine_check_funcs_save_LIBS"
16273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16274 else $as_nop
16275 GNUTLS_CFLAGS=""
16278 CPPFLAGS=$ac_save_CPPFLAGS
16281 if test "x$ac_cv_lib_soname_gnutls" = "x"
16282 then :
16283 case "x$with_gnutls" in
16284 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16285 xno) ;;
16286 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16287 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16288 esac
16292 if test "x$with_sane" != "xno"
16293 then
16294 if ${SANE_CFLAGS:+false} :
16295 then :
16296 if test ${PKG_CONFIG+y}
16297 then :
16298 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16301 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16302 if ${SANE_LIBS:+false} :
16303 then :
16304 if test ${PKG_CONFIG+y}
16305 then :
16306 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16309 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16313 ac_save_CPPFLAGS=$CPPFLAGS
16314 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16315 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16316 if test "x$ac_cv_header_sane_sane_h" = xyes
16317 then :
16318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16319 printf %s "checking for sane_init in -lsane... " >&6; }
16320 if test ${ac_cv_lib_sane_sane_init+y}
16321 then :
16322 printf %s "(cached) " >&6
16323 else $as_nop
16324 ac_check_lib_save_LIBS=$LIBS
16325 LIBS="-lsane $SANE_LIBS $LIBS"
16326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16327 /* end confdefs.h. */
16329 /* Override any GCC internal prototype to avoid an error.
16330 Use char because int might match the return type of a GCC
16331 builtin and then its argument prototype would still apply. */
16332 char sane_init ();
16334 main (void)
16336 return sane_init ();
16338 return 0;
16340 _ACEOF
16341 if ac_fn_c_try_link "$LINENO"
16342 then :
16343 ac_cv_lib_sane_sane_init=yes
16344 else $as_nop
16345 ac_cv_lib_sane_sane_init=no
16347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16348 conftest$ac_exeext conftest.$ac_ext
16349 LIBS=$ac_check_lib_save_LIBS
16351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16352 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16353 if test "x$ac_cv_lib_sane_sane_init" = xyes
16354 then :
16360 CPPFLAGS=$ac_save_CPPFLAGS
16363 if test "$ac_cv_lib_sane_sane_init" != "yes"
16364 then :
16365 case "x$with_sane" in
16366 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16367 xno) ;;
16368 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16369 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16370 esac
16371 enable_sane_ds=${enable_sane_ds:-no}
16374 if test "x$with_usb" != "xno"
16375 then
16376 if ${USB_CFLAGS:+false} :
16377 then :
16378 if test ${PKG_CONFIG+y}
16379 then :
16380 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16384 if ${USB_LIBS:+false} :
16385 then :
16386 if test ${PKG_CONFIG+y}
16387 then :
16388 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16392 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16394 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16395 ac_save_CPPFLAGS=$CPPFLAGS
16396 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16397 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16398 if test "x$ac_cv_header_libusb_h" = xyes
16399 then :
16400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16401 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16402 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16403 then :
16404 printf %s "(cached) " >&6
16405 else $as_nop
16406 ac_check_lib_save_LIBS=$LIBS
16407 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16409 /* end confdefs.h. */
16411 /* Override any GCC internal prototype to avoid an error.
16412 Use char because int might match the return type of a GCC
16413 builtin and then its argument prototype would still apply. */
16414 char libusb_interrupt_event_handler ();
16416 main (void)
16418 return libusb_interrupt_event_handler ();
16420 return 0;
16422 _ACEOF
16423 if ac_fn_c_try_link "$LINENO"
16424 then :
16425 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16426 else $as_nop
16427 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16430 conftest$ac_exeext conftest.$ac_ext
16431 LIBS=$ac_check_lib_save_LIBS
16433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16434 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16435 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16436 then :
16438 else $as_nop
16439 USB_LIBS=""
16442 else $as_nop
16443 USB_LIBS=""
16446 CPPFLAGS=$ac_save_CPPFLAGS
16449 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16450 then :
16451 case "x$with_usb" in
16452 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16453 xno) ;;
16454 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16455 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16456 esac
16457 enable_wineusb_sys=${enable_wineusb_sys:-no}
16460 if test "x$with_v4l2" != "xno"
16461 then
16462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16463 printf %s "checking for -lv4l2... " >&6; }
16464 if test ${ac_cv_lib_soname_v4l2+y}
16465 then :
16466 printf %s "(cached) " >&6
16467 else $as_nop
16468 ac_check_soname_save_LIBS=$LIBS
16469 LIBS="-lv4l2 $LIBS"
16470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16471 /* end confdefs.h. */
16473 /* Override any GCC internal prototype to avoid an error.
16474 Use char because int might match the return type of a GCC
16475 builtin and then its argument prototype would still apply. */
16476 char v4l2_open ();
16478 main (void)
16480 return v4l2_open ();
16482 return 0;
16484 _ACEOF
16485 if ac_fn_c_try_link "$LINENO"
16486 then :
16487 case "$LIBEXT" in
16488 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16489 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'` ;;
16490 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16491 if ${ac_cv_lib_soname_v4l2:+false} :
16492 then :
16493 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16494 fi ;;
16495 esac
16496 else $as_nop
16497 ac_cv_lib_soname_v4l2=
16499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16500 conftest$ac_exeext conftest.$ac_ext
16501 LIBS=$ac_check_soname_save_LIBS
16503 if ${ac_cv_lib_soname_v4l2:+false} :
16504 then :
16505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16506 printf "%s\n" "not found" >&6; }
16508 else $as_nop
16509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16510 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16512 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16517 if test "x$ac_cv_lib_soname_v4l2" = "x"
16518 then :
16519 case "x$with_v4l2" in
16520 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16521 xno) ;;
16522 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16523 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16524 esac
16528 if test "x$with_gphoto" != "xno"
16529 then
16530 if ${GPHOTO2_CFLAGS:+false} :
16531 then :
16532 if test ${PKG_CONFIG+y}
16533 then :
16534 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16537 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16538 if ${GPHOTO2_LIBS:+false} :
16539 then :
16540 if test ${PKG_CONFIG+y}
16541 then :
16542 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16545 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16546 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16549 ac_save_CPPFLAGS=$CPPFLAGS
16550 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16551 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16552 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16553 then :
16554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16555 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16556 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16557 then :
16558 printf %s "(cached) " >&6
16559 else $as_nop
16560 ac_check_lib_save_LIBS=$LIBS
16561 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16563 /* end confdefs.h. */
16565 /* Override any GCC internal prototype to avoid an error.
16566 Use char because int might match the return type of a GCC
16567 builtin and then its argument prototype would still apply. */
16568 char gp_camera_new ();
16570 main (void)
16572 return gp_camera_new ();
16574 return 0;
16576 _ACEOF
16577 if ac_fn_c_try_link "$LINENO"
16578 then :
16579 ac_cv_lib_gphoto2_gp_camera_new=yes
16580 else $as_nop
16581 ac_cv_lib_gphoto2_gp_camera_new=no
16583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16584 conftest$ac_exeext conftest.$ac_ext
16585 LIBS=$ac_check_lib_save_LIBS
16587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16588 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16589 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16590 then :
16596 CPPFLAGS=$ac_save_CPPFLAGS
16598 if ${GPHOTO2_PORT_CFLAGS:+false} :
16599 then :
16600 if test ${PKG_CONFIG+y}
16601 then :
16602 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16605 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16606 if ${GPHOTO2_PORT_LIBS:+false} :
16607 then :
16608 if test ${PKG_CONFIG+y}
16609 then :
16610 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16613 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16614 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16617 ac_save_CPPFLAGS=$CPPFLAGS
16618 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16619 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16620 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16621 then :
16622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16623 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16624 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16625 then :
16626 printf %s "(cached) " >&6
16627 else $as_nop
16628 ac_check_lib_save_LIBS=$LIBS
16629 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16631 /* end confdefs.h. */
16633 /* Override any GCC internal prototype to avoid an error.
16634 Use char because int might match the return type of a GCC
16635 builtin and then its argument prototype would still apply. */
16636 char gp_port_info_list_new ();
16638 main (void)
16640 return gp_port_info_list_new ();
16642 return 0;
16644 _ACEOF
16645 if ac_fn_c_try_link "$LINENO"
16646 then :
16647 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16648 else $as_nop
16649 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16652 conftest$ac_exeext conftest.$ac_ext
16653 LIBS=$ac_check_lib_save_LIBS
16655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16656 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16657 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16658 then :
16660 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16662 else $as_nop
16663 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16666 else $as_nop
16667 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16670 CPPFLAGS=$ac_save_CPPFLAGS
16673 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16674 then :
16675 case "x$with_gphoto" in
16676 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16677 xno) ;;
16678 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16679 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16680 esac
16681 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16683 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16684 then :
16685 case "x$with_gphoto" in
16686 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16687 xno) ;;
16688 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16689 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16690 esac
16695 if test "$ac_cv_header_resolv_h" = "yes"
16696 then
16697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16698 printf %s "checking for resolver library... " >&6; }
16699 if test ${ac_cv_have_resolv+y}
16700 then :
16701 printf %s "(cached) " >&6
16702 else $as_nop
16703 ac_save_LIBS="$LIBS"
16704 for lib in '' -lresolv
16706 LIBS="$lib $ac_save_LIBS"
16707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16708 /* end confdefs.h. */
16709 #ifdef HAVE_NETINET_IN_H
16710 #include <netinet/in.h>
16711 #endif
16712 #include <resolv.h>
16714 main (void)
16716 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16718 return 0;
16720 _ACEOF
16721 if ac_fn_c_try_link "$LINENO"
16722 then :
16723 ac_cv_have_resolv=${lib:-"none required"}
16724 else $as_nop
16725 ac_cv_have_resolv="not found"
16727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16728 conftest$ac_exeext conftest.$ac_ext
16729 test "x$ac_cv_have_resolv" = "xnot found" || break
16730 done
16731 LIBS="$ac_save_LIBS"
16733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16734 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16736 case "$ac_cv_have_resolv" in
16737 "not found") ;;
16738 "none required")
16740 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16743 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16745 RESOLV_LIBS=$ac_cv_have_resolv
16747 esac
16749 if test "x$ac_cv_have_resolv" != "xnot found"
16750 then
16751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16752 printf %s "checking for res_getservers... " >&6; }
16753 if test ${ac_cv_have_res_getservers+y}
16754 then :
16755 printf %s "(cached) " >&6
16756 else $as_nop
16757 ac_save_LIBS="$LIBS"
16758 LIBS="$RESOLV_LIBS $LIBS"
16759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16761 #include <resolv.h>
16763 main (void)
16765 res_getservers(NULL, NULL, 0);
16767 return 0;
16769 _ACEOF
16770 if ac_fn_c_try_link "$LINENO"
16771 then :
16772 ac_cv_have_res_getservers=yes
16773 else $as_nop
16774 ac_cv_have_res_getservers=no
16776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16777 conftest$ac_exeext conftest.$ac_ext
16778 LIBS="$ac_save_LIBS"
16780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16781 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16782 if test "$ac_cv_have_res_getservers" = "yes"
16783 then
16785 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16791 if test "x$with_freetype" != "xno"
16792 then
16793 if ${FREETYPE_CFLAGS:+false} :
16794 then :
16795 if test ${PKG_CONFIG+y}
16796 then :
16797 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16800 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16801 if ${FREETYPE_LIBS:+false} :
16802 then :
16803 if test ${PKG_CONFIG+y}
16804 then :
16805 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16808 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16809 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16812 ac_save_CPPFLAGS=$CPPFLAGS
16813 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16814 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16815 if test "x$ac_cv_header_ft2build_h" = xyes
16816 then :
16817 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16821 if test "$ac_cv_header_ft2build_h" = "yes"
16822 then
16823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16824 printf %s "checking for -lfreetype... " >&6; }
16825 if test ${ac_cv_lib_soname_freetype+y}
16826 then :
16827 printf %s "(cached) " >&6
16828 else $as_nop
16829 ac_check_soname_save_LIBS=$LIBS
16830 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16834 /* Override any GCC internal prototype to avoid an error.
16835 Use char because int might match the return type of a GCC
16836 builtin and then its argument prototype would still apply. */
16837 char FT_Init_FreeType ();
16839 main (void)
16841 return FT_Init_FreeType ();
16843 return 0;
16845 _ACEOF
16846 if ac_fn_c_try_link "$LINENO"
16847 then :
16848 case "$LIBEXT" in
16849 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16850 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'` ;;
16851 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16852 if ${ac_cv_lib_soname_freetype:+false} :
16853 then :
16854 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16855 fi ;;
16856 esac
16857 else $as_nop
16858 ac_cv_lib_soname_freetype=
16860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16861 conftest$ac_exeext conftest.$ac_ext
16862 LIBS=$ac_check_soname_save_LIBS
16864 if ${ac_cv_lib_soname_freetype:+false} :
16865 then :
16866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16867 printf "%s\n" "not found" >&6; }
16868 FREETYPE_LIBS=""
16869 else $as_nop
16870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16871 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16873 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16876 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16878 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16879 #include FT_MODULE_H
16881 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16882 then :
16884 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16890 else
16891 FREETYPE_CFLAGS=""
16892 FREETYPE_LIBS=""
16894 CPPFLAGS=$ac_save_CPPFLAGS
16897 if test "x$ac_cv_lib_soname_freetype" = x
16898 then :
16899 case "x$with_freetype" in
16900 xno) ;;
16901 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16902 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16903 esac
16904 enable_fonts=${enable_fonts:-no}
16907 ac_wine_check_funcs_save_LIBS="$LIBS"
16908 LIBS="$LIBS $PTHREAD_LIBS"
16909 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16910 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16911 then :
16912 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16916 LIBS="$ac_wine_check_funcs_save_LIBS"
16918 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16919 then
16920 if test "$ac_cv_header_gettext_po_h" = "yes"
16921 then
16922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16923 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16924 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16925 then :
16926 printf %s "(cached) " >&6
16927 else $as_nop
16928 ac_check_lib_save_LIBS=$LIBS
16929 LIBS="-lgettextpo $LIBS"
16930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16931 /* end confdefs.h. */
16933 /* Override any GCC internal prototype to avoid an error.
16934 Use char because int might match the return type of a GCC
16935 builtin and then its argument prototype would still apply. */
16936 char po_message_msgctxt ();
16938 main (void)
16940 return po_message_msgctxt ();
16942 return 0;
16944 _ACEOF
16945 if ac_fn_c_try_link "$LINENO"
16946 then :
16947 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16948 else $as_nop
16949 ac_cv_lib_gettextpo_po_message_msgctxt=no
16951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16952 conftest$ac_exeext conftest.$ac_ext
16953 LIBS=$ac_check_lib_save_LIBS
16955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16956 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16957 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16958 then :
16960 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16962 GETTEXTPO_LIBS="-lgettextpo"
16967 if test "x$GETTEXTPO_LIBS" = "x"
16968 then :
16969 case "x$with_gettextpo" in
16970 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16971 xno) ;;
16972 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16973 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16974 esac
16977 if test "$srcdir" != .
16978 then :
16979 case "x$with_gettextpo" in
16980 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16981 xno) ;;
16982 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16983 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16984 esac
16989 if test "x$with_pulse" != "xno";
16990 then
16991 if ${PULSE_CFLAGS:+false} :
16992 then :
16993 if test ${PKG_CONFIG+y}
16994 then :
16995 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16999 if ${PULSE_LIBS:+false} :
17000 then :
17001 if test ${PKG_CONFIG+y}
17002 then :
17003 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17010 ac_save_CPPFLAGS=$CPPFLAGS
17011 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17012 for ac_header in pulse/pulseaudio.h
17013 do :
17014 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17015 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17016 then :
17017 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17019 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17020 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17021 then :
17022 printf %s "(cached) " >&6
17023 else $as_nop
17024 ac_check_lib_save_LIBS=$LIBS
17025 LIBS="-lpulse $PULSE_LIBS $LIBS"
17026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17029 /* Override any GCC internal prototype to avoid an error.
17030 Use char because int might match the return type of a GCC
17031 builtin and then its argument prototype would still apply. */
17032 char pa_stream_is_corked ();
17034 main (void)
17036 return pa_stream_is_corked ();
17038 return 0;
17040 _ACEOF
17041 if ac_fn_c_try_link "$LINENO"
17042 then :
17043 ac_cv_lib_pulse_pa_stream_is_corked=yes
17044 else $as_nop
17045 ac_cv_lib_pulse_pa_stream_is_corked=no
17047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17048 conftest$ac_exeext conftest.$ac_ext
17049 LIBS=$ac_check_lib_save_LIBS
17051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17052 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17053 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17054 then :
17056 else $as_nop
17057 PULSE_LIBS=""
17060 else $as_nop
17061 PULSE_LIBS=""
17064 done
17065 CPPFLAGS=$ac_save_CPPFLAGS
17068 if test -z "$PULSE_LIBS"
17069 then :
17070 case "x$with_pulse" in
17071 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17072 xno) ;;
17073 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17074 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17075 esac
17076 enable_winepulse_drv=${enable_winepulse_drv:-no}
17079 if test "x$with_gstreamer" != "xno"
17080 then
17081 if ${GSTREAMER_CFLAGS:+false} :
17082 then :
17083 if test ${PKG_CONFIG+y}
17084 then :
17085 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17089 if ${GSTREAMER_LIBS:+false} :
17090 then :
17091 if test ${PKG_CONFIG+y}
17092 then :
17093 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17100 ac_save_CPPFLAGS=$CPPFLAGS
17101 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17102 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17103 if test "x$ac_cv_header_gst_gst_h" = xyes
17104 then :
17105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17106 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17109 #include <gst/gst.h>
17111 main (void)
17113 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17115 return 0;
17117 _ACEOF
17118 if ac_fn_c_try_compile "$LINENO"
17119 then :
17120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17121 printf "%s\n" "yes" >&6; }
17122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17123 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17124 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17125 then :
17126 printf %s "(cached) " >&6
17127 else $as_nop
17128 ac_check_lib_save_LIBS=$LIBS
17129 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17133 /* Override any GCC internal prototype to avoid an error.
17134 Use char because int might match the return type of a GCC
17135 builtin and then its argument prototype would still apply. */
17136 char gst_pad_new ();
17138 main (void)
17140 return gst_pad_new ();
17142 return 0;
17144 _ACEOF
17145 if ac_fn_c_try_link "$LINENO"
17146 then :
17147 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17148 else $as_nop
17149 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17152 conftest$ac_exeext conftest.$ac_ext
17153 LIBS=$ac_check_lib_save_LIBS
17155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17156 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17157 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17158 then :
17162 else $as_nop
17163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17164 printf "%s\n" "no" >&6; }
17165 ac_glib2_broken=yes
17166 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17171 CPPFLAGS=$ac_save_CPPFLAGS
17174 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17175 then :
17176 case "x$with_gstreamer" in
17177 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17178 xno) ;;
17179 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17180 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17181 esac
17182 enable_winegstreamer=${enable_winegstreamer:-no}
17185 ALSA_LIBS=""
17187 if test "x$with_alsa" != "xno"
17188 then
17189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17190 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17191 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17192 then :
17193 printf %s "(cached) " >&6
17194 else $as_nop
17195 ac_check_lib_save_LIBS=$LIBS
17196 LIBS="-lasound $LIBS"
17197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17198 /* end confdefs.h. */
17200 /* Override any GCC internal prototype to avoid an error.
17201 Use char because int might match the return type of a GCC
17202 builtin and then its argument prototype would still apply. */
17203 char snd_pcm_hw_params_get_access_mask ();
17205 main (void)
17207 return snd_pcm_hw_params_get_access_mask ();
17209 return 0;
17211 _ACEOF
17212 if ac_fn_c_try_link "$LINENO"
17213 then :
17214 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17215 else $as_nop
17216 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17219 conftest$ac_exeext conftest.$ac_ext
17220 LIBS=$ac_check_lib_save_LIBS
17222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17223 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17224 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17225 then :
17226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17227 /* end confdefs.h. */
17228 #include <alsa/asoundlib.h>
17230 main (void)
17232 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17234 return 0;
17236 _ACEOF
17237 if ac_fn_c_try_compile "$LINENO"
17238 then :
17239 ALSA_LIBS="-lasound"
17241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17245 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17247 if test "x$with_oss" != xno
17248 then
17249 ac_save_CPPFLAGS="$CPPFLAGS"
17250 if test -f /etc/oss.conf
17251 then
17252 . /etc/oss.conf
17254 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17255 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17256 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17257 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17258 then :
17259 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17261 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17262 then :
17264 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17266 OSS4_CFLAGS="$ac_oss_incl"
17268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17269 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17270 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17271 then :
17272 printf %s "(cached) " >&6
17273 else $as_nop
17274 ac_check_lib_save_LIBS=$LIBS
17275 LIBS="-lossaudio $LIBS"
17276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17277 /* end confdefs.h. */
17279 /* Override any GCC internal prototype to avoid an error.
17280 Use char because int might match the return type of a GCC
17281 builtin and then its argument prototype would still apply. */
17282 char _oss_ioctl ();
17284 main (void)
17286 return _oss_ioctl ();
17288 return 0;
17290 _ACEOF
17291 if ac_fn_c_try_link "$LINENO"
17292 then :
17293 ac_cv_lib_ossaudio__oss_ioctl=yes
17294 else $as_nop
17295 ac_cv_lib_ossaudio__oss_ioctl=no
17297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17298 conftest$ac_exeext conftest.$ac_ext
17299 LIBS=$ac_check_lib_save_LIBS
17301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17302 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17303 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17304 then :
17305 OSS4_LIBS="-lossaudio"
17313 CPPFLAGS="$ac_save_CPPFLAGS"
17315 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17316 then :
17317 case "x$with_oss" in
17318 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17319 xno) ;;
17320 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17321 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17322 esac
17323 enable_wineoss_drv=${enable_wineoss_drv:-no}
17326 if test "x$with_udev" != "xno"
17327 then
17328 if ${UDEV_CFLAGS:+false} :
17329 then :
17330 if test ${PKG_CONFIG+y}
17331 then :
17332 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17336 if ${UDEV_LIBS:+false} :
17337 then :
17338 if test ${PKG_CONFIG+y}
17339 then :
17340 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17344 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17347 ac_save_CPPFLAGS=$CPPFLAGS
17348 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17349 for ac_header in libudev.h
17350 do :
17351 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17352 if test "x$ac_cv_header_libudev_h" = xyes
17353 then :
17354 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17356 printf %s "checking for udev_new in -ludev... " >&6; }
17357 if test ${ac_cv_lib_udev_udev_new+y}
17358 then :
17359 printf %s "(cached) " >&6
17360 else $as_nop
17361 ac_check_lib_save_LIBS=$LIBS
17362 LIBS="-ludev $UDEV_LIBS $LIBS"
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17366 /* Override any GCC internal prototype to avoid an error.
17367 Use char because int might match the return type of a GCC
17368 builtin and then its argument prototype would still apply. */
17369 char udev_new ();
17371 main (void)
17373 return udev_new ();
17375 return 0;
17377 _ACEOF
17378 if ac_fn_c_try_link "$LINENO"
17379 then :
17380 ac_cv_lib_udev_udev_new=yes
17381 else $as_nop
17382 ac_cv_lib_udev_udev_new=no
17384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17385 conftest$ac_exeext conftest.$ac_ext
17386 LIBS=$ac_check_lib_save_LIBS
17388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17389 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17390 if test "x$ac_cv_lib_udev_udev_new" = xyes
17391 then :
17393 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17395 else $as_nop
17396 UDEV_LIBS=""
17399 else $as_nop
17400 UDEV_LIBS=""
17403 done
17404 CPPFLAGS=$ac_save_CPPFLAGS
17407 if test "x$UDEV_LIBS" = "x"
17408 then :
17409 case "x$with_udev" in
17410 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17411 xno) ;;
17412 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17413 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17414 esac
17418 if test "x$with_unwind" != xno
17419 then
17420 if ${UNWIND_CFLAGS:+false} :
17421 then :
17422 if test ${PKG_CONFIG+y}
17423 then :
17424 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17428 if ${UNWIND_LIBS:+false} :
17429 then :
17430 if test ${PKG_CONFIG+y}
17431 then :
17432 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17436 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17439 ac_save_CPPFLAGS=$CPPFLAGS
17440 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17442 printf %s "checking for unw_step... " >&6; }
17443 if test ${wine_cv_have_unw_step+y}
17444 then :
17445 printf %s "(cached) " >&6
17446 else $as_nop
17447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17448 /* end confdefs.h. */
17449 #define UNW_LOCAL_ONLY
17450 #include <libunwind.h>
17452 main (void)
17454 unw_cursor_t cursor; unw_step( &cursor );
17456 return 0;
17458 _ACEOF
17459 if ac_fn_c_try_link "$LINENO"
17460 then :
17461 wine_cv_have_unw_step="yes"
17462 else $as_nop
17463 wine_cv_have_unw_step="no"
17465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17466 conftest$ac_exeext conftest.$ac_ext
17468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17469 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17470 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17471 then
17472 save_libs=$LIBS
17473 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17474 LIBS="$UNWIND_LIBS $LIBS"
17475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17476 printf %s "checking for unw_step in libunwind... " >&6; }
17477 if test ${wine_cv_have_libunwind_unw_step+y}
17478 then :
17479 printf %s "(cached) " >&6
17480 else $as_nop
17481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17482 /* end confdefs.h. */
17483 #define UNW_LOCAL_ONLY
17484 #include <libunwind.h>
17486 main (void)
17488 unw_cursor_t cursor; unw_step( &cursor );
17490 return 0;
17492 _ACEOF
17493 if ac_fn_c_try_link "$LINENO"
17494 then :
17495 wine_cv_have_libunwind_unw_step="yes"
17496 else $as_nop
17497 wine_cv_have_libunwind_unw_step="no"
17499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17500 conftest$ac_exeext conftest.$ac_ext
17502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17503 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17504 LIBS=$save_libs
17506 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17507 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17508 then
17510 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17513 CPPFLAGS=$ac_save_CPPFLAGS
17516 case $host in
17517 aarch64*|*-darwin*)
17518 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17519 then :
17520 case "x$with_unwind" in
17521 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17522 xno) ;;
17523 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17524 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17525 esac
17527 fi ;;
17528 esac
17530 if test "x$with_sdl" != "xno"
17531 then
17532 if ${SDL2_CFLAGS:+false} :
17533 then :
17534 if test ${PKG_CONFIG+y}
17535 then :
17536 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17540 if ${SDL2_LIBS:+false} :
17541 then :
17542 if test ${PKG_CONFIG+y}
17543 then :
17544 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17548 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17551 ac_save_CPPFLAGS=$CPPFLAGS
17552 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17553 for ac_header in SDL.h
17554 do :
17555 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17556 if test "x$ac_cv_header_SDL_h" = xyes
17557 then :
17558 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17560 printf %s "checking for -lSDL2... " >&6; }
17561 if test ${ac_cv_lib_soname_SDL2+y}
17562 then :
17563 printf %s "(cached) " >&6
17564 else $as_nop
17565 ac_check_soname_save_LIBS=$LIBS
17566 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h. */
17570 /* Override any GCC internal prototype to avoid an error.
17571 Use char because int might match the return type of a GCC
17572 builtin and then its argument prototype would still apply. */
17573 char SDL_Init ();
17575 main (void)
17577 return SDL_Init ();
17579 return 0;
17581 _ACEOF
17582 if ac_fn_c_try_link "$LINENO"
17583 then :
17584 case "$LIBEXT" in
17585 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17586 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'` ;;
17587 *) 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'`
17588 if ${ac_cv_lib_soname_SDL2:+false} :
17589 then :
17590 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17591 fi ;;
17592 esac
17593 else $as_nop
17594 ac_cv_lib_soname_SDL2=
17596 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17597 conftest$ac_exeext conftest.$ac_ext
17598 LIBS=$ac_check_soname_save_LIBS
17600 if ${ac_cv_lib_soname_SDL2:+false} :
17601 then :
17602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17603 printf "%s\n" "not found" >&6; }
17605 else $as_nop
17606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17607 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17609 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17615 done
17616 CPPFLAGS=$ac_save_CPPFLAGS
17619 if test "x$ac_cv_lib_soname_SDL2" = "x"
17620 then :
17621 case "x$with_sdl" in
17622 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17623 xno) ;;
17624 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17625 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17626 esac
17630 if test "x$with_capi" != "xno"
17631 then
17632 if ${CAPI20_CFLAGS:+false} :
17633 then :
17634 if test ${PKG_CONFIG+y}
17635 then :
17636 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17640 if ${CAPI20_LIBS:+false} :
17641 then :
17642 if test ${PKG_CONFIG+y}
17643 then :
17644 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17651 ac_save_CPPFLAGS=$CPPFLAGS
17652 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17653 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17655 if test "x$ac_cv_header_capi20_h" = xyes
17656 then :
17657 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17660 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17662 if test "x$ac_cv_header_linux_capi_h" = xyes
17663 then :
17664 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17668 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17669 then
17670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17671 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17672 if test ${ac_cv_lib_capi20_capi20_register+y}
17673 then :
17674 printf %s "(cached) " >&6
17675 else $as_nop
17676 ac_check_lib_save_LIBS=$LIBS
17677 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17679 /* end confdefs.h. */
17681 /* Override any GCC internal prototype to avoid an error.
17682 Use char because int might match the return type of a GCC
17683 builtin and then its argument prototype would still apply. */
17684 char capi20_register ();
17686 main (void)
17688 return capi20_register ();
17690 return 0;
17692 _ACEOF
17693 if ac_fn_c_try_link "$LINENO"
17694 then :
17695 ac_cv_lib_capi20_capi20_register=yes
17696 else $as_nop
17697 ac_cv_lib_capi20_capi20_register=no
17699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17700 conftest$ac_exeext conftest.$ac_ext
17701 LIBS=$ac_check_lib_save_LIBS
17703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17704 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17705 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17706 then :
17708 else $as_nop
17709 CAPI20_LIBS=""
17713 CPPFLAGS=$ac_save_CPPFLAGS
17716 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17717 then :
17718 case "x$with_capi" in
17719 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17720 xno) ;;
17721 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17722 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17723 esac
17724 enable_capi2032=${enable_capi2032:-no}
17727 if test "x$with_cups" != "xno"
17728 then
17729 if ${CUPS_CFLAGS:+false} :
17730 then :
17731 if test ${PKG_CONFIG+y}
17732 then :
17733 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17736 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17737 if ${CUPS_LIBS:+false} :
17738 then :
17739 if test ${PKG_CONFIG+y}
17740 then :
17741 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17744 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17745 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17746 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17748 ac_save_CPPFLAGS=$CPPFLAGS
17749 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17750 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17751 if test "x$ac_cv_header_cups_cups_h" = xyes
17752 then :
17753 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17756 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17757 if test "x$ac_cv_header_cups_ppd_h" = xyes
17758 then :
17759 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17763 if test "$ac_cv_header_cups_cups_h" = "yes"
17764 then
17765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17766 printf %s "checking for -lcups... " >&6; }
17767 if test ${ac_cv_lib_soname_cups+y}
17768 then :
17769 printf %s "(cached) " >&6
17770 else $as_nop
17771 ac_check_soname_save_LIBS=$LIBS
17772 LIBS="-lcups $CUPS_LIBS $LIBS"
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17776 /* Override any GCC internal prototype to avoid an error.
17777 Use char because int might match the return type of a GCC
17778 builtin and then its argument prototype would still apply. */
17779 char cupsGetDefault ();
17781 main (void)
17783 return cupsGetDefault ();
17785 return 0;
17787 _ACEOF
17788 if ac_fn_c_try_link "$LINENO"
17789 then :
17790 case "$LIBEXT" in
17791 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17792 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'` ;;
17793 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17794 if ${ac_cv_lib_soname_cups:+false} :
17795 then :
17796 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17797 fi ;;
17798 esac
17799 else $as_nop
17800 ac_cv_lib_soname_cups=
17802 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17803 conftest$ac_exeext conftest.$ac_ext
17804 LIBS=$ac_check_soname_save_LIBS
17806 if ${ac_cv_lib_soname_cups:+false} :
17807 then :
17808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17809 printf "%s\n" "not found" >&6; }
17810 CUPS_LIBS=""
17811 else $as_nop
17812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17813 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17815 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17819 else
17820 CUPS_CFLAGS=""
17821 CUPS_LIBS=""
17823 CPPFLAGS=$ac_save_CPPFLAGS
17826 if test "x$ac_cv_lib_soname_cups" = "x"
17827 then :
17828 case "x$with_cups" in
17829 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17830 xno) ;;
17831 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17832 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17833 esac
17837 if test "x$with_fontconfig" != "xno"
17838 then
17839 if ${FONTCONFIG_CFLAGS:+false} :
17840 then :
17841 if test ${PKG_CONFIG+y}
17842 then :
17843 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17846 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17847 if ${FONTCONFIG_LIBS:+false} :
17848 then :
17849 if test ${PKG_CONFIG+y}
17850 then :
17851 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17854 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17857 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17858 ac_save_CPPFLAGS=$CPPFLAGS
17859 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17860 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17861 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17862 then :
17863 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17867 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17868 then
17869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17870 printf %s "checking for -lfontconfig... " >&6; }
17871 if test ${ac_cv_lib_soname_fontconfig+y}
17872 then :
17873 printf %s "(cached) " >&6
17874 else $as_nop
17875 ac_check_soname_save_LIBS=$LIBS
17876 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h. */
17880 /* Override any GCC internal prototype to avoid an error.
17881 Use char because int might match the return type of a GCC
17882 builtin and then its argument prototype would still apply. */
17883 char FcInit ();
17885 main (void)
17887 return FcInit ();
17889 return 0;
17891 _ACEOF
17892 if ac_fn_c_try_link "$LINENO"
17893 then :
17894 case "$LIBEXT" in
17895 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17896 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'` ;;
17897 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17898 if ${ac_cv_lib_soname_fontconfig:+false} :
17899 then :
17900 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17901 fi ;;
17902 esac
17903 else $as_nop
17904 ac_cv_lib_soname_fontconfig=
17906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17907 conftest$ac_exeext conftest.$ac_ext
17908 LIBS=$ac_check_soname_save_LIBS
17910 if ${ac_cv_lib_soname_fontconfig:+false} :
17911 then :
17912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17913 printf "%s\n" "not found" >&6; }
17914 FONTCONFIG_CFLAGS=""
17915 else $as_nop
17916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17917 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17919 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17923 else
17924 FONTCONFIG_CFLAGS=""
17926 CPPFLAGS=$ac_save_CPPFLAGS
17929 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17930 then :
17931 case "x$with_fontconfig" in
17932 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17933 xno) ;;
17934 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17935 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17936 esac
17940 if test "x$with_krb5" != "xno"
17941 then
17942 if ${KRB5_CFLAGS:+false} :
17943 then :
17944 if test ${PKG_CONFIG+y}
17945 then :
17946 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17949 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17950 if ${KRB5_LIBS:+false} :
17951 then :
17952 if test ${PKG_CONFIG+y}
17953 then :
17954 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17957 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17961 ac_save_CPPFLAGS=$CPPFLAGS
17962 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17963 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17964 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17965 then :
17966 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17970 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17971 then
17972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17973 printf %s "checking for -lkrb5... " >&6; }
17974 if test ${ac_cv_lib_soname_krb5+y}
17975 then :
17976 printf %s "(cached) " >&6
17977 else $as_nop
17978 ac_check_soname_save_LIBS=$LIBS
17979 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17981 /* end confdefs.h. */
17983 /* Override any GCC internal prototype to avoid an error.
17984 Use char because int might match the return type of a GCC
17985 builtin and then its argument prototype would still apply. */
17986 char krb5_is_config_principal ();
17988 main (void)
17990 return krb5_is_config_principal ();
17992 return 0;
17994 _ACEOF
17995 if ac_fn_c_try_link "$LINENO"
17996 then :
17997 case "$LIBEXT" in
17998 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17999 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'` ;;
18000 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18001 if ${ac_cv_lib_soname_krb5:+false} :
18002 then :
18003 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18004 fi ;;
18005 esac
18006 else $as_nop
18007 ac_cv_lib_soname_krb5=
18009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18010 conftest$ac_exeext conftest.$ac_ext
18011 LIBS=$ac_check_soname_save_LIBS
18013 if ${ac_cv_lib_soname_krb5:+false} :
18014 then :
18015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18016 printf "%s\n" "not found" >&6; }
18017 KRB5_CFLAGS=""
18018 else $as_nop
18019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18020 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18022 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18026 else
18027 KRB5_CFLAGS=""
18029 CPPFLAGS=$ac_save_CPPFLAGS
18032 if test "x$ac_cv_lib_soname_krb5" = "x"
18033 then :
18034 case "x$with_krb5" in
18035 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18036 xno) ;;
18037 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18038 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18039 esac
18042 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18044 if test "x$with_gssapi" != "xno"
18045 then
18046 if ${GSSAPI_CFLAGS:+false} :
18047 then :
18048 if test ${PKG_CONFIG+y}
18049 then :
18050 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
18053 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18054 if ${GSSAPI_LIBS:+false} :
18055 then :
18056 if test ${PKG_CONFIG+y}
18057 then :
18058 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18061 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18065 ac_save_CPPFLAGS=$CPPFLAGS
18066 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18067 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18068 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18069 then :
18070 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18073 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18074 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18075 then :
18076 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18080 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18081 then
18082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18083 printf %s "checking for -lgssapi_krb5... " >&6; }
18084 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18085 then :
18086 printf %s "(cached) " >&6
18087 else $as_nop
18088 ac_check_soname_save_LIBS=$LIBS
18089 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h. */
18093 /* Override any GCC internal prototype to avoid an error.
18094 Use char because int might match the return type of a GCC
18095 builtin and then its argument prototype would still apply. */
18096 char gss_init_sec_context ();
18098 main (void)
18100 return gss_init_sec_context ();
18102 return 0;
18104 _ACEOF
18105 if ac_fn_c_try_link "$LINENO"
18106 then :
18107 case "$LIBEXT" in
18108 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18109 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'` ;;
18110 *) 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'`
18111 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18112 then :
18113 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18114 fi ;;
18115 esac
18116 else $as_nop
18117 ac_cv_lib_soname_gssapi_krb5=
18119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18120 conftest$ac_exeext conftest.$ac_ext
18121 LIBS=$ac_check_soname_save_LIBS
18123 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18124 then :
18125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18126 printf "%s\n" "not found" >&6; }
18127 GSSAPI_CFLAGS=""
18128 else $as_nop
18129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18130 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18132 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18136 else
18137 GSSAPI_CFLAGS=""
18139 CPPFLAGS=$ac_save_CPPFLAGS
18142 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18143 then :
18144 case "x$with_gssapi" in
18145 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18146 xno) ;;
18147 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18148 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18149 esac
18153 if test "$ac_cv_header_libprocstat_h" = "yes"
18154 then
18155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18156 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18157 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18158 then :
18159 printf %s "(cached) " >&6
18160 else $as_nop
18161 ac_check_lib_save_LIBS=$LIBS
18162 LIBS="-lprocstat $LIBS"
18163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18164 /* end confdefs.h. */
18166 /* Override any GCC internal prototype to avoid an error.
18167 Use char because int might match the return type of a GCC
18168 builtin and then its argument prototype would still apply. */
18169 char procstat_open_sysctl ();
18171 main (void)
18173 return procstat_open_sysctl ();
18175 return 0;
18177 _ACEOF
18178 if ac_fn_c_try_link "$LINENO"
18179 then :
18180 ac_cv_lib_procstat_procstat_open_sysctl=yes
18181 else $as_nop
18182 ac_cv_lib_procstat_procstat_open_sysctl=no
18184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18185 conftest$ac_exeext conftest.$ac_ext
18186 LIBS=$ac_check_lib_save_LIBS
18188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18189 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18190 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18191 then :
18193 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18195 PROCSTAT_LIBS="-lprocstat"
18201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18202 printf %s "checking for -lodbc... " >&6; }
18203 if test ${ac_cv_lib_soname_odbc+y}
18204 then :
18205 printf %s "(cached) " >&6
18206 else $as_nop
18207 ac_check_soname_save_LIBS=$LIBS
18208 LIBS="-lodbc $LIBS"
18209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18210 /* end confdefs.h. */
18212 /* Override any GCC internal prototype to avoid an error.
18213 Use char because int might match the return type of a GCC
18214 builtin and then its argument prototype would still apply. */
18215 char SQLConnect ();
18217 main (void)
18219 return SQLConnect ();
18221 return 0;
18223 _ACEOF
18224 if ac_fn_c_try_link "$LINENO"
18225 then :
18226 case "$LIBEXT" in
18227 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18228 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'` ;;
18229 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18230 if ${ac_cv_lib_soname_odbc:+false} :
18231 then :
18232 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18233 fi ;;
18234 esac
18235 else $as_nop
18236 ac_cv_lib_soname_odbc=
18238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18239 conftest$ac_exeext conftest.$ac_ext
18240 LIBS=$ac_check_soname_save_LIBS
18242 if ${ac_cv_lib_soname_odbc:+false} :
18243 then :
18244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18245 printf "%s\n" "not found" >&6; }
18246 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18248 else $as_nop
18249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18250 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18252 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18257 if test "x$with_netapi" != "xno"
18258 then
18259 if ${NETAPI_CFLAGS:+false} :
18260 then :
18261 if test ${PKG_CONFIG+y}
18262 then :
18263 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18267 if ${NETAPI_LIBS:+false} :
18268 then :
18269 if test ${PKG_CONFIG+y}
18270 then :
18271 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18278 ac_save_CPPFLAGS=$CPPFLAGS
18279 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18281 printf %s "checking for -lnetapi... " >&6; }
18282 if test ${ac_cv_lib_soname_netapi+y}
18283 then :
18284 printf %s "(cached) " >&6
18285 else $as_nop
18286 ac_check_soname_save_LIBS=$LIBS
18287 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18289 /* end confdefs.h. */
18291 /* Override any GCC internal prototype to avoid an error.
18292 Use char because int might match the return type of a GCC
18293 builtin and then its argument prototype would still apply. */
18294 char libnetapi_init ();
18296 main (void)
18298 return libnetapi_init ();
18300 return 0;
18302 _ACEOF
18303 if ac_fn_c_try_link "$LINENO"
18304 then :
18305 case "$LIBEXT" in
18306 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18307 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'` ;;
18308 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18309 if ${ac_cv_lib_soname_netapi:+false} :
18310 then :
18311 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18312 fi ;;
18313 esac
18314 else $as_nop
18315 ac_cv_lib_soname_netapi=
18317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18318 conftest$ac_exeext conftest.$ac_ext
18319 LIBS=$ac_check_soname_save_LIBS
18321 if ${ac_cv_lib_soname_netapi:+false} :
18322 then :
18323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18324 printf "%s\n" "not found" >&6; }
18325 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18327 else $as_nop
18328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18329 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18331 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18335 CPPFLAGS=$ac_save_CPPFLAGS
18338 if test "x$ac_cv_lib_soname_netapi" = "x"
18339 then :
18340 case "x$with_netapi" in
18341 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18342 xno) ;;
18343 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18344 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18345 esac
18346 enable_netapi=${enable_netapi:-no}
18350 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18351 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18352 then
18353 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18356 if test "x$with_vulkan" != "xno"
18357 then
18358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18359 printf %s "checking for -lvulkan... " >&6; }
18360 if test ${ac_cv_lib_soname_vulkan+y}
18361 then :
18362 printf %s "(cached) " >&6
18363 else $as_nop
18364 ac_check_soname_save_LIBS=$LIBS
18365 LIBS="-lvulkan $LIBS"
18366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18367 /* end confdefs.h. */
18369 /* Override any GCC internal prototype to avoid an error.
18370 Use char because int might match the return type of a GCC
18371 builtin and then its argument prototype would still apply. */
18372 char vkGetInstanceProcAddr ();
18374 main (void)
18376 return vkGetInstanceProcAddr ();
18378 return 0;
18380 _ACEOF
18381 if ac_fn_c_try_link "$LINENO"
18382 then :
18383 case "$LIBEXT" in
18384 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18385 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'` ;;
18386 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18387 if ${ac_cv_lib_soname_vulkan:+false} :
18388 then :
18389 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18390 fi ;;
18391 esac
18392 else $as_nop
18393 ac_cv_lib_soname_vulkan=
18395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18396 conftest$ac_exeext conftest.$ac_ext
18397 LIBS=$ac_check_soname_save_LIBS
18399 if ${ac_cv_lib_soname_vulkan:+false} :
18400 then :
18401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18402 printf "%s\n" "not found" >&6; }
18404 else $as_nop
18405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18406 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18408 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18412 if test "x$ac_cv_lib_soname_vulkan" = "x"
18413 then
18414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18415 printf %s "checking for -lMoltenVK... " >&6; }
18416 if test ${ac_cv_lib_soname_MoltenVK+y}
18417 then :
18418 printf %s "(cached) " >&6
18419 else $as_nop
18420 ac_check_soname_save_LIBS=$LIBS
18421 LIBS="-lMoltenVK $LIBS"
18422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18423 /* end confdefs.h. */
18425 /* Override any GCC internal prototype to avoid an error.
18426 Use char because int might match the return type of a GCC
18427 builtin and then its argument prototype would still apply. */
18428 char vkGetInstanceProcAddr ();
18430 main (void)
18432 return vkGetInstanceProcAddr ();
18434 return 0;
18436 _ACEOF
18437 if ac_fn_c_try_link "$LINENO"
18438 then :
18439 case "$LIBEXT" in
18440 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18441 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'` ;;
18442 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18443 if ${ac_cv_lib_soname_MoltenVK:+false} :
18444 then :
18445 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18446 fi ;;
18447 esac
18448 else $as_nop
18449 ac_cv_lib_soname_MoltenVK=
18451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18452 conftest$ac_exeext conftest.$ac_ext
18453 LIBS=$ac_check_soname_save_LIBS
18455 if ${ac_cv_lib_soname_MoltenVK:+false} :
18456 then :
18457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18458 printf "%s\n" "not found" >&6; }
18460 else $as_nop
18461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18462 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18464 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18470 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18471 then :
18472 case "x$with_vulkan" in
18473 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18474 xno) ;;
18475 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18476 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18477 esac
18482 if test "x${GCC}" = "xyes"
18483 then
18484 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18486 saved_CFLAGS=$CFLAGS
18487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18488 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18489 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18490 then :
18491 printf %s "(cached) " >&6
18492 else $as_nop
18493 ac_wine_try_cflags_saved=$CFLAGS
18494 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18496 /* end confdefs.h. */
18497 int main(int argc, char **argv) { return 0; }
18498 _ACEOF
18499 if ac_fn_c_try_link "$LINENO"
18500 then :
18501 ac_cv_cflags__Werror_unknown_warning_option=yes
18502 else $as_nop
18503 ac_cv_cflags__Werror_unknown_warning_option=no
18505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18506 conftest$ac_exeext conftest.$ac_ext
18507 CFLAGS=$ac_wine_try_cflags_saved
18509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18510 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18511 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18512 then :
18513 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18516 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18517 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18518 then :
18519 printf %s "(cached) " >&6
18520 else $as_nop
18521 ac_wine_try_cflags_saved=$CFLAGS
18522 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18525 int main(int argc, char **argv) { return 0; }
18526 _ACEOF
18527 if ac_fn_c_try_link "$LINENO"
18528 then :
18529 ac_cv_cflags__Werror_unused_command_line_argument=yes
18530 else $as_nop
18531 ac_cv_cflags__Werror_unused_command_line_argument=no
18533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18534 conftest$ac_exeext conftest.$ac_ext
18535 CFLAGS=$ac_wine_try_cflags_saved
18537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18538 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18539 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18540 then :
18541 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18544 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18545 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18546 then :
18547 printf %s "(cached) " >&6
18548 else $as_nop
18549 ac_wine_try_cflags_saved=$CFLAGS
18550 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18552 /* end confdefs.h. */
18553 int main(int argc, char **argv) { return 0; }
18554 _ACEOF
18555 if ac_fn_c_try_link "$LINENO"
18556 then :
18557 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18558 else $as_nop
18559 ac_cv_cflags__Werror_ignored_optimization_argument=no
18561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18562 conftest$ac_exeext conftest.$ac_ext
18563 CFLAGS=$ac_wine_try_cflags_saved
18565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18566 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18567 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18568 then :
18569 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18572 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18573 if test ${ac_cv_cflags__fcf_protection_none+y}
18574 then :
18575 printf %s "(cached) " >&6
18576 else $as_nop
18577 ac_wine_try_cflags_saved=$CFLAGS
18578 CFLAGS="$CFLAGS -fcf-protection=none"
18579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18580 /* end confdefs.h. */
18581 int main(int argc, char **argv) { return 0; }
18582 _ACEOF
18583 if ac_fn_c_try_link "$LINENO"
18584 then :
18585 ac_cv_cflags__fcf_protection_none=yes
18586 else $as_nop
18587 ac_cv_cflags__fcf_protection_none=no
18589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18590 conftest$ac_exeext conftest.$ac_ext
18591 CFLAGS=$ac_wine_try_cflags_saved
18593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18594 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18595 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18596 then :
18597 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18600 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18601 if test ${ac_cv_cflags__fno_stack_protector+y}
18602 then :
18603 printf %s "(cached) " >&6
18604 else $as_nop
18605 ac_wine_try_cflags_saved=$CFLAGS
18606 CFLAGS="$CFLAGS -fno-stack-protector"
18607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18608 /* end confdefs.h. */
18609 int main(int argc, char **argv) { return 0; }
18610 _ACEOF
18611 if ac_fn_c_try_link "$LINENO"
18612 then :
18613 ac_cv_cflags__fno_stack_protector=yes
18614 else $as_nop
18615 ac_cv_cflags__fno_stack_protector=no
18617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18618 conftest$ac_exeext conftest.$ac_ext
18619 CFLAGS=$ac_wine_try_cflags_saved
18621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18622 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18623 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18624 then :
18625 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18628 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18629 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18630 then :
18631 printf %s "(cached) " >&6
18632 else $as_nop
18633 ac_wine_try_cflags_saved=$CFLAGS
18634 CFLAGS="$CFLAGS -fno-strict-aliasing"
18635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h. */
18637 int main(int argc, char **argv) { return 0; }
18638 _ACEOF
18639 if ac_fn_c_try_link "$LINENO"
18640 then :
18641 ac_cv_cflags__fno_strict_aliasing=yes
18642 else $as_nop
18643 ac_cv_cflags__fno_strict_aliasing=no
18645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18646 conftest$ac_exeext conftest.$ac_ext
18647 CFLAGS=$ac_wine_try_cflags_saved
18649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18650 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18651 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18652 then :
18653 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18656 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18657 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18658 then :
18659 printf %s "(cached) " >&6
18660 else $as_nop
18661 ac_wine_try_cflags_saved=$CFLAGS
18662 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h. */
18665 int main(int argc, char **argv) { return 0; }
18666 _ACEOF
18667 if ac_fn_c_try_link "$LINENO"
18668 then :
18669 ac_cv_cflags__Wdeclaration_after_statement=yes
18670 else $as_nop
18671 ac_cv_cflags__Wdeclaration_after_statement=no
18673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18674 conftest$ac_exeext conftest.$ac_ext
18675 CFLAGS=$ac_wine_try_cflags_saved
18677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18678 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18679 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18680 then :
18681 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18684 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18685 if test ${ac_cv_cflags__Wempty_body+y}
18686 then :
18687 printf %s "(cached) " >&6
18688 else $as_nop
18689 ac_wine_try_cflags_saved=$CFLAGS
18690 CFLAGS="$CFLAGS -Wempty-body"
18691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18692 /* end confdefs.h. */
18693 int main(int argc, char **argv) { return 0; }
18694 _ACEOF
18695 if ac_fn_c_try_link "$LINENO"
18696 then :
18697 ac_cv_cflags__Wempty_body=yes
18698 else $as_nop
18699 ac_cv_cflags__Wempty_body=no
18701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18702 conftest$ac_exeext conftest.$ac_ext
18703 CFLAGS=$ac_wine_try_cflags_saved
18705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18706 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18707 if test "x$ac_cv_cflags__Wempty_body" = xyes
18708 then :
18709 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18712 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18713 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18714 then :
18715 printf %s "(cached) " >&6
18716 else $as_nop
18717 ac_wine_try_cflags_saved=$CFLAGS
18718 CFLAGS="$CFLAGS -Wignored-qualifiers"
18719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h. */
18721 int main(int argc, char **argv) { return 0; }
18722 _ACEOF
18723 if ac_fn_c_try_link "$LINENO"
18724 then :
18725 ac_cv_cflags__Wignored_qualifiers=yes
18726 else $as_nop
18727 ac_cv_cflags__Wignored_qualifiers=no
18729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18730 conftest$ac_exeext conftest.$ac_ext
18731 CFLAGS=$ac_wine_try_cflags_saved
18733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18734 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18735 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18736 then :
18737 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18740 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18741 if test ${ac_cv_cflags__Winit_self+y}
18742 then :
18743 printf %s "(cached) " >&6
18744 else $as_nop
18745 ac_wine_try_cflags_saved=$CFLAGS
18746 CFLAGS="$CFLAGS -Winit-self"
18747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18748 /* end confdefs.h. */
18749 int main(int argc, char **argv) { return 0; }
18750 _ACEOF
18751 if ac_fn_c_try_link "$LINENO"
18752 then :
18753 ac_cv_cflags__Winit_self=yes
18754 else $as_nop
18755 ac_cv_cflags__Winit_self=no
18757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18758 conftest$ac_exeext conftest.$ac_ext
18759 CFLAGS=$ac_wine_try_cflags_saved
18761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18762 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18763 if test "x$ac_cv_cflags__Winit_self" = xyes
18764 then :
18765 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18768 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18769 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18770 then :
18771 printf %s "(cached) " >&6
18772 else $as_nop
18773 ac_wine_try_cflags_saved=$CFLAGS
18774 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h. */
18777 int main(int argc, char **argv) { return 0; }
18778 _ACEOF
18779 if ac_fn_c_try_link "$LINENO"
18780 then :
18781 ac_cv_cflags__Wpacked_not_aligned=yes
18782 else $as_nop
18783 ac_cv_cflags__Wpacked_not_aligned=no
18785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18786 conftest$ac_exeext conftest.$ac_ext
18787 CFLAGS=$ac_wine_try_cflags_saved
18789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18790 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18791 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18792 then :
18793 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18796 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18797 if test ${ac_cv_cflags__Wpragma_pack+y}
18798 then :
18799 printf %s "(cached) " >&6
18800 else $as_nop
18801 ac_wine_try_cflags_saved=$CFLAGS
18802 CFLAGS="$CFLAGS -Wpragma-pack"
18803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18804 /* end confdefs.h. */
18805 int main(int argc, char **argv) { return 0; }
18806 _ACEOF
18807 if ac_fn_c_try_link "$LINENO"
18808 then :
18809 ac_cv_cflags__Wpragma_pack=yes
18810 else $as_nop
18811 ac_cv_cflags__Wpragma_pack=no
18813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18814 conftest$ac_exeext conftest.$ac_ext
18815 CFLAGS=$ac_wine_try_cflags_saved
18817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18818 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18819 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18820 then :
18821 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18824 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18825 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18826 then :
18827 printf %s "(cached) " >&6
18828 else $as_nop
18829 ac_wine_try_cflags_saved=$CFLAGS
18830 CFLAGS="$CFLAGS -Wshift-overflow=2"
18831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18832 /* end confdefs.h. */
18833 int main(int argc, char **argv) { return 0; }
18834 _ACEOF
18835 if ac_fn_c_try_link "$LINENO"
18836 then :
18837 ac_cv_cflags__Wshift_overflow_2=yes
18838 else $as_nop
18839 ac_cv_cflags__Wshift_overflow_2=no
18841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18842 conftest$ac_exeext conftest.$ac_ext
18843 CFLAGS=$ac_wine_try_cflags_saved
18845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18846 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18847 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18848 then :
18849 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18852 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18853 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18854 then :
18855 printf %s "(cached) " >&6
18856 else $as_nop
18857 ac_wine_try_cflags_saved=$CFLAGS
18858 CFLAGS="$CFLAGS -Wstrict-prototypes"
18859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18860 /* end confdefs.h. */
18861 int main(int argc, char **argv) { return 0; }
18862 _ACEOF
18863 if ac_fn_c_try_link "$LINENO"
18864 then :
18865 ac_cv_cflags__Wstrict_prototypes=yes
18866 else $as_nop
18867 ac_cv_cflags__Wstrict_prototypes=no
18869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18870 conftest$ac_exeext conftest.$ac_ext
18871 CFLAGS=$ac_wine_try_cflags_saved
18873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18874 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18875 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18876 then :
18877 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18880 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18881 if test ${ac_cv_cflags__Wtype_limits+y}
18882 then :
18883 printf %s "(cached) " >&6
18884 else $as_nop
18885 ac_wine_try_cflags_saved=$CFLAGS
18886 CFLAGS="$CFLAGS -Wtype-limits"
18887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h. */
18889 int main(int argc, char **argv) { return 0; }
18890 _ACEOF
18891 if ac_fn_c_try_link "$LINENO"
18892 then :
18893 ac_cv_cflags__Wtype_limits=yes
18894 else $as_nop
18895 ac_cv_cflags__Wtype_limits=no
18897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18898 conftest$ac_exeext conftest.$ac_ext
18899 CFLAGS=$ac_wine_try_cflags_saved
18901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18902 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18903 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18904 then :
18905 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18908 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18909 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18910 then :
18911 printf %s "(cached) " >&6
18912 else $as_nop
18913 ac_wine_try_cflags_saved=$CFLAGS
18914 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18916 /* end confdefs.h. */
18917 int main(int argc, char **argv) { return 0; }
18918 _ACEOF
18919 if ac_fn_c_try_link "$LINENO"
18920 then :
18921 ac_cv_cflags__Wunused_but_set_parameter=yes
18922 else $as_nop
18923 ac_cv_cflags__Wunused_but_set_parameter=no
18925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18926 conftest$ac_exeext conftest.$ac_ext
18927 CFLAGS=$ac_wine_try_cflags_saved
18929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18930 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18931 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18932 then :
18933 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18936 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18937 if test ${ac_cv_cflags__Wvla+y}
18938 then :
18939 printf %s "(cached) " >&6
18940 else $as_nop
18941 ac_wine_try_cflags_saved=$CFLAGS
18942 CFLAGS="$CFLAGS -Wvla"
18943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h. */
18945 int main(int argc, char **argv) { return 0; }
18946 _ACEOF
18947 if ac_fn_c_try_link "$LINENO"
18948 then :
18949 ac_cv_cflags__Wvla=yes
18950 else $as_nop
18951 ac_cv_cflags__Wvla=no
18953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18954 conftest$ac_exeext conftest.$ac_ext
18955 CFLAGS=$ac_wine_try_cflags_saved
18957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18958 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18959 if test "x$ac_cv_cflags__Wvla" = xyes
18960 then :
18961 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18964 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18965 if test ${ac_cv_cflags__Wwrite_strings+y}
18966 then :
18967 printf %s "(cached) " >&6
18968 else $as_nop
18969 ac_wine_try_cflags_saved=$CFLAGS
18970 CFLAGS="$CFLAGS -Wwrite-strings"
18971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18972 /* end confdefs.h. */
18973 int main(int argc, char **argv) { return 0; }
18974 _ACEOF
18975 if ac_fn_c_try_link "$LINENO"
18976 then :
18977 ac_cv_cflags__Wwrite_strings=yes
18978 else $as_nop
18979 ac_cv_cflags__Wwrite_strings=no
18981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18982 conftest$ac_exeext conftest.$ac_ext
18983 CFLAGS=$ac_wine_try_cflags_saved
18985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18986 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18987 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18988 then :
18989 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18993 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18994 if test ${ac_cv_cflags__Wpointer_arith+y}
18995 then :
18996 printf %s "(cached) " >&6
18997 else $as_nop
18998 ac_wine_try_cflags_saved=$CFLAGS
18999 CFLAGS="$CFLAGS -Wpointer-arith"
19000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19001 /* end confdefs.h. */
19002 int main(int argc, char **argv) { return 0; }
19003 _ACEOF
19004 if ac_fn_c_try_link "$LINENO"
19005 then :
19006 ac_cv_cflags__Wpointer_arith=yes
19007 else $as_nop
19008 ac_cv_cflags__Wpointer_arith=no
19010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19011 conftest$ac_exeext conftest.$ac_ext
19012 CFLAGS=$ac_wine_try_cflags_saved
19014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19015 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19016 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19017 then :
19018 saved_string_h_CFLAGS=$CFLAGS
19019 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19021 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19022 if test ${ac_cv_c_string_h_warnings+y}
19023 then :
19024 printf %s "(cached) " >&6
19025 else $as_nop
19026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19027 /* end confdefs.h. */
19028 #include <string.h>
19030 main (void)
19034 return 0;
19036 _ACEOF
19037 if ac_fn_c_try_compile "$LINENO"
19038 then :
19039 ac_cv_c_string_h_warnings=no
19040 else $as_nop
19041 ac_cv_c_string_h_warnings=yes
19043 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19046 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19047 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19048 CFLAGS=$saved_string_h_CFLAGS
19051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19052 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19053 if test ${ac_cv_cflags__Wlogical_op+y}
19054 then :
19055 printf %s "(cached) " >&6
19056 else $as_nop
19057 ac_wine_try_cflags_saved=$CFLAGS
19058 CFLAGS="$CFLAGS -Wlogical-op"
19059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19060 /* end confdefs.h. */
19061 int main(int argc, char **argv) { return 0; }
19062 _ACEOF
19063 if ac_fn_c_try_link "$LINENO"
19064 then :
19065 ac_cv_cflags__Wlogical_op=yes
19066 else $as_nop
19067 ac_cv_cflags__Wlogical_op=no
19069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19070 conftest$ac_exeext conftest.$ac_ext
19071 CFLAGS=$ac_wine_try_cflags_saved
19073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19074 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19075 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19076 then :
19077 saved_string_h_CFLAGS=$CFLAGS
19078 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19080 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19081 if test ${ac_cv_c_logicalop_noisy+y}
19082 then :
19083 printf %s "(cached) " >&6
19084 else $as_nop
19085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19086 /* end confdefs.h. */
19087 #include <string.h>
19088 char*f(const char *h,char n) {return strchr(h,n);}
19090 main (void)
19094 return 0;
19096 _ACEOF
19097 if ac_fn_c_try_compile "$LINENO"
19098 then :
19099 ac_cv_c_logicalop_noisy=no
19100 else $as_nop
19101 ac_cv_c_logicalop_noisy=yes
19103 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19106 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19107 CFLAGS=$saved_string_h_CFLAGS
19108 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19112 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19113 if test ${wine_cv_64bit_compare_swap+y}
19114 then :
19115 printf %s "(cached) " >&6
19116 else $as_nop
19117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19118 /* end confdefs.h. */
19119 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19120 #error no
19121 #endif
19123 main (void)
19127 return 0;
19129 _ACEOF
19130 if ac_fn_c_try_compile "$LINENO"
19131 then :
19132 wine_cv_64bit_compare_swap="none needed"
19133 else $as_nop
19134 case $host_cpu in
19135 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19136 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19137 *) wine_cv_64bit_compare_swap="unknown" ;;
19138 esac
19139 if test "x$wine_cv_64bit_compare_swap" != xunknown
19140 then
19141 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19143 /* end confdefs.h. */
19144 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19145 #error no
19146 #endif
19148 main (void)
19152 return 0;
19154 _ACEOF
19155 if ac_fn_c_try_compile "$LINENO"
19156 then :
19158 else $as_nop
19159 wine_cv_64bit_compare_swap="unknown"
19161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19162 CFLAGS=$saved_CFLAGS
19165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19168 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19169 case "$wine_cv_64bit_compare_swap" in
19170 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19171 "none needed") ;;
19172 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19173 esac
19175 ac_debug_format_seen=""
19176 for ac_flag in $CFLAGS; do
19177 case $ac_flag in
19178 -gdwarf*) ac_debug_format_seen=yes ;;
19179 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19180 esac
19181 done
19182 if test "x$ac_debug_format_seen" = xdefault
19183 then
19184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19185 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19186 if test ${ac_cv_cflags__gdwarf_4+y}
19187 then :
19188 printf %s "(cached) " >&6
19189 else $as_nop
19190 ac_wine_try_cflags_saved=$CFLAGS
19191 CFLAGS="$CFLAGS -gdwarf-4"
19192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19193 /* end confdefs.h. */
19194 int main(int argc, char **argv) { return 0; }
19195 _ACEOF
19196 if ac_fn_c_try_link "$LINENO"
19197 then :
19198 ac_cv_cflags__gdwarf_4=yes
19199 else $as_nop
19200 ac_cv_cflags__gdwarf_4=no
19202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19203 conftest$ac_exeext conftest.$ac_ext
19204 CFLAGS=$ac_wine_try_cflags_saved
19206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19207 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19208 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19209 then :
19210 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19214 MSVCRTFLAGS=""
19216 case $host_os in
19217 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19218 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19219 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19220 then :
19221 printf %s "(cached) " >&6
19222 else $as_nop
19223 ac_wine_try_cflags_saved=$CFLAGS
19224 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19226 /* end confdefs.h. */
19227 int main(int argc, char **argv) { return 0; }
19228 _ACEOF
19229 if ac_fn_c_try_link "$LINENO"
19230 then :
19231 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19232 else $as_nop
19233 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19236 conftest$ac_exeext conftest.$ac_ext
19237 CFLAGS=$ac_wine_try_cflags_saved
19239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19240 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19241 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19242 then :
19243 DELAYLOADFLAG="-Wl,-delayload,"
19245 fi ;;
19246 *) MSVCRTFLAGS="-D_WIN32"
19247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19248 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19249 if test ${ac_cv_cflags__fno_builtin+y}
19250 then :
19251 printf %s "(cached) " >&6
19252 else $as_nop
19253 ac_wine_try_cflags_saved=$CFLAGS
19254 CFLAGS="$CFLAGS -fno-builtin"
19255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19256 /* end confdefs.h. */
19257 int main(int argc, char **argv) { return 0; }
19258 _ACEOF
19259 if ac_fn_c_try_link "$LINENO"
19260 then :
19261 ac_cv_cflags__fno_builtin=yes
19262 else $as_nop
19263 ac_cv_cflags__fno_builtin=no
19265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19266 conftest$ac_exeext conftest.$ac_ext
19267 CFLAGS=$ac_wine_try_cflags_saved
19269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19270 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19271 if test "x$ac_cv_cflags__fno_builtin" = xyes
19272 then :
19273 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19276 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19277 if test ${ac_cv_cflags__fshort_wchar+y}
19278 then :
19279 printf %s "(cached) " >&6
19280 else $as_nop
19281 ac_wine_try_cflags_saved=$CFLAGS
19282 CFLAGS="$CFLAGS -fshort-wchar"
19283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19284 /* end confdefs.h. */
19285 int main(int argc, char **argv) { return 0; }
19286 _ACEOF
19287 if ac_fn_c_try_link "$LINENO"
19288 then :
19289 ac_cv_cflags__fshort_wchar=yes
19290 else $as_nop
19291 ac_cv_cflags__fshort_wchar=no
19293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19294 conftest$ac_exeext conftest.$ac_ext
19295 CFLAGS=$ac_wine_try_cflags_saved
19297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19298 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19299 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19300 then :
19301 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19304 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19305 if test ${ac_cv_cflags__Wno_format+y}
19306 then :
19307 printf %s "(cached) " >&6
19308 else $as_nop
19309 ac_wine_try_cflags_saved=$CFLAGS
19310 CFLAGS="$CFLAGS -Wno-format"
19311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19312 /* end confdefs.h. */
19313 int main(int argc, char **argv) { return 0; }
19314 _ACEOF
19315 if ac_fn_c_try_link "$LINENO"
19316 then :
19317 ac_cv_cflags__Wno_format=yes
19318 else $as_nop
19319 ac_cv_cflags__Wno_format=no
19321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19322 conftest$ac_exeext conftest.$ac_ext
19323 CFLAGS=$ac_wine_try_cflags_saved
19325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19326 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19327 if test "x$ac_cv_cflags__Wno_format" = xyes
19328 then :
19329 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19330 fi ;;
19331 esac
19333 case $host_cpu in
19334 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19335 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19336 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19337 then :
19338 printf %s "(cached) " >&6
19339 else $as_nop
19340 ac_wine_try_cflags_saved=$CFLAGS
19341 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19343 /* end confdefs.h. */
19344 int main(int argc, char **argv) { return 0; }
19345 _ACEOF
19346 if ac_fn_c_try_link "$LINENO"
19347 then :
19348 ac_cv_cflags__fno_omit_frame_pointer=yes
19349 else $as_nop
19350 ac_cv_cflags__fno_omit_frame_pointer=no
19352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19353 conftest$ac_exeext conftest.$ac_ext
19354 CFLAGS=$ac_wine_try_cflags_saved
19356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19357 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19358 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19359 then :
19360 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19361 fi ;;
19362 *x86_64*)
19363 case $host_os in
19364 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19365 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19366 if test ${ac_cv_cflags__Wno_format+y}
19367 then :
19368 printf %s "(cached) " >&6
19369 else $as_nop
19370 ac_wine_try_cflags_saved=$CFLAGS
19371 CFLAGS="$CFLAGS -Wno-format"
19372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19374 int main(int argc, char **argv) { return 0; }
19375 _ACEOF
19376 if ac_fn_c_try_link "$LINENO"
19377 then :
19378 ac_cv_cflags__Wno_format=yes
19379 else $as_nop
19380 ac_cv_cflags__Wno_format=no
19382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19383 conftest$ac_exeext conftest.$ac_ext
19384 CFLAGS=$ac_wine_try_cflags_saved
19386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19387 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19388 if test "x$ac_cv_cflags__Wno_format" = xyes
19389 then :
19390 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19391 fi ;;
19392 *) if test -z "$PE_ARCHS"
19393 then
19394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19395 printf %s "checking for working -mabi=ms... " >&6; }
19396 if test ${ac_cv_mabi_ms+y}
19397 then :
19398 printf %s "(cached) " >&6
19399 else $as_nop
19400 CFLAGS="$CFLAGS -mabi=ms"
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403 #include <stdarg.h>
19404 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19406 main (void)
19410 return 0;
19412 _ACEOF
19413 if ac_fn_c_try_compile "$LINENO"
19414 then :
19415 ac_cv_mabi_ms=yes
19416 else $as_nop
19417 ac_cv_mabi_ms=no
19419 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19420 CFLAGS=$saved_CFLAGS
19422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19423 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19424 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
19426 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19427 esac ;;
19428 arm*)
19429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19430 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19431 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19432 then :
19433 printf %s "(cached) " >&6
19434 else $as_nop
19435 ac_wine_try_cflags_saved=$CFLAGS
19436 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19438 /* end confdefs.h. */
19439 int main(int argc, char **argv) { return 0; }
19440 _ACEOF
19441 if ac_fn_c_try_link "$LINENO"
19442 then :
19443 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19444 else $as_nop
19445 ac_cv_cflags__Wincompatible_function_pointer_types=no
19447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19448 conftest$ac_exeext conftest.$ac_ext
19449 CFLAGS=$ac_wine_try_cflags_saved
19451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19452 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19453 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19454 then :
19455 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19456 fi ;;
19457 esac
19459 CFLAGS=$saved_CFLAGS
19461 if test "x$enable_werror" = "xyes"
19462 then
19463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19464 printf %s "checking whether the compiler supports -Werror... " >&6; }
19465 if test ${ac_cv_cflags__Werror+y}
19466 then :
19467 printf %s "(cached) " >&6
19468 else $as_nop
19469 ac_wine_try_cflags_saved=$CFLAGS
19470 CFLAGS="$CFLAGS -Werror"
19471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19472 /* end confdefs.h. */
19473 int main(int argc, char **argv) { return 0; }
19474 _ACEOF
19475 if ac_fn_c_try_link "$LINENO"
19476 then :
19477 ac_cv_cflags__Werror=yes
19478 else $as_nop
19479 ac_cv_cflags__Werror=no
19481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19482 conftest$ac_exeext conftest.$ac_ext
19483 CFLAGS=$ac_wine_try_cflags_saved
19485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19486 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19487 if test "x$ac_cv_cflags__Werror" = xyes
19488 then :
19489 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19492 if test "x$enable_build_id" = "xyes"
19493 then
19494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19495 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19496 if test ${ac_cv_cflags__Wl___build_id+y}
19497 then :
19498 printf %s "(cached) " >&6
19499 else $as_nop
19500 ac_wine_try_cflags_saved=$CFLAGS
19501 CFLAGS="$CFLAGS -Wl,--build-id"
19502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19503 /* end confdefs.h. */
19504 int main(int argc, char **argv) { return 0; }
19505 _ACEOF
19506 if ac_fn_c_try_link "$LINENO"
19507 then :
19508 ac_cv_cflags__Wl___build_id=yes
19509 else $as_nop
19510 ac_cv_cflags__Wl___build_id=no
19512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19513 conftest$ac_exeext conftest.$ac_ext
19514 CFLAGS=$ac_wine_try_cflags_saved
19516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19517 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19518 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19519 then :
19520 CFLAGS="$CFLAGS -Wl,--build-id"
19521 LDFLAGS="$LDFLAGS -Wl,--build-id"
19527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19528 printf %s "checking for the need to disable Fortify... " >&6; }
19529 if test ${ac_cv_c_fortify_enabled+y}
19530 then :
19531 printf %s "(cached) " >&6
19532 else $as_nop
19533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19534 /* end confdefs.h. */
19535 #include <string.h>
19537 main (void)
19539 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19540 #error Fortify enabled
19541 #endif
19543 return 0;
19545 _ACEOF
19546 if ac_fn_c_try_compile "$LINENO"
19547 then :
19548 ac_cv_c_fortify_enabled=no
19549 else $as_nop
19550 ac_cv_c_fortify_enabled=yes
19552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19555 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19556 if test "$ac_cv_c_fortify_enabled" = yes
19557 then
19558 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19563 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19564 if test ${ac_cv_c_cfi_support+y}
19565 then :
19566 printf %s "(cached) " >&6
19567 else $as_nop
19568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19569 /* end confdefs.h. */
19570 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19572 main (void)
19576 return 0;
19578 _ACEOF
19579 if ac_fn_c_try_compile "$LINENO"
19580 then :
19581 ac_cv_c_cfi_support="yes"
19582 else $as_nop
19583 ac_cv_c_cfi_support="no"
19585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19588 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19589 if test "$ac_cv_c_cfi_support" = "yes"
19590 then
19591 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19592 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19593 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19594 elif test $HOST_ARCH = x86_64
19595 then
19596 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19600 case $host_os in
19601 linux*)
19602 case $host_cpu in
19603 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19604 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19605 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19607 esac
19609 esac
19612 ac_save_CFLAGS="$CFLAGS"
19613 CFLAGS="$CFLAGS $BUILTINFLAG"
19614 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19615 if test "x$ac_cv_func_epoll_create" = xyes
19616 then :
19617 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19620 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19621 if test "x$ac_cv_func_fstatfs" = xyes
19622 then :
19623 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19626 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19627 if test "x$ac_cv_func_futimens" = xyes
19628 then :
19629 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19632 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19633 if test "x$ac_cv_func_futimes" = xyes
19634 then :
19635 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19638 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19639 if test "x$ac_cv_func_futimesat" = xyes
19640 then :
19641 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19644 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19645 if test "x$ac_cv_func_getattrlist" = xyes
19646 then :
19647 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19650 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19651 if test "x$ac_cv_func_getauxval" = xyes
19652 then :
19653 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19656 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19657 if test "x$ac_cv_func_getifaddrs" = xyes
19658 then :
19659 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19662 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19663 if test "x$ac_cv_func_getrandom" = xyes
19664 then :
19665 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19668 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19669 if test "x$ac_cv_func_kqueue" = xyes
19670 then :
19671 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19674 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19675 if test "x$ac_cv_func_mach_continuous_time" = xyes
19676 then :
19677 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19680 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19681 if test "x$ac_cv_func_pipe2" = xyes
19682 then :
19683 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19686 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19687 if test "x$ac_cv_func_port_create" = xyes
19688 then :
19689 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19692 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19693 if test "x$ac_cv_func_posix_fadvise" = xyes
19694 then :
19695 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19698 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19699 if test "x$ac_cv_func_posix_fallocate" = xyes
19700 then :
19701 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19704 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19705 if test "x$ac_cv_func_prctl" = xyes
19706 then :
19707 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19710 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19711 if test "x$ac_cv_func_proc_pidinfo" = xyes
19712 then :
19713 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19716 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19717 if test "x$ac_cv_func_sched_yield" = xyes
19718 then :
19719 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19722 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19723 if test "x$ac_cv_func_setproctitle" = xyes
19724 then :
19725 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19728 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19729 if test "x$ac_cv_func_setprogname" = xyes
19730 then :
19731 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19734 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19735 if test "x$ac_cv_func_sigprocmask" = xyes
19736 then :
19737 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19740 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19741 if test "x$ac_cv_func_sysinfo" = xyes
19742 then :
19743 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19746 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19747 if test "x$ac_cv_func_tcdrain" = xyes
19748 then :
19749 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19752 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19753 if test "x$ac_cv_func_thr_kill2" = xyes
19754 then :
19755 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19759 CFLAGS="$ac_save_CFLAGS"
19761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19762 printf %s "checking for library containing dlopen... " >&6; }
19763 if test ${ac_cv_search_dlopen+y}
19764 then :
19765 printf %s "(cached) " >&6
19766 else $as_nop
19767 ac_func_search_save_LIBS=$LIBS
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h. */
19771 /* Override any GCC internal prototype to avoid an error.
19772 Use char because int might match the return type of a GCC
19773 builtin and then its argument prototype would still apply. */
19774 char dlopen ();
19776 main (void)
19778 return dlopen ();
19780 return 0;
19782 _ACEOF
19783 for ac_lib in '' dl
19785 if test -z "$ac_lib"; then
19786 ac_res="none required"
19787 else
19788 ac_res=-l$ac_lib
19789 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19791 if ac_fn_c_try_link "$LINENO"
19792 then :
19793 ac_cv_search_dlopen=$ac_res
19795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19796 conftest$ac_exeext
19797 if test ${ac_cv_search_dlopen+y}
19798 then :
19799 break
19801 done
19802 if test ${ac_cv_search_dlopen+y}
19803 then :
19805 else $as_nop
19806 ac_cv_search_dlopen=no
19808 rm conftest.$ac_ext
19809 LIBS=$ac_func_search_save_LIBS
19811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19812 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19813 ac_res=$ac_cv_search_dlopen
19814 if test "$ac_res" != no
19815 then :
19816 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19820 ac_wine_check_funcs_save_LIBS="$LIBS"
19821 LIBS="$LIBS $DL_LIBS"
19822 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19823 if test "x$ac_cv_func_dlinfo" = xyes
19824 then :
19825 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19829 LIBS="$ac_wine_check_funcs_save_LIBS"
19831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19832 printf %s "checking for library containing gethostbyname... " >&6; }
19833 if test ${ac_cv_search_gethostbyname+y}
19834 then :
19835 printf %s "(cached) " >&6
19836 else $as_nop
19837 ac_func_search_save_LIBS=$LIBS
19838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h. */
19841 /* Override any GCC internal prototype to avoid an error.
19842 Use char because int might match the return type of a GCC
19843 builtin and then its argument prototype would still apply. */
19844 char gethostbyname ();
19846 main (void)
19848 return gethostbyname ();
19850 return 0;
19852 _ACEOF
19853 for ac_lib in '' nsl
19855 if test -z "$ac_lib"; then
19856 ac_res="none required"
19857 else
19858 ac_res=-l$ac_lib
19859 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19861 if ac_fn_c_try_link "$LINENO"
19862 then :
19863 ac_cv_search_gethostbyname=$ac_res
19865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19866 conftest$ac_exeext
19867 if test ${ac_cv_search_gethostbyname+y}
19868 then :
19869 break
19871 done
19872 if test ${ac_cv_search_gethostbyname+y}
19873 then :
19875 else $as_nop
19876 ac_cv_search_gethostbyname=no
19878 rm conftest.$ac_ext
19879 LIBS=$ac_func_search_save_LIBS
19881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19882 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19883 ac_res=$ac_cv_search_gethostbyname
19884 if test "$ac_res" != no
19885 then :
19886 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19892 printf %s "checking for library containing connect... " >&6; }
19893 if test ${ac_cv_search_connect+y}
19894 then :
19895 printf %s "(cached) " >&6
19896 else $as_nop
19897 ac_func_search_save_LIBS=$LIBS
19898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h. */
19901 /* Override any GCC internal prototype to avoid an error.
19902 Use char because int might match the return type of a GCC
19903 builtin and then its argument prototype would still apply. */
19904 char connect ();
19906 main (void)
19908 return connect ();
19910 return 0;
19912 _ACEOF
19913 for ac_lib in '' socket
19915 if test -z "$ac_lib"; then
19916 ac_res="none required"
19917 else
19918 ac_res=-l$ac_lib
19919 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19921 if ac_fn_c_try_link "$LINENO"
19922 then :
19923 ac_cv_search_connect=$ac_res
19925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19926 conftest$ac_exeext
19927 if test ${ac_cv_search_connect+y}
19928 then :
19929 break
19931 done
19932 if test ${ac_cv_search_connect+y}
19933 then :
19935 else $as_nop
19936 ac_cv_search_connect=no
19938 rm conftest.$ac_ext
19939 LIBS=$ac_func_search_save_LIBS
19941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19942 printf "%s\n" "$ac_cv_search_connect" >&6; }
19943 ac_res=$ac_cv_search_connect
19944 if test "$ac_res" != no
19945 then :
19946 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19952 printf %s "checking for library containing inet_aton... " >&6; }
19953 if test ${ac_cv_search_inet_aton+y}
19954 then :
19955 printf %s "(cached) " >&6
19956 else $as_nop
19957 ac_func_search_save_LIBS=$LIBS
19958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19959 /* end confdefs.h. */
19961 /* Override any GCC internal prototype to avoid an error.
19962 Use char because int might match the return type of a GCC
19963 builtin and then its argument prototype would still apply. */
19964 char inet_aton ();
19966 main (void)
19968 return inet_aton ();
19970 return 0;
19972 _ACEOF
19973 for ac_lib in '' resolv
19975 if test -z "$ac_lib"; then
19976 ac_res="none required"
19977 else
19978 ac_res=-l$ac_lib
19979 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19981 if ac_fn_c_try_link "$LINENO"
19982 then :
19983 ac_cv_search_inet_aton=$ac_res
19985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19986 conftest$ac_exeext
19987 if test ${ac_cv_search_inet_aton+y}
19988 then :
19989 break
19991 done
19992 if test ${ac_cv_search_inet_aton+y}
19993 then :
19995 else $as_nop
19996 ac_cv_search_inet_aton=no
19998 rm conftest.$ac_ext
19999 LIBS=$ac_func_search_save_LIBS
20001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20002 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20003 ac_res=$ac_cv_search_inet_aton
20004 if test "$ac_res" != no
20005 then :
20006 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20011 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20012 if test "x$ac_cv_func_getaddrinfo" = xyes
20013 then :
20014 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20019 case $host_os in
20020 darwin*|macosx*) ;;
20021 *) ac_save_LIBS=$LIBS
20022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20023 printf %s "checking for library containing clock_gettime... " >&6; }
20024 if test ${ac_cv_search_clock_gettime+y}
20025 then :
20026 printf %s "(cached) " >&6
20027 else $as_nop
20028 ac_func_search_save_LIBS=$LIBS
20029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20030 /* end confdefs.h. */
20032 /* Override any GCC internal prototype to avoid an error.
20033 Use char because int might match the return type of a GCC
20034 builtin and then its argument prototype would still apply. */
20035 char clock_gettime ();
20037 main (void)
20039 return clock_gettime ();
20041 return 0;
20043 _ACEOF
20044 for ac_lib in '' rt
20046 if test -z "$ac_lib"; then
20047 ac_res="none required"
20048 else
20049 ac_res=-l$ac_lib
20050 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20052 if ac_fn_c_try_link "$LINENO"
20053 then :
20054 ac_cv_search_clock_gettime=$ac_res
20056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20057 conftest$ac_exeext
20058 if test ${ac_cv_search_clock_gettime+y}
20059 then :
20060 break
20062 done
20063 if test ${ac_cv_search_clock_gettime+y}
20064 then :
20066 else $as_nop
20067 ac_cv_search_clock_gettime=no
20069 rm conftest.$ac_ext
20070 LIBS=$ac_func_search_save_LIBS
20072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20073 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20074 ac_res=$ac_cv_search_clock_gettime
20075 if test "$ac_res" != no
20076 then :
20077 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20079 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20081 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20085 LIBS=$ac_save_LIBS
20087 esac
20089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20090 printf %s "checking for sched_setaffinity... " >&6; }
20091 if test ${wine_cv_have_sched_setaffinity+y}
20092 then :
20093 printf %s "(cached) " >&6
20094 else $as_nop
20095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20096 /* end confdefs.h. */
20097 #include <sched.h>
20099 main (void)
20101 sched_setaffinity(0, 0, 0);
20103 return 0;
20105 _ACEOF
20106 if ac_fn_c_try_link "$LINENO"
20107 then :
20108 wine_cv_have_sched_setaffinity=yes
20109 else $as_nop
20110 wine_cv_have_sched_setaffinity=no
20112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20113 conftest$ac_exeext conftest.$ac_ext
20115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20116 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20117 if test "$wine_cv_have_sched_setaffinity" = "yes"
20118 then
20120 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20126 printf %s "checking for inline... " >&6; }
20127 if test ${ac_cv_c_inline+y}
20128 then :
20129 printf %s "(cached) " >&6
20130 else $as_nop
20131 ac_cv_c_inline=no
20132 for ac_kw in inline __inline__ __inline; do
20133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20134 /* end confdefs.h. */
20135 #ifndef __cplusplus
20136 typedef int foo_t;
20137 static $ac_kw foo_t static_foo (void) {return 0; }
20138 $ac_kw foo_t foo (void) {return 0; }
20139 #endif
20141 _ACEOF
20142 if ac_fn_c_try_compile "$LINENO"
20143 then :
20144 ac_cv_c_inline=$ac_kw
20146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20147 test "$ac_cv_c_inline" != no && break
20148 done
20151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20152 printf "%s\n" "$ac_cv_c_inline" >&6; }
20154 case $ac_cv_c_inline in
20155 inline | yes) ;;
20157 case $ac_cv_c_inline in
20158 no) ac_val=;;
20159 *) ac_val=$ac_cv_c_inline;;
20160 esac
20161 cat >>confdefs.h <<_ACEOF
20162 #ifndef __cplusplus
20163 #define inline $ac_val
20164 #endif
20165 _ACEOF
20167 esac
20169 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20170 #include <signal.h>
20172 if test "x$ac_cv_type_sigset_t" = xyes
20173 then :
20175 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20180 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20182 if test "x$ac_cv_type_request_sense" = xyes
20183 then :
20185 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20191 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20192 #include <sys/socket.h>
20193 #ifdef HAVE_SYS_SOCKETVAR_H
20194 #include <sys/socketvar.h>
20195 #endif
20196 #ifdef HAVE_NET_ROUTE_H
20197 #include <net/route.h>
20198 #endif
20199 #ifdef HAVE_NETINET_IN_H
20200 #include <netinet/in.h>
20201 #endif
20202 #ifdef HAVE_NETINET_IN_SYSTM_H
20203 #include <netinet/in_systm.h>
20204 #endif
20205 #ifdef HAVE_NETINET_IP_H
20206 #include <netinet/ip.h>
20207 #endif
20208 #ifdef HAVE_NETINET_IN_PCB_H
20209 #include <netinet/in_pcb.h>
20210 #endif
20212 if test "x$ac_cv_type_struct_xinpgen" = xyes
20213 then :
20215 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20222 printf %s "checking for sigaddset... " >&6; }
20223 if test ${wine_cv_have_sigaddset+y}
20224 then :
20225 printf %s "(cached) " >&6
20226 else $as_nop
20227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20228 /* end confdefs.h. */
20229 #include <signal.h>
20231 main (void)
20233 sigset_t set; sigaddset(&set,SIGTERM);
20235 return 0;
20237 _ACEOF
20238 if ac_fn_c_try_link "$LINENO"
20239 then :
20240 wine_cv_have_sigaddset=yes
20241 else $as_nop
20242 wine_cv_have_sigaddset=no
20244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20245 conftest$ac_exeext conftest.$ac_ext
20247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20248 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20249 if test "$wine_cv_have_sigaddset" = "yes"
20250 then
20252 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20258 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20259 if test ${wine_cv_linux_gethostbyname_r_6+y}
20260 then :
20261 printf %s "(cached) " >&6
20262 else $as_nop
20263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20264 /* end confdefs.h. */
20265 #include <netdb.h>
20267 main (void)
20270 char *name=0;
20271 struct hostent he;
20272 struct hostent *result;
20273 char *buf=0;
20274 int bufsize=0;
20275 int errnr;
20276 char *addr=0;
20277 int addrlen=0;
20278 int addrtype=0;
20279 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20280 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20283 return 0;
20285 _ACEOF
20286 if ac_fn_c_try_link "$LINENO"
20287 then :
20288 wine_cv_linux_gethostbyname_r_6=yes
20289 else $as_nop
20290 wine_cv_linux_gethostbyname_r_6=no
20293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20294 conftest$ac_exeext conftest.$ac_ext
20297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20298 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20299 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20300 then
20302 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20306 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20307 #include <sys/socket.h>
20308 #ifdef HAVE_SYS_UN_H
20309 # include <sys/un.h>
20310 #endif
20312 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20313 then :
20315 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20319 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20320 #include <sys/socket.h>
20321 #ifdef HAVE_SYS_UN_H
20322 # include <sys/un.h>
20323 #endif
20325 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20326 then :
20328 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20334 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20335 #ifdef HAVE_SCSI_SG_H
20336 #include <scsi/sg.h>
20337 #endif
20339 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20340 then :
20342 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20346 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>
20347 #ifdef HAVE_SCSI_SG_H
20348 #include <scsi/sg.h>
20349 #endif
20351 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20352 then :
20354 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20360 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20362 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20363 then :
20365 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20371 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20372 #ifdef HAVE_SYS_MTIO_H
20373 #include <sys/mtio.h>
20374 #endif
20376 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20377 then :
20379 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20383 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20384 #ifdef HAVE_SYS_MTIO_H
20385 #include <sys/mtio.h>
20386 #endif
20388 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20389 then :
20391 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20395 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20396 #ifdef HAVE_SYS_MTIO_H
20397 #include <sys/mtio.h>
20398 #endif
20400 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20401 then :
20403 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20409 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20410 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20411 then :
20413 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20417 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20418 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20419 then :
20421 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20425 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20426 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20427 then :
20429 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20433 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20434 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20435 then :
20437 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20441 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20442 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20443 then :
20445 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20449 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20450 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20451 then :
20453 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20457 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20458 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20459 then :
20461 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20465 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20466 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20467 then :
20469 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20473 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20474 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20475 then :
20477 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20481 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20482 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20483 then :
20485 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20489 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20490 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20491 then :
20493 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20499 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>
20500 #ifdef HAVE_NETINET_IN_H
20501 #include <netinet/in.h>
20502 #endif
20504 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20505 then :
20507 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20513 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
20514 #include <resolv.h>
20515 #endif
20517 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20518 then :
20520 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20526 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20527 #include <netinet/in.h>
20528 #endif
20530 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20531 then :
20533 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20539 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20540 #ifdef HAVE_SYS_SOCKETVAR_H
20541 #include <sys/socketvar.h>
20542 #endif
20543 #ifdef HAVE_NETINET_IN_H
20544 #include <netinet/in.h>
20545 #endif
20546 #ifdef HAVE_NETINET_IP_VAR_H
20547 #include <netinet/ip_var.h>
20548 #endif
20550 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20551 then :
20553 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20559 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
20560 #include <netinet/ip_var.h>
20561 #endif
20563 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20564 then :
20566 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20572 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20573 #ifdef HAVE_SYS_SOCKETVAR_H
20574 #include <sys/socketvar.h>
20575 #endif
20576 #ifdef HAVE_NETINET_IN_H
20577 #include <netinet/in.h>
20578 #endif
20579 #ifdef HAVE_NETINET6_IP6_VAR_H
20580 #include <netinet6/ip6_var.h>
20581 #endif
20583 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20584 then :
20586 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20592 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20593 #ifdef HAVE_SYS_SOCKETVAR_H
20594 #include <sys/socketvar.h>
20595 #endif
20596 #ifdef HAVE_NETINET_IN_H
20597 #include <netinet/in.h>
20598 #endif
20599 #ifdef HAVE_NETINET_IP_H
20600 #include <netinet/ip.h>
20601 #endif
20602 #ifdef HAVE_NETINET_IP_ICMP_H
20603 #include <netinet/ip_icmp.h>
20604 #endif
20605 #ifdef HAVE_NETINET_ICMP_VAR_H
20606 #include <netinet/icmp_var.h>
20607 #endif
20609 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20610 then :
20612 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20618 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20619 #ifdef HAVE_SYS_SOCKETVAR_H
20620 #include <sys/socketvar.h>
20621 #endif
20622 #ifdef HAVE_NETINET_IN_H
20623 #include <netinet/in.h>
20624 #endif
20625 #ifdef HAVE_NETINET_ICMP6_H
20626 #include <netinet/icmp6.h>
20627 #endif
20629 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20630 then :
20632 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20638 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20639 #ifdef HAVE_SYS_SOCKETVAR_H
20640 #include <sys/socketvar.h>
20641 #endif
20642 #ifdef HAVE_NETINET_IN_H
20643 #include <netinet/in.h>
20644 #endif
20645 #ifdef HAVE_NETINET_TCP_H
20646 #include <netinet/tcp.h>
20647 #endif
20648 #ifdef HAVE_NETINET_TCP_VAR_H
20649 #include <netinet/tcp_var.h>
20650 #endif
20652 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20653 then :
20655 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20661 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
20662 #include <netinet/tcp_var.h>
20663 #endif
20665 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20666 then :
20668 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20674 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20675 #ifdef HAVE_NETINET_IN_H
20676 #include <netinet/in.h>
20677 #endif
20678 #ifdef HAVE_NETINET_IP_VAR_H
20679 #include <netinet/ip_var.h>
20680 #endif
20681 #ifdef HAVE_NETINET_UDP_H
20682 #include <netinet/udp.h>
20683 #endif
20684 #ifdef HAVE_NETINET_UDP_VAR_H
20685 #include <netinet/udp_var.h>
20686 #endif
20688 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20689 then :
20691 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20697 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20698 #ifdef HAVE_NET_IF_H
20699 # include <net/if.h>
20700 #endif
20702 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20703 then :
20705 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20711 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20712 # include <sys/sysinfo.h>
20713 #endif
20715 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20716 then :
20718 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20722 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20723 # include <sys/sysinfo.h>
20724 #endif
20726 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20727 then :
20729 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20735 LIBS="$ac_save_LIBS"
20737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20738 printf %s "checking for __builtin_popcount... " >&6; }
20739 if test ${ac_cv_have___builtin_popcount+y}
20740 then :
20741 printf %s "(cached) " >&6
20742 else $as_nop
20743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h. */
20747 main (void)
20749 return __builtin_popcount(1)
20751 return 0;
20753 _ACEOF
20754 if ac_fn_c_try_link "$LINENO"
20755 then :
20756 ac_cv_have___builtin_popcount="yes"
20757 else $as_nop
20758 ac_cv_have___builtin_popcount="no"
20760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20761 conftest$ac_exeext conftest.$ac_ext
20763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20764 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20765 if test "$ac_cv_have___builtin_popcount" = "yes"
20766 then
20768 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20773 printf %s "checking for __clear_cache... " >&6; }
20774 if test ${ac_cv_have___clear_cache+y}
20775 then :
20776 printf %s "(cached) " >&6
20777 else $as_nop
20778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20779 /* end confdefs.h. */
20782 main (void)
20784 __clear_cache((void*)0, (void*)0); return 0;
20786 return 0;
20788 _ACEOF
20789 if ac_fn_c_try_link "$LINENO"
20790 then :
20791 ac_cv_have___clear_cache="yes"
20792 else $as_nop
20793 ac_cv_have___clear_cache="no"
20795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20796 conftest$ac_exeext conftest.$ac_ext
20798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20799 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20800 if test "$ac_cv_have___clear_cache" = "yes"
20801 then
20803 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20808 case $host_cpu in
20809 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20810 printf %s "checking whether we need to define __i386__... " >&6; }
20811 if test ${ac_cv_cpp_def___i386__+y}
20812 then :
20813 printf %s "(cached) " >&6
20814 else $as_nop
20815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20816 /* end confdefs.h. */
20817 #ifndef __i386__
20819 #endif
20820 _ACEOF
20821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20822 $EGREP "yes" >/dev/null 2>&1
20823 then :
20824 ac_cv_cpp_def___i386__=yes
20825 else $as_nop
20826 ac_cv_cpp_def___i386__=no
20828 rm -rf conftest*
20831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20832 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20833 if test "x$ac_cv_cpp_def___i386__" = xyes
20834 then :
20835 CFLAGS="$CFLAGS -D__i386__"
20836 LINTFLAGS="$LINTFLAGS -D__i386__"
20837 fi ;;
20838 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20839 printf %s "checking whether we need to define __x86_64__... " >&6; }
20840 if test ${ac_cv_cpp_def___x86_64__+y}
20841 then :
20842 printf %s "(cached) " >&6
20843 else $as_nop
20844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20845 /* end confdefs.h. */
20846 #ifndef __x86_64__
20848 #endif
20849 _ACEOF
20850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20851 $EGREP "yes" >/dev/null 2>&1
20852 then :
20853 ac_cv_cpp_def___x86_64__=yes
20854 else $as_nop
20855 ac_cv_cpp_def___x86_64__=no
20857 rm -rf conftest*
20860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20861 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20862 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20863 then :
20864 CFLAGS="$CFLAGS -D__x86_64__"
20865 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20866 fi ;;
20867 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20868 printf %s "checking whether we need to define __sparc64__... " >&6; }
20869 if test ${ac_cv_cpp_def___sparc64__+y}
20870 then :
20871 printf %s "(cached) " >&6
20872 else $as_nop
20873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20874 /* end confdefs.h. */
20875 #ifndef __sparc64__
20877 #endif
20878 _ACEOF
20879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20880 $EGREP "yes" >/dev/null 2>&1
20881 then :
20882 ac_cv_cpp_def___sparc64__=yes
20883 else $as_nop
20884 ac_cv_cpp_def___sparc64__=no
20886 rm -rf conftest*
20889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20890 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20891 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20892 then :
20893 CFLAGS="$CFLAGS -D__sparc64__"
20894 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20895 fi ;;
20896 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20897 printf %s "checking whether we need to define __sparc__... " >&6; }
20898 if test ${ac_cv_cpp_def___sparc__+y}
20899 then :
20900 printf %s "(cached) " >&6
20901 else $as_nop
20902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20903 /* end confdefs.h. */
20904 #ifndef __sparc__
20906 #endif
20907 _ACEOF
20908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20909 $EGREP "yes" >/dev/null 2>&1
20910 then :
20911 ac_cv_cpp_def___sparc__=yes
20912 else $as_nop
20913 ac_cv_cpp_def___sparc__=no
20915 rm -rf conftest*
20918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20919 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20920 if test "x$ac_cv_cpp_def___sparc__" = xyes
20921 then :
20922 CFLAGS="$CFLAGS -D__sparc__"
20923 LINTFLAGS="$LINTFLAGS -D__sparc__"
20924 fi ;;
20925 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20926 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20927 if test ${ac_cv_cpp_def___powerpc64__+y}
20928 then :
20929 printf %s "(cached) " >&6
20930 else $as_nop
20931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h. */
20933 #ifndef __powerpc64__
20935 #endif
20936 _ACEOF
20937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20938 $EGREP "yes" >/dev/null 2>&1
20939 then :
20940 ac_cv_cpp_def___powerpc64__=yes
20941 else $as_nop
20942 ac_cv_cpp_def___powerpc64__=no
20944 rm -rf conftest*
20947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20948 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20949 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20950 then :
20951 CFLAGS="$CFLAGS -D__powerpc64__"
20952 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20953 fi ;;
20954 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20955 printf %s "checking whether we need to define __powerpc__... " >&6; }
20956 if test ${ac_cv_cpp_def___powerpc__+y}
20957 then :
20958 printf %s "(cached) " >&6
20959 else $as_nop
20960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20961 /* end confdefs.h. */
20962 #ifndef __powerpc__
20964 #endif
20965 _ACEOF
20966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20967 $EGREP "yes" >/dev/null 2>&1
20968 then :
20969 ac_cv_cpp_def___powerpc__=yes
20970 else $as_nop
20971 ac_cv_cpp_def___powerpc__=no
20973 rm -rf conftest*
20976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20977 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20978 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20979 then :
20980 CFLAGS="$CFLAGS -D__powerpc__"
20981 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20982 fi ;;
20983 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20984 printf %s "checking whether we need to define __aarch64__... " >&6; }
20985 if test ${ac_cv_cpp_def___aarch64__+y}
20986 then :
20987 printf %s "(cached) " >&6
20988 else $as_nop
20989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20990 /* end confdefs.h. */
20991 #ifndef __aarch64__
20993 #endif
20994 _ACEOF
20995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20996 $EGREP "yes" >/dev/null 2>&1
20997 then :
20998 ac_cv_cpp_def___aarch64__=yes
20999 else $as_nop
21000 ac_cv_cpp_def___aarch64__=no
21002 rm -rf conftest*
21005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21006 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21007 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21008 then :
21009 CFLAGS="$CFLAGS -D__aarch64__"
21010 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21011 fi ;;
21012 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21013 printf %s "checking whether we need to define __arm__... " >&6; }
21014 if test ${ac_cv_cpp_def___arm__+y}
21015 then :
21016 printf %s "(cached) " >&6
21017 else $as_nop
21018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21019 /* end confdefs.h. */
21020 #ifndef __arm__
21022 #endif
21023 _ACEOF
21024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21025 $EGREP "yes" >/dev/null 2>&1
21026 then :
21027 ac_cv_cpp_def___arm__=yes
21028 else $as_nop
21029 ac_cv_cpp_def___arm__=no
21031 rm -rf conftest*
21034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21035 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21036 if test "x$ac_cv_cpp_def___arm__" = xyes
21037 then :
21038 CFLAGS="$CFLAGS -D__arm__"
21039 LINTFLAGS="$LINTFLAGS -D__arm__"
21040 fi ;;
21041 esac
21043 case $host_vendor in
21044 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21045 printf %s "checking whether we need to define __sun__... " >&6; }
21046 if test ${ac_cv_cpp_def___sun__+y}
21047 then :
21048 printf %s "(cached) " >&6
21049 else $as_nop
21050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21051 /* end confdefs.h. */
21052 #ifndef __sun__
21054 #endif
21055 _ACEOF
21056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21057 $EGREP "yes" >/dev/null 2>&1
21058 then :
21059 ac_cv_cpp_def___sun__=yes
21060 else $as_nop
21061 ac_cv_cpp_def___sun__=no
21063 rm -rf conftest*
21066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21067 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21068 if test "x$ac_cv_cpp_def___sun__" = xyes
21069 then :
21070 CFLAGS="$CFLAGS -D__sun__"
21071 LINTFLAGS="$LINTFLAGS -D__sun__"
21072 fi ;;
21073 esac
21079 ac_config_commands="$ac_config_commands include/stamp-h"
21081 printf %s "creating Makefile rules..." >&6
21083 makedep_flags=""
21084 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21086 wine_srcdir=
21087 test "$srcdir" = . || wine_srcdir="$srcdir/"
21089 ac_config_links="$ac_config_links wine:tools/winewrapper"
21090 wine_fn_config_symlink wine
21091 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
21092 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21093 wine_fn_config_symlink wine64
21096 wine_fn_config_makefile dlls/acledit enable_acledit
21097 wine_fn_config_makefile dlls/aclui enable_aclui
21098 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21099 wine_fn_config_makefile dlls/activeds enable_activeds
21100 wine_fn_config_makefile dlls/activeds/tests enable_tests
21101 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21102 wine_fn_config_makefile dlls/adsldp enable_adsldp
21103 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21104 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21105 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21106 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21107 wine_fn_config_makefile dlls/advpack enable_advpack
21108 wine_fn_config_makefile dlls/advpack/tests enable_tests
21109 wine_fn_config_makefile dlls/amsi enable_amsi
21110 wine_fn_config_makefile dlls/amstream enable_amstream
21111 wine_fn_config_makefile dlls/amstream/tests enable_tests
21112 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21113 wine_fn_config_makefile dlls/apphelp enable_apphelp
21114 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21115 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21116 wine_fn_config_makefile dlls/atl enable_atl
21117 wine_fn_config_makefile dlls/atl/tests enable_tests
21118 wine_fn_config_makefile dlls/atl100 enable_atl100
21119 wine_fn_config_makefile dlls/atl100/tests enable_tests
21120 wine_fn_config_makefile dlls/atl110 enable_atl110
21121 wine_fn_config_makefile dlls/atl110/tests enable_tests
21122 wine_fn_config_makefile dlls/atl80 enable_atl80
21123 wine_fn_config_makefile dlls/atl80/tests enable_tests
21124 wine_fn_config_makefile dlls/atl90 enable_atl90
21125 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21126 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21127 wine_fn_config_makefile dlls/atmlib enable_atmlib
21128 wine_fn_config_makefile dlls/authz enable_authz
21129 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21130 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21131 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21132 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21133 wine_fn_config_makefile dlls/avrt enable_avrt
21134 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21135 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21136 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21137 wine_fn_config_makefile dlls/browseui enable_browseui
21138 wine_fn_config_makefile dlls/browseui/tests enable_tests
21139 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21140 wine_fn_config_makefile dlls/cabinet enable_cabinet
21141 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21142 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21143 wine_fn_config_makefile dlls/cards enable_cards
21144 wine_fn_config_makefile dlls/cdosys enable_cdosys
21145 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21146 wine_fn_config_makefile dlls/clusapi enable_clusapi
21147 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21148 wine_fn_config_makefile dlls/combase enable_combase
21149 wine_fn_config_makefile dlls/combase/tests enable_tests
21150 wine_fn_config_makefile dlls/comcat enable_comcat
21151 wine_fn_config_makefile dlls/comcat/tests enable_tests
21152 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21153 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21154 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21155 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21156 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21157 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21158 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21159 wine_fn_config_makefile dlls/compstui enable_compstui
21160 wine_fn_config_makefile dlls/compstui/tests enable_tests
21161 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21162 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21163 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21164 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21165 wine_fn_config_makefile dlls/connect enable_connect
21166 wine_fn_config_makefile dlls/credui enable_credui
21167 wine_fn_config_makefile dlls/credui/tests enable_tests
21168 wine_fn_config_makefile dlls/crtdll enable_crtdll
21169 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21170 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21171 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21172 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21173 wine_fn_config_makefile dlls/cryptext enable_cryptext
21174 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21175 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21176 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21177 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21178 wine_fn_config_makefile dlls/cryptui enable_cryptui
21179 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21180 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21181 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21182 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21183 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21184 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21185 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21186 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21187 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21188 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21189 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21190 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21191 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21192 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21193 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21194 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21195 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21196 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21197 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21198 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21199 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21200 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21201 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21202 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21203 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21204 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21205 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21206 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21207 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21208 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21209 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21210 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21211 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21212 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21213 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21214 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21215 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21216 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21217 wine_fn_config_makefile dlls/d3dim enable_d3dim
21218 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21219 wine_fn_config_makefile dlls/d3drm enable_d3drm
21220 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21221 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21222 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21223 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21224 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21225 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21226 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21227 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21228 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21229 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21230 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21231 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21232 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21233 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21234 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21235 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21236 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21237 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21238 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21239 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21240 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21241 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21242 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21243 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21244 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21245 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21246 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21247 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21248 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21249 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21250 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21251 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21252 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21253 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21254 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21255 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21256 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21257 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21258 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21259 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21260 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21261 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21262 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21263 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21264 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21265 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21266 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21267 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21268 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21269 wine_fn_config_makefile dlls/davclnt enable_davclnt
21270 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21271 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21272 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21273 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21274 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21275 wine_fn_config_makefile dlls/dcomp enable_dcomp
21276 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21277 wine_fn_config_makefile dlls/ddraw enable_ddraw
21278 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21279 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21280 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21281 wine_fn_config_makefile dlls/devenum enable_devenum
21282 wine_fn_config_makefile dlls/devenum/tests enable_tests
21283 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21284 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21285 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21286 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21287 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21288 wine_fn_config_makefile dlls/difxapi enable_difxapi
21289 wine_fn_config_makefile dlls/dinput enable_dinput
21290 wine_fn_config_makefile dlls/dinput/tests enable_tests
21291 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21292 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21293 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21294 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21295 wine_fn_config_makefile dlls/dispex enable_dispex
21296 wine_fn_config_makefile dlls/dispex/tests enable_tests
21297 wine_fn_config_makefile dlls/display.drv16 enable_win16
21298 wine_fn_config_makefile dlls/dmband enable_dmband
21299 wine_fn_config_makefile dlls/dmband/tests enable_tests
21300 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21301 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21302 wine_fn_config_makefile dlls/dmime enable_dmime
21303 wine_fn_config_makefile dlls/dmime/tests enable_tests
21304 wine_fn_config_makefile dlls/dmloader enable_dmloader
21305 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21306 wine_fn_config_makefile dlls/dmscript enable_dmscript
21307 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21308 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21309 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21310 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21311 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21312 wine_fn_config_makefile dlls/dmusic enable_dmusic
21313 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21314 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21315 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21316 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21317 wine_fn_config_makefile dlls/dplay enable_dplay
21318 wine_fn_config_makefile dlls/dplayx enable_dplayx
21319 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21320 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21321 wine_fn_config_makefile dlls/dpnet enable_dpnet
21322 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21323 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21324 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21325 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21326 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21327 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21328 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21329 wine_fn_config_makefile dlls/drmclien enable_drmclien
21330 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21331 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21332 wine_fn_config_makefile dlls/dsound enable_dsound
21333 wine_fn_config_makefile dlls/dsound/tests enable_tests
21334 wine_fn_config_makefile dlls/dsquery enable_dsquery
21335 wine_fn_config_makefile dlls/dssenh enable_dssenh
21336 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21337 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21338 wine_fn_config_makefile dlls/dswave enable_dswave
21339 wine_fn_config_makefile dlls/dswave/tests enable_tests
21340 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21341 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21342 wine_fn_config_makefile dlls/dwrite enable_dwrite
21343 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21344 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21345 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21346 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21347 wine_fn_config_makefile dlls/dxgi enable_dxgi
21348 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21349 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21350 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21351 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21352 wine_fn_config_makefile dlls/esent enable_esent
21353 wine_fn_config_makefile dlls/evr enable_evr
21354 wine_fn_config_makefile dlls/evr/tests enable_tests
21355 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21356 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21357 wine_fn_config_makefile dlls/faultrep enable_faultrep
21358 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21359 wine_fn_config_makefile dlls/feclient enable_feclient
21360 wine_fn_config_makefile dlls/fltlib enable_fltlib
21361 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21362 wine_fn_config_makefile dlls/fntcache enable_fntcache
21363 wine_fn_config_makefile dlls/fontsub enable_fontsub
21364 wine_fn_config_makefile dlls/fusion enable_fusion
21365 wine_fn_config_makefile dlls/fusion/tests enable_tests
21366 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21367 wine_fn_config_makefile dlls/gameux enable_gameux
21368 wine_fn_config_makefile dlls/gameux/tests enable_tests
21369 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21370 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21371 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21372 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21373 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21374 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21375 wine_fn_config_makefile dlls/glu32 enable_glu32
21376 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21377 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21378 wine_fn_config_makefile dlls/hal enable_hal
21379 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21380 wine_fn_config_makefile dlls/hid enable_hid
21381 wine_fn_config_makefile dlls/hid/tests enable_tests
21382 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21383 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21384 wine_fn_config_makefile dlls/hlink enable_hlink
21385 wine_fn_config_makefile dlls/hlink/tests enable_tests
21386 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21387 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21388 wine_fn_config_makefile dlls/http.sys enable_http_sys
21389 wine_fn_config_makefile dlls/httpapi enable_httpapi
21390 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21391 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21392 wine_fn_config_makefile dlls/iccvid enable_iccvid
21393 wine_fn_config_makefile dlls/icmp enable_icmp
21394 wine_fn_config_makefile dlls/ieframe enable_ieframe
21395 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21396 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21397 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21398 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21399 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21400 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21401 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21402 wine_fn_config_makefile dlls/imm32 enable_imm32
21403 wine_fn_config_makefile dlls/imm32/tests enable_tests
21404 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21405 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21406 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21407 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21408 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21409 wine_fn_config_makefile dlls/infosoft enable_infosoft
21410 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21411 wine_fn_config_makefile dlls/initpki enable_initpki
21412 wine_fn_config_makefile dlls/inkobj enable_inkobj
21413 wine_fn_config_makefile dlls/inseng enable_inseng
21414 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21415 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21416 wine_fn_config_makefile dlls/iprop enable_iprop
21417 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21418 wine_fn_config_makefile dlls/itircl enable_itircl
21419 wine_fn_config_makefile dlls/itss enable_itss
21420 wine_fn_config_makefile dlls/itss/tests enable_tests
21421 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21422 wine_fn_config_makefile dlls/jscript enable_jscript
21423 wine_fn_config_makefile dlls/jscript/tests enable_tests
21424 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21425 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21426 wine_fn_config_makefile dlls/kerberos enable_kerberos
21427 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21428 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21429 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21430 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21431 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21432 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21433 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21434 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21435 wine_fn_config_makefile dlls/ksuser enable_ksuser
21436 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21437 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21438 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21439 wine_fn_config_makefile dlls/loadperf enable_loadperf
21440 wine_fn_config_makefile dlls/localspl enable_localspl
21441 wine_fn_config_makefile dlls/localspl/tests enable_tests
21442 wine_fn_config_makefile dlls/localui enable_localui
21443 wine_fn_config_makefile dlls/localui/tests enable_tests
21444 wine_fn_config_makefile dlls/lz32 enable_lz32
21445 wine_fn_config_makefile dlls/lz32/tests enable_tests
21446 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21447 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21448 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21449 wine_fn_config_makefile dlls/mapistub enable_mapistub
21450 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21451 wine_fn_config_makefile dlls/mcicda enable_mcicda
21452 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21453 wine_fn_config_makefile dlls/mciseq enable_mciseq
21454 wine_fn_config_makefile dlls/mciwave enable_mciwave
21455 wine_fn_config_makefile dlls/mf enable_mf
21456 wine_fn_config_makefile dlls/mf/tests enable_tests
21457 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21458 wine_fn_config_makefile dlls/mferror enable_mferror
21459 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21460 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21461 wine_fn_config_makefile dlls/mfplat enable_mfplat
21462 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21463 wine_fn_config_makefile dlls/mfplay enable_mfplay
21464 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21465 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21466 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21467 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21468 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21469 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21470 wine_fn_config_makefile dlls/midimap enable_midimap
21471 wine_fn_config_makefile dlls/mlang enable_mlang
21472 wine_fn_config_makefile dlls/mlang/tests enable_tests
21473 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21474 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21475 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21476 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21477 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21478 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21479 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21480 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21481 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21482 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21483 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21484 wine_fn_config_makefile dlls/mpr enable_mpr
21485 wine_fn_config_makefile dlls/mpr/tests enable_tests
21486 wine_fn_config_makefile dlls/mprapi enable_mprapi
21487 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21488 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21489 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21490 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21491 wine_fn_config_makefile dlls/msado15 enable_msado15
21492 wine_fn_config_makefile dlls/msado15/tests enable_tests
21493 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21494 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21495 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21496 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21497 wine_fn_config_makefile dlls/mscms enable_mscms
21498 wine_fn_config_makefile dlls/mscms/tests enable_tests
21499 wine_fn_config_makefile dlls/mscoree enable_mscoree
21500 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21501 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21502 wine_fn_config_makefile dlls/msctf enable_msctf
21503 wine_fn_config_makefile dlls/msctf/tests enable_tests
21504 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21505 wine_fn_config_makefile dlls/msctfp enable_msctfp
21506 wine_fn_config_makefile dlls/msdaps enable_msdaps
21507 wine_fn_config_makefile dlls/msdasql enable_msdasql
21508 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21509 wine_fn_config_makefile dlls/msdelta enable_msdelta
21510 wine_fn_config_makefile dlls/msdmo enable_msdmo
21511 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21512 wine_fn_config_makefile dlls/msdrm enable_msdrm
21513 wine_fn_config_makefile dlls/msftedit enable_msftedit
21514 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21515 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21516 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21517 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21518 wine_fn_config_makefile dlls/mshtml enable_mshtml
21519 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21520 wine_fn_config_makefile dlls/msi enable_msi
21521 wine_fn_config_makefile dlls/msi/tests enable_tests
21522 wine_fn_config_makefile dlls/msident enable_msident
21523 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21524 wine_fn_config_makefile dlls/msimsg enable_msimsg
21525 wine_fn_config_makefile dlls/msimtf enable_msimtf
21526 wine_fn_config_makefile dlls/msisip enable_msisip
21527 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21528 wine_fn_config_makefile dlls/msls31 enable_msls31
21529 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21530 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21531 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21532 wine_fn_config_makefile dlls/msports enable_msports
21533 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21534 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21535 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21536 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21537 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21538 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21539 wine_fn_config_makefile dlls/mstask enable_mstask
21540 wine_fn_config_makefile dlls/mstask/tests enable_tests
21541 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21542 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21543 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21544 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21545 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21546 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21547 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21548 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21549 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21550 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21551 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21552 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21553 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21554 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21555 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21556 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21557 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21558 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21559 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21560 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21561 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21562 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21563 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21564 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21565 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21566 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21567 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21568 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21569 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21570 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21571 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21572 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21573 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21574 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21575 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21576 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21577 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21578 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21579 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21580 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21581 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21582 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21583 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21584 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21585 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21586 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21587 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21588 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21589 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21590 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21591 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21592 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21593 wine_fn_config_makefile dlls/mswsock enable_mswsock
21594 wine_fn_config_makefile dlls/msxml enable_msxml
21595 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21596 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21597 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21598 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21599 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21600 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21601 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21602 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21603 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21604 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21605 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21606 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21607 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21608 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21609 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21610 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21611 wine_fn_config_makefile dlls/netprofm enable_netprofm
21612 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21613 wine_fn_config_makefile dlls/netutils enable_netutils
21614 wine_fn_config_makefile dlls/newdev enable_newdev
21615 wine_fn_config_makefile dlls/ninput enable_ninput
21616 wine_fn_config_makefile dlls/ninput/tests enable_tests
21617 wine_fn_config_makefile dlls/normaliz enable_normaliz
21618 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21619 wine_fn_config_makefile dlls/npptools enable_npptools
21620 wine_fn_config_makefile dlls/nsi enable_nsi
21621 wine_fn_config_makefile dlls/nsi/tests enable_tests
21622 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21623 wine_fn_config_makefile dlls/ntdll enable_ntdll
21624 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21625 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21626 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21627 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21628 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21629 wine_fn_config_makefile dlls/ntprint enable_ntprint
21630 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21631 wine_fn_config_makefile dlls/objsel enable_objsel
21632 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21633 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21634 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21635 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21636 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21637 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21638 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21639 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21640 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21641 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21642 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21643 wine_fn_config_makefile dlls/ole32 enable_ole32
21644 wine_fn_config_makefile dlls/ole32/tests enable_tests
21645 wine_fn_config_makefile dlls/oleacc enable_oleacc
21646 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21647 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21648 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21649 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21650 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21651 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21652 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21653 wine_fn_config_makefile dlls/oledlg enable_oledlg
21654 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21655 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21656 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21657 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21658 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21659 wine_fn_config_makefile dlls/opcservices enable_opcservices
21660 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21661 wine_fn_config_makefile dlls/opencl enable_opencl
21662 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21663 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21664 wine_fn_config_makefile dlls/packager enable_packager
21665 wine_fn_config_makefile dlls/packager/tests enable_tests
21666 wine_fn_config_makefile dlls/pdh enable_pdh
21667 wine_fn_config_makefile dlls/pdh/tests enable_tests
21668 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21669 wine_fn_config_makefile dlls/pidgen enable_pidgen
21670 wine_fn_config_makefile dlls/powrprof enable_powrprof
21671 wine_fn_config_makefile dlls/printui enable_printui
21672 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21673 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21674 wine_fn_config_makefile dlls/propsys enable_propsys
21675 wine_fn_config_makefile dlls/propsys/tests enable_tests
21676 wine_fn_config_makefile dlls/psapi enable_psapi
21677 wine_fn_config_makefile dlls/psapi/tests enable_tests
21678 wine_fn_config_makefile dlls/pstorec enable_pstorec
21679 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21680 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21681 wine_fn_config_makefile dlls/qasf enable_qasf
21682 wine_fn_config_makefile dlls/qasf/tests enable_tests
21683 wine_fn_config_makefile dlls/qcap enable_qcap
21684 wine_fn_config_makefile dlls/qcap/tests enable_tests
21685 wine_fn_config_makefile dlls/qdvd enable_qdvd
21686 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21687 wine_fn_config_makefile dlls/qedit enable_qedit
21688 wine_fn_config_makefile dlls/qedit/tests enable_tests
21689 wine_fn_config_makefile dlls/qmgr enable_qmgr
21690 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21691 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21692 wine_fn_config_makefile dlls/quartz enable_quartz
21693 wine_fn_config_makefile dlls/quartz/tests enable_tests
21694 wine_fn_config_makefile dlls/query enable_query
21695 wine_fn_config_makefile dlls/qwave enable_qwave
21696 wine_fn_config_makefile dlls/qwave/tests enable_tests
21697 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21698 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21699 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21700 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21701 wine_fn_config_makefile dlls/regapi enable_regapi
21702 wine_fn_config_makefile dlls/resutils enable_resutils
21703 wine_fn_config_makefile dlls/riched20 enable_riched20
21704 wine_fn_config_makefile dlls/riched20/tests enable_tests
21705 wine_fn_config_makefile dlls/riched32 enable_riched32
21706 wine_fn_config_makefile dlls/riched32/tests enable_tests
21707 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21708 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21709 wine_fn_config_makefile dlls/rsabase enable_rsabase
21710 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21711 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21712 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21713 wine_fn_config_makefile dlls/rtutils enable_rtutils
21714 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21715 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21716 wine_fn_config_makefile dlls/samlib enable_samlib
21717 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21718 wine_fn_config_makefile dlls/sapi enable_sapi
21719 wine_fn_config_makefile dlls/sapi/tests enable_tests
21720 wine_fn_config_makefile dlls/sas enable_sas
21721 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21722 wine_fn_config_makefile dlls/sccbase enable_sccbase
21723 wine_fn_config_makefile dlls/schannel enable_schannel
21724 wine_fn_config_makefile dlls/schannel/tests enable_tests
21725 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21726 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21727 wine_fn_config_makefile dlls/scrobj enable_scrobj
21728 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21729 wine_fn_config_makefile dlls/scrrun enable_scrrun
21730 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21731 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21732 wine_fn_config_makefile dlls/sechost enable_sechost
21733 wine_fn_config_makefile dlls/secur32 enable_secur32
21734 wine_fn_config_makefile dlls/secur32/tests enable_tests
21735 wine_fn_config_makefile dlls/security enable_security
21736 wine_fn_config_makefile dlls/sensapi enable_sensapi
21737 wine_fn_config_makefile dlls/serialui enable_serialui
21738 wine_fn_config_makefile dlls/serialui/tests enable_tests
21739 wine_fn_config_makefile dlls/setupapi enable_setupapi
21740 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21741 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21742 wine_fn_config_makefile dlls/sfc enable_sfc
21743 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21744 wine_fn_config_makefile dlls/shcore enable_shcore
21745 wine_fn_config_makefile dlls/shcore/tests enable_tests
21746 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21747 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21748 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21749 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21750 wine_fn_config_makefile dlls/shell32 enable_shell32
21751 wine_fn_config_makefile dlls/shell32/tests enable_tests
21752 wine_fn_config_makefile dlls/shfolder enable_shfolder
21753 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21754 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21755 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21756 wine_fn_config_makefile dlls/slc enable_slc
21757 wine_fn_config_makefile dlls/slc/tests enable_tests
21758 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21759 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21760 wine_fn_config_makefile dlls/softpub enable_softpub
21761 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21762 wine_fn_config_makefile dlls/spoolss enable_spoolss
21763 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21764 wine_fn_config_makefile dlls/sppc enable_sppc
21765 wine_fn_config_makefile dlls/srclient enable_srclient
21766 wine_fn_config_makefile dlls/srvcli enable_srvcli
21767 wine_fn_config_makefile dlls/sspicli enable_sspicli
21768 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21769 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21770 wine_fn_config_makefile dlls/sti enable_sti
21771 wine_fn_config_makefile dlls/sti/tests enable_tests
21772 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21773 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21774 wine_fn_config_makefile dlls/strmdll enable_strmdll
21775 wine_fn_config_makefile dlls/svrapi enable_svrapi
21776 wine_fn_config_makefile dlls/sxs enable_sxs
21777 wine_fn_config_makefile dlls/sxs/tests enable_tests
21778 wine_fn_config_makefile dlls/system.drv16 enable_win16
21779 wine_fn_config_makefile dlls/t2embed enable_t2embed
21780 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21781 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21782 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21783 wine_fn_config_makefile dlls/taskschd enable_taskschd
21784 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21785 wine_fn_config_makefile dlls/tbs enable_tbs
21786 wine_fn_config_makefile dlls/tdh enable_tdh
21787 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21788 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21789 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21790 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21791 wine_fn_config_makefile dlls/traffic enable_traffic
21792 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21793 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21794 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21795 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21796 wine_fn_config_makefile dlls/tzres enable_tzres
21797 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21798 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21799 wine_fn_config_makefile dlls/uianimation enable_uianimation
21800 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21801 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21802 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21803 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21804 wine_fn_config_makefile dlls/unicows enable_unicows
21805 wine_fn_config_makefile dlls/updspapi enable_updspapi
21806 wine_fn_config_makefile dlls/url enable_url
21807 wine_fn_config_makefile dlls/urlmon enable_urlmon
21808 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21809 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21810 wine_fn_config_makefile dlls/user.exe16 enable_win16
21811 wine_fn_config_makefile dlls/user32 enable_user32
21812 wine_fn_config_makefile dlls/user32/tests enable_tests
21813 wine_fn_config_makefile dlls/userenv enable_userenv
21814 wine_fn_config_makefile dlls/userenv/tests enable_tests
21815 wine_fn_config_makefile dlls/usp10 enable_usp10
21816 wine_fn_config_makefile dlls/usp10/tests enable_tests
21817 wine_fn_config_makefile dlls/utildll enable_utildll
21818 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21819 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21820 wine_fn_config_makefile dlls/vbscript enable_vbscript
21821 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21822 wine_fn_config_makefile dlls/vcomp enable_vcomp
21823 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21824 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21825 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21826 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21827 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21828 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21829 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21830 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21831 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21832 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21833 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21834 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21835 wine_fn_config_makefile dlls/version enable_version
21836 wine_fn_config_makefile dlls/version/tests enable_tests
21837 wine_fn_config_makefile dlls/vga enable_vga
21838 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21839 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21840 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21841 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21842 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21843 wine_fn_config_makefile dlls/vssapi enable_vssapi
21844 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21845 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21846 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21847 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21848 wine_fn_config_makefile dlls/w32skrnl enable_win16
21849 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21850 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21851 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21852 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21853 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21854 wine_fn_config_makefile dlls/wdscore enable_wdscore
21855 wine_fn_config_makefile dlls/webservices enable_webservices
21856 wine_fn_config_makefile dlls/webservices/tests enable_tests
21857 wine_fn_config_makefile dlls/websocket enable_websocket
21858 wine_fn_config_makefile dlls/wer enable_wer
21859 wine_fn_config_makefile dlls/wer/tests enable_tests
21860 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21861 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21862 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21863 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21864 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21865 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21866 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21867 wine_fn_config_makefile dlls/win32u enable_win32u
21868 wine_fn_config_makefile dlls/win32u/tests enable_tests
21869 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21870 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21871 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21872 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21873 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21874 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21875 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21876 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21877 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21878 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21879 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21880 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21881 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21882 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21883 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21884 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21885 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21886 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21887 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21888 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21889 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21890 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21891 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21892 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21893 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21894 wine_fn_config_makefile dlls/wined3d enable_wined3d
21895 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21896 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21897 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21898 wine_fn_config_makefile dlls/winemapi enable_winemapi
21899 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21900 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21901 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21902 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21903 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21904 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21905 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21906 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21907 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21908 wine_fn_config_makefile dlls/wing32 enable_wing32
21909 wine_fn_config_makefile dlls/winhttp enable_winhttp
21910 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21911 wine_fn_config_makefile dlls/wininet enable_wininet
21912 wine_fn_config_makefile dlls/wininet/tests enable_tests
21913 wine_fn_config_makefile dlls/winmm enable_winmm
21914 wine_fn_config_makefile dlls/winmm/tests enable_tests
21915 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21916 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21917 wine_fn_config_makefile dlls/winscard enable_winscard
21918 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21919 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21920 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21921 wine_fn_config_makefile dlls/winsta enable_winsta
21922 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21923 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21924 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21925 wine_fn_config_makefile dlls/wintrust enable_wintrust
21926 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21927 wine_fn_config_makefile dlls/wintypes enable_wintypes
21928 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21929 wine_fn_config_makefile dlls/winusb enable_winusb
21930 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21931 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21932 wine_fn_config_makefile dlls/wlanui enable_wlanui
21933 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21934 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21935 wine_fn_config_makefile dlls/wmasf enable_wmasf
21936 wine_fn_config_makefile dlls/wmi enable_wmi
21937 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21938 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21939 wine_fn_config_makefile dlls/wmp enable_wmp
21940 wine_fn_config_makefile dlls/wmp/tests enable_tests
21941 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21942 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21943 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21944 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21945 wine_fn_config_makefile dlls/wow32 enable_win16
21946 wine_fn_config_makefile dlls/wow64 enable_wow64
21947 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21948 wine_fn_config_makefile dlls/wow64win enable_wow64win
21949 wine_fn_config_makefile dlls/wpc enable_wpc
21950 wine_fn_config_makefile dlls/wpc/tests enable_tests
21951 wine_fn_config_makefile dlls/wpcap enable_wpcap
21952 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21953 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21954 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21955 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21956 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21957 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21958 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21959 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21960 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21961 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21962 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21963 wine_fn_config_makefile dlls/wuapi enable_wuapi
21964 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21965 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21966 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21967 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21968 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21969 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21970 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21971 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21972 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21973 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21974 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21975 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21976 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21977 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21978 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21979 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21980 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21981 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21982 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21983 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21984 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21985 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21986 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21987 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21988 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21989 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21990 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21991 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21992 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21993 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21994 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21995 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21996 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21997 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21998 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21999 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22000 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22001 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22002 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22003 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22004 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22005 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22006 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22007 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22008 wine_fn_config_makefile dlls/xmllite enable_xmllite
22009 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22010 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22011 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22012 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22013 wine_fn_config_makefile fonts enable_fonts
22014 wine_fn_config_makefile include enable_include
22015 wine_fn_config_makefile libs/adsiid enable_adsiid
22016 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22017 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22018 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22019 wine_fn_config_makefile libs/dxguid enable_dxguid
22020 wine_fn_config_makefile libs/faudio enable_faudio
22021 wine_fn_config_makefile libs/gsm enable_gsm
22022 wine_fn_config_makefile libs/jpeg enable_jpeg
22023 wine_fn_config_makefile libs/jxr enable_jxr
22024 wine_fn_config_makefile libs/lcms2 enable_lcms2
22025 wine_fn_config_makefile libs/ldap enable_ldap
22026 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22027 wine_fn_config_makefile libs/mpg123 enable_mpg123
22028 wine_fn_config_makefile libs/png enable_png
22029 wine_fn_config_makefile libs/strmbase enable_strmbase
22030 wine_fn_config_makefile libs/strmiids enable_strmiids
22031 wine_fn_config_makefile libs/tiff enable_tiff
22032 wine_fn_config_makefile libs/uuid enable_uuid
22033 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22034 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22035 wine_fn_config_makefile libs/wine enable_wine
22036 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22037 wine_fn_config_makefile libs/xml2 enable_xml2
22038 wine_fn_config_makefile libs/xslt enable_xslt
22039 wine_fn_config_makefile libs/zlib enable_zlib
22040 wine_fn_config_makefile loader enable_loader
22041 wine_fn_config_makefile nls enable_nls
22042 wine_fn_config_makefile po enable_po
22043 wine_fn_config_makefile programs/arp enable_arp
22044 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22045 wine_fn_config_makefile programs/attrib enable_attrib
22046 wine_fn_config_makefile programs/cabarc enable_cabarc
22047 wine_fn_config_makefile programs/cacls enable_cacls
22048 wine_fn_config_makefile programs/certutil enable_certutil
22049 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22050 wine_fn_config_makefile programs/clock enable_clock
22051 wine_fn_config_makefile programs/cmd enable_cmd
22052 wine_fn_config_makefile programs/cmd/tests enable_tests
22053 wine_fn_config_makefile programs/conhost enable_conhost
22054 wine_fn_config_makefile programs/conhost/tests enable_tests
22055 wine_fn_config_makefile programs/control enable_control
22056 wine_fn_config_makefile programs/cscript enable_cscript
22057 wine_fn_config_makefile programs/dism enable_dism
22058 wine_fn_config_makefile programs/dllhost enable_dllhost
22059 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22060 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22061 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22062 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22063 wine_fn_config_makefile programs/eject enable_eject
22064 wine_fn_config_makefile programs/expand enable_expand
22065 wine_fn_config_makefile programs/explorer enable_explorer
22066 wine_fn_config_makefile programs/extrac32 enable_extrac32
22067 wine_fn_config_makefile programs/fc enable_fc
22068 wine_fn_config_makefile programs/find enable_find
22069 wine_fn_config_makefile programs/find/tests enable_tests
22070 wine_fn_config_makefile programs/findstr enable_findstr
22071 wine_fn_config_makefile programs/fsutil enable_fsutil
22072 wine_fn_config_makefile programs/fsutil/tests enable_tests
22073 wine_fn_config_makefile programs/hh enable_hh
22074 wine_fn_config_makefile programs/hostname enable_hostname
22075 wine_fn_config_makefile programs/icacls enable_icacls
22076 wine_fn_config_makefile programs/icinfo enable_icinfo
22077 wine_fn_config_makefile programs/iexplore enable_iexplore
22078 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22079 wine_fn_config_makefile programs/lodctr enable_lodctr
22080 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22081 wine_fn_config_makefile programs/mshta enable_mshta
22082 wine_fn_config_makefile programs/msidb enable_msidb
22083 wine_fn_config_makefile programs/msiexec enable_msiexec
22084 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22085 wine_fn_config_makefile programs/net enable_net
22086 wine_fn_config_makefile programs/netsh enable_netsh
22087 wine_fn_config_makefile programs/netstat enable_netstat
22088 wine_fn_config_makefile programs/ngen enable_ngen
22089 wine_fn_config_makefile programs/notepad enable_notepad
22090 wine_fn_config_makefile programs/oleview enable_oleview
22091 wine_fn_config_makefile programs/ping enable_ping
22092 wine_fn_config_makefile programs/plugplay enable_plugplay
22093 wine_fn_config_makefile programs/powershell enable_powershell
22094 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22095 wine_fn_config_makefile programs/progman enable_progman
22096 wine_fn_config_makefile programs/reg enable_reg
22097 wine_fn_config_makefile programs/reg/tests enable_tests
22098 wine_fn_config_makefile programs/regasm enable_regasm
22099 wine_fn_config_makefile programs/regedit enable_regedit
22100 wine_fn_config_makefile programs/regedit/tests enable_tests
22101 wine_fn_config_makefile programs/regini enable_regini
22102 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22103 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22104 wine_fn_config_makefile programs/robocopy enable_robocopy
22105 wine_fn_config_makefile programs/rpcss enable_rpcss
22106 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22107 wine_fn_config_makefile programs/rundll32 enable_rundll32
22108 wine_fn_config_makefile programs/sc enable_sc
22109 wine_fn_config_makefile programs/sc/tests enable_tests
22110 wine_fn_config_makefile programs/schtasks enable_schtasks
22111 wine_fn_config_makefile programs/schtasks/tests enable_tests
22112 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22113 wine_fn_config_makefile programs/secedit enable_secedit
22114 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22115 wine_fn_config_makefile programs/services enable_services
22116 wine_fn_config_makefile programs/services/tests enable_tests
22117 wine_fn_config_makefile programs/setx enable_setx
22118 wine_fn_config_makefile programs/shutdown enable_shutdown
22119 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22120 wine_fn_config_makefile programs/start enable_start
22121 wine_fn_config_makefile programs/subst enable_subst
22122 wine_fn_config_makefile programs/svchost enable_svchost
22123 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22124 wine_fn_config_makefile programs/taskkill enable_taskkill
22125 wine_fn_config_makefile programs/tasklist enable_tasklist
22126 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22127 wine_fn_config_makefile programs/termsv enable_termsv
22128 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22129 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22130 wine_fn_config_makefile programs/view enable_view
22131 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22132 wine_fn_config_makefile programs/where enable_where
22133 wine_fn_config_makefile programs/whoami enable_whoami
22134 wine_fn_config_makefile programs/wineboot enable_wineboot
22135 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22136 wine_fn_config_makefile programs/winecfg enable_winecfg
22137 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22138 wine_fn_config_makefile programs/winedbg enable_winedbg
22139 wine_fn_config_makefile programs/winedevice enable_winedevice
22140 wine_fn_config_makefile programs/winefile enable_winefile
22141 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22142 wine_fn_config_makefile programs/winemine enable_winemine
22143 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22144 wine_fn_config_makefile programs/winepath enable_winepath
22145 wine_fn_config_makefile programs/winetest enable_winetest
22146 wine_fn_config_makefile programs/winevdm enable_win16
22147 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22148 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22149 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22150 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22151 wine_fn_config_makefile programs/winver enable_winver
22152 wine_fn_config_makefile programs/wmic enable_wmic
22153 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22154 wine_fn_config_makefile programs/wordpad enable_wordpad
22155 wine_fn_config_makefile programs/write enable_write
22156 wine_fn_config_makefile programs/wscript enable_wscript
22157 wine_fn_config_makefile programs/wscript/tests enable_tests
22158 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22159 wine_fn_config_makefile programs/wusa enable_wusa
22160 wine_fn_config_makefile programs/xcopy enable_xcopy
22161 wine_fn_config_makefile programs/xcopy/tests enable_tests
22162 wine_fn_config_makefile server enable_server
22163 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22164 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22165 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22166 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22167 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22168 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22169 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22170 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22171 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22174 as_fn_append CONFIGURE_TARGETS " TAGS"
22175 as_fn_append CONFIGURE_TARGETS " tags"
22176 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22177 as_fn_append CONFIGURE_TARGETS " config.log"
22178 as_fn_append CONFIGURE_TARGETS " config.status"
22179 as_fn_append CONFIGURE_TARGETS " include/config.h"
22180 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22181 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22183 if test "x$enable_tools" != xno
22184 then
22185 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22186 ac_config_commands="$ac_config_commands tools/makedep"
22190 ac_config_commands="$ac_config_commands Makefile"
22194 SHELL=/bin/sh
22197 as_fn_append wine_rules "
22198 all: wine
22199 @echo \"Wine build complete.\"
22200 .INIT: Makefile
22201 .MAKEFILEDEPS:
22202 all: Makefile
22203 Makefile: config.status \$(MAKEDEP)
22204 @./config.status Makefile
22205 depend: \$(MAKEDEP)
22206 \$(MAKEDEP)$makedep_flags"
22209 as_fn_append wine_rules "
22210 config.status: ${wine_srcdir}configure
22211 @./config.status --recheck
22212 include/config.h: include/stamp-h
22213 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22214 @./config.status include/config.h include/stamp-h"
22216 if test "x$enable_maintainer_mode" = xyes
22217 then
22218 as_fn_append wine_rules "
22219 configure: configure.ac aclocal.m4
22220 autoconf --warnings=all
22221 include/config.h.in: include/stamp-h.in
22222 include/stamp-h.in: configure.ac aclocal.m4
22223 autoheader --warnings=all
22224 @echo timestamp > \$@"
22227 if test "x$enable_tools" != xno
22228 then
22229 as_fn_append wine_rules "
22230 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22231 @./config.status tools/makedep
22232 Makefile: tools/makedep$ac_exeext"
22233 else
22234 as_fn_append wine_rules "
22235 \$(MAKEDEP):
22236 @echo \"You need to run make in $toolsdir first\" && false"
22240 if test -n "$with_wine64"
22241 then
22242 case "$with_wine64" in
22243 /*) reldir="" ;;
22244 *) reldir="../" ;;
22245 esac
22246 rm -f fonts server 2>/dev/null
22247 as_fn_append wine_rules "
22248 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22249 loader/wine64 loader/wine64-preloader:
22250 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22251 $with_wine64/loader/wine:
22252 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22253 $with_wine64/loader/wine-preloader:
22254 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22255 clean::
22256 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22257 else
22258 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22259 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22260 fonts \
22261 loader/wine.inf \
22262 nls \
22263 programs/msidb/msidb \
22264 programs/msiexec/msiexec \
22265 programs/notepad/notepad \
22266 programs/regedit/regedit \
22267 programs/regsvr32/regsvr32 \
22268 programs/wineboot/wineboot \
22269 programs/winecfg/winecfg \
22270 programs/wineconsole/wineconsole \
22271 programs/winedbg/winedbg \
22272 programs/winefile/winefile \
22273 programs/winemine/winemine \
22274 programs/winepath/winepath \
22275 server/wineserver"
22277 case $host_os in
22278 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22279 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22280 esac
22284 as_fn_append wine_rules "
22285 distclean:: clean
22286 rm -rf autom4te.cache
22287 maintainer-clean::
22288 rm -f configure include/config.h.in"
22291 as_fn_append wine_rules "
22292 dlls/ntdll/unix/version.c: dummy
22293 @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)
22294 programs/winetest/build.rc: dummy
22295 @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)
22296 programs/winetest/build.nfo:
22297 @-\$(CC) -v 2>\$@
22298 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
22299 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22300 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22303 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22305 as_fn_append wine_rules "
22306 TAGS etags:
22307 rm -f TAGS
22308 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22309 tags ctags:
22310 rm -f tags
22311 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22312 dummy:
22313 .PHONY: depend dummy install-manpages"
22315 printf "%s\n" " done" >&6
22316 cat >confcache <<\_ACEOF
22317 # This file is a shell script that caches the results of configure
22318 # tests run on this system so they can be shared between configure
22319 # scripts and configure runs, see configure's option --config-cache.
22320 # It is not useful on other systems. If it contains results you don't
22321 # want to keep, you may remove or edit it.
22323 # config.status only pays attention to the cache file if you give it
22324 # the --recheck option to rerun configure.
22326 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22327 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22328 # following values.
22330 _ACEOF
22332 # The following way of writing the cache mishandles newlines in values,
22333 # but we know of no workaround that is simple, portable, and efficient.
22334 # So, we kill variables containing newlines.
22335 # Ultrix sh set writes to stderr and can't be redirected directly,
22336 # and sets the high bit in the cache file unless we assign to the vars.
22338 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22339 eval ac_val=\$$ac_var
22340 case $ac_val in #(
22341 *${as_nl}*)
22342 case $ac_var in #(
22343 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22344 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22345 esac
22346 case $ac_var in #(
22347 _ | IFS | as_nl) ;; #(
22348 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22349 *) { eval $ac_var=; unset $ac_var;} ;;
22350 esac ;;
22351 esac
22352 done
22354 (set) 2>&1 |
22355 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22356 *${as_nl}ac_space=\ *)
22357 # `set' does not quote correctly, so add quotes: double-quote
22358 # substitution turns \\\\ into \\, and sed turns \\ into \.
22359 sed -n \
22360 "s/'/'\\\\''/g;
22361 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22362 ;; #(
22364 # `set' quotes correctly as required by POSIX, so do not add quotes.
22365 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22367 esac |
22368 sort
22370 sed '
22371 /^ac_cv_env_/b end
22372 t clear
22373 :clear
22374 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22375 t end
22376 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22377 :end' >>confcache
22378 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22379 if test -w "$cache_file"; then
22380 if test "x$cache_file" != "x/dev/null"; then
22381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22382 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22383 if test ! -f "$cache_file" || test -h "$cache_file"; then
22384 cat confcache >"$cache_file"
22385 else
22386 case $cache_file in #(
22387 */* | ?:*)
22388 mv -f confcache "$cache_file"$$ &&
22389 mv -f "$cache_file"$$ "$cache_file" ;; #(
22391 mv -f confcache "$cache_file" ;;
22392 esac
22395 else
22396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22397 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22400 rm -f confcache
22402 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22403 # Let make expand exec_prefix.
22404 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22406 DEFS=-DHAVE_CONFIG_H
22408 ac_libobjs=
22409 ac_ltlibobjs=
22411 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22412 # 1. Remove the extension, and $U if already installed.
22413 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22414 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22415 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22416 # will be set to the directory where LIBOBJS objects are built.
22417 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22418 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22419 done
22420 LIBOBJS=$ac_libobjs
22422 LTLIBOBJS=$ac_ltlibobjs
22426 : "${CONFIG_STATUS=./config.status}"
22427 ac_write_fail=0
22428 ac_clean_files_save=$ac_clean_files
22429 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22431 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22432 as_write_fail=0
22433 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22434 #! $SHELL
22435 # Generated by $as_me.
22436 # Run this file to recreate the current configuration.
22437 # Compiler output produced by configure, useful for debugging
22438 # configure, is in config.log if it exists.
22440 debug=false
22441 ac_cs_recheck=false
22442 ac_cs_silent=false
22444 SHELL=\${CONFIG_SHELL-$SHELL}
22445 export SHELL
22446 _ASEOF
22447 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22448 ## -------------------- ##
22449 ## M4sh Initialization. ##
22450 ## -------------------- ##
22452 # Be more Bourne compatible
22453 DUALCASE=1; export DUALCASE # for MKS sh
22454 as_nop=:
22455 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22456 then :
22457 emulate sh
22458 NULLCMD=:
22459 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22460 # is contrary to our usage. Disable this feature.
22461 alias -g '${1+"$@"}'='"$@"'
22462 setopt NO_GLOB_SUBST
22463 else $as_nop
22464 case `(set -o) 2>/dev/null` in #(
22465 *posix*) :
22466 set -o posix ;; #(
22467 *) :
22469 esac
22474 # Reset variables that may have inherited troublesome values from
22475 # the environment.
22477 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22478 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22479 # side effect of setting IFS to empty, thus disabling word splitting.)
22480 # Quoting is to prevent editors from complaining about space-tab.
22481 as_nl='
22483 export as_nl
22484 IFS=" "" $as_nl"
22486 PS1='$ '
22487 PS2='> '
22488 PS4='+ '
22490 # Ensure predictable behavior from utilities with locale-dependent output.
22491 LC_ALL=C
22492 export LC_ALL
22493 LANGUAGE=C
22494 export LANGUAGE
22496 # We cannot yet rely on "unset" to work, but we need these variables
22497 # to be unset--not just set to an empty or harmless value--now, to
22498 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22499 # also avoids known problems related to "unset" and subshell syntax
22500 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22501 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22502 do eval test \${$as_var+y} \
22503 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22504 done
22506 # Ensure that fds 0, 1, and 2 are open.
22507 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22508 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22509 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22511 # The user is always right.
22512 if ${PATH_SEPARATOR+false} :; then
22513 PATH_SEPARATOR=:
22514 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22515 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22516 PATH_SEPARATOR=';'
22521 # Find who we are. Look in the path if we contain no directory separator.
22522 as_myself=
22523 case $0 in #((
22524 *[\\/]* ) as_myself=$0 ;;
22525 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22526 for as_dir in $PATH
22528 IFS=$as_save_IFS
22529 case $as_dir in #(((
22530 '') as_dir=./ ;;
22531 */) ;;
22532 *) as_dir=$as_dir/ ;;
22533 esac
22534 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22535 done
22536 IFS=$as_save_IFS
22539 esac
22540 # We did not find ourselves, most probably we were run as `sh COMMAND'
22541 # in which case we are not to be found in the path.
22542 if test "x$as_myself" = x; then
22543 as_myself=$0
22545 if test ! -f "$as_myself"; then
22546 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22547 exit 1
22552 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22553 # ----------------------------------------
22554 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22555 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22556 # script with STATUS, using 1 if that was 0.
22557 as_fn_error ()
22559 as_status=$1; test $as_status -eq 0 && as_status=1
22560 if test "$4"; then
22561 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22564 printf "%s\n" "$as_me: error: $2" >&2
22565 as_fn_exit $as_status
22566 } # as_fn_error
22570 # as_fn_set_status STATUS
22571 # -----------------------
22572 # Set $? to STATUS, without forking.
22573 as_fn_set_status ()
22575 return $1
22576 } # as_fn_set_status
22578 # as_fn_exit STATUS
22579 # -----------------
22580 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22581 as_fn_exit ()
22583 set +e
22584 as_fn_set_status $1
22585 exit $1
22586 } # as_fn_exit
22588 # as_fn_unset VAR
22589 # ---------------
22590 # Portably unset VAR.
22591 as_fn_unset ()
22593 { eval $1=; unset $1;}
22595 as_unset=as_fn_unset
22597 # as_fn_append VAR VALUE
22598 # ----------------------
22599 # Append the text in VALUE to the end of the definition contained in VAR. Take
22600 # advantage of any shell optimizations that allow amortized linear growth over
22601 # repeated appends, instead of the typical quadratic growth present in naive
22602 # implementations.
22603 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22604 then :
22605 eval 'as_fn_append ()
22607 eval $1+=\$2
22609 else $as_nop
22610 as_fn_append ()
22612 eval $1=\$$1\$2
22614 fi # as_fn_append
22616 # as_fn_arith ARG...
22617 # ------------------
22618 # Perform arithmetic evaluation on the ARGs, and store the result in the
22619 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22620 # must be portable across $(()) and expr.
22621 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22622 then :
22623 eval 'as_fn_arith ()
22625 as_val=$(( $* ))
22627 else $as_nop
22628 as_fn_arith ()
22630 as_val=`expr "$@" || test $? -eq 1`
22632 fi # as_fn_arith
22635 if expr a : '\(a\)' >/dev/null 2>&1 &&
22636 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22637 as_expr=expr
22638 else
22639 as_expr=false
22642 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22643 as_basename=basename
22644 else
22645 as_basename=false
22648 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22649 as_dirname=dirname
22650 else
22651 as_dirname=false
22654 as_me=`$as_basename -- "$0" ||
22655 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22656 X"$0" : 'X\(//\)$' \| \
22657 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22658 printf "%s\n" X/"$0" |
22659 sed '/^.*\/\([^/][^/]*\)\/*$/{
22660 s//\1/
22663 /^X\/\(\/\/\)$/{
22664 s//\1/
22667 /^X\/\(\/\).*/{
22668 s//\1/
22671 s/.*/./; q'`
22673 # Avoid depending upon Character Ranges.
22674 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22675 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22676 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22677 as_cr_digits='0123456789'
22678 as_cr_alnum=$as_cr_Letters$as_cr_digits
22681 # Determine whether it's possible to make 'echo' print without a newline.
22682 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22683 # for compatibility with existing Makefiles.
22684 ECHO_C= ECHO_N= ECHO_T=
22685 case `echo -n x` in #(((((
22686 -n*)
22687 case `echo 'xy\c'` in
22688 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22689 xy) ECHO_C='\c';;
22690 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22691 ECHO_T=' ';;
22692 esac;;
22694 ECHO_N='-n';;
22695 esac
22697 # For backward compatibility with old third-party macros, we provide
22698 # the shell variables $as_echo and $as_echo_n. New code should use
22699 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22700 as_echo='printf %s\n'
22701 as_echo_n='printf %s'
22703 rm -f conf$$ conf$$.exe conf$$.file
22704 if test -d conf$$.dir; then
22705 rm -f conf$$.dir/conf$$.file
22706 else
22707 rm -f conf$$.dir
22708 mkdir conf$$.dir 2>/dev/null
22710 if (echo >conf$$.file) 2>/dev/null; then
22711 if ln -s conf$$.file conf$$ 2>/dev/null; then
22712 as_ln_s='ln -s'
22713 # ... but there are two gotchas:
22714 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22715 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22716 # In both cases, we have to default to `cp -pR'.
22717 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22718 as_ln_s='cp -pR'
22719 elif ln conf$$.file conf$$ 2>/dev/null; then
22720 as_ln_s=ln
22721 else
22722 as_ln_s='cp -pR'
22724 else
22725 as_ln_s='cp -pR'
22727 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22728 rmdir conf$$.dir 2>/dev/null
22731 # as_fn_mkdir_p
22732 # -------------
22733 # Create "$as_dir" as a directory, including parents if necessary.
22734 as_fn_mkdir_p ()
22737 case $as_dir in #(
22738 -*) as_dir=./$as_dir;;
22739 esac
22740 test -d "$as_dir" || eval $as_mkdir_p || {
22741 as_dirs=
22742 while :; do
22743 case $as_dir in #(
22744 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22745 *) as_qdir=$as_dir;;
22746 esac
22747 as_dirs="'$as_qdir' $as_dirs"
22748 as_dir=`$as_dirname -- "$as_dir" ||
22749 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22750 X"$as_dir" : 'X\(//\)[^/]' \| \
22751 X"$as_dir" : 'X\(//\)$' \| \
22752 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22753 printf "%s\n" X"$as_dir" |
22754 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22755 s//\1/
22758 /^X\(\/\/\)[^/].*/{
22759 s//\1/
22762 /^X\(\/\/\)$/{
22763 s//\1/
22766 /^X\(\/\).*/{
22767 s//\1/
22770 s/.*/./; q'`
22771 test -d "$as_dir" && break
22772 done
22773 test -z "$as_dirs" || eval "mkdir $as_dirs"
22774 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22777 } # as_fn_mkdir_p
22778 if mkdir -p . 2>/dev/null; then
22779 as_mkdir_p='mkdir -p "$as_dir"'
22780 else
22781 test -d ./-p && rmdir ./-p
22782 as_mkdir_p=false
22786 # as_fn_executable_p FILE
22787 # -----------------------
22788 # Test if FILE is an executable regular file.
22789 as_fn_executable_p ()
22791 test -f "$1" && test -x "$1"
22792 } # as_fn_executable_p
22793 as_test_x='test -x'
22794 as_executable_p=as_fn_executable_p
22796 # Sed expression to map a string onto a valid CPP name.
22797 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22799 # Sed expression to map a string onto a valid variable name.
22800 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22803 exec 6>&1
22804 ## ----------------------------------- ##
22805 ## Main body of $CONFIG_STATUS script. ##
22806 ## ----------------------------------- ##
22807 _ASEOF
22808 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22811 # Save the log message, to keep $0 and so on meaningful, and to
22812 # report actual input values of CONFIG_FILES etc. instead of their
22813 # values after options handling.
22814 ac_log="
22815 This file was extended by Wine $as_me 7.21, which was
22816 generated by GNU Autoconf 2.71. Invocation command line was
22818 CONFIG_FILES = $CONFIG_FILES
22819 CONFIG_HEADERS = $CONFIG_HEADERS
22820 CONFIG_LINKS = $CONFIG_LINKS
22821 CONFIG_COMMANDS = $CONFIG_COMMANDS
22822 $ $0 $@
22824 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22827 _ACEOF
22830 case $ac_config_headers in *"
22831 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22832 esac
22835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22836 # Files that config.status was made for.
22837 config_headers="$ac_config_headers"
22838 config_links="$ac_config_links"
22839 config_commands="$ac_config_commands"
22841 _ACEOF
22843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22844 ac_cs_usage="\
22845 \`$as_me' instantiates files and other configuration actions
22846 from templates according to the current configuration. Unless the files
22847 and actions are specified as TAGs, all are instantiated by default.
22849 Usage: $0 [OPTION]... [TAG]...
22851 -h, --help print this help, then exit
22852 -V, --version print version number and configuration settings, then exit
22853 --config print configuration, then exit
22854 -q, --quiet, --silent
22855 do not print progress messages
22856 -d, --debug don't remove temporary files
22857 --recheck update $as_me by reconfiguring in the same conditions
22858 --header=FILE[:TEMPLATE]
22859 instantiate the configuration header FILE
22861 Configuration headers:
22862 $config_headers
22864 Configuration links:
22865 $config_links
22867 Configuration commands:
22868 $config_commands
22870 Report bugs to <wine-devel@winehq.org>.
22871 Wine home page: <https://www.winehq.org>."
22873 _ACEOF
22874 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22875 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22877 ac_cs_config='$ac_cs_config_escaped'
22878 ac_cs_version="\\
22879 Wine config.status 7.21
22880 configured by $0, generated by GNU Autoconf 2.71,
22881 with options \\"\$ac_cs_config\\"
22883 Copyright (C) 2021 Free Software Foundation, Inc.
22884 This config.status script is free software; the Free Software Foundation
22885 gives unlimited permission to copy, distribute and modify it."
22887 ac_pwd='$ac_pwd'
22888 srcdir='$srcdir'
22889 test -n "\$AWK" || AWK=awk
22890 _ACEOF
22892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22893 # The default lists apply if the user does not specify any file.
22894 ac_need_defaults=:
22895 while test $# != 0
22897 case $1 in
22898 --*=?*)
22899 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22900 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22901 ac_shift=:
22903 --*=)
22904 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22905 ac_optarg=
22906 ac_shift=:
22909 ac_option=$1
22910 ac_optarg=$2
22911 ac_shift=shift
22913 esac
22915 case $ac_option in
22916 # Handling of the options.
22917 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22918 ac_cs_recheck=: ;;
22919 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22920 printf "%s\n" "$ac_cs_version"; exit ;;
22921 --config | --confi | --conf | --con | --co | --c )
22922 printf "%s\n" "$ac_cs_config"; exit ;;
22923 --debug | --debu | --deb | --de | --d | -d )
22924 debug=: ;;
22925 --header | --heade | --head | --hea )
22926 $ac_shift
22927 case $ac_optarg in
22928 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22929 esac
22930 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22931 ac_need_defaults=false;;
22932 --he | --h)
22933 # Conflict between --help and --header
22934 as_fn_error $? "ambiguous option: \`$1'
22935 Try \`$0 --help' for more information.";;
22936 --help | --hel | -h )
22937 printf "%s\n" "$ac_cs_usage"; exit ;;
22938 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22939 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22940 ac_cs_silent=: ;;
22942 # This is an error.
22943 -*) as_fn_error $? "unrecognized option: \`$1'
22944 Try \`$0 --help' for more information." ;;
22946 *) as_fn_append ac_config_targets " $1"
22947 ac_need_defaults=false ;;
22949 esac
22950 shift
22951 done
22953 ac_configure_extra_args=
22955 if $ac_cs_silent; then
22956 exec 6>/dev/null
22957 ac_configure_extra_args="$ac_configure_extra_args --silent"
22960 _ACEOF
22961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22962 if \$ac_cs_recheck; then
22963 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22964 shift
22965 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22966 CONFIG_SHELL='$SHELL'
22967 export CONFIG_SHELL
22968 exec "\$@"
22971 _ACEOF
22972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22973 exec 5>>config.log
22975 echo
22976 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22977 ## Running $as_me. ##
22978 _ASBOX
22979 printf "%s\n" "$ac_log"
22980 } >&5
22982 _ACEOF
22983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22985 # INIT-COMMANDS
22987 wine_fn_output_makedep ()
22989 as_dir=tools; as_fn_mkdir_p
22990 $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
22992 wine_fn_output_makefile ()
22994 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22995 # This Makefile understands the following targets:
22997 # all (default): build wine
22998 # clean: remove all intermediate files
22999 # distclean: also remove all files created by configure
23000 # test: run tests
23001 # testclean: clean test results to force running all tests again
23002 # install-lib: install libraries needed to run applications
23003 # install-dev: install development environment
23004 # install: install everything
23005 # uninstall: uninstall everything
23006 # ctags: create a tags file for vim and others.
23007 # etags: create a TAGS file for Emacs.
23009 SHELL = $SHELL
23010 PATH_SEPARATOR = $PATH_SEPARATOR
23011 PACKAGE_NAME = $PACKAGE_NAME
23012 PACKAGE_TARNAME = $PACKAGE_TARNAME
23013 PACKAGE_VERSION = $PACKAGE_VERSION
23014 PACKAGE_STRING = $PACKAGE_STRING
23015 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23016 PACKAGE_URL = $PACKAGE_URL
23017 exec_prefix = $exec_prefix
23018 prefix = $prefix
23019 program_transform_name = $program_transform_name
23020 bindir = $bindir
23021 sbindir = $sbindir
23022 libexecdir = $libexecdir
23023 datarootdir = $datarootdir
23024 datadir = $datadir
23025 sysconfdir = $sysconfdir
23026 sharedstatedir = $sharedstatedir
23027 localstatedir = $localstatedir
23028 runstatedir = $runstatedir
23029 includedir = $includedir
23030 oldincludedir = $oldincludedir
23031 docdir = $docdir
23032 infodir = $infodir
23033 htmldir = $htmldir
23034 dvidir = $dvidir
23035 pdfdir = $pdfdir
23036 psdir = $psdir
23037 libdir = $libdir
23038 localedir = $localedir
23039 mandir = $mandir
23040 DEFS = $DEFS
23041 ECHO_C = $ECHO_C
23042 ECHO_N = $ECHO_N
23043 ECHO_T = $ECHO_T
23044 LIBS = $LIBS
23045 build_alias = $build_alias
23046 host_alias = $host_alias
23047 target_alias = $target_alias
23048 system_dllpath = $system_dllpath
23049 build = $build
23050 build_cpu = $build_cpu
23051 build_vendor = $build_vendor
23052 build_os = $build_os
23053 host = $host
23054 host_cpu = $host_cpu
23055 host_vendor = $host_vendor
23056 host_os = $host_os
23057 dlldir = $dlldir
23058 fontdir = $fontdir
23059 nlsdir = $nlsdir
23060 srcdir = $srcdir
23061 SET_MAKE = $SET_MAKE
23062 CC = $CC
23063 CFLAGS = $CFLAGS
23064 LDFLAGS = $LDFLAGS
23065 CPPFLAGS = $CPPFLAGS
23066 ac_ct_CC = $ac_ct_CC
23067 EXEEXT = $EXEEXT
23068 OBJEXT = $OBJEXT
23069 CXX = $CXX
23070 CXXFLAGS = $CXXFLAGS
23071 ac_ct_CXX = $ac_ct_CXX
23072 CPPBIN = $CPPBIN
23073 LD = $LD
23074 TARGETFLAGS = $TARGETFLAGS
23075 toolsext = $toolsext
23076 HOST_ARCH = $HOST_ARCH
23077 aarch64_CC = $aarch64_CC
23078 aarch64_CFLAGS = $aarch64_CFLAGS
23079 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23080 aarch64_LDFLAGS = $aarch64_LDFLAGS
23081 aarch64_DEBUG = $aarch64_DEBUG
23082 aarch64_TARGET = $aarch64_TARGET
23083 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23084 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23085 arm_CC = $arm_CC
23086 arm_CFLAGS = $arm_CFLAGS
23087 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23088 arm_LDFLAGS = $arm_LDFLAGS
23089 arm_DEBUG = $arm_DEBUG
23090 arm_TARGET = $arm_TARGET
23091 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23092 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23093 i386_CC = $i386_CC
23094 i386_CFLAGS = $i386_CFLAGS
23095 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23096 i386_LDFLAGS = $i386_LDFLAGS
23097 i386_DEBUG = $i386_DEBUG
23098 i386_TARGET = $i386_TARGET
23099 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23100 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23101 x86_64_CC = $x86_64_CC
23102 x86_64_CFLAGS = $x86_64_CFLAGS
23103 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23104 x86_64_LDFLAGS = $x86_64_LDFLAGS
23105 x86_64_DEBUG = $x86_64_DEBUG
23106 x86_64_TARGET = $x86_64_TARGET
23107 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23108 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23109 toolsdir = $toolsdir
23110 MAKEDEP = $MAKEDEP
23111 RUNTESTFLAGS = $RUNTESTFLAGS
23112 SED_CMD = $SED_CMD
23113 FLEX = $FLEX
23114 BISON = $BISON
23115 AR = $AR
23116 ac_ct_AR = $ac_ct_AR
23117 STRIP = $STRIP
23118 RANLIB = $RANLIB
23119 LN_S = $LN_S
23120 GREP = $GREP
23121 EGREP = $EGREP
23122 LDCONFIG = $LDCONFIG
23123 MSGFMT = $MSGFMT
23124 PKG_CONFIG = $PKG_CONFIG
23125 FONTFORGE = $FONTFORGE
23126 RSVG = $RSVG
23127 CONVERT = $CONVERT
23128 ICOTOOL = $ICOTOOL
23129 I386_LIBS = $I386_LIBS
23130 OPENGL_LIBS = $OPENGL_LIBS
23131 DLLFLAGS = $DLLFLAGS
23132 LDDLLFLAGS = $LDDLLFLAGS
23133 LDEXECFLAGS = $LDEXECFLAGS
23134 EXTRACFLAGS = $EXTRACFLAGS
23135 UNIXDLLFLAGS = $UNIXDLLFLAGS
23136 UNIXLDFLAGS = $UNIXLDFLAGS
23137 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23138 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23139 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23140 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23141 LDD = $LDD
23142 OTOOL = $OTOOL
23143 READELF = $READELF
23144 SUBDIRS = $SUBDIRS
23145 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23146 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23147 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23148 OBJC = $OBJC
23149 OBJCFLAGS = $OBJCFLAGS
23150 ac_ct_OBJC = $ac_ct_OBJC
23151 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23152 IOKIT_LIBS = $IOKIT_LIBS
23153 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23154 CORESERVICES_LIBS = $CORESERVICES_LIBS
23155 APPKIT_LIBS = $APPKIT_LIBS
23156 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23157 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23158 SECURITY_LIBS = $SECURITY_LIBS
23159 COREAUDIO_LIBS = $COREAUDIO_LIBS
23160 OPENCL_LIBS = $OPENCL_LIBS
23161 CARBON_LIBS = $CARBON_LIBS
23162 METAL_LIBS = $METAL_LIBS
23163 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23164 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23165 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23166 PRELINK = $PRELINK
23167 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23168 PE_ARCHS = $PE_ARCHS
23169 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23170 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23171 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23172 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23173 GSM_PE_LIBS = $GSM_PE_LIBS
23174 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23175 JPEG_PE_LIBS = $JPEG_PE_LIBS
23176 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23177 JXR_PE_LIBS = $JXR_PE_LIBS
23178 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23179 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23180 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23181 LDAP_PE_LIBS = $LDAP_PE_LIBS
23182 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23183 MPG123_PE_LIBS = $MPG123_PE_LIBS
23184 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23185 PNG_PE_LIBS = $PNG_PE_LIBS
23186 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23187 TIFF_PE_LIBS = $TIFF_PE_LIBS
23188 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23189 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23190 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23191 XML2_PE_LIBS = $XML2_PE_LIBS
23192 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23193 XSLT_PE_LIBS = $XSLT_PE_LIBS
23194 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23195 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23196 PTHREAD_LIBS = $PTHREAD_LIBS
23197 XMKMF = $XMKMF
23198 CPP = $CPP
23199 X_CFLAGS = $X_CFLAGS
23200 X_PRE_LIBS = $X_PRE_LIBS
23201 X_LIBS = $X_LIBS
23202 X_EXTRA_LIBS = $X_EXTRA_LIBS
23203 PCAP_LIBS = $PCAP_LIBS
23204 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23205 INOTIFY_LIBS = $INOTIFY_LIBS
23206 DBUS_CFLAGS = $DBUS_CFLAGS
23207 DBUS_LIBS = $DBUS_LIBS
23208 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23209 GNUTLS_LIBS = $GNUTLS_LIBS
23210 SANE_CFLAGS = $SANE_CFLAGS
23211 SANE_LIBS = $SANE_LIBS
23212 USB_CFLAGS = $USB_CFLAGS
23213 USB_LIBS = $USB_LIBS
23214 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23215 GPHOTO2_LIBS = $GPHOTO2_LIBS
23216 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23217 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23218 RESOLV_LIBS = $RESOLV_LIBS
23219 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23220 FREETYPE_LIBS = $FREETYPE_LIBS
23221 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23222 PULSE_CFLAGS = $PULSE_CFLAGS
23223 PULSE_LIBS = $PULSE_LIBS
23224 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23225 GSTREAMER_LIBS = $GSTREAMER_LIBS
23226 ALSA_LIBS = $ALSA_LIBS
23227 OSS4_CFLAGS = $OSS4_CFLAGS
23228 OSS4_LIBS = $OSS4_LIBS
23229 UDEV_CFLAGS = $UDEV_CFLAGS
23230 UDEV_LIBS = $UDEV_LIBS
23231 UNWIND_CFLAGS = $UNWIND_CFLAGS
23232 UNWIND_LIBS = $UNWIND_LIBS
23233 SDL2_CFLAGS = $SDL2_CFLAGS
23234 SDL2_LIBS = $SDL2_LIBS
23235 CAPI20_CFLAGS = $CAPI20_CFLAGS
23236 CAPI20_LIBS = $CAPI20_LIBS
23237 CUPS_CFLAGS = $CUPS_CFLAGS
23238 CUPS_LIBS = $CUPS_LIBS
23239 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23240 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23241 KRB5_CFLAGS = $KRB5_CFLAGS
23242 KRB5_LIBS = $KRB5_LIBS
23243 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23244 GSSAPI_LIBS = $GSSAPI_LIBS
23245 PROCSTAT_LIBS = $PROCSTAT_LIBS
23246 NETAPI_CFLAGS = $NETAPI_CFLAGS
23247 NETAPI_LIBS = $NETAPI_LIBS
23248 MSVCRTFLAGS = $MSVCRTFLAGS
23249 DELAYLOADFLAG = $DELAYLOADFLAG
23250 RT_LIBS = $RT_LIBS
23251 TAGSFLAGS = $TAGSFLAGS
23252 LIBOBJS = $LIBOBJS
23253 LTLIBOBJS = $LTLIBOBJS
23254 $SET_MAKE
23255 $wine_rules
23256 _WINE_EOF
23257 as_fn_error $? "could not create Makefile" "$LINENO" 5
23260 _ACEOF
23262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23264 # Handling of arguments.
23265 for ac_config_target in $ac_config_targets
23267 case $ac_config_target in
23268 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23269 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23270 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23271 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23272 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23273 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23275 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23276 esac
23277 done
23280 # If the user did not use the arguments to specify the items to instantiate,
23281 # then the envvar interface is used. Set only those that are not.
23282 # We use the long form for the default assignment because of an extremely
23283 # bizarre bug on SunOS 4.1.3.
23284 if $ac_need_defaults; then
23285 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23286 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23287 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23290 # Have a temporary directory for convenience. Make it in the build tree
23291 # simply because there is no reason against having it here, and in addition,
23292 # creating and moving files from /tmp can sometimes cause problems.
23293 # Hook for its removal unless debugging.
23294 # Note that there is a small window in which the directory will not be cleaned:
23295 # after its creation but before its name has been assigned to `$tmp'.
23296 $debug ||
23298 tmp= ac_tmp=
23299 trap 'exit_status=$?
23300 : "${ac_tmp:=$tmp}"
23301 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23303 trap 'as_fn_exit 1' 1 2 13 15
23305 # Create a (secure) tmp directory for tmp files.
23308 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23309 test -d "$tmp"
23310 } ||
23312 tmp=./conf$$-$RANDOM
23313 (umask 077 && mkdir "$tmp")
23314 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23315 ac_tmp=$tmp
23317 # Set up the scripts for CONFIG_HEADERS section.
23318 # No need to generate them if there are no CONFIG_HEADERS.
23319 # This happens for instance with `./config.status Makefile'.
23320 if test -n "$CONFIG_HEADERS"; then
23321 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23322 BEGIN {
23323 _ACEOF
23325 # Transform confdefs.h into an awk script `defines.awk', embedded as
23326 # here-document in config.status, that substitutes the proper values into
23327 # config.h.in to produce config.h.
23329 # Create a delimiter string that does not exist in confdefs.h, to ease
23330 # handling of long lines.
23331 ac_delim='%!_!# '
23332 for ac_last_try in false false :; do
23333 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23334 if test -z "$ac_tt"; then
23335 break
23336 elif $ac_last_try; then
23337 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23338 else
23339 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23341 done
23343 # For the awk script, D is an array of macro values keyed by name,
23344 # likewise P contains macro parameters if any. Preserve backslash
23345 # newline sequences.
23347 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23348 sed -n '
23349 s/.\{148\}/&'"$ac_delim"'/g
23350 t rset
23351 :rset
23352 s/^[ ]*#[ ]*define[ ][ ]*/ /
23353 t def
23355 :def
23356 s/\\$//
23357 t bsnl
23358 s/["\\]/\\&/g
23359 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23360 D["\1"]=" \3"/p
23361 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23363 :bsnl
23364 s/["\\]/\\&/g
23365 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23366 D["\1"]=" \3\\\\\\n"\\/p
23367 t cont
23368 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23369 t cont
23371 :cont
23373 s/.\{148\}/&'"$ac_delim"'/g
23374 t clear
23375 :clear
23376 s/\\$//
23377 t bsnlc
23378 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23380 :bsnlc
23381 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23382 b cont
23383 ' <confdefs.h | sed '
23384 s/'"$ac_delim"'/"\\\
23385 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23388 for (key in D) D_is_set[key] = 1
23389 FS = "\a"
23391 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23392 line = \$ 0
23393 split(line, arg, " ")
23394 if (arg[1] == "#") {
23395 defundef = arg[2]
23396 mac1 = arg[3]
23397 } else {
23398 defundef = substr(arg[1], 2)
23399 mac1 = arg[2]
23401 split(mac1, mac2, "(") #)
23402 macro = mac2[1]
23403 prefix = substr(line, 1, index(line, defundef) - 1)
23404 if (D_is_set[macro]) {
23405 # Preserve the white space surrounding the "#".
23406 print prefix "define", macro P[macro] D[macro]
23407 next
23408 } else {
23409 # Replace #undef with comments. This is necessary, for example,
23410 # in the case of _POSIX_SOURCE, which is predefined and required
23411 # on some systems where configure will not decide to define it.
23412 if (defundef == "undef") {
23413 print "/*", prefix defundef, macro, "*/"
23414 next
23418 { print }
23419 _ACAWK
23420 _ACEOF
23421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23422 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23423 fi # test -n "$CONFIG_HEADERS"
23426 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23427 shift
23428 for ac_tag
23430 case $ac_tag in
23431 :[FHLC]) ac_mode=$ac_tag; continue;;
23432 esac
23433 case $ac_mode$ac_tag in
23434 :[FHL]*:*);;
23435 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23436 :[FH]-) ac_tag=-:-;;
23437 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23438 esac
23439 ac_save_IFS=$IFS
23440 IFS=:
23441 set x $ac_tag
23442 IFS=$ac_save_IFS
23443 shift
23444 ac_file=$1
23445 shift
23447 case $ac_mode in
23448 :L) ac_source=$1;;
23449 :[FH])
23450 ac_file_inputs=
23451 for ac_f
23453 case $ac_f in
23454 -) ac_f="$ac_tmp/stdin";;
23455 *) # Look for the file first in the build tree, then in the source tree
23456 # (if the path is not absolute). The absolute path cannot be DOS-style,
23457 # because $ac_f cannot contain `:'.
23458 test -f "$ac_f" ||
23459 case $ac_f in
23460 [\\/$]*) false;;
23461 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23462 esac ||
23463 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23464 esac
23465 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23466 as_fn_append ac_file_inputs " '$ac_f'"
23467 done
23469 # Let's still pretend it is `configure' which instantiates (i.e., don't
23470 # use $as_me), people would be surprised to read:
23471 # /* config.h. Generated by config.status. */
23472 configure_input='Generated from '`
23473 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23474 `' by configure.'
23475 if test x"$ac_file" != x-; then
23476 configure_input="$ac_file. $configure_input"
23477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23478 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23480 # Neutralize special characters interpreted by sed in replacement strings.
23481 case $configure_input in #(
23482 *\&* | *\|* | *\\* )
23483 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23484 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23485 *) ac_sed_conf_input=$configure_input;;
23486 esac
23488 case $ac_tag in
23489 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23490 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23491 esac
23493 esac
23495 ac_dir=`$as_dirname -- "$ac_file" ||
23496 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23497 X"$ac_file" : 'X\(//\)[^/]' \| \
23498 X"$ac_file" : 'X\(//\)$' \| \
23499 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23500 printf "%s\n" X"$ac_file" |
23501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23502 s//\1/
23505 /^X\(\/\/\)[^/].*/{
23506 s//\1/
23509 /^X\(\/\/\)$/{
23510 s//\1/
23513 /^X\(\/\).*/{
23514 s//\1/
23517 s/.*/./; q'`
23518 as_dir="$ac_dir"; as_fn_mkdir_p
23519 ac_builddir=.
23521 case "$ac_dir" in
23522 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23524 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23525 # A ".." for each directory in $ac_dir_suffix.
23526 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23527 case $ac_top_builddir_sub in
23528 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23529 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23530 esac ;;
23531 esac
23532 ac_abs_top_builddir=$ac_pwd
23533 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23534 # for backward compatibility:
23535 ac_top_builddir=$ac_top_build_prefix
23537 case $srcdir in
23538 .) # We are building in place.
23539 ac_srcdir=.
23540 ac_top_srcdir=$ac_top_builddir_sub
23541 ac_abs_top_srcdir=$ac_pwd ;;
23542 [\\/]* | ?:[\\/]* ) # Absolute name.
23543 ac_srcdir=$srcdir$ac_dir_suffix;
23544 ac_top_srcdir=$srcdir
23545 ac_abs_top_srcdir=$srcdir ;;
23546 *) # Relative name.
23547 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23548 ac_top_srcdir=$ac_top_build_prefix$srcdir
23549 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23550 esac
23551 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23554 case $ac_mode in
23558 # CONFIG_HEADER
23560 if test x"$ac_file" != x-; then
23562 printf "%s\n" "/* $configure_input */" >&1 \
23563 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23564 } >"$ac_tmp/config.h" \
23565 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23566 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23568 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23569 else
23570 rm -f "$ac_file"
23571 mv "$ac_tmp/config.h" "$ac_file" \
23572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23574 else
23575 printf "%s\n" "/* $configure_input */" >&1 \
23576 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23577 || as_fn_error $? "could not create -" "$LINENO" 5
23582 # CONFIG_LINK
23585 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23587 else
23588 # Prefer the file from the source tree if names are identical.
23589 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23590 ac_source=$srcdir/$ac_source
23593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23594 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23596 if test ! -r "$ac_source"; then
23597 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23599 rm -f "$ac_file"
23601 # Try a relative symlink, then a hard link, then a copy.
23602 case $ac_source in
23603 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23604 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23605 esac
23606 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23607 ln "$ac_source" "$ac_file" 2>/dev/null ||
23608 cp -p "$ac_source" "$ac_file" ||
23609 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23612 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23613 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23615 esac
23618 case $ac_file$ac_mode in
23619 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23620 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23621 "Makefile":C) wine_fn_output_makefile Makefile ;;
23623 esac
23624 done # for ac_tag
23627 as_fn_exit 0
23628 _ACEOF
23629 ac_clean_files=$ac_clean_files_save
23631 test $ac_write_fail = 0 ||
23632 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23635 # configure is writing to config.log, and then calls config.status.
23636 # config.status does its own redirection, appending to config.log.
23637 # Unfortunately, on DOS this fails, as config.log is still kept open
23638 # by configure, so config.status won't be able to write to it; its
23639 # output is simply discarded. So we exec the FD to /dev/null,
23640 # effectively closing config.log, so it can be properly (re)opened and
23641 # appended to by config.status. When coming back to configure, we
23642 # need to make the FD available again.
23643 if test "$no_create" != yes; then
23644 ac_cs_success=:
23645 ac_config_status_args=
23646 test "$silent" = yes &&
23647 ac_config_status_args="$ac_config_status_args --quiet"
23648 exec 5>/dev/null
23649 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23650 exec 5>>config.log
23651 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23652 # would make configure fail if this is the last instruction.
23653 $ac_cs_success || as_fn_exit 1
23655 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23657 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23661 if test "$no_create" = "yes"
23662 then
23663 exit 0
23666 ac_save_IFS="$IFS"
23667 if test "x$wine_notices" != x; then
23668 echo >&6
23669 IFS="|"
23670 for msg in $wine_notices; do
23671 IFS="$ac_save_IFS"
23672 if ${msg:+false} :
23673 then :
23675 else $as_nop
23676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23677 printf "%s\n" "$as_me: $msg" >&6;}
23679 done
23681 IFS="|"
23682 for msg in $wine_warnings; do
23683 IFS="$ac_save_IFS"
23684 if ${msg:+false} :
23685 then :
23687 else $as_nop
23688 echo >&2
23689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23690 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23692 done
23693 IFS="$ac_save_IFS"
23695 printf "%s\n" "
23696 $as_me: Finished. Do '${ac_make}' to compile Wine.
23697 " >&6